Installation guide

Directory information, then re-registers each instance with the Configuration Directory. T he update and
registration process replaces any missing or outdated packages.
/usr/sbin/setup-ds-admin.pl -u
4.5. Silent Setup
Silent setup uses a file to predefine all the Directory Server configuration parameters that are normally
supplied interactively with the setup program. The silent functionality allows you to script the setup of
multiple instances of Directory Server.
4.5.1. Silent Setup for Directory Server and Admin Server
Silent setup is useful at sites where many server instances must be created, especially for heavily
replicated sites that will create a large number of consumer servers. Silent setup uses the same scripts
that are used to create instances of Directory Server and Admin Server, with a special option signaling
that the script is to be run silently. Silent mode requires referencing a setup parameter file (-s -f
setup.inf) or setting Directory Server parameters on the command line.
To run a silent setup of both the Directory Server and Admin Server:
1. Install the Directory Server packages as in Section 3.1,Installing the Directory Server Packages.
2. Make the setup .inf file. It must specify the following directives:
[General]
FullMachineName= dir.exam ple.com
SuiteSpotUserID= nobody
SuiteSpotGroup= nobody
AdminDomain= example.com
ConfigDirectoryAdminID= admin
ConfigDirectoryAdminPwd= admin
ConfigDirectoryLdapURL= ldap://dir.example.com:389/o=NetscapeRoot
[slapd]
SlapdConfigForMC= Yes
UseExistingMC= 0
ServerPort= 389
ServerIdentifier= dir
Suffix= dc=exam ple,dc=com
RootDN= cn=Directory Manager
RootDNPwd= secret
ds_bename=exampleDB
AddSampleEntries= No
[admin]
Port= 9830
ServerIpAddress= 111.11.11.11
ServerAdm inID= admin
ServerAdm inPwd= admin
There are three sections of directives in the .inf file to create the default Directory and Admin
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
Chapter 4. Advanced Setup and Configuration
4 7