Hi Readers,
Today I am sharing the process that we use for applying patches/ service pack to Exchange 2010 DAG servers.
- Check Database Health & Status
Run DAG Health Script
http://exchangeserverpro.com/get-daghealth-ps1-database-availability-group-health-check-script/
- Please check that all tests are passed.
- Check on which servers databases are mounted.
- 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
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
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