RE: Failover / repmgr questions - Mailing list pgsql-admin

From Michel SALAIS
Subject RE: Failover / repmgr questions
Date
Msg-id 01ca01d937ce$2ac90cb0$805b2610$@msym.fr
Whole thread Raw
In response to Failover / repmgr questions  (Sbob <sbob@quadratum-braccas.com>)
List pgsql-admin
Hi,

You can use repmgr or patroni
Repmgr can do what you want but it is not just by executing repmgr command. You have to run a daemon "repmgrd" on all
nodes.Then you should activate automatic failover... 
Note that a witness is not necessary to do that but it could be useful depending on what you are searching...

Michel SALAIS

-----Message d'origine-----
De : Sbob <sbob@quadratum-braccas.com>
Envoyé : mardi 24 janvier 2023 20:26
À : Pgsql-admin <pgsql-admin@lists.postgresql.org>
Objet : Failover / repmgr questions

All;


we are constructing a PostgreSQL based architecture that is more complex than "promote node B and manage the IP"  for a
failover.

It would be ideal if I could deploy repmgr and have repmgr run a script for me if it detects a failure, but it looks
likethis may not be an option. Anyone know if I can force repmgr to do this? Is there a better tool that does? 


Thanks in advance







pgsql-admin by date:

Previous
From: Sonia Valeja
Date:
Subject: Re: Postgres Monitoring
Next
From: Gambhir Singh
Date:
Subject: Fwd: Performance Tool - PostgreSQL