Installation guide
directives are described more in Section 4.5.5.1, “.inf File Directives”.
3. Run the setup-ds-admin script with the -s and -f options.
[root@server ~]# /usr/sbin/setup-ds-adm in.pl -s -f /export/ds-inf/setup.inf
Running setup-ds-adm in installs both the Directory Server instance and the Admin Server
instance. This means that the setup file must specify parameters for both the Directory Server and
the Admin Server. -s runs the script in silent mode, and -f /export/ds-inf/setup.inf
specifies the setup file to use.
After the script runs, the new Directory Server and Admin Server instances are configured and running,
as with a standard setup.
4.5.2. Silent Directory Server Instance Creation
Like setting up both the Directory Server and Admin 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:
NOTE
When creating a single instance of Directory Server, the Directory Server packages must already
be installed, and the Admin Server must already be configured and running.
1. Make the setup .inf file. It must specify the following directives:
[General]
FullMachineName= dir.exam ple.com
SuiteSpotUserID= nobody
SuiteSpotGroup= nobody
[slapd]
ServerPort= 389
ServerIdentifier= dir
Suffix= dc=exam ple,dc=com
RootDN= cn=Directory Manager
RootDNPwd= secret
ds_bename=exampleDB
SlapdConfigForMC= Yes
UseExistingMC= 0
AddSampleEntries= No
There are two sections of directives in the instance creation: [General] and [slapd]. Installing
the Admin Server, which is done in a default setup file, requires a third parameter as well,
[admin], for the Admin Server.
This parameters correspond to the information supplied during a typical setup. The .inf file
directives are described more in Section 4.5.5.1, “.inf File Directives”.
2. Run the setup-ds-admin.pl script with the -s and -f options.
Red Hat Directory Server Red Hat Directory Server 9 Installation Guide
4 8