Active - Backup Cluster #3091
Answered
by
CyberDem0n
wyphorn-png
asked this question in
Q&A
-
Hi, I have a cluster of two servers. Now I want to set node1 as primary server and node2 as backup server. So node2 should be replicator as long as node1 is there. In case of node1 is down, node2 should go primary but should directly switch to replicator when node1 returns. How can I set this up? |
Beta Was this translation helpful? Give feedback.
Answered by
CyberDem0n
Jul 4, 2024
Replies: 1 comment
-
Patroni is trying to minimize the number of failovers/switchovers. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
wyphorn-png
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Patroni is trying to minimize the number of failovers/switchovers.
In case if the dead node (former primary) is returned, it will always join as a standby.
You can always switchover to it manually.