+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 30
Windows Server 2008 R2 Thread, Hyper-V Host Problems in Technical; Dear all, I'm having a bit of a nightmare with one of my Hyper-V hosts and wondered if anyone could ...
  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

    Exclamation Hyper-V Host Problems

    Dear all,

    I'm having a bit of a nightmare with one of my Hyper-V hosts and wondered if anyone could help.

    All of a sudden today, my second Hyper-V Host displayed 'No virtual machines installed' . All virtual machines on that Host ARE working currently.

    Did a bit of research and on TechNet they suggesed restarting the 'Windows Management Instrumentation' service which saves rebooting to fix this issue.

    Unfortunately, I went to do this but the service was already in a 'Stopping' state and has got stuck. This has resolved in all Hyper-v management services stopping too.

    I would just reboot the Host, however both of my DC's are on this host too so I want to avoid it unless 100% necessary. This is something I am looking at sorting out ASAP as it's been a concern of mine since starting at my new school a month ago.

    If I do need to restart the Host, how should I go about this baring in mind BOTH of the DC's are on this host?

    I cant migrate machines because none of the management tools are working on the host in question! All I can think is safely shutdown the servers on HOST 2, reboot and hope for the best!

    Any ideas?
    Last edited by Darylrese; 8th December 2013 at 03:39 AM.

  2. #2


    Join Date
    Feb 2007
    Location
    Northamptonshire
    Posts
    4,688
    Thank Post
    352
    Thanked 794 Times in 714 Posts
    Rep Power
    346
    Yeah, that's what I'd do, shut them down cleanly and spin the host.

    If they are on shared storage even if the host doesn't come back you can at least fire them up on the other host.

    If on local storage, check your backups work first.

  3. #3
    ChrisH's Avatar
    Join Date
    Jun 2005
    Location
    East Lancs
    Posts
    4,999
    Thank Post
    120
    Thanked 280 Times in 258 Posts
    Rep Power
    106
    What Hyper-V version are you using ? If it's 2008 R2 it sounds like you are aware of the chicken and the egg situation of clustering with no contactable DC, unless your running 2012 as this is supposed to work better now. If I was you I would make another DC on the other host, even if you remove it later. If you don't then you need to get a copy of the domain controllers VHD and stick it into a new VM on the other machine, I have done this quite a few times now and all you need to do is set the IP address again. Of course the risk you run is having the original DC starting up on the other host.

  4. #4
    Bueno's Avatar
    Join Date
    Dec 2013
    Location
    Reading
    Posts
    5
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    What backup method are you using on your DC's? The reason I ask is that you should only be using system state backups for your DC's. I wouldn't recommend moving a DC VHD to another host and turning it on, this will cause a few issues - mainly replication problems.

    I would turn off one of the DC's on the problem host and set it so the VM doesn't start when the host is started. Restore the same DC to another host using system recovery, configure networking and check replication/DC health

    Once you move the DC via this method I would just power off the other DC on the problem host and then power cycle the problem host.
    Last edited by Bueno; 8th December 2013 at 02:04 PM.

  5. #5
    ChrisH's Avatar
    Join Date
    Jun 2005
    Location
    East Lancs
    Posts
    4,999
    Thank Post
    120
    Thanked 280 Times in 258 Posts
    Rep Power
    106
    Quote Originally Posted by Bueno View Post
    What backup method are you using on your DC's? The reason I ask is that you should only be using system state backups for your DC's. I wouldn't recommend moving a DC VHD to another host and turning it on, this will cause a few issues - mainly replication problems.

    I would turn off one of the DC's on the problem host and set it so the VM doesn't start when the host is started. Restore the same DC to another host using system recovery, configure networking and check replication/DC health

    Once you move the DC via this method I would just power off the other DC on the problem host and then power cycle the problem host.
    The OP stated that the Hyper-V management services had already stopped as part of the problem so they will not be able to change any of the configuration. If both the DCs VM are shutdown via remote desktop if possible then copying across the HD will be fine, there will be no issue with replication as they will all obey the latest revision. I've had to do this a few times and there were no issues but you have to be careful of ending up with the same machine running on both hosts If you can, rename the VHD to stop it starting.
    Your best bet is another temporary DC on the other host though, make it outside the cluster on some none shared storage in case the other host suddenly has an issue with the lack of a contactable DC, you will be able to start that DC without clustering started up.

  6. #6
    Darylrese's Avatar
    Join Date
    Sep 2010
    Location
    Portsmouth
    Posts
    422
    Thank Post
    10
    Thanked 7 Times in 6 Posts
    Rep Power
    9
    Yep they are on shared storage. So if host fails to come back up for any reason I can just make a new vm for my dc's on host 1 and reattach the storage?

    Is there anyway of getting the services to start without a reboot?

    Yep it's Hyper-v server 2008 R2.

    Thanks for help so far guys. I'm pretty sure I set the dc's to automatically start on host restart so provided it comes back up ok should be alright.

    As DC's are not started until host is booted, will I be able to get onto my PC to remote into the host or will I need to attach a monitor to the host itself?
    Last edited by Darylrese; 8th December 2013 at 04:53 PM.

  7. #7


    Join Date
    Feb 2007
    Location
    Northamptonshire
    Posts
    4,688
    Thank Post
    352
    Thanked 794 Times in 714 Posts
    Rep Power
    346
    Are the hosts joined to the domain that the virtual domain controllers manage? If so that could cause you some chicken and egg problems for sure though if they are standalone workgroup members it should be less frightening. If RDP is enabled you should be able to connect to the host from your PC assuming you can log onto it without the domain being around (make sure you know the local admin password if it is domain joined just incase!)

    I don't know as much about 2008R2 Hyper-V but certainly on 2012 it's quite flexible when it comes to host failure so there's always a way forward and having it on shared storage helps here too. Backups will be crucial here just incase it does go wrong though.

    Inclined to agree with ChrisH though that another DC on the working host would be sensible if for nothing more than to protect you from shenanigans with no DCs should the problematic host have issues getting the DCs back up.

  8. #8
    Darylrese's Avatar
    Join Date
    Sep 2010
    Location
    Portsmouth
    Posts
    422
    Thank Post
    10
    Thanked 7 Times in 6 Posts
    Rep Power
    9
    Yep the hosts are joined to the domain!

    I don't have much confidence in the backups either as DPM doesn't seem to let me take a full backup of a VM only partitions on them? I plan on doing an overhaul of Hyper-V and backup's but like I say have only been here a month or so.

    I will probably have to copy the VHD's of the DC and start up a new VM on the first host just incase.

    I would have thought there would be a way to force Windows Management Instrumentation service to restart?

    I have already tried killtask /pid /f without any luck.
    Last edited by Darylrese; 8th December 2013 at 08:09 PM.

  9. #9


    Join Date
    Feb 2007
    Location
    Northamptonshire
    Posts
    4,688
    Thank Post
    352
    Thanked 794 Times in 714 Posts
    Rep Power
    346
    Phew, yikes

    I'd get yourself a new DC up on the other host per ChrisH advice so you can at least have something you have control of.

    I don't know a lot about DPM sorry, but if I was you, I'd fish out a copy of Veeam Free Edition from Veeam: Modern Data Protection too ( Veeam Backup Free Edition : Free Backup For Hyper-V | Veeam Software Official Blog ) so you can get backup your 'new' DC to give you some comfort!

    If the service is hung on 'stopping' you might find something like procmon may help show you what's happening or at least try and point you in the direction if a process is hung that needs to be killed to let your stuck process go.

    Sometimes though, a reboot is unavoidable

  10. #10

    Join Date
    Apr 2007
    Location
    Croydon
    Posts
    498
    Thank Post
    18
    Thanked 31 Times in 30 Posts
    Rep Power
    20
    Spinning up a new DC on the working host is definitely the way to go. If you don't and you restart the host with the problem and both DCs on it, you will loose access to the cluster, as others have pointed out. What's worse is, if you make use of Cluster Shared Volumes and you loose both DCs, you won't be able to get to the ClusterStorage folder get the VHDs (since this requires AD access) then you'll have the attach the storage to another machine to get the VHD of a DC so you can start it on another machine.

    Been there, done that!

  11. #11
    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 guys!

    Can someone just run through the steps to take to get the DC up and running on the working host please?

    I came from a school with VMware and I'm fairly new to Hyper-v...don't like it much!#

    Do I call the DC the same as the current one on the new host?

    I had a look at Veeam a few weeks ago at a seminar, it looked amazing! Going to get a price for it!
    Last edited by Darylrese; 8th December 2013 at 08:50 PM.

  12. #12

    Join Date
    Apr 2007
    Location
    Croydon
    Posts
    498
    Thank Post
    18
    Thanked 31 Times in 30 Posts
    Rep Power
    20
    Yep..

    Build a new VM as you normally would, install whatever OS the other DCs are using and join to the domain as a member server. Give it a different name, since you will have 3 running when the other 2 are back up.

    Install AD (either add/remove roles or dcpromo - depending on the OS), follow through the wizard and allow it to replicate. I would make it a DNS server also as I am guessing the other DCs are DNS server and without them you will have a few problems whilst they are unavailable. I would also set the primary DNS on the host you are about to restart to be the newly created DC/DNS server so there is something to contact when it starts up.

  13. #13
    Darylrese's Avatar
    Join Date
    Sep 2010
    Location
    Portsmouth
    Posts
    422
    Thank Post
    10
    Thanked 7 Times in 6 Posts
    Rep Power
    9
    Ok great, thank-you. So I shouldn't use the VHD's of the current DC to build the new server?

    Our current DC is on Server 2012

  14. #14

    Join Date
    Apr 2007
    Location
    Croydon
    Posts
    498
    Thank Post
    18
    Thanked 31 Times in 30 Posts
    Rep Power
    20
    Nope... Build it from scratch. Everything will replicate across to the new DC.

  15. #15
    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 Adam and kmount! I have PM'd you Adam for more info.

    I will try and build a new DC this week.

    Regards

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Raising functional level problem; service is busy
    By Rydra in forum Windows Server 2000/2003
    Replies: 4
    Last Post: 6th March 2012, 10:00 AM
  2. SWGfL Hosted Web Service Fails Again due to Demand
    By FragglePete in forum South West Grid for Learning (SWGfL)
    Replies: 9
    Last Post: 17th December 2010, 03:22 PM
  3. Hyper V screen problem
    By FatBoy in forum Thin Client and Virtual Machines
    Replies: 5
    Last Post: 11th October 2010, 11:32 AM
  4. 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
  5. Hyper-V Networking Problem
    By Dantech in forum Windows Server 2008
    Replies: 3
    Last Post: 5th November 2008, 03:00 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
  •