Using Serviceguard Extension for RAC, 10th Edition, April 2011

- set SERVICE_NAME[0] to the name of service specified in the ASCII
configuration file
- set SERVICE_CMD[0] to "<OC MNP working directory>/toolkit_oc.sh
check"
- set SERVICE_RESTART[0] to ""
In the function customer_defined_run_cmds:
- start Oracle Clusterware using the command:
<OC MNP working directory>/toolkit_oc.sh start
In the function customer_defined_halt_cmds:
- stop Oracle Clusterware using the command:
<OC MNP working directory>/toolkit_oc.sh stop
For the RAC MNP:
------------
If SLVM volumes are used for the Oracle RAC database storage management,
in the package control file:
- set VGCHANGE to "vgchange -a s"
- specify the name(s) of the Shared Volume Groups in VG[0], VG[1]...
If CVM is used for the RAC database storage management and the CVM disk group
activation and deactivation are to be handled in the package control file:
- set CVM_ACTIVATION_CMD to
"vxdg -g \$DiskGroup set activation=sharedwrite"
- specify the name(s) of the CVM Disk Groups in CVM_DG[0], CVM_DG[1]...
Configure one package service:
- set SERVICE_NAME[0] to the name of service specified in the ASCII
configuration file
- set SERVICE_CMD[0]
to "<RAC MNP working directory>/toolkit_dbi.sh check"
- set SERVICE_RESTART[0] to ""
In the function customer_defined_run_cmds:
- start the RAC instance using the command:
<RAC MNP working directory>/toolkit_dbi.sh start
In the function customer_defined_halt_cmds:
- stop the RAC instance using the command:
<RAC MNP working directory>/toolkit_dbi.sh stop
For the ASMDG MNP:
------------
- set VGCHANGE to "vgchange -a s" .
When using ASM over HP-UX raw disks, ignore this step.
- specify the name(s) of the ASM Shared Volume Groups in VG[0], VG[1]...
When using ASM over HP-UX raw disks, ignore this step.
Configure one package service:
- set SERVICE_NAME[0] to the name of service specified in the ASCII
configuration file
- set SERVICE_CMD[0]
to "<ASMDG MNP working directory>/toolkit_asmdg.sh check"
- set SERVICE_RESTART[0] to ""
In the function customer_defined_run_cmds:
- mount the ASM disk group using the command:
<ASMDG MNP working directory>/toolkit_dbi.sh start
In the function customer_defined_halt_cmds:
- unmount the ASM disk group using the command:
<ASMDG MNP working directory>/toolkit_asmdg.sh stop
E-2. Toolkit Configuration File Parameters
The SGeRAC Toolkit configuration file
/opt/cmcluster/SGeRAC/toolkit/crsp/oc.conf
(for the OC MNP), /opt/cmcluster/SGeRAC/toolkit/racp/rac_dbi.conf (for the
RAC MNP) and /opt/cmcluster/SGeRAC/toolkit/asmp/asm_dg.conf (for the ASM MNP)
can be edited and tested before configuring the OC MNP and RAC MNP.
For the OC MNP (oc.conf):
---------------------
ORA_CRS_HOME
Oracle Clusterware home directory.
CHECK_INTERVAL
The time interval in seconds (default 60) between consecutive checks of
Oracle Clusterware status by the MNP.
MAINTENANCE_FLAG
OC MNP maintenance mode: yes or no(default). This variable will enable or
disable maintenance mode for the OC MNP. When the OC MNP MAINTENANCE_FLAG
is "yes", the MAINTENANCE_FLAG in the RAC MNP must be set to "yes" as well
and other values are not suppported.
When the OC MNP needs to be maintained on one node, this parameter must be
set to yes and a file "<OC MNP working directory>/oc.debug" needs to be
104 SGeRAC Toolkit for Oracle RAC 10g or later