Change the default for ip failover to be LCP2 and not DeterministicIPs
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Mon, 15 Aug 2011 00:23:50 +0000 (10:23 +1000)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Mon, 15 Aug 2011 00:23:50 +0000 (10:23 +1000)
server/ctdb_tunables.c

index bd7834daad0d228aedffe8dc78f2f51876511687..9da3cc806562f1601797ecf040b0a5762a6de39c 100644 (file)
@@ -45,8 +45,8 @@ static const struct {
        { "DatabaseMaxDead",      5,  offsetof(struct ctdb_tunable, database_max_dead) },
        { "RerecoveryTimeout",   10,  offsetof(struct ctdb_tunable, rerecovery_timeout) },
        { "EnableBans",           1,  offsetof(struct ctdb_tunable, enable_bans) },
-       { "DeterministicIPs",     1,  offsetof(struct ctdb_tunable, deterministic_public_ips) },
-       { "LCP2PublicIPs",        0,  offsetof(struct ctdb_tunable, lcp2_public_ip_assignment) },
+       { "DeterministicIPs",     0,  offsetof(struct ctdb_tunable, deterministic_public_ips) },
+       { "LCP2PublicIPs",        1,  offsetof(struct ctdb_tunable, lcp2_public_ip_assignment) },
        { "ReclockPingPeriod",   60,  offsetof(struct ctdb_tunable,  reclock_ping_period) },
        { "NoIPFailback",         0,  offsetof(struct ctdb_tunable, no_ip_failback) },
        { "DisableIPFailover",    0,  offsetof(struct ctdb_tunable, disable_ip_failover) },