VM cannot be migrated after NICs of one host died
-
HI,
I have 2 host in a pool with VMs distributed amongst them. Today first the NICs in one host (not the pool master) died and then the entire server became unstable (not always booting, but when it boots, it doesn't have any NIC).
The problem is that I cannot migrate the VMs which running on that host or even restart the VMs again on the pool host because it thinks they are still running.
The VM disks are on shared storage.How can I get these VMs to start on the pool master?
thanks
Hans -
Hi,
Try running the following command on your pool master for each VM that you are unable to start --
xe vm-reset-powerstate vm=vm_name -force
This will reset the power state so that you can start the VM on the remaining host.
Regards,
Dan -
@hansve Since you have shared storage, you should be able to use the "Start on..." feature under the Advanced tab of the VM. That should let you start it on any of the hosts. I'm curious if it will work though because your NIC isn't being detected. You may have to get a USB Ethernet adapter to try and get it to move.
The other option would be to forget the VMs if you can (similar to VMware's "remove from inventory" option). Then create a VM without any disks attached to it, then add the already existing disk to the VM and start it.
I suppose you could do both of them as well. You'd get a USB NIC so you can have networking to the pool (as not to screw with the XAPI DB), then unregister the VMs, create shell VMs, attach disks, then start.
If none of these work, let me know!