3.Generate the package configuration file for the ASMDG MNP and edit the file based on the description in E-1. Then configure ASMDG MNP.

If asm_dg.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_asmdg -t asm_dg.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_asmdg pkgConfigFile Edit the package template files based on the description in E-1.

4.Now apply the package configuration file:

:cmapplyconf -P pkgConfigFile

F-6. ASMDG MNP creation procedures [For Legacy Packages]:

1.On one node of the cluster, create the ASMDG MNP working directory under /etc/cmcluster and copy over the files in the Toolkit directory /opt/cmcluster/SGeRAC/toolkit/asmp.

:mkdir /etc/cmcluster/YourOwn-ASMDGMNP-Dir

:cd /etc/cmcluster/YourOwn-ASMDGMNP-Dir

:cp /opt/cmcluster/SGeRAC/toolkit/asmp/* .

2.Edit the configuration file asm_dg.conf based on the description in E-2 to suit your Oracle environment.

3.Generate the package configuration file and control scripts for the

ASMDG 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 ASMDG 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. Now apply the package configuration file from one node :

: cmapplyconf -P pkgConfigFile

F-7. Oracle ASMDG MNP startup procedures: [For both Modular and Legacy packages]

1.On one node of the cluster, start the ASMDG MNP via cmrunpkg. : cmrunpkg Your-ASMDGMNP-Name

Use cmviewcl to check the package status.

2.After the package is up and running, verify that the ASM disk group is mounted.

On one node of the cluster, login as the Oracle administrator and enter: :$ORACLE_HOME/bin/asmcmd lsdg

Messages like the following should be seen: MOUNTED - NORMAL - <DG_NAME>

NOTE: To configure another ASMDG MNP package to manage the ASM disk group used by a different RAC Database, repeat the steps in F-6 and F-7.

F-8. RAC MNP creation procedures [For Modular Package]:

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

:mkdir /etc/cmcluster/YourOwn-RACMNP-Dir

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

:cd /etc/cmcluster/YourOwn-RACMNP-Dir

:cp /opt/cmcluster/SGeRAC/toolkit/racp/rac_dbi.conf .

3.Generate the package configuration file for the RAC MNP.

If rac_dbi.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_rac -t rac_dbi.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_rac pkgConfigFile

Support for the SGeRAC Toolkit 107

Page 107
Image 107
HP Serviceguard Extension for RAC (SGeRAC) manual Asmdg MNP