You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
title: How to Set Up Hyper-V Replica between Windows Server 2016 and Windows Server 2022
3
-
description: Provides guidance for setting up Hyper-V Replica when the source virtual machine(VM) resides on Windows Server 2016 and the destination VM resides on Windows Server 2022.
2
+
title: How to Set Up Hyper-V Replica Between Windows Server 2016 and Windows Server 2022
3
+
description: Provides guidance to set up Hyper-V Replica if the source VM is on Windows Server 2016 and the destination VM is on Windows Server 2022.
4
4
ms.date: 08/28/2025
5
5
manager: dcscontentpm
6
6
audience: itpro
@@ -11,9 +11,9 @@ ms.custom:
11
11
- pcy:WinComm Storage High Avail
12
12
---
13
13
14
-
# How to set up Hyper-V Replica between Windows Server 2016 and Windows Server 2022
14
+
# Set up Hyper-V Replica between Windows Server 2016 and 2022
15
15
16
-
This article provides guidance for setting up a Hyper-V replica when the source virtual machine (VM) resides on Windows Server 2016 and the destination VM resides on Windows Server 2022.
16
+
This article provides guidance for setting up a Hyper-V replica if the source virtual machine (VM) resides on Windows Server 2016 and the destination VM resides on Windows Server 2022.
17
17
18
18
> [!IMPORTANT]
19
19
> Before you deploy this configuration in a production environment, test it in a controlled environment.
@@ -25,33 +25,33 @@ This article provides guidance for setting up a Hyper-V replica when the source
25
25
26
26
Before you use the procedures in this article, make sure that your host computers and VMs meet the following requirements:
27
27
28
-
-Make sure that you have Administrator-level access to both host computers.
29
-
-Make sure that the Hyper-V role is configured on both the source (Windows Server 2016) and destination (Windows Server 2022) host computers.
30
-
-Make sure that the source and destination host computers are on the same network or on connected networks.
31
-
-Make sure that the appropriate firewall rules are in place to allow Hyper-V replication traffic. For information about the ports that are involved in Hyper-V replication, see "Hyper-V service" in [Service overview and network port requirements for Windows]../networking/service-overview-and-network-port-requirements#hyper-v-service).
32
-
-Make sure that both host computers have sufficient storage and compute resources for the VM replicas.
33
-
-Make sure that the source VM (on Windows Server 2016) and the destination VM (on Windows Server 2022) are of the same generation (both are Generation 1, or both are Generation 2).
28
+
-You have administrator-level access to both host computers.
29
+
-The Hyper-V role is configured on both the source (Windows Server 2016) and destination (Windows Server 2022) host computers.
30
+
-The source and destination host computers are on the same network or on connected networks.
31
+
-The appropriate firewall rules exist to allow Hyper-V replication traffic. For information about the ports that are involved in Hyper-V replication, see "Hyper-V service" in [Service overview and network port requirements for Windows](../networking/service-overview-and-network-port-requirements#hyper-v-service).
32
+
-Both host computers have sufficient storage and compute resources for the VM replicas.
33
+
-The source VM (on Windows Server 2016) and the destination VM (on Windows Server 2022) are of the same generation (both are Generation 1, or both are Generation 2).
34
34
35
35
## Configure replication
36
36
37
37
To configure the Hyper-V replica, follow these steps:
38
38
39
-
1. Configure the Hyper-V Replica on the source host computer by following these steps:
39
+
1. Configure the Hyper-V replica on the source host computer by following these steps:
40
40
41
41
1. On the Windows Server 2016 host computer, open **Hyper-V Manager**.
42
42
1. Right-click the VM that you want to replicate, and then select **Enable Replication**.
43
43
1. Follow the prompts to configure the replication settings. Provide the destination host computer's name or IP address.
44
44
45
45
1. Configure Hyper-V Replica on the destination host computer by following these steps:
46
46
47
-
1. On the Windows Server 2022 host computer, enable the Hyper-V Replica feature.
48
-
1. Open **Hyper-V Settings**, and then configure the **Replica Server** settings. Make sure that the Windows Server 2022 host computer is authorized to receive replication traffic from the Windows Server 2016 host computer.
47
+
1. On the Windows Server 2022 host computer, enable the Hyper-V Replica feature.
48
+
1. Open **Hyper-V Settings**, and then configure the **Replica Server** settings. Make sure that the Windows Server 2022 host computer is authorized to receive replication traffic from the Windows Server 2016 host computer.
49
49
50
-
Before you deploy this configuration into a production environment, test the following functionality:
50
+
Before you deploy this configuration in a production environment, test the following functionality:
51
51
52
-
1. Start replication from the source host computer to the destination host computer, and then monitor the replication status in Hyper-V Manager to make sure that the process completes successfully.
53
-
1. Trigger a planned failover, and then verify that the destination host computer can host the VM if the source host computer fails.
54
-
1. Start the failback process, and then verify that when the source host computer becomes operational, the VM returns.
52
+
1. Start replication from the source host computer to the destination host computer, and then monitor the replication status in Hyper-V Manager to make sure that the process finishes successfully.
53
+
1. Trigger a planned failover, and verify that the destination host computer can host the VM if the source host computer fails.
54
+
1. Start the failback process, and verify that the VM returns when the source host computer becomes operational.
55
55
56
56
## Troubleshooting replication issues
57
57
@@ -63,4 +63,6 @@ Incorrect settings on either the source or destination server can prevent replic
63
63
64
64
Additionally, verify that the source and destination host computers connect successfully.
65
65
66
-
For a detailed discussion of Hyper-V Replica settings, see [Set up Hyper-V Replica](/windows-server/virtualization/hyper-v/manage/set-up-hyper-v-replica).
66
+
## References
67
+
68
+
For a detailed discussion about Hyper-V Replica settings, see [Set up Hyper-V Replica](/windows-server/virtualization/hyper-v/manage/set-up-hyper-v-replica).
0 commit comments