HP Serviceguard Extension for SAP (SGeSAP) ENQORSCSPKGNAMEC11=foobar ENQORREPPKGNAMEC11=foorep

Models: Serviceguard Extension for SAP (SGeSAP)

1 142
Download 142 pages 58.48 Kb
Page 68
Image 68

<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. For 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> test_return 52

}

68 Step-by-Step Cluster Conversion

Page 68
Image 68
HP Serviceguard Extension for SAP (SGeSAP) manual ENQORSCSPKGNAMEC11=foobar ENQORREPPKGNAMEC11=foorep