Azure: Moving from ASM to ARM with ASR (Part 7) - Failover
Failover
In this blog we will do the actual failover.
Tip: Before we start it’s advisable to check what VM sizes ASR will provide for our target VMs, here the DS2V2 was resized to A5:
https://i1.wp.com/www.prof-its.be/wp/wp-content/uploads/2017/02/vmsizecheck1.png?resize=1024%2C402 https://i1.wp.com/www.prof-its.be/wp/wp-content/uploads/2017/02/vmsizecheck2.png?resize=1024%2C388 https://i0.wp.com/www.prof-its.be/wp/wp-content/uploads/2017/02/vmsizecheck3.png?resize=1024%2C399
Test Failover
Running Test Failovers allow to do some pre checking without interrupting the production environment and gives us good indication on potential issues.
https://i2.wp.com/www.prof-its.be/wp/wp-content/uploads/2017/02/testfailover.png?resize=975%2C964
Test failovers consume resources, so we should clean up the test failover environments if we don’t want large Azure bills at the end of the month
https://i2.wp.com/www.prof-its.be/wp/wp-content/uploads/2017/02/cleanup.png?resize=926%2C503
and confirm we want to delete
https://i2.wp.com/www.prof-its.be/wp/wp-content/uploads/2017/02/cleanup2.png?resize=345%2C425
Unplanned failover
Now instead of selecting test failover plan, we choose unplanned failover were the old environment should be brought down and start the ARM VMs.
https://i2.wp.com/www.prof-its.be/wp/wp-content/uploads/2017/02/plannedfailover.png?resize=1024%2C339
https://i2.wp.com/www.prof-its.be/wp/wp-content/uploads/2017/02/plannedfailover2.png?resize=281%2C437
Now hold on to your seat, cross your fingers and follow the progress in the portal:
https://i1.wp.com/www.prof-its.be/wp/wp-content/uploads/2017/02/plannedfailover3.png?resize=828%2C441
If we configured everything well, we should see that everything is now running in the ARM model:
(don’t mind the shutdown problem, this behaviour is actually the result of the failed VM extentions test on ASM)
https://i1.wp.com/www.prof-its.be/wp/wp-content/uploads/2017/02/plannedfailover4.png?resize=820%2C795
Checking the new resource group shows that all components are in place
https://i1.wp.com/www.prof-its.be/wp/wp-content/uploads/2017/02/plannedfailover5.png?resize=830%2C595 There are still a few things we need to do here, and that will be discussed in the next and last part of this blog series.
Overview
This article is part of a series, check for the overview here: Azure: Moving form ASM to ARM with ASR (TOC)