Using Serviceguard Extension for RAC Version A.11.20 - (August 2011)
DEPENDENCY_NAME DG-MNP-name
DEPENDENCY_CONDITION DG-MNP-PKG=UP
DEPENDENCY_LOCATION SAME_NODE
For a package using CFS:
DEPENDENCY_NAME OC-MNP-name
DEPENDENCY_CONDITION OC-MNP-PKG=UP
DEPENDENCY_LOCATION SAME_NODE
DEPENDENCY_NAME MP-MNP-name
DEPENDENCY_CONDITION MP-MNP-PKG=UP
DEPENDENCY_LOCATION SAME_NODE
When ASMDG package is configured:
DEPENDENCY_NAME ASMDG-MNP-name
DEPENDENCY_CONDITION ASMDG-MNP-PKG=UP
DEPENDENCY_LOCATION SAME_NODE
Note: When ASMDG MNP is configured, make sure you configure the dependency
on the ASMDG MNP which is managing the disk group of the current RAC MNP.
Since ASMDG MNP is already configured with a dependency on OC MNP, there
is no need to configure a dependency on OC MNP for this RAC MNP.
SERVICE_NAME
Specify a single SERVICE_NAME, corresponding to the service definition in
the control script. This service invokes Toolkit script "toolkit_dbi.sh
check".
SERVICE_HALT_TIMEOUT
Default value is 300 seconds for a 4 node cluster. This value is suggested
as an initial value. It may need to be tuned for your environment.
E-1-3. The Legacy Package Control Script Parameters
The package control script template can be created by running the Serviceguard
command "cmmakepkg -s" for a legacy package.
For the OC MNP:
-----------
When SLVM or ASM over SLVM is used for Oracle Clusterwaer storage, specify
the corresponding SLVM Volume Group names and set activation to shared mode.
- set VGCHANGE to "vgchange -a s"
- specify the name(s) of the Shared Volume Groups in vg[0], vg[1]....
Note: Do not specify SLVM Volume groups used by RAC databases here.
When using ASM over SLVM for RAC database storage, specify the SLVM
Volume Group of member disks in the ASM DG MNP package configuration
file.
If CVM is used for Oracle Clusterware 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 \$Disk group 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 "<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
102 SGeRAC Toolkit for Oracle RAC 10g or later