Sun Cluster 3.0 12/01 Data Services Installation and Configuration Guide

Example-Registering and Configuring Sun Cluster HA for iPlanet Directory Server

This example shows how to register Sun Cluster HA for iPlanet Directory Server.


Cluster Information
Node names: phys-schost-1, phys-schost-2
Logical hostname: schost-1
Resource group: resource-group-1 (for all resources)
Resources: schost-1 (logical hostname),
	nsldap-1 (iPlanet Directory Server application resource) 
 
(Create a failover resource group.)
# scrgadm -a -g resource-group-1 -h phys-schost-1,phys-schost-2
 
(Add a logical hostname resource to the resource group.)
# scrgadm -a -L -g resource-group-1 -l schost-1
 
(Bring the resource group online.)
# scswitch -Z -g resource-group-1
 
(Install and configure iPlanet Directory Server.)

(To install and configure the iPlanet Directory Server, run the 
"setup" program from the node that is currently hosting the logical
hostname."
 
(Stop the iPlanet Directory Server server.)
 
(Register the SUNW.nsldap resource type.)
# scrgadm -a -t SUNW.nsldap
 
(Create an iPlanet Directory Server resource and add it to the 
resource group.)
# scrgadm -a -j nsldap-1 -g resource-group-1 \
-t SUNW.nsldap -y Network_resources_used=schost-1 \
-y Port_list=389/tcp \
-x Confdir_list=/global/nsldap/slapd-schost-1
 
(Enable the application resources.)
# scswitch -e -j nsldap-1