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
description: Learn best practices for testing replicating virtual machines
4
4
author: piyushdhore-microsoft
5
5
ms.author: piyushdhore
6
6
ms.manager: vijain
7
7
ms.topic: how-to
8
-
ms.date: 3/23/2022
8
+
ms.date: 10/18/2022
9
+
ms.custom: engagement-fy23
9
10
---
10
11
11
12
@@ -14,76 +15,76 @@ ms.date: 3/23/2022
14
15
This article helps you understand how to test replicating virtual machines. Test migration provides a way to test and validate migrations prior to the actual migration.
15
16
16
17
17
-
18
18
## Prerequisites
19
19
20
-
Before you get started, you need to perform the following steps:
20
+
Before you get started, perform the following steps:
21
21
22
-
- Create the Azure Migrate project.
23
-
- Deploy the appliance for your scenario and complete discovery of virtual machines.
22
+
-[Create](create-manage-projects.md) an Azure Migrate project.
23
+
- Deploy the appliance for your scenario and complete the discovery of virtual machines.
24
24
- Configure replication for one or more virtual machines that are to be migrated.
25
+
25
26
> [!IMPORTANT]
26
-
> You'll need to have at least one replicating virtual machine in the project before you can perform test migration.
27
+
> You'll need at least one replicating virtual machine in the project before you can test the migration.
27
28
28
-
To learn how to perform the above, review the following tutorials based on your scenarios
29
-
-[Migrating VMware virtual machines to Azure with the agentless migration method](./tutorial-migrate-vmware.md).
30
-
-[Migrating Hyper-V VMs to Azure with Azure Migrate Server Migration](./tutorial-migrate-hyper-v.md)
31
-
-[Migrating machines as physical server to Azure with Azure Migrate.](./tutorial-migrate-physical-virtual-machines.md)
29
+
Review the following tutorials based on your environment:
30
+
-[Migrating VMware VMs with agentless migration](./tutorial-migrate-vmware.md).
31
+
-[Migrating Hyper-V VMs to Azure](./tutorial-migrate-hyper-v.md).
32
+
-[Migrating machines as physical servers to Azure](./tutorial-migrate-physical-virtual-machines.md)
32
33
33
34
34
35
## Setting up your test environment
35
36
36
-
The requirements for a test environment can vary according to your needs. Azure Migrate gives customers complete flexibility to create their own test environment. An option to select the VNet is given during test migration. You can customize the setting of this VNet to create a test environment according to your need.
37
+
The requirements for a test environment can vary according to your needs. Azure Migrate provides customers complete flexibility to create their own test environment. An option to select the VNet is provided during test migration. You can customize the setting of this VNet to create a test environment according to your requirement.
37
38
38
39
Furthermore, you can create 1:1 mapping between subnets of the VNet and Network Interface Cards (NICs) on VM, which gives more flexibility in creating the test environment.
39
40
40
41
> [!Note]
41
42
> Currently, the subnet selection feature is available only for agentless VMware migration scenario.
42
43
43
-
The following logic is used for subnet selection for other scenarios (Migration from Hyper-V environment and physical server migration)
44
+
The following logic is used for subnet selection for other scenarios (Migration from Hyper-V environment and physical server migration).
44
45
45
46
- If a target subnet (other than default) was specified as an input while enabling replication. Azure Migrate prioritizes using a subnet with the same name in the Virtual Network selected for the test migration.
46
47
47
48
- If the subnet with the same name ins't found, then Azure Migrate selects the first subnet available alphabetically that isn't a Gateway/Application Gateway/Firewall/Bastion subnet. For example,
48
49
49
50
- Suppose the target VNet is VNet-alpha and target subnet is Subnet-alpha for a replicating VM. VNet-beta is selected during test migration for this VM, then -
50
-
- If VNet-beta has a subnet named Subnet-alpha, that subnet would be chosen for test migration.
51
+
- If VNet-beta has a subnet named Subnet-alpha, that subnet would be chosen for test migration.
51
52
- If VNet-beta doesn't have a Subnet-alpha, then the next alphabetically available subnet, suppose Subnet-beta, would be chosen if it isn't Gateway / Application Gateway / Firewall / Bastion subnet.
52
53
53
-
## Precautions to take selecting the test migration virtual network
54
+
## Precautions to take while selecting the test migration virtual network
54
55
55
-
The test environment boundaries would depend on the network setting of the VNet you selected. The tested VM would behave exactly like it's supposed to run after migration. We don't recommend performing a test migration to a production virtual network. Problems such as duplicate VM or DNS entry changes can arise if the VNet selected for test migration has connections open to on premise VNet.
56
+
The test environment boundaries would depend on the network setting of the VNet you selected. The tested VM would behave exactly like it's supposed to run after migration. Performing a test migration to a production virtual network is not recommended. If the VNet selected for test migration has connections open to the on-premises VNet, it may cause issues like duplication of VM or DNS entry changes.
56
57
57
58
58
-
## Selecting test migration VNet while enabling replication (Agentless VMware migration)
59
+
## Selecting test migration VNet while enabling replication (Agentless VMware migration)
59
60
60
-
Select the VNet and subnet for test migration from the Target settings tab. These settings can be overridden later in Compute and Network tab of the replicating VM or while starting test migration of the replicating VM.
61
+
Select the VNet and subnet for test migration from the **Target settings** tab. These settings can be overridden later in the **Compute and Network** tab of the replicating VM or while starting test migration of the replicating VM.
61
62
62
63
:::image type="content" source="./media/how-to-test-replicating-virtual-machines/test-migration-subnet-selection-during-start-replication-flow.png" alt-text="Screenshot shows the Disks tab of the Replicate dialog box.":::
63
64
64
-
## Changing test migration virtual network and subnet of a replicating machine (Agentless VMware migration)
65
+
## Changing test migration virtual network and subnet of a replicating machine (Agentless VMware migration)
65
66
66
67
You can change the VNet and subnet of a replicating machine by following the steps below.
67
68
68
69
1. Select the virtual machine from the list of currently replicating virtual machines
69
70
70
71
:::image type="content" source="./media/how-to-test-replicating-virtual-machines/test-migration-subnet-selection-step-1.png" alt-text="Screenshot shows the contents of replicating machine screen. It contains a list of replicating machine.":::
71
72
72
-
2. Select on the Compute and Network option under the general heading.
73
+
2. Select **Compute and Network** option under **General**.
73
74
74
75
:::image type="content" source="./media/how-to-test-replicating-virtual-machines/test-migration-subnet-selection-step-2.png" alt-text="Screenshot shows the location of network and compute option on the details page of replicating machine.":::
75
76
76
-
3. Select the virtual network under the Test migration column. It's important to select the VNet in this drop down for test migration to be able to select subnet for each Network Interface Card (NIC) in the following steps.
77
+
3. Select the virtual network from the **Test migration** column. It's important to select the VNet in this drop down for test migration to be able to select subnet for each Network Interface Card (NIC) in the following steps.
77
78
78
79
:::image type="content" source="./media/how-to-test-replicating-virtual-machines/test-migration-subnet-selection-step-3.png" alt-text="Screenshot shows where to select VNet in replicating machine's network and compute options.":::
79
80
80
-
4. Select on the Network Interface Card's name to check its settings. You can select the subnet for each of the Network Interface Card (NIC) of the VM.
81
+
4. Select the NIC's name to check its settings. You can select the subnet for each of the NICs of the VM.
81
82
82
83
:::image type="content" source="./media/how-to-test-replicating-virtual-machines/test-migration-subnet-selection-step-4.png" alt-text="Screenshot shows how to select a subnet for each Network Interface Card of replicating machine in the network and compute options of replicating machine.":::
83
84
84
-
5. To change the settings, select on the pencil icon. Change the setting for the Network Interface Card (NIC) in the new form. Select OK.
85
+
5. To change the settings, select edit. Change the setting for the NIC in the new form. Select **OK**.
85
86
:::image type="content" source="./media/how-to-test-replicating-virtual-machines/test-migration-subnet-selection-step-5.png" alt-text="Screenshot shows the content of the Network Interface Card page after clicking the pencil icon next to Network Interface Card's name in the network and compute screen.":::
86
87
87
-
6. Select save. Changes aren't saved until you can see the colored square next to Network Interface Card's (NIC) name.
88
+
6. Select **Save**. Changes aren't saved until you can see the colored square next to the NIC's name.
88
89
89
90
:::image type="content" source="./media/how-to-test-replicating-virtual-machines/test-migration-subnet-selection-step-6.png" alt-text="Screenshot shows the network and compute options screen of replicating machine and highlights the save button.":::
0 commit comments