HP Serviceguard Toolkit for SAP Sybase ASE and SAP Sybase Replication Server for Linux User Guide Version A.12.00.00

Table 6 Sybase RS package attributes (continued)
DescriptionAttribute
node when there is failure in Sybase RS processes and exit. You must provide atleast one
process to monitor the service monitors.
For example:
tkit/sybase/rs/MONITOR_PROCESS repserver
tkit/sybase/rs/MONITOR_PROCESS dbsrv12
See “Example: Sybase RS package attributes” (page 37) for the sample configuration file of Sybase
RS package.
Setting dependency of RS on ASE
When you create a separate package for ASE and RS, to make sure that RS instance starts or stops
along with ASE instance, you must set dependency of RS on ASE using Serviceguard dependency
clause.
For example, to mention dependency of package rs1 on package ase1:
dependency_name ase1_dep
dependency_condition ase1 = up
dependency_location same_node
NOTE: The ASE and RS instance must be configured to run on the same node of a Serviceguard
cluster. This toolkit package must be configured in a way that the RS instance fails over or fails
back in the cluster environment along with the ASE instance.
Creating DR Agent package
To create a DRA package, run the cmmakepkg -m tkit/sybase/dra dra1_pkg.ascii
command.
This command creates a package configuration template file (dra1_pkg.ascii). Edit the template
file created and specify appropriate values for all the required attributes to create a Serviceguard
package to manage DR Agent.
The Table 7 (page 23) provides Sybase DRA package attribute details.
Table 7 Sybase DRA package attributes
DescriptionAttribute
This attribute sets the time interval in seconds, to verify the availability of processes defined
through the MONITOR_PROCESS attribute, or to check health of a DR Agent.
MONITOR_INTERVAL
The default value is 30 seconds.
For example:
tkit/sybase/dra/MONITOR_INTERVAL 30
This is the amount of time, in seconds, to wait for a graceful completion of an event, like
stop of a process. The TIME_OUT variable is used to protect against a worst case scenarios,
TIME_OUT
like, where a hung database prevents the halt operations from completing gracefully. You
must complete the events or operations before TIME_OUT time.
The TIME_OUT variable has no effect on package failover times. The default value is 10
seconds.
For example:
tkit/sybase/dra/TIME_OUT 10
This is the maximum number of time any operations such as startup of a database, are retried
at a single point of failure before declaring failure.
RETRY_TIME
The default value to try any operation is 3 times.
Creating DR Agent package 23