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:20:16 +0000 (09:20 +1000)
commitab7b00a37e55beffc074be95b55d8a5c7cb9eef2
tree142ace340613d2c5dc5dc5b1b233ec268defbdc3
parent516423c25afa9861d9988096efa8a4a2b12b31b1
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