Managing Serviceguard Extension for SAP Version B.05.10, December 2012
ENQOR_ASCS_PKGNAME_<SID>=<non-default name_1>
ENQOR_SCS_PKGNAME_<SID>=<non-default name_2>
ENQOR_AREP_PKGNAME_<SID>=<non-default name_3>
ENQOR_REP_PKGNAME_<SID>=<non-default name_4>
Starting with SAP kernel 7.x and resources.
/applications/sap/enqor/<SID>ers<instnr>
use:
ENQ_SCS_ERS<INSTNR>_PKGNAME_<SID>=<non-default name_2>
ENQ_ERS_ERS<INSTNR>_PKGNAME_<SID>=<non-default name_4>
<INSTNR> needs to be replaced by the SAP instance number.
<SID> needs to be replaced with the 3-letter SAP system identifier.
<non-default name_x> can be any valid Serviceguard package name.
Example:
ENQOR_SCS_PKGNAME_C11=foobar
ENQOR_REP_PKGNAME_C11=foorep
For SAP kernel 7.x; instances SCS00 and ERS01:
ENQOR_SCS_ERS01_PKGNAME_C11=foobar
ENQOR_ERS_ERS01_PKGNAME_C11=fooers
Optional Step: OS450
For non-CFS shares, it is recommended to set
AUTO_VG_ACTIVATE=0
in
/etc/lvmrc
.
Edit the custom_vg_activation() function if needed. Distribute the file to all cluster nodes.
Optional Step: OS460
It is recommended to set
AUTOSTART_CMCLD=1
in
/etc/rc.config.d/cmcluster.
Distribute the file to all cluster nodes.
Installation Step: LS470
>Define volume groups, logical volumes, IP addresses and subnets in the package control scripts
<pkg_name>.control.script.
Fill the IP[*] and SUBNET[*] array with the IP addresses and subnet addresses that the package
is attached as well.
When using the HP Serviceguard Storage Management Suite with CFS and shared access Option
3 (chapter 2 — “Planning the Storage Layout”) the definition and configuration of logical volumes
in the package control script might not be necessary for the SAP components. The CFS based file
systems are made available through the corresponding multinode packages as defined in chapter
2—”Planning the Storage Layout.” For non-CFS shares, the volume groups are directly connected
to the SAP packages. The file systems that are specified in the LV[*], FS[*] and FS_MOUNT_OPT[*]
array in this case are not identical to the file systems that are for HA NFS usage. Example:
LV[0]="/dev/vgdbC11/lvoracle"; FS[0]="/oracle/C11"; FS_MOUNT_OPT[0]="-o rw"
LV[1]="/dev/vgdbC11/lvsapmnt"; FS[1]="/export/sapmnt/C11"; FS_MOUNT_OPT[1]="-o rw"
LV[2]="/dev/vgC11/lvusrsap"; FS[2]="/usr/sap/C11/DVEBMGS20"; FS_MOUNT_OPT[2]="-o rw"
LV[3]="/dev/vgsapnfs/lvtrans"; FS[3]="/export/usr/sap/trans"; FS_MOUNT_OPT[3]="-o rw"
Installation Step: LS480
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>
Legacy Package Configuration 91