Fail over Azure VMware Solution VMs

This article describes how to fail over an Azure VMware Solution VM to Azure with Azure Site Recovery.

This is the fifth tutorial in a series that shows you how to set up disaster recovery to Azure for Azure VMware Solution VMs.

In this tutorial, you learn how to:

  • Verify that the Azure VMware Solution VM properties conform with Azure requirements.
  • Fail over specific VMs to Azure.


Tutorials show you the simplest deployment path for a scenario. They use default options where possible and don't show all possible settings and paths. If you want to learn about failover in detail, see Fail over VMs.

Learn about different types of failover. If you want to fail over multiple VMs in a recovery plan, review this article.

Before you start

Complete the previous tutorials:

  1. Make sure you've set up Azure for disaster recovery to Azure.
  2. Follow these steps to prepare your Azure VMware Solution deployment for disaster recovery to Azure.
  3. Set up disaster recovery for Azure VMware Solution VMs.
  4. Run a disaster recovery drill to make sure that everything's working as expected.

Verify VM properties

Before you run a failover, check the VM properties to make sure that the VMs meet Azure requirements.

Verify properties as follows:

  1. In Protected Items, select Replicated Items, and then select the VM you want to verify.

  2. In the Replicated item pane, there's a summary of VM information, health status, and the latest available recovery points. Select Properties to view more details.

  3. In Compute and Network, you can modify these properties as needed:

  4. You can view and modify network settings, including:

    • The network and subnet in which the Azure VM will be located after failover.
    • The IP address that will be assigned to it.
  5. In Disks, you can see information about the operating system and data disks on the VM.

Run a failover to Azure

  1. In Settings > Replicated items, select the VM you want to fail over, and then select Failover.

  2. In Failover, select a Recovery Point to fail over to. You can use one of the following options:

    • Latest: This option first processes all the data sent to Site Recovery. It provides the lowest Recovery Point Objective (RPO) because the Azure VM that's created after failover has all the data that was replicated to Site Recovery when the failover was triggered.
    • Latest processed: This option fails the VM over to the latest recovery point processed by Site Recovery. This option provides a low RTO (Recovery Time Objective) because no time is spent processing unprocessed data.
    • Latest app-consistent: This option fails the VM over to the latest app-consistent recovery point processed by Site Recovery.
    • Custom: This option lets you specify a recovery point.
  3. Select Shut down machine before beginning failover to attempt to shut down source VMs before triggering the failover. Failover continues even if the shutdown fails. You can follow the failover progress on the Jobs page.

In some scenarios, failover requires additional processing that takes around 8 to 10 minutes to complete. You might notice longer test failover times for:

  • VMware vSphere VMs running a Mobility service version older than 9.8.
  • VMware vSphere Linux VMs.
  • VMware vSphere VMs that don't have the DHCP service enabled.
  • VMware vSphere VMs that don't have the following boot drivers: storvsc, vmbus, storflt, intelide, atapi.


Don't cancel a failover in progress. Before failover is started, VM replication is stopped. If you cancel a failover in progress, failover stops, but the VM won't replicate again.

Connect to failed-over VM

  1. If you want to connect to Azure VMs after failover by using Remote Desktop Protocol (RDP) and Secure Shell (SSH), verify that the requirements have been met.
  2. After failover, go to the VM and validate by connecting to it.
  3. Use Change recovery point if you want to use a different recovery point after failover. After you commit the failover in the next step, this option will no longer be available.
  4. After validation, select Commit to finalize the recovery point of the VM after failover.
  5. After you commit, all the other available recovery points are deleted. This step completes the failover.


If you encounter any connectivity issues after failover, follow the troubleshooting guide.

Next steps

After failover, reprotect the Azure VMs to Azure VMware Solution private cloud. Then, after the VMs are reprotected and replicating to the Azure VMware Solution private cloud, fail back from Azure when you're ready.