Exchange 2016 - Failover Active Mailbox Database to another Server

In a previous post, we looked at redistributing the active databases and copies in a DAG.

Today we will be taking a look at moving an active mailbox database to another server in the DAG. We will be using the Exchange Management Shell to perform this action. Why may you ask do we need to do this? You need to reboot the server that is holding the active copies and mount them on the passive node so you can carry out the task with minimal disruption to users.

Take note that you can do this on Exchange 2010 and 2013 as well.

To do this, launch the Exchange Management Shell on your Server:

https://collaborationpro.com/wp-content/uploads/2017/11/EMS1.png

Now we can run the following command:

  • Move-ActiveMailboxDatabase -Server MBXServerA -ActivateOnServer MBXServerB -Confirm:$All

https://collaborationpro.com/wp-content/uploads/2017/11/s1-1.png

As you can see, we are taking all the active mailbox databases on MBXServerA and activating them on MBXServerB. This process will take a few minutes to complete and you should see a successful set of lines along with the status of databases.

Also included is the -Confirm:$All switch so you don't have to manually press enter for each one.