lunes, 2 de septiembre de 2013

VMWare migrating vm the method is disabled by vm-xxxx


This error appears migrating virtual machine, storage vmotion fails with the error: vmware migrating vm the method is disabled by vm-xxxx, remove from inventory and delete from disk options are grayed out.

This issue occurs because the entries from VPX_DISABLED_METHODS table are not removed after a VM backup.
When a VM backup begins the backup engine informs vcenter to disable Storage vmotion for that VM, ensuring that backup can complete succesfully.

Resolution:

- Schedule another backup of virtual machine, once backup is completed succesfully, entry on VPX_DISABLED_METHODS is automatically removed.

If the preceding resolution doesn't work:

- Remove an re-add the VM from the inventory

Backup your vcenter database first!!!

1.- Poweroff VM
2.- in vSphere Client right-click the VM and click Remove from inventory
3.- Browse the datastore where the VM resides.
4.- Right-click the .vmx file of the VM and click Add to inventory
5.- Poweron the VM and retry de Storage vMotion.