Displaying 2 results from an estimated 2 matches for "debug_err".
Did you mean:
debug_adr
2012 May 24
0
Is it possible to use quorum for CTDB to prevent split-brain and removing lockfile in the cluster file system
...rec->num_active++;
}
if (!(nodemap->nodes[i].flags & NODE_FLAGS_DISCONNECTED)) {
rec->num_connected++;
}
}
+ if (rec->num_connected < ((nodemap->num)/2+1)){
+ DEBUG(DEBUG_ERR, ("Node %u in the group without quorum\n",
pnn));
+ ctdb_ban_node(rec, pnn, ctdb->tunable.recovery_ban_period);
+ }
This modification seems to provide a split-brain prevention without
lockfile in my tests(more than 3 nodes).
Does this modification cause any side-ef...
2017 Nov 08
1
ctdb vacuum timeouts and record locks
Hi Martin,
Thanks for your answer...
>> I am using the 10.external. ip addr show shows the correct IP addresses
>> on eth0 in the lxc container. rebooted the physical machine, this node
>> is buggered. shut it down, used ip addr add to put the addresses on the
>> other node, used ctdb addip and the node took it and node1 is now
>> functioning with all 4 IPs just