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: resource-group-1 (for all resources)
Resources: schost-1 (logical hostname), iplanet-insecure-1 (insecure iPlanet
application resource), iplanet-secure-1 (secure iPlanet application
resource)
(Add the resource group to contain all resources.)
# scrgadm -a -g resource-group-1
(Add the logical hostname resource to the resource group.)
# scrgadm -a -L -g resource-group-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-1 -g resource-group-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-1 -g resource-group-1 -t SUNW.iws \
-x Confdir_List=/opt/iplanet/https-iplanet-secure-1 -y Scalable=False \
-y Network_resources_used=schost-1 -y Port_list=443/tcp \
(Bring the failover resource group online.)
# scswitch -Z -g resource-group-1
|