Migration options for a virtual machine are greyed out though vMotion is licensed
search cancel

Migration options for a virtual machine are greyed out though vMotion is licensed

book

Article ID: 316570

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

Symptoms:
  • Right-clicking a virtual machine in vCenter Server the Migration option is greyed out.


Environment

VMware vCenter Server 7.0.x
VMware vCenter Server 6.7.x
VMware vCenter Server 6.5.x
VMware vCenter Server 6.0.x

Cause

This issue can occur after a virtual machine backup completes and the entries from the vCenter Server database vpx_disabled_methods table are not removed.

Resolution

Manually remove entries from the vCenter Mob:

  1. Identify the VM's MOB ID
    1. Open a web browser to the vCenter Server's Flex (Flash) or vSphere Client (HTML5)
    2. In the left hand side inventory, select the affected VM's object
    3. With the VM selected and highlighted, in the URL bar, review the string and look for "VirtualMachine:vm-xx"
Example:
https://ExamplevCenterFQDNorIP/ui/#?extensionId=vsphere.core.vm.summary&objectId=urn:vmomi:VirtualMachine:vm-141:6092ad44-b617-4b32-be19-3445fc35c5ba&navigator=vsphere.core.viTree.hostsAndClustersView

In this example VM's MOB ID is vm-141.
  1. ​​​​​​Access the Virtual Machine Operations by opening a web browser to: 
https://ExamplevCenterFQDNorIP/mob/?moid=AuthorizationManager&method=enableMethods
  1. Login with administrator@yourssodomain.local or an SSO admin user.
For example: [email protected]
  1. The below page will appear:
Entity disabled method
  1. In the first parameter entity value box, replace MOID with the VM's MOB ID
For example:

<!-- array start -->
<entity type="ManagedEntity" xsi:type="ManagedObjectReference">vm-141</entity>
<!-- array end -->


replace MOID
  1. In the second parameter entity value box, enter this command:
<method>RelocateVM_Task</method>

relocate vm task
 
  1. Click on Invoke Method
 
  1. Refresh the vCenter Server web client and the migration option for the VM should now be available. If the issues persist: