| From: | Koshino Taiki <koshino(at)sraoss(dot)co(dot)jp> |
|---|---|
| To: | "pgpool-general(at)lists(dot)postgresql(dot)org" <pgpool-general(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: pcp_promote_node and watchdog |
| Date: | 2025-12-18 02:12:56 |
| Message-ID: | TY3P286MB29186F4A06F50409825316C294A8A@TY3P286MB2918.JPNP286.PROD.OUTLOOK.COM |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgpool-general |
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<koshino(at)sraoss(dot)co(dot)jp>
SRA OSS K.K.
TEL: 03-5979-2701 FAX: 03-5979-2702
URL: https://www.sraoss.co.jp/
________________________________
差出人: Luca Ferrari <fluca1978(at)gmail(dot)com>
送信日r: 2025年12月18日 2:14
宛先: pgpool-general(at)lists(dot)postgresql(dot)org <pgpool-general(at)lists(dot)postgresql(dot)org>
件名: 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
| From | Date | Subject | |
|---|---|---|---|
| Previous Message | Luca Ferrari | 2025-12-17 17:14:36 | pcp_promote_node and watchdog |