[pgpool-general: 8390] Re: Determine primary frontend

Todd Stein todd.stein at microfocus.com
Tue Sep 13 09:37:12 JST 2022


You can also use the parameter wd_priority to control the order that the Leader is elected.


From: pgpool-general <pgpool-general-bounces at pgpool.net> On Behalf Of Umar Hayat
Sent: Monday, September 12, 2022 8:34 PM
To: Jon SCHEWE <jon.schewe at raytheon.com>
Cc: pgpool-general at pgpool.net
Subject: [pgpool-general: 8388] Re: Determine primary frontend

Hi Jon,
Leader watchdog node holds the VIP, try pcp_watchdog_info<https://www.pgpool.net/docs/latest/en/html/pcp-watchdog-info.html> to get current leader host information.

Regards
Umar Hayat
Bitnine Inc<http://bitnine.net>

On Tue, Sep 13, 2022 at 7:33 AM Jon SCHEWE <jon.schewe at raytheon.com<mailto:jon.schewe at raytheon.com>> wrote:
Is there a way to query pgpool to determine which host is the primary frontend? Or is the only way to determine this to check the IP addresses on all potential frontends to see which one has the virtual IP?

Jon
_______________________________________________
pgpool-general mailing list
pgpool-general at pgpool.net<mailto:pgpool-general at pgpool.net>
http://www.pgpool.net/mailman/listinfo/pgpool-general
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pgpool.net/pipermail/pgpool-general/attachments/20220913/2a0dc590/attachment.htm>


More information about the pgpool-general mailing list