Using the Oracle Toolkit in a HP Serviceguard Cluster README Revision: B.06.00, August 2010
Serviceguard CFS package(e.g. SG-CFS-MP-1, CFS mount point
package).
If the Oracle package is configured to depend on a Serviceguard
CFS package, the Oracle package will run as long as the dependee
package
is running. If the dependee package fails, then the dependent
Oracle
package will also fail.
To configure dependency of the Oracle package, you must set the
following configurable parameters in the package configuration file.
DEPENDENCY_NAME
DEPENDENCY_CONDITION
DEPENDENCY_LOCATION
Example:
DEPENDENCY_NAME oracle_dependency
DEPENDENCY_CONDITION SG-CFS-MP-1 = up
DEPENDENCY_LOCATION SAME_NODE
- The Oracle toolkit user configuration file.
In the package directory, modify the haoracle.conf configuration
file for this Oracle instance.
NOTE: In case of a modular package, the user need not specify the
parameter values in the haoracle.conf file. The toolkit populates
haoracle.conf on its own.
Example:
Edit the haoracle.conf script as indicated by the comments in that
script. You will have to set the variables as shown in the example
below:
INSTANCE_TYPE=database
ORACLE_HOME=/ORACLE_TEST0
ORACLE_ADMIN=oracle
SID_NAME=ORACLE_TEST0
START_MODE=open
ASM=no
LISTENER=yes
LISTENER_NAME=LISTENER_ORACLE_TEST0
LISTENER_PASS=