summaryrefslogtreecommitdiffstats
path: root/ctdb/config/ctdb.sysconfig
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronniesahlberg@gmail.com>2010-09-08 09:16:42 +1000
committerRonnie Sahlberg <ronniesahlberg@gmail.com>2010-09-08 09:20:16 +1000
commitf5c0539dc68ad551ccce62c92e57a147ad0b6860 (patch)
tree07120634e1aa12da5d6d855124a6eb2dee4d7fc5 /ctdb/config/ctdb.sysconfig
parentdc2f87737da7cdb4af5d4fd8f1875f00e92ea545 (diff)
downloadsamba-f5c0539dc68ad551ccce62c92e57a147ad0b6860.tar.gz
samba-f5c0539dc68ad551ccce62c92e57a147ad0b6860.tar.xz
samba-f5c0539dc68ad551ccce62c92e57a147ad0b6860.zip
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. (This used to be ctdb commit ab7b00a37e55beffc074be95b55d8a5c7cb9eef2)
Diffstat (limited to 'ctdb/config/ctdb.sysconfig')
-rw-r--r--ctdb/config/ctdb.sysconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/ctdb/config/ctdb.sysconfig b/ctdb/config/ctdb.sysconfig
index c94ce68b09..011593d7bc 100644
--- a/ctdb/config/ctdb.sysconfig
+++ b/ctdb/config/ctdb.sysconfig
@@ -183,6 +183,15 @@ CTDB_RECOVERY_LOCK="/some/place/on/shared/storage"
# CTDB_NATGW_DEFAULT_GATEWAY=10.0.0.1
# CTDB_NATGW_PRIVATE_NETWORK=10.1.1.0/24
# CTDB_NATGW_NODES=/etc/ctdb/natgw_nodes
+#
+# Normally any node in the natgw group can act as the natgw master.
+# In some configurations you may have special nodes that is a part of the
+# cluster/natgw group, but where the node lacks connectivity to the
+# public network.
+# For these cases, set this variable to make these nodes not able to
+# become natgw master.
+#
+# CTDB_NATGW_SLAVE_ONLY=yes
# PER_IP_ROUTING configuration