Re: replica repmgr

From: Sylvie HALAT <sylvie(dot)halat(at)ac-toulouse(dot)fr>
To: CRISTINA ASENJO CUELLAR <CASENJOCUELLAR(at)caser(dot)es>
Cc: "pgsql-admin(at)lists(dot)postgresql(dot)org" <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: replica repmgr
Date: 2020-06-10 15:26:59
Message-ID: 599418bb-99b6-f084-f705-bb32217f3bc9@ac-toulouse.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.
>
> https://wiki.postgresql.org/wiki/Streaming_Replication
> https://www.percona.com/blog/2019/10/11/how-to-set-up-streaming-replication-in-postgresql-12/
> https://www.percona.com/blog/2018/09/07/setting-up-streaming-replication-postgresql/
>
> 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(at)caser(dot)es <mailto:CASENJOCUELLAR(at)caser(dot)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.
>
> <https://www.caser.es/>
> CRISTINA ASENJO CUELLAR​
> TECNOLOGÍA Y EXPLOTACIÓN
> INFRAESTRUCTURA DE APLICACIONES
>
> MADRID  ‑ AV BURGOS 109  ‑ 28050
>
> *912146557 Ext. 6557* <tel:912146557%20Ext.%206557>
>
> 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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Anjul Tyagi 2020-06-13 12:44:15 MFA Postgres
Previous Message Avinash Kumar 2020-06-10 15:14:01 Re: replica repmgr