Export (0) Print
Expand All
2 out of 3 rated this helpful - Rate this topic

Step 1: Practice Managing Replica AD LDS Instances

Updated: August 24, 2007

Applies To: Windows Server 2008

In the following exercises, you create two replica Active Directory Lightweight Directory Services (AD LDS) instances. You create the first replica instance by using the Active Directory Lightweight Directory Services Setup Wizard. You install the second replica instance by using unattended installation.

ImportantImportant
To run through these exercises, you must first install the AD LDS server role on your test computers and create at least one running AD LDS instance. For more information and instructions for installing the AD LDS server role and creating a new AD LDS instance, see "Step 1: Installing the AD LDS Server Role" and "Step 2: Practice working with AD LDS instances in the Step-by-Step Guide for Getting Started with Active Directory Lightweight Directory Services (http://go.microsoft.com/fwlink/?LinkId=98679).

You can use the Active Directory Lightweight Directory Services Setup Wizard to create AD LDS service instances. In AD LDS, a "service instance" (or, simply, "instance") refers to a single running copy of AD LDS. To provide fault tolerance and load balancing, AD LDS instances can be part of a configuration set. All AD LDS instances in a configuration set replicate a common configuration directory partition and a common schema directory partition, plus any number of application directory partitions.

To create an AD LDS instance and join it to an existing configuration set, use the Active Directory Lightweight Directory Services Set Wizard to create a replica AD LDS instance. You need to know the Domain Name System (DNS) name of the server running an AD LDS instance that belongs to the configuration set, as well as the Lightweight Directory Access Protocol (LDAP) port that was specified when the instance was created. You can also supply the distinguished names (also known as DNs) of specific application directory partitions that you want to copy from the configuration set to the AD LDS instance that you are creating.

Membership in Administrators, or equivalent, is the minimum required to complete this procedure. Review details about using the appropriate accounts and group memberships at Local and Domain Default Groups (http://go.microsoft.com/fwlink/?LinkId=83477).

  1. Click Start, point to Administrative Tools, and then click Active Directory Lightweight Directory Services Setup Wizard.

  2. On the Welcome to the Active Directory Lightweight Directory Services Setup Wizard page, click Next.

  3. On the Setup Options page, click A replica of an existing instance, and then click Next.

  4. On the Instance Name page, accept the default name instance2 (or instance1, if you are installing AD LDS on a second computer), and then click Next.

    noteNote
    AD LDS instance names have to be unique only on a given computer.

  5. On the Ports page, accept the default values of 50000 and 50001 (if you are installing onto the first computer) or 389 and 636 (if you are installing onto a second computer), and then click Next.

  6. On the Joining a Configuration Set page, in Server, type the host name or DNS name of the computer where the first AD LDS instance is installed. Then, type the LDAP port number in use by the first AD LDS instance (which is 389 by default), and then click Next.

    noteNote
    You must use a valid host name or DNS name, rather than an IP address or localhost when you specify a server on the Joining a Configuration Set page of the Active Directory Lightweight Directory Services Setup Wizard.

  7. On the Administrative Credentials for the Configuration Set page, click the account that is used as the AD LDS administrator for your first AD LDS instance.

  8. On the Copy Application Partition page, select the application directory partitions that you want to replicate to the new AD LDS instance. (The schema and configuration partitions will be replicated automatically.)

  9. Accept the default values on the remaining Active Directory Lightweight Directory Services Set Wizard pages by clicking Next on each page, and then click Finish on the Completing the Active Directory Application Mode Setup Wizard page.

  10. After the installation is complete, use the ADSI Edit snap-in to confirm that the selected directory partition has been replicated to your second AD LDS instance.

When you install an AD LDS replica from media, you use a restored backup of an AD LDS instance as the data source, rather than another AD LDS instance. When you restore an AD LDS instance for use in a replica installation from media, you must restore the files to an alternate location, rather than to the original location from which they were backed up. After you restore AD LDS files from a backup to an alternate location, the Adamntds.dit file and Edb*.log files will be nested in the specified alternate location.

For example, if you specify C:\restore_dir as the restore location for the AD LDS files, Adamntds.dit and the Edb*.log files will be located at C:\restore_dir\Program Files\Microsoft ADAM\instancename\data, where instancename represents the AD LDS instance that was restored.

ImportantImportant
For more information and instructions about backing up and restoring AD LDS data, see the Step-by-Step Guide for Active Directory Lightweight Directory Services Backup and Restore (http://go.microsoft.com/fwlink/?LinkId=98680).

Membership in Administrators, or equivalent, is the minimum required to complete this procedure. Review details about using the appropriate accounts and group memberships at Local and Domain Default Groups (http://go.microsoft.com/fwlink/?LinkId=83477).

  1. Restore a backup copy of the AD LDS instance from which you want to install to an alternate location. (Do not restore the backup to the original location of the AD LDS instance.)

  2. Click Start, right-click Command Prompt, and then click Run as administrator.

  3. Type the following command, and then press ENTER:

    %windir%\adam\adaminstall /adv
    
  4. Follow the steps in the Active Directory Lightweight Directory Services Setup Wizard.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.