HP Serviceguard Toolkits for Database Replication Solutions User Guide (November 2011)
------------------------------------------------------------------------
#
# "run_script_timeout" is the number of Seconds allowed for package to start.
# "halt_script_timeout" is the number of Seconds allowed for package to halt.
#
run_script_timeout 600
halt_script_timeout 700
Note:"halt_script_timeout" has to be more than the sum of
all the individual "service_halt_timeout"s of the "service_cmds".
In SGeRAC toolkit this value is 600, by default.
Since the "service_halt_timeout"s for the service_cmds, "rac_check", and
"dataguard_monitor" are each 300, a value larger than 600 has to be
specified for "halt_script_timeout".
------------------------------------------------------------------------
# "script_log_file" is the full path name for the package control script log
# file.
script_log_file /etc/cmluster/pkg/racdgpkg/pkg.log
---------------------------------------------------------------------------
#
# Define Oracle RAC instance package working directory
#
sgerac/erac_tk_rac/TKIT_DIR /etc/cmluster/pkg/racdgpkg
---------------------------------------------------------------------------
#
# Define Oracle RAC instance package script file directory
#
sgerac/erac_tk_rac/TKIT_SCRIPT_DIR /opt/cmcluster/SGeRAC/toolkit/racp
------------------------------------------------------------------------
#
# Define Oracle Database name
#
sgerac/erac_tk_rac/ORACLE_DBNAME orcl
------------------------------------------------------------------------
#
# Define Oracle Home directory
#
sgerac/erac_tk_rac/ORACLE_HOME /var/orahome
------------------------------------------------------------------------
#
# Define Oracle user
#
sgerac/erac_tk_rac/ORACLE_USER oracle
------------------------------------------------------------------------
#
# Define Oracle start up mode
#
sgerac/erac_tk_rac/START_MODE mount
#
# The package dependency parameters are "dependency_name",
# "dependency_condition" and "dependency_location".
#
dependency_name ocmnp
dependency_condition ocmnp=up
dependency_location SAME_NODE
(Where ocmnp is the SMNP package for Oracle CLusterware)
------------------------------------------------------------------------
(NOTE: The following are the Service commands for the package)
service_name racp_monitor_test
service_cmd "$SGCONF/scripts/sgerac/erac_tk_rac.sh rac_check"
service_restart none
service_fail_fast_enabled no
service_halt_timeout 300
service_name dataguard_service_test
service_cmd "$SGCONF/scripts/tkit/dataguard/tkit_module.sh dataguard_monitor"
service_restart none
service_fail_fast_enabled no
service_halt_timeout 300
(NOTE: The following attributes are specific to the ODG toolkit)
------------------------------------------------------------------------
#
# Define ACTIVE_STANDBY
#
tkit/dataguard/dataguard/ACTIVE_STANDBY no
------------------------------------------------------------------------
#
# Define MONITOR_DG_BROKER
#
tkit/dataguard/dataguard/MONITOR_DG_BROKER no
------------------------------------------------------------------------
#
# Define REAL_TIME_APPLY
#
tkit/dataguard/dataguard/REAL_TIME_APPLY no
------------------------------------------------------------------------
#
# Define START_STANDBY_AS_PRIMARY
#
Setting up Oracle Data Guard toolkit 29