From: Ian Barwick <ian.barwick@2ndquadrant.com>
To: ROS Didier <didier.ros@edf.fr>
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: repmgr and STONIT - SPLIT BAIN
Date: Tue, 15 Jan 2019 20:41:37 +0900
Message-ID: <d9df1c0d-b069-cf2c-272b-e8802ee4eae9@2ndquadrant.com> (raw)
In-Reply-To: <c736a92cb64f45cab245a45dd5642274@PCYINTPEXMU001.NEOPROD.EDF.FR>
References: <c736a92cb64f45cab245a45dd5642274@PCYINTPEXMU001.NEOPROD.EDF.FR>
Hi
On 1/15/19 5:54 PM, ROS Didier wrote:
> Hi
>
> We are going to implement repmgr according to the following configuration :
>
> -Primary node on the site A
>
> -Standby node on the site B
>
> -Witness node on the same site A
>
> Do we need to use LOCATION repmgr parameter in this case to avoid Split Brain and permit STONIT ?
In this case, the "location" parameter should be the same for all nodes.
FYI the "location" parameter is intended for the use case where you have a large
number of nodes in multiple data centres and need to ensure that only a node in the
same data centre (location) as the primary can get promoted.
STONITH is something you'll need to implement yourself.
Regards
Ian Barwick
--
Ian Barwick http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
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: ian.barwick@2ndquadrant.com, didier.ros@edf.fr
Subject: Re: repmgr and STONIT - SPLIT BAIN
In-Reply-To: <d9df1c0d-b069-cf2c-272b-e8802ee4eae9@2ndquadrant.com>
References: <c736a92cb64f45cab245a45dd5642274@PCYINTPEXMU001.NEOPROD.EDF.FR> <d9df1c0d-b069-cf2c-272b-e8802ee4eae9@2ndquadrant.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