VMware vSphere

 View Only
  • 1.  vm shutdown with system is not safe

    Posted Jul 11, 2009 03:56 AM

    hi:

    i found there is a option named "allow virtual machines to start and stop automatically with the system" in esxi 4.0.

    however, i found when host shutdown/reboot, it won't wait vm to complete shutdown process.

    there is also no acpi shotdown for vm. so you must install vmware tools to shutdown the vm safely.

    i can write a script to safely shutdown the vm before host shutdown. can esxi gui use the script instead of the original strange shutdown behavior?



  • 2.  RE: vm shutdown with system is not safe

    Posted Jul 11, 2009 02:41 PM

    hi:

    i search the forum, and i can't believe it. all kind of shutdown problem appear from 2005. and at least two of them are not solved yet.

    1. make sure vm shutdown before host shutdown/reboot.

    2. can not shutdown the locked windows os

    i alreay write script to solve the first issue. it is so easy and i don't know why vmware refuse to do that. esxi 4.0's "shutdown.sh" and "reboot" just don't care the safety of vm.

    vmware said the second issue is microsft fault. but every modern os in physical machine will do graceful shutdown when user press "power" button. i don't know why vmware can not emulate that kind of shutdown. with that acpi shutdown you even don't need vmware tools installed. and every vm can at least have a safe shutdown.

    it's funny that vm can have all kind of advanced functions like motion,HA,FT, but can not do a safe shutdown.



  • 3.  RE: vm shutdown with system is not safe

    Posted Jul 11, 2009 02:45 PM

    Do you have VMware tools installed? I am sure for this to work effectively VMware tools needs to be installed.

    If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful



  • 4.  RE: vm shutdown with system is not safe

    Posted Jul 11, 2009 02:54 PM

    vmware can not do shutdown without vmware tools. so everyone want shutdown vm will install vmware tools...