VM Replication
Cheat sheet · https://pcornel.dk/topic.php?topic=3639
Answer
VM replication is hypervisor-aware and can provide recovery points and planned/unplanned activation. It still depends on compatible target compute, storage, network mappings and guest/application consistency behavior.
Remember
- VM replica healthy ≠ target dependencies ready.
- Replicated virtual disks ≠ every external service/data source protected.
- Asynchronous VM replication implies non-zero potential data loss.
- Replica activation should avoid duplicate identity/write ownership.
First checks
Measure-VMReplication— Hyper-V replication statspvesr status— Proxmox job statusGet-VMReplication -VMName <vm> | fl FrequencySec— interval
Verify in this order
VM changes → periodic deltas → replica
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 → VM Replication reference map
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Source | VM-level protected state | May exclude externals |
| Replica | Secondary VM/disk state | Check lag |
| Target | Mapped compute/network/storage | Must be ready |
| Failover | Secondary workload activates | Validate service |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3639