Monday, January 9, 2012

Upgrading Exchange Server 2010 SP1 to SP2

Microsoft released the second service pack for Microsoft Exchange Server, SP2.

for more information for SP2 click here. I am going to upgrade my lab to this latest service pack SP2.
Before I start, let me show you my current exchange server versions.
Exchange 2010 SP2, makes changes to Schema, checkout the Schema changes here.
There is a new pre-requisite for the CAS Server, which is the “IIS 6 WMI Capability”, you have to install this before you can install SP2.

Read about this pre-requisite here. You may also receive some warnings regarding RBAC, which detailed in the link given before.

You can install the pre-requisite by below commands:

Import-Module ServerManager

Add-WindowsFeature Web-WMI

Now, you can run setup.exe.

                                         Click on ‘Install Microsoft Exchange Server Upgrade’
                                        Click Next

                                            Accept the EULA, and click Next.

                                          Once the checks are complete, click Upgrade.

                                           Click Finish

If you want to do this in unattended mode, then you can run the following command:

Setup /Mode:Upgrade /InstallWindowsComponents

In real world, you have consider a lot before doing it straight forward like this, for example:

1. Get user downtime.

2. Stop Services

3. Move DAG members to another node, etc.,

I got this error, when running the upgrade on one of the server:

Entry DN: CN=Locale-ID,CN=Schema,CN=Configuration,DC=dinesh,DC=com

Add error on entry starting on line 128: Busy
The server side error is: 0x200e The directory service is busy.
The extended server error is:
0000200E: SvcErr: DSID-02080615, problem 5001 (BUSY), data -1102
An error has occurred in the program

It was the high CPU usage on the DC which caused this error, since I had very memory allocated to the VMs.
After clearing up some tasks , the memory dropped and I was able to successfully upgrade my servers to SP2.
Below is the screenshot after the upgrade, you can see that the server version is now changed to 14.2