Preface

This is part 3 of three-part How to Migrate Exchange Server 2013 to 2019 article. If you have not gone through the migration steps fully please click the link above to go to other 2 parts and then go through this article

The next step on Configuring Exchange 2019 Server is to rename the long and with funny numbers database name to a name with meaning full one. And then move the database to where the disk has more space or where it can be accessed and identified easly.

Rename Database and move its path

We are modifying the database name with set-MailboxDatabase command on the exchange management shell and subsequently we do move-DatabasePath in order to move the database to another location. The move database path will prompt for confirmation for performing the action and dismount the database temporarily until the database move operation complete. The database will be mounted again once the database move operation finishes.

 Migrating Exchange Server 2013

We have almost finished configuaring the newly installed Exchange Server and we are going to cut over client access to Exchange Server 2019 by updating the DNS reports of hostname recors Autodiscover and mail to Exchange server 2019 IP address so that the clients like outlook desktop client and Outlook web Access and so on will point to Exchange 2019 server from now on even though we have not yet moved mailboxes to Exchange  2019 server yet.

 Migrating Exchange Server 2013

Once the client access has been moved to Exchange server 2019 the mail flow needs to be routed through exchange 2019 server. In order do that go to send connector and on the scope and in the servers list add only exchange 2019 server remove exchange 2013 server from the list.

Once Send Connector has been updated go the firewall or gateway router and update the NAT to point to the Exchange server 2019 instead of Exchange 2013. The port forwarding of port 25 for mail flow and port 443 for client access needs to be pointed to Exchange server 2019 internal ip address in order to point these services to Exchange Server 2019.

Mailbox Move

As the configuration of Exchange Server 2019 has been completed the next task we are going to deal with these moving mailboxes to Exchange Server 2019. The mailboxes can be moved either using a graphical user interface or Command Line Interface. In this demonstration, we have used the command line interface and the commend new-moverequest has been used to move the mailboxes to the exchange 2019 server database.

Get-Mailbox -Database MBX-DB-2013 | New-MoveRequest -TargetDatabase MBX-DB-2019 -BatchName “MBX-DB-2013toMBX-DB-2019”

 Migrating Exchange Server 2013

The get-moverequest request and get-moverequeststatistics commands can be used to check the mailbox move request status. We see the mailbox move request process is completed.

 Migrating Exchange Server 2013

Apart from mailboxes, there are some system mailboxes called Arbitration mailboxes that need to be moved to Exchange server 2019 to complete the mailbox move. The following command is used to move the arbitration or system mailboxes.

 Migrating Exchange Server 2013

The arbitration mailboxes are moved to Exchange 2019 Server and the get-moverequest statistics show that all arbitration and mailboxes as completed.

 Migrating Exchange Server 2013

Decommissioning Exchange Server 2013

All mailboxes have been moved from Exchange 2013 server to 2019. Now all the services running have been moved. Make sure the Exchange 2013 server removed from send connector, to remove the server, log in to ECP and goto mail flow/send connector and open the send connector and go to scoping and remove the server name related Exchange 2013 server.

Also, We must remove the Exchange 2013 database before uninstalling the server. To remove the database, run the following command on the Exchange management shell as depicted below.

 Get-MailboxDatabase –Server ex2013 | Remove-MailboxDatabase

https://getanadmin.com/wp-content/uploads/2020/01/2020-01-19_1332.png

Now is the time to decommission the Exchange Server as the migrating Exchange 2013 to 2019 completed and only Exchange Server 2013 uninstallation is pending. Before decommissioning the Exchange Server 2013, you should shut down the Exchange 2013 server for at least a week so that we can make sure no unmoved services are running on Exchange 2013 server. To decommission the Exchange 2013 server, go to Uninstall Program from the control panel and select Microsoft Exchange Server 2013 and click uninstall.

https://getanadmin.com/wp-content/uploads/2020/01/2020-01-19_1335-1024x571.png

The remove Exchange server wizard will open and click next.

https://getanadmin.com/wp-content/uploads/2020/01/2020-01-19_1336.png

The Exchange readiness check will run and make sure there is no error after the readiness check and then click uninstall.

https://getanadmin.com/wp-content/uploads/2020/01/2020-01-19_1337_001.png

The Exchange removal process starts.

https://getanadmin.com/wp-content/uploads/2020/01/2020-01-19_1354.png

After uninstall setup process complete you will be shown with the warning that the warning that you must reboot the server in order to complete the uninstall.

https://getanadmin.com/wp-content/uploads/2020/01/2020-01-19_1354-1.png

Conclusion

In this three-part article, we discussed how to Migrate Exchange Server 2013 to 2019 from installing Exchange server 2019 in the Exchange server 2013 organization to decommission the Exchange Server 2013 after complete migration. We started with installing Exchange server 2019 on the Exchange server 2013 organization and moving on to configuring various settings such as Outlook anywhere, Virtual directories, etc. We imported the third-party exchange server certificate from exchange server 2013 to exchange server 2019 assigned the services to it. We cut over Client access and mail flow to Exchange server 2019 and moved mailboxes to Exchange server 2019 databases. We also covered the decommission of Exchange server 2013 in the end, and that completed the migration scenario.