public inbox for [email protected]  
help / color / mirror / Atom feed
From: Koshino Taiki <[email protected]>
To: [email protected] <[email protected]>
Subject: Re: pcp_promote_node and watchdog
Date: Thu, 18 Dec 2025 02:12:56 +0000
Message-ID: <TY3P286MB29186F4A06F50409825316C294A8A@TY3P286MB2918.JPNP286.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <CAKoxK+6FuDUEFZs3dUaCRTbkCZ_0nD1n_EQW62D8iJ6J=cve9w@mail.gmail.com>
References: <CAKoxK+6FuDUEFZs3dUaCRTbkCZ_0nD1n_EQW62D8iJ6J=cve9w@mail.gmail.com>

Hi,

pcp_promote_node --switchover does not change the watchdog status and does not move the watchdog virtual IP. This is expected behavior.
pcp_promote_node only switches PostgreSQL backend roles between primary and standby.

In Pgpool-II, the VIP is associated with the Pgpool-II leader, not with the PostgreSQL primary. Therefore, even if you perform a PostgreSQL switchover using pcp_promote_node commands, it is not possible to make the VIP to migrate to the promoted primary.

Best regards,


Taiki Koshino<[email protected]>
SRA OSS K.K.
TEL: 03-5979-2701 FAX: 03-5979-2702
URL: https://www.sraoss.co.jp/

________________________________
差出人: Luca Ferrari <[email protected]>
送信日時: 2025年12月18日 2:14
宛先: [email protected] <[email protected]>
件名: pcp_promote_node and watchdog

Hi all,
I don't understand if using pcp_promote_node --switchover
(<https://www.pgpool.net/docs/47/en/html/pcp-promote-node.html;)
implies also a watchdog status change, as it seems to me this is not
the case. Assuming I have a current pimrary and main node, and I want
to promote another node in the cluster, what is the correct way to
make the watchdog ip to migrate to the promoted primary?

Thanks,
Luca




reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: pcp_promote_node and watchdog
  In-Reply-To: <TY3P286MB29186F4A06F50409825316C294A8A@TY3P286MB2918.JPNP286.PROD.OUTLOOK.COM>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox