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

Table 7 Sybase DRA package attributes (continued)
DescriptionAttribute
This attribute defines the full path and name of a file containing password for DRA user. First
line of this file contains a password for a Sybase DRA user. This password is used to connect
to DR Agent process associated with particular RS.
PASSWD_FILE
For example:
tkit/sybase/dra/PASSWD_FILE /sybase/SRS_REP/DRA-passwd.file
This is the unique label to match the DR Agent process with correct Sybase RS instance. This
can be the name of directory or Instance name of RS, which is used to uniquely match the
DR Agent process for a specific Replication Server.
UNIQ_MONITOR_LABEL
The online modification of this attribute is not supported.
You must set this attribute to monitor the DR Agent process.
For example:
tkit/sybase/dra/UNIQ_MONITOR_LABEL /sybase/SRS_REP OR
tkit/sybase/dra/UNIQ_MONITOR_LABEL SRS_REP
This attribute defines the full path to the script and a script name to start Sybase DR Agent
process.
RUNSCRIPT
For example:
tkit/sybase/dra/RUNSCRIPT /sybase/SRS_REP/SCC-3_2/bin/scc.sh
This is the list of all the critical processes associated to DR Agent. The process must be running
and be monitored to ensure that the user is notified or package is failed over to an adaptive
MONITOR_PROCESS
node when there is failure in any of these processes. Atleast one process must be specified
for toolkit service to monitor.
For example:
tkit/sybase/dra/MONITOR_PROCESS com.sybase.ua.startup
See “Example: Sybase DRA package attributes (page 39) for the sample configuration file of
Sybase DRA package.
Setting dependency of DRA on RS
When you create separate package for RS and DRA, to make sure that DR Agent starts or stops
along with RS, you must set the dependency of DRA on RS using Serviceguard's dependency
clause.
For example, to mention dependency of package dra1 on package rs1:
dependency_name rs1_dep
dependency_condition rs1 = up
dependency_location same_node
Editing the package configuration file
You must edit the configuration file as specified for each attribute in the configuration file. The
package name and package service names must be unique within the cluster. The Sybase toolkit
configuration parameters in the package configuration file for ASE, RS, and DRA modules are
prefixed by the tkit/sybase/ase/, tkit/sybase/rs/, and tkit/sybase/dra/ respectively.
Example to configure an email alert for a package:
email_id <first-user-name>@<domain-name>email_id
<second-user-name>@<domain-name>For example: email_id abc@abc.comemail_id
pgr@abc.com
Creating combinational package
To create a combinational package:
Editing the package configuration file 25