Hyper-V Replica for Standalone Host Disaster Recovery
Configure asynchronous VM replication between Hyper-V hosts, choose the right frequency, and verify failover without mistaking replication for backup.
31 Dec 2025, 19:56 UTC

The problem: two hosts, no shared storage, and a recovery gap
You run two standalone Hyper-V hosts without a shared SAS array or SAN. A line-of-business virtual machine on the primary host must be available within an hour if that host fails. Hyper-V Replica is Microsoft's built-in, license-free feature for exactly this situation. It asynchronously copies changed disk blocks from a primary VM to a replica VM on another host, using compressed delta blocks over HTTP or HTTPS.
The useful takeaway: choose your replication interval based on how much data loss you can tolerate, monitor replication health events, and never treat replication as a replacement for backups. Replication copies ransomware encryption and accidental deletions just as faithfully as valid changes.
How replication frequency and recovery points work
Hyper-V Replica sends changed blocks on a schedule you set: 30 seconds, 5 minutes, or 15 minutes on Windows Server 2016 and later. The replica host keeps up to 24 recovery points, which are rolling snapshots you can fail back to. A shorter interval lowers potential data loss but uses more network and CPU; a longer interval saves bandwidth but widens the possible recovery point objective (RPO) gap.
| Interval | Best for | Trade-off |
|---|---|---|
| 30 seconds | Databases or transaction-heavy workloads | Highest network and CPU usage |
| 5 minutes | General file servers and line-of-business VMs | Balanced default for many WAN links |
| 15 minutes | Low-change archives over constrained links | Largest possible data-loss window |
Authentication depends on your network topology. Use Kerberos when both hosts are domain-joined in the same or trusted forest. Use certificate-based authentication for workgroup hosts, cross-forest scenarios, or internet-facing replication. Certificate mode requires valid client and server certificates with Client Authentication and Server Authentication enhanced key usage (EKU) on both hosts.
Worked example: enable replication and verify initial sync
Run these commands in an elevated PowerShell session on the primary host. You need local Administrator or Hyper-V Administrators membership on both hosts. Before running the command, enable the replica host as a replication server in Hyper-V Manager under Hyper-V Settings > Replication Configuration.
Enable-VMReplication -VMName 'App01' `n -ReplicationServer 'DRHost.corp.local' `n -ReplicationPort 443 `n -AuthenticationType Kerberos `n -ReplicationFrequencySec 300 `n -RecoveryHistory 24
Replace 'App01' with your VM name, 'DRHost.corp.local' with the replica host's fully qualified domain name, and 300 with the interval in seconds (300 equals 5 minutes).
Expected check: run this on either host after the initial synchronization finishes:
Get-VMReplication -VMName 'App01' |
Select-Object VMName, ReplicationState, ReplicationHealth, LastReplicationTime, ReplicationFrequency
Look for ReplicationState of Enabled and ReplicationHealth of Normal. Event ID 32550 in the Hyper-V-VM-Work event log confirms the initial sync completed. If you see Event ID 32552 or 32553, replication is falling behind, often during heavy write I/O such as a database reindex or large file copy.
Risk: an incorrect firewall rule blocking TCP 443, or replication disabled on the replica host, causes silent initial-sync failure. Verify network connectivity before relying on the schedule.
Failover, test failover, and reversing direction
When the primary host is offline, run an unplanned failover on the replica host:
Start-VMFailover -VMName 'App01' -FailoverType Unplanned
The replica VM starts from the most recent recovery point. Any changes made after the last successful replication cycle are lost, which is why this is unplanned failover rather than a guaranteed zero-loss cutover.
After the primary host returns, reverse replication so the old replica becomes the new primary:
Set-VMReplication -VMName 'App01' -Reverse
This command changes replication state, so treat it as the rollback path after failover. Before failing back to the original primary, perform a planned failover: shut down the primary VM cleanly, synchronize remaining changes, and reverse direction again.
To validate without disrupting production, use test failover. It creates an isolated test VM from a chosen recovery point on a separate virtual switch:
$rp = (Get-VMReplication -VMName 'App01').RecoveryPoints[0]
Start-VMFailover -VMName 'App01' -FailoverType Test -ReplicationRecoveryPoint $rp
Discard the test VM when finished:
Stop-VMFailover -VMName 'App01' -FailoverType Test
Limitations and a practical verification step
- Hyper-V Replica is not a backup. It replicates corruption, ransomware, and deleted files in near real time.
- VM configuration changes, such as adding a network adapter, are not replicated automatically and must be mirrored manually or by script.
- Live Migration of a replicating VM pauses replication; if the migration exceeds the configured interval, a resynchronization may be triggered.
- Extended Replica, which adds a tertiary site, doubles storage consumption on the intermediate host because it stores both the replica and extended-replica disks.
A practical way to check your actual RPO: create a file inside the guest with the current timestamp every 10 seconds, trigger an unplanned failover during a quiet period, and compare the newest timestamp on the replica against the primary. Repeat under load to see whether the replica stays within your configured interval. If it falls behind, consider a dedicated replication NIC or network throttling with Set-VMReplication -VMName 'App01' -NetworkThrottling 100 to cap replication at 100 Mbps.
Closing checklist
- Enable replication on the replica host before configuring the primary VM.
- Choose 30-second, 5-minute, or 15-minute frequency based on acceptable data loss.
- Use Kerberos for domain-joined hosts; certificates for workgroup or cross-forest.
- Confirm Event ID 32550 and ReplicationHealth = Normal after initial sync.
- Monitor Event IDs 32552 and 32553 for lag during heavy write workloads.
- Pair replication with a separate backup solution for point-in-time restores.
Hyper-V Replica solves host-level disaster recovery without shared storage, but only if you verify the interval you chose actually matches the data-loss window your application can survive.
0 replies
A thoughtful contribution can make all the difference. Be the first to share one.