1.3. About the setup-ds-admin.pl Script

1.3. About the setup-ds-admin.pl Script

The Directory Server and Administration Server instances are created and configured through a script call setup-ds-admin.pl. Running this script launches an interactive setup program with a series of dialog screens with a yes/no prompt or a simple text input prompt. Each prompt has a default answer in square brackets, such as the following:

Would you like to continue with setup? [yes]:
Option Alternate Options Description Example
--silent -s This sets that the setup script will run in silent mode, drawing the configuration information from a file (set with the --file parameter) or from arguments passed in the command line rather than interactively.
--file=name -f name This sets the path and name of the file which contains the configuration settings for the new Directory Server instance. This can be used with the --silent parameter; if used alone, it sets the default values for the setup prompts. /usr/sbin/setup-ds-admin.pl -f /export/sample.inf
--debug -d[dddd] This parameter turns on debugging information. For the -d flag, increasing the number of d's increases the debug level.
--keepcache -k This saves the temporary installation file, .inf that is created when the setup script is run. This file can then be reused for a silent setup.

WARNING

The cache file contains the cleartext passwords supplied during setup. Use appropriate caution and protection with this file.

--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 1.1. setup-ds-admin Options