Use this topic to reason about STONITH-style isolation, failed fence actions, unsafe resource takeover and recovery after ambiguous node state.
Fencing · Clustering
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.
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.
failure → fence confirmed → recovery
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
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.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
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 · 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.
- 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.
ha-manager status— fencing/watchdog (Proxmox)Get-ClusterParameter— Hyper-V uses storage/node isolationipmitool -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.
| Platform | Fencing method |
|---|---|
| Proxmox HA | Self-fencing via hardware or softdog watchdog: a node that loses quorum reboots itself |
| Pacemaker | IPMI/iDRAC/iLO power fencing, SBD, storage fencing |
| Windows clusters | Quarantine of misbehaving nodes, storage reservations |
| vSphere HA | Host 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.
Fencing methods
| Method | Example |
|---|---|
| Power fencing | IPMI/iDRAC/iLO (fence_ipmilan) |
| Watchdog self-fencing | Proxmox HA (softdog/hardware watchdog) |
| Storage fencing | SCSI-3 persistent reservations |
| Hypervisor fencing | fence_vmware_rest, fence_xvm for VMs |
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
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%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.
Quick lookup tables
Clustering → Fencing reference map
Fast cluster-control boundaries for Clustering → Fencing.
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Trigger | Node state unsafe/unknown | Must be tied to ownership risk |
| Actuator | Power/storage/platform isolation | Mechanism-specific |
| Proof | Target cannot continue protected access | Required before takeover |
| Recovery | New owner/workload starts | Separate HA outcome |