How to Disable the Knowledge Consistency Checker From Automatically Creating Replication Topology

ID: Q242780


The information in this article applies to:
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Datacenter Server
  • Microsoft Windows 2000 Server


SUMMARY

The Knowledge Consistency Checker (KCC) is a Windows 2000 component that automatically generates and maintains the intra-site and inter-site replication topology. You can disable the KCC's automatic generation of intra-site or inter-site topology management, or both.


MORE INFORMATION

In some situations you may want to manually create replication connections to tailor the replication topology, but this increases the workload for monitoring for changes in the network topology described in Active Directory or replication failures occurring on domain controllers.

The KCC runs at regular intervals to adjust the replication topology for changes that occur in Active Directory, such as adding new domain controllers and new sites that are created. At the same time, the KCC reviews the replication status of existing connections to determine if any connections are not working. If a connection is not working, after a threshold is reached, KCC automatically builds temporary connections to other replication partners (if available) to insure that replication is not blocked.

NOTE: When automatic replication topology management is disabled, the failover detection mentioned above is also disabled.

You can use the Ldp.exe tool included in the Windows 2000 Resource Kit to perform Lightweight Directory Access Protocol (LDAP) searches against Active Directory for specific information given search criteria. This also lets you query data that is otherwise not visible using the administrative tools included in Windows 2000. However, all information that is returned in LDP queries is subject to security permissions.

How to Modify Active Directory to Disable KCC for a Site

  1. Run Setup.exe (if it is not already installed) from the Support\Tools folder of the Windows 2000 CD-ROM. This installs the Support Tools Kit.


  2. Run Ldp.exe


  3. On the Connection menu, click Connect.


  4. Type the server name of a domain controller in the enterprise, verify that the port setting is 389, click to clear the connectionless check box, and then click OK. After the connection is complete, server-specific data is displayed in the right pane.


  5. On the Connection menu, click Bind. Type the user name, password, and domain name (in DNS format) in the appropriate boxes (you may need to click to select the Domain check box), and then click OK. If the binding is successful, you should receive a message in the right pane that is similar to the following example:


  6. Authenticated as dn:YourUserID
  7. On the View menu, click Tree.


  8. In the BaseDN box, type the distinguished name of the site object in the configuration container of the forest. For example, for the Default-First-Site-Name site in the Mydomain.com forest, the domain name would look like the following example:
    CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=MYDOMAIN,DC=COM
    If this object is located, LDP should display the object in the left pane.


  9. Expand the view. One of the child objects should begin with CN=NTDS Site Settings. Double-click this object. In the right pane, LDP should output the current settings for the attributes for this object. Each attribute is preceded by a number and then an angle bracket (>). The number represents the number of values the attribute contains.


  10. Look for the "options" attribute. If it is not present, this is normal and makes modifying the value easier.

    NOTE: If the "options" attribute is present and the value is not 0, you need to determine the current flags that are set and use the values below to construct the new value before continuing to the next step.


  11. In the right-hand pane, locate the beginning of the output for the NTDS Site Settings object. It looks similar to the following example:


  12. Expanding base 'CN=NTDS Site Settings,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=MYDOMAIN,DC=COM'...
    Result <0>: (null)
    Matched DNs:
    Getting 1 entries:
    >> Dn: CN=NTDS Site Settings,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=MYDOMAIN,DC=COM
  13. Copy the string of data from the ">> Dn" portion of the LDP output.


  14. On the Browse menu, click Modify. In the Dn box, paste the string you copied in the previous step.


  15. In the Attribute box, type options.


  16. In the Values box, type the appropriate value:


    • To disable automatic intra-site topology generation, use value 1 (decimal).


    • To disable automatic inter-site topology generation, use value 16 (decimal).


    • To disable both intra-site and inter-site topology generation, use value 17 (decimal).


  17. In the Operation box, click Replace, click Enter, and then click Run.


  18. In the right pane, the output should look similar to the following example if the operation is successful:


  19. ***Call Modify...
    ldap_modify_s(ld,'CN=NTDS Site Settings,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=MYDOMAIN,DC=COM',[1] attrs);
    Modified "CN=NTDS Site Settings,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=MYDOMAIN,DC=COM".
To determine if these values are set correctly, you can use Active Directory Replication Monitor (also included with the Support Tools installation) to generate a report on the site configuration. Included in this information is output similar to the following example:
Site Name: Default-First-Site-Name
---------------------------------------
Site Options : NTDSSETTINGS_OPT_IS_AUTO_TOPOLOGY_DISABLED NTDSSETTINGS_OPT_IS_INTER_SITE_AUTO_TOPOLOGY_DISABLED
Site Topology Generator: CN=NTDS Settings,CN=ESTAD-CESSNA,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=ifr,DC=com
Site Topology Renewal :
Site Topology Failover :
NOTE: NTDSSETTINGS_OPT_IS_AUTO_TOPOLOGY_DISABLED means that intra-site topology management is disabled, and NTDSSETTINGS_OPT_IS_INTER_SITE_AUTO_TOPOLOGY_DISABLED means that inter-site topology management is disabled.

Additional query words:

Keywords : kbtool
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbhowto


Last Reviewed: December 29, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.