Pcornel
Browse topics
Options
Recent
Favorites
Virtualization · Technical reference

Failure Capacity

Direct answer

Failure capacity is the spare capacity a cluster keeps so the VMs of a failed host (N+1) or more (N+2) can restart elsewhere. HA admission control enforces it by refusing power-ons that would break that reserve.

When to use this

Use this to confirm a cluster can restart all critical VMs after one or more host failures.

First 30 seconds

1. Failure capacity: can remaining hosts run everything after a host fails?

2. Calculate with the largest host offline.

3. Include memory reservations.

4. Admission control enforces it (vSphere).

5. Test.

Operational verification

N hosts − 1 failed → remaining capacity ≥ demand

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
virtualization
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

Platformvirtualization
Scope / prerequisiteUse this to confirm a cluster can restart all critical VMs after one or more host failures.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Checks Verify boundary
  • Simulate a host failure: do all VMs fit on the remaining hosts?
  • HA admission control enabled and correct.
Step 2 Common mistakes Narrow the fault
  • Planning capacity without N+1 host failure.
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • Admission control enforces the reserve — don't disable it casually.
  • Largest host defines N+1 need.
  • Reservations change slot math.
Key checks
  • ha-manager status — HA reserve
  • Get-ClusterNode — nodes count
  • N+1 calculation — usage fits on N−1 hosts
ReferenceWhy it matters1 section · depth on demand

Sizing failover capacity

Cluster sizeReserve for N+1
2 hosts50 % of each host
3 hosts33 %
4 hosts25 %
8 hosts12.5 %

vSphere HA admission control can enforce it (percentage or slot policy). Check that reservations and large VMs fit on the remaining hosts, not just total capacity.

ReferenceImportant terms & boundaries3 sections · depth on demand

In depth

N+1 is a capacity statement, not an HA setting

HA only restarts VMs; it needs somewhere to put them. The Proxmox HA documentation warns that failover can overload small clusters.

ClusterUsable if one node fails (N+1)Max planned utilisation of total
2 nodes1 node50 %
3 nodes2 nodes67 %
4 nodes3 nodes75 %
8 nodes7 nodes87.5 %

With N+2 (maintenance plus failure), subtract two nodes. Planned maintenance is the most common "failure" — a node in maintenance must not leave the cluster unable to survive the next failure.

Check both RAM and CPU per failure scenario

pvesh get /cluster/resources --type vm --output-format json |
  jq '[.[] | select(.status=="running")] | group_by(.node) | map({node: .[0].node, ram_gb: (map(.maxmem) | add / 1073741824 | floor), vcpus: (map(.maxcpu) | add)})'

For each node: can the remaining nodes take its running VMs' RAM (hard limit) and CPU (soft limit)?

Placement matters, not just totals

PitfallEffect
One very large VM (for example 384 GB)Needs a single node with that much free RAM after failure
Affinity/anti-affinity rulesReduce placement options during recovery
Local storage or passthroughVM cannot restart elsewhere at all
HA groups restricted to two nodesEffective cluster size for those VMs is two

Recovery priorities

Not every VM needs HA. Mark critical services HA-managed and leave test VMs out, so recovery capacity goes where it matters. In Proxmox, max_restart and max_relocate control retries; a service that cannot be placed ends in error and needs manual action.

Test it

Put a node into maintenance mode during working hours and watch where VMs go and how the remaining nodes' memory looks — a planned test is much cheaper than discovering the shortfall at 3 a.m.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Worked example

Failure capacity is the capacity left when the planned failure happens.

Worked example: 3 hosts × 384 GB = 1 152 GB. VMs use 700 GB. With one host down, 768 GB remain → 91 % used: technically fits, but with no room for hypervisor overhead and ballooning — performance suffers during the failure. Either add a host (4 × 384 GB → 1 152 GB after failure, 61 %) or reduce VM memory. vSphere HA admission control ("cluster resource percentage" or "slot policy") enforces this automatically.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docvirtualization current

Authoritative/upstream documentation reviewed for bounded claims in Capacity Planning → Failure Capacity. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://libvirt.org/html/libvirt-libvirt-domain.html · confidence 94%
Confirmation

Confirm action

Continue?