Managing Serviceguard Extension for SAP Version A.06.00 for Linux, December 2012

Configure a database monitor with:
service_name <pkg>datab
service_cmd $SGCONF/monitors/sgesap/sapdatab.mon
All other values are set up as described in the Table 22 (page 69) table.
Module sg/generic_resource SGeSAP enqor resource
A generic resources has to be setup for SCS and ERS packages, if the SGeSAP enqueue
follow-and-push mechanism is used. There is a common resource for each SCS/ERS pair. The
naming schema of the resource follows the below convention:
sgesap.enqor<SID>_<ERS>
For example:
SAP System C11 has SCS40 and ERS41 configured. ERS41 replicates SCS40. Both the package
containing SCS40 and the package of ERS41 must have the generic_resource_name
sgesap.enqor_C11_ERS41 setup with the generic_resource module.
The resource must be of evaluation_type before_pacakge_start.
Up_criteria for the SCS pacakage is “!=1”, for the ERS package “!=2”.
For example:
For the SCS package:
generic_resource_name sgesap.enqor_C11_ERS41
generic_resource_evaluation_type before_package_start
generic_resource_up_criteria !=1
For the ERS package
generic_resource_name sgesap.enqor_C11_ERS41
generic_resource_evaluation_type before_package_start
generic_resource_up_criteria !=2
NOTE: In order to have any effect these enqor resources require the enqor MNP to be up.
Serviceguard Manager guided configuration offers the correct values preselected for the
generic_resource screen only if a SGeSAP enqor MNP is already setup.
The deploysappkgs script supports the generic_resource module for enqor.
Module sg/dependency SGeSAP enqor MNP dependency
SCS and ERS packages taking part in the SGeSAP follow-and-push mechanism must have
same-node/up dependency with the enqor MNP. The attributes have to be set as follows:
dependency_name enqor_dep
dependency_location same_node
dependency_condition enqor = UP
Servicegurad Manager guided configuration offers the correct values preselected for the dependency
screen only if a SGeSAP enqor MNP is already setup.
The deploysappkgs script supports the dependecy module for enqor.
Module sgesap/enqor SGeSAP enqor MNP template
This module is used to setup the SGeSAP enqor MNP. It has no attributes to be configured. A
SGeSAP enqor MNP is only mandatory in the SCS/ERS follow-and-push context.
The sgesap/enqor module must not be combined with any other SGeSAP module. A configured
enqor MNP is a prerequisite for the correct function of the sg/dependency and sg/generic_rsesource
attributes configured into a sapinstance package.
For the configuration of the sg/dependency and sg/generic_resource modules described above
the enqor MNP is a prerequisite.
70 Clustering SAP using SGeSAP packages