2 Admin Server configuration

The Admin Server is a separate server from the HP-UX Directory Server, although they work interdependently. The Admin Server processes, file locations, and configuration options are also separate. This chapter covers the Admin Server information, including starting and stopping the Admin Server, enabling SSL, viewing logs, and changing Admin Server configuration properties, such as the server port number.

2.1 Directory Server file locations

HP-UX Directory Server conforms to the Filesystem Hierarchy Standards. For more information on FHS, see the FHS homepage, http://www.pathname.com/fhs/.

The following table specifies the location of files and directories installed with Directory Server:

Table 2-1 Location of Directory Server files and directories

File or directory

Location

Log files

/var/opt/dirsrv/admin-serv/log

 

 

Configuration files

/etc/opt/dirsrv/admin-serv

 

 

Runtime files

/var/opt/dirsrv/admin-serv/run

 

 

Binaries

/opt/dirsrv/bin

 

/opt/dirsrv/sbin

 

 

Libraries

/opt/dirsrv/lib

 

 

2.2 Starting and stopping the Admin Server

The Admin Server is running when the setup-ds-admin.plconfiguration script completes. Avoid stopping and starting the server to prevent interrupting server operations.

When starting in SSL, the start script prompts for the password for the security (SSL certificate) database. It is possible to restart in SSL without being prompted for a password by using a password file. See “Creating a password file for the Admin Server” for more information.

If there is not password file, then the Admin Server cannot be restarted in SSL through the Console, only the command-line scripts.

Rebooting the host system can automatically start the Admin Server's httpd process. The script /sbin/init.d/Hpds-adm starts httpd if the parameter HPDS_ADMIN is set to 1 in /etc/rc.config.d/Hpds-adm. Setting HPDS_ADMIN to 0 disables the automatic start up.

2.2.1Starting and stopping Admin Server from the console

1.Start the Console, and open the Admin console.

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

2.In the Tasks tab, click Restart Server or Stop Server.

2.1 Directory Server file locations

7