jmwills 284 Posted March 20, 2014 Share Posted March 20, 2014 ^^ Where's the "Like Button"? Link to post Share on other sites
Jason 84 Posted January 4, 2015 Author Share Posted January 4, 2015 I apologize if this has been covered elsewhere, but it seems to take my WSE12R2 box forever to shutdown when my Hyper-V VM is running. I've tried setting the VM to shutdown vs. save on host shutdown, but it doesn't seem to matter. If a Hyper-V VM isn't running when I initiate a host shutdown, the shutdown takes a max of 30 seconds. I can't for the life of me figure out why this happens? The VM itself runs fine. In fact, if I manually initiate a shutdown of the VM either 1.) from within the VM itself or 2.) from within Hyper-V Manager, the VM shuts down normally with no issue. FWIW, my system has 2 Intel NICs. One is dedicated entirely to Hyper-V and is not shared with the host OS (WSE12R2). Thanks! Link to post Share on other sites
Drashna Jaelre 159 Posted January 4, 2015 Share Posted January 4, 2015 Double check the NICs and make absolutely certain that the "allow host OS to manage NIC" option is not enabled. You can also verify in network connections... if the HyperV NIC has IP info, then it's being managed by the Host OS. And that's bad, as it's what's causing the issue. And to clarify, if the VMs area all shut down already (which happens quickly), then it shuts down fine? Link to post Share on other sites
Jason 84 Posted January 4, 2015 Author Share Posted January 4, 2015 Double check the NICs and make absolutely certain that the "allow host OS to manage NIC" option is not enabled. You can also verify in network connections... if the HyperV NIC has IP info, then it's being managed by the Host OS. And that's bad, as it's what's causing the issue. And to clarify, if the VMs area all shut down already (which happens quickly), then it shuts down fine? Drashna, yes, if the VMs are already shutdown then the system shuts down fine and quickly like normal. I'm looking for the option "allow host OS to manage NIC" and I cannot quite locate it. However under Hyper-V Manager > Servername > Virtual Switch Manager, I verified that for my external network the dedicated Intel NIC is listed and "Allow management operating system to share this network adapter" is unchecked. Is that the same option? Link to post Share on other sites
Drashna Jaelre 159 Posted January 4, 2015 Share Posted January 4, 2015 Yes. that's the option. I didn't have HyperV open and didn't look. If that's unchecked, then it may be waiting for the systems to shutdown or save. Depending on where they are stored, and the resources allocated, it may take a couple of minutes. So, by "forever," how long do you mean? Where are the HyperV VMs stored? HDD or SSD, or RAID? How many are running and how much RAM are they using (especially if you're saving, as the memory is cached to the disk)? Link to post Share on other sites
Jason 84 Posted January 4, 2015 Author Share Posted January 4, 2015 OK. I have 2 VMs on a single 7200 RPM HDD. Both are relatively idle and are set to shutdown vs save. The host can take several minutes to shutdown and often appears to not shutdown at all. It's headless so I end up holding power to hard stop it. I'll try again only this time I'll time it with both VMs running. Link to post Share on other sites
Drashna Jaelre 159 Posted January 4, 2015 Share Posted January 4, 2015 This is one of the reasons that I hate headless systems..... In theory, the shutdown screen should be telling you what is going on. Also, if you're using the HyperV Manager on the remote system.... can you see the status of the machines while the server is shutting down? Link to post Share on other sites
Jason 84 Posted January 4, 2015 Author Share Posted January 4, 2015 The server is tucked away in a closet though I occasionally hook a monitor up to it. I may do that during this shutdown test. Also, I've only run Hyper-V manager on the server itself using Remote Desktop from a client PC. That's usually how I do everything on the server. Link to post Share on other sites
Drashna Jaelre 159 Posted January 4, 2015 Share Posted January 4, 2015 Ah, yeah, both would make it harder to see where it's stalling at. Link to post Share on other sites
Jason 84 Posted January 4, 2015 Author Share Posted January 4, 2015 BTW - I just initiated a manual shutdown of the host OS with both VMs active and it took 1m27s the first time to complete successfully. The second test was only 1m10s. Both of which are FAST for this system. Just glad they worked and didn't hang up. Link to post Share on other sites
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now