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

Creating Sybase RS package (Replication Server environment)
To create Sybase RS package, run the cmmakepkg -m tkit/sybase/rs rs1_pkg.ascii
command.
This command creates a package configuration template file (rs1_pkg.ascii). Edit the template
file created and specify appropriate values for all the required attributes to create a Serviceguard
package to manage Sybase RS instance.
For additional information about the Sybase RS package attributes, see Table 6 (page 21).
Table 6 Sybase RS package attributes
DescriptionAttribute
This is a time interval, in seconds, to verify the existence of processes as mentioned in the
MONITOR_PROCESS attribute or to verify the health of a RS instance.
MONITOR_INTERVAL
The default value is 30 seconds.
For example:
tkit/sybase/rs/MONITOR_INTERVAL 30
This is the amount of time, in seconds, to wait for a graceful completion of an event, like stop
of a processes. The TIME_OUT variable is used to protect against a worst case scenario, for
TIME_OUT
example, a hung process preventing the graceful halt operation. The events or operations
must be completed before TIME_OUT time, else the event will be forced.
The default value is 10 seconds.
For example:
tkit/sybase/rs/TIME_OUT 10
This is the maximum number of iterations, any operations such as aborting a process, health
check of an RS instance, or monitoring of processes are retried at a point of failure before
declaring failure.
RETRY_TIME
The allowed number of retry is 3.
For example:
tkit/sybase/rs/RETRY_TIME 3
This is the directory path in which the Sybase Replication Server product is installed. You must
set this attribute for sourcing Sybase RS environment variables.
INSTALL_HOME
The online modification of this attribute is not supported.
For example:
tkit/sybase/rs/INSTALL_HOME /sybase/SRS_REP
This is the full path for the directory under the INSTALL_HOME directory where the Replication
Server executable binaries are installed. You must set this attribute with proper value for
starting RS instance.
RS_INSTALL_PATH
This attribute cannot be modified online.
NOTE: Install the different versions of Sybase RS under different directory paths.
For example:
tkit/sybase/rs/RS_INSTALL_PATH /sybase/SRS_REP/REP-15_5
This is the installation path for the Sybase OCS product. This must be a full path of the directory
including the directory name. The bin directory inside this directory must contain the isql
binary file. This attribute must be set for connecting Sybase RS instance.
OCS_INSTALL_PATH
This attribute cannot be modified online.
For example:
tkit/sybase/rs/OCS_INSTALL_PATH /sybase/SRS_REP/OCS-15_0
This attribute is used for logging Sybase RS during startup using run script.CONSOLE_LOGFILE
For example:
tkit/sybase/rs/CONSOLE_LOGFILE /sybase/SRS_REP/RSconsole-log
Creating Sybase RS package (Replication Server environment) 21