Sun Java System Reference Configuration Series: Portal Service on Application Server Cluster

ProcedureTo Start and Verify Directory Server on ds1

The following procedure confirms that Directory Server has been installed by starting and connecting to a Directory Server instance on ds1.

  1. Start the Directory Server instance on ds1.

    # /opt/SUNWdsee/ds6/bin/dsadm start /var/opt/SUNWdsee/ds-inst-ds1

  2. Check that the Directory Server instance is running.

    # /opt/SUNWdsee/ds6/bin/dsadm info /var/opt/SUNWdsee/ds-inst-ds1

    The State: line in the output should indicate that the instance is running.

  3. Check that you can connect to the Directory Server instance and perform a basic operation.

    # ldapsearch -b "dc=pstest,dc=com" -h ds1 -p 389 -D "cn=Directory Manager" "objectClass=*"

    When prompted, type the directory-manager-password.

    The response should resemble the following:

    version: 1
    dn: dc=pstest,dc=com
    dc: pstest
    objectClass: top
    objectClass: domain