Muokkaa

Jaa


Troubleshoot failback to on-premises from Azure

This article describes how to troubleshoot issues you might encounter when you fail back Azure VMs to your on-premises VMware infrastructure, after failover to Azure by using Azure Site Recovery.

Failback essentially involves two main steps. For the first step, after failover, you need to reprotect Azure VMs to on-premises so that they start replicating. The second step is to run a failover from Azure to fail back to your on-premises site.

Common issues

  • If you perform a read-only user vCenter discovery and protect virtual machines, protection succeeds, and failover works. During reprotection, failover fails because the datastores can't be discovered. A symptom is that the datastores aren't listed during reprotection. To resolve this problem, you can update the vCenter credentials with an appropriate account that has permissions and then retry the job.
  • When you fail back a Linux virtual machine and run it on-premises, you can see that the Network Manager package has been uninstalled from the machine. This uninstallation occurs because the Network Manager package is removed when the virtual machine is recovered in Azure.
  • When a Linux virtual machine is configured with a static IP address and is failed over to Azure, the IP address is acquired from DHCP. When you fail over to on-premises, the virtual machine continues to use DHCP to acquire the IP address. Manually sign in to the machine, and then set the IP address back to a static address if necessary. A Windows virtual machine can acquire its static IP address again.
  • If you use either the ESXi 5.5 free edition or the vSphere 6 Hypervisor free edition, failover succeeds, but failback doesn't succeed. To enable failback, upgrade to either program's evaluation license.
  • If you can't reach the configuration server from the process server, use Telnet to check connectivity to the configuration server on port 443. You can also try to ping the configuration server from the process server. A process server should also have a heartbeat when it's connected to the configuration server.
  • A Windows Server 2008 R2 SP1 server that is protected as a physical on-premises server can't be failed back from Azure to an on-premises site.
  • You can't fail back in the following circumstances:
    • You migrated machines to Azure.
    • You moved a VM to another resource group.
    • You deleted the Azure VM.
    • You disabled protection of the VM.
    • You created the VM manually in Azure. The machine should have been initially protected on-premises and failed over to Azure before reprotection.
    • You can fail only to an ESXi host. You can't failback VMware VMs or physical servers to Hyper-V hosts, physical machines, or VMware workstations.

Troubleshoot reprotection errors

This section details common reprotection errors and how to correct them.

Error code 95226

Reprotect failed as the Azure virtual machine was not able to reach the on-premises configuration server.

This error occurs when:

  • The Azure VM can't reach the on-premises configuration server. The VM can't be discovered and registered to the configuration server.
  • The InMage Scout application service isn't running on the Azure VM after failover. The service is needed for communications with the on-premises configuration server.

To resolve this issue:

  • Check that the Azure VM network allows the Azure VM to communicate with the on-premises configuration server. You can either set up a site-to-site VPN to your on-premises datacenter or configure an Azure ExpressRoute connection with private peering on the virtual network of the Azure VM.
  • If the VM can communicate with the on-premises configuration server, sign in to the VM. Then check the InMage Scout application service. If you see that it's not running, start the service manually. Check that the service start type is set to Automatic.

Error code 78052

Protection couldn't be completed for the virtual machine.

This issue can happen if there's already a VM with the same name on the master target server to which you're failing back.

To resolve this issue:

  • Select a different master target server on a different host so that reprotection creates the machine on a different host, where the names don't collide.
  • You also can use VMotion to move the master target to a different host where the name collision won't happen. If the existing VM is a stray machine, rename it so that the new VM can be created on the same ESXi host.

Error code 78093

The VM is not running, not responding, or not accessible.

To resolve this issue:

To reprotect a failed-over VM, the Azure VM must be running so that Mobility Service registers with the configuration server on-premises and can start replicating by communicating with the process server. If the machine is on an incorrect network or isn't running (not responding or shut down), the configuration server can't reach Mobility Service on the VM to begin reprotection.

  • Restart the VM so that it can start communicating back on-premises.
  • Restart the reprotect job after you start the Azure virtual machine.

Error code 8061

The datastore is not accessible from ESXi host.

Check the master target prerequisites and supported data stores for failback.

Troubleshoot failback errors

This section describes common errors you might encounter during failback.

Error code 8038

Failed to bring up the on-premises virtual machine due to the error.

This issue happens when the on-premises VM is brought up on a host that doesn't have enough memory provisioned.

To resolve this issue:

  • Provision more memory on the ESXi host.
  • In addition, you can use VMotion to move the VM to another ESXi host that has enough memory to boot the VM.