setup-ds

RootDN= cn=Directory Manager

RootDNPwd= password123

[admin] Port= 9830

ServerIpAddress= 111.11.11.11

ServerAdminID= admin

ServerAdminPwd= admin

NOTE

There are three sections of directives in the .inf file to create the default Directory and Administration Servers: [General], [slapd], and [admin]. Creating an additional instance, or installing a single instance of Directory Server using setup-ds.pl, only requires two sections, [General] and [slapd].

This parameters correspond to the information supplied during a typical setup. The .inf file directives are described more in Section 3.5.1, “.inf File Directives”.

3.Run the setup-ds-adminscript with the -sand -foptions.

/usr/sbin/setup-ds-admin.pl -s -f /export/ds-inf/setup.inf

Running setup-ds-admininstalls both the Directory Server instance and the Administration Server instance. This means that the setup file must specify parameters for both the Directory Server and the Administration Server. -sruns the script in silent mode, and -f /export/ds-inf/setup.infspecifies the setup file to use.

After the script runs, the new Directory Server and Administration Server instances are configured and running, as with a standard setup.

3.2. Silent Directory Server Instance Creation

Like setting up both the Directory Server and Administration Server, silent setup for a single instance is useful for configuring multiple instances quickly. Silent setup uses the same scripts that are used to create a new instances of Directory Server, with a special option signaling that the script is to be run silently and referencing the setup file to use.

To run a silent setup of a Directory Server instance, do the following:

83