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 e3e30ae..8479aeb 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 947ca7c..e823fd4 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"