In the last article, we saw how to configure DAG after installing Exchange 2013. The next step now, is to configure database replication. In database replication, the database of one Mailbox server is replicated to other Mailbox server within the DAG. This process is also called adding the database copy. In this post, I will show steps to configure database replication in Exchange 2013.
Configure Database Replication in Exchange 2013
The diagram below shows the scenario we’ve been working so far,
Before we start configuring database replication, make sure same database and log folder paths are configured in all DAG member servers. For example, if EX01 is configured to store database in D:\Exchange Databases and logs in E:\Logs, then EX02 which is member of DAG should also have same local storage path for databases and logs. If, they are not same, you can change the database and log folder path using Move-DatabasePath cmdlet. If DAG members are configured with same databases and logs storage locations, we are good to go.
Open Exchange Admin Center (EAC), click servers in the features pane and click databases tab. Here, you will see the list of database configured. Select the database that you want to replicate, click more (…) and click Add database copy as shown below.
Add mailbox database copy page will open up as shown below. Click browse.
Now select the server where you want the database be replicated to. Click OK as shown below.
After clicking OK, you can change the activation preference number as shown below. But, this works automatically by assigning next increment number for the database. Click save.
After clicking save, the database will start to replicate as shown below.
After seeding the database you will see completed message as shown below. Click close.
You can view the database replication information in the same page as shown below. You can see the database is active on EX01 server and EX01 EX02 have copies of the same database. Similarly, in the details pane, you can see more detail information. As you can see, EX02 is hosting passive copy of the database. You can also see the database are healthy. To check the health of databases, you can also use Get-MailboxDatabaseCopyStatus cmdlet.
In this way, you can configure database replication in Exchange 2013 DAG.