kb-vmware-vm-vmotion-fails-because-of-multiple-vm-registration

A pretty old Knowledge Base article has been updated by VMware as the issue is still existing when running vSphere 6.

vMotion fails

Photo courtesy of griffithchris(CC Attribution)

Symptoms

Looking at the symptoms mentioned in VMware KB 1005051:

  • Virtual machine appears to be running or registered on multiple ESX/ESXi hosts:
  • This issue occurs when:
    • A vMotion fails to complete correctly or times out in VirtualCenter.
    • A DRS issue where virtual machines are migrated by vMotion automatically in quick succession.
    • When a machine is powered on during VMware HA failover.
    • The Service Console on an ESX/ESXi host is low on memory starving the vpxa process.
  • In vCenter Server, you see the virtual machine as appearing on one ESX/ESXi host for a few seconds, then it seems to be on the other.
  • The virtual machine may appear to jump back and forth among different ESX/ESXi hosts.

Cause

Guess what? The virtual machine does not just appear to be registered multiple times on different hosts, it really is. Therefore you need to find the VM on the ESXi host you really want to run it and go from there.

That can also happen when a vMotion process was done while the vCenter crashed. vMotion continues to run and finish the migration but vCenter will remember the VM on the old host and detect another on the destination host. In that case you should do a host disconnect, reconnect or a management process restart on the old (origin) ESXi host first.

Detection using Health Analyzer

Using Health Analyzer you can easily detect that issue as we raise a yellow flag for a duplicate VM registration.

Check your environment here in a free and fast manor: Sign Up for Health Analyzer

Resolution

Basically you need to find out what VM is causing it and unregister it. The complete step by step guide can be found in the KB article itself:

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1005051

RELATED ARTICLES

Save energy without reducing VM performance in your VMware vSphere cluster
16 August 2022
Over the last couple of decades energy consumption went up massively in every data center and while the…
Dennis
Metrics & Logs support for IoT - Bringing Secure Monitoring and Logging to the Edge
7 July 2022
Simple uptime monitoring for Internet-of-Things (IoT) is well-known and requires knowing if the devices are up and running.…
Dennis
Monitoring Azure SQL Managed Instance with Opvizor Metrics & Logs
17 January 2022
When you have critical applications and business processes that rely on Azure resources, it's critical to keep an…
Dennis

White Paper — Registration

You will receive the research paper by mail.

Codenotary — Webinar

White Paper — Registration

Please let us know where we can send the whitepaper on Codenotary Trusted Software Supply Chain. 

Become a partner

Start Your Trial

Please enter contact information to receive an email with the virtual appliance download instructions.

Start Free Trial

Please enter contact information to receive an email with the free trial details.

Subscribe to our newsletter