Chapter 5. Advanced Setup and Configuration
54
Option
Flag
Description
Example
number of d's increases the
debug level.
--logfile
name
-l
This parameter specifies a
log file to which to write the
output. If this is not set, then
the setup information is written
to a temporary file.
-l /export/example2007.log
For no log file, set the file name to
/dev/
null
:
-l /dev/null
Table 5.1. register-ds-admin.pl Options
5.3.2. Registering an Existing Directory Server Instance with the
Configuration Directory Server
The Configuration Directory Server uses the
o=NetscapeRoot
database to store information about
the Directory Servers and Administration Servers in your network. This is used by the Console and the
Administration Servers. This database can belong to a separate Directory Server instance, called the
Configuration Directory Server
. There is an option when an instance is first set up to register it with a
Configuration Directory Server. It is possible to
register
an existing Directory Server instance with a
Configuration Directory Server using the
register-ds-admin.pl
script.
/usr/sbin/register-ds-admin.pl
IMPORTANT
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.
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.4. Updating Directory Server Instances
If the Directory Server instances become broken or outdated, the packages can be updated using
the
-u
option. This command looks for every local Directory Server instance, prompts for the
Configuration Directory information, then re-registers each instance with the Configuration Directory.
The update and registration process replaces any missing or outdated packages.
/usr/sbin/setup-ds-admin.pl -u
5.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.