Install an ADAM replica from media

Applies To: Windows Server 2003 R2

Install an ADAM replica from media

When you install an Active Directory Application Mode (ADAM) replica from media, you use a restored backup of an ADAM instance as the data source, rather than another ADAM instance.

  • Using the Active Directory Application Mode Setup Wizard

  • Using ADAM unattended install

Using the Active Directory Application Mode Setup Wizard

To install an ADAM replica from media

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

  2. At a command prompt, type the following:

    *d:\path\*adaminstall /adv

    where d:\path\ represents the location of Adaminstall.exe.

  3. Follow the steps in the Active Directory Application Mode Setup Wizard.

Notes

  • To open a command prompt, click Start, point to All programs, point to Accessories, and then click Command prompt.

  • To view Help for any given wizard page, click Help in the Active Directory Application Mode Setup Wizard.

  • You can install an ADAM replica only from media created by restoring a backup copy of an ADAM instance. For information about restoring an ADAM instance, see Related Topics.

  • When you restore an ADAM 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. If the replica that you are creating uses a different service account than the service account that the original instance uses, you must assign permission to read all the directories and files in the alternate location to the service account of the replica instance before you run Adaminstall.exe.

  • After you restore ADAM 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 ADAM 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 ADAM instance that was restored.

  • For information about how to back up an ADAM instance, see Related Topics.

  • For more information about ADAM unattended installs, see Related Topics.

Using ADAM unattended install

To install an ADAM replica from media

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

  2. Create an ADAM unattended install answer file that contains the answer file attributes and values in the following table, in addition to any other answer file parameters that you want to set, as described in Perform an unattended install of an ADAM instance.

    Attribute Value

    InstallType

    Replica

    ReplicationDataSourcePath

    The directory location to which you restored the ADAM replica data files

    ReplicationLogSourcePath

    The directory location to which you restored the ADAM replica log files

    ApplicationPartitionsToReplicate

    The application directory partitions (from the restored files) that you want to install. Setting ApplicationPartitionsToReplicate equal to * installs all application directory partitions that exist in the restored files. Setting a specific value for this parameter installs the specified application directory partitions, along with any application directory partitions that are not part of the restored files but that do exist on other ADAM instances in the configuration set.

  3. At a command prompt (or in a batch or script file), change to the drive and directory that contains the ADAM setup files, and then type the following command:

    **adamsetup /c:"adaminstall.exe /answer:**drive:\pathname\filename.txt"

    where drive:\pathname\filename.txt represents the drive, path, and file name of your answer file.

Notes

  • To open a command prompt, click Start, point to All programs, point to Accessories, and then click Command prompt.

  • You can install an ADAM replica only from media created by restoring a backup copy of an ADAM instance. For information about restoring an ADAM instance, see Related Topics.

  • When you restore an ADAM instance for use in a replica install 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 ADAM files from a backup into an alternate location, the Adamntds.dit file and Edb*.log files will be nested in the alternate location that you specified. For example, if you specified c:\restore_dir as the restore location for the ADAM 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 ADAM instance that was restored.

  • For information about how to back up an ADAM instance, see Related Topics.

  • For more information about ADAM unattended installs, see Related Topics.

  • For more information about unattended install parameters, see Related Topics.

See Also

Concepts

Perform an unattended install of an ADAM instance
Adaminstall
Back up an ADAM instance to a file or a tape
Restore an ADAM instance