Domain Controller replication errors and rogue connections

Wojciech Rozanski 75 Reputation points
2023-03-13T15:19:42.8033333+00:00

Hello,

We have recently recovered a domain from a major diaster, and I'm performing some troubleshooting on the domain controllers. I've encountered some errors I'm not certain how to deal with.

Different tests (repadmin, dcdiag) show some errors. What is at this moment the most intriguing, is are the NTDS settings in the AD Sites and Services. We have a site, let's call it SiteZ, with one DC inside it. SiteZ is included in only one IP Site Link. The second site in that link is what we can call SiteAzure. When I look at the NTDS settings of the DC in SiteZ, I see connections not only to SiteAzure, but also <automatically generated> connections to 5 other sites. Sites that SiteZ is not linked to. And there are some mysteries:

  • why are those connections <automatically generated> when there is no site link in place?
  • can those link be safely deleted?

I also noticed that some connections appear to be "missing". For example, if I have SiteA with one DC, which is linked to SiteAzure which has 2 DCs, I would assume that there would be two connections - one for each server in SiteAzure. Instead, I have one connection to a DC in SiteAzure, and one connection to a DC in another site, not linked to SiteA. Some pretty weird stuff is going on and I'm trying to figure out how to clean this up...

I tried running repadmin /kcc but it did not make any changes.

Any help is greatly appreciated.

Kind regards,

Wojciech

Windows for business Windows Client for IT Pros Directory services Active Directory
0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. Anonymous
    2023-03-13T15:29:06.66+00:00

    All DC's do not necessarily create kcc links to all other DC's in other sites.

    https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2003/cc755994(v=ws.10)?redirectedfrom=MSDN

    -

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    0 comments No comments

  2. Wojciech Rozanski 75 Reputation points
    2023-03-13T17:06:56.7866667+00:00

    And another question.

    I see frequent 1865 events:

    The Knowledge Consistency Checker (KCC) was unable to form a complete spanning tree network topology. As a result, the following list of sites cannot be reached from the local site.

    Sites:

    CN=SiteX,CN=Sites,CN=Configuration,DC=xxx,DC=xxx,DC=com

    The thing is, the DC where those events appear is not in link with that site. The topology is:

    SiteAzure <----link----> SiteB

    SiteB <----link----> SiteX

    Interestingly enough, when I run repadmin /showrepl on a DC in SiteAzure, all looks ok and I do not see any reference to SiteX. But if on the same DC I perform a repadmin /replsummary I get this error:

    Experienced the following operational errors trying to retrieve replication information:

    58 - DC.from.siteX

    Is this normal?

    Best regards,

    Wojciech

    0 comments No comments

  3. Anonymous
    2023-03-13T17:16:47.74+00:00

    We have recently recovered a domain from a major diaster

    Any details here?


  4. Anonymous
    2023-03-13T18:01:57.1466667+00:00

    Ok, well it still is unclear what was done, but this one could help.

    https://learn.microsoft.com/en-us/troubleshoot/windows-server/identity/orphaned-child-domain-isnt-replicated

    if it was a single domain controller in a domain that was restored then this is not a recommended method. Better option is to seize roles to a healthy one (if necessary)

    https://learn.microsoft.com/en-us/troubleshoot/windows-server/identity/transfer-or-seize-fsmo-roles-in-ad-ds

    then perform cleanup to remove remnants

    Clean up Active Directory Domain Controller server metadata

    Step-By-Step: Manually Removing A Domain Controller Server

    then stand up a new one for replacement.

    -

    --please don't forget to upvote and Accept as answer if the reply is helpful--


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.