Quantcast
Channel: StackExchange Replication Questions
Viewing all articles
Browse latest Browse all 17268

Postgresql master node fail after restart with pgpool

$
0
0

I set up pgpool (master-slave mode) + postgresql streaming replication. Then I check the correctness of failover_command. If I turn off the network master node, then pgpool waits specified time, if the master node during this time is not responding, then the failover_command. And if I do restart postgresql master via the init.d script that executes pgpool failover_command immediately. As a result, the master node switches to the slave node and the slave node to the master node. To avoid this, it is necessary to switch off pgpool, and then do a restart the master node and include pgpool. How can this problem be solved? P.S. Sorry for my English :)


Viewing all articles
Browse latest Browse all 17268

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>