Skip to content

Commit 515ddd9

Browse files
author
Ankita Dutta
committed
pbi 967
1 parent 55be37c commit 515ddd9

File tree

1 file changed

+28
-26
lines changed

1 file changed

+28
-26
lines changed

articles/site-recovery/how-to-enable-replication-proximity-placement-groups.md

Lines changed: 28 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
---
2-
title: Replicate Azure VMs running in a proximity placement group
3-
description: Learn how to replicate Azure VMs running in proximity placement groups by using Azure Site Recovery.
2+
title: Replicate Azure virtual machines running in a proximity placement group
3+
description: Learn how to replicate Azure virtual machines running in proximity placement groups by using Azure Site Recovery.
44
ms.author: ankitadutta
55
author: ankitaduttaMSFT
6-
manager: gaggupta
76
ms.topic: how-to
87
ms.service: site-recovery
98
ms.custom: devx-track-azurepowershell
10-
ms.date: 04/08/2024
9+
ms.date: 04/29/2024
1110
---
1211

1312
# Replicate virtual machines running in a proximity placement group to another region
@@ -19,7 +18,7 @@ This article describes how to replicate, fail over, and fail back Azure virtual
1918

2019
[Proximity placement groups](../virtual-machines/windows/proximity-placement-groups-portal.md) are a logical grouping capability in Azure Virtual Machines. You can use them to decrease the inter-VM network latency associated with your applications.
2120

22-
When VMs are deployed within the same proximity placement group, they're physically located as close as possible to each other. Proximity placement groups are useful to address the requirements of latency-sensitive workloads.
21+
When virtual machines are deployed within the same proximity placement group, they're physically located as close as possible to each other. Proximity placement groups are useful to address the requirements of latency-sensitive workloads.
2322

2423
## Disaster recovery with proximity placement groups
2524

@@ -29,24 +28,27 @@ Site Recovery replicates the data from one Azure region to another region. It br
2928

3029
## Considerations
3130

32-
- The best effort will be to fail over and fail back the virtual machines into a proximity placement group. If there is am OverconstrainedAllocationRequest error due to which we are unable to bring up the VMs inside a proximity placement group, the failover and failback will still execute, but VMs will be created outside the proximity placement group.
33-
- If an availability set is pinned to a proximity placement group and VMs in the availability set have an allocation constraint during failback or failover, the VMs will be created outside both the availability set and the proximity placement group.
31+
- The best effort will be to fail over and fail back the virtual machines into a proximity placement group. If there is am OverconstrainedAllocationRequest error due to which we are unable to bring up the virtual machines inside a proximity placement group, the failover and failback will still execute, but virtual machines will be created outside the proximity placement group.
32+
- If an availability set is pinned to a proximity placement group and virtual machines in the availability set have an allocation constraint during failback or failover, the virtual machines will be created outside both the availability set and the proximity placement group.
3433
- Site Recovery for proximity placement groups is not supported for unmanaged disks.
3534

3635
> [!NOTE]
3736
> Azure Site Recovery does not support failback from managed disks for scenarios of moving from Hyper-V to Azure. Failback from proximity placement groups in Azure to Hyper-V is not supported.
3837
39-
## Set up disaster recovery for VMs in proximity placement groups via the Azure portal
38+
## Set up disaster recovery for virtual machines in proximity placement groups via the Azure portal
4039

4140
### Azure to Azure
4241

43-
You can choose to enable replication for a virtual machine through the VM disaster recovery page. Or you can enable replication by going to a pre-created vault, going to the Site Recovery section, and then enabling replication. Let's look at how you can set up Site Recovery VMs inside a proximity placement group through both approaches.
42+
You can choose to enable replication for a virtual machine through the virtual machine disaster recovery page. Or you can enable replication by going to a pre-created vault, going to the Site Recovery section, and then enabling replication. Let's look at how you can set up Site Recovery virtual machines inside a proximity placement group through both approaches.
4443

45-
To select a proximity placement group in the DR region while enabling replication through the infrastructure as a service (IaaS) VM DR page:
44+
> [!NOTE]
45+
> Resource group of the target PPG should be same as that of target virtual machine.
46+
47+
To select a proximity placement group in the DR region while enabling replication through the infrastructure as a service (IaaS) virtual machine DR page:
4648

4749
1. Go to the virtual machine. On the left pane, under **Operations**, select **Disaster Recovery**.
48-
2. On the **Basics** tab, choose the DR region that you want to replicate the VM to. Go to **Advanced Settings**.
49-
3. You can see the proximity placement group of your VM and the option to select a proximity placement group in the DR region. Site Recovery also gives you the option of using a new proximity placement group that it creates for you, if you choose to use this default option.
50+
2. On the **Basics** tab, choose the DR region that you want to replicate the virtual machine to. Go to **Advanced Settings**.
51+
3. You can see the proximity placement group of your virtual machine and the option to select a proximity placement group in the DR region. Site Recovery also gives you the option of using a new proximity placement group that it creates for you, if you choose to use this default option.
5052

5153
Choose the proximity placement group that you want. Then select **Review + Start replication**.
5254

@@ -55,46 +57,46 @@ To select a proximity placement group in the DR region while enabling replicatio
5557
To select a proximity placement group in the DR region while enabling replication through the vault page:
5658

5759
1. Go to your Recovery Services vault, and then go to the **Site Recovery** tab.
58-
2. Select **+ Enable Site Recovery**. Then select **1: Enable Replication** under **Azure virtual machines** (because you want to replicate an Azure VM).
60+
2. Select **+ Enable Site Recovery**. Then select **1: Enable Replication** under **Azure virtual machines** (because you want to replicate an Azure virtual machine).
5961
3. Fill in the required fields on the **Source** tab, and then select **Next**.
60-
4. Select the list of VMs that you want to enable replication for on the **Virtual machines** tab, and then select **Next**.
62+
4. Select the list of virtual machines that you want to enable replication for on the **Virtual machines** tab, and then select **Next**.
6163
5. You can see the option to select a proximity placement group in the DR region. Site Recovery also gives you the option of using a new proximity placement group that it creates for you, if you choose to use this default option.
6264

6365
Choose the proximity placement group that you want, and then proceed to enabling replication.
6466

6567
:::image type="content" source="media/how-to-enable-replication-proximity-placement-groups/proximity-placement-group-a2a-2.png" alt-text="Screenshot that shows selections for customizing target settings.":::
6668

67-
You can easily update your selection of a proximity placement group in the DR region after replication has been enabled for the VM:
69+
You can easily update your selection of a proximity placement group in the DR region after replication has been enabled for the virtual machine:
6870

6971
1. Go to the virtual machine. On the left pane, under **Operations**, select **Disaster Recovery**.
7072
2. Go to the **Compute** pane and select **Edit**.
71-
3. You can see the options to edit multiple target settings, including the target proximity placement group. Choose the proximity placement group that you want the VM to fail over into, and then select **Save**.
73+
3. You can see the options to edit multiple target settings, including the target proximity placement group. Choose the proximity placement group that you want the virtual machine to fail over into, and then select **Save**.
7274

7375
### VMware to Azure
7476

75-
You can set up a proximity placement group for the target VM after you enable replication for the VM. Make sure that you separately create the proximity placement group in the target region according to your requirement.
77+
You can set up a proximity placement group for the target virtual machine after you enable replication for the virtual machine. Make sure that you separately create the proximity placement group in the target region according to your requirement.
7678

77-
You can easily update your selection of a proximity placement group in the DR region after replication has been enabled for the VM:
79+
You can easily update your selection of a proximity placement group in the DR region after replication has been enabled for the virtual machine:
7880

7981
1. Select the virtual machine from the vault. On the left pane, under **Operations**, select **Disaster Recovery**.
8082
2. Go to the **Compute and Network** pane and select **Edit**.
81-
3. You can see the options to edit multiple target settings, including the target proximity placement group. Choose the proximity placement group that you want the VM to fail over into, and then select **Save**.
83+
3. You can see the options to edit multiple target settings, including the target proximity placement group. Choose the proximity placement group that you want the virtual machine to fail over into, and then select **Save**.
8284

83-
:::image type="content" source="media/how-to-enable-replication-proximity-placement-groups/proximity-placement-groups-update-v2a.png" alt-text="Screenshot that shows compute and network selections for VMware to Azure.":::
85+
:::image type="content" source="media/how-to-enable-replication-proximity-placement-groups/proximity-placement-groups-update-v2a.png" alt-text="Screenshot that shows compute and network selections for virtual machineware to Azure.":::
8486

8587
### Hyper-V to Azure
8688

87-
You can set up a proximity placement group for the target VM after you enable replication for the VM. Make sure that you separately create the proximity placement group in the target region according to your requirement.
89+
You can set up a proximity placement group for the target virtual machine after you enable replication for the virtual machine. Make sure that you separately create the proximity placement group in the target region according to your requirement.
8890

89-
You can easily update your selection of a proximity placement group in the DR region after replication has been enabled for the VM:
91+
You can easily update your selection of a proximity placement group in the DR region after replication has been enabled for the virtual machine:
9092

9193
1. Select the virtual machine from the vault. On the left pane, under **Operations**, select **Disaster Recovery**.
9294
2. Go to the **Compute and Network** pane and select **Edit**.
93-
3. You can see the options to edit multiple target settings, including the target proximity placement group. Choose the proximity placement group that you want the VM to fail over into, and then select **Save**.
95+
3. You can see the options to edit multiple target settings, including the target proximity placement group. Choose the proximity placement group that you want the virtual machine to fail over into, and then select **Save**.
9496

9597
:::image type="content" source="media/how-to-enable-replication-proximity-placement-groups/proximity-placement-groups-update-h2a.png" alt-text="Screenshot that shows compute and network selections for Hyper-V to Azure.":::
9698

97-
## Set up disaster recovery for VMs in proximity placement groups via PowerShell
99+
## Set up disaster recovery for virtual machines in proximity placement groups via PowerShell
98100

99101
### Prerequisites
100102

@@ -125,7 +127,7 @@ You can easily update your selection of a proximity placement group in the DR re
125127
#Get the resource group that the virtual machine must be created in when it's failed over.
126128
$RecoveryRG = Get-AzResourceGroup -Name "a2ademorecoveryrg" -Location "West US 2"
127129
128-
#Specify replication properties for each disk of the VM that will be replicated (create disk replication configuration).
130+
#Specify replication properties for each disk of the virtual machine that will be replicated (create disk replication configuration).
129131
#Make sure to replace the variable $OSdiskName with the OS disk name.
130132
131133
#OS Disk
@@ -162,7 +164,7 @@ You can easily update your selection of a proximity placement group in the DR re
162164
#Get the resource group that the virtual machine must be created in when it's failed over.
163165
$RecoveryRG = Get-AzResourceGroup -Name "a2ademorecoveryrg" -Location "West US 2"
164166
165-
#Specify replication properties for each disk of the VM that will be replicated (create disk replication configuration).
167+
#Specify replication properties for each disk of the virtual machine that will be replicated (create disk replication configuration).
166168
#Make sure to replace the variable $OSdiskName with the OS disk name.
167169
168170
#OS Disk

0 commit comments

Comments
 (0)