From ca3ecfd7ae8c63f3b8c6f7fa78ace36c4ffc10c5 Mon Sep 17 00:00:00 2001 From: Bo Peng Date: Wed, 3 Apr 2024 16:18:17 +0900 Subject: [PATCH] Doc: enhance "Upstream server connection" documentation. --- doc.ja/src/sgml/watchdog.sgml | 26 +++++++++++++++++++++++--- doc/src/sgml/watchdog.sgml | 15 ++++++++++++++- src/sample/pgpool.conf.sample-stream | 2 +- 3 files changed, 38 insertions(+), 5 deletions(-) diff --git a/doc.ja/src/sgml/watchdog.sgml b/doc.ja/src/sgml/watchdog.sgml index 01562f12e..fae4f98cf 100644 --- a/doc.ja/src/sgml/watchdog.sgml +++ b/doc.ja/src/sgml/watchdog.sgml @@ -286,7 +286,24 @@ - 上流サーバへの接続 + 上位サーバへの接続 + + + + Pgpool-IIのサービス提供先(DB クライアント)のサーバを上位サーバと呼びます。 + Pgpool-IIが生きていてPostgreSQLと繋がっている場合でも、 + 上位サーバとのリンクが切れていれば、Pgpool-IIはサービスを提供できません。 + そのため、watchdogは上位サーバとのリンクが繋がっているかどうかも監視します。 + @@ -302,7 +319,9 @@ - 上位接続を確認するための信頼できるサーバのリストを指定します。 + 上位サーバとの接続を確認するための信頼できるサーバのリストを指定します。 + 例えば、上位サーバ、あるいは上位サーバへの経路上にあるルーターのリストを指定します。 リスト中の各サーバは、pingの応答に答える必要があります。 "hostA,hostB,hostC"のようにカンマで区切って複数のサーバを指定できます。 全てのサーバに到達できなくなると、watchdogはPgpool-IIに障害が発生したと判断します。 diff --git a/doc/src/sgml/watchdog.sgml b/doc/src/sgml/watchdog.sgml index 5f8512a21..4c85dbec0 100644 --- a/doc/src/sgml/watchdog.sgml +++ b/doc/src/sgml/watchdog.sgml @@ -207,6 +207,17 @@ pgpool_port2 = 9999 Upstream server connection + + Upstream servers are the clients (DB clients) served by + Pgpool-II. + Even if Pgpool-II is alive and + connected to PostgreSQL, + if the link with the upstream server is broken, + Pgpool-II cannot provide services. + Therefore, the watchdog also monitors connections to upstream servers + from the Pgpool-II. + + @@ -217,7 +228,9 @@ pgpool_port2 = 9999 - Specifies the list of trusted servers to check the up stream connections. + Specifies the list of trusted servers to check the upstream connections. + For example, the list of upstream servers or routers between + Pgpool-II and upstream servers. Each server in the list is required to respond to ping. Specify a comma separated list of servers such as "hostA,hostB,hostC". diff --git a/src/sample/pgpool.conf.sample-stream b/src/sample/pgpool.conf.sample-stream index fbe7fc827..1b0756172 100644 --- a/src/sample/pgpool.conf.sample-stream +++ b/src/sample/pgpool.conf.sample-stream @@ -694,7 +694,7 @@ backend_clustering_mode = 'streaming_replication' # Activates watchdog # (change requires restart) -# -Connection to up stream servers - +# -Connection to upstream servers - #trusted_servers = '' # trusted server list which are used -- 2.39.5