Sun Cluster 3.1 Data Service for Sun ONE Directory Server

How to Install Sun ONE Directory Server for Solaris 9

The Sun ONE Directory Server is bundled with the Solaris 9.0 operating system. If you are using Solaris 9.0, use the Solaris 9.0 CDs to install the Sun ONE Directory Server.

  1. Install the Sun ONE Directory Server packages (these packages might be called iPlanet Directory Server) on all the nodes of the cluster, if they are not already installed.

  2. Identify a location on a global file system where you intend to keep all your directory servers (for example, /global/nsldap).

    If you want to, you may create a separate directory for this file system.

  3. On all nodes, create a link to this directory from /var/ds5. If /var/ds5 already exists on a node, remove it and create the link.


    # rmdir /var/ds5
    # ln -s /global/nsldap /var/ds5
    
  4. On any one node, set up the directory server(s) in the usual way.


    # directoryserver setup
    

    On this node, a link, /usr/iplanet/ds5/slapd-<instance-name>, will be created automatically. On all other nodes, create the link manually

    In the following example, dixon-1 is the name of the Directory Server.


    # ln -s /var/ds5/slapd-dixon-1 /usr/iplanet/ds5/slapd-dixon-1
    
  5. Supply the logical hostname when the setup command prompts you for the server name.

    This step is required for failover to work correctly.


    Note –

    The logical host that you specify must be online on the node from which you run the directoryserver setup command. This state is necessary because at the end of the Sun ONE Directory Server installation, Sun ONE Directory Server automatically starts and will fail if the logical host is offline on that node.


  6. If prompted for the logical hostname, select the logical hostname along with your domain for the computer name, for example, phys-schost-1.eng.sun.com.

    Supply the hostname that is associated with a network resource if the setup command prompts you for the full server name.

  7. If prompted for the IP address to be used as the Sun ONE Directory Server Administrative Server, specify the IP address of the cluster node on which you are running directoryserver setup.

As part of the installation, you set up an Sun ONE Directory Server 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.

Where to Go From Here

After you configure and activate the network resources, go to How to Configure Sun ONE Directory Server.