<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://alteeve.com/w/index.php?action=history&amp;feed=atom&amp;title=Split-brain</id>
	<title>Split-brain - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://alteeve.com/w/index.php?action=history&amp;feed=atom&amp;title=Split-brain"/>
	<link rel="alternate" type="text/html" href="https://alteeve.com/w/index.php?title=Split-brain&amp;action=history"/>
	<updated>2026-06-10T09:43:24Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.3</generator>
	<entry>
		<id>https://alteeve.com/w/index.php?title=Split-brain&amp;diff=3323&amp;oldid=prev</id>
		<title>Digimer: Created page with &quot;{{howto_header}}  {{warning|1=A &quot;split-brain&quot; condition is a potentially catastrophic event in clustering.}}  It is a particular risk in two-node clusters, but can occur in large...&quot;</title>
		<link rel="alternate" type="text/html" href="https://alteeve.com/w/index.php?title=Split-brain&amp;diff=3323&amp;oldid=prev"/>
		<updated>2011-05-04T03:23:26Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{howto_header}}  {{warning|1=A &amp;quot;split-brain&amp;quot; condition is a potentially catastrophic event in clustering.}}  It is a particular risk in two-node clusters, but can occur in large...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Páàjì titun&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{howto_header}}&lt;br /&gt;
&lt;br /&gt;
{{warning|1=A &amp;quot;split-brain&amp;quot; condition is a potentially catastrophic event in clustering.}}&lt;br /&gt;
&lt;br /&gt;
It is a particular risk in two-node clusters, but can occur in larger clusters if [[quorum]] is not honoured. This section uses language specific to two node split-brain conditions, but &amp;quot;node&amp;quot; could be replaced with &amp;quot;partition&amp;quot; to describe a subsection of a cluster and still be accurate.&lt;br /&gt;
&lt;br /&gt;
A split-brain is a state in which two nodes lose contact with one another and then both try to take control of shared resources or simultaneously provide clustered services.&lt;br /&gt;
&lt;br /&gt;
= Risk =&lt;br /&gt;
&lt;br /&gt;
The biggest risk in a split-brain condition is the corruption of shared storage. If both nodes try to alter storage on a shared block device, like a [[SAN]] partition or a [[DRBD]] resource, the two nodes will quickly corrupt the file system as they make changes without the knowledge of the other. &lt;br /&gt;
&lt;br /&gt;
= Protection; Quorum =&lt;br /&gt;
&lt;br /&gt;
The most effective protection against a split-brain condition in clusters with three or more nodes is via [[quorum]]. With quorum, a partition of nodes must have a pluraily of votes from the members in order to win quorum and take over clustered resources. For example, in a five-node cluster, each node with one vote, quorum is achieved when a group of three or more nodes forms. Later, if that cluster split into two groups, one of three nodes and the other of two nodes, the former would have the simple majority (3 votes, which is &amp;gt;50%) and the later would not (only 2 votes). &lt;br /&gt;
&lt;br /&gt;
In this scenario, even though the two partitions could not talk to one another, the group of three will reliably know that the other group can not win quorum and, thus, will not try to use clustered resources or provide clustered services. With this clearly know, the group of three &amp;#039;&amp;#039;&amp;#039;will&amp;#039;&amp;#039;&amp;#039; use clustered resource and provide clustered services, safe in the knowledge that it is the only one to do so.&lt;br /&gt;
&lt;br /&gt;
Note that an even split will not allow either side to win quorum, and the cluster will shut down. An example would be a cluster of four nodes that split into groups of two, a &amp;quot;2&amp;quot; is exactly 50%, and quorum requires greater than 50%.&lt;br /&gt;
&lt;br /&gt;
= Protection; Fencing =&lt;br /&gt;
&lt;br /&gt;
In a high-availability two node cluster, it is not possible to use quorum. This is because it is not possible for a single node to ever have more than 50% of the votes, as the vote count is 2. To get around this, clusters allow for quorum to be effectively disabled. Without quorum then, the last line of defense against a split-brain is via [[fence device]]s. &lt;br /&gt;
&lt;br /&gt;
A fence device forcibly ejects a node from a cluster, generally by powering it off. Once a fence call has succeeded, which is determined by the device and it&amp;#039;s agent, the remaining node can safely take over the clustered resources and services.&lt;br /&gt;
&lt;br /&gt;
= Enhancing Quorum With qdisk =&lt;br /&gt;
&lt;br /&gt;
In [[RHCS]], there is an optional technology called a &amp;quot;Quorum disk&amp;quot;, or [[qdisk]]. This is a special partition on shared [[SAN]] storage that allows for quorum to be awarded to a partition that passes certain tests, known as heuristics. You can not use [[qdisk]] on [[DRBD]] resources, however.&lt;br /&gt;
&lt;br /&gt;
{{footer}}&lt;/div&gt;</summary>
		<author><name>Digimer</name></author>
	</entry>
</feed>