VMware vSphere

 View Only
Expand all | Collapse all

Migrate option in VM is grayed out

Bruticusmaximus

BruticusmaximusMar 06, 2019 08:10 PM

Phil52

Phil52Jun 04, 2020 10:50 PM

  • 1.  Migrate option in VM is grayed out

    Posted Mar 06, 2019 06:23 AM

    Hi All,

    I'm trying to migrate one of the VM's to the different data store but migrate option is showing grayed out. All other VM's are fine.

    Thanks

    vmk



  • 2.  RE: Migrate option in VM is grayed out

    Posted Mar 06, 2019 06:48 AM

    Is it possible the VM is using something not available on another host, like the port group it is using? Or it is tied to a host by having PCI or USB device passthrough set, or even connected to a disk in the hosts optical drive?



  • 3.  RE: Migrate option in VM is grayed out

    Posted Mar 06, 2019 07:01 AM

    Actually there are 2 VM's and both have the same VLAN and no PCI, no RDM.

    thanks

    vmk



  • 4.  RE: Migrate option in VM is grayed out

    Posted Mar 06, 2019 09:59 AM

    The "VLAN" selected exists on the destination host?

    The hard disk is not a RDM?

    Does the VM have snapshots?



  • 5.  RE: Migrate option in VM is grayed out

    Posted Mar 06, 2019 11:22 AM

    hi, please check this KB VMware Knowledge Base



  • 6.  RE: Migrate option in VM is grayed out

    Posted Mar 06, 2019 12:00 PM

    Diego my assumption at the moment is that since vmk2014 is trying to avoid "downtime" the VM is running and therefore the KB article linked is not relevant since it is for powered-off VMs.

    In fact he states that the VM is powered on in his 07:20 post further down the topic.



  • 7.  RE: Migrate option in VM is grayed out

    Posted Mar 06, 2019 07:14 AM

    Is the VM powered on OR powered off ?

    Could you try to unregister  and register VM from inventory and then check if that works ?

    regards

    Gayathri



  • 8.  RE: Migrate option in VM is grayed out

    Posted Mar 06, 2019 07:21 AM

    VM is powered on. We need to take downtime. Trying to avoid downtime.



  • 9.  RE: Migrate option in VM is grayed out

    Posted Mar 06, 2019 08:30 PM

    I think diegodco31​ is spot on.

    The mentioned VPX_DISABLED_METHODS are be used by e.g. some VM based backup applications, to avoid VM migrations during the backup. In case the backup doesn't complete successfully (i.e.crashes), the flag may not be removed. I ran into this issue myself some time ago, and the easy fix was to run the backup for the VM again. Once it completed, the grayed out items were available again.


    André



  • 10.  RE: Migrate option in VM is grayed out

    Posted Mar 06, 2019 11:56 PM

    Hi, sorry for the delay.

    I suggest trying Andre solution, run the backup for the VM again.

    If, does not work, try the kb.



  • 11.  RE: Migrate option in VM is grayed out

    Posted Mar 07, 2019 10:25 AM

    Full backup or incremental backup? We are using TSM backup tool. However, today's incremental backup was successful.



  • 12.  RE: Migrate option in VM is grayed out

    Posted Mar 07, 2019 11:56 AM

    Ok took the full backup of the VM through TSM but no luck.



  • 13.  RE: Migrate option in VM is grayed out

    Posted Mar 07, 2019 02:58 PM

    As I told earlier , s final option you have to unregister and re-register VM back .

    I know you have to schedule this but this would be final option as per me.

    regards

    Gayathri



  • 14.  RE: Migrate option in VM is grayed out

    Posted Mar 13, 2019 05:10 AM

    It's weird that if we press a ctrl key it will show migrate option which is scheduled migrate option.

    thanks

    vmk



  • 15.  RE: Migrate option in VM is grayed out

    Posted Mar 06, 2019 12:07 PM

    Hi there,

    Couple of things to try:

    1. Try with the HTML5 client (https://<vCenter>/ui)
    2. Check If the VM needs consolidating (e.g. does it have outstanding snapshots that don’t appear in the snapshot Manager)
    3. If using backup software that uses snapshots, try creating and removing a snapshot.

    Kind regards.



  • 16.  RE: Migrate option in VM is grayed out

    Posted Mar 06, 2019 08:10 PM

    Does the VM have a snapshot?



  • 17.  RE: Migrate option in VM is grayed out

    Posted Mar 07, 2019 10:22 AM

    No snapshot and i did try to take a snapshot and deleted the snapshot but no luck.



  • 18.  RE: Migrate option in VM is grayed out

    Posted Mar 07, 2019 11:18 AM

    1º Shutdown the vm.

    Remove the vm from the inventory

    Add the vm to the inventory again.

    The option to migrate should be available again.



  • 19.  RE: Migrate option in VM is grayed out

    Posted Jun 04, 2020 10:50 PM

    Thank you this helped us out



  • 20.  RE: Migrate option in VM is grayed out

    Posted Mar 07, 2019 03:09 PM

    If you are seeing the Migrate option for any other VM from the same host running inside the same datastore then it's a VM level issue.

    If you can not see migrate option for any of the VM from this host to the destination host then we can check the host.

    Was there any recent backup completed because we would add an entry in the DB to not to migrate the VM when the backup snapshot is in progress.



  • 21.  RE: Migrate option in VM is grayed out

    Posted Mar 08, 2019 05:24 AM

    Only 2 VM's having an issue. Did check with the backup team and the backup was successful without any error. Only option to take downtime since we need to evacuate all the VM's from VMFS 5.0



  • 22.  RE: Migrate option in VM is grayed out

    Posted Mar 13, 2019 05:27 AM

    Try to update the client integration plugin and also check whether you have enough free space on the target datastore.



  • 23.  RE: Migrate option in VM is grayed out

    Posted Mar 13, 2019 06:13 AM

    Hi,

    Try migrating the VM through PowerCLI in off business hours.

    If it migrates, well, something's not right with GUI.

    If it doesn't, you should see some error on PowerCLI, or related logs in vm's log file, or in host logs which could help us further assist you.



  • 24.  RE: Migrate option in VM is grayed out

    Posted Mar 13, 2019 06:45 AM

    Does "MBR storage device partitioning" have a bearing on this problem?



  • 25.  RE: Migrate option in VM is grayed out

    Posted Mar 13, 2019 10:19 AM

    No it doesn’t. VMFS versions before this used MBR and hence the restrictions to 2TB. VMFS5 volumes that are MBR will change to GPT once extended beyond 2TB but would not impact Storage vMotion in this way.

    Kind regards.



  • 26.  RE: Migrate option in VM is grayed out

    Posted Mar 18, 2019 06:44 AM

    vmk2014 Is the issue solved ? Let us know what's the status on this.



  • 27.  RE: Migrate option in VM is grayed out

    Posted Aug 16, 2019 07:38 AM

    Hi vmk2014,

    Have you tried to update the VMTools of the VM ?

    It has fixed my issue this morning.

    Good luck



  • 28.  RE: Migrate option in VM is grayed out

    Posted Aug 16, 2019 04:59 PM

    I have this issue too. Verify the permission of Veeam account if your environment using Veeam.



  • 29.  RE: Migrate option in VM is grayed out

    Posted Aug 17, 2019 09:31 PM

    Did you check vMotion option of VMKernel in your hosts is enabled? (even source)

    Physical device Path-through can be cause of the issue you have encountered?



  • 30.  RE: Migrate option in VM is grayed out

    Posted Aug 29, 2019 07:32 PM

    Unregister the host, Register the host and Migrate will be enabled again.

    Works with me



  • 31.  RE: Migrate option in VM is grayed out

    Posted Jul 10, 2020 01:19 PM

    Generally there are 3 criteria that might cause the migrate option to be grayed out.

    1. There is an old snapshot or a 3rd party backup is running that has created a snapshot of the VM.  You will need to delete the snapshot to be able to migrate.

    2. There is an attached device such as a CD Rom/ISO file or special port that needs to be removed in the settings of the VM.

    3. There is a DRS rule that requires the VM to be on that host.  Check DRS rules on the Configuration tab and if necessary, remove the VM from the DRS rule or group.

    I had a scenario where none of these applied.  I had to power the VM off, remove from inventory, then add to inventory on the host where I wanted it to reside.

    Hope this helps someone.



  • 32.  RE: Migrate option in VM is grayed out

    Posted Feb 03, 2021 11:50 PM

    Try this, worked for me and requires no downtime...

    https://kb.vmware.com/s/article/1029926