This article will discuss the optional configuration of how to enable redundant networks in a Server 2008 Failover Clustering scenario for supporting log shipping. Primary to this article is Exchange 2007 CCR nodes in a cluster and the configuration of setting up the public and private networks for supporting log shipping between the two CCR nodes.
By default, the private network carries only heartbeat traffic between the CCR nodes. The public network carries the log shipping or seeding traffic. To configure the private network to also support carrying the log shipping or seeding traffic, the following procedure will need to be performed.
The private network will need to be configured for "mixed network"; this is done using the EMS. A mixed cluster network is any cluster network that is configured for both cluster (heartbeat) and client access traffic. When a mixed cluster network has been configured, Microsoft Exchange Server 2007 uses that network for log shipping. Multiple mixed networks can be specified, and if more than one network is available, Exchange 2007 randomly selects one of the networks. If the network currently in use becomes unavailable, Exchange 2007 automatically selects another available network.
Article Node Configuration
For the purposes of this article, the following specifics are helpful to know when references are made:
CCR Names –
CCR Node Names: S08-E2k7-CCR1 and S08-E2k7-CCR2
CMS Name: CCRCMS
IP Addresses –
S08-E2k7-CCR1 Public: 10.10.10.1, Private: 192.168.1.1
S08-E2k7-CCR2 Public: 10.10.10.2, Private: 192.168.1.2
CCRCMS: 10.10.10.3
Name Resolution
On the adapter being configured for continuous replication traffic, name resolution must be configured specifically for the mixed network and NIC. Likely, the check box for the "Register this connection's address in DNS" has been cleared – and this is best practice for traditional cluster configurations. However, for CCR on Server 2008, either a static DNS entry for the new continuous replication host name or entries to the nodes' HOSTS file will be necessary to provide for name resolution.
NetBIOS name resolution is also necessary on the mixed network. The private NICs will likely have this disabled, as best practice from MS dictates. However, if NetBIOS name resolution isn't enable, the mixed network configuration will not support log shipping and/or seeding. If NetBIOS is not enabled, the Network Name resource will not come online, even if you enable NetBIOS for the adapter after the resource has been created. To resolve this issue, you must remove the cluster group and resources for the continuous replication host name, enable NetBIOS for the adapter, and then perform the following procedure.
Overview of the Entire Procedure
Follow the high level summary list below to configure the CCR nodes for Continuous Replication. Detailed steps supporting this high level list are presented below the summary.
- Create a new network host and IP address to support the mixed network.
- Enable NetBIOS on both private NICs.
- Create new entries in both CCR nodes' HOSTS file to resolve new backup name with new IP address.
- Configure the private network to support mixed or client access.
- Configure Windows Server 2008 for Alias name support via a registry change.
- Execute the Enable-ContinuousReplicationHostName cmdlet on nodes.
- Check status
A new network host and IP address must be established to support mixed networks. This is discussed in section 1.3 below
ContinousReplicationHostName Concept
In Exchange Server 2007 RTM, all operations (transaction log file copying and seeding) occurs over the Public network which is the same as used by the clients to access their data. In some cases if there are a higher number of log files to be transferred it might impact client performance. From a security perspective the log files are being transferred through the Public network and to secure this process we can use encryption that increases the performance of the servers involved.
After SP1, we can use one or more networks for log shipping, like the private network responsible for carrying the heartbeat traffic. We just need to associate a new hostname and new IP address to be used by the Replication service. If we have more than one redundant network available the service will pick one randomly to use. If one redundant network becomes unavailable the other redundant network will be selected. If none of the redundant networks are available the public network will be selected. The replication service discovery service runs every 5 minutes. As soon as an available redundant network is detected the replication will start to use the redundant network instead of the public network.
Prerequisites for deploying the Continuous Replication Hostname Support in Exchange 2007 SP1
Before creating the new hostnames and new IP address resources to be used we must make sure that some points are covered, such as:
- Configure the network that will be used to replicate as a Mixed network in the Cluster Administrator. In Server 2008 this is labeled as "allow clients to connect through this network".
- Configure Windows Server 2008 to be accessed through Alias names via a registry addition.
- Configure name resolution to the new hostnames that can be done using host file entries.
Assuming our lab environment for this article, the current CCR network configuration can be seen in the first three columns of the table below. Let us assign a Continuous Replication Hostname and an IP Address for each node. Note: this IP address must be an address in the same range of the Private Network.
|
CCR Node/Host
Existing Config. |
Public IP
Existing Config. |
Private Heartbeat IP
Existing Config. |
Continuous Replication Host Name
New Config. |
Continuous Replication IP Address
New Config. |
|
S08-E2k7-CCR1 |
10.10.10.1 |
192.168.1.1 |
CCRCR01 |
192.168.1.3 |
|
S08-E2k7-CCR2 |
10.10.10.2 |
192.168.1.2 |
CCRCR02 |
192.168.1.4 |
|
CCRCMS (CMS) |
10.10.10.3 |
NA |
NA |
NA |
Configuring the Private Cluster Network
Even though the private heartbeat network will not be accessed by external clients, it must be defined as mixed – or Allow clients to connect through this network.
To make this setting:
- Open Server 2008 Failover Cluster Management MMC.
- Expand the MS cluster, expand the Networks node and open the properties of the Private network node, as shown below.

3. Enable the checkbox as shown below for Allow clients to connect through this network, as shown below.

4. Click OK to complete this process. Perform the same procedure for the other CCR node.
Configuring Name Resolution
Each CCR node will need to contact the new host name that will be created for the private network. The new host names will be the following:
For Node – S08-E2K7-CCR1 – new additional host name of S08-E2K7-CCR1BKP
For Node – S08-E2K7-CCR2 – new additional host name of S08-E2K7-CCR2BKP
The new hostnames that will be created are the ones ending in the "BKP" characters. Each CCR node must be able to perform name resolution on the new name; for example, CCR node S08-E2K7-CCR1 must be able to resolve the new hostname of S08-E2K7-CCR2BKP which will be a new hostname for the other CCR node – and vice-versa. Because the private network cannot contact outside DNS, a HOSTS file entry will need to be made on each CCR node. This is shown below. (The "CRH" abbreviation stands for Continuous Replication Hostname.)
Accessing Windows Server 2008 through an Alias Name
In Windows Server 2008 a registry key must be added in all nodes of the CMS (Clustered Mailbox Server) to allow access through the alias name - by default this behavior is blocked.
Open the registry, and expand HKEY_LOCAL_MACHINE, System, CurrentControlSet, Services, LanManserver, Parameters. Then, right click on the right side and click on New, click on Dword Value, type in DisableStrictNameChecking, define the new value as 1. The result will be shown as below.
Perform this registry addition on the other CCR node as well. Reboot both CCR nodes to make the registry change complete.
Configuring the Continuous Replication Hostname Feature
The following procedure cannot be accomplished in any GUI tool; it must be performed by the EMS. To create the two new hostnames (one for each CCR node), execute the cmdlet Enable-ContinuousReplicationHostname on each node. The general syntax is:
Enable-ContinuousReplicationHostName -Identity <CMSName> -TargetMachine <NodeName> -HostName <NetworkNameforReplication> -IPV4Address <IPv4DottedDecimalIPAddress>
The exact syntax based on my lab is described below:
On Node S08-E2K7-CCR1:
Enable-ContinuousReplicationHostName –Identity CCRCMS –TargetMachine S08-E2K7-CCR1 –Hostname S08-E2K7-CCR1BKP –IPv4Address 192.168.1.3
On Node S08-E2K7-CCR2:
Enable-ContinuousReplicationHostName –Identity CCRCMS –TargetMachine S08-E2K7-CCR2 –Hostname S08-E2K7-CCR2BKP –IPv4Address 192.168.1.4
The two cmdlets will take some time to run; after successfully executed these cmdlets, you will see a new network group inside the Failover Cluster Manager tool. The two new groups will be called S08-E2K7-CCR1BKP_group and S08-E2K7-CCR2BKP_group. The two IP addresses used in the previous cmdlet will be associated with the two new groups as shown in the example figure below taken from an isolated lab environment. See the figure below for an example of the new objects in the Failover Cluster Management tool.
Check Status
To check the status of the new host names, execute the cmdlet Get-ClusteredMailboxServerStatus. We will be able to see that we have 4 (four) operational replication hostnames: two Continuous Replication HostNames (S08-E2K7-CCR1BKP and S08-E2K7-CCR2BKP) and two server names. At the moment only the Host Names S08-E2K7-CCR1BKP and S08-E2K7-CCR2BKP are being used to replicate the CMS data. This means that the replication is occurring through a redundant or private network.
Now, let us validate the replication using the Performance tool. We will open the tool in the second node and we will add the performance counter called Bytes Total/Sec. From the object Network Interface we will also add the two instances Network card 1 and 2. After sending a message of 4MB to a user located in the CMS server, we will be able to see that replication is using the backup network instead of the Public Network, as shown in the example figure below from a test environment.
Mark Myers
Senior Consultant
Project Leadership Associates