Managing Serviceguard Extension for SAP, December 2007

SAP Supply Chain Management
SGeSAP Package Configuration
Chapter 4226
For lc<LCSID>.config the following settings are strongly
recommended:
PACKAGE_NAME lc<LCSID>
PACKAGE_TYPE FAILOVER
RUN_SCRIPT /etc/cmcluster/<LCSID>/lc<LCSID>.control.script
HALT_SCRIPT /etc/cmcluster/<LCSID>/lc<LCSID>.control.script
SERVICE_NAME SGeSAPlc<LCSID>
•For lc<LCSID>.cntl the following settings are strongly
recommended:
SERVICE_NAME[0]="SGeSAPlc<LCSID>"
SERVICE_CMD[0]="/sapdb/<LCSID>/db/sap/lccluster monitor"
SERVICE_RESTART[0]="-r 3"
All other parameters should be chosen as appropriate for the
individual setup.
LC180 liveCache Installation Step:
In /etc/cmcluster/<LCSID>/lc<LCSID>.control.script add the
following lines to the customer defined functions. These commands will
actually start and stop the liveCache instance.
function customer_defined_run_cmds
{
### Add following line
. /etc/cmcluster/<LCSID>/sapwas.cntl start <LCSID>
test_return 51
}
function customer_defined_halt_cmds
{
### Add following line
. /etc/cmcluster/<LCSID>/sapwas.cntl stop <LCSID>
test_return 52
}