Tuesday, June 22, 2010

Split-brain condition

For a two-node cluster, split-brain occurs when nodes in a cluster cannot talk to each other (the internode links fail) and each node assumes it is the only surviving member of the cluster. If the nodes in the cluster have uncoordinated access to the shared storage area, they would end up overwriting each other's data, causing data corruption because each node assumes ownership of shared data. To prevent data corruption, one node must be asked to leave the cluster or should be forced out immediately.
In case of Split Brain in 2 Node cluster due to Private N/W failure between two nodes. The Node which has lowest Node number will continue to run while Node with high node number in Cluster will be evicted from cluster.