Re: SCRIPT FOR AUTOMATIC PROMOTION FOR PGBOUNCER

Ian Lawrence Barwick <[email protected]> Tue, 19 Nov 2019 21:39:48 +0900
Newsgroups gmane.comp.db.postgresql.admin
Message-ID <CAB8KJ=gJe6AeANpQ+k2LE47BiLQyMKMgFLu73iQAtGucj5B2oA@mail.gmail.com>
2019年11月19日(火) 16:12 Peter Wainaina <[email protected]>:
>
> I have been working for some days on a script to do auto update on pgbouncer.ini when automatic fail-over happens for rep-mgr but have not been able to crack it.Kindly help

In case you aren't aware, there is a sample script available here:

    https://github.com/2ndQuadrant/repmgr/blob/master/doc/repmgrd-node-fencing.md

Regards

Ian Barwick