HSG80 ACS Solution Software Version 8.7 for Compaq Tru64 UNIX Installation and Configuration Guide

Table Of Contents
SWCC Agent in TruCluster Environment
C–36 HSG80 ACS Solution Software Version 8.7 for Compaq Tru64 UNIX Installation and
Configuration Guide
Create the CAA Resource
Use the caa_profile command to create a CAA resource profile, and use the
caa_register command to register the resource after you have created it.
This procedure uses swcc as the resource name for the purpose of the example. Use
application as the resource type and specify the location of the action script.
If you want to start the resource automatically, regardless of whether it had been
stopped or running before the reboot, set auto_start to auto_start=1. Set auto_start=0 if
you want to start the resource only if it had been running before the reboot.
An example caa_profile -create command is as follows:
# caa_profile -create swcc -a swcc.scr -t application -o as=1
You can specify either a full pathname for the script file, or its filename, in which case
the caa_profile command looks for the file in the /var/cluster/caa/script directory.
By default, caa_profile -create enables steamd to run on all members with a placement
policy of balanced. The steamd daemon can therefore run on any member of the
cluster. If this default does not meet your needs, use the -c option to specify the
members that can host the application resource and use the -p option to specify a
placement policy.
The default check interval is 60 seconds. The check interval is the maximum amount
of time that an application can be unavailable to clients before CAA attempts to restart
it. Under some circumstances, this default can lead to a situation where a resource fails
and is not restarted quickly enough. You need to determine whether the 60-second
check interval is suitable.