summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2018-08-21 17:25:53 +1000
committerAmitay Isaacs <amitay@samba.org>2018-08-24 10:59:21 +0200
commit78aad7623e100f05a7dfc142fba7ff2b0eba1913 (patch)
tree4021291526af69a13ea0fa6c1410ffae77aab53b
parent929634126a334e380f16c080b59d062873b4e5f9 (diff)
downloadsamba-78aad7623e100f05a7dfc142fba7ff2b0eba1913.tar.gz
ctdb-doc: Switch tunable DisableIPFailover to a config option
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13589 Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
-rwxr-xr-xctdb/doc/examples/config_migrate.sh1
-rw-r--r--ctdb/doc/examples/config_migrate.test_input1
2 files changed, 2 insertions, 0 deletions
diff --git a/ctdb/doc/examples/config_migrate.sh b/ctdb/doc/examples/config_migrate.sh
index e3e30aecfeb..8479aeb39f3 100755
--- a/ctdb/doc/examples/config_migrate.sh
+++ b/ctdb/doc/examples/config_migrate.sh
@@ -181,6 +181,7 @@ get_ctdb_conf_tunable_option ()
}
}' <<EOF
database tdb-mutexes TDBMutexEnabled 0 false
+failover disabled DisableIPFailover 1 true
EOF
}
diff --git a/ctdb/doc/examples/config_migrate.test_input b/ctdb/doc/examples/config_migrate.test_input
index 947ca7c358f..e823fd4ff87 100644
--- a/ctdb/doc/examples/config_migrate.test_input
+++ b/ctdb/doc/examples/config_migrate.test_input
@@ -39,6 +39,7 @@ CTDB_NATGW_NODES=/etc/ctdb/natgw_nodes
CTDB_SET_TDBMutexEnabled=0
CTDB_SET_IPALLOCALGORITHM=0
CTDB_SET_noiphostonalldisabled=0
+CTDB_SET_DisableIpFailover=1
CTDB_SET_foobar=0
CTDB_SUPPRESS_COREFILE="yes"