Split brain
The first issue that needs to be dealt with in clustering is the scenario where nodes of the cluster become disconnected and unaware of each other's status. This condition is known as split brain. In a two-node cluster, each node has no way of knowing whether the reason that it has lost communication with the other node is because the other node has gone offline or because there is some form of networking interruption. In the latter case, making the incorrect assumption and starting resources on both nodes would lead to data corruption. The way to work around split brain is to make sure a cluster always has an odd number of nodes; that way, at least two nodes should always be able to form quorum and agree that the third node is ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access