Pcornel
Virtualization · Disaster Recovery

Unplanned Failover

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

Back to the Topic

Answer

Without source coordination, recovery must rely on the latest safe replica/backup point and strong controls preventing the old primary from later resuming as an unnoticed competing writer. Data loss up to the available recovery point is possible, especially with asynchronous replication.

Remember

  • Unplanned failover can expose the true achieved RPO.
  • Source uncertainty makes fencing/isolation and ownership control critical.
  • Latest transmitted data ≠ latest safely applied/consistent recovery point.
  • When the old site returns, do not simply power it back into production before reconciliation/failback.

First checks

  • Start-VMFailover -VMName <vm> -AsTest — test failover
  • Start-VMFailover -VMName <vm> — unplanned on replica
  • Get-VMSnapshot <vm> — recovery points

Verify in this order

primary lost → latest replica → start

Where it usually breaks

First mismatch in guest block/filesystem view → virtual controller/disk → hypervisor mapping → datastore/path → storage backend → durability/read-back; preserve identity/native error/pre-state before mutation.

Disaster Recovery → Unplanned Failover reference map

BoundaryMeaningEvidence limit
SourceUnavailable/uncertainCannot rely on clean handoff
SafetyPrevent dual authorityCritical boundary
PointLatest safe consistent stateDefines achieved RPO
RecoveryTarget service validatedThen reconcile

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

Confirmation

Confirm action

Continue?