[ -n "$CTDB_NATGW_PRIVATE_NETWORK" ] || \
die "Invalid configuration: CTDB_NATGW_PRIVATE_NETWORK not set"
- if [ "$CTDB_PARTIALLY_ONLINE_INTERFACES" = "yes" ] ; then
- die "Invalid configuration: CTDB_PARTIALLY_ONLINE_INTERFACES=yes incompatible with NAT gateway"
- fi
-
# The default is to create a single default route
[ -n "$CTDB_NATGW_STATIC_ROUTES" ] || CTDB_NATGW_STATIC_ROUTES="0.0.0.0/0"
}
<refsect1>
<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>
</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>