How to apply Patches/ Service packs to Exchange 2010 DAG Servers

Hi Readers,

Today I am sharing the process that we use for applying patches/ service pack to Exchange 2010 DAG servers.

  1. Check Database Health & Status

Run DAG Health Script

               http://exchangeserverpro.com/get-daghealth-ps1-database-availability-group-health-check-script/

  1. Please check that all tests are passed.
  2. Check on which servers databases are mounted.
  3. Move active mailbox databases to another Node.

Get-MailboxDatabase | where {$_.Server -eq “Server01”} | Move-ActiveMailboxDatabase -ActivateOnServer Server02 -Confirm:$false

Ensure that the databases have been moved successfully

SUccess1

5.  Put Server01 into maintenance mode (use Dag maintenance script)

StartDagServerMaintenance.ps1  Server01

Please notice the alert (See below).  The alert occurs because there are only two databases per DAG.  The alert can be ignored

success2

If the maintenance is just for security patches, proceed to step 6.  If this is an Exchange specific update, configure the services as follows

Stop the McAfee Security for Microsoft Exchange Service (If  in your environment you use this product)

Stop the PatrolAgent (If  in your environment you use this product)

Set the Windows Firewall service to manual and start the service

6.     Install Updates

If necessary, stop the Windows Firewall service and set the service to Disabled

             Restart the computer

7.   Log back onto Server01 once it’s back up, take it out of maintenance mode

StopDagServerMaintenance.ps1  Server01

8.  Repeat the same steps from other DAG Node. (Server02)

 

Regards

Sukhija Vikas

Advertisements

Leave a Reply

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