Sun Cluster HA for Netscape Directory Server is the Netscape Directory Server that uses Netscape Lightweight Directory Access Protocol (LDAP) and runs under the control of Sun Cluster. This section describes the steps for installing Netscape Directory Server (by using the setup command) and enabling it to run as the Sun Cluster HA for Netscape Directory Server data service.
Netscape Directory Server requires some variation from the default installation parameters, notably:
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 host name (IP address) that can fail over between nodes. This requirement means that before you begin the installation, you must set up the logical host name in your name services. This step is normally done as part of the Sun Cluster installation and is described in the Sun Cluster 3.0 Installation Guide.
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 Sun Cluster HA for Netscape Directory Server are included here. For the other sections, choose or change the default values as appropriate. These are the basic steps only; for details, see the Netscape LDAP documentation.
Become superuser on a node in the cluster.
Run the setup command from the install directory on the Netscape CD.
From setup, choose the menu items to install a Netscape Server by using a Custom Installation.
Supply the logical host name 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 host name 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 are running the Netscape Directory Server installation. This state is necessary because at the end of the Netscape Directory Server installation, it automatically starts up Netscape Directory Server and fails if the logical host is offline on that node.
Select the logical host name 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 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 admin server to configure and test Netscape Directory Server.
See your Netscape documentation for details.
Upon completion of the configuration, Netscape Directory Server starts automatically. Before proceeding to the next part of the installation and configuration process, you must stop the server by using stop-slapd.
If the data service packages for Netscape Directory Server have not been installed from the Sun Cluster data service CD, go to "Installing Sun Cluster HA for Netscape Directory Server Packages". If the packages have been installed, go to "Completing the Sun Cluster HA for Netscape Directory Server Configuration".