User's Guide

<pkg_name>.config. If no configuration parameters are provided with the service command, the monitors
will default to the settings for a ABAP DVEBMGS Central Instance if possible.
Example entries in <pkg_name>.control.script:
SEVICE_NAME[0]="ciC11ms"
SERVICE_CMD[0]="/etc/cmcluster/C11/sapms.mon\<MS_SERVICEPORT>"
SEVICE_NAME[1]="ciC11disp"
SERVICE_CMD[1]="/etc/cmcluster/C11/sapdisp.mon <INSTNAME>\
<INSTNR> <hostname>"
Optional Step: OS445
In case you want to automate Replicated Enqueue handling and use follow-and-push failover semantics
for[A]SCS/[A]REP packages:
For this to work with legacy packages, section 1 of the SGeSAP configuration file needs to reside in the file
/etc/cmcluster/<SID>/sap.config This is the default approach even without the follow-and-push
and it can always be done, also if several SGeSAP packages share this package directory. Other sections
of the file can be moved to package specific files. /etc/cmcluster/<SID>/sap<packagename>.config
files if required.
The SGeSAP ENQueue Operation Resource needs to be specified for each [A]SCS package and for each
[A]REP replication package in the package configuration files.
Example entries for a ASCS package configuration file:
RESOURCE_NAME /applications/sap/enqor/C11ascs
RESOURCE_POLLING_INTERVAL 30
RESOURCE_START AUTOMATIC
RESOURCE_UP_VALUE != "IDLE"
Example entries for an AREP package configuration file:
RESOURCE_NAME /applications/sap/enqor/C11ascs
RESOURCE_POLLING_INTERVAL 60
RESOURCE_START AUTOMATIC
RESOURCE_UP_VALUE != "SERVING"
You will need to copy /opt/cmcluster/sap/sap.config to /etc/cmcluster if you use non-default
package names. Default package names for setups with Replicated Enqueue are ascs<SID>, scs<SID>
and ers<INR><SID>. Within the file, any non-default names have to be specified explicitly. If these values
have to be changed during operation, the cmenqord process needs to be notified by sending it the signal
USR1 via the kill command.
For SAP kernel 4.6 or 6.x and resources
/applications/sap/enqor/<SID>
/applications/sap/enqor/<SID>ascs
/applications/sap/enqor/<SID>scs
use:
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>
Legacy Package Configuration 67