Muhammad Asif
asked on
Unable to remove dead server from DAG
I am trying to remove the dead server from Exchange DAG using below command but getting following error. I have truobleshoot this case and it seems that MBx05 object has been deleted from computer OU and now not sure how to cater this situation.
Remove-DatabaseAvailabilit yGroupServ er -Identity DAG02 -MailboxServer MBX05.mydomain.com -ConfigurationOnly
The fully qualified domain name for node 'MBX05' could not be found.
+ CategoryInfo : NotSpecified: (:) [Remove-DatabaseAvailabili tyGroupSer ver], AmGetFqdnFailedNotFoundExc ep
tion
+ FullyQualifiedErrorId : [Server=MBX03,RequestId=f9 9b4c53-017 f-4274-aa1 a-fcad30ca 8db2,TimeS tamp=2/7/2 018 8:10:55
AM] [FailureCategory=Cmdlet-Am GetFqdnFai ledNotFoun dException ] DFE44AB2,Microsoft.Exchang e.Manageme nt.SystemC onfigu
rationTasks.RemoveDatabase Availabili tyGroupSer ver
+ PSComputerName : mbx03.domain-name.com
Remove-DatabaseAvailabilit
The fully qualified domain name for node 'MBX05' could not be found.
+ CategoryInfo : NotSpecified: (:) [Remove-DatabaseAvailabili
tion
+ FullyQualifiedErrorId : [Server=MBX03,RequestId=f9
AM] [FailureCategory=Cmdlet-Am
rationTasks.RemoveDatabase
+ PSComputerName : mbx03.domain-name.com
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi Hasin,
Can you please provide me complete path of dag properties in ADSIedit?
Can you please provide me complete path of dag properties in ADSIedit?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
The server is listing in ADSI edit at "services-->MicrosoftExcha nge-->Your OrgName-->AdministrativeGr oups-->Exc hange Adminsitrative Groups-->servers"
But not able to find it AD Object. Can I recreate the object with the dead server name and then try to run the command?
But not able to find it AD Object. Can I recreate the object with the dead server name and then try to run the command?
Verify if you have selected entire directory while searching for the computer account.
Nope, that would have new Object GUID. Check if you can restore computer object from deleted items (AD recycle BIn). If you can't restore it, you are left with below option only.
1) Remove the server from DAG using backlink.
2) Delete server from configuration partition.
Nope, that would have new Object GUID. Check if you can restore computer object from deleted items (AD recycle BIn). If you can't restore it, you are left with below option only.
1) Remove the server from DAG using backlink.
2) Delete server from configuration partition.
ASKER
Hi,
Thanks for your help. I am able to get the object back and the server has been removed from the DAG by running the above mentioned command.
Now If I run the below command to check the witness server t hen it is showing WitnessShareInUse : None . How can I force the cluster to use the witness server.
Get-DatabaseAvailabilityGr oup -status | fl *witne*
Thanks for your help. I am able to get the object back and the server has been removed from the DAG by running the above mentioned command.
Now If I run the below command to check the witness server t hen it is showing WitnessShareInUse : None . How can I force the cluster to use the witness server.
Get-DatabaseAvailabilityGr
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi Hasin,
Thanks for your support on this case. I have run below command which you have mentioned and now primary witness server is in use.
Set-DatabaseAvailabilityGr oup -Identity DAG02 -WitnessServer Server-FDQN-Name
Thanks for your support on this case. I have run below command which you have mentioned and now primary witness server is in use.
Set-DatabaseAvailabilityGr
Great :)
ASKER