Skip to content

Commit 682125a

Browse files
authored
Merge pull request #85344 from Rajani-Janaki-Ram/master
Update azure-to-azure-tutorial-migrate.md
2 parents 5032999 + cad510c commit 682125a

File tree

1 file changed

+48
-56
lines changed

1 file changed

+48
-56
lines changed

articles/site-recovery/azure-to-azure-tutorial-migrate.md

Lines changed: 48 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -37,46 +37,43 @@ In this tutorial, you will:
3737
- Review the [support limitations and requirements](azure-to-azure-support-matrix.md).
3838
- Verify account permissions. If you created your free Azure account, you're the administrator of your subscription. If you're not the subscription administrator, work with the administrator to assign the permissions that you need. To enable replication for a VM and essentially copy data by using Azure Site Recovery, you must have:
3939

40-
* Permissions to create a VM in Azure resources. The Virtual Machine Contributor built-in role has these permissions, which include:
41-
- Permission to create a VM in the selected resource group
42-
- Permission to create a VM in the selected virtual network
43-
- Permission to write to the selected storage account
44-
45-
* Permissions to manage Azure Site Recovery operations. The Site Recovery Contributor role has all the permissions that are required to manage Site Recovery operations in a Recovery Services vault.
40+
- Permissions to create a VM in Azure resources. The Virtual Machine Contributor built-in role has these permissions, which include:
41+
- Permission to create a VM in the selected resource group
42+
- Permission to create a VM in the selected virtual network
43+
- Permission to write to the selected storage account
44+
45+
- Permissions to manage Azure Site Recovery operations. The Site Recovery Contributor role has all the permissions that are required to manage Site Recovery operations in a Recovery Services vault.
4646

47-
## Prepare the source VMs
47+
- Make sure that all the latest root certificates are on the Azure VMs that you want to move. If the latest root certificates aren't on the VM, security constraints will prevent the data copy to the target region.
4848

49-
1. Make sure that all the latest root certificates are on the Azure VMs that you want to move. If the latest root certificates aren't on the VM, security constraints will prevent the data copy to the target region.
49+
- For Windows VMs, install all the latest Windows updates on the VM, so that all the trusted root certificates are on the machine. In a disconnected environment, follow the standard Windows Update and certificate update processes for your organization.
50+
51+
- For Linux VMs, follow the guidance provided by your Linux distributor to get the latest trusted root certificates and certificate revocation list on the VM.
52+
- Make sure that you're not using an authentication proxy to control network connectivity for VMs that you want to move.
5053

51-
- For Windows VMs, install all the latest Windows updates on the VM, so that all the trusted root certificates are on the machine. In a disconnected environment, follow the standard Windows Update and certificate update processes for your organization.
52-
- For Linux VMs, follow the guidance provided by your Linux distributor to get the latest trusted root certificates and certificate revocation list on the VM.
53-
1. Make sure that you're not using an authentication proxy to control network connectivity for VMs that you want to move.
54-
1. If the VM that you're trying to move doesn't have access to the internet, or it's using a firewall proxy to control outbound access, [check the requirements](azure-to-azure-tutorial-enable-replication.md#set-up-outbound-network-connectivity-for-vms).
55-
1. Identify the source networking layout and all the resources that you're currently using. This includes but isn't limited to load balancers, network security groups (NSGs), and public IPs.
54+
- If the VM that you're trying to move doesn't have access to the internet, or it's using a firewall proxy to control outbound access, [check the requirements](azure-to-azure-tutorial-enable-replication.md#set-up-outbound-network-connectivity-for-vms).
5655

57-
## Prepare the target region
56+
- Identify the source networking layout and all the resources that you're currently using. This includes but isn't limited to load balancers, network security groups (NSGs), and public IPs.
5857

59-
1. Verify that your Azure subscription allows you to create VMs in the target region that's used for disaster recovery. Contact support to enable the required quota.
58+
- Verify that your Azure subscription allows you to create VMs in the target region that's used for disaster recovery. Contact support to enable the required quota.
6059

61-
1. Make sure that your subscription has enough resources to support VMs with sizes that match your source VMs. If you're using Site Recovery to copy data to the target, Site Recovery chooses the same size or the closest possible size for the target VM.
60+
- Make sure that your subscription has enough resources to support VMs with sizes that match your source VMs. If you're using Site Recovery to copy data to the target, Site Recovery chooses the same size or the closest possible size for the target VM.
6261

63-
1. Make sure that you create a target resource for every component that's identified in the source networking layout. This step is important to ensure that your VMs have all the functionality and features in the target region that you had in the source region.
62+
- Make sure that you create a target resource for every component that's identified in the source networking layout. This step is important to ensure that your VMs have all the functionality and features in the target region that you had in the source region.
6463

65-
> [!NOTE]
66-
> Azure Site Recovery automatically discovers and creates a virtual network when you enable replication for the source VM. You can also pre-create a network and assign it to the VM in the user flow for enable replication. As mentioned later, you need to manually create any other resources in the target region.
64+
> [!NOTE]
65+
> Azure Site Recovery automatically discovers and creates a virtual network when you enable replication for the source VM. You can also pre-create a network and assign it to the VM in the user flow for enable replication. As mentioned later, you need to manually create any other resources in the target region.
6766
68-
To create the most commonly used network resources that are relevant for you based on the source VM configuration, see the following documentation:
67+
To create the most commonly used network resources that are relevant for you based on the source VM configuration, see the following documentation:
68+
- [Network security groups](https://docs.microsoft.com/azure/virtual-network/manage-network-security-group)
69+
- [Load balancers](https://docs.microsoft.com/azure/load-balancer/#step-by-step-tutorials)
70+
- [Public IP](../virtual-network/virtual-network-public-ip-address.md)
71+
- For any other networking components, see the [networking documentation](https://docs.microsoft.com/azure/#pivot=products&panel=network).
6972

70-
- [Network security groups](https://docs.microsoft.com/azure/virtual-network/manage-network-security-group)
71-
- [Load balancers](https://docs.microsoft.com/azure/load-balancer/#step-by-step-tutorials)
72-
- [Public IP](../virtual-network/virtual-network-public-ip-address.md)
73-
74-
For any other networking components, see the [networking documentation](https://docs.microsoft.com/azure/#pivot=products&panel=network).
7573

76-
1. Manually [create a non-production network](https://docs.microsoft.com/azure/virtual-network/quick-create-portal) in the target region if you want to test the configuration before you perform the final move to the target region. We recommend this step because it ensures minimal interference with the production network.
7774

78-
## Copy data to the target region
79-
The following steps show you how to use Azure Site Recovery to copy data to the target region.
75+
## Prepare
76+
The following steps shows how to prepare the virtual machine for the move using Azure Site Recovery as a solution.
8077

8178
### Create the vault in any region, except the source region
8279

@@ -103,44 +100,39 @@ Site Recovery retrieves a list of the VMs that are associated with the subscript
103100

104101
![Enable replication](media/tutorial-migrate-azure-to-azure/settings.png)
105102

106-
## Test the configuration
103+
## Move
107104

108-
1. Go to the vault. In **Settings** > **Replicated items**, select the VM that you want to move to the target region, and then select **+Test Failover**.
109-
1. In **Test Failover**, select a recovery point to use for the failover:
105+
The following steps shows how to perform the move to the target region.
110106

111-
- **Latest processed**: Fails the VM over to the latest recovery point that was processed by the
112-
Site Recovery service. The time stamp is shown. With this option, no time is spent processing
113-
data, so it provides a low Recovery Time Objective (RTO).
114-
- **Latest app-consistent**: This option fails over all VMs to the latest app-consistent
115-
recovery point. The time stamp is shown.
116-
- **Custom**: Select any recovery point.
107+
1. Go to the vault. In **Settings** > **Replicated items**, select the VM, and then select **Failover**.
108+
2. In **Failover**, select **Latest**.
109+
3. Select **Shut down machine before beginning failover**. Site Recovery attempts to shut down the source VM before triggering the failover. Failover continues even if shutdown fails. You can follow the failover progress on the **Jobs** page.
110+
4. After the job is finished, check that the VM appears in the target Azure region as expected.
117111

118-
1. Select the target Azure virtual network to which you want to move the Azure VMs to test the configuration.
119-
> [!IMPORTANT]
120-
> We recommend that you use a separate Azure VM network for the test failover. Don't use the production network that was set up when you enabled replication and that you want to move your VMs into eventually.
121-
1. To start testing the move, click **OK**. To track progress, click the VM to open its properties. Or,
122-
you can click the **Test Failover** job in the vault name > **Settings** > **Jobs** > **Site Recovery jobs**.
123-
1. After the failover finishes, the replica Azure VM appears in the Azure portal > **Virtual Machines**. Make sure that the VM is running, is sized appropriately, and is connected to the appropriate network.
124-
1. If you want to delete the VM tha was created as part of testing the move, click **Cleanup test failover** on the replicated item. In **Notes**, record and save any observations that are associated with the test.
125112

126-
## Perform the move to the target region and confirm
113+
## Discard
127114

128-
1. Go to the vault. In **Settings** > **Replicated items**, select the VM, and then select **Failover**.
129-
1. In **Failover**, select **Latest**.
130-
1. Select **Shut down machine before beginning failover**. Site Recovery attempts to shut down the source VM before triggering the failover. Failover continues even if shutdown fails. You can follow the failover progress on the **Jobs** page.
131-
1. After the job is finished, check that the VM appears in the target Azure region as expected.
132-
1. In **Replicated items**, right-select the VM > **Commit**. This step finishes the move process to the target region. Wait until the commit job finishes.
115+
In case you checked the moved VM and need to make changed to point of failover or want to go back to a previous point, in the **Replicated items**, right-select the VM > **Change recovery point**. This step provides you the option to specify a different recovery point and failover to that one.
116+
117+
118+
## Commit
119+
120+
Once you have checked the moved VM and are ready to commit the change, in the **Replicated items**, right-select the VM > **Commit**. This step finishes the move process to the target region. Wait until the commit job finishes.
121+
122+
## Clean up
123+
124+
The following steps will guide you through how to clean up the source region as well as related resources that were used for the move.
133125

134-
## Delete the resource in the source region
126+
For all resources that were used for the move:
135127

136-
Go to the VM. Select **Disable Replication**. This step stops the process from copying the data for the VM.
128+
- Go to the VM. Select **Disable Replication**. This step stops the process from copying the data for the VM.
137129

138-
> [!IMPORTANT]
139-
> It's important to perform this step to avoid being charged for Azure Site Recovery replication.
130+
> [!IMPORTANT]
131+
> It's important to perform this step to avoid being charged for Azure Site Recovery replication.
140132
141-
If you have no plans to reuse any of the source resources, follow these steps:
133+
If you have no plans to reuse any of the source resources, complete these additional steps:
142134

143-
1. Delete all the relevant network resources in the source region that you listed out as part of step 4 in [Prepare the source VMs](#prepare-the-source-vms).
135+
1. Delete all the relevant network resources in the source region that you identified in [prerequisites](#prerequisites).
144136
1. Delete the corresponding storage account in the source region.
145137

146138
## Next steps

0 commit comments

Comments
 (0)