Adding A Replication Network To An Exchange 2010 DAG…

MS Exchange

As most of the exchange admins plan the deployment of new versions of Exchange, there might be a case where you start the deployment of an Exchange 2010 DAG with a single NIC (for both MAPI and replication, which is supported by Microsoft as well), but later on, you think of configuring a dedicated replication network for the DAG. The process is pretty straight forward – you add additional NIC to your DAG members, configure the correct IP & routing and that’s it. Exchange should start using the dedicated replication network for log shipping and seeding.

The trouble is that though you have taken all the right steps, sometimes Exchange won’t recognize the new replication network and hence won’t use it. So, how do you get around the problem? Let me explain based on my lab.

I have a two node DAG up and running with a single NIC.

Single MAPI NIC

I have one DAG network, which is named as MAPI. The replication traffic goes through the same network as well at the moment.

DAG network in EMC

Now, I add a new NIC for replication network and configure the IP & routing.

Two NICs in Windows

But, Exchange still doesn’t see it and doesn’t create a new DAG network as expected. The reason is that Exchange only scans for the networks on DAG members when a server is added to the DAG. After that, the networks are scanned only if you tell Exchange to do it. All we need is a one-liner in Shell to force Exchange to recognize the new NIC & thereby creating a new DAG network. Run the following command in Exchange Shell.

Set-DatabaseAvailabilityGroup “DAG Name” –DiscoverNetworks

As expected, Exchange shows the new DAG network in the console.

New network in EMC

Other Popular Articles


MS Exchange

Scripting Agent Initialization Failed: “File is not found” Error During Exchange 2016 Setup

MS Exchange

EAC Access While Co-Existing Exchange 2013 With 2010

MS Exchange

Delete All Calendar Entries In An Exchange 2010 Mailbox

8 thoughts on “Adding A Replication Network To An Exchange 2010 DAG…”

  1. Hi Rajith,

    We’re looking to configure an Exchange 2013 environment with a DAG. Our question is what are we losing out with when going with a single NIC for both MAPI and Replication? Is it that big of a game changer? We’ll be using 3 servers in the DAG and all will be located in the same physical network servicing roughly 1800 mailboxes. I just want to make sure we have it right during the initial build so we don’t have to make a change once it is in production.

    Thanks,
    John

    Reply
    • Hi John,

      Having two NICs was more of in the Exchange 2010 world and only makes sense if you have two different routes, one for production traffic and another separate network for replication. If they are going to go through the same pipe, just stick with one NIC.

      In Exchange 2013 and later, it is better to have just one NIC.

      Thanks

      Reply
  2. Great article. I have a second NIC that I am going to use solely for replication and this article is a great find. My question is now that you have two NIC’s connected is the original NIC still replicating DAG information? How do you set the MAPI NIC form the DAG Network so that it is only being used for MAPI traffic?

    Reply
  3. Hi Rajith,

    can we use two NIC for DAG, 1 is for Mapi and 2 is for private replication at the time of DAG creation or we have to complete the DAG on single NIC first and then Add additional NIC for replication as mentioned above.

    Plz help me out.

    Reply
    • Hi Rajnish,

      You can have two NICs when you configure the DAG or add the second one later and re-configure the DAG later.
      Both are fine.

      You don’t have to have a separate NIC for replication if you don’t have a different pipe or VLAN. Single NIC DAG is fully supported.

      Thanks.

      Reply

Leave a Comment