How to make the Hyper-V VMs properly save and restart when rebooting the host

hyper-v

My VMs are configured to save state, and restart if previously running when the host server is rebooted. All of the VMs start up upon reboot… however, some of them start from a cold boot, and not from a save state resume. Why is this occurring? I've searched for any relevant hotfixes, but I couldn't find any. The host is Server 2008 SP2 x64. I can't find a correlation between which guest VMs fail to properly resume, sometimes they do and sometimes they don't.

Best Answer

Why is this occurring?

Your IO subsystem is too slow.

Windows is not waiting forever for all the VM's to shut down. Once the timeout is over, it restarts.

The only things helping are:

  • Change the timeout - no idea how ;)

  • Restart after patches via script. Save them BEFORE you restart.

  • Wait for 2012. Serve 2012 supposedly is a LOT better in this, including the ability to MOVE machines OFF a rebooting server so they stay online.

  • Get faster discs, so it takes less time.

Sorry ;)

Running 4 Hyper-V servers here and - well ;) Same problem. Got better since my main one was upgraded to 8 discs + 2 SSD for the VHD files ;)

Related Topic