public inbox for [email protected]  
help / color / mirror / Atom feed
pcp_promote_node and watchdog
2+ messages / 2 participants
[nested] [flat]

* pcp_promote_node and watchdog
@ 2025-12-17 17:14  Luca Ferrari <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: Luca Ferrari @ 2025-12-17 17:14 UTC (permalink / raw)
  To: [email protected]

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





^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: pcp_promote_node and watchdog
@ 2025-12-18 02:12  Koshino Taiki <[email protected]>
  parent: Luca Ferrari <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Koshino Taiki @ 2025-12-18 02:12 UTC (permalink / raw)
  To: [email protected] <[email protected]>

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




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2025-12-18 02:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2025-12-17 17:14 pcp_promote_node and watchdog Luca Ferrari <[email protected]>
2025-12-18 02:12 ` Koshino Taiki <[email protected]>

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