Re: replica repmgr - Mailing list pgsql-admin

From Sylvie HALAT
Subject Re: replica repmgr
Date
Msg-id 599418bb-99b6-f084-f705-bb32217f3bc9@ac-toulouse.fr
Whole thread Raw
In response to Re: replica repmgr  (Avinash Kumar <avinash.vallarapu@gmail.com>)
List pgsql-admin
Hi Christina,

Are these package installed on you server ?

postgresql10-libs-10.5
postgresql10-contrib-10.5
postgresql10-10.5
postgresql10-server-10.5

Regards,
Sylvie Halat

Le 10/06/2020 à 17:14, Avinash Kumar a écrit :
If it's just about setting Up streaming replication, you may use these as a reference. 


But, if you wish to enable easy switchover/failover/automatic failover solutions - then you could try solutions like - Patroni, REPMGR, pg_auto_failover, pgpool, etc. 


On Wed, Jun 10, 2020 at 11:52 AM CRISTINA ASENJO CUELLAR <CASENJOCUELLAR@caser.es> wrote:

 

Hello,

I have not postgres's experience and i need to install a replica in postgrest 10 on redhat.

Reading about this, i have seen several methods and  i have choose streaming replication.

Reading about that, there is an tool repmgr integrated with postgress.

I installed postgres 10

postgres --version

postgres (PostgreSQL) 10.6

i download repmgr (repmgr10-5.1.0-1.rhel8.x86_64.rpm) and failed due to dependencies

 

$ rpm -Uvh repmgr10-5.1.0-1.rhel8.x86_64.rpm

warning: repmgr10-5.1.0-1.rhel8.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 442df0f8: NOKEY

error: Failed dependencies:

postgresql10-server is needed by repmgr10-5.1.0-1.rhel8.x86_64

 

Please, could someone help me?

Which is the best easy way to configure replica master/slave?

 

Thanks in advance.

CRISTINA ASENJO CUELLAR
TECNOLOGÍA Y EXPLOTACIÓN
INFRAESTRUCTURA DE APLICACIONES
MADRID ‑ AV BURGOS 109 ‑ 28050
912146557 Ext. 6557
Antes de imprimir este correo electrónico piense bien si es necesario hacerlo: el medioambiente es cosa de todos.

​ADVERTENCIA LEGAL:

Este correo electrónico, y en su caso, cualquier fichero anexo al mismo, contiene información de carácter confidencial, exclusivamente dirigida a su destinatario, salvo error u omisión involuntarios. Queda prohibida su divulgación, copia o distribución a terceros, sin la previa autorización por escrito de su remitente. En el caso de haber recibido este mensaje por error, se ruega comunique esta circunstancia mediante su reenvío a la dirección electrónica del remitente y proceda a su eliminación, así como la de cualquier documento adjunto al mismo.

La Compañía ha adoptado todas las medidas a su alcance para impedir la implantación de virus informáticos en este correo y su documentación adjunta hasta el momento de su emisión, sin que asuma responsabilidad alguna por los eventuales daños o pérdidas que pueda ocasionar la recepción del mismo. 


--
Regards,
Avinash Vallarapu
+1-902-221-5976

Attachment

pgsql-admin by date:

Previous
From: Avinash Kumar
Date:
Subject: Re: replica repmgr
Next
From: "Anjul Tyagi"
Date:
Subject: MFA Postgres