The Sun Cluster HA for Netscape Directory Server data service is the Netscape Directory Server that uses Netscape Lightweight Directory Access Protocol (LDAP) and runs under the control of the Sun Cluster software. This section describes the steps to install Netscape Directory Server (using the setup command) and enable Netscape Directory Server to run as the Sun Cluster HA for Netscape Directory Server data service.
Netscape Directory Server requires some variation from the default installation parameters. When you install and configure Netscape Directory Server, consider the following points.
For the service to fail over correctly, when prompted for the name of Netscape Directory Server, instead of specifying a physical machine, you must specify a logical hostname (IP address) that can fail over between nodes. This requirement means that before you begin the installation, you must set up the logical hostname in your name services. You normally perform this step, which the Sun Cluster 3.0 U1 Installation Guide describes, as part of the Sun Cluster installation.
Do not use the default server root disk path when prompted. Place your files on the cluster file system.
Do not remove or relocate any of the installed files or directories that the Netscape Directory Server installation places on the cluster file system. For example, do not relocate any of the client binaries, such as ldapsearch, that are installed along with the rest of the Netscape Directory Server software.
This procedure describes the interaction with the Netscape setup command. Only the sections that are specific to the Sun Cluster HA for Netscape Directory Server data service are included here. For the other sections, choose or change the default values as appropriate. This procedure includes only basic steps. See the Netscape LDAP documentation for details.
Become superuser on a cluster member.
Run the setup command from the install directory on the Netscape CD.
From setup, choose the menu items to install a Netscape Server with a Custom Installation.
Supply the logical hostname when the setup command prompts you for the full server name.
For the install location, select a location on the global file system, for example, /global/nsldap.
Supply the logical hostname when the setup command prompts you for the full server name. This step is required for failover to work correctly.
The logical host that you specify must be online on the node from which you run the Netscape Directory Server installation. This state is necessary because at the end of the Netscape Directory Server installation, Netscape Directory Server automatically starts and will fail if the logical host is offline on that node.
Select the logical hostname along with your domain for the computer name, for example, schost-1.eng.sun.com.
When prompted for the IP address to be used as the LDAP Administrative Server, specify an IP address for one of the cluster nodes.
As part of the installation, you set up an LDAP Administrative Server. The IP address that you specify for this server must be that of a physical cluster node, not the name of the logical host that will fail over.
Use the Netscape Administration Server to configure and test Netscape Directory Server.
See your Netscape documentation for details.
After completing the configuration, Netscape Directory Server starts automatically. Before you proceed to the next part of the installation and configuration process, you must use stop-slapd to stop the server.
If you have not installed the data-service packages for Netscape Directory Server from the Sun Cluster Agents CD, go to "Installing Sun Cluster HA for Netscape Directory Server Packages". If you have installed the packages, go to "Completing the Sun Cluster HA for Netscape Directory Server Configuration".