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