You are on page 1of 3

Exchange 2010 SP3 on Windows Server 2012 - Michael's technical ramb...

http://blogs.technet.com/b/mikehall/archive/2013/03/02/exchange-2010-...

Exchange 2010 SP3 on Windows Server 2012


Michael Hall (MCS) 2 Mar 2013 1:59 PM

I've been busy with a small Exchange 2007 to Exchange 2010 engagement the last few days and we decided to go with Windows Server 2012 for the base operating system. Luckily for us Exchange 2010 SP3 has been released and I was very excited to deploy on a new Windows Server 2012 OS. I thought it would be a good idea to share my experiences as I picked up some issues during the deployment specifically the configuration of the Database Availability Groups. Im not going to cover the actual migration, just the Windows Server 2012 part and the issues I picked up during the Database Availability Group configuration. There are many great TechNet articles that cover the coexistence: http://technet.microsoft.com/en-us/library/dd638158(v=exchg.141).aspx First things first lets read the release notes on Exchange 2010 SP3: http://technet.microsoft.com/en-us/library/jj965774(v=exchg.141).aspx Two important points: Schema updates are required. A database availability group (DAG) member thats running an older version of Exchange 2010 can move its active databases to a DAG member running a newer version of Exchange 2010, but cant do the reverse. After a DAG member has been upgraded to a newer Exchange 2010 service pack, its active database copies can't be moved to another DAG member thats running Exchange 2010 RTM or to a service pack that's older than the service pack installed on the DAG member. There are also some minor changes in the prerequisites for Windows Server 2012. Dot Net Framework 3.5 and Windows Powershell 2.0 needs the Windows Server 2012 image mounted as the side by side store (sxs) source files are not available locally after install you only need to use the source files if you dont have internet access to Windows Updates from your box which was the case for me. You dont have to uninstall Dot Net Framework 4.5 or Windows PowerShell 3.0. To install Dot Net Framework 3.5 and Windows Powershell 2.0 via PowerShell using SXS source files: Import-Module ServerManager Install-WindowsFeature NET-Framework-Core,PowerShell-V2 Source E:\Sources\sxs Where E:\ is the drive where you mounted the Windows Server 2012 image file. The rest of the MultiRole prerequisites (I install telnet client additionally for troubleshooting purposes): Install-WindowsFeature Telnet-Client,RSAT-ADDS, RSAT-Clustering,Web-Server,Web-Basic-Auth,Web-Windows-Auth,WebMetabase,Web-Net-Ext,Web-Request-Monitor,Web-Static-Content,Web-Mgmt-Console,Web-Lgcy-Mgmt-Console,Web-WMI,WASProcess-Model,Web-Asp-Net,Web-Client-Auth,Web-ISAPI-Ext,Web-ISAPI-Filter,Web-Http-Errors,Web-Http-Logging,WebHttp-Redirect,Web-Http-Tracing,Web-Digest-Auth,Web-Dir-Browsing,Web-Dyn-Compression,NET-HTTP-Activation,RPCOver-HTTP-Proxy Restart Install the Office 2010 Filter Packs found here: http://www.microsoft.com/en-us/download/details.aspx?id=17062 Install Office 2010 Filter Pack Service Pack 1 found here: http://www.microsoft.com/en-us/download/details.aspx?id=26604 The next step is the actual install which I wont cover as there are tons of content on the web around that. After my brand spanking new multirole servers were deployed and base configuration completed it was time for the DAG configuration. The first thing to know when creating the DAG on Windows Server 2012 is that your cluster name object (CNO) needs to be pre-staged, because of the permission changes in Windows Server 2012 with regards to computer objects. CNO enhancements in Windows Server 2012: http://blogs.technet.com/b/wincat/archive/2012/08/29/windows-server-2012-failover-cluster-enhanced-integrationwith-active-directory-ad.aspx The CNO pre-staging steps are outlined in this article: http://technet.microsoft.com/en-us/library/ff367878(v=exchg.141).aspx Its important to ensure the above CNO pre-staging is correct as the cluster is only formed once you add the first mailbox server to the DAG. This is where my second issue popped up. I noticed that during Add-DatabaseAvailabilityGroupServer the process got stuck at installing the Failover Cluster Components. Im not entirely sure if this is Windows Server 2012 related or only happened to me on that day (it has never happened on Windows

1 of 3

9/4/2013 12:16 AM

Exchange 2010 SP3 on Windows Server 2012 - Michael's technical ramb...

http://blogs.technet.com/b/mikehall/archive/2013/03/02/exchange-2010-...

Server 2008 R2), but I killed the process and noticed that the components were indeed installed on the server. When I reran Add-DatabaseAvailabilityGroupServer it finished successfully and the cluster was created. I dont like processes getting stuck and then killed in mid configuration, so before my second Add-DatabaseAvailabilityGroupServer I pre-installed the Failover Cluster components by using the following PowerShell cmdlet: Install-WindowsFeature -Name Failover-Clustering IncludeManagementTools At this stage I encountered my third issue (yeah it was a tough day at work :-) ): When the second server is added to the cluster, the cluster is changed to Node and File Share majority thus using the predefined File Share Witness server (FSW) and Witness directory that you specified in New-DatabaseAvailabilityGroup. For some reason my FSW cluster resource would just not go online with an error message 0x8007052e: "unknown user name or bad password". I confirmed all connectivity, permissions and firewall settings on my FSW and everything looked fine. Deleted and recreated the FSW manually still no go. Trying to avoid unnecessary time wasting I decided to just remove the cluster completely and start again (luckily PowerShell makes this very easy): Removed the nodes from the cluster: Remove-DatabaseAvailabilityGroupServer for both nodes. Removed the DAG configuration in Exchange: Remove-DatabaseAvailabilityGroup Checked the cluster to ensure the cluster is removed. Removed the Cluster Name Object. Pre-staged new CNO and reran New-DatabaseAvailabilityGroup and Add-DatabaseAvailabilityGroupServer Happy days! The FSW cluster resource came online. Moral of the story: Sometimes its better and faster to start again than to troubleshoot for hours on end. I might have been able to get the FSW online with a little digging in the cluster logs, I have feeling that the CNO had some problem in AD, but with minimal deployment time I decided to reconfigure and luckily it worked out with minimal troubleshooting this time around. The rest of the deployment went without a hitch, Ill be migrating mailboxes soon and hopefully I dont pick up any other anomalies along the way (if I do Ill definitely add it as a blog post :-) ). Hopefully someone will find the information above helpful when they deploy on Windows Server 2012! Until next time. Michael

Comments
Bob 3 Mar 2013 6:09 PM

How can you go from 2007 to 2013? We're still waiting on CU1?

Michael Hall (MCS) 3 Mar 2013 10:11 PM

Hi Bob, This blog entry is about Exchange Server 2010 SP3 on Windows Server 2012. Cheers, Michael

Daniel 2 May 2013 12:57 PM

Hi Michael, Did you run into any odd RPC issues with your install? I am migrating a client from SBS 2003 R2 to Server 2012 and Exchange 2010 SP3. Everything was rolling right along until I installed the CAS and rebooted the server. After rebooting the server would no longer process GPO's and Netlogon was throwing errors left and right. I started randomly losing connection to shares on the box and while troubleshooting found DNS errors occurring like crazy and the server was no longer replicating with the other DC's, all errors pointing to DNS and RPC unavailable. After troubleshooting for hours I uninstalled Exchange and rebooted and the server was back to normal. Replication returned, GPO's were processed and DNS issues went away.

Michael Hall (MCS) 24 May 2013 3:56 PM

Hi Daniel,

2 of 3

9/4/2013 12:16 AM

Exchange 2010 SP3 on Windows Server 2012 - Michael's technical ramb...

http://blogs.technet.com/b/mikehall/archive/2013/03/02/exchange-2010-...

I didn't run into any weird RPC or DNS issues like that, but from your description it sounds like you were installing Exchange 2010 SP3 on a Windows Server 2012 Domain controller? We don't really recommend doing this as it may cause some issues on the DC's - if you really need to deploy on the same server for a small environment I'd rather virtualize the server with Hyper-v and split into DC and Exchange on seperate VM's. Cheers, Michael

Jeremy 26 Aug 2013 9:40 AM

there is a comma missing in the PS script "Web-Http-Tracing Web-Digest-Auth"

Michael Hall (MCS) 29 Aug 2013 1:30 AM

Thanks Jeremy! I fixed it.

3 of 3

9/4/2013 12:16 AM

You might also like