public inbox for [email protected]
help / color / mirror / Atom feedFrom: Amit Sharma <[email protected]>
To: [email protected]
Subject: PostgreSQL-v13-Repmgr: Split-Brain issue
Date: Fri, 9 Aug 2024 11:40:28 -0400
Message-ID: <CAHER7Lpb38HFMLF-qQPDGNuHJHe4=wETAiYBbiM6V-QK7qjxbA@mail.gmail.com> (raw)
Hi,
I have PosgreSQL primary and a local standby(same data center) and a remote
standby for DR purposes. Currently repmgr is enabled on the same servers
for an automatic failover but it's running into split brain issues.
I have two questions:
1. In order to avoid split-brain between primary and local standby, can
repmgr be set up on a separate witness node to help provide fencing or
prevent a split brain?
2. If so, can I use the same witness server for multiple sets of primary
and secondary postgresql servers/clusters? like one witness server for one
environment that can have multiple postgreSQL clusters? Is there any
document available for that configuration?
Thanks
Amit
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: [email protected]
Cc: [email protected], [email protected]
Subject: Re: PostgreSQL-v13-Repmgr: Split-Brain issue
In-Reply-To: <CAHER7Lpb38HFMLF-qQPDGNuHJHe4=wETAiYBbiM6V-QK7qjxbA@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox