Pcornel
Virtualization · Disaster Recovery

Planned Failover

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

Back to the Topic

Answer

Because the source participates, a planned failover can often reduce data loss by stopping or quiescing writes, completing final replication, confirming target readiness and then performing an orderly cutover.

Remember

  • Planned ≠ automatically zero downtime.
  • Final synchronization must occur after writes are controlled if near-zero RPO is expected.
  • Source shutdown ≠ target dependencies ready.
  • The transition should include rollback criteria before authority is moved.

First checks

  • Start-VMFailover -Prepare -VMName <vm> — planned failover (primary side)
  • Start-VMFailover -VMName <vm> — on replica
  • Complete-VMFailover -VMName <vm> — finish

Verify in this order

primary off → final sync → replica starts → reverse

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 → Planned Failover reference map

BoundaryMeaningEvidence limit
PrecheckTarget ready before source impactReduces cutover risk
QuiesceControl writesEnables final consistent sync
TransferAuthority moves deliberatelyAvoid dual writers
ValidateService works at targetThen reprotect

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

Confirmation

Confirm action

Continue?