Table 3-1 setup-ds-admin options (continued)

Option

Alternate

Description

-k

--keepcache

This saves the temporary configuration setup file (file name .inf) that is

 

 

created when the setup script is run interactively. This file can then be

 

 

reused for a silent setup.

 

 

CAUTION: This file (also referred to as a cache file) contains the cleartext

 

 

passwords supplied during setup. Use appropriate caution and protection

 

 

with this file.

 

 

 

-l

--logfile name

This specifies the log file to which the script writes the output, including

 

 

errors. You can specify the path and name. In an interactively run script,

 

 

the file contains all prompts and answers (except for passwords). If this is

 

 

option is not set, the output is written to a temporary file in the /tmp

 

 

directory called setupXXXXXX.log, where XXXXXX is a series of random

 

 

characters.

 

 

The following command directs the script to write output to the file /tmp/

 

 

2009–jun.log:

 

 

# /opt/dirsrv/sbin/setup-ds-admin.pl -l

 

 

/tmp/2009-jun.log

 

 

 

3.6.3 Interactive setup modes

When you launch the setup-ds-admin.plscript to configure the new Directory Server and Administration Server instance interactively, the script allows you to choose one of three kinds of setup modes:

Express

The fastest setup mode. This requires minimal interaction. For almost all settings,

 

default settings are provided by HP. Because express installation does not offer the

 

choice of selecting the Directory Server server port number or the directory suffix,

 

among other settings, HP recommends that you not use it for evaluation purposes

 

only, not for production deployments. Also, express setups can fail if default

 

configuration values are not available (there is no way to offer an alternative).

Typical

The default and most common setup mode. This prompts you to supply more

 

detailed information about the directory service, such as suffix and configuration

 

directory information, while still proceeding quickly through the setup process.

Custom

The most detailed setup mode. This provides more control over Administration

 

Server settings and also allows data to be imported into the Directory Server at

 

setup, so that entries are already populated in the databases when the setup is

 

complete.
TIP:

If you are installing Directory Server for evaluation, use the Express or Typical setup mode. These processes are very fast, and can help get your directory service up and running quickly.

The information requested by the interactive setup script is described in Table 3-2. More information about all setup file parameters, and whether they are optional or required, is provided in “Setup file directives” (page 31).

As already discussed in “Options for running the setup script” (page 17), another setup option is silent setup, which uses a configuration file and command-line options to supply the Directory Server settings automatically. In this case, the script requires no user interaction. You can also pass setup arguments in the command line that launches the script. The rightmost column of Table 3-2indicates which setup parameters can be addressed in the silent setup.

20 Setting up HP-UX Directory Server