Team blog of MCS @ Middle East and Africa

This blog is created by Microsoft MEA HQ near shoring team, and it aims to share knowledge with the IT community.With its infrastructure and development sides,It brings to you the proven best practices and real world experiences from Subject Matter Experts
Follow Us On Twitter! Subscribe To Our Blog! Contact Us

Exchange 2013 and Windows 2012: Error when try to add server to the DAG:

Exchange 2013 and Windows 2012: Error when try to add server to the DAG:

  • Comments 1
  • Likes

 

Symptoms:

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:

clip_image002

 

Reason:

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.

 

Solution:

The following article is explaining the details of creating and pre-staging the CNO:

 http://technet.microsoft.com/en-us/library/ff367878.aspx

 

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:

Set-databaseavailabilitygroup

 

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.

Comments
Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment