Change how NATGW is configured to allow special nodes that do not have
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Tue, 7 Sep 2010 23:16:42 +0000 (09:16 +1000)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Tue, 7 Sep 2010 23:16:42 +0000 (09:16 +1000)
commit510a545ce0d1b10b83bb2ffa265ff573d36839f2
tree76b9c34341d61ed3043bf61fc976aea50e0d1c7c
parentc46b9a800af58a604d79d2295540b99335a9f5d9
Change how NATGW is configured to allow special nodes that do not have
network connectivity outside of the cluster to still be able to
participate in a natgw group.
These nodes can not become natgw master since they lack external network
connectivity.

These nodes are configured just the same way as for any other node with
NATGW, with the following two exceptions :
* we do NOT set CTDB_NATGW_PUBLIC_IFACE at all on these nodes.
  since these ndoes lack external network we should not check the interface
  for link.
* we must set CTDB_NATGW_SLAVE_ONLY=yes to flag that this is a node that
  can not become natgw master.
config/ctdb.sysconfig
config/events.d/11.natgw
doc/ctdbd.1
doc/ctdbd.1.html
doc/ctdbd.1.xml
tools/ctdb.c