Removing DAG members to either retire the DAG or perhaps recover the server should be easy? In some cases you do run into errors that require some manual work to be done.

In this case, we were trying to remove DAG members so we can re-purpose the servers, however, we ended up with error “0x 139b” saying that it could not complete the task:

To remove them, we need to run the following command:

  • Remove-DatabaseAvailabilityGroupServer -MailboxServer MailboxServer1 -Identity dag99 -ConfigurationOnly

Notice we are only using the ConfigurionOnly switch:

Once that is complete, you can remove the second or however many members you have in the DAG and then proceed to the final step.

You can launch Failover Cluster Manager and evict the Node or you can use PowerShell to do the same, you need to import the module first for it to work. On the mailbox server, you can run the 2x commands below:

  • Import-Module FailoverClusters
  • Get-ClusterNode MailboxServer1 | Remove-ClusterNode -Force

Now those members should be gone from the DAG as members, you can check it by either refreshing the EMC or checking it with PowerShell.

Hope it helps.

By edward

One thought on “Exchange 2010:- Error removing DAG Member”

Comments are closed.