How to Failover an Azure Site Recovery

This article is the Part-2 or you can say in the continuation of my previous article where I talked about Azure Site Recovery, How to provision the Recovery Service Vault and how to enable replications of Azure VM from a primary region to the secondary region.

In this article we are going to check how to test failover of Azure Site Recovery snapshot.

(1) In the Azure Portal, search for the recovery service vaults and find out the service vault you have just provisioned for the example. When you are inside the service vault, you would find out Replicated Items.

(2) By clicking on Replicated Items you would thee your replicated data since inception.

Replicated Items

 

(3) On the resource list, select a single VM by clicking on the ellipses. You will test failing this one over to the back up site. Here click on Test Failover.

Test Failover

 

(4) Here you would see various options to configure for the failover test as shown below.Click on OK.

      Here we have selected latest processed as a recovery point.

Please note that, a test failover does not impact running virtual machines in the source region. Your source Virtual Machines will continue to run and replicate as normal. 

For the test, a new virtual machine is created with the data that has been replicated and built from the chosen recovery point. The associated resources with that VM, such as Azure storage and NIC is also created in the destination region.

 

(5) Now again, navigate back to Replicated Items. You would see that the VM's status has changed from Protected to Cleanup test failover pending along with the Failover Health is showing as healthy.

Test Failover

This means, the failover has been successful and you can view the resources that the test failover has created in the destination region.

 

(6) If you click on the Status of the VM, ou would see, each job that Azure Site Recovery performed to failover the VM.

 

(7)  Naviage back to the resource gorup, containing the replicated VM. You would see that the following resources are created in the secondary/destination region with a nae appended with the word "test". YOu will also see disks to which your replicated data is being sent. these disks have - ASRreplica appended to them.

The VM, VM disk(s), VNic

You can also see the location is East Us.

 

(8) Now Finally, let us clean up the Test Failover. Again go to Replicated Items in the recovery service vault, click on the ellipses and select CleanUp Test Failover.

CleanUp Test Failover

Note, that during the failover, resources were created in our destination region, a virtual machine, storage and a VNIC will be deleted from the destination region by Azure Site Recovery Vault.

 

(9) You can put a message while cleaning up the resources.

I hope this helps you to understand, Disaster Recovery with Azure Site Recovery with Failover.