+ Post New Thread
Results 1 to 10 of 10
Windows Server 2008 R2 Thread, HA HyperV - Hosts need updated and restarted, how to manage the guests? in Technical; My HA hyperV cluster hosts need to have windows updates done on them and to be rebooted etc. I have ...
  1. #1

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    5,532
    Thank Post
    1,341
    Thanked 470 Times in 307 Posts
    Blog Entries
    6
    Rep Power
    200

    HA HyperV - Hosts need updated and restarted, how to manage the guests?

    My HA hyperV cluster hosts need to have windows updates done on them and to be rebooted etc.

    I have started to live migrate the guests from one to the others so i can then do the updates and restarts etc.

    However rather than do this all manually is there an easier way to do it? If i just install the updates and then hit reboot will the guests automatically live migrate?

    Or was my initial thought correct and I need to move them off first?

    Cheers

  2. #2

    Join Date
    Mar 2007
    Posts
    1,861
    Thank Post
    93
    Thanked 326 Times in 246 Posts
    Rep Power
    92
    Need to move them first otherwise they just shutdown and reopen on the other node.

  3. Thanks to strawberry from:

    RabbieBurns (28th June 2012)

  4. #3
    bart21's Avatar
    Join Date
    Aug 2009
    Location
    peterborough
    Posts
    407
    Thank Post
    79
    Thanked 54 Times in 52 Posts
    Rep Power
    20
    should use esx - up on entering maintenance mode on the host it will move all the guests to other hosts in the cluster automatically!



    nick

  5. #4
    ascott2's Avatar
    Join Date
    Nov 2007
    Posts
    187
    Thank Post
    18
    Thanked 39 Times in 31 Posts
    Rep Power
    21
    System Centre Virtual Machine Manager can put a host into maintenance mode and live migrate to the best possible host.

  6. Thanks to ascott2 from:

    RabbieBurns (31st August 2012)

  7. #5

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    5,532
    Thank Post
    1,341
    Thanked 470 Times in 307 Posts
    Blog Entries
    6
    Rep Power
    200
    If i put it into maintenance mode will it live migrate automatically?

  8. #6

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    5,532
    Thank Post
    1,341
    Thanked 470 Times in 307 Posts
    Blog Entries
    6
    Rep Power
    200
    Quote Originally Posted by RabbieBurns View Post
    If i put it into maintenance mode will it live migrate automatically?
    Yes they do

    I manually migrated them all first time round, and then after doing updates and restarts on host 1 i put host 2 into maintenance mode and they all migtrated automatically to host 1.

    However Ive now done updates on host 2 and went to restart but it seems to have hung when restarting at "shutting down cluster service service"

    Is it safe to cold reboot or should i leave it for a while longer?

  9. #7

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    5,532
    Thank Post
    1,341
    Thanked 470 Times in 307 Posts
    Blog Entries
    6
    Rep Power
    200
    found this page and a fix which has saved a cold reboot

    Hyper-V Cluster with 2 CSVs hangs on service shutdown of Cluster

    I just had the same issue today.

    All virtual machines were stopped before trying to reboot.

    But instead of cutting the power I tried something a little less drastic.
    I tried to kill tasks until the initiated shutdown process could continue.

    This one worked since I still had ping responses from the server:
    taskkill /S vhost2 /IM c* (but you could just try all letters in the alphabet until you get lucky)

    Result:
    SUCCESS: The process "cimlistener.exe" with PID 1592 has been terminated.
    SUCCESS: The process "conhost.exe" with PID 1864 has been terminated.
    SUCCESS: The process "clussvc.exe" with PID 2148 has been terminated.

    And then the shutdown completed!
    Although Im not sure if a subsequent reboot will have the same problem.

  10. #8


    Join Date
    Feb 2007
    Location
    51.403651, -0.515458
    Posts
    9,808
    Thank Post
    262
    Thanked 2,968 Times in 2,183 Posts
    Rep Power
    847
    Quote Originally Posted by RabbieBurns View Post
    Although I'm not sure if a subsequent reboot will have the same problem.
    Do you have any VMs which are configured to use dynamic memory?

    Hyper-V Host Freezes When Dynamic Memory VM’s Use All RAM

  11. #9

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    5,532
    Thank Post
    1,341
    Thanked 470 Times in 307 Posts
    Blog Entries
    6
    Rep Power
    200
    all of them except the linux guests use dynamic ram.

    The problem happened exactly as described in the scenario i posted tho rather than any sudden lockup. It was after a maintenance mode reboot after live migrating all the vms from one host to the other.

  12. #10

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    5,532
    Thank Post
    1,341
    Thanked 470 Times in 307 Posts
    Blog Entries
    6
    Rep Power
    200
    this is still happening when I reboot, the cluster service service doesn't stop and i need to use the aforementioned fix to remotely kill the process and then it will shutdown / reboot successfully. Theres a load of posts on technet about this too but none seem to offer a solution...

    Ive attached the output of cluster.log which is what a lot of the technet articles talk about but not sure if anyone can help...

    Cluster.zip



SHARE:
+ Post New Thread

Similar Threads

  1. [Pics] Non-Technical Friends And Relatives: How To Help Yourselves
    By DaveP in forum Jokes/Interweb Things
    Replies: 5
    Last Post: 7th September 2009, 02:21 PM
  2. Replies: 7
    Last Post: 16th October 2007, 12:19 PM
  3. Replies: 3
    Last Post: 23rd February 2007, 01:49 PM
  4. DC wipe - how to backup the users / AD etc?
    By tarquel in forum Windows
    Replies: 32
    Last Post: 24th October 2006, 09:53 AM
  5. Replies: 8
    Last Post: 12th April 2006, 12:55 AM

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
  •