By Steven Jordan on 4/17/2014
Takeaway: Steps on how to apply Windows updates to the Exchange Data Availability Group (DAG) servers. Take care when applying Exchange service pack rollups on Patch Tuesday.
- Prevent the server from activating databases. N.B., Exchange continues to keep databases current; however it will not activate if other DAG members become unavailable.
- Migrate all active databases to another DAG member
- Check activation status with PowerShell:
- It's safe to install the Exchange roll-ups when activation is suspended. Proceed with patching.
- Re-enable the database after patching is complete. N.B., This server only becomes active if the other DAG member becomes unavailable.
- Repeat the process for the remaining DAG servers: (a) prevent activation, (b) migrate active database to another DAG member, (c) install the roll-ups, (d) resume activation.
Get-MailboxDatabaseCopyStatus –Server (hostname) | Suspend-MailboxDatabaseCopy –ActivationOnly –Confirm:$false
Move-ActiveMailboxDatabse -Server (hostname) -ActivateOnServer (Other DAG Member)
Get-MailboxDatabaseCopyStatus –Server (hostname) | Select Name, ActivationSuspended, MailboxServer
Get-MailboxDatabase | Select Name, ActivationPreference, Server
Get-MailboxDatabaseCopyStatus –Server (hostname) | Resume-MailboxDatabaseCopy