Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gjNxS-0005z8-2t for pgsql-general@arkaria.postgresql.org; Tue, 15 Jan 2019 12:36:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gjNxQ-0001rE-Nm for pgsql-general@arkaria.postgresql.org; Tue, 15 Jan 2019 12:36:40 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gjNxQ-0001r7-7E for pgsql-general@lists.postgresql.org; Tue, 15 Jan 2019 12:36:40 +0000 Received: from mtagatef.edf.fr ([163.114.21.150]) by makus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gjNxM-0002Zc-E6 for pgsql-general@lists.postgresql.org; Tue, 15 Jan 2019 12:36:38 +0000 From: ROS Didier To: "ian.barwick@2ndquadrant.com" , "pgsql-general@lists.postgresql.org" Subject: RE: repmgr and SSH Thread-Topic: repmgr and SSH Thread-Index: AdSr6voiotEai9imSpSftYmPwGI3twA1YNgAAANWzyA= Date: Tue, 15 Jan 2019 12:36:33 +0000 Message-ID: References: <73e1214e36554edfba4862dd6f770976@PCYINTPEXMU001.NEOPROD.EDF.FR> <92617896-11d7-17f3-22e6-ab18177d8d4c@2ndquadrant.com> In-Reply-To: <92617896-11d7-17f3-22e6-ab18177d8d4c@2ndquadrant.com> Accept-Language: fr-FR, en-US Content-Language: fr-FR X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.22.153.71] x_exchange_neo: 1 Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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, st= andby B, standby C). = Question : is it OK if I setup SSH between only the primary and the standb= y 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=A0: ian.barwick@2ndquadrant.com [mailto:ian.barwick@2ndquadrant.com] = Envoy=E9=A0: mardi 15 janvier 2019 12:53 =C0=A0: ROS Didier ; pgsql-general@lists.postgresql.org Objet=A0: 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 s= tandby node and one witness node. > = > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Regarding SSH configuration, = the documentation is not clear, I think. > = > Do we need to setup SSH between the three nodes or only between primary a= nd standby nodes ? Between all three, though outbound SSH connections from the witness node ar= e 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=E8ces jointes (ci-apr=E8s le 'Message') sont = =E9tablis =E0 l'intention exclusive des destinataires et les informations q= ui y figurent sont strictement confidentielles. Toute utilisation de ce Mes= sage non conforme =E0 sa destination, toute diffusion ou toute publication = totale ou partielle, est interdite sauf autorisation expresse. Si vous n'=EAtes 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 pa= rtie. Si vous avez re=E7u ce Message par erreur, merci de le supprimer de v= otre syst=E8me, ainsi que toutes ses copies, et de n'en garder aucune trace= sur quelque support que ce soit. Nous vous remercions =E9galement d'en ave= rtir imm=E9diatement l'exp=E9diteur par retour du message. Il est impossible de garantir que les communications par messagerie =E9lect= ronique arrivent en temps utile, sont s=E9curis=E9es ou d=E9nu=E9es de tout= e erreur ou virus. ____________________________________________________ This message and any attachments (the 'Message') are intended solely for th= e addressees. The information contained in this Message is confidential. An= y use of information contained in this Message not in accord with its purpo= se, 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 an= y 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 vir= us-free.