Hyper-V Replica
Cheat sheet · https://pcornel.dk/topic.php?topic=3710
Answer
Replica maintains a recoverable secondary VM state according to configured replication and recovery-point behavior. It is not synchronous availability and does not by itself make the application continuously available.
Remember
- Replica healthy ≠ zero RPO.
- Replication ≠ backup.
- Replica VM state ≠ application recoverability proof.
- Failover network identity/dependencies must be designed separately.
First checks
Get-VMReplication | ft VMName,State,Health,Mode,PrimaryServer,ReplicaServer,LastReplicationTime— statusMeasure-VMReplication— statisticsGet-VMReplicationServer— replica server settings
Verify in this order
primary VM changes → log → replica server → recovery points
Where it usually breaks
First mismatch in management intent → host/cluster capability → hypervisor runtime/task → virtual resource/device → guest state → workload-visible read-back; preserve identity/native error/pre-state before mutation.
Hyper-V → Hyper-V Replica reference map
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Primary | Source VM state | Not independent backup |
| Replication | Asynchronous change transfer | Healthy ≠ zero lag |
| Replica | Secondary VM state | Stored ≠ recoverable app |
| Failover | Replica activated | Needs workload validation |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3710