3.Generate the package configuration file for the ASMDG MNP and edit the file based on the description in
If asm_dg.conf is configured and tested in step 2, use the following command to create the package configuration file:
:cmmakepkg
Otherwise, create the package configuration file and set the Oracle Clusterware parameters in this file directly:
:cmmakepkg
4.Now apply the package configuration file:
:cmapplyconf
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.
:
:
:cp /opt/cmcluster/SGeRAC/toolkit/asmp/* .
2.Edit the configuration file asm_dg.conf based on the description in
3.Generate the package configuration file and control scripts for the
ASMDG MNP.
:cmmakepkg
:cmmakepkg
Edit the package template files based on the description in
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
1.On one node of the cluster, start the ASMDG MNP via cmrunpkg. : cmrunpkg
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
1.On one node of the cluster, create a RAC MNP working directory under /etc/cmcluster.
:
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
:
: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
Otherwise, create the package configuration file and set the Oracle Clusterware parameters in this file directly:
: cmmakepkg