Sun Cluster 3.0 U1 Data Services Installation and Configuration Guide

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

This example shows how to register the Sun Cluster HA for Netscape Directory Server data service.


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 (LDAP 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 Netscape Directory Server.)
 
(Stop the LDAP server.)
 
(Register the SUNW.nsldap resource type.)
# scrgadm -a -t SUNW.nsldap
 
(Create an LDAP 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