As I explained before on my last article [Virtual Machine (VM) Backup and Restore (Vault)] that we can use the Azure recovery services vault for taking backup and doing a restore from azure VM using recovery services vault also the same services can be used to migrate your local VM from V-center to Azure using (Recovery services vault site recovery) and in this post, we will explain how to use this services recovery vault to Move VM between two rejoin and to do failover easily for the VM. Let’s go for technical steps
To know more information about azure services check my (Latest Microsoft Azure Articles and Posts)
- How to build replication on VM
- How to do Test Failover
- How to do Real Failover
How to Build VM Replication Using Recovery Service Vault
- You need to create New Recovery services vault and it recommended to create it on the location of the destination location you will replicate your VM on it
- After creating the vault services, you will find on the top replication icon click on it to enable the replication by selecting the source information and distention information and the VM you need to replicate it
- After this click on enable replication
- During the process you can keep monitoring the activities from the left you will find Site Recovery Jobs from this place you can check all of the activities running
- After this you can select from the left Replicated Items to check the synchronization status percentage % between source and destination once the status is converted to PROTECTED you can do your test failover then real failover from Source to destination
- The same information of the replication status you can get it by another way when you open your services recovery vault on the top you will find Site recovery this page will go you heath check status chart
- If you click on the status row in the page of Replicated Items you can discover the Infrastructure Replication and more other information about the replication status
How to do Test Failover
In Azure VM Replication we have two options test Failover and Failover
- Open recovery service vault and select from the left replicated item right-click on the replication you build it and select Test Failover
- From the notification on the top, you can click on the test failover notification to keep monitoring the test failover process.
- Test Failover will support you to validate the failover process before going for Production failover “Very helpful feature”
Test Failover will not affect your source VM at all it is a test scenario only but in real test, your Source VM will be shutdown Once it is succeeded you can do your real failover without any issue.
How to do Real failover
- Open recovery service vault and select from the left replicated item right-click on the replication you build and select Cleanup test Failover if you need to clean the test failover then do real failover
- From the notification on the top, you can click on the failover notification to keep monitoring the failover process.