📜 ⬆️ ⬇️

Inplace Upgrade Windows Server 2012 to Windows Server 2012 R2 with Exchange 2013 CU3 installed

Inplace Upgrade is not supported?


With the release of CU3 for Exchange 2013, it is now possible to upgrade the runtime platform to Windows 2012 R2.
However, we are waiting for a couple of difficulties. Just because Exchange will not work.
What needs to be done to avoid problems and described in this short article. Checked on yourself.

First step: save the database.
Simple option: built-in backup engine.
Advanced version: PowerShell, a good description is here: How to backup Exchange 2013 mailbox database

The second action.
Run the installation in update mode.
Everything is standard. Reboot, force updates. Non-Exchange,

As it turned out, the Inplace Upgrade procedure for some reason removes the IIS WinRM extension. Solution: nominally add it through the Add Roles and Components Wizard:
If the component is installed, we first remove it, then put it again.
image


After adding the Exchange Management Shell component successfully connects to our server.
The remaining necessary action, as I understood it, is caused by the violation of access rights to the files of our mail databases and their incorrect closure for this reason.
')
It is treated as follows:

1) eseutil.exe / r eXX , where eXX is the name of the database log file, execute the log file in the location directory
2) eseutil.exe / p MailBoxDbName.edb , - where MailBoxDbName.edb is the name of the database file, execute in the directory where the database file is located.
3) eseutil.exe / d MailBoxDbName.edb , - where MailBoxDbName.edb is the name of the database file, run in the directory where the database file is located.
Step 3 physically copies the database file, restoring the ACL, after which the database is automatically mounted in just a couple of minutes. Do not try to force mount through the Exchange Administrative Center.

PS Perhaps the official guide on the Inplace Upgrade procedure will appear soon, which will contain a recommendation to force the unmounting of mail databases before performing the update. I unmounted one of the bases before the upgrade - it did not help.
The output is a working Exchange 2013 CU3 on Windows Server 2012 R2.

Source: https://habr.com/ru/post/204530/


All Articles