Automatic Failover Test with only Two Nodes #660
Answered
by
vitabaks
ahussainrc
asked this question in
Q&A
-
I have so many environments and having 3 nodes for each environment will consume too much resources. Is there a way to achieve automatic failover with only two nodes ? |
Beta Was this translation helpful? Give feedback.
Answered by
vitabaks
May 15, 2024
Replies: 1 comment 3 replies
-
You can deploy database clusters consisting of two servers, but there must be a DCS (etcd) cluster of at least three servers, here are the details http://thesecretlivesofdata.com/raft/ Create one etcd cluster on three separate small VMs and use it for multiple Postgres clusters. Variables |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
ahussainrc
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can deploy database clusters consisting of two servers, but there must be a DCS (etcd) cluster of at least three servers, here are the details http://thesecretlivesofdata.com/raft/
Create one etcd cluster on three separate small VMs and use it for multiple Postgres clusters. Variables
dcs_exists: true
andpatroni_etcd_hosts