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

CNIL
Metrics and Logs

(formerly, Opvizor Performance Analyzer)

VMware vSphere & Cloud
PERFORMANCE MONITORING, LOG ANALYSIS, LICENSE COMPLIANCE!

Monitor and Analyze Performance and Log files:
Performance monitoring for your systems and applications with log analysis (tamperproof using immudb) and license compliance (RedHat, Oracle, SAP and more) in one virtual appliance!

Subscribe to Our Newsletter

Get the latest product updates, company news, and special offers delivered right to your inbox.
Share on twitter
Share on linkedin
Share on facebook
Share on email

Subscribe to our newsletter

White Paper — Registration

We will send you the research paper via email.

CodeNotary — Webinar

White Paper — Registration

Please let us know who you are, so we can send you the CodeNotary Trusted Software Supply Chain white paper.

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.