HP UX Direry Server manual Performing typical setup

Models: UX Direry Server

1 72
Download 72 pages 14.95 Kb
Page 24
Image 24

When the setup-ds-admin.plscript is done, 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.5 Performing typical setup

The typical setup process is the most commonly-used setup process. It offers control over the ports for the Directory and Administration Servers, the domain name, and directory suffix.

NOTE:

Run the setup-ds-admin.pl script as root.

The typical setup has the following steps:

CAUTION: If a Directory Server (notably Netscape Directory Server 6.21 or Red Hat Directory Server 7.1) is already installed on your machine, it is extremely important that you perform a migration, not a fresh installation. Migration is described in Chapter 6 “Migrating or upgrading to HP-UX Directory Server from Netscape or Red Hat Directory Server”.

1.Launch the setup-ds-admin.plscript:

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

2.When asked to choose the setup type, accept the default (option 2) to perform a typical setup.

3.Set the computer name of the machine on which the Directory Server is being configured. This defaults to the fully-qualified domain name (FQDN) for the host. For example:

Computer name [ldap.example.com]:

NOTE:

The setup script gets the host information from the /etc/resolv.conf file. If the /etc/ hosts file includes aliases (such as ldap.example.com) that do not match the /etc/ resolv.conf settings, you cannot use the default host name option.

The host name is very important. It is used for generating the Directory Server instance name, the admin domain, and the base suffix, among others. If you are using SSL/TLS or Kerberos, the computer name must be the exact name that clients use to connect to the system. If you will use DNS, make sure the name resolves to a valid IP address and that the IP address resolves back to this name.

4.Set the user and group that the Directory Server process will run as. The default is www:other. For example:

System User [www]: System Group [other]:

24 Setting up HP-UX Directory Server

Page 24
Image 24
HP UX Direry Server manual Performing typical setup