How do I disable the Knowledge Consistency Checker?
January 8, 2000
A. The FAQ How does intrasite replication work in Windows 2000? explains how the Knowledge Consistency Checker (KCC) automatically creates and maintains connection objects for intra- and intersite replication. To manually maintain connection objects (which I don’t recommend), you must disable the KCC.
To disable the KCC, use the Microsoft Windows 2000 Resource Kit’s LDP tool. This program is in Win2K’s %SystemDrive%:Program FilesSupport Tools folder.
Start ldp.exe.
From the Connection menu, select Connect.
Enter the domain controller’s DNS name, leave the port as 389 (LDAP), and make sure the Connectionless checkbox is clear. Click OK.
Some text will appear in the rightmost pane. Next, select Bind from the Connection menu.
Enter an Administrator username, password, and domain, as the Screen shows. Click OK.
Click here to view imageFrom the View menu, select Tree.
A dialog box will prompt you for the base distinguished name (DN), which includes a site and your domain. For example, in the London site savtech.com I would enter
CN=London,CN=Sites,CN=Configuration,DC=SAVTECH,DC=COM
Expand the route, and double-click CN=NTDS Site Settings. The results will display in the rightmost window. Next, look for the options Attribute. If this attribute is missing or set to 0, you can proceed. Otherwise, you need to contact Microsoft Support for help checking your configuration before you can continue.
The text you see in the rightmost window will look like
Expanding base 'CN=NTDS Site Settings,CN=London,CN=Sites,CN=Configuration,DC=savtech,DC=com'... Result : (null) Matched DNs: Getting 1 entries: >> DN: CN=NTDS Site Settings,CN=London,CN=Sites,CN=Configuration,DC=savtech,DC=com
Copy the last line, except the DN: portion, onto the clipboard (e.g., CN=NTDS Site Settings,CN=London,CN=Sites,CN=Configuration,DC=savtech,DC=com).
From the Browse menu, select Modify.
In the Dn field, enter the string you copied in Step 9, as the Screen shows.
In the Attribute field, enter
options
In the Values field, enter the appropriate value. A value of 1 disables automatic intrasite topology generation, a value of 16 disables automatic intersite topology generation, and a value of 17 disables both types of topology generation.
In the Operation field, select Replace.
Click Enter.
Click Run.
Click Close.
The rightmost ldp.exe window will display text such as
***Call Modify... ldap_modify_s(ld, 'CN=NTDS Site Settings,CN=London,CN=Sites,CN=Configuration,DC=savtech,DC=com',[1] attrs); Modified "CN=NTDS Site Settings,CN=London,CN=Sites,CN=Configuration,DC=savtech,DC=com".
Close ldp.exe.
To check whether the KCC is disabled, use Active Directory Replication Monitor (replmon.exe) to generate a report on the site configuration.
Start replmon.exe.
Right-click Monitored Services in the leftmost window, and select Add Monitored Server from the Context menu.
Select Add the server explicitly by name, and click Next.
Enter the server name, and click Finish.
Right-click the server (under the site), and select Generate Status Report.
Enter a name and location for the log, and click Save.
In the Options field, select Server/DC Configuration Data and Extended Site Configuration, as the Screen shows.
Click OK.
Click OK again to finish.
Open the file you specified, and you’ll see site information such as the following.
************************************************************************ Enterprise Data *************************************************************************** Globally Unique Identifiers (GUIDs) for each domain controller in the enterprise NOTE: the absence of a GUID means that the server has been demoted. -------------------------------------------------------------------------------- Site Name: London --------------------------------------- Site Options : NTDSSETTINGS_OPT_IS_INTER_SITE_AUTO_TOPOLOGY_DISABLED Site Topology Generator: CN=NTDS Settings,CN=MORPHEUS,CN=Servers,CN=London,CN=Sites,CN=Configuration,DC=savtech,DC=com Site Topology Renewal : Site Topology Failover : MORPHEUS Server GUID (used for DNS) : DA644BE4-A8C9-47AF-AC4A-71F8DA4D50F0 Replication Database GUID (used to identify partner in replication) : DA644BE4-A8C9-47AF-AC4A-71F8DA4D50F0 DSA Options : NTDSDSA_OPT_IS_GC DSA Computer Path : CN=MORPHEUS,OU=Domain Controllers,DC=savtech,DC=com DSA Schema Location : CN=Schema,CN=Configuration,DC=savtech,DC=com DSA Mail Address : _IsmService@da644be4-a8c9-47af-ac4a-71f8da4d50f0._msdcs.savtech.com DSA DNS Host Name : MORPHEUS.savtech.com DSA BridgeHead Transports : IP
In the Site Options field, the text NTDSSETTINGS_OPT_IS_INTER_SITE_AUTO_TOPOLOGY_DISABLED means intersite topology management is disabled. The text NTDSSETTINGS_OPT_IS_AUTO_TOPOLOGY_DISABLED means intrasite topology management is disabled.
To reenable the KCC, follow Steps 1 through 20, but set the value in Step 14 to 0. If the KCC is fully enabled, Replmon’s output won’t include Site Options information.
About the Author
You May Also Like