Managing HP Serviceguard Extension for SAP for Linux, December 2013

With this parameter being active, the sapstart service agent notifies the cluster software of any
triggered instance halt. Planned instance downtime does not require any preparation of the cluster.
Only the sapstart service agent needs to be restarted in order for the parameter to become effective.
During startup of the instance startup framework, a SAP instance with the SGeSAP HA library
configured , prints the following messages in the sapstartsrv.log file located in the instance
work directory:
SAP HA Trace: HP SGeSAP<versioninfo> (SG) <versioninfo> cluster-awareness
SAP HA Trace: Cluster <clustername> is up and stable
SAP HA Trace: Node <hostname> is up and running
SAP HA Trace: SAP_HA_Init returns: SAP_HA_OK ...
During startup of the instance startup framework, a SAP instance without the SGeSAP HA library
configured, prints the following message in the sapstartsrv.log file.
No halib defined => HA support disabled
NOTE: Within a single Serviceguard package it is possible to mix instances having the HA library
configured with instances not having HA library configured.
Subsequent startup or shutdown of an instance triggers the startup framework to dynamically
discover a package that has the instance configured. A corresponding sapstartsrv.log entry
is as follows:
SAP HA Trace: Reported package name is <packagename>
During startup of the instance startup framework, a SAP instance without the SGeSAP HA library
configured prints the following message in the sapstartsrv.log file located in the instance
work directory:
No halib defined => HA support disabled
CAUTION: It might not be safe to stop an instance that has HA support disabled. Cluster software
monitors will cause a failover of the halted instance and all other software instances configured in
the same cluster package to the secondary node. You can stop the instance, if software monitoring
is not used or if package maintenance mode is activated. Ask the cluster administrator for details
on a specific configuration.
While SAP instance package is running, and the HA library has been configured, a <sid>adm
can issue the following command.
sapcontrol -nr <instnr> -function Stop
The SAP instance shuts down as if there were no cluster configuration. The cluster package will
not report any error and continues to run. All instance filesystems remain accessible. The
sapstartsrv.log file reports:
trusted unix domain socket user is stopping SAP System
SAP HA Trace: Reported package name is ERS41SYA
SAP HA Trace: Reported resource name is SYA_ERS41
SAP HA Trace: SAP_HA_FindSAPInstance returns: SAP_HA_OK
SAP HA Trace: SAP_HA_StopCluster returns: SAP_HA_STOP_IN_PROGRESS
Depending on the service monitors that are configured for the instance, one or more operations
are logged to the package log file $SGRUN/log/<packagname>.log in the subsequent
monitoring intervals.
<date> root@<node> sapdisp.mon[xxx]: (sapdisp.mon,check_if_stopped):
Manual start operation detected for DVEBMGS41
3.2 Performing SAP administration with SAP's startup framework 27