
Installing Only the Directory Server
53
setup-ds-admin.pl slapd.ServerPort=1100 slapd.RootDNPwd=itsasecret
When the installer runs, the Directory Server port default is
1100
, and the Directory Manager
password is
itsasecret
.
This script can also be run in silent mode, which means the setup program never opens; the Directory
Server instance values are taken from a specified file. For example:
setup-ds-admin.pl -s -f file.inf
-s
runs the script in silent mode, and
-f file.inf
specifies the setup file to use. Silent instance
setup and
.inf
files are described in
Section 5.5, “Silent Setup”
.
NOTE
New Directory Server instances can be created through the Directory Server Console; this
is described in the
Directory Server Administrator's Guide
.
5.2.2. Installing Only the Directory Server
The
setup-ds.pl
command creates an instance of Directory Server without installing the
Administration Server or Directory Server Console (so it is not managed by the Directory Server
Console). It works exactly the same way as
setup-ds-admin.pl
, except that the questions about
the Configuration Directory Server and Administration Server are omitted. Using this command to
create a Directory Server instance means that the instance has to be managed through the command
line or other tools, or it can be registered with the Configuration Directory Server to manage it with the
Console. See
Section 5.3.2, “Registering an Existing Directory Server Instance with the Configuration
Directory Server”
for more information.
5.3. Registering Servers Using register-ds-admin.pl
Each instance of Directory Server is, or can be, registered with another Configuration Directory Server
instance and with an Administration Server instance. This registration can be changed using the
register-ds-admin.pl
script.
IMPORTANT
The
register-ds-admin.pl
script does not support
external
LDAP URLs, so the
Directory Server instance must be registered against a local Administration Server.
5.3.1. register-ds-admin.pl Options
Running
register-ds-admin.pl
creates a default instance of the Administration Server and
Configuration Directory Server if they do not already exist, then registers any existing Directory
Servers with the Configuration Directory Server.
Option
Flag
Description
Example
--debug
-d[dddd]
This parameter turns on
debugging information. For
the
-d
flag, increasing the