diff options
| author | Tatsuo Ishii | 2025-08-21 23:24:38 +0000 |
|---|---|---|
| committer | Tatsuo Ishii | 2025-08-21 23:24:38 +0000 |
| commit | 534e04a0ea0d01759bc6265cbb59794dd27d95be (patch) | |
| tree | 91f7ec3ec8c8b972d20cea4b7dab1c5724c26577 /doc/src | |
| parent | c5fa45f6974971dd9a1cb0701c28d66ce4220aa8 (diff) | |
Feature: allow to specify VIP in watchdog_setup.
This commit allows to specify VIP parameter (delegate_ip) in
watchdog_setup using new option "-vip [ip]". If ip is omitted,
'127.0.0.1' is assumed. Even if vip option is specified, pgpool will
not actually set the VIP to the system: if_up_cmd, if_down_cmd are
just set to echo command and do nothing except emit a log. This option
is intended to trace the action of Pgpool-II regarding VIP handling.
Author: Tatsuo Ishii <ishii@postgresql.org>
Discussion: https://www.postgresql.org/message-id/20250820.151646.1640218512808280876.ishii%40postgresql.org
Diffstat (limited to 'doc/src')
| -rw-r--r-- | doc/src/sgml/ref/watchdog_setup.sgml | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/doc/src/sgml/ref/watchdog_setup.sgml b/doc/src/sgml/ref/watchdog_setup.sgml index 18f27958b..76d7f2f03 100644 --- a/doc/src/sgml/ref/watchdog_setup.sgml +++ b/doc/src/sgml/ref/watchdog_setup.sgml @@ -42,7 +42,6 @@ Pgpool-II documentation <para> <application>watchdog_setup</application> is for testing purpose only and should not be used to create production installations. - Also please note that heartbeat is not used. </para> <para> @@ -113,6 +112,28 @@ Pgpool-II documentation </varlistentry> <varlistentry> + <term><option>-vip [<replaceable class="parameter">ip</replaceable>]</option></term> + <listitem> + <para> + Specify the virtual IP. If ip is omitted, it is assumed that + '127.0.0.1' is specified. The specified virtual IP is set + to <xref linkend="guc-delegate-ip"> parameter. Even if virtual + IP is specified, it will not be set to the system: just you + could confirm the action trying to set the virtual IP + in <xref linkend="PCP-WATCHDOG-INFO">, or the log file, yet + this is useful how <productname>Pgpool-II</productname> reacts + trying to set the virtual IP. In additioin to delegate_ip, + following parameters will be set too. + <programlisting> + if_up_cmd = '/usr/bin/echo "if_up_cmd executed"' + if_down_cmd = 'usr/bin/echo "if_down_cmd executed"' + arping_cmd = '/usr/bin/true' + </programlisting> + </para> + </listitem> + </varlistentry> + + <varlistentry> <term><option>--no-stop</option></term> <listitem> <para> |
