VMware Cloud Community
nmni
Contributor
Contributor

vmware-autostart.sh stop not working

I'm trialling ESXi5 in our existing ESX4 environment.  I have one host with ESX5i (the rest are ESX4), and the vCentre server is the latest version.

I have an APC UPS, and have set up the vMA virtual machine to shutdown the ESX5i host.  Performing a test, it successfully shut down the host. However it did not shut down cleanly the Windows guests I had running on the host; the vMA appliance shut down successfully though.

I enabled SSH into ESX5i to look at the logs, and can see it says "Stopping VMs" in the syslog.

I tried running /sbin/vmware-autstart.sh stop and while it runs ok, with no reported errors, none of the windows guests shut down.  The vMA does however. I've checked the settings in Configuration->VM Startup/Shutdown.  Shutdown Delay is 120 seconds, and shutdown guest is selected.

VMWare tools are all up-to-date

Tags (3)
Reply
0 Kudos
6 Replies
steelbytes
Contributor
Contributor

autoshutdown and autostart  is not working for me with windows guests either.

Did you find a solution?

Reply
0 Kudos
Techstarts
Expert
Expert

do a simple test, try to gracefully shutdown VM, this will confirm if vmware tool is working.

Also if your hosts are part of DRS, this functionality is not supported.

With Great Regards,
Reply
0 Kudos
steelbytes
Contributor
Contributor

Reply
0 Kudos
Techstarts
Expert
Expert

Glad that you found out, thanks for sharing

With Great Regards,
Reply
0 Kudos
PaulNSW
Contributor
Contributor

I've sinced moved to another company (I was the original poster)

After raising a support ticket with VMWare, it turns out I was experiencing the following bug:

http://kb.vmware.com/kb/1008182

Message was edited by: PaulNSW correcting URL link

Reply
0 Kudos
steelbytes
Contributor
Contributor

interesting (once I added the .com to your url).   interseting that the article tells me to move them to manual startup?  but I want auto startup.

mmm,  since it's an acknowledged bug, I don't think I'll expirement on my live machine (home office) and I don't have a spare to play with so I'll just have to wait for the bugfix and manually suspend/resume when power cyclying the host

Reply
0 Kudos