database - Postgresql master node fail after restart with pgpool -
i set pgpool (master-slave mode) + postgresql streaming replication. check correctness of failover_command. if turn off network master node, pgpool waits specified time, if master node during time not responding, failover_command. , if restart postgresql master via init.d script executes pgpool failover_command immediately. result, master node switches slave node , slave node master node. avoid this, necessary switch off pgpool, , restart master node , include pgpool. how can problem solved? p.s. sorry english :)
Comments
Post a Comment