Unplanned Failover
Cheat sheet · https://pcornel.dk/topic.php?topic=3645
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 failoverStart-VMFailover -VMName <vm>— unplanned on replicaGet-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
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Source | Unavailable/uncertain | Cannot rely on clean handoff |
| Safety | Prevent dual authority | Critical boundary |
| Point | Latest safe consistent state | Defines achieved RPO |
| Recovery | Target service validated | Then reconcile |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3645