Sun Cluster 3.0 Data Services Installation and Configuration Guide

Example-Registering Failover Sun Cluster HA for iPlanet Web Server

The following example shows how to register a failover iPlanet service on a two- node cluster.


Cluster Information
Node names: phys-schost-1, phys-schost-2
Logical hostname: schost-1
Resource group: lh-schost-1 (for all resources), 
Resources: schost-1 (logical hostname), iplanet-insecure (insecure iPlanet application resource), 
  iplanet-secure (secure iPlanet application resource)
 
(Add the resource group to contain all resources.)
# scrgadm -a -g lh-schost-1
 
(Add the logical hostname resource to the resource group.)
# scrgadm -a -L -g lh-schost-1 -l schost-1 
 
(Register the iPlanet resource type.)
# scrgadm -a -t SUNW.iws
 
(Add an insecure iPlanet application resource instance.)
# scrgadm -a -j iplanet-insecure -g lh-schost-1 \
-t SUNW.iws -x Confdir_list=/opt/iplanet/conf \
-y Scalable=False -y Network_resources_used=schost-1 \
-y Port_list=80/tcp
 
(Add a secure iPlanet application resource instance.)
# scrgadm -a -j iplanet-secure -g lh-schost-1 \ 
-t SUNW.iws \ 
-x Confdir_List=/opt/iplanet/https-iplanet-secure \
-y Scalable=False -y Network_resources_used=schost-1 \ 
-y Port_list=443/tcp
 
(Bring the failover resource group online.)
# scswitch -Z -g lh-schost-1