Pcornel
Virtualization · Proxmox VE › High Availability

Fencing

Cheat sheet · https://pcornel.dk/topic.php?topic=3751

Back to the Topic

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 multiplexer
  • cat /etc/default/pve-ha-manager — hardware watchdog module
  • dmesg | 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

BoundaryWhat to verifyEvidence limit
Configured stateExpected Fencing configuration is presentConfiguration alone does not prove runtime behavior
Runtime stateRelevant Fencing service/object is active and error-freeRuntime state does not prove dependencies
DependencyBacking network, storage, cluster or host dependency is healthyLocal success does not prove end-to-end outcome
AcceptanceOriginal VM/container/workload test succeedsRequired 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

Confirmation

Confirm action

Continue?