<!--
<title>Changing active/standby state when certain fault is detected</title>
-->
- <title>é\9a\9c害ã\81\8cæ¤\9cå\87ºã\81\95ã\82\8cã\81\9fé\9a\9bã\81®ã\82¢ã\82¯ã\83\86ã\82£ã\83\96/スタンバイ状態の切換</title>
+ <title>é\9a\9c害ã\81\8cæ¤\9cå\87ºã\81\95ã\82\8cã\81\9fé\9a\9bã\81®ã\83ªã\83¼ã\83\80ã\83¼/スタンバイ状態の切換</title>
<indexterm zone="tutorial-watchdog-changing-active">
<primary>WATCHDOG</primary>
by voting and change active/standby state.
-->
<productname>Pgpool-II</productname>の障害が検出されると、watchdogは他のwatchdogにそのことを通知します。
- é\9a\9c害ã\81\8cèµ·ã\81\8dã\81\9fã\81®ã\81\8cã\82¢ã\82¯ã\83\86ã\82£ã\83\96ã\81ª<productname>Pgpool-II</productname>ã\81§ã\81\82ã\82\8cã\81°ã\80\81watchdogã\81¯æ\8a\95票ã\81«ã\82\88ã\81£ã\81¦æ\96°ã\81\97ã\81\84ã\82¢ã\82¯ã\83\86ã\82£ã\83\96<productname>Pgpool-II</productname>を決定し、active/standby状態を変更します
+ é\9a\9c害ã\81\8cèµ·ã\81\8dã\81\9fã\81®ã\81\8cã\83ªã\83¼ã\83\80ã\83¼<productname>Pgpool-II</productname>ã\81§ã\81\82ã\82\8cã\81°ã\80\81watchdogã\81¯æ\8a\95票ã\81«ã\82\88ã\81£ã\81¦æ\96°ã\81\97ã\81\84ã\83ªã\83¼ã\83\80ã\83¼<productname>Pgpool-II</productname>を決定し、active/standby状態を変更します
</para>
</sect2>
<productname>Pgpool-II</productname> to work using the same
IP address even when servers are switched.
-->
- ã\82¹ã\82¿ã\83³ã\83\90ã\82¤<productname>Pgpool-II</productname>ã\82µã\83¼ã\83\90ã\81\8cæ\98\87æ ¼ã\81\99ã\82\8bã\81¨ã\80\81æ\96°ã\81\97ã\81\84ã\82¢ã\82¯ã\83\86ã\82£ã\83\96サーバは仮想IPインターフェイスを立ち上げます。
- ä¸\80æ\96¹ã\80\81以å\89\8dã\81®ã\82¢ã\82¯ã\83\86ã\82£ã\83\96サーバは、仮想IPインターフェイスを停止します。
+ ã\82¹ã\82¿ã\83³ã\83\90ã\82¤<productname>Pgpool-II</productname>ã\82µã\83¼ã\83\90ã\81\8cæ\98\87æ ¼ã\81\99ã\82\8bã\81¨ã\80\81æ\96°ã\81\97ã\81\84ã\83ªã\83¼ã\83\80ã\83¼サーバは仮想IPインターフェイスを立ち上げます。
+ ä¸\80æ\96¹ã\80\81以å\89\8dã\81®ã\83ªã\83¼ã\83\80ã\83¼サーバは、仮想IPインターフェイスを停止します。
これにより、サーバが切り替わっても<productname>Pgpool-II</productname>は同じIPアドレスを使うことができます。
</para>
</sect2>
-->
クエリモードでは、PostgreSQLサーバの障害やpcp_detach_nodeによってすべてのDBノードが<productname>Pgpool-II</productname>から切り離されると、watchdogは<productname>Pgpool-II</productname>サービスが停止状態にあるとみなし、watchdogに割り当てられた仮想IPを停止します。
ですので、<productname>Pgpool-II</productname>のクライアントは仮想IPを使って<productname>Pgpool-II</productname>に接続できなくなります。
- ã\81\93ã\82\8cã\81¯ã\80\81è¤\87æ\95°ã\81®ã\82¢ã\82¯ã\83\86ã\82£ã\83\96<productname>Pgpool-II</productname>が存在するスプリットブレインを回避するために必要です。
+ ã\81\93ã\82\8cã\81¯ã\80\81è¤\87æ\95°ã\81®ã\83ªã\83¼ã\83\80ã\83¼<productname>Pgpool-II</productname>が存在するスプリットブレインを回避するために必要です。
</para>
</sect2>
brought down before a down notification packet is sent to other
<productname>Pgpool-II</productname>.
-->
- å\81\9cæ¢é\80\9aç\9f¥ã\83\91ã\82±ã\83\83ã\83\88ã\81\8cä»\96ã\81®<productname>Pgpool-II</productname>ã\81«é\80\81ã\82\89ã\82\8cã\82\8bå\89\8dã\81«ã\80\81以å\89\8dã\81®ä»®æ\83³IPã\81\8cå\81\9cæ¢ã\81\97ã\81\9fã\81\93ã\81¨ã\82\92確èª\8dã\81\99ã\82\8bã\81®ã\81§ã\80\81ã\82¢ã\82¯ã\83\86ã\82£ã\83\96<productname>Pgpool-II</productname>ã\81\8cå\81\9cæ¢ã\81\97ã\81¦ã\81\8bã\82\89ã\82¹ã\82¿ã\83³ã\83\90ã\82¤<productname>Pgpool-II</productname>ã\81\8cæ\96°ã\81\97ã\81\84ã\82¢ã\82¯ã\83\86ã\82£ã\83\96に昇格するまでには数秒を要します。
+ å\81\9cæ¢é\80\9aç\9f¥ã\83\91ã\82±ã\83\83ã\83\88ã\81\8cä»\96ã\81®<productname>Pgpool-II</productname>ã\81«é\80\81ã\82\89ã\82\8cã\82\8bå\89\8dã\81«ã\80\81以å\89\8dã\81®ä»®æ\83³IPã\81\8cå\81\9cæ¢ã\81\97ã\81\9fã\81\93ã\81¨ã\82\92確èª\8dã\81\99ã\82\8bã\81®ã\81§ã\80\81ã\83ªã\83¼ã\83\80ã\83¼<productname>Pgpool-II</productname>ã\81\8cå\81\9cæ¢ã\81\97ã\81¦ã\81\8bã\82\89ã\82¹ã\82¿ã\83³ã\83\90ã\82¤<productname>Pgpool-II</productname>ã\81\8cæ\96°ã\81\97ã\81\84ã\83ªã\83¼ã\83\80ã\83¼に昇格するまでには数秒を要します。
</para>
</sect2>
</sect1>
</sect2>
<sect2 id="tutorial-watchdog-changing-active">
- <title>Changing active/standby state when certain fault is detected</title>
+ <title>Changing leader/standby state when certain fault is detected</title>
<indexterm zone="tutorial-watchdog-changing-active">
<primary>WATCHDOG</primary>
<para>
When a fault of <productname>Pgpool-II</productname> is detected,
watchdog notifies the other watchdogs of it.
- If this is the active <productname>Pgpool-II</productname>,
- watchdogs decide the new active <productname>Pgpool-II</productname>
- by voting and change active/standby state.
+ If this is the leader <productname>Pgpool-II</productname>,
+ watchdogs decide the new leader <productname>Pgpool-II</productname>
+ by voting and change leader/standby state.
</para>
</sect2>
<primary>WATCHDOG</primary>
</indexterm>
<para>
- When a standby <productname>Pgpool-II</productname> 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 <productname>Pgpool-II</productname> 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
<productname>Pgpool-II</productname> to work using the same
IP address even when servers are switched.
</para>
<para>
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.
</para>
</sect2>
Thus clients of <productname>Pgpool-II</productname> cannot
connect to <productname>Pgpool-II</productname> 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
<productname>Pgpool-II</productname>.
</para>
</sect2>
<primary>WATCHDOG</primary>
</indexterm>
<para>
- After the active <productname>Pgpool-II</productname> stops,
+ After the leader <productname>Pgpool-II</productname> stops,
it will take a few seconds until the standby <productname>Pgpool-II</productname>
- 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
<productname>Pgpool-II</productname>.
</para>
<listitem>
<para>
- 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.
</para>