Thread: repmgr and STONIT - SPLIT BAIN

repmgr and STONIT - SPLIT BAIN

From
ROS Didier
Date:

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 ?

      

       Thanks in advance for your advice

 

Best Regards

cid:image002.png@01D14E0E.8515EB90


Didier ROS

Expertise SGBD

DS IT/IT DMA/Solutions Groupe EDF/Expertise Applicative - SGBD

 

 


Ce message et toutes les pièces jointes (ci-après le 'Message') sont établis à l'intention exclusive des destinataires et les informations qui y figurent sont strictement confidentielles. Toute utilisation de ce Message non conforme à sa destination, toute diffusion ou toute publication totale ou partielle, est interdite sauf autorisation expresse.

Si vous n'êtes pas le destinataire de ce Message, il vous est interdit de le copier, de le faire suivre, de le divulguer ou d'en utiliser tout ou partie. Si vous avez reçu ce Message par erreur, merci de le supprimer de votre système, ainsi que toutes ses copies, et de n'en garder aucune trace sur quelque support que ce soit. Nous vous remercions également d'en avertir immédiatement l'expéditeur par retour du message.

Il est impossible de garantir que les communications par messagerie électronique arrivent en temps utile, sont sécurisées ou dénuées de toute erreur ou virus.
____________________________________________________

This message and any attachments (the 'Message') are intended solely for the addressees. The information contained in this Message is confidential. Any use of information contained in this Message not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval.

If you are not the addressee, you may not copy, forward, disclose or use any part of it. If you have received this message in error, please delete it and all copies from your system and notify the sender immediately by return message.

E-mail communication cannot be guaranteed to be timely secure, error or virus-free.

Attachment

Re: repmgr and STONIT - SPLIT BAIN

From
Ian Barwick
Date:
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