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: Cluster Synchronization Services appears healthy

Cluster Ready Services appears healthy Event Manager appears healthy

For Oracle 11g R2, messages like the following should be seen: CRS-4638: Oracle High Availability Services is online CRS-4537: Cluster Ready Services is online

CRS-4529: Cluster Synchronization Services is online

CRS-4533: Event Manager is online

The RAC instances should not be running.

Note: Steps F-5 to F-7 are required only if you are using ASM over SLVM for RAC database and if you are planning to use the ASMDG package to manage your ASM disk group.

F-5. ASMDG creation procedures [For Modular Packages]:

1.On one node of the cluster, create an ASMDG MNP working directory under /etc/cmcluster.

:mkdir /etc/cmcluster/ASMDGMNP-Dir

2.Go to step 3 if you don't want to test the asm_dg.conf before configuring the ASMDG MNP. Otherwise copy the ASMDG MNP configuration file located in the Toolkit directory /opt/cmcluster/SGeRAC/toolkit/asmp to the ASMDG MNP working directory. Then edit and test the configuration file asm_dg.conf based on the description in E-2 to suit your Oracle environment.

:cd /etc/cmcluster/ASMDGMNP-Dir

:cp /opt/cmcluster/SGeRAC/toolkit/asmp/asm_dg.conf .

106 SGeRAC Toolkit for Oracle RAC 10g or later

Page 106
Image 106
HP Serviceguard Extension for RAC (SGeRAC) manual SGeRAC Toolkit for Oracle RAC 10g or later