[ Team LiB ] |
Recipe 11.27 Triggering the KCC11.27.1 ProblemYou want to trigger the KCC. 11.27.2 Solution11.27.2.1 Using a graphical user interface
11.27.2.2 Using a command-line interface> repadmin /kcc <DomainControllerName> 11.27.2.3 Using VBScript' This code triggers the KCC on a DC. ' ------ SCRIPT CONFIGURATION ------ strDC = "<DomainControllerName>" ' e.g. dc01 ' ------ END CONFIGURATION --------- set objIadsTools = CreateObject("IADsTools.DCFunctions") intRes = objIadsTools.TriggerKCC(Cstr(strDC),0) if intRes = -1 then Wscript.Echo objIadsTools.LastErrorText else Wscript.Echo "KCC successfully triggered" end if 11.27.3 DiscussionThe KCC runs every 15 minutes by default on all domain controllers to generate the intra-site topology connections. The KCC that runs on the server that is selected as the ISTG generates inter-site topology connections to other sites from the bridgehead servers in its site. In some situations, such as when you create new site, siteLink, or subnet objects, you may want to run the KCC immediately so that any new connections between domain controllers get created. 11.27.4 See AlsoRecipe 11.28 for determining if the KCC is completing successfully, for more information on IADsTools see iadstools.doc that is installed with the Support Tools, and MS KB 224815 (The Role of the Inter-Site Topology Generator in Active Directory Replication) |
[ Team LiB ] |