Using the Sybase ASE Toolkit in a Serviceguard Cluster on HP-UX README: Release B.06.00
SYBASE0) is assigned to the 'service_name' parameter.
service_name SYBASE_${ASE_SERVER}
service_cmd
"/opt/cmcluster/conf/scripts/ecmt/sybase/tkit_module.sh
sybase_monitor"
service_restart "-r 3"
The service restart counter can be reset to zero for this service by
using
Serviceguard command "cmmodpkg".The service restart counter is
incremented
each time the service fails. It is used to determine when a
package
has exceeded its restart limit as defined by the
"service_restart"
parameter in the package control script.
To reset the restart counter execute the following commmand
cmmodpkg [-v] [-n node_name] -R -s service_name package_name
After setting up the Serviceguard environment, each clustered Sybase
ASE
Instance should have the following files in the toolkit
specific
directories.
/etc/cmcluster/scripts/ecmt/sybase/tkit_module.sh
/etc/cmcluster/modules/ecmt/sybase/sybase (this is a
symbolic link)
/etc/cmcluster/modules/ecmt/sybase/sybase.1
/opt/cmcluster/toolkit/sybase/README
/opt/cmcluster/toolkit/sybase/SGAlert.sh
F. Adding the Package to the Cluster
After the setup is complete, add the package to the Serviceguard
cluster
and start it up.
cmapplyconf -P SYBASE0
cmmodpkg -e -n <node1> -n <node2> SYBASE0
cmmodpkg -e SYBASE0
If necessary, consult the "Managing Serviceguard" manual for
information on managing packages.
G. Configuring Access Roles
To restrict unauthorized users from viewing the values of package
attributes, you must set appropriate roles for users who manage the
cluster and packages. You can set the Sybase administrator password
using the SAPASSWD package attribute. Along with other package
attributes, password you set for the SAPASSWD package attribute is