HP Serviceguard Enterprise Cluster Master Toolkit User Guide, December 2012 (5900-2145)

else
reason="auto"
fi
/etc/cmcluster/pkg/ORACLE_TEST0/toolkit.sh stop $reason
test_return 52
}
The Serviceguard package configuration file (ORACLE_TEST0.conf).
The package configuration file is created with "cmmakepkg -p", and must be placed in the
following location:
'/etc/cmcluster/pkg/${SID_NAME}/${SID_NAME}.conf'
For example:
/etc/cmcluster/pkg/ORACLE_TEST0/ORACLE_TEST0.conf
The configuration file should be edited according to the comments provided in that file. The
package name must be unique within the cluster. For clarity, use the $SID_NAME to name
the package.
PACKAGE_NAME <SID_NAME>
PACKAGE_NAME ORACLE_TEST0
List the names of the clustered nodes to be configured to run the package, using the NODE_NAME
parameter:
NODE_NAME node1
NODE_NAME node2
The service name must match the service name used in the package control script. The service
name should include the Oracle instance name (that is, ${SID_NAME}). In the following
example, the ${SID_NAME} (that is, ORACLE_TEST0) is assigned to the
SERVICE_NAMEparameter because, there is only one service for this package.
For example:
SERVICE_NAME ORACLE_TEST0
SERVICE_FAIL_FAST_ENABLED NO
SERVICE_HALT_TIMEOUT 300
If the listener should also be monitored, another service must be added.
SERVICE_NAME LSNR_0
SERVICE_FAIL_FAST_ENABLED NO
SERVICE_HALT_TIMEOUT 300
NOTE: If listener monitoring is not intended, do not create a new service.
The run and halt scripts are (typically) identified as the control script, as follows: RUN_SCRIPT
/etc/cmcluster/pkg/ORACLE_TEST0/ORACLE_TEST0.cntl HALT_SCRIPT
/etc/cmcluster/pkg/ORACLE_TEST0/ORACLE_TEST0.cntl .
If you use a CFS mounted file system for the Oracle package, you must configure dependency
of the Oracle package on a Serviceguard CFS package (for example, SG-CFS-MP-1, CFS
mount point package).
If the Oracle package is configured to depend on a Serviceguard CFS package, the Oracle
package runs as long as the dependee package is running. If the dependee package fails,
the dependent Oracle package also fails.
To configure dependency of the Oracle package, you must set the following configurable
parameters in the package configuration file:
DEPENDENCY_NAME
Support for Oracle Database Without ASM 25