pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Postresql HA 2 nodes
3+ messages / 3 participants
[nested] [flat]

* Postresql HA 2 nodes
@ 2023-05-16 21:30  Marcello Lorenzi <cello86@gmail.com>
  0 siblings, 2 replies; 3+ messages in thread

From: Marcello Lorenzi @ 2023-05-16 21:30 UTC (permalink / raw)
  To: pgsql-general@lists.postgresql.org

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?

Thanks,
Marcello

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Postresql HA 2 nodes
@ 2023-05-16 21:36  Ron <ronljohnsonjr@gmail.com>
  parent: Marcello Lorenzi <cello86@gmail.com>
  1 sibling, 0 replies; 3+ messages in thread

From: Ron @ 2023-05-16 21:36 UTC (permalink / raw)
  To: pgsql-general@lists.postgresql.org

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.





^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Postresql HA 2 nodes
@ 2023-05-17 12:22  Jehan-Guillaume de Rorthais <jgdr@dalibo.com>
  parent: Marcello Lorenzi <cello86@gmail.com>
  1 sibling, 0 replies; 3+ messages in thread

From: Jehan-Guillaume de Rorthais @ 2023-05-17 12:22 UTC (permalink / raw)
  To: Marcello Lorenzi <cello86@gmail.com>; +Cc: pgsql-general@lists.postgresql.org

On Tue, 16 May 2023 23:30:42 +0200
Marcello Lorenzi <cello86@gmail.com> 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?

Have a look at this recent discussion which discuss various solutions,
pros and cons:

https://www.postgresql.org/message-id/flat/AM9P251MB033074BFEBB9AA40955B5B7598929%40AM9P251MB0330.EU...

Regard,





^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2023-05-17 12:22 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2023-05-16 21:30 Postresql HA 2 nodes Marcello Lorenzi <cello86@gmail.com>
2023-05-16 21:36 ` Ron <ronljohnsonjr@gmail.com>
2023-05-17 12:22 ` Jehan-Guillaume de Rorthais <jgdr@dalibo.com>

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