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

For Oracle 11g:
: $ORACLE_HOME/bin/srvctl modify database -d <dbname> -y MANUAL
F-2. OC MNP creation procedures [For Modular Package]:
1. On one node of the cluster, create an OC MNP working directory under
/etc/cmcluster.
The following step requires root privilege.
: mkdir /etc/cmcluster/OCMNP-Dir
2. Go to step 3 if you don't want to test the oc.conf file before configuring
OC MNP. Otherwise copy the OC MNP configuration file located in the
Toolkit directory /opt/cmcluster/SGeRAC/toolkit/crsp to the OC MNP working
directory. Then edit and test the configuration file oc.conf on one node
based on the description in E-2 to fit your Oracle environment.
All the following steps require root privilege.
: cd /etc/cmcluster/YourOwn-OCMNP-Dir
: cp /opt/cmcluster/SGeRAC/toolkit/crsp/oc.conf .
3. Generate the OC MNP configuration file and edit the file based on the
description in E-1-1. Then configure the OC MNP.
If oc.conf is configured and tested in step 2, use the following command
to create the package configuration file:
: cmmakepkg -m sg/multi_node_all -m sgerac/erac_tk_oc -t oc.conf
pkgConfigFile.
Otherwise, create the package configuration file and set the Oracle
Clusterware parameters in this file directly:
: cmmakepkg -m sg/multi_node_all -m sgerac/erac_tk_oc pkgConfigFile
Edit the package template files based on the description in E-1-1.
4. Now apply the package configuration file:
: cmapplyconf -P pkgConfigFile
F-3. OC MNP creation procedures [For Legacy packages]:
1. On one node of the cluster, create an OC MNP working directory under
/etc/cmcluster and copy the files in the Toolkit directory
/opt/cmcluster/SGeRAC/toolkit/crsp.
All the following steps require root privilege.
: mkdir /etc/cmcluster/YourOwn-OCMNP-Dir
: cd /etc/cmcluster/OCMNP-Dir
: cp /opt/cmcluster/SGeRAC/toolkit/crsp/* .
2. Edit the configuration file oc.conf based on the description in E-2 to
suit your Oracle environment.
3. Generate the package configuration file and control script for the OC MNP.
: cmmakepkg -p pkgConfigFile
: cmmakepkg -s pkgControlScript
Edit the package template files based on the description in E-1-2 and E-1-3
and make sure that the pkgControlScript is executable.
4. Create the OC MNP working directory on all other participating nodes.
Distribute the edited package configuration file, package control script,
and the Toolkit scripts created in steps 2 and 3 to all nodes. Then apply
the package configuration file from one node:
: cmapplyconf -P pkgConfigFile
F-4. OC MNP startup procedures [For both Modular and Legacy Packages]:
1. On each node of the cluster, halt the Oracle Clusterware if it is running.
: $ORA_CRS_HOME/bin/crsctl stop crs
2. On one node of the cluster, start the OC MNP via cmrunpkg.
: cmrunpkg <OCMNP-package-name>
Use cmviewcl to check the package status. There should be only one
OC MNP configured in the cluster.
3. After the package is up and running, verify that the Oracle Clusterware is
running on each node of the cluster.
On each node, enter:
: $ORA_CRS_HOME/bin/crsctl check crs
For Oracle 10g, messages like the following should be seen:
CSS appears healthy
CRS appears healthy
EVM appears healthy
For Oracle 11g R1, messages like the following should be seen:
Support for the SGeRAC Toolkit 107