XenServer Unable to Start VM
Problem: VM Was suspended and the ISO was still mounted. The server wasnot used for quite some time. Xenserver was rebooted 3-4 times since power off. WHen trying to resume the Suspended VM the error mesage was
“There were not servers available to start VM ‘X'”
“This VM needs storage that cannot be seen from that server.”
Citrix Solution:
http://support.citrix.com/article/CTX125248
This solution didnt fix my problem however.
Even pressing the shutdown / hardpower off guest wouldnt work as that would result in the xenconsole error of “There were no servers available to complete the specified operation”
So the catch 22 was that I couldnt EDIT the VM while it was suspended, I couldnt start it while the ISO was missing (even though it was still there) and I couldnt remove the CDROM while the system was in the suspended state. Thank you citrix.
My Not so Elegant Solution: SSH to the console of the xenserver and run the following command to hard power off the VM, then remove the CDROM, then turn it back on.
COMMAND
xe vm-reset-powerstate force=true vm=x
vm can simply match (cAsE senSitIve) the name in the XenConsole of the server.
DONE!