Silent Setup for Directory Server and Administration Server
55
5.5.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= secret
ds_bename=exampleDB
AddSampleEntries= No
[admin]
Port= 9830
ServerIpAddress= 111.11.11.11
ServerAdminID= admin
ServerAdminPwd= admin
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 5.5.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
Server and the Administration Server.
-s
runs the script in silent mode, and
-f /export/ds-
inf/setup.inf
specifies the setup file to use.
Содержание 8.1
Страница 10: ...x ...
Страница 24: ...14 ...
Страница 32: ...22 ...
Страница 60: ...50 ...
Страница 120: ...110 ...