|
| 1 | +--- |
| 2 | +title: Customize networking configurations for failover VM | Microsoft Docs |
| 3 | +description: Provides an overview of customize networking configurations for failover VM in the replication of Azure VMs using Azure Site Recovery. |
| 4 | +services: site-recovery |
| 5 | +author: rajani-janaki-ram |
| 6 | +manager: rochakm |
| 7 | +ms.service: site-recovery |
| 8 | +ms.topic: article |
| 9 | +ms.date: 08/07/2019 |
| 10 | +ms.author: rajanaki |
| 11 | + |
| 12 | +--- |
| 13 | +# Customize networking configurations of the target Azure VM |
| 14 | + |
| 15 | +This article provides guidance on customizing networking configurations on the target Azure VM when you're replicating and recovering Azure VMs from one region to another, using [Azure Site Recovery](site-recovery-overview.md). |
| 16 | + |
| 17 | +## Before you start |
| 18 | + |
| 19 | +Learn how Site Recovery provides disaster recovery for [this scenario](azure-to-azure-architecture.md). |
| 20 | + |
| 21 | +## Support networking resources |
| 22 | + |
| 23 | +The following key resource configurations can be provided for the failover VM while replicating Azure VMs. |
| 24 | + |
| 25 | +- [Internal Load Balancer](https://docs.microsoft.com/azure/load-balancer/load-balancer-standard-overview#what-is-standard-load-balancer) |
| 26 | +- [Public IP](https://docs.microsoft.com/azure/virtual-network/virtual-network-ip-addresses-overview-arm#public-ip-addresses) |
| 27 | +- [Network Security Group](https://docs.microsoft.com/azure/virtual-network/manage-network-security-group) both for the subnet and for the NIC |
| 28 | + |
| 29 | +## Pre-requisites |
| 30 | + |
| 31 | +- Ensure that you plan your recovery side configurations in advance. |
| 32 | +- You need to create the networking resources in advance. Provide it as an input so that Azure Site Recovery service can honor these settings and ensure that the failover VM adheres to these settings. |
| 33 | + |
| 34 | +## Steps to customize failover networking configurations |
| 35 | + |
| 36 | +1. Navigate to **Replicated Items**. |
| 37 | +2. Click on the desired Azure VM. |
| 38 | +3. Click on **Compute and Network**, and **Edit**. You will notice that the NIC configuration settings include the corresponding resources at the source. |
| 39 | + |
| 40 | +  |
| 41 | + |
| 42 | +4. Click **Edit** near the NIC you want to configure. In the next blade that opens up, select the corresponding pre-created resources in the target. |
| 43 | + |
| 44 | +  |
| 45 | + |
| 46 | +5. Click **OK**. |
| 47 | + |
| 48 | +Site Recovery will now honor these settings and ensure that the VM on failover is connected to the selected resource via the corresponding NIC. |
| 49 | + |
| 50 | +## Troubleshooting |
| 51 | + |
| 52 | +### Unable to view or select a resource |
| 53 | + |
| 54 | +If you are unable to select or view a networking resource, please go through the following checks & conditions: |
| 55 | + |
| 56 | +- The target field for a networking resource is only enabled if the source VM had a corresponding input. This is based on the principle that for a disaster recovery scenario, you would want either the exact or a scaled down version of your source. |
| 57 | +- For each of the networking resources in question some filters are applied in the dropdown to ensure that the failover VM can attach itself to the resource selected and the failover reliability is maintained. These filters are based on the same networking conditions that would have been verified when you configured the source VM. |
| 58 | + |
| 59 | +Internal load balancer validations: |
| 60 | + |
| 61 | +1. Subscription and Region of LB and the target VM should be the same. |
| 62 | +2. The virtual network associated with the Internal Load Balancer and that of the target VMshould be the same. |
| 63 | +3. The target VM’s Public IP SKU and the Internal Loadbalancer's SKU should be the same. |
| 64 | +4. If the target VM is configured to be placed in an availability zone, then check if the load balancer is zone redundant or part of any availability zone. (Basic SKU Load Balancers do not support zones and will not be shown in the drop-down in this case.) |
| 65 | +5. Ensure that the Internal LoadBalancer has a pre-created backend pool and front-end configuration. |
| 66 | + |
| 67 | + |
| 68 | +Public IP address: |
| 69 | + |
| 70 | +1. Subscription and Region of Public IP and the target VM should be the same. |
| 71 | +2. The target VM’s Public IP SKU and the Internal Loadbalancer's SKU should be the same. |
| 72 | + |
| 73 | +Network security group: |
| 74 | +1. Subscription and Region of Network security group and the target VM should be the same. |
| 75 | + |
| 76 | + |
| 77 | +> [!WARNING] |
| 78 | +> If the target VM is associated to an Availability Set, then you need to associate the Public IP/Internal Load balancer of the same SKU as that of other VM's Public IP/Internal Load balancer in the Availability Set. Failure to do so could result in failover failure. |
0 commit comments