From 42dc58051f854196c4c31f9c2ef451ef5069b79a Mon Sep 17 00:00:00 2001 From: Bo Peng Date: Wed, 29 Nov 2023 11:28:35 +0900 Subject: [PATCH] Update "8.2. Pgpool-II + Watchdog Setup Example" to mention that pcp_listen_addresses = '*' is required to accept all incoming connections. --- doc.ja/src/sgml/example-cluster.sgml | 3 ++- doc/src/sgml/example-cluster.sgml | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/doc.ja/src/sgml/example-cluster.sgml b/doc.ja/src/sgml/example-cluster.sgml index a1a451c80..ff2680bb2 100644 --- a/doc.ja/src/sgml/example-cluster.sgml +++ b/doc.ja/src/sgml/example-cluster.sgml @@ -592,11 +592,12 @@ backend_clustering_mode = 'streaming_replication' listen_addresses - Pgpool-IIが全てのIPアドレスから接続を受け付けるように、 + Pgpool-IIおよびPCPが全てのIPアドレスから接続を受け付けるように、 パラメータに'*'を設定します。 listen_addresses = '*' +pcp_listen_addresses = '*' diff --git a/doc/src/sgml/example-cluster.sgml b/doc/src/sgml/example-cluster.sgml index e16260708..364a3e99c 100644 --- a/doc/src/sgml/example-cluster.sgml +++ b/doc/src/sgml/example-cluster.sgml @@ -586,10 +586,11 @@ backend_clustering_mode = 'streaming_replication' listen_addresses - To allow Pgpool-II to accept all incoming connections, we set listen_addresses = '*'. + To allow Pgpool-II and PCP to accept all incoming connections, we set listen_addresses = '*'. listen_addresses = '*' +pcp_listen_addresses = '*' @@ -696,7 +697,7 @@ backend_application_name2 = 'server3' failover_command = '/etc/pgpool-II/failover.sh %d %h %p %D %m %H %M %P %r %R %N %S' -follow_primary_command = '/etc/pgpool-II/follow_primary.sh %d %h %p %D %m %H %M %P %r %R +follow_primary_command = '/etc/pgpool-II/follow_primary.sh %d %h %p %D %m %H %M %P %r %R' -- 2.39.5