Sun Cluster 3.0 Data Services Installation and Configuration Guide

Example-Registering Scalable Sun Cluster HA for iPlanet Web Server

The following example shows how to register a scalable iPlanet service.


Cluster Information
Node names: phys-schost-1, phys-schost-2
Shared address: schost-1
Resource groups: sa-schost-1 (for shared addresses), 	iws-schost-1 (for scalable iPlanet application resources)
Resources: schost-1 (shared address),	iplanet-insecure (insecure iPlanet application resource). 
    iplanet-secure (secure iPlanet application resource)
 
(Add a failover resource group to contain shared addresses.)
# scrgadm -a -g sa-schost-1
 
(Add the shared address resource to the failover resource group.)
# scrgadm -a -S -g sa-schost-1 -l schost-1
 
(Add a scalable resource group.)
# scrgadm -a -g iws-schost-1 -y Maximum_primaries=2 \
-y Desired_primaries=2 -y RG_dependencies=sa-schost-1
 
(Register the iPlanet resource type.)
# scrgadm -a -t SUNW.iws
 
(Add an insecure iPlanet instance with default load balancing.)
# scrgadm -a -j iplanet-insecure -g iws-schost-1 \
-t SUNW.iws \
-x Confdir_List=/opt/iplanet/https-iplanet-insecure \
-y Scalable=True -y Network_resources_used=schost-1 \
-y Port_list=80/tcp
 
(Add a secure iPlanet instance with sticky IP load balancing.)
# scrgadm -a -j iplanet-secure -g iws-schost-1 \
-t SUNW.iws \ 
-x Confdir_List=/opt/iplanet/https-iplanet-secure \
-y Scalable=True -y Network_resources_used=schost-1 \
-y Port_list=443/tcp -y Load_balancing_policy=LB_STICKY \
-y Load_balancing_weight=40@1,60@2
 
(Bring the failover resource group online.)
# scswitch -Z -g sa-schost-1
 
(Bring the scalable resource group online.)
# scswitch -Z -g iws-schost-1