Fencing
Cheat sheet · https://pcornel.dk/topic.php?topic=3751
Answer
Fencing forcibly cuts off a failed or unresponsive node — by powering it off or blocking its storage access — before its VMs are started elsewhere. It guarantees that only one node writes to the same data, preventing corruption.
Remember
- Fence requested ≠ isolation completed.
- Node unreachable over management network ≠ fenced.
- Disabling watchdog/fencing weakens HA safety.
- Recovery should not race an uncertain old owner.
First checks
systemctl status watchdog-mux— watchdog multiplexercat /etc/default/pve-ha-manager— hardware watchdog moduledmesg | grep -i watchdog— watchdog device
Verify in this order
quorum lost → watchdog not fed → node resets → safe recovery
Where it usually breaks
First mismatch in management intent → host/cluster capability → hypervisor runtime/task → virtual resource/device → guest state → workload-visible read-back; preserve identity/native error/pre-state before mutation.
Proxmox VE → High Availability → Fencing reference map
| Boundary | What to verify | Evidence limit |
|---|---|---|
| Configured state | Expected Fencing configuration is present | Configuration alone does not prove runtime behavior |
| Runtime state | Relevant Fencing service/object is active and error-free | Runtime state does not prove dependencies |
| Dependency | Backing network, storage, cluster or host dependency is healthy | Local success does not prove end-to-end outcome |
| Acceptance | Original VM/container/workload test succeeds | Required to close the incident |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3751