Help cluster, repmgr, pgboucer, pgpool, ha proxy, virtual IP, replication, failover, load balance

From: Juliano <jplinux(at)protonmail(dot)com>
To: "pgsql-cluster-hackers(at)postgresql(dot)org" <pgsql-cluster-hackers(at)postgresql(dot)org>
Subject: Help cluster, repmgr, pgboucer, pgpool, ha proxy, virtual IP, replication, failover, load balance
Date: 2017-08-24 09:40:15
Message-ID: zTMInqF_BBEo_E7IVCzgPMBBPPIFxL2_wfb_FXJo8Uf1LLEuGYKvZPpvxfUtm7UiuZ3PDYvsjTyZxaiGxAUn-JRwljwmxH_fPZ7xs_1T4hQ=@protonmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cluster-hackers

Hi guys

I would like to deploy a load balance on Postgres master/slave(RW/R) servers and also use a virtual IP on this cluster

I currently have a Postgres 9.4 using Repmgr for replication and manual failover to avoid split-brain problems and save a witness server. Also, there is Pgbouncer connection pooling working in session mode.

So, what is recommended to use in my current environment?

Is Pgpool the best solution to use with repmgr+pgboucer? In this case, should I replace Pbgbouncer for Pgpool or use both? What about HA proxy?

I have never configured a virtual IP to cluster, should I use Keepalived, Heartbeat or any other solution?

Here is the image of what is in my mind: https://ibb.co/fZFebk
[cluster.jpg]

Thanks for any help!

Browse pgsql-cluster-hackers by date

  From Date Subject
Previous Message DEV_OPS 2017-03-22 00:34:01 Re: Replication over RDMA with Infiniband or RoCE