Managing Serviceguard Extension for SAP on Linux (IA64 Integrity and x86_64), February 2008

Step-by-Step Cluster Conversion
Cluster Configuration
Chapter 3140
SERVICE_NAME[0]=”ciC11ms”
SERVICE_CMD[0]=”${SGCONF}/C11/sapms.mon
SERVICE_RESTART[0]=””
# START OF CUSTOMER DEFINED FUNCTIONS
# This function is a place holder for customer define functions.
# You should define all actions you want to happen here, before the service
# is started. You can create as many functions as you need.
#
function customer_defined_run_cmds
{
. /usr/local/cmcluster/conf/C11/sapwas.sh start C11
test_return 51
}
# This function is a place holder for customer define functions.
# You should define all actions you want to happen here, before the service
# is halted.
#
function customer_defined_halt_cmds
{
. /usr/local/cmcluster/conf/C11/sapwas.sh stop C11
test_return 52
}
# END OF CUSTOMER DEFINED FUNCTIONS
The following is an extract of a (db) package based on MaxDB for SAP
instance LXM in directory ${SGCONF}/LXM/db.control.script:
# VOLUME GROUPS
VG[0]="vgsapdbLXM"
# FILESYSTEMS
LV[0]="/dev/vgsapdbLXM/lvsapdbLXM"; \
FS[0]="/sapdb/LXM"; \