Skip to content

Commit 24b9109

Browse files
committed
AB#6855 hyper-v-replica-troubleshooting-guide.md
1 parent f6f736f commit 24b9109

2 files changed

Lines changed: 105 additions & 0 deletions

File tree

support/windows-server/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2744,6 +2744,8 @@ items:
27442744
items:
27452745
- name: Feature and performance optimization of HVR
27462746
href: ./virtualization/feature-performance-optimization-hyper-v-replica.md
2747+
- name: Hyper-V Replica troubleshooting guide
2748+
href: ./virtualization/hyper-v-replica-troubleshooting-guide.md
27472749
- name: Installation and configuration of Hyper-V
27482750
items:
27492751
- name: Antivirus exclusions for Hyper-V hosts
Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
---
2+
title: Hyper-V Replica Troubleshooting Guide
3+
description: Helps consolidate real-world failure scenarios, symptoms, root causes, and step-by-step resolutions to assist administrators in diagnosing and resolving Hyper-V Replica issues in both standalone and clustered deployments.
4+
ms.date: 08/08/2025
5+
manager: dcscontentpm
6+
audience: itpro
7+
ms.topic: troubleshooting
8+
ms.reviewer: kaushika, jeffhuge, v-lianna
9+
ms.custom:
10+
- sap:virtualization and hyper-v\hyper-v replica (hvr)
11+
- pcy:WinComm Storage High Avail
12+
---
13+
# Hyper-V Replica Troubleshooting Guide: Common Failure Modes, Causes, and Resolutions
14+
15+
Hyper-V Replica is an essential feature for disaster recovery and business continuity in Windows Server environments. It enables asynchronous replication of virtual machines (VMs) between primary and secondary sites. However, due to its complex integration with clusters, networks, authentication, storage, and security policies, various issues can arise. These issues may stem from configuration errors, permission problems, network instability, VM version mismatches, or software defects. This guide consolidates real-world failure scenarios, symptoms, root causes, and step-by-step resolutions to assist administrators in diagnosing and resolving Hyper-V Replica issues in both standalone and clustered deployments.
16+
17+
## Symptoms
18+
19+
### End-user experience
20+
21+
* Inability to enable, resume, or remove Hyper-V replication for one or more virtual machines.
22+
* Replication health states displayed as "Critical," "Paused," or "Resynchronization Required."
23+
* Virtual machines unexpectedly shutting down or becoming unavailable.
24+
25+
### Technical/system symptoms
26+
27+
* Replication is stuck at 1%, paused, or not progressing.
28+
* The Replica Broker or Replica role fails to come online in a cluster.
29+
* Replicated virtual machines do not receive updates after the initial sync.
30+
* Virtual machine migration (Live Migration or Quick Migration) fails.
31+
* Replication cannot be enabled or deleted; commands hang or produce errors.
32+
* Virtual Machine Management Service (VMMS) is stuck in a stopping state, or VMs are stuck in the “Applying Replication changes” state.
33+
* Disk space on the primary host fills up rapidly due to growing differencing (HRL) files.
34+
* Replication fails after an operating system upgrade or patching.
35+
36+
### Error messages and event IDs
37+
38+
Common error messages include:
39+
40+
* "Hyper-V failed to authenticate the replica server using Kerberos authentication. Error: the connect with the server was terminated abnormally (0x00002EFE)."
41+
* "Enabling replication failed. The parameter is incorrect. (0x80070057)."
42+
* "Hyper-V operation failed because the specified parameter is not valid. IncludedDisks is not valid for Hyper-V operation for virtual machine."
43+
* "Hyper-V could not replicate changes for virtual machine…The system cannot find the file specified. (0x80070002)."
44+
* "Resume-VMReplication: Could not change the replication state. Virtual machine is not in a valid replication state to perform the operation."
45+
* "Hyper-V Replica Broker failed to register the service principal name: The user name or password is incorrect. (0x8007052E)."
46+
47+
Frequent event IDs include:
48+
32022, 33680, 32086, 29286, 32000, 32090, 32315, 21102, 33824, 33826, 21502, 20100, 32552, 153, 51, 55, 1193, 1194.
49+
50+
## Cause
51+
52+
### 1\. Network and authentication issues
53+
54+
* Inadequate network bandwidth or unstable network connections.
55+
* Incorrect firewall or port settings blocking required traffic (default port: 443 for HTTPS).
56+
* Errors in Kerberos or certificate-based authentication configurations.
57+
* Domain trust issues or misconfigured service principal names (SPNs).
58+
59+
### 2\. Configuration errors
60+
61+
* Incorrect settings for initial replication or the Replica Broker role in clustered environments.
62+
* Mismatched virtual machine configurations between primary and replica sites.
63+
* Insufficient disk space or incompatible storage configurations.
64+
65+
### 3\. Permissions and security
66+
67+
* Lack of appropriate administrative permissions for Hyper-V Replica setup.
68+
* Misconfigured NTFS permissions or storage access controls.
69+
* Security software or policies interfering with replication traffic.
70+
71+
### 4\. Software or hardware issues
72+
73+
* Incompatibility between Hyper-V Replica versions after updates or patches.
74+
* Corruption of differencing files or HRL files.
75+
* Hardware failures affecting disk or network components.
76+
77+
## Resolution
78+
79+
### Step 1: Validate network connectivity
80+
81+
* Ensure that the primary and replica servers can communicate over the required ports (443 for HTTPS).
82+
* Check for and resolve any network latency or instability issues.
83+
84+
### Step 2: Verify authentication settings
85+
86+
* Confirm that Kerberos authentication or certificate-based authentication is correctly configured.
87+
* Ensure SPNs are registered properly for the Hyper-V Replica Broker in a cluster.
88+
89+
### Step 3: Check configuration settings
90+
91+
* Verify that initial replication, scheduling, and retention settings are correct.
92+
* Confirm that the Replica Broker role is properly configured in clustered deployments.
93+
* Ensure that the storage paths on the primary and replica servers are accessible and have sufficient space.
94+
95+
### Step 4: Address permissions and security
96+
97+
* Grant the necessary administrative permissions to the accounts used for replication.
98+
* Review and adjust NTFS permissions to ensure proper access for replication-related files.
99+
* Disable or reconfigure antivirus or security software that may block Hyper-V Replica traffic.
100+
101+
### Step 5: Resolve software or hardware issues
102+
103+
* Reapply updates or patches

0 commit comments

Comments
 (0)