VMware Cloud Community
SuperVirtual
Contributor
Contributor

Vmotion Issues

Hi, I vmotioned a virtual machine in a cluster and now the machine has went inaccessible

To my surprise it is fluctuating between hosts now and I am unable to access it

Any attempt to power it on from console fails, help please

Reply
0 Kudos
5 Replies
Shrikant_Gavhan
Enthusiast
Enthusiast

Hi,

What is the cluster , is it HA or DRS , check the availabolity of slots or the admission control policy to these clusters.

Hope below information help you.

https://communities.vmware.com/thread/391438

Thanks and Regards,

Shrikant Gavhane.

Thanks and Regards, Shrikant Gavhane
Reply
0 Kudos
Paltelkalpesh
Enthusiast
Enthusiast

What error you are getting while this process. ?, can you share logs ?

Reply
0 Kudos
dhanarajramesh

I hope you have  powered off the server during Vmotion or VM snapshots consolidations. if you done this,  most probably the Guest would goes to Unknown state and would get locked with the physical CPU and memory. You can try to kill this process thru command line, if it' is not help then you have to reboot the current running esxi and HA will power Up this server in another ESXi.

Reply
0 Kudos
Madmax01
Expert
Expert

Hello,

Hm inaccessible could be  the Informations once the access on Filesystem Layer is not possible anymore,.... So you're using shared Storage?  or moving to local storage?

check please if you're Storage connection is working and that you could navigate inside the Datastore,.... (also through putty,...). 

Depending on the Kind of Storage (once youre using it) > i could have also Locks which are not released,.... (depends on Esxi Version, VAAI, Storage Vendor,..... >  Lock could be killed then with server reboot or also on storage layer( different from Storage vendor)).

check also vmkernel + vmkwarning logfile.  what do you get with the /vmfs/volumes  ?  Volume exist?

So because it's an Unregister/Register Process > please check the Connectivity on the 2nd Host.

VMware KB: Migrating virtual machines with snapshots

Best regards

max

Reply
0 Kudos
Gav0
Hot Shot
Hot Shot

How is the VM showing in the inventory?

I recommend you open a case with VMware support.  If you dont have support you can try the following:

1. Rescan HBA's on all hosts.

2. Connect to the hosts directly with the client (not vCenter) and try to power on the VM.

If you are not sure which host owns the VM (as you say it is fluctuating between hosts) you try option 3.

Identify which host currently 'owns' the VM:

Enable SSH on the each host

Then for each host run "vim-cmd vmsvc/getallvms"

If the VM in question doesn’t appear also check the hosts inventory file and grep the output to include only the VM in question.  For example if you are looking for VM1:

~ # cd /etc/vmware/hostd/

/etc/vmware/hostd # cat vmInventory.xml | grep VM1

Repeat this on all hosts in the cluster until you find the VM.

You may need to restart the management agents on the ESXi host that 'owns' the VM but without having a better understanding of the issue it isn't something I'd recommend doing.

Please award points to your peers for any correct or helpful answers
Reply
0 Kudos