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
Copy file name to clipboardExpand all lines: articles/site-recovery/how-to-enable-replication-proximity-placement-groups.md
+31-31Lines changed: 31 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: Replicate Azure VMs running in Proximity Placement Groups with Azure Site Recovery
3
3
description: Learn how to replicate Azure VMs running in Proximity Placement Groups using Azure Site Recovery.
4
-
author: sharrai
4
+
author: Sharmisth-Rai
5
5
manager: gaggupta
6
6
ms.topic: how-to
7
7
ms.date: 05/25/2020
@@ -12,7 +12,7 @@ ms.date: 05/25/2020
12
12
13
13
This article describes how to replicate, failover and failback virtual machines running in a Proximity Placement Group to a secondary region.
14
14
15
-
[Proximity Placement Groups](https://docs.microsoft.com/en-us/azure/virtual-machines/windows/proximity-placement-groups-portal) is an Azure Virtual Machine logical grouping capability that you can use to decrease the inter-VM network latency associated with your applications. When the VMs are deployed within the same proximity placement group, they are physically located as close as possible to each other. Proximity placement groups are particularly useful to address the requirements of latency-sensitive workloads.
15
+
[Proximity Placement Groups](https://docs.microsoft.com/azure/virtual-machines/windows/proximity-placement-groups-portal) is an Azure Virtual Machine logical grouping capability that you can use to decrease the inter-VM network latency associated with your applications. When the VMs are deployed within the same proximity placement group, they are physically located as close as possible to each other. Proximity placement groups are particularly useful to address the requirements of latency-sensitive workloads.
16
16
17
17
## Disaster recovery with proximity placement groups
18
18
@@ -26,21 +26,21 @@ In a typical scenario, you may have your virtual machines running in a proximity
26
26
27
27
## Prerequisites
28
28
29
-
1. Make sure that you have the Azure PowerShell Az module. If you need to install or upgrade Azure PowerShell, follow this [Guide to install and configure Azure PowerShell](https://docs.microsoft.com/en-us/powershell/azure/install-az-ps).
29
+
1. Make sure that you have the Azure PowerShell Az module. If you need to install or upgrade Azure PowerShell, follow this [Guide to install and configure Azure PowerShell](https://docs.microsoft.com/powershell/azure/install-az-ps).
30
30
31
31
## Set up Site Recovery for Virtual Machines in Proximity Placement Group
32
32
33
33
### Azure to Azure
34
34
35
-
1.[Sign in](https://docs.microsoft.com/en-us/azure/site-recovery/azure-to-azure-powershell#sign-in-to-your-microsoft-azure-subscription) to your account and set your subscription.
36
-
2. Get the details of the virtual machine you’re planning to replicate as mentioned [here](https://docs.microsoft.com/en-us/azure/site-recovery/azure-to-azure-powershell#get-details-of-the-virtual-machine-to-be-replicated).
37
-
3.[Create](https://docs.microsoft.com/en-us/azure/site-recovery/azure-to-azure-powershell#create-a-recovery-services-vault) your recovery services vault and [set](https://docs.microsoft.com/en-us/azure/site-recovery/azure-to-azure-powershell#set-the-vault-context) the vault context.
38
-
4. Prepare the vault to start replication virtual machine. This involves creating a [service fabric object](https://docs.microsoft.com/en-us/azure/site-recovery/azure-to-azure-powershell#create-a-site-recovery-fabric-object-to-represent-the-primary-source-region) for both primary and recovery regions.
39
-
5.[Create](https://docs.microsoft.com/en-us/azure/site-recovery/azure-to-azure-powershell#create-a-site-recovery-protection-container-in-the-primary-fabric) a site recovery protection container, for both the primary and recovery fabrics.
40
-
6.[Create](https://docs.microsoft.com/en-us/azure/site-recovery/azure-to-azure-powershell#create-a-replication-policy) a replication policy.
41
-
7. Create a protection container mapping between primary and recovery protection container using [these](https://docs.microsoft.com/en-us/azure/site-recovery/azure-to-azure-powershell#create-a-protection-container-mapping-between-the-primary-and-recovery-protection-container) steps and a protection container mapping for failback as mentioned [here](https://docs.microsoft.com/en-us/azure/site-recovery/azure-to-azure-powershell#create-a-protection-container-mapping-for-failback-reverse-replication-after-a-failover).
42
-
8. Create cache storage account by following [these](https://docs.microsoft.com/en-us/azure/site-recovery/azure-to-azure-powershell#create-cache-storage-account-and-target-storage-account) steps.
43
-
9. Create the required network mappings as mentioned [here](https://docs.microsoft.com/en-us/azure/site-recovery/azure-to-azure-powershell#create-network-mappings).
35
+
1.[Sign in](https://docs.microsoft.com/azure/site-recovery/azure-to-azure-powershell#sign-in-to-your-microsoft-azure-subscription) to your account and set your subscription.
36
+
2. Get the details of the virtual machine you’re planning to replicate as mentioned [here](https://docs.microsoft.com/azure/site-recovery/azure-to-azure-powershell#get-details-of-the-virtual-machine-to-be-replicated).
37
+
3.[Create](https://docs.microsoft.com/azure/site-recovery/azure-to-azure-powershell#create-a-recovery-services-vault) your recovery services vault and [set](https://docs.microsoft.com/azure/site-recovery/azure-to-azure-powershell#set-the-vault-context) the vault context.
38
+
4. Prepare the vault to start replication virtual machine. This involves creating a [service fabric object](https://docs.microsoft.com/azure/site-recovery/azure-to-azure-powershell#create-a-site-recovery-fabric-object-to-represent-the-primary-source-region) for both primary and recovery regions.
39
+
5.[Create](https://docs.microsoft.com/azure/site-recovery/azure-to-azure-powershell#create-a-site-recovery-protection-container-in-the-primary-fabric) a site recovery protection container, for both the primary and recovery fabrics.
40
+
6.[Create](https://docs.microsoft.com/azure/site-recovery/azure-to-azure-powershell#create-a-replication-policy) a replication policy.
41
+
7. Create a protection container mapping between primary and recovery protection container using [these](https://docs.microsoft.com/azure/site-recovery/azure-to-azure-powershell#create-a-protection-container-mapping-between-the-primary-and-recovery-protection-container) steps and a protection container mapping for failback as mentioned [here](https://docs.microsoft.com/azure/site-recovery/azure-to-azure-powershell#create-a-protection-container-mapping-for-failback-reverse-replication-after-a-failover).
42
+
8. Create cache storage account by following [these](https://docs.microsoft.com/azure/site-recovery/azure-to-azure-powershell#create-cache-storage-account-and-target-storage-account) steps.
43
+
9. Create the required network mappings as mentioned [here](https://docs.microsoft.com/azure/site-recovery/azure-to-azure-powershell#create-network-mappings).
44
44
10. To replicate Azure virtual machine with managed disks, use the below PowerShell cmdlet –
45
45
46
46
```azurepowershell
@@ -84,8 +84,8 @@ Monitor the replication state and replication health for the virtual machine by
11. To do a test failover, validate and cleanup test failover, follow [these](https://docs.microsoft.com/en-us/azure/site-recovery/azure-to-azure-powershell#do-a-test-failover-validate-and-cleanup-test-failover) steps.
88
-
12. To failover, follow the steps as mentioned [here](https://docs.microsoft.com/en-us/azure/site-recovery/azure-to-azure-powershell#fail-over-to-azure).
87
+
11. To do a test failover, validate and cleanup test failover, follow [these](https://docs.microsoft.com/azure/site-recovery/azure-to-azure-powershell#do-a-test-failover-validate-and-cleanup-test-failover) steps.
88
+
12. To failover, follow the steps as mentioned [here](https://docs.microsoft.com/azure/site-recovery/azure-to-azure-powershell#fail-over-to-azure).
89
89
13. To reprotect and failback to the source region, use the below PowerShell cmdlet –
14. To disable replication, follow the steps [here](https://docs.microsoft.com/en-us/azure/site-recovery/azure-to-azure-powershell#disable-replication).
99
+
14. To disable replication, follow the steps [here](https://docs.microsoft.com/azure/site-recovery/azure-to-azure-powershell#disable-replication).
100
100
101
101
### VMware to Azure
102
102
103
-
1. Make sure that you [prepare your on-premises VMware servers](https://docs.microsoft.com/en-us/azure/site-recovery/vmware-azure-tutorial-prepare-on-premises) for disaster recovery to Azure.
104
-
2. Sign in to your account and set your subscription as specified [here](https://docs.microsoft.com/en-us/azure/site-recovery/vmware-azure-disaster-recovery-powershell#log-into-azure).
105
-
3.[Set up](https://docs.microsoft.com/en-us/azure/site-recovery/vmware-azure-disaster-recovery-powershell#set-up-a-recovery-services-vault) a Recovery Services Vault and [set vault context](https://docs.microsoft.com/en-us/azure/site-recovery/vmware-azure-disaster-recovery-powershell#set-the-vault-context).
106
-
4.[Validate](https://docs.microsoft.com/en-us/azure/site-recovery/vmware-azure-disaster-recovery-powershell#validate-vault-registration) your vault registration.
107
-
5.[Create](https://docs.microsoft.com/en-us/azure/site-recovery/vmware-azure-disaster-recovery-powershell#create-a-replication-policy) a replication policy.
108
-
6.[Add](https://docs.microsoft.com/en-us/azure/site-recovery/vmware-azure-disaster-recovery-powershell#add-a-vcenter-server-and-discover-vms) a vCenter server and discover virtual machines and [create](https://docs.microsoft.com/en-us/azure/site-recovery/vmware-azure-disaster-recovery-powershell#create-storage-accounts-for-replication) storage accounts for replication.
103
+
1. Make sure that you [prepare your on-premises VMware servers](https://docs.microsoft.com/azure/site-recovery/vmware-azure-tutorial-prepare-on-premises) for disaster recovery to Azure.
104
+
2. Sign in to your account and set your subscription as specified [here](https://docs.microsoft.com/azure/site-recovery/vmware-azure-disaster-recovery-powershell#log-into-azure).
105
+
3.[Set up](https://docs.microsoft.com/azure/site-recovery/vmware-azure-disaster-recovery-powershell#set-up-a-recovery-services-vault) a Recovery Services Vault and [set vault context](https://docs.microsoft.com/azure/site-recovery/vmware-azure-disaster-recovery-powershell#set-the-vault-context).
106
+
4.[Validate](https://docs.microsoft.com/azure/site-recovery/vmware-azure-disaster-recovery-powershell#validate-vault-registration) your vault registration.
107
+
5.[Create](https://docs.microsoft.com/azure/site-recovery/vmware-azure-disaster-recovery-powershell#create-a-replication-policy) a replication policy.
108
+
6.[Add](https://docs.microsoft.com/azure/site-recovery/vmware-azure-disaster-recovery-powershell#add-a-vcenter-server-and-discover-vms) a vCenter server and discover virtual machines and [create](https://docs.microsoft.com/azure/site-recovery/vmware-azure-disaster-recovery-powershell#create-storage-accounts-for-replication) storage accounts for replication.
109
109
7. To replicate VMware Virtual Machines, check the details here and follow the below PowerShell cmdlet –
9. Configure the failover settings by following the steps [here](https://docs.microsoft.com/en-us/azure/site-recovery/vmware-azure-disaster-recovery-powershell#configure-failover-settings).
134
-
10.[Run](https://docs.microsoft.com/en-us/azure/site-recovery/vmware-azure-disaster-recovery-powershell#run-a-test-failover) a test failover.
135
-
11. Failover to Azure using [these](https://docs.microsoft.com/en-us/azure/site-recovery/vmware-azure-disaster-recovery-powershell#fail-over-to-azure) steps.
133
+
9. Configure the failover settings by following the steps [here](https://docs.microsoft.com/azure/site-recovery/vmware-azure-disaster-recovery-powershell#configure-failover-settings).
134
+
10.[Run](https://docs.microsoft.com/azure/site-recovery/vmware-azure-disaster-recovery-powershell#run-a-test-failover) a test failover.
135
+
11. Failover to Azure using [these](https://docs.microsoft.com/azure/site-recovery/vmware-azure-disaster-recovery-powershell#fail-over-to-azure) steps.
136
136
137
137
### Hyper-V to Azure
138
138
139
-
1. Make sure that you [prepare your on-premises Hyper-V servers](https://docs.microsoft.com/en-us/azure/site-recovery/hyper-v-prepare-on-premises-tutorial) for disaster recovery to Azure.
140
-
2.[Sign in](https://docs.microsoft.com/en-us/azure/site-recovery/hyper-v-azure-powershell-resource-manager#step-1-sign-in-to-your-azure-account) to Azure.
141
-
3.[Set up](https://docs.microsoft.com/en-us/azure/site-recovery/hyper-v-azure-powershell-resource-manager#step-2-set-up-the-vault) your vault and [set](https://docs.microsoft.com/en-us/azure/site-recovery/hyper-v-azure-powershell-resource-manager#step-3-set-the-recovery-services-vault-context) the Recovery Services Vault context.
142
-
4.[Create](https://docs.microsoft.com/en-us/azure/site-recovery/hyper-v-azure-powershell-resource-manager#step-4-create-a-hyper-v-site) a Hyper-V Site.
143
-
5.[Install](https://docs.microsoft.com/en-us/azure/site-recovery/hyper-v-azure-powershell-resource-manager#step-5-install-the-provider-and-agent) the provider and agent.
144
-
6.[Create](https://docs.microsoft.com/en-us/azure/site-recovery/hyper-v-azure-powershell-resource-manager#step-6-create-a-replication-policy) a replication policy.
139
+
1. Make sure that you [prepare your on-premises Hyper-V servers](https://docs.microsoft.com/azure/site-recovery/hyper-v-prepare-on-premises-tutorial) for disaster recovery to Azure.
140
+
2.[Sign in](https://docs.microsoft.com/azure/site-recovery/hyper-v-azure-powershell-resource-manager#step-1-sign-in-to-your-azure-account) to Azure.
141
+
3.[Set up](https://docs.microsoft.com/azure/site-recovery/hyper-v-azure-powershell-resource-manager#step-2-set-up-the-vault) your vault and [set](https://docs.microsoft.com/azure/site-recovery/hyper-v-azure-powershell-resource-manager#step-3-set-the-recovery-services-vault-context) the Recovery Services Vault context.
142
+
4.[Create](https://docs.microsoft.com/azure/site-recovery/hyper-v-azure-powershell-resource-manager#step-4-create-a-hyper-v-site) a Hyper-V Site.
143
+
5.[Install](https://docs.microsoft.com/azure/site-recovery/hyper-v-azure-powershell-resource-manager#step-5-install-the-provider-and-agent) the provider and agent.
144
+
6.[Create](https://docs.microsoft.com/azure/site-recovery/hyper-v-azure-powershell-resource-manager#step-6-create-a-replication-policy) a replication policy.
145
145
7. Enable replication by using the below steps –
146
146
147
147
a. Retrieve the protectable item that corresponds to the VM you want to protect, as follows:
0 commit comments