Skip to content

Commit 17dccf1

Browse files
committed
Update hyper-v-replica-troubleshooting-guide.md
1 parent 24b9109 commit 17dccf1

1 file changed

Lines changed: 55 additions & 63 deletions

File tree

support/windows-server/virtualization/hyper-v-replica-troubleshooting-guide.md

Lines changed: 55 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -10,94 +10,86 @@ ms.custom:
1010
- sap:virtualization and hyper-v\hyper-v replica (hvr)
1111
- pcy:WinComm Storage High Avail
1212
---
13-
# Hyper-V Replica Troubleshooting Guide: Common Failure Modes, Causes, and Resolutions
13+
# Hyper-V Replica troubleshooting guide
1414

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.
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.
1616

17-
## Symptoms
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.
1818

19-
### End-user experience
19+
## End-user experience
2020

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.
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.
2424

25-
### Technical/system symptoms
25+
## Technical/system symptoms
2626

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.
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.
3535

36-
### Error messages and event IDs
36+
## Error messages and event IDs
3737

3838
Common error messages include:
3939

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)."
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).
4646
4747
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
5348

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.
49+
32022, 33680, 32086, 29286, 32000, 32090, 32315, 21102, 33824, 33826, 21502, 20100, 32552, 153, 51, 55, 1193, 1194.
6450

65-
### 3\. Permissions and security
51+
## Cause 1: Network and authentication issues
6652

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.
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).
7057

71-
### 4\. Software or hardware issues
58+
### Resolution: Validate network connectivity and verify authentication settings
7259

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.
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.
7664

77-
## Resolution
65+
## Cause 2: Configuration errors
7866

79-
### Step 1: Validate network connectivity
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.
8070

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.
71+
### Resolution: Check configuration settings
8372

84-
### Step 2: Verify authentication settings
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.
8576

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.
77+
## Cause 3: Permissions and security
8878

89-
### Step 3: Check configuration settings
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.
9082

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.
83+
### Resolution: Address permissions and security
9484

95-
### Step 4: Address permissions and security
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.
9688

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.
89+
## Cause 4: Software or hardware issues
10090

101-
### Step 5: Resolve software or hardware issues
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.
10294

103-
* Reapply updates or patches
95+
To resolve software or hardware issues, reapply updates or patches.

0 commit comments

Comments
 (0)