| From: | Juliano <jplinux(at)protonmail(dot)com> |
|---|---|
| To: | "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
| Subject: | Cluster, repmgr, pgbouncer, pgpool, ha proxy, virtual IP, replication, failover and load balance |
| Date: | 2017-08-24 10:05:23 |
| Message-ID: | M9giYXSpEBpjlkte1Mke1_ZtdyRncxSaolDw5Fqn0-0upQyQeU-67Q2QMJ6pIMVZAlGtHRrv_bKxuz_4ql07RiMvNxwBatLNgfEA1Y6hCgM=@protonmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Hi guys
> I would like to deploy load balance on Postgres master/slave(RW/R) servers and also use a virtual IP on this cluster
>
> I currently have 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+Pgbouncer? In this case, should I replace Pgbouncer 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 in advance for any help!
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Pavel Stehule | 2017-08-24 10:06:47 | Re: DROP [TEMP] TABLE syntax, as reason why not? |
| Previous Message | Vincenzo Romano | 2017-08-24 09:46:50 | Re: DROP [TEMP] TABLE syntax, as reason why not? |