diff options
author | Martin Schwenke <martin@meltin.net> | 2014-03-07 14:14:16 +1100 |
---|---|---|
committer | Amitay Isaacs <amitay@samba.org> | 2014-03-26 04:21:42 +0100 |
commit | 7705efc35551a083873e2fed91ac42d021669df9 (patch) | |
tree | afca8eeaf2dd8f831f8ef13cfd278b3b4abae883 /ctdb/doc | |
parent | 8a3be1f1a979b8058cf7754632d60ab52d066d5c (diff) | |
download | samba-7705efc35551a083873e2fed91ac42d021669df9.tar.gz samba-7705efc35551a083873e2fed91ac42d021669df9.tar.xz samba-7705efc35551a083873e2fed91ac42d021669df9.zip |
ctdb-eventscripts: Clarify that CTDB_NATGW_DEFAULT_GATEWAY is optional
This has been implied since the command to add the route has had
errors redirected to /dev/null. If infrastucture (e.g. ADS, DNS) is
on the same network as CTDB_NATGW_PUBLIC_IP then no route is
necessary.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'ctdb/doc')
-rw-r--r-- | ctdb/doc/ctdb.7.xml | 11 | ||||
-rw-r--r-- | ctdb/doc/ctdbd.conf.5.xml | 8 |
2 files changed, 11 insertions, 8 deletions
diff --git a/ctdb/doc/ctdb.7.xml b/ctdb/doc/ctdb.7.xml index 989a28070c..d640300024 100644 --- a/ctdb/doc/ctdb.7.xml +++ b/ctdb/doc/ctdb.7.xml @@ -635,11 +635,12 @@ CTDB_NATGW_DEFAULT_GATEWAY=10.0.0.1 <varname>CTDB_NATGW_PUBLIC_IP</varname> on the configured public interfaces <varname>CTDB_NATGW_PUBLIC_IFACE</varname> and acts as a router, masquerading outgoing connections from slave nodes - via this IP address. It also establishes a fallback default - route to the configured default gateway - <varname>CTDB_NATGW_DEFAULT_GATEWAY</varname> with a metric of 10. - A metric 10 route is used so it can co-exist with other - default routes that may be available. + via this IP address. If + <varname>CTDB_NATGW_DEFAULT_GATEWAY</varname> is set then it + also establishes a fallback default route to the configured + this gateway with a metric of 10. A metric 10 route is used + so it can co-exist with other default routes that may be + available. </para> <para> diff --git a/ctdb/doc/ctdbd.conf.5.xml b/ctdb/doc/ctdbd.conf.5.xml index d80bda6960..6d164f6cfc 100644 --- a/ctdb/doc/ctdbd.conf.5.xml +++ b/ctdb/doc/ctdbd.conf.5.xml @@ -458,11 +458,13 @@ <listitem> <para> IPADDR is an alternate network gateway to use on the NAT - gateway master node. A fallback default route is added - via this network gateway. + gateway master node. If set, a fallback default route + is added via this network gateway. </para> <para> - No default. + No default. Setting this variable is optional - if not + set that no route is created on the NAT gateway master + node. </para> </listitem> </varlistentry> |