I have two ESX hosts and virtual centre. Both hosts stopped responding to virtual centre. After a cold restart of one its back. I dont want to do the same on the other one but cant stop the VMs and cant restart remotely
installed RCLI appliance but cant see how to send a remote restart while the VMs are still running
Can connect to the server direct using VI client but none of the VMS will shutdown
How can i do forced shutddowns of VM from the RCLI appliance and then do a restart of the server.
If you are referring to the VIMA appliance, then search for "vmcontrol.pl" script which allows to perform remote power operations.
http://www.vmware.com/support/developer/viperltoolkit/doc/utilityappsdoc/vmcontrol.html
Good luck!
C:\Program Files\VMware\VMware VI Remote CLI\Perl\apps\vm>vmcontrol.pl --server <esx_server_name> --username <username> --vmname <vm_name> --operation poweroff
-KjB
does attempting to cycle the VM from VIC produce any sort of error?
-Ben
wazoo9000
Trying to recycle in the VI client just times out. Virtualcentre shows the host as disconnected and all the VMs as unaccesible.
If I connect direct to the host the Vms dont show inaccesible butt i can get to the console on them and if i try and stop them the VI clientt times out
ive tried running some of the scripts in the RCLI. It takes a while to get the command right as it connect to VC by default and when I have got them to run some of them time out and som take ages
gettng close to the point of pushing the button
I new I should have enabled SSH and got a DRAC card
Ive installed the RCLI appliance now but cant work out where to run the scripts from or how to run them against a remote host.
Any tips on whic logs to look at. [
Hello,
Moved to ESXi forum.
Best regards,
Edward L. Haletky
VMware Communities User Moderator
====
Author of the book 'VMWare ESX Server in the Enterprise: Planning and Securing Virtualization Servers', Copyright 2008 Pearson Education.
Blue Gears and SearchVMware Pro Blogs -- Top Virtualization Security Links -- Virtualization Security Round Table Podcast
Have you taken a look at the link below?
http://www.vmware.com/support/developer/viperltoolkit/doc/utilityappsdoc/vmcontrol.html
These scripts can connect to directly to the host and perform the operations.