flag is set as the primary node. This is useful for
systems including <productname>Amazon Aurora for
PostgreSQL Compatibility</productname> which has
- fixed master server name.
+ fixed master server name. See <xref linkend="example-Aurora">
+ for an example settings.
</entry>
-->
<entry><literal>ALWAYS_MASTER</literal></entry>
ストリーミングレプリケーションモードについては<xref linkend="running-mode">をご覧ください。
このフラグがバックエンドのどれかにセットされていると、<productname>Pgpool-II</productname>はバックエンドにアクセスしてプライマリノードを探すのではなく、このフラグがセットされているノードをプライマリノードと見なします。
これは、<productname>Amazon Aurora for PostgreSQL Compatibility</productname>のような、マスターサーバに固定のホスト名が割り当てられるシステムで有用です。
+ 設定例については<xref linkend="example-Aurora">をご覧ください。
</entry>
</row>
<para>
<!--
Set <xref linkend="guc-sr-check-period"> to 0 to
- disable streaming replication delay checking.
+ disable streaming replication delay checking. This
+ is because <productname>Aurora</productname> does
+ not provide neccessary functions to check the
+ replication delay.
-->
<xref linkend="guc-sr-check-period">を0にして、ストリーミングレプリケーション遅延チェックを無効にします。
+ <productname>Aurora</productname>では、ストリーミングレプリケーションの遅延をチェックするための関数が提供されないためです。
</para>
</listitem>
<listitem>
the <xref linkend="guc-backend-flag"> for the master
node.
-->
- マスタノードの<xref linkend="guc-backend-flag">の<varname>ALWAYS_MASTER</varname>をオンにします。
+ <xref linkend="guc-backend-hostname">0の<xref linkend="guc-backend-flag">の<varname>ALWAYS_MASTER</varname>をオンにします。
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <!--
+ Enable health checking.
+ Set <xref linkend="guc-health-check-period"> to 5.
+ Set <xref linkend="guc-health-check-user">, <xref linkend="guc-health-check-password">,
+ <xref linkend="guc-health-check-user"> and
+ <xref linkend="guc-health-check-database"> to appropriate values.
+ Enable health check retry.
+ <productname>Aurora</productname> shutdowns all DB nodes while switching
+ over or failover. If the retry is not performed,
+ <productname>Pgpool-II</productname> thinks that all DB nodes are in down status
+ so that it is required to restart <productname>Pgpool-II</productname>.
+ Set <xref linkend="guc-health-check-max-retries"> to 20.
+ Set <xref linkend="guc-health-check-retry-delay"> to 1 to avoid the problem.
+ -->
+ ヘルスチェックを有効にします。
+ <xref linkend="guc-health-check-period">に5を設定します.
+ <xref linkend="guc-health-check-user">、<xref linkend="guc-health-check-password">、
+ <xref linkend="guc-health-check-user">、<xref linkend="guc-health-check-database">
+ に適切な値を設定します。
+ リトライを設定します。
+ <productname>Aurora</productname>は、スィッチングオーバーやフェイルオーバーの際に、一時的に全DBノードを停止します。
+ リトライを行わないと、<productname>Pgpool-II</productname>から見ると全DBノードがダウン状態になり、<productname>Pgpool-II</productname>の再起動が必要になります。
+ <xref linkend="guc-health-check-max-retries">を20に、<xref linkend="guc-health-check-retry-delay">を1にして、そのような問題を回避してください。
</para>
</listitem>
</itemizedlist>
flag is set as the primary node. This is useful for
systems including <productname>Amazon Aurora for
PostgreSQL Compatibility</productname> which has
- fixed master server name.
+ fixed master server name. See <xref linkend="example-Aurora">
+ for an example settings.
</entry>
</row>
<listitem>
<para>
Set <xref linkend="guc-sr-check-period"> to 0 to
- disable streaming replication delay checking.
+ disable streaming replication delay checking. This
+ is because <productname>Aurora</productname> does
+ not provide neccessary functions to check the
+ replication delay.
</para>
</listitem>
<listitem>
<listitem>
<para>
Set <varname>ALWAYS_MASTER</varname> flag to
- the <xref linkend="guc-backend-flag"> for the master
- node.
+ the <xref linkend="guc-backend-flag">
+ for <xref linkend="guc-backend-hostname">0.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Enable health checking.
+ Set <xref linkend="guc-health-check-period"> to 5.
+ Set <xref linkend="guc-health-check-user">, <xref linkend="guc-health-check-password">,
+ <xref linkend="guc-health-check-user"> and
+ <xref linkend="guc-health-check-database"> to appropriate values.
+ Enable health check retry.
+ <productname>Aurora</productname> shutdowns all DB nodes while switching
+ over or failover. If the retry is not performed,
+ <productname>Pgpool-II</productname> thinks that all DB nodes are in down status
+ so that it is required to restart <productname>Pgpool-II</productname>.
+ Set <xref linkend="guc-health-check-max-retries"> to 20.
+ Set <xref linkend="guc-health-check-retry-delay"> to 1 to avoid the problem.
</para>
</listitem>
</itemizedlist>