Pcornel
Windows · Hyper-V

Hyper-V Replica

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

Back to the Topic

Answer

Replica maintains an offline secondary VM copy by transferring changed virtual-disk data on a configured interval; failover activates a recovery copy and reverse replication can later re-establish direction.

Remember

  • Replica is asynchronous, so replication health does not imply zero data loss at failover.
  • Replica is distinct from Failover Clustering: one is DR replication, the other is HA orchestration.
  • Replication Healthy does not prove a failover test or application recovery will succeed.
  • Recovery points and application consistency depend on configuration and guest/workload behavior.

First checks

  • Get-VM — VMs and state
  • Get-VMHost — host settings
  • Get-VMSwitch — virtual switches
  • Get-VMNetworkAdapter -VMName <vm> — vNICs, switch, VLAN
  • Get-VMHardDiskDrive -VMName <vm> — attached disks
  • Get-WinEvent -LogName Microsoft-Windows-Hyper-V-VMMS-Admin -MaxEvents 30 — VMMS events

Verify in this order

primary VM changes → replicated to replica server → failover on demand

Where it usually breaks

First mismatch in host/cluster identity → management configuration → quorum/resource ownership → network/storage dependencies → VM/service runtime → guest/application verification; preserve identity/native error/pre-state before mutation.

Hyper-V → Hyper-V Replica reference map

BoundaryMeaningEvidence limit
Replication relationshipPrimary/replica association configuredDoes not prove current sync
Replication healthChanges are transferring as observedDoes not imply zero RPO
Recovery pointReplica contains a selectable pointDoes not prove application consistency
Failover testRecovered VM/workload actually startsStrongest DR validation evidence

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

Confirmation

Confirm action

Continue?