From: ROS Didier <didier.ros@edf.fr>
To: ian.barwick@2ndquadrant.com <ian.barwick@2ndquadrant.com>
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: RE: repmgr and SSH
Date: Tue, 15 Jan 2019 12:36:33 +0000
Message-ID: <fd7c9d3d9e5d418cbcff65cb306461e3@PCYINTPEXMU001.NEOPROD.EDF.FR> (raw)
In-Reply-To: <92617896-11d7-17f3-22e6-ab18177d8d4c@2ndquadrant.com>
References: <73e1214e36554edfba4862dd6f770976@PCYINTPEXMU001.NEOPROD.EDF.FR>
<92617896-11d7-17f3-22e6-ab18177d8d4c@2ndquadrant.com>
Hi Ian
If we setup SSH between all the nodes (master, standby and witness) there is a big security problem when repmgr monitors several configurations :
For instance this architecture :
- configuration A : primary A, standby A
- configuration B : primary B, standby B
- Configuration C : primary C, standby C
- witness : monitors the three configurations
If I can connect on primary A with the "postgres" user, I can login on the witness, and then I can connect to all the nodes (primary B, primary C, standby B, standby C).
Question : is it OK if I setup SSH between only the primary and the standby nodes of each configuration ?
Thanks in advance
Best Regards
Didier ROS
Expertise SGBD
DS IT/IT DMA/Solutions Groupe EDF/Expertise Applicative - SGBD
-----Message d'origine-----
De : ian.barwick@2ndquadrant.com [mailto:ian.barwick@2ndquadrant.com]
Envoyé : mardi 15 janvier 2019 12:53
À : ROS Didier <didier.ros@edf.fr>; pgsql-general@lists.postgresql.org
Objet : Re: repmgr and SSH
On 1/14/19 6:29 PM, ROS Didier wrote:
> Hi
>
> I would like to setup a repmgr configuration with one primary node, one standby node and one witness node.
>
> Regarding SSH configuration, the documentation is not clear, I think.
>
> Do we need to setup SSH between the three nodes or only between primary and standby nodes ?
Between all three, though outbound SSH connections from the witness node are not essential.
We'll clarify the documentation.
Regards
Ian Barwick
--
Ian Barwick http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
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.
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: didier.ros@edf.fr, ian.barwick@2ndquadrant.com
Subject: Re: repmgr and SSH
In-Reply-To: <fd7c9d3d9e5d418cbcff65cb306461e3@PCYINTPEXMU001.NEOPROD.EDF.FR>
References: <73e1214e36554edfba4862dd6f770976@PCYINTPEXMU001.NEOPROD.EDF.FR> <92617896-11d7-17f3-22e6-ab18177d8d4c@2ndquadrant.com> <fd7c9d3d9e5d418cbcff65cb306461e3@PCYINTPEXMU001.NEOPROD.EDF.FR>
* 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