vMotion Greyed Out
Okay… This was a first for me. I was in VCSA and went to vMotion a VM, a totally normal task. However, upon clicking on the VM and trying to run the vMotion, it option was greyed out. WHAT THE HECK!?!
Well, thankfully it ended up being a simple fix. Apparently, this can happen if the VCSA database does not get properly updated after a backup job. Here’s how to re-enable it.
Manually remove entries from the vCenter Mob:
- Identify the VM’s MOB ID
- Open a web browser and go to the vCenter vSphere Client (HTML5)
- In the left hand side inventory, select the affected VM’s object
- With the VM selected and highlighted, in the URL bar, review the string and look for “VirtualMachine:vm-xx“
In this example VM’s MOB ID is vm-69.
- Access the Virtual Machine Operations by opening a web browser to:
- Login with firstname.lastname@example.org or an SSO admin user (email@example.com)
- The below page will appear:
- In the first parameter entity value box, replace MOID with the VM’s MOB ID
<!– array start –>
<entity type=”ManagedEntity” xsi:type=”ManagedObjectReference”>vm-69</entity>
<!– array end –>
- In the second parameter entity value box, enter this command:
- Click on “Invoke Method” in the lower right corner.
- Refresh the vCenter Server web client and the migration option for the VM should now be available. If the issue persists, try restarting all of the vCenter Server services.
Here is VMware’s KB about it.