Skip to content

Commit 3153d4f

Browse files
author
Simonx Xu
authored
Merge pull request #9489 from v-lianna/CI_6855
AB#6855 hyper-v-replica-troubleshooting-guide.md
2 parents 70886ea + 00acb61 commit 3153d4f

2 files changed

Lines changed: 97 additions & 0 deletions

File tree

support/windows-server/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2752,6 +2752,8 @@ items:
27522752
items:
27532753
- name: Feature and performance optimization of HVR
27542754
href: ./virtualization/feature-performance-optimization-hyper-v-replica.md
2755+
- name: Hyper-V Replica troubleshooting guide
2756+
href: ./virtualization/hyper-v-replica-troubleshooting-guide.md
27552757
- name: Set Up HVR between Windows Server 2016 and Windows Server 2022
27562758
href: ./virtualization/set-up-hyper-v-replica-between-windows-server-2016-and-windows-server-2022.md
27572759
- name: Installation and configuration of Hyper-V
Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
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: 09/01/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
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 might stem from configuration errors, permission problems, network instability, VM version mismatches, or software defects.
16+
17+
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.
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 or 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 don't receive updates after the initial synchronization.
30+
- Virtual machine migration (Live Migration or Quick Migration) fails.
31+
- Replication can't 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+
49+
32022, 33680, 32086, 29286, 32000, 32090, 32315, 21102, 33824, 33826, 21502, 20100, 32552, 153, 51, 55, 1193, 1194.
50+
51+
## Cause 1: Network and authentication issues
52+
53+
- Inadequate network bandwidth or unstable network connections.
54+
- Incorrect firewall or port settings blocking required traffic (default port: 443 for HTTPS).
55+
- Errors in Kerberos or certificate-based authentication configurations.
56+
- Domain trust issues or misconfigured service principal names (SPNs).
57+
58+
### Resolution: Validate network connectivity and verify authentication settings
59+
60+
- Ensure that the primary and replica servers can communicate over the required ports (443 for HTTPS).
61+
- Check for and resolve any network latency or instability issues.
62+
- Confirm that Kerberos authentication or certificate-based authentication is correctly configured.
63+
- Ensure SPNs are registered properly for the Hyper-V Replica Broker in a cluster.
64+
65+
## Cause 2: Configuration errors
66+
67+
- Incorrect settings for initial replication or the Replica Broker role in clustered environments.
68+
- Mismatched virtual machine configurations between primary and replica sites.
69+
- Insufficient disk space or incompatible storage configurations.
70+
71+
### Resolution: Check configuration settings
72+
73+
- Verify that initial replication, scheduling, and retention settings are correct.
74+
- Confirm that the Replica Broker role is properly configured in clustered deployments.
75+
- Ensure that the storage paths on the primary and replica servers are accessible and have sufficient space.
76+
77+
## Cause 3: Permissions and security
78+
79+
- Lack of appropriate administrative permissions for Hyper-V Replica setup.
80+
- Misconfigured NTFS permissions or storage access controls.
81+
- Security software or policies interfering with replication traffic.
82+
83+
### Resolution: Address permissions and security
84+
85+
- Grant the necessary administrative permissions to the accounts used for replication.
86+
- Review and adjust NTFS permissions to ensure proper access for replication-related files.
87+
- Disable or reconfigure antivirus or security software that might block Hyper-V Replica traffic.
88+
89+
## Cause 4: Software or hardware issues
90+
91+
- Incompatibility between Hyper-V Replica versions after updates or patches.
92+
- Corruption of differencing files or HRL files.
93+
- Hardware failures affecting disk or network components.
94+
95+
To resolve software or hardware issues, reapply updates or patches.

0 commit comments

Comments
 (0)