pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jehan-Guillaume (ioguix) de Rorthais <ioguix@free.fr>
To: thomas.poty@gmail.com <thomas.poty@gmail.com>
Cc: ROS Didier <didier.ros@edf.fr>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: increasing HA
Date: Wed, 5 Sep 2018 11:38:35 +0200
Message-ID: <20180905113835.5abbc248@firost> (raw)
In-Reply-To: <3f3568458e7a4dcdbee781b272900183@PCYINTPEXMU001.NEOPROD.EDF.FR>
References: <CAN_ctnh=Pg6nGDtwxv+qJdpF_yHsJFZx1CcA0YSTgN8nvpnnrw@mail.gmail.com>
	<3f3568458e7a4dcdbee781b272900183@PCYINTPEXMU001.NEOPROD.EDF.FR>

Hi all,

On Tue, 4 Sep 2018 15:09:51 +0000
ROS Didier <didier.ros@edf.fr> wrote:

> Hi
>                I have made a lot of PostgreSQL High Availability tests (more
> than 20 by solution) and the two following products respond well to the need :
> 
> (1)    Repmgr (2ndQuadrant)
> 
> (2)    Pglookout (aiven)

Both solutions use a simple and naive implementation, which makes them easy to
use and admin. However, it gives the responsibilities to the admin to deal with
fencing, which is a mandatory piece in almost all kind of DB cluster if you
want to cover most of the failure cases and avoid split brain.

So yes, they are simple, because complexity is left to the admin skills. It
kind of require you rewrote and test yourself part of the fencing stack of
Pacemaker. Good luck.

And I'm not speaking about watchdog here, which I just fail to imagine how the
admin could implement it himself.

Just consider how messy it is to deal with "logical fencing" when considering
doing it with pgbouncer.

In short: if you are ready to spend many dev/admin hours to build a safe HA
cluster for your DB and set strict requirements, those are fine.

> About PAF, the product is hard to install and set up . It need a linux
> cluster and a system engineers team to use it.

Indeed, Pacemaker has a steep learning cuve and documentation still requires
some improvement. But HA is not an easy subject. Just look at RHEL or Suse
requirements before their team accept to support your DB cluster (spoiler:
fencing).

Whatever solution you pick, you must **know and document** its limitations and
risks.




view thread (15+ messages)  latest in thread

Message-ID: <20180905113835.5abbc248@firost>
Permalink:  ../20180905113835.5abbc248@firost/
Also on:    postgresql.org/message-id/20180905113835.5abbc248@firost

 · 

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 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: ioguix@free.fr, thomas.poty@gmail.com, didier.ros@edf.fr
  Subject: Re: increasing HA
  In-Reply-To: <20180905113835.5abbc248@firost>
  References: <CAN_ctnh=Pg6nGDtwxv+qJdpF_yHsJFZx1CcA0YSTgN8nvpnnrw@mail.gmail.com> <3f3568458e7a4dcdbee781b272900183@PCYINTPEXMU001.NEOPROD.EDF.FR> <20180905113835.5abbc248@firost>

* 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