All DAGs are built on top of Windows Failover Clusters. All Windows Failover Clusters use a Cluster Name Object (CNO), an Active Directory computer object that essentially gives the cluster (and therefore the DAG) its identity. The CNO is also used for all communications within the cluster. You don’t have to know anything about the CNO to work with the DAG as this object is used for internal purposes within the cluster. However, you do have to create the CNO manually before you add any mailbox servers to the DAG if the servers run WindowsServer 2012.
This isn’t the case when you work with Windows Server2008 R2 SP1 as Exchange is able to create the CNO when it builds out the DAG – or when you use Exchange 2010 to create a DAG on Windows 2008 SP2 or Windows 2008 R2. However, Windows 2012 made a change that restricts the creation of computer accounts that had an unfortunate knock-on effect of stopping Exchange 2013 (sorry, the professional words that I should use are “testing”, “assessing”, or “validating”) have run into the problem and discovered that things don’t go quite as smoothly as expected when they attempt to create an Exchange 2013 DAG.being able to create the CNO, hence the need to pre-stage a CNO before you proceed to build the DAG. Quite a few people who are playing with
The steps to pre-stage a CNO for a DAG are straightforward. Here’s what you need to do:
1. Use the Active Directory Users and Computers console to create a new computer object in the desired organizational unit (OU). Often this will be the default “Computers” OU that is present in every Active Directory, but there is nothing to prevent you using a different OU, such as a new OU called “Exchange DAGs”. The Microsoft article"Redirecting the users and computers containers in Active Directory domains" provides guidance on how to redirect the default creation of computer accounts in Active Directory.
2. The name assigned to the CNO will be the name of the DAG. Do not use a name such as “Exchange” or “Email” as the potential exists that these names might be confused with an application now or in the future. Select a name that clearly indicates the purpose of the object such as “DAG1” or “DAG-DC1.”
3. After you create the new computer object, right click on it and disable the account. The account must be disabled as otherwise Windows Failover Clustering will not be able to use it as a CNO.
4. You now need to assign the necessary permissions to the new computer object. First, make sure that Advanced Features are enabled from the View menu in the Active Directory Users and Computers console. Then, select the computer option and click Properties, then click Security to reveal the current security settings for the object.
5. Exchange 2013 uses its membership of the Exchange Trusted Subsystem security group to manage the DAG. Therefore, the Exchange Trusted Subsystem must be added to the list of objects that have Full Control access. Click on Add, enter “Exchange Trusted Subsystem” as the object name to which permissions are to be assigned and then select Full Control in the Allow column. Click OK to complete the assignment.
6. Alternatively, you can add the name of the first member node (mailbox server) that will join the DAG.To do this, click on Add, select “Computers” as the object type, and input the name of the member node. Click OK and then select the name of the computer account for the node (it should be the same name). The member node also needs Full Control permission, so click on this value in the Allow column and click on OK to complete the assignment.
After the permissions have been assigned, you will be able to create the DAG through the Exchange Administration Center (EAC) or by running theNew-DatabaseAvailabilityGroup cmdlet. You do not have to assign Full Control access to the other member nodes that are subsequently added to the DAG after the first member node is in place.
Follow Tony @12Knocksinna