diff options
author | Martin Schwenke <martin@meltin.net> | 2018-04-05 10:54:00 +1000 |
---|---|---|
committer | Amitay Isaacs <amitay@samba.org> | 2018-05-12 06:11:17 +0200 |
commit | 130f37c23f9570c4cf2d87a4bc5502569dab1179 (patch) | |
tree | 1433c8909a75accf9f6a8a7d120f0cf9d8e618b7 /ctdb/doc | |
parent | 574af23e9d56ad009820e7ea103a214c115adc51 (diff) | |
download | samba-130f37c23f9570c4cf2d87a4bc5502569dab1179.tar.gz |
ctdb-scripts: Don't check for CTDB_PARTIALLY_ONLINE_INTERFACES clash
Just document that NAT gateway and LVS are not compatible with this
option. Update the documentation to make it clear that this is a
10.interface option.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'ctdb/doc')
-rw-r--r-- | ctdb/doc/ctdbd.conf.5.xml | 77 |
1 files changed, 45 insertions, 32 deletions
diff --git a/ctdb/doc/ctdbd.conf.5.xml b/ctdb/doc/ctdbd.conf.5.xml index dc530749b2c..2f230756a24 100644 --- a/ctdb/doc/ctdbd.conf.5.xml +++ b/ctdb/doc/ctdbd.conf.5.xml @@ -481,6 +481,51 @@ <title>NETWORK CONFIGURATION</title> <refsect2> + <title>PUBLIC IP ADDRESS FAILOVER</title> + + <refsect3> + <title>Eventscripts</title> + + <simplelist> + <member><filename>10.interface</filename></member> + </simplelist> + </refsect3> + + <variablelist> + + <varlistentry> + <term> + CTDB_PARTIALLY_ONLINE_INTERFACES=yes|no + </term> + <listitem> + <para> + Whether one or more offline interfaces should cause a + monitor event to fail if there are other interfaces that + are up. If this is "yes" and a node has some interfaces + that are down then <command>ctdb status</command> will + display the node as "PARTIALLYONLINE". + </para> + + <para> + Note that CTDB_PARTIALLY_ONLINE_INTERFACES=yes is not + generally compatible with NAT gateway or LVS. NAT + gateway relies on the interface configured by + CTDB_NATGW_PUBLIC_IFACE to be up and LVS replies on + CTDB_LVS_PUBLIC_IFACE to be up. CTDB does not check if + these options are set in an incompatible way so care is + needed to understand the interaction. + </para> + + <para> + Default is "no". + </para> + </listitem> + </varlistentry> + + </variablelist> + </refsect2> + + <refsect2> <title>NAT GATEWAY</title> <para> @@ -855,38 +900,6 @@ CTDB_PER_IP_ROUTING_TABLE_ID_HIGH=9000 </variablelist> </refsect2> - <refsect2> - <title>MISCELLANEOUS NETWORK CONFIGURATION</title> - - <variablelist> - - <varlistentry> - <term>CTDB_PARTIALLY_ONLINE_INTERFACES=yes|no</term> - <listitem> - <para> - Whether one or more offline interfaces should cause a - monitor event to fail if there are other interfaces that - are up. If this is "yes" and a node has some interfaces - that are down then <command>ctdb status</command> will - display the node as "PARTIALLYONLINE". - </para> - - <para> - Note that CTDB_PARTIALLY_ONLINE_INTERFACES=yes is - incompatible with NAT gateway, since NAT gateway relies - on the interface configured by CTDB_NATGW_PUBLIC_IFACE - to be up. - </para> - - <para> - Default is "no". - </para> - </listitem> - </varlistentry> - - </variablelist> - </refsect2> - </refsect1> <refsect1> |