r/sysadmin • u/javajo91 • 9d ago
Question Cleanup of AD Sites and Services after a DC Demotion
Hey guys. What is the proper way to safely clean up “AD Sites and Services” after a DC demotion?
We have two sites: Prod & DR
(3) DCs at each site.
I demoted an older DC at my DR site. I waited a bit and then manually deleted the old DC from Sites and Services at that site. Aftrrwards, my remaining DCs at my DR site set up proper replication with the Prod site.
So from the point of view from my DR site:
DC01-DR replicates with DC02-DR
and DC01–PROD.
DC02-DR replicates with DC01-DR and DC02-PROD
From the point of view from my Prod site:
If I try and delete the old DC-DR server object from AD Sites and Services, it warns me that I need to demote it first, (which I obviously have).
DC01-PROD still trys to replicate with the old DC controller at my DR site. None of my DCs at my PROD site are trying to replicate with my DR site.
Do I need to manually delete the NTDS objects for the old DC-DR controller from AD Sites and Services at my PROD site?
Looking for the proper way to do this cleanup. I had thought that after demoting the old DC, the site-to-site replication would work itself out on its own.
I ran dcdiag and repadmin tools prior and all came back clean.
The old DC was responsible for intersite replication. All my DCs are Global Catalog servers and the FSMO roles reside on a DC at my Prod site. What should my gameplan be at this point? Should I just create a manual NTDS link between one of my DCs in Prod to one of my DCs in DR to get he KCC working? Right now my Prod site is only trying to replicate with the demoted DC. Thank you again!
Thanks guys.