Hi, I am trying to implement streaming replication with automatic failover on my two PostgreSQL servers.
I want to have a single Virtual IP pointing to the currently-Master DB server.
Could anyone please suggest what applications to use for the above structure? I tried using different things but cannot come up with a perfectly-working combination of all features above.
HAProxy, Pacemaker (PAF), Patroni, Repmgr, Keepalived, Pgpool II are the ones I have looked up and tried using. Do I even need another witness server for this?
Thank you in advance!

haproxy is 2 nodes also... but client sees only VIP, keepalived moves it between 2 hosts...
Comment