Exchange ServerExchange Server 2016Exchange Server 2019Microsoft

Migrate Exchange 2016 to 2019 – Part 2

Migrate Exchange 2016 to 2019 – Part 2

Migrate Exchange 2016 to 2019 Step by step

Now after completing the installation and configuring autodiscover, outlook anywhere, and virtual directory

Now let’s begin to Migrate exchange 2016 to 2019

We have to set the storage as it was on the old Exchange 2016

In techijack organization, we were using 2 different drives for the database and log folder.

Rename the database on the new Microsoft Exchange Server 2019 according to your choice. In our case it is DB01-2019

Therefore, also move the database edb and log folder path to the different drives you set for the Exchange server database.

In order to rename the current database on the Exchange server, 2019 run the following cmdlet

<span style="color: #008000;">Set-MailboxDatabase “current database name” –Name “DB01-2019”</span>

 renaming the exchange database name

After renaming the Database according to your choice

We have to move the Database and LogFolderPath to the drives we set for the database and logs

In our case, we have E: drive for .edb (E:\DB01-2019\DB01-2019.edb) file and F: drive for LogFolder (F:\LOGS\DB01-2019)

So, run the following cmdlet to move the Exchange Server 2019 Database and LogFolder

Move-Database DB01-2019 -EdbFilePath E:DB01-2019\DB01-2019 –LogFolderPath F:\LOGS\DB01-2019

 moving exchange server database

The next step is to create a DNS record for our New Exchange Server 2019

As you already know that we are using Namespace of “mail.techijack.live”

So, now we will create Host A record for Mail and Autodiscover

Host-A-record-setup-for-exchange-server-2019.

Now the DNS for your new server is set.

Therefore, now we can start to migrate Exchange 2016 to 2019

 

Exchange Server 2016 Migration to Exchange Server 2019

In order to migrate Exchange 2016 to 2019, we have to run the following cmdlet to move all the users in an Exchange 2016 Mailbox Database to the New Database of Exchange 2019.

We have to run the following cmdlet

Note: Our old database on Exchange 2016 is DB01

Get-Mailbox –Database DB01 | New-MoveRequest –TargetDatabase DB01-2019 –BatchName “2016 MB Migration to 2019”

 Migrate Exchange 2016 to 2019

Furthermore, we also have to move the Arbitration Mailboxes to our New Exchange Server 2019

For that, we have to run the following cmdlet

Get-Mailbox –Server EX01 –Arbitration | New-MoveRequest

Migrating Artibration Mailbox to exchange 2019

Once the job is waiting for job pickup, it will start the migration in the background.

To see the move request statistics

we have to run the following cmdlet to make sure that all the mailboxes are migrated to exchange 2019 successfully

Get-MoveRequest | Get-MoveRequestStatistics

 checking move request statistics

Now you can see that all the user’s mailbox and arbitration mailboxes migration is completed.

Let’s confirm the Arbitration mailbox, now where they are lying.

We will run the following cmdlet to confirm that

Get-Mailbox –Arbitration | Get-MoveRequest

checking move request of arbitration mailbox

Now you can see that our Arbitration mailboxes are successfully migrated to our new Exchange server 2019 Database.

Now our Mailbox and Artibration mailboxes are on new Exchange 2019.

 

Migrating Audit log To New Exchange Server 2019

Its time to move the Audit log as well

To see the audit log server we will run the cmdlet Get-Mailbox –Auditlog

Also, we will try to move the audit log to our Exchange Server 2019

For that, we will run the cmdlet Get-Mailbox –Auditlog | New-MoveRequest

Migrating Aduit log to exchange 2019

Now you can see that the Audit log is also waiting for job pickup

Make sure that the Audit log move request is completed and now it is on the new server i.e EX02-2019

Run the following cmdlet to confirm and check the Audit Log

To check the move request cmdlet is Get-Mailbox –Auditlog | Get-MoveRequest

And to cross-check that, now they are on a new server run the cmdlet again Get-Mailbox –Auditlog

checking audit log on new exchange server

We have now successfully migrated all the Mailboxes, Arbitration Mailboxes, and Audit log to the new exchange server 2019

Moreover, we also have to add our new exchange server to the send connector as well

send connector exchange 2019

Once you add the new exchange server to the send connector

Therefore, you can now remove the old exchange server 2016 from the send connector

 Adding Exchange 2019 to send connector

 

Removing Old Database From Exchange 2016

Now we have set most of the configuration to our new server.

Therefore, still, the old database is lying on the old exchange server 2016

We have to remove the old database from Exchange 2016 so that we can decommission the old Exchange 2016 from our organization Techijack

Check the database by running the cmdlet Get-MailboxDatabase –Server EX01

You will see the old database will be there in Exchange 2016

Run the following cmdlet to remove the Database from Exchange 2016

Get-MailboxDatabase –Server EX01 | Remove-MailboxDatabase

It will prompt you for the confirmation, press y to confirm the action to delete the database from the old exchange server

RemovExchange 2016 Database

 

Decommissioning Exchange 2016

Our task to migrate exchange 2016 to 2019 is now completed and it’s time to decommission the exchange 2016 from our organization

Open the run box and type appwiz.cpl

You will see the add remove programs

Just select the Microsoft Exchange Server 2016 and uninstall it

In our case, it is Microsoft Exchange Server 2016 Cumulative Update 22 so let’s remove the exchange server 2016

Uninstalling Exchange 2016

Once the removal is complete, just click on finish and reboot the computer.

We have successfully migrated Exchange 2016 to 2019

Finally, it’s time to test the internal and external email flow on the new server, it’s working fine or not.

Checking User Mailbox

Moreover, try to test it with the Microsoft analyzer tool to check for outlook connectivity, ActiveSync, Autodiscover, Inbound, and Outbound mail connectivity.

Result on Microsoft Remote Connectivity Analyzer

Testing result for ActiveSync on Microsoft analyzer tool

 testing ActiveSync on Remote analyzer

Testing Outlook Connectivity & Autodiscover on Microsoft remote connectivity Analyzer Tool

Outlook connectivity on remote analyzer tool

Inbound SMTP Test on Microsoft Remote Connectivity Analyzer tool

testing inbound mailflow

Outbound SMTP Test on Microsoft Remote Connectivity Analyzer

Outbound test for exchange 2019

SSL Server test for Microsoft 365 service compatibility

SSL Server test for Microsoft 365 service compatibility

All the tests are in pass state and inbound, outbound mail flow is also working fine.

Finally, we have a successful migration from Microsoft exchange server 2016 to Exchange server 2019

Register for Exchange Server Administration Course on https://course.techijack.com

In case of any support, help, and assistance

Feel free to contact: [email protected]

Exchange Migration Part 1

Exchange Server 2016 Migration to Exchange 2019 Steps

Techi Jack

Techi Jack is an alternate internet name for Vikas Jakhmola, an IT professional with more than 12 years' experience. Currently, he is working as a freelancer. His experience includes setting up networks and servers for multiple organizations. He has been working with the server since 2003. TechiJack, or Vikas Jakhmola, shares his expertise and knowledge on his blog and in training courses.
Back to top button