Recipe 11.22 Creating a Connection Object

11.22.1 Problem

You want to create a connection object to manually set up replication between two sites.

11.22.2 Solution

11.22.2.1 Using a graphical user interface
  1. Open the Active Directory Sites and Services snap-in.

  2. In the left pane, expand Sites, expand the site that contains the connection object you want to check, expand the Servers container, and expand the server for which you want to create the connection object.

  3. Right-click on the NTDS Settings object and select Create New Active Directory Connection.

  4. Select the replication partner and click OK.

  5. Enter the name for the connection and click OK.

11.22.2.2 Using a command-line interface
> repadmin /add <PartitionDN> <DC1DNSName> <DC2DNSName>

11.22.3 Discussion

Hopefully you will not need to create connection objects manually. Creating and maintaining connection objects is the job of the KCC. It can be a lot of work to keep your connection objects up to date by yourself, especially if you have a large topology. The KCC uses complex algorithms to determine the best partners for a domain controller to replicate with. The Windows 2000 KCC had problems generating very large topologies, but the Windows Server 2003 version is significantly better.

It is sometimes necessary to create connections manually if you find a replication problem and need to get replication going again between one or more sites. By creating a connection and forcing replication to occur over that connection, you can get servers back in sync quickly.

11.22.4 See Also

Recipe 11.23 for listing the connections for a server



Active Directory Cookbook
Active Directory Cookbook, 3rd Edition
ISBN: 0596521103
EAN: 2147483647
Year: 2006
Pages: 456

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net