September 2003
Intermediate to advanced
624 pages
15h 49m
English
You want to find the Inter-Site Topology Generator (ISTG) for a site.
Open the Active Directory Sites and Services snap-in.
Click on the site you are interested in.
In the right pane, double-click on the NTDS Site Settings object.
The ISTG will be displayed under Inter-Site Topology Generator if one is present.
> repadmin /istg <DomainControllerName>This command is available only
with
the Windows Server 2003 version of repadmin.
' This code finds the ISTG for the specified site.
' ------ SCRIPT CONFIGURATION ------
strSiteName = <SiteName> ' e.g. Raleigh
' ------ END CONFIGURATION ---------
set objRootDSE = GetObject("LDAP://RootDSE")
set objSiteSettings = GetObject("LDAP://cn=NTDS Site Settings,cn=" & _
strSiteName & ",cn=sites," & _
objRootDSE.Get("ConfigurationNamingContext"))
on error resume next
strISTGDN = objSiteSettings.Get("interSiteTopologyGenerator")
if (strISTGDN <> "") then
set objNTDSSettings = GetObject("LDAP://" & strISTGDN)
set objServer = GetObject( objNTDSSettings.Parent )
WScript.Echo "ISTG for site " & strSiteName & " is " & _
objServer.Get("dnsHostName")
else
WScript.Echo "No ISTG found for site " & strSiteName
end ifOne domain controller in every site is picked as the ISTG for that site. While each domain controller is responsible for creating its own intra-site connection objects, the ISTG for a site is responsible for creating ...