LDAP-UX Client Services B.05.00 Administrator's Guide

2.3.6.2 Automating New Directory Server Installation mode
To install LDAP-UX for the first time on a host and create a new directory server, you must run
the script interactively to indicate at minimum, when prompted, that you want a new directory
server created. You can use command-line options and environment variables to completely
automate the rest of the procedure. In the example provided in this section, the following
environmental variables are defined for all the parameters needing input. Certain parameters
cannot be provided by command-line options.
LDAP_BINDDN="cn=Directory Manager"
LDAP_BINDCRED="dmdontforget"
LDAP_DOMAIN_ADMIN="domadmin"
LDAP_DOMAIN="west.acme.com"
LDAP_DOMAIN_ADM_PASSWD="4getmeknot"
DS_ADMIN_NAME="admin"
DS_ADMIN_PASS="4getmenot"
Running autosetup results with the following installation. As shown (in bold), user intervention
is required only twice after the procedure starts.
# ./autosetup
Scanning DNS "west.acme.com" domain for any registered LDAP directory servers...
No directory server found.
Please enter the host name and port number of a directory server
[hostname:port], a Windows domain name, or press Return to create
a new directory server on this host: Return
HP-UX Directory Server supports management of multiple directory server
instances under one administration domain. Would you like to manage this
directory server in an existing HP-UX Directory Server administration domain?
If so, If so, enter the host name and optionally the port of the directory server
that manages that topology (for example, acme.bus.com:389). Or to create
a new directory server administration domain, simply press Return.
(hostname[:port]|Return): Return
Creating new directory server instance in local host...
Creating directory server master instance "west-master". Please wait ...
Successfully created master instance with the following parameters:
Instance name: west-master
Host name: acct1053.west.acme.com
Server port: 389
Admin URL: http://acct1053.acme.com:9830
SSL port: 636
Domain name: west.acme.com
Domain suffix: dc=west,dc=acme,dc=com
Domain Admin: domadmin
* Generating self-signed CA certificate "WEST CA Certificate" ... completed.
* Generating server certificate "west-master Certificate" ... completed.
* Enabling SSL on directory server instance west-master ... completed.
* Restarted directory server instance west-master.
* Created directory server subtree.
* Added Domain and Host Administrator user/groups to the directory server.
* Created Domain Administrator account : "domadmin".
* Extended directory server schemas.
* Registered CA and server certificates in directory server.
============================================================================
NOTE: A CA certificate for the "west.acme.com" domain has been created.
This certificate can be pre-installed on HP-UX clients or included as part
of an HP-UX Ignite image. Installing this CA certificate on host will
pre-establish trust with this directory server. The depot file for this
CA certificate can be found at : /tmp/ca-west.acme.com.depot
2.3 Guided installation (autosetup) 49