Activating mailbox database copies

After you've created a Database Availability Group (DAG) and have added multiple database copies to the servers in your organization, you'll need to be able to move the active copies to other servers. In this recipe, you'll learn how to do this using the Exchange Management Shell.

How to do it...

Manually moving the active mailbox database to another server in a DAG is a process known as a database switchover. In order to activate passive mailbox database copies on another server, you'll need to use the Move-ActiveMailboxDatabase cmdlet:

Move-ActiveMailboxDatabase DB01 `
-ActivateOnServer MBX2 `

In this example, the passive mailbox database copy of DB01 is activated on the MBX2 server.

How it works... ...

Get Microsoft Exchange 2010 PowerShell Cookbook now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.