Managing HP Serviceguard Extension for SAP for Linux (May 2013)
Table 23 Module sg/services – SGeSAP monitors parameter
DescriptionValueParameter
Unique name. A combination of package name
and monitor type is recommend
CM2CIdispservice_name
Path to monitor script$SGCONF/monitors/sgesap/sapdisp.monservice_cmd
Usually, no restarts must be configured for a
SGeSAP monitor to have an immediate failover if
the instance fails.
0service_restart
No fast fail configuredNoservice_fast_fail
> 0 to give monitor some time to cleanup after it
received the TERM signal.
5service_halt_timeout
Serviceguard Manager guided package setup pre-populates the services screen with the monitors
appropriate for the instance if the service module has been selected to be included in the package.
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 23 (page 71) 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_package_start.
Up_criteria for the SCS package 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.
Completing SGeSAP package creation (Phase 3b) 71