ctdb-doc: Switch tunable DisableIPFailover to a config option
authorMartin Schwenke <martin@meltin.net>
Tue, 21 Aug 2018 07:25:53 +0000 (17:25 +1000)
committerAmitay Isaacs <amitay@samba.org>
Fri, 24 Aug 2018 08:59:21 +0000 (10:59 +0200)
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>
ctdb/doc/examples/config_migrate.sh
ctdb/doc/examples/config_migrate.test_input

index e3e30aecfebe11e9bae134f1b7afe021e458a1c1..8479aeb39f383bf9d3a05d79b9357a7e07a6a836 100755 (executable)
@@ -181,6 +181,7 @@ get_ctdb_conf_tunable_option ()
                }
            }' <<EOF
 database  tdb-mutexes                  TDBMutexEnabled         0 false
+failover  disabled                     DisableIPFailover       1 true
 EOF
 
 }
index 947ca7c358f2509cca064906b981ea1ee5768bb5..e823fd4ff87e1b6a5196d22f6eddb692a114b69d 100644 (file)
@@ -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"