Exchange 2013 and Windows 2012: Error when try to add server to the DAG:
Installing Exchange 2013 on Windows 2012. When trying to add the Mailbox server to the DAG:
Add-DatabaseAvailabilityGroupServer -Identity dag1 -MailboxServer mbx2
We get the following Error:
WARNING: The operation wasn't successful because an error was encountered. You may find more details in log file "C:\ExchangeSetupLogs\DagTasks\dagtask_2013-12-09_16-07-39.297_add-databaseavailabiltygroupserver.log".
A server-side database availability group administrative operation failed. Error The operation failed. CreateClustererrors may result from incorrectly configured static addresses. Error: An error occurred while attempting a cluster operation. Error: Cluster API '"CreateCluster() failed with 0x5. Error: Access is denied"' failed.
The following Snapshot shows the error:
Because of permission changes in Windows 2012 for computer objects, when implementing DAG and the Mailbox servers are running on Windows 2012the Computer Name Object (CNO) must be pre-staged and provisioned.
The following article is explaining the details of creating and pre-staging the CNO:
The important note is after creating the CNO in the Active Directory the computer object must be disabled first, then us the following cmdlet can be used to refresh DAG properties:
Using the above cmdlet with no parameters will refresh all the parameters already used when creating the DAG.
Then members can be added to the DAG.