Step by Step: How to perform Exchange 2010 Maintenance and Testing

As much as we’d like to leave our Exchange Servers alone when they’re working properly, there are times we have to perform maintenance.

In this article, I’d help you get through the process from Preparation to Testing.

Enjoy..

1. From the Exchange Management Shell run Set-ExecutionPolicy UNSIGNED

2. If you have SCOM – place the server in Maintenance Mode. No one likes false positive alerts :-)

3. Run the ‘maintenancewrapper’ script found here 
>>> .\maintenanceWrapper.ps1 –server <SERVERNAME> –action START

Note: The command creates the CSV files containing the original database states and then invokes the StartDagServerMaintenance.ps1 script to place the DAG member in maintenance mode.

4. Turn off the Check for publisher’s certificate revocation option on the server that is being upgraded.
Use the following steps:
· Start Internet Explorer.
· On the Tools menu, click Internet Options.
· Click the Advanced tab, and then locate the Security section.
· Clear the Check for publisher’s certificate revocation check box, and then click OK.
· After the update rollup installation is complete, select the Check for publisher’s certificate revocation option.

5. Install the Exchange Server (Service Pack or Hotfix).
Note: Perform ‘rolling updates’ aka only update ONE server at a time. It may take a little bit more time but it could save you unnecessary headaches later.

6. Turn on the Check for publisher’s certificate revocation option on the server that is being upgraded.
Use the following steps:
· Start Internet Explorer.
· On the Tools menu, click Internet Options.
· Click the Advanced tab, and then locate the Security section.
· Clear the Check for publisher’s certificate revocation check box, and then click OK.
· After the update rollup installation is complete, select the Check for publisher’s certificate revocation option.

7. Reboot Server

8. Verify Service Pack and Rollup version
>>> GCM exsetup |%{$_.Fileversioninfo}

9. After the server comes back online, Stop the maintenance using this command:
maintenanceWrapper.ps1 –server <SERVERNAME> –action STOP

Note: The command calls the StopDagServerMaintenance.ps1 script to remove the DAG member from maintenance mode and then resets the database and server activation states from the states recorded in the CSV file.

9. Take the server out of SCOM Maintenance Mode.

Now the fun part.. Testing :-)

10. Server Validation and Testing. Our good friend Paul Cunningham was kind enough to really help us out with this script ‘Test-ExchangeServerHealth.ps1′. It gives you a fantastic Exchange Server Health report. You can download it here

11. If that’s not enough use the old-fashioned method below

Go to http://www.testexchangeconnectivity.com and run the following tests. If any errors come up be sure to document them. Also make sure you run this test before and after changes as some may have been present from before.
· Outlook Anywhere (RPC over HTTP)
· Outlook AutoDiscover
· Exchange Active Sync
· Exchange Active Sync AutoDiscover
· Inbound SMTP E-Mail
· Outbound SMTP E-Mail

Basic Email
- Send email to echo@eu.uu.net. This will automatically reply with an email from Verizon Business Envelope Facility <etms-no-replies@verizonbusiness.com>.
- Send email to second internal mailbox that is on a different database. Verify email is received and can be replied back.

Calendaring
- Book a meeting with an internal users as a resource. Confirm that the internal user received the email, and that it responds with an accept.
- Confirm that the originating user has acknowledgement of resource booking, and that user 2 has accepted.
- Cancel the same meeting and make sure the resource attendant clears the booking for the resource.

Mobility and OWA
- Send an email from a mobile device with ActiveSync configured. Make sure you can also receive email correctly to the mobile device.
- Log onto webmail from an external connection and make sure OWA provides a logon screen. Enter credentials and make sure your webmail loads accordingly
- Log onto webmail internally and make sure your email comes up straight away. Your AD account should be logged in automatically.

Address Book
- When connected to Exchange via Cached mode go to Send/Receive > Send/Receive Groups > Download Address Book… > Download Full Details and OK. Click on the Address Book and validate that users/groups are populated accordingly.

Public Folders
- Verify access to public folders​



Categories: Exchange Server

Tags: , , , , , , ,

We look forward to hearing your feedback..

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 1,999 other followers

%d bloggers like this: