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-resource-group-1 (for shared addresses), iws-resource-group-1 (for scalable iPlanet application resources) Resources: schost-1 (shared address), iplanet-insecure-1 (insecure iPlanet application resource), iplanet-secure-1 (secure iPlanet application resource) (Add a failover resource group to contain shared addresses.) # scrgadm -a -g sa-resource-group-1 (Add the shared address resource to the failover resource group.) # scrgadm -a -S -g sa-resource-group-1 -l schost-1 (Add a scalable resource group.) # scrgadm -a -g iws-resource-group-1 -y Maximum_primaries=2 \ -y Desired_primaries=2 -y RG_dependencies=sa-resource-group-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-1 -g iws-resource-group-1 -t SUNW.iws \ -x Confdir_List=/opt/iplanet/https-iplanet-insecure-1 \ -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-1 -g iws-resource-group-1 -t SUNW.iws \ -x Confdir_List=/opt/iplanet/https-iplanet-secure-1 \ -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-resource-group-1 (Bring the scalable resource group online.) # scswitch -Z -g iws-resource-group-1 |