-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
When using ASM over
-specify the name(s) of the ASM Shared Volume Groups in VG[0], VG[1]...
When using ASM over
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_asmdg.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
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 created manually on that node. During this maintenance period the Oracle Clusterware process checking is paused. Even if Oracle Clusterware is brought down on the local node, the OC MNP on that node will not be halted. When the OC MNP is in maintenance mode and the RAC MNP maintenance mode is enabled, the corresponding RAC MNP on the same node will be in maintenance mode as well regardless of the presence of its maintenance debug file.
To continue monitoring and come back from the maintenance mode on the local node, you must remove the "oc.debug" file on that node. It is the
user's responsibility to ensure that the Oracle Clusterware is properly running after the maintenance phase.
For the ASMDG MNP (asm_dg.conf):
ORA_CRS_HOME
Oracle Clusterware home directory.
ORACLE_HOME
Oracle database home directory.
ORACLE_USER
ASM_HOME
The home directory of Oracle where ASM is installed.
KILL_ASM_FOREGROUNDS
This parameter specifies if any ASM foreground processes that have file descriptors open on the dismounted disk group volumes need to be killed or