
Chapter 6. Advanced Setup and Configuration
68
6.3.1. Silent Setup for Directory Server and Administration 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 Administration 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 Administration Server, do the following:
1. Install the Directory Server packages.
2. Make the setup
.inf
file. It must specify the following directives:
[General]
FullMachineName= dir.example.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=example,dc=com
RootDN= cn=Directory Manager
RootDNPwd= password123
AddSampleEntries= No
[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 6.3.5.1, “.inf File Directives”
.
3. Run the
setup-ds-admin
script with the
-s
and
-f
options.
/usr/sbin/setup-ds-admin.pl -s -f /export/ds-inf/setup.inf
Running
setup-ds-admin
installs both the Directory Server instance and the Administration
Server instance. This means that the setup file must specify parameters for both the Directory
Содержание DIRECTORY SERVER 8.0
Страница 32: ...24 ...
Страница 46: ...38 ...
Страница 90: ...82 ...
Страница 98: ...90 ...
Страница 128: ...120 ...