13.Set the Directory Manager password and confirm it.

14.Enter the Administration Server port number. The default is 9830 unless that port is in use, in which case the setup script supplies a randomly generated one.

Administration port [9830]:

15.The last prompt asks if you are ready to set up your servers. Answer yes, after which messages such as the following are displayed. If you are not ready, answer no to return to the preceding prompt; use Ctrl-B(followed by pressing Enter) to continue to preceding prompts.

Are you ready to set up your servers? [yes]: y Creating directory server . . .

Your new DS instance 'example2' was successfully created. Creating the configuration directory server . . .

Beginning Admin Server reconfiguration . . .

Creating Admin Server files and directories . . .

Updating adm.conf . . .

Updating admpw . . .

Registering admin server with the configuration directory server . . .

Updating adm.conf with information from configuration directory server . . .

Updating the configuration for the httpd engine . . .

Restarting admin server . . .

The admin server was successfully started.

Admin server was successfully reconfigured and started. Exiting . . .

Log file is '/tmp/setupulSykp.log'

When the setup-ds-admin.plscript is done, then the Directory Server is configured and running. To log into the Directory Server Console to begin setting up your directory service, do the following:

1.Get the Administration Server port number from the Listen parameter in the console.conf configuration file.

#grep \^Listen /etc/opt/dirsrv/admin-serv/console.conf Listen 0.0.0.0:9830

2.Using the Administration Server port number, launch the Console.

#/opt/dirsrv/bin/hpds-idm-console -a http://localhost:9830

NOTE:

If you do not pass the Administration Server port number with the hpds-idm-consolecommand, you are prompted for it at the Console login screen.

3.6.6 Performing custom setup

Custom setup provides two special configuration options that allow you to add information to the Directory Server databases during setup. One imports an LDIF file, which is useful if you have existing information. The other imports sample data that is included with Directory Server; this is useful for testing features of Directory Server and for evaluation.

26 Setting up HP-UX Directory Server