Update "8.2. Pgpool-II + Watchdog Setup Example" to mention that pcp_listen_addresses...
authorBo Peng <pengbo@sraoss.co.jp>
Wed, 29 Nov 2023 02:28:35 +0000 (11:28 +0900)
committerBo Peng <pengbo@sraoss.co.jp>
Wed, 29 Nov 2023 02:28:35 +0000 (11:28 +0900)
doc.ja/src/sgml/example-cluster.sgml
doc/src/sgml/example-cluster.sgml

index a1a451c80538d986ac2ae3e5f4aa9d0c71a1af29..ff2680bb214ba30965fd632b27861a6dae6e271d 100644 (file)
@@ -592,11 +592,12 @@ backend_clustering_mode = 'streaming_replication'
   <sect3 id="example-cluster-pgpool-config-listen-addresses">
    <title>listen_addresses</title>
    <para>
-    <productname>Pgpool-II</productname>が全てのIPアドレスから接続を受け付けるように、
+    <productname>Pgpool-II</productname>ã\81\8aã\82\88ã\81³PCPã\81\8cå\85¨ã\81¦ã\81®IPã\82¢ã\83\89ã\83¬ã\82¹ã\81\8bã\82\89æ\8e¥ç¶\9aã\82\92å\8f\97ã\81\91ä»\98ã\81\91ã\82\8bã\82\88ã\81\86ã\81«ã\80\81
     <xref linkend="GUC-LISTEN-ADDRESSES">パラメータに<literal>'*'</literal>を設定します。
    </para>
    <programlisting>
 listen_addresses = '*'
+pcp_listen_addresses = '*'
    </programlisting>
   </sect3>
 
index e16260708785f261b9a4dbf86b7e5f029882efc9..364a3e99cee570e68a235d42b84ef76b8532b98b 100644 (file)
@@ -586,10 +586,11 @@ backend_clustering_mode = 'streaming_replication'
   <sect3 id="example-cluster-pgpool-config-listen-addresses">
    <title>listen_addresses</title>
    <para>
-    To allow Pgpool-II to accept all incoming connections, we set <varname>listen_addresses = '*'</varname>.
+    To allow Pgpool-II and PCP to accept all incoming connections, we set <varname>listen_addresses = '*'</varname>.
    </para>
    <programlisting>
 listen_addresses = '*'
+pcp_listen_addresses = '*'
    </programlisting>
   </sect3>
 
@@ -696,7 +697,7 @@ backend_application_name2 = 'server3'
    </para>
    <programlisting>
 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'
    </programlisting>
    <note>
     <para>