Witness Node Calculator

July 31, 2026

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.

◉ Witness design presets
⚙ Quorum inputs
Physical or virtual members that can run workloads.
Nodes currently assigned quorum votes before maintenance.
Usually 0 or 1 for a qdevice, file share, disk, cloud, or monitor tie-break vote.
Independent sites, racks, power zones, rooms, or host groups.
Simulated simultaneous voting-node failures.
Round-trip latency between the cluster and witness or remote site.
Policy changes vote adjustment, witness reliance, and latency sensitivity.
Expected witness reachability during failures, maintenance, and WAN events.
Site layout affects partition survival and split-brain exposure.
Voting nodes intentionally paused, drained, patched, or isolated.
Quorum threshold
2 votes
majority required
Votes required to keep the partition authoritative.
Tolerated node failures
1
while retaining quorum
Calculated after planned maintenance and witness vote.
Witness value score
86
0 to 100 benefit score
Higher means the witness materially improves quorum survival.
Split-brain protection
Strong
low partition risk
Uses domains, site design, latency, and witness reachability.
Effective voting nodes2 online votes
Effective witness vote1 reliable vote
Total effective votes3 votes
Votes after simulated failures2 votes
Quorum margin0 vote spare
Witness availability factor99.5%
Latency penaltylow
Design verdictWitness required
This two-node cluster depends on a reachable witness to survive one node failure without allowing both sides to claim authority.
▦ Live quorum signals
Odd vote parity

Odd total votes reduce deadlock during a clean partition.

+1 witness gain

Extra node failures survived compared with no witness.

2/1 partition split

Estimated majority side versus minority side vote split.

Low operational risk

Maintenance, latency, and witness availability combined.

⇄ Witness and quorum comparison grid

No witness

Odd nodes

Works cleanly for 3 or 5 voting nodes, but 2-node designs can deadlock or lose quorum after one failure.

File share witness

1 vote

Common with Windows failover clusters and SQL availability groups when storage witness is not suitable.

QDevice / QNetd

arbiter

Useful for Proxmox and Corosync clusters because the witness does not run workloads but can cast a quorum vote.

Cloud witness

remote

Adds an outside vote for stretched sites, but WAN reachability and provider dependency become part of quorum.

📘 Reference tables
Quorum formulaCalculator logicBest fitWatch item
Majority thresholdFloor of total effective votes divided by two, plus oneMost HA clusters and database groupsEven vote counts can create awkward tie cases.
Maintenance adjustmentVoting nodes minus planned maintenance nodes before failuresPatch windows and host drain workflowsDo not patch into a one-vote margin.
Witness availabilityWitness vote is weighted by expected reachability and latencyRemote arbiters and file share witnessesUnreachable witnesses can remove the planned tie-break.
Tolerated failuresMaximum node losses that still leave votes at or above thresholdCapacity planning and tabletop failure testsAssumes independent node failures, not shared power loss.
Cluster patternTypical votesWitness rolePractical note
Two Nodes Plus QDevice2 nodes + 1 witnessBreaks the one-node-left tiePut QNetd outside the two hosts, power zones, and storage path.
3-Node Without Witness3 node votesUsually unnecessaryOne node can fail and two remaining votes still form majority.
Stretched Site WitnessEven sites + outside voteChooses one surviving sideWitness should sit in a third failure domain when possible.
Ceph Monitor Tie BreakMonitor majorityKeeps monitor quorum decisiveUse odd monitor counts or a true outside arbiter.
Witness typeLatency sensitivityAvailability targetFailure-domain rule
Corosync QDeviceLow latency preferred99% or betterNot on either cluster node and not on shared storage.
Windows file share witnessModerateHigh enough for failover windowsSeparate server, NAS, or domain member outside the pair.
Cloud witnessWAN dependentProvider plus internet pathIndependent account, region, and network path if possible.
SQL AlwaysOn witnessApplication sensitiveMatch RTO expectationsAvoid colocating all votes with the primary replica site.
Risk signalLow riskMedium riskHigh risk
Vote marginTwo or more spare votesOne spare voteNo spare vote after one simulated failure
WAN latencyUnder 20 ms20 to 80 msOver 80 ms or unstable path
Witness availability99.5% or better95% to 99.5%Below 95% reachability
Failure domainsThree or more independent domainsTwo domains with clear ownershipWitness shares node, rack, storage, or power
⚠ Witness planning tips
Keep the witness independent. A witness on the same UPS, hypervisor, switch, or storage array as one cluster node can make the vote math look safer than the real failure domain.
Model maintenance as a failure. If one node is drained for updates and another host fails, the remaining votes must still meet the majority threshold or workloads should stay stopped.

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.

Witness Node Calculator

Related posts

Leave a Comment