Solved

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

Posted on 2011-02-18
13
2,180 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 56

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
 
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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Small Business Server 2011. NOTE: This guide has been written using the preview version of SBS2011 therefore some of the screens may …
A quick step-by-step overview of installing and configuring Carbonite Server Backup.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

758 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now