+ Post New Thread
Results 1 to 10 of 10
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 ...
  1. #1
    Darylrese's Avatar
    Join Date
    Sep 2010
    Location
    Portsmouth
    Posts
    422
    Thank Post
    10
    Thanked 7 Times in 6 Posts
    Rep Power
    9

    Question Hyper-v Host restarts

    Hi Guys,

    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 06:42 PM.

  2. #2


    Join Date
    Feb 2007
    Location
    Northamptonshire
    Posts
    4,657
    Thank Post
    350
    Thanked 789 Times in 710 Posts
    Rep Power
    344
    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.

  3. #3
    Darylrese's Avatar
    Join Date
    Sep 2010
    Location
    Portsmouth
    Posts
    422
    Thank Post
    10
    Thanked 7 Times in 6 Posts
    Rep Power
    9
    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

  4. #4


    Join Date
    Feb 2007
    Location
    Northamptonshire
    Posts
    4,657
    Thank Post
    350
    Thanked 789 Times in 710 Posts
    Rep Power
    344
    Very wise if you're not sure re the backup!

    Good luck, have a nice evening.

  5. #5

    AngryTechnician's Avatar
    Join Date
    Oct 2008
    Posts
    3,724
    Thank Post
    696
    Thanked 1,206 Times in 759 Posts
    Rep Power
    393
    Quote Originally Posted by kmount View Post
    Definitely shut down the guest VMs first.
    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?

  6. #6


    Join Date
    Feb 2007
    Location
    Northamptonshire
    Posts
    4,657
    Thank Post
    350
    Thanked 789 Times in 710 Posts
    Rep Power
    344
    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

  7. #7

    Gatt's Avatar
    Join Date
    Jan 2006
    Posts
    6,543
    Thank Post
    831
    Thanked 610 Times in 413 Posts
    Rep Power
    432
    I have 1 Hyper-V host and its a nightmare when it comes to rebooting the host itself

    What I tend to do is:


    1. Patch & reboot all the guests fully
    2. Run Veeam to ensure they are all backed up.
    3. I then power off all the guests
    4. 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!
    5. Reboot the Hyper-V host.
    6. 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).

  8. #8
    kevin_lane's Avatar
    Join Date
    Mar 2007
    Location
    Derby
    Posts
    486
    Thank Post
    21
    Thanked 16 Times in 16 Posts
    Blog Entries
    5
    Rep Power
    17
    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

  9. #9

    Join Date
    Nov 2010
    Posts
    401
    Thank Post
    56
    Thanked 58 Times in 52 Posts
    Rep Power
    25
    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!

  10. #10

    Join Date
    Jun 2013
    Posts
    44
    Thank Post
    9
    Thanked 8 Times in 7 Posts
    Rep Power
    3
    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)

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 1
    Last Post: 15th March 2013, 10:06 AM
  2. Hyper V host - Time Sync
    By LukeC in forum Windows Server 2008 R2
    Replies: 4
    Last Post: 4th December 2012, 09:19 AM
  3. Sophos vs. Hyper-V Host
    By Gongalong in forum Windows Server 2008 R2
    Replies: 5
    Last Post: 22nd September 2012, 08:24 PM
  4. Reassigning a HP DL360 G7 5620 as a Hyper-V Host
    By MrWu in forum Thin Client and Virtual Machines
    Replies: 15
    Last Post: 18th June 2012, 06:28 PM
  5. iSCSI LUNs or Volumes and multiple access from different Hyper-V Host servers
    By mbyrew in forum Thin Client and Virtual Machines
    Replies: 4
    Last Post: 5th June 2010, 01:32 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •