Install cumulative update on an Exchange Server 2013 DAG
9 July 2020Please make sure you have a backup of your Exchange server before
Download and extract the cumulative update
Open the CMD prompt (make sure you’re running as an administrator) and run these commands from the extracted directory
1 2 3 |
Setup.exe /prepareSchema /IAcceptExchangeServerLicenseTerms Setup.exe /prepareAD /IAcceptExchangeServerLicenseTerms Setup.exe /prepareDomain /IAcceptExchangeServerLicenseTerms |
Put the 1st server in maintenance mode from PowerShell exchange
1 2 3 4 5 6 7 |
$server = $ENV:ComputerName Set-ServerComponentState $server -Component HubTransport -State Draining -Requester Maintenance Redirect-Message -Server $server -Target FQDN2ndserver Suspend-ClusterNode $server Set-MailboxServer $server -DatabaseCopyActivationDisabledAndMoveNow $True Set-MailboxServer $server -DatabaseCopyAutoActivationPolicy Blocked Set-ServerComponentState $server -Component ServerWideOffline -State Inactive -Requester Maintenance |
To install the update close the PowerShell exchange and open the CMD prompt as an administrator user
1 |
Setup.exe /mode:upgrade /IAcceptExchangeServerLicenseTerms |
Once the installation is complete, open the PowerShell exchange and take the server out of maintenance mode
1 2 3 4 5 6 7 8 |
$server = $ENV:ComputerName Set-ServerComponentState $server -Component ServerWideOffline -State Active -Requester Maintenance Resume-ClusterNode $server Set-MailboxServer $server -DatabaseCopyActivationDisabledAndMoveNow $False Set-MailboxServer $server -DatabaseCopyAutoActivationPolicy Unrestricted Set-ServerComponentState $server -Component HubTransport -State Active -Requester Maintenance Restart-Service MSExchangeTransport Restart-Service MSExchangeFrontEndTransport |
Then run the same process on the other Exchange server
Views: 1423