Solved

SBS 2011 not shutting down properly when installed as HyperV Guest OS

Posted on 2011-02-18
13
2,197 Views
Last Modified: 2012-05-11
Hi Experts,

We have successfully installed alot of Virtual machines using Windows Server HyperV R2 2008 and have for the first time installed SBS 2011 as a guest with it. Everything is working fine except for the shutdown of the SBS 2011 Guest OS. I have tested the following shutdown method and all result in an "unclean shutdown" of the SBS 2011 Server.

All integration services are enabled and working. All drivers are installed properly.

1. Have tried to shutdown from the SBS 2011 console using the standard shutdown via start menu. The computer begins to shutdown than during the shutdown of the services it shutdown entirely like a good shutdown. When we reboot it we get the shutdown event tracker log that the previous shutdown was unclean.

2. Have tried shutting down from the HyperV manager and it does the same thing as above.

3. Have tried shutting down from the HyperV terminal.

4. I have even tried the "Restart" option. The system restarts as would any other server but it always comes up with the shutdown event tracker alerting me that it was not shutdown correctly.

All the other three guest OS shutdown properly except SBS 2011.

Is there a shutdown bug in SBS 2011 that prevents it from being shutdown properly when installed as a HyperV guest.

It's not often we need to shut it down but an unclean shutdown will eventually result in a database / file corruption of some sort.

Your help would be appreciated.  
0
Comment
Question by:logicsolutions
13 Comments
 
LVL 77

Expert Comment

by:Rob Williams
ID: 34925872
I am not much help but a few comments:
No chance you have IPv6 disabled? It is known to cause numerous issues especially at startup, though I haven't heard of this one.

For the record I have run SBS 2011 beta and RTM as a hyper-V guest with no issues, so it's not a universal problem.

Many folk find SBS shudowns very slow and have thus written scripts to shutdown various services first allowing for quick clean shutdowns. Though I agree this shouldn't be necessary I wonder if implementing one of these might make a difference. If so it might help to pinpoint what service is causing the problem by tinkering with it.
http://www.sbsfaq.com/?p=1905
http://msmvps.com/blogs/bradley/archive/2007/11/17/charlie-russel-on-shutdown.aspx
http://blog.mpecsinc.ca/2008/01/sbs-speed-up-reboot-command-line.html
0
 
LVL 1

Author Comment

by:logicsolutions
ID: 34929076
Thanks Rob.

It's a strange problem as no matter where we shut it down from the SBS 2011 Guest always comes up again saying the previous shutdown was not completed correctly.

As SBS 2011 is fairly new and not a lot of folk out there are probably using it in production environments with HYPERV as the server and SBS 2011 as the guest I suspect we might even need to lodge a call with Microsoft. I didn't even find SBS 2011 on the approved list of Guest VM though you would think certain it should be supported.

I might contact MS today and speak to a tech.

FYI IP 6 is still enabled. I might also see if there is a Best Practices Analyzer for SBS 2011 that will check the system and alert any problems.

If anyone has a similar issue and managed to find the solution please post back.

Many Thanks.
0
 
LVL 57

Expert Comment

by:Cliff Galiher
ID: 34929819
I can tell you that this isn't a "known" or normal problem. I've been running beta versions of SBSv7/SBS2011, including RCs and RTM in various incarnations, all virtual (I couldn't justify dedicating a server) and have been testing a few migrations with virtual machines from SBS 2003 and SBS 2008 to SBS 2011. I have not seen this behavior even once.

With that said, a few things that come to mind:

1) Make sure you do NOT have time services running for the VM. SBS is a DC and like any DC on Hyper-V, letting the host sync time causes bad things to happen.

2) Make sure your drivers are up-to-date in the host. Particularly any storage (RAID) drivers.

3) Firimware too. See #2.

4) OS too. fully patched (host). See #2.

I'm guessing that the hypervisor is detecting the power off event and is not flushing the request write changes to the .vhd as expected. This would likely be an issue with the hypervisor itself, not with the guest OS, which is why I'm focusing on the updates I am recommending.
0
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

 
LVL 77

Expert Comment

by:Rob Williams
ID: 34930499
>>"As SBS 2011 is fairly new and not a lot of folk out there are probably using it in production environments with HYPERV as the server and SBS 2011 as the guest "
Probably true but a large percentage of the beta testing was done that way and I don't recall any bugs reported.

There is a BPA for SBS 2011, but it disappeared yesterday awaiting the release of an updated version. Just google "Windows Small Business Server 2011 Best Practices Analyzer" in the near future and it should be the first link.

 
0
 
LVL 1

Author Comment

by:logicsolutions
ID: 34940001
Thanks Guys.

Just to also note. This is only happening for SBS 2011. All other VM types are fine. Will certainly give the BPA a shot as I did notice that on Saturday that it was not available.

Will get back to you in the interim.
0
 
LVL 1

Author Comment

by:logicsolutions
ID: 34940075
This sounds awfully similar to a very old problem. Found this whilst doing my digging around.

http://support.microsoft.com/kb/326564
0
 
LVL 1

Author Comment

by:logicsolutions
ID: 34940105
I also found this. As I have Symantec Endpoint Protection Manager installed on the server this culd also be the reason. The following forum discuss this problem and it's only a couple of weeks old. Will look into this.

http://www.symantec.com/connect/forums/unexpected-shutdown-event-tracker-issue-eventid-6008-eventlog
0
 
LVL 77

Expert Comment

by:Rob Williams
ID: 34946448
0
 
LVL 1

Accepted Solution

by:
logicsolutions earned 0 total points
ID: 34969332
Found the problem:

It's related to Blackberry Enterprise Server which I have installed on the same SBS 2011 box.

http://social.technet.microsoft.com/Forums/en/winservergen/thread/d10b8ba4-5b1a-440f-bc3c-2e8d02d10896

The last post in the above highlights the cause of the problem. Seems to be a mixture of BES and 2008 / 2011 platforms.

This problem seems like it pretty common.

Thanks Guys for the heads up.

Will run the BPA in the next couple of days to confirm the server configuration is running at optimal.
0
 
LVL 77

Expert Comment

by:Rob Williams
ID: 34969782
Interesting. Thank you for posting your findings.
Based on that you could use one of the scripts above to add shutting down the blackberry services before the actually shutdown and set them to have a delayed start at boot. It might resolve the problem.
0
 
LVL 1

Author Comment

by:logicsolutions
ID: 35138487
Mod please close the question,
0
 
LVL 1

Author Closing Comment

by:logicsolutions
ID: 35174520
Problem was related to BES Server.
0
 
LVL 6

Expert Comment

by:mrcannon
ID: 37310840
Thanks - saved me some time.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Written by Glen Knight (demazter) as part of a series of how-to articles. Introduction One of the biggest consumers of disk space with Small Business Server 2008(SBS) is Windows Server Update Services, more affectionately known as WSUS. For t…
The SBS 2011 release date (RTM) is supposed to be around Christmas, 2011.  This article is a compilation of my notes -- things I have learned first hand.  The items are in a rather random order, but I think this list covers most of what is new and d…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question