Exchange 2010 DAG fails with CreateCluster() failed with 0x57. Error: The parameter is incorrect.

I recently ran into a problem when trying to run New-DatabaseAvailabilityGroup commandlet. Each time I ran this command I got CreateCluster() failed with 0x57. Error: The parameter is incorrect. After serveral hours of re-creating the DAG objects I noticed something out of the ordinary. When you run the command it creates the DAG object in AD under the servers container. if you look at the ACL list you might notice that there are several Unknown Account SID’s. It appears that Cluster API is trying to validate all the Account SIDs. in my case there was about 200+. To work around this issue I did the following

  1. On the Dag Node I ran this: cluster node /forcecleanup
    1. This will cleanup the failed DAG setup
  2. Then you delete the DAG computer object from AD that New-DatabaseAvailabilityGroup created
  3. Then Pre Stage the DAG computer object
    1. https://technet.microsoft.com/en-us/library/ff367878.aspx
  4. Check the ACL on the object and if there are any unknown SID’s remove them
  5. re-run New-DatabaseAvailabilityGroup command

stumbled upon an interesting

Comments

  • Anonymous
    June 25, 2015
    Simply perfect.I solved everything here.