pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Zwettler Markus (OIZ) <Markus.Zwettler@zuerich.ch>
To: pgsql-admin@lists.postgresql.org <pgsql-admin@lists.postgresql.org>
Subject: pgpool2 HA + split brain
Date: Fri, 23 Nov 2018 10:14:54 +0000
Message-ID: <07b006680f7249b6a8fa437b9bc1121d@zuerich.ch> (raw)

Hi all,

I am thinking about a HA solution using pgpool2 + postgresql streaming replication.

I am afraid of a split brain scenario (two active primary databases).

In my opinion a split brain scenario should never happen when

a)    I configure the postgresql clusters (pg_hba.conf) to accept only user connections coming from the pgpool2 server

b)    pgpool2 initiates the failover

Do you agree or did I miss something?

Thanks,
Markus

Message-ID: <07b006680f7249b6a8fa437b9bc1121d@zuerich.ch>
Permalink:  ../07b006680f7249b6a8fa437b9bc1121d@zuerich.ch/
Also on:    postgresql.org/message-id/07b006680f7249b6a8fa437b9bc1121d@zuerich.ch

 · 

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: Markus.Zwettler@zuerich.ch, pgsql-admin@lists.postgresql.org
  Subject: Re: pgpool2 HA + split brain
  In-Reply-To: <07b006680f7249b6a8fa437b9bc1121d@zuerich.ch>

* 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