Managing Serviceguard Extension for SAP, December 2007

Step-by-Step Cluster Conversion
Cluster Configuration
Chapter 3144
IS480 Installation Step:
To enable the SAP specific scripts change the
customer_defined_commands sections of the package control script(s)
<pkg_name>.control.script:
function customer_defined_run_cmds
{
. /etc/cmcluster/<SID>/sapwas.cntl start <SID>
test_return 51
}
function customer_defined_halt_cmds
{
. /etc/cmcluster/<SID>/sapwas.cntl stop <SID>
test_return 52
}
The SAP specific control file sapwas.cntl needs to arguments, which are
the MODE (start/stop) and the SAP System ID (SID). Don’t omit the
leading period sign in each line that calls sapwas.cntl.
IR490 Informix Database Step:
If you use the INFORMIX RDBMS:
Move INFORMIX specific files into the INFORMIX home directory. Read
the command example carefully. Make sure you move the 'dot files'. For
example:
mv /opt/cmcluster/sap/SID/customer.sh\
/home/informix/.customer.sh
mv /opt/cmcluster/sap/SID/customer.csh\
/home/informix/.customer.csh
chown informix:informix /home/informix/.customer.sh
chown informix:informix /home/informix/.customer.csh