Configure Database Replication in Exchange 2010

In the previous article we saw how to configure Database Availability Groups in Exchange 2010. We will now configure database replication in Exchange 2010. Database replication is basically replicating the Mailbox Database from one member in the DAG to another member. You can also call Database replication as adding database copies. In this post we will look in to the steps required to configure Database Replication in Exchange 2010.

Configure Database Replication in Exchange 2010

Below is our scenario that we will be working on. In this scenario we will be replicating DB01 mailbox database from MBG-MBX01 to MBG-MBX02.

Our Scenario

The DAG member servers should not have same path for database logs. Each database should have a separate path for database logs. For example: The path for database log of DB01 mailbox database in MBG-MBX01 is E:\Logs and the path for database log of DB02 mailbox database in MBG-MBX02 is E:\Logs before replication. Database replication will fail for both DB01 and DB02, because the database log path which is E:\Logs is already being used. To avoid this situation, you should separate log file path for each mailbox database DB name like E:\Logs\DB01 and E:\Logs\DB02 on the server while creating the mailbox database. You can also do this easily while you create new mailbox database in Exchange 2010 as shown below. The second option shows option to specify log folder path.

DB Log File path

Now, to replicate the mailbox database, Open Exchange Management Console. Expand Organization Configuration  →  Mailbox  → Navigate to Database Management Tab   →   Right-Click on the Database you wish to add Database copy  → Click Add Mailbox Database Copy. Here I have selected DB01 mailbox database as shown below.

Configure Database Replication in Exchange 2010

When you click Add Mailbox Database Copy, new wizard will pop up as shown below. To add the database copy on another member click Browse and select member server MBG-MBX02 and then Click Add.

Add Mailbox Database Copy

The wizard has successfully added the database copy to the member server MBG-MBX02 as shown below.

Add Mailbox Database Copy Finished

Repeat the above steps for creating database copies for additional mailbox databases.

Verify if the mailbox database copy is created

Once you add the Mailbox Database copy, you can verify by selecting the Database Management tab as shown below. You will see the list of servers that have database copy of the selected database under Database Copies tab as shown below.  You can also see other information like, DB01 is currently active in MBG-MBX01 mailbox server and the Copy Status is mounted. Similarly the database copy on MBG-MBX02 is healthy and is set to False under Is Active column, which means it is acting as backup.

Created mailbox Copy

You can also verify the database copy status by using the following command from Exchange management Shell.

Get-MailboxDatabaseCopyStatus -Server MBG-MBX01

Get-MailboxDatabaseCopyStatus -Server MBG-MBX02

Shell Database Copy Status

In this way you can configure database replication in Exchange 2010.

The following two tabs change content below.
Bipin is a freelance Network and System Engineer with expertise on Cisco, Juniper, Microsoft, VMware, and other technologies. You can hire him on UpWork . Follow Bipin Giri on Google+. Bipin enjoys writing articles and tutorials related to Network technologies. Some of his certifications are, MCSE:Messaging, JNCIP-SEC, JNCIS-ENT, and others.