Failover
Cheat sheet · https://pcornel.dk/topic.php?topic=3643
Answer
Failover combines source ownership safety, selection of a recovery point, target activation, dependency/network changes and service validation. Planned and unplanned failovers differ mainly in how much source coordination is possible before the transition.
Remember
- Failover ≠ replication; replication prepares state, failover changes authority.
- Target VM power-on ≠ service cutover complete.
- Source and target must not both write the same authoritative state unless the application is designed for it.
- Failover may alter DNS, routes, load balancers, credentials or external integrations.
First checks
Start-VMFailover -VMName <vm>— Hyper-V Replica failoverpvesr status / qm migrate— ProxmoxSRM recovery plan— vSphere
Verify in this order
replica → failover → started at DR
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 → Failover reference map
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Authority | Decide active site/source | Avoid split ownership |
| State | Select recoverable point | Defines data age |
| Activation | Start target dependencies/workload | Not client cutover |
| Cutover | Clients use validated target | End-to-end proof |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3643