pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-admin@lists.postgresql.org
Subject: Re: Open source HA setup for postgres
Date: Sat, 15 Oct 2022 21:07:55 -0500
Message-ID: <49c76fab-950c-33a9-ae8d-3af93c6c7051@gmail.com> (raw)
In-Reply-To: <YQBPR0101MB4666077E45AF055E05FF961FF1249@YQBPR0101MB4666.CANPRD01.PROD.OUTLOOK.COM>
References: <YQBPR0101MB4666077E45AF055E05FF961FF1249@YQBPR0101MB4666.CANPRD01.PROD.OUTLOOK.COM>

On 10/14/22 11:33, Tharmarajah, Sam wrote:
>
> Hi,
>
> We are wondering what is open-source tools being used to set up the HA. We 
> are also looking for a way to pass the reads to all the HA nodes and 
> writes to the primary.  One of the pressing criteria is the HA also should 
> be able to handle the node being taken down during patching and should be 
> able to fail back or recover seamlessly without any manual intervention.
>
> This is the first time we are embarking on HA, so would like some advice 
> and caveats to avoid.
>

What I'm currently looking at is this combo:
https://repmgr.org/ (for quorum voting, fail over *and seamless fail back*)
https://pgpool.net/mediawiki/index.php/Main_Page (for a common IP address)

On a switchover (whether planned or unplanned), repgmr reconfigures PgPool 
to use the New-primary's IP address.

-- 
Angular momentum makes the world go 'round.

view thread (4+ messages)  latest in thread

Message-ID: <49c76fab-950c-33a9-ae8d-3af93c6c7051@gmail.com>
Permalink:  ../49c76fab-950c-33a9-ae8d-3af93c6c7051@gmail.com/
Also on:    postgresql.org/message-id/49c76fab-950c-33a9-ae8d-3af93c6c7051@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: ronljohnsonjr@gmail.com, pgsql-admin@lists.postgresql.org
  Subject: Re: Open source HA setup for postgres
  In-Reply-To: <49c76fab-950c-33a9-ae8d-3af93c6c7051@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox