Pcornel
Browse topics
Options
Recent
Favorites
Virtualization · Technical reference

Fencing · Clustering

Direct answer

Fencing is an enforcement mechanism, commonly through power control, storage isolation or platform-specific node isolation. A fencing request is not proof of isolation; the cluster must obtain evidence that the target can no longer act on protected resources before ownership is transferred.

When to use this

Use this topic to reason about STONITH-style isolation, failed fence actions, unsafe resource takeover and recovery after ambiguous node state.

First 30 seconds

1. Fencing ensures a failed node can't write before VMs restart elsewhere.

2. Proxmox uses watchdog self-fencing.

3. Pacemaker uses STONITH (IPMI, PDU).

4. Test fencing.

5. Without fencing, HA is unsafe.

Operational verification

failure → fence confirmed → recovery

Evidence · next step

Verify singular ownership, then HA restart/failover and the original client-visible workload.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common traps

It does not show the failed node root cause is fixed or the restarted workload is healthy.

Next check: Verify singular ownership, then HA restart/failover and the original client-visible workload.

Platform / version applicability
virtualization-cluster
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-cluster
Scope / prerequisiteUse this topic to reason about STONITH-style isolation, failed fence actions, unsafe resource takeover and recovery aft…
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 Verification path Verify boundary

failure detection → fence decision → actuator → target isolation → cluster confirmation → new owner → application

Step 2 Checks Verify boundary
  • Fence agent test (fence_ipmilan -a <bmc> -l user -p pass -o status).
  • Watchdog device present (ls /dev/watchdog).
  • Fencing events logged.
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
  • Fence requested ≠ fence completed.
  • Fence completed ≠ target definitely cannot reach every protected resource unless the mechanism proves that boundary.
  • Fencing protects ownership; it does not repair the failed node or application.
  • Disabling fencing can convert an availability issue into corruption or duplicate-ownership risk.
Key checks
  • ha-manager status — fencing/watchdog (Proxmox)
  • Get-ClusterParameter — Hyper-V uses storage/node isolation
  • ipmitool -I lanplus -H <bmc> chassis power status — test out-of-band fence
ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

Fencing (STONITH) forcibly isolates a node that is no longer communicating so its resources can be safely taken over.

PlatformFencing method
Proxmox HASelf-fencing via hardware or softdog watchdog: a node that loses quorum reboots itself
PacemakerIPMI/iDRAC/iLO power fencing, SBD, storage fencing
Windows clustersQuarantine of misbehaving nodes, storage reservations
vSphere HAHost isolation response (power off/shut down VMs), datastore locks
ha-manager status; journalctl -u watchdog-mux
stonith_admin --list-registered

Test fencing — an untested fence device is the most common reason HA does not recover.

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-cluster current

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

Basis: https://libvirt.org/docs.html · confidence 94%
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
cluster fencingstonithnode isolation
Embedded reference data

Quick lookup tables

Clustering → Fencing reference map

Fast cluster-control boundaries for Clustering → Fencing.

BoundaryMeaningEvidence limit
TriggerNode state unsafe/unknownMust be tied to ownership risk
ActuatorPower/storage/platform isolationMechanism-specific
ProofTarget cannot continue protected accessRequired before takeover
RecoveryNew owner/workload startsSeparate HA outcome
Confirmation

Confirm action

Continue?