From 3604259c032847fdf20c5c5de5fbf88e43f3e505 Mon Sep 17 00:00:00 2001 From: Tatsuo Ishii Date: Thu, 24 Jul 2025 10:07:29 +0900 Subject: [PATCH] Doc: unify watchdog leader terms (followup). This is a followup commit to 222a88a751c75acfc809e06559621699255921f7. This commit updates advaced.sgml. Backpatch-trhough: v4.2 --- doc.ja/src/sgml/advanced.sgml | 12 ++++++------ doc/src/sgml/advanced.sgml | 24 ++++++++++++------------ 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/doc.ja/src/sgml/advanced.sgml b/doc.ja/src/sgml/advanced.sgml index e240ae310..79407e016 100644 --- a/doc.ja/src/sgml/advanced.sgml +++ b/doc.ja/src/sgml/advanced.sgml @@ -190,7 +190,7 @@ - 障害が検出された際のアクティブ/スタンバイ状態の切換 + 障害が検出された際のリーダー/スタンバイ状態の切換 WATCHDOG @@ -204,7 +204,7 @@ by voting and change active/standby state. --> Pgpool-IIの障害が検出されると、watchdogは他のwatchdogにそのことを通知します。 - 障害が起きたのがアクティブなPgpool-IIであれば、watchdogは投票によって新しいアクティブPgpool-IIを決定し、active/standby状態を変更します + 障害が起きたのがリーダーPgpool-IIであれば、watchdogは投票によって新しいリーダーPgpool-IIを決定し、active/standby状態を変更します @@ -225,8 +225,8 @@ Pgpool-II to work using the same IP address even when servers are switched. --> - スタンバイPgpool-IIサーバが昇格すると、新しいアクティブサーバは仮想IPインターフェイスを立ち上げます。 - 一方、以前のアクティブサーバは、仮想IPインターフェイスを停止します。 + スタンバイPgpool-IIサーバが昇格すると、新しいリーダーサーバは仮想IPインターフェイスを立ち上げます。 + 一方、以前のリーダーサーバは、仮想IPインターフェイスを停止します。 これにより、サーバが切り替わってもPgpool-IIは同じIPアドレスを使うことができます。 @@ -784,7 +784,7 @@ --> クエリモードでは、PostgreSQLサーバの障害やpcp_detach_nodeによってすべてのDBノードがPgpool-IIから切り離されると、watchdogはPgpool-IIサービスが停止状態にあるとみなし、watchdogに割り当てられた仮想IPを停止します。 ですので、Pgpool-IIのクライアントは仮想IPを使ってPgpool-IIに接続できなくなります。 - これは、複数のアクティブPgpool-IIが存在するスプリットブレインを回避するために必要です。 + これは、複数のリーダーPgpool-IIが存在するスプリットブレインを回避するために必要です。 @@ -844,7 +844,7 @@ brought down before a down notification packet is sent to other Pgpool-II. --> - 停止通知パケットが他のPgpool-IIに送られる前に、以前の仮想IPが停止したことを確認するので、アクティブPgpool-IIが停止してからスタンバイPgpool-IIが新しいアクティブに昇格するまでには数秒を要します。 + 停止通知パケットが他のPgpool-IIに送られる前に、以前の仮想IPが停止したことを確認するので、リーダーPgpool-IIが停止してからスタンバイPgpool-IIが新しいリーダーに昇格するまでには数秒を要します。 diff --git a/doc/src/sgml/advanced.sgml b/doc/src/sgml/advanced.sgml index 74cf9f17a..7bfdd069a 100644 --- a/doc/src/sgml/advanced.sgml +++ b/doc/src/sgml/advanced.sgml @@ -129,7 +129,7 @@ - Changing active/standby state when certain fault is detected + Changing leader/standby state when certain fault is detected WATCHDOG @@ -137,9 +137,9 @@ When a fault of Pgpool-II is detected, watchdog notifies the other watchdogs of it. - If this is the active Pgpool-II, - watchdogs decide the new active Pgpool-II - by voting and change active/standby state. + If this is the leader Pgpool-II, + watchdogs decide the new leader Pgpool-II + by voting and change leader/standby state. @@ -150,9 +150,9 @@ WATCHDOG - When a standby Pgpool-II server promotes to active, - the new active server brings up virtual IP interface. Meanwhile, the previous - active server brings down the virtual IP interface. This enables the active + When a standby Pgpool-II server promotes to leader, + the new leader server brings up virtual IP interface. Meanwhile, the previous + leader server brings down the virtual IP interface. This enables the leader Pgpool-II to work using the same IP address even when servers are switched. @@ -167,7 +167,7 @@ When the broken server recovers or new server is attached, the watchdog process notifies this to the other watchdogs in the cluster along with the information of the new server, - and the watchdog process receives information on the active server and + and the watchdog process receives information on the leader server and other servers. Then, the attached server is registered as a standby. @@ -524,7 +524,7 @@ Thus clients of Pgpool-II cannot connect to Pgpool-II using the virtual IP any more. This is necessary to avoid split-brain, - that is, situations where there are multiple active + that is, situations where there are multiple leader Pgpool-II. @@ -561,9 +561,9 @@ WATCHDOG - After the active Pgpool-II stops, + After the leader Pgpool-II stops, it will take a few seconds until the standby Pgpool-II - promote to new active, to make sure that the former virtual IP is + promote to new leader, to make sure that the former virtual IP is brought down before a down notification packet is sent to other Pgpool-II. @@ -640,7 +640,7 @@ - Manages the Virtual-IP on the active/coordinator node and + Manages the Virtual-IP on the leader/coordinator node and allow the users to provide custom scripts for escalation and de-escalation. -- 2.39.5