Cluster quorum and arbitration planner
Witness Node Calculator
Model quorum threshold, tolerated failures, witness value, and split-brain protection for Proxmox QDevice, Windows witness, SQL AlwaysOn, Ceph monitors, stretched clusters, and compact home HA pairs.
Odd total votes reduce deadlock during a clean partition.
Extra node failures survived compared with no witness.
Estimated majority side versus minority side vote split.
Maintenance, latency, and witness availability combined.
No witness
Odd nodesWorks cleanly for 3 or 5 voting nodes, but 2-node designs can deadlock or lose quorum after one failure.
File share witness
1 voteCommon with Windows failover clusters and SQL availability groups when storage witness is not suitable.
QDevice / QNetd
arbiterUseful for Proxmox and Corosync clusters because the witness does not run workloads but can cast a quorum vote.
Cloud witness
remoteAdds an outside vote for stretched sites, but WAN reachability and provider dependency become part of quorum.
| Quorum formula | Calculator logic | Best fit | Watch item |
|---|---|---|---|
| Majority threshold | Floor of total effective votes divided by two, plus one | Most HA clusters and database groups | Even vote counts can create awkward tie cases. |
| Maintenance adjustment | Voting nodes minus planned maintenance nodes before failures | Patch windows and host drain workflows | Do not patch into a one-vote margin. |
| Witness availability | Witness vote is weighted by expected reachability and latency | Remote arbiters and file share witnesses | Unreachable witnesses can remove the planned tie-break. |
| Tolerated failures | Maximum node losses that still leave votes at or above threshold | Capacity planning and tabletop failure tests | Assumes independent node failures, not shared power loss. |
| Cluster pattern | Typical votes | Witness role | Practical note |
|---|---|---|---|
| Two Nodes Plus QDevice | 2 nodes + 1 witness | Breaks the one-node-left tie | Put QNetd outside the two hosts, power zones, and storage path. |
| 3-Node Without Witness | 3 node votes | Usually unnecessary | One node can fail and two remaining votes still form majority. |
| Stretched Site Witness | Even sites + outside vote | Chooses one surviving side | Witness should sit in a third failure domain when possible. |
| Ceph Monitor Tie Break | Monitor majority | Keeps monitor quorum decisive | Use odd monitor counts or a true outside arbiter. |
| Witness type | Latency sensitivity | Availability target | Failure-domain rule |
|---|---|---|---|
| Corosync QDevice | Low latency preferred | 99% or better | Not on either cluster node and not on shared storage. |
| Windows file share witness | Moderate | High enough for failover windows | Separate server, NAS, or domain member outside the pair. |
| Cloud witness | WAN dependent | Provider plus internet path | Independent account, region, and network path if possible. |
| SQL AlwaysOn witness | Application sensitive | Match RTO expectations | Avoid colocating all votes with the primary replica site. |
| Risk signal | Low risk | Medium risk | High risk |
|---|---|---|---|
| Vote margin | Two or more spare votes | One spare vote | No spare vote after one simulated failure |
| WAN latency | Under 20 ms | 20 to 80 ms | Over 80 ms or unstable path |
| Witness availability | 99.5% or better | 95% to 99.5% | Below 95% reachability |
| Failure domains | Three or more independent domains | Two domains with clear ownership | Witness shares node, rack, storage, or power |
Do you remember that time when you did everything right… Your high availability cluster just didn’t fail over, it failed entirely? You had two nodes and a network link, thought that was solid. Then a patch window came open at an inconvenient time or someone dropped a packet on the switch. Now neither will come up: each thinks the other is dead.
Welcome to the world of the split brain scenario, where small data centers and home labs alike gets hurt. It is not because hardware fails, but because the math surrounding who gets to speak becomes unclear.
How to Plan Quorum and Prevent Split Brain
After this, you specify your topology. The calculator above do all the tricky math on vote counting. You no longer need to hand-derive quorum threshold values for each potential failure case. Begin by specifying how many nodes are truly voting, i.e., not standby nor non-voting.
If there are an even number of voting node, then you’re deadlocked (waiting to happen). Making it odd (which is as easy as adding a witness node) flips the parity from even to odd and establishes basic requirement of a decisive majority. It’s nothing but a mathematical trick that keeps the cluster running with no communications between sites.
So how do you choose which kind of witness to use? Latency tolerance and your physical layout are big factors here. If you have another reliable server in the same rack as your cluster. Perhaps some sort of file share; that’s great for Windows clusters. However, what happens if whole rack loses power? What if a power zone failure take out your entire network? Then it provides zero protection.
In those cases (e.g., a stretched cluster spanning multiple buildings/cities) you need a dedicated QDevice or a cloud witness that lives outside both failure domains. You can vary these inputs, such as witness availability and WAN latency. The tool will then show you how latency affects reliability. For example, as latency increases beyond twenty milliseconds, the vote’s reliability drops quickley. This is why putting the arbiter so far away can actualy defeat the purpose.
The majority of admins fall down on maintenance windows. You can take a node offline for patching. If you don’t modify the quorum settings, you may end up with only a few votes left. This might not be enough to survive a single hardware failure. To account for that, the calculator allow you to specify both planned maintenance nodes (e.g., scheduled downtime) and unplanned failures (e.g., hardware fails). That tells you if you have enough spare votes to keep going with one server down, and shows the narrow margin many two-node setup operate at. It lets you know precisely what conditions calls for adding redundancy or pausing operations.
On the page you’ll find some reference tables that spell out individual risks for each type of witness technology. This helps you to not make a classic mistake such as putting a QNetd service onto same hypervisor as the thing you’re trying to protect. The key point is independence.
The witness must fail independently from the rest of your nodes in the cluster; if it shares a network switch or power source with one of them, then it hasn’t increased resilience. It’s merely complicated things. You need a witness that’s robust enough and independent enough to still cast a valid vote when all else fails.
In the end, quorum planning is about anticipating failure and planning for it. Think about your cluster’s makeup in terms of probability, not just the straight number of nodes. It means modeling your own constraints so that when a partition occur, your cluster will make the correct decision: to keep one side up but shut down the other in a safe manner. Because that’s how you get your workloads running even as the network falters. You should of planned for this sooner.



