From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Postresql HA 2 nodes
Date: Tue, 16 May 2023 16:36:45 -0500
Message-ID: <3138126f-e6f6-bade-e5ce-c3da3d2c1edb@gmail.com> (raw)
In-Reply-To: <CACT02+4ciLwo9MgJsEkaW8pdRz20+RkZVWUnxMS2WOvN9YChqQ@mail.gmail.com>
References: <CACT02+4ciLwo9MgJsEkaW8pdRz20+RkZVWUnxMS2WOvN9YChqQ@mail.gmail.com>
On 5/16/23 16:30, Marcello Lorenzi wrote:
> Hi everyone,
> we're looking for the best solution for a 2-nodes cluster in HA with
> Postegresql 15. after some checks we are noticed about pgpool for the
> management of balancing and automatic failover. Can it be considered a
> viable and manageable solution for production?
I implemented a 2/3-node HA system with Postgresql 13 and PgPool. Not in
production yet, but seems stable.
By 2/3, I mean that there are 2 Pg nodes, and PgPool is installed on them
plus a 3rd (smaller) VM. You really need 3 nodes for quorum voting.
--
Born in Arizona, moved to Babylonia.
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: ronljohnsonjr@gmail.com
Subject: Re: Postresql HA 2 nodes
In-Reply-To: <3138126f-e6f6-bade-e5ce-c3da3d2c1edb@gmail.com>
References: <CACT02+4ciLwo9MgJsEkaW8pdRz20+RkZVWUnxMS2WOvN9YChqQ@mail.gmail.com> <3138126f-e6f6-bade-e5ce-c3da3d2c1edb@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