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 <thomas.poty@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: increasing HA
Date: Wed, 5 Sep 2018 14:15:24 +0200
Message-ID: <20180905141524.6ff9d4d1@firost> (raw)
In-Reply-To: <CAN_ctnj6eeb1C=6A6QoWHSUgd_hq5dnatLb_sSeikvhzTaPWKQ@mail.gmail.com>
References: <CAN_ctnh=Pg6nGDtwxv+qJdpF_yHsJFZx1CcA0YSTgN8nvpnnrw@mail.gmail.com>
	<3f3568458e7a4dcdbee781b272900183@PCYINTPEXMU001.NEOPROD.EDF.FR>
	<20180905113835.5abbc248@firost>
	<CAN_ctnj6eeb1C=6A6QoWHSUgd_hq5dnatLb_sSeikvhzTaPWKQ@mail.gmail.com>

On Wed, 5 Sep 2018 13:23:41 +0200
Thomas Poty <thomas.poty@gmail.com> wrote:

> Hi Jehan-Guillaume,

Hello,

> Thanks for your opinion.
> 
> At first glance, i may use for automatic failover PAF, 

In fact, PAF does not support slots. So it is not a good candidate if slot are
a requirement.

> a proxy HAproxy and
> for fencincg, i am a bit disappointed, i don't know what to do/use

Depend on your hardware or your virtualization technology.

> How about you, do you have any preference about tools/solutions to use ?

If you want a simple and well community adopted solution, pick Patroni. It deals
with slots, rely on etcd or zookeeper, fit nicely with haproxy, deal with
watchdog to keep itself under monitor. However, it lacks of fencing and its
callback are asynchronous. You would have to take special care of your
network and master connectivity upon primary failure.

If you want something able to keep multiple services avaliable (PostgreSQL, vIP,
storage, pgBouncer, apache, whatever...), deal with dependencies, locations,
constraints, rules etc, pick Pacemaker (and a larger coffee machine). I would
(obviously) recommend PAF as resource agent for PgSQL, but you would have to
design your cluster without slots :/

++




view thread (15+ messages)  latest in thread

Message-ID: <20180905141524.6ff9d4d1@firost>
Permalink:  ../20180905141524.6ff9d4d1@firost/
Also on:    postgresql.org/message-id/20180905141524.6ff9d4d1@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
  Subject: Re: increasing HA
  In-Reply-To: <20180905141524.6ff9d4d1@firost>
  References: <CAN_ctnh=Pg6nGDtwxv+qJdpF_yHsJFZx1CcA0YSTgN8nvpnnrw@mail.gmail.com> <3f3568458e7a4dcdbee781b272900183@PCYINTPEXMU001.NEOPROD.EDF.FR> <20180905113835.5abbc248@firost> <CAN_ctnj6eeb1C=6A6QoWHSUgd_hq5dnatLb_sSeikvhzTaPWKQ@mail.gmail.com> <20180905141524.6ff9d4d1@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