Windows Server 2008 R2 Thread, Hyper-v Host restarts in Technical; Hi Guys,
Quick question, i have 150 windows updates waiting to be installed on each of my two Hyper-v hosts ...
31st October 2013, 07:37 PM #1
Hyper-v Host restarts
Quick question, i have 150 windows updates waiting to be installed on each of my two Hyper-v hosts (Server 2008 R2), however i don't want to just restart them without making sure I'm doing things right. I'm fairly new to Hyper-v as i have been using VMWare in my previous position.
There isn't enough memory on either host to live migrate machines across the cluster to avoid down time (something i intend on fixing soon)
Is it safe to just restart the hosts one by one when no-one is using the system? Do i need to shut down the VM's manually before restarting the host?
Many thanks and happy halloween!
Last edited by Darylrese; 31st October 2013 at 07:42 PM.
31st October 2013, 08:00 PM #2
Definitely shut down the guest VMs first.
Make sure you have a decent off host backup, 150 updates is a lot to apply in a oner.
31st October 2013, 08:09 PM #3
Thank-you. Just taken over at a new school and playing catchup I might delay the restart until another time as backup has been playing up a bit too
31st October 2013, 08:10 PM #4
Very wise if you're not sure re the backup!
Good luck, have a nice evening.
31st October 2013, 09:03 PM #5
May I ask what your reasoning is? In 4 years I have never shut down guest VMs before restarting a Hyper-V host. However, I've been applying updates monthly rather than doing that many in one go. Is the number of updates factoring into your recommendation?
Originally Posted by kmount
31st October 2013, 09:20 PM #6
Sure, a valid question.
I guess you set your environment up yourself so you know what action is configured for the "what do I do when the host is going down" on each of your VMs, i.e guest shutdown or suspend/save state not that I'm a fan of that level of trust.
If the OP didn't set up the environment and can't be sure of the VM automatic stop configuration it would seem most logical to me to at least maintain some sort of safety in shutting down the guests.
We're also of course assuming the integration services are installed and functioning on each of the guests to actually respond to the desired action on host maintenance (and not for it to just kill it harshly)
Horses for courses I suppose, I just work on the side of caution just incase, especially on an environment I didn't build; though your post did make me wonder what others did - Is it better to save VM state or shutdown the Guest OS when restarting the host? - Spiceworks & Hyper-v shutdown scripts from host to guest
31st October 2013, 10:04 PM #7
I have 1 Hyper-V host and its a nightmare when it comes to rebooting the host itself
What I tend to do is:
- Patch & reboot all the guests fully
- Run Veeam to ensure they are all backed up.
- I then power off all the guests
- I have a virtual DC, so I tell this one to automatically startup, but not the rest - this saves the Host grinding to a halt when they all start up. Plus I find that startup times vary so mcuh that the scheduled startups are ridiculously long!
- Reboot the Hyper-V host.
- Once it and the DC has restarted, manually reboot the guests, making sure my SQL Server is fully booted up and settled in before starting the next. Also due to memory constraints I dont do anymore than 2 at a time (YMMV).
31st October 2013, 10:16 PM #8
In my opinion It is always best to shutdown the guest VM. Reason why is because you don't know what is being written back to the cluster and the hyper visor could become corrupted there are too many factors that could go wrong. Just because MS might say yes it's ok to do this. but in the real world do you really want to take that chance
1st November 2013, 10:23 AM #9
This thread is a testament to bare metal hypervisors. Not long ago you'd have been laughed at for suggesting piles of updates to your host!
5th November 2013, 04:02 PM #10
- Rep Power
If you migrate the VM's to another host before rebooting then you can reboot the fine. Assuming your cluster quorum settings can sustain one failure, if not then the whole cluster will forcibly shut down anyway (done that)
By pooley in forum Windows Server 2008
Last Post: 15th March 2013, 11:06 AM
By LukeC in forum Windows Server 2008 R2
Last Post: 4th December 2012, 10:19 AM
By Gongalong in forum Windows Server 2008 R2
Last Post: 22nd September 2012, 09:24 PM
By MrWu in forum Thin Client and Virtual Machines
Last Post: 18th June 2012, 07:28 PM
By mbyrew in forum Thin Client and Virtual Machines
Last Post: 5th June 2010, 02:32 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)