When restoring a DAG member (please see a previous blog post on how to to do this) it is important to remember to evict the node from the cluster, otherwise errors will occur when you re-introduce it.
The error that will be shown should the server still be a cluster member, when running the cmdlet 'Add-DatabaseAvailabilityGroupServer' is shown below:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBuGBr8pXC-pbDyNHj-BbYrjswgWJBu9oR4PvLs8IGMPQMoikcp8DoAp9OiDtdxdiA7NsjPxiv4kB_gLT1fGmUM0MT4iurSiEVdG1g44rbQnodmSX4H6zUMS4DhGQfrZB14S-LdcaY3Vo/s320/1.png)
To remedy this open the Failover Cluster Manager on a valid DAG member. Select the DAG member you are performing DR on, right click it and select "Evict node"
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMe4ccrAjsQw3FK0sxl7zke4NfoMFAFKEiojTXeGXCTomOeugKDZT4flwHvpu6aB6buxu2MnJkKv42jtMRlhJbBrf2AZs7cUEUhAiaDp1O5cqSJjdHkHipGX4lykggxA5CZqK5FB4fTGw/s320/2.png)
Go back to your open Powershell session and re-run 'Add-DatabaseAvailabilityGroupServer' and this should now run succesfully.
You will see it succesfully adding the server to the cluster:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgn0kW9-Wf1fAKRPJTGHjVhisJDvrUdUYkOIYc6cTuqRcxieJY5j4aEgrPnxrn9QN5cn2a9pWPyY_il2PuY-ASZWmz-EprsjIGXMSTWf2ImKKUfeQvuDMJOl5NXveG7sb85IX9Qb8CasJE/s320/3.png)
Finally once configuration is complete, it will show the server as a valid member:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnUpL1QLFmkB7i0NiAtMQcpGkV-misYWVbfo7RTj0gc-4sNTPYAg87c_CAhCiIwz2z61j1NMZpjfGWzQpdYBChI2hDI4gatThyphenhyphen_gWBgs6oCC-HLRy6HH0PXATE9J7H_S9HRBWeU3pw6do/s320/4.png)
You now simply have to reseed any databases that should reside on this DAG member and you are all set!
Take care,
Oliver Moazzezi MVP - Exchange Server
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCWylte-zPOPFFLBleTyt-fvKuTQQ6Vv8EEl3tGtb7Dc7s_9GGTWKqcUGbDFcuWYWJzkNnyxi3UmbWOK8K9tOS-jr871AI0e38Ev4TyrjjtdxazUqdyMHvGc9TOK0zTUtO0yJIkvau3h8/s320/MVPLogo.gif)
No comments:
Post a Comment