Pcornel
Virtualization · Clustering

Fencing

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

Back to the Topic

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.

Remember

  • 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.

First 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

Verify in this order

failure → fence confirmed → recovery

Where it usually breaks

First mismatch in cluster membership/quorum → node capability/health → placement policy → resource ownership → migration/failover task → guest/workload continuity; preserve identity/native error/pre-state before mutation.

Clustering → Fencing reference map

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

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3597

Confirmation

Confirm action

Continue?