Migrate option is grayed out on a powered-off virtual machine

Symptoms

  • The migrate option is grayed out on a powered-off virtual machine in vSphere Client.

Image

  • You cannot migrate a powered-off virtual machine.
  • In the vSphere Client, when you click the Migrate option in the Summary tab for a virtual machine, you see the error:

Call "VirtualMachine.Relocate" for object "Virtual Machine-NAME" on vCenter Server "vCenter-Name" failed

  • The virtual machine does not show as orphaned in vCenter Server.

Cause

This issue can occur if the virtual machine is improperly registered on the vCenter Server Inventory.

Resolution

To resolve this issue, remove the virtual machine from the vCenter Server Inventory and add it back.To remove the virtual machine and add it back to the Inventory :

Caution: Before performing these steps, make a note of the datastore that the virtual machine resides on.

  1. In the vSphere Client, right-click the powered-off virtual machine and click Remove from Inventory.
  2. Click Yes when prompted to confirm the removal.
  3. Click Home Inventory Datastores and Datastore Clusters.
  4. Click the Datastores and Datastore Clusters tab.
  5. Right-click the datastore and click Browse Datastore.
  6. Double-click the virtual machine which was previously removed from the Inventory.
  7. Right-click the .vmx file and click Add to Inventory.
  8. Follow the steps in the Add to Inventory wizard to add the virtual machine back to the Inventory.
  9. Click Home > Inventory > Hosts and Clusters.
  10. Right-click the virtual machine. The migrate option is now available.

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

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s