Using Serviceguard Extension for RAC, 10th Edition, April 2013
ASMDG MNP creation procedures
NOTE: This procedure is 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.
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 “Toolkit Configuration File
Parameters” (page 73) 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 “Legacy Package Configuration
File Parameters” (page 83) and “Legacy Package Control Script Parameters” (page 85),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
RAC MNP creation procedures
1. On one node of the cluster, create a RAC MNP working directory under /etc/cmcluster and
copy over the files in the Toolkit directory.
# mkdir /etc/cmcluster/YourOwn-RACMNP-Dir
# cd /etc/cmcluster/YourOwn-RACMNP-Dir
# cp /opt/cmcluster/SGeRAC/toolkit/racp/*
2. Edit the configuration file rac_dbi.conf based on the description in “Toolkit Configuration File
Parameters” (page 73) to suit your Oracle environment.
3. Generate the package configuration file and control scripts for the RAC MNP.
# cmmakepkg -p pkgConfigFile
# cmmakepkg -s pkgControlScript
Edit the package template files based on the description in “Legacy Package Configuration
File Parameters” (page 83) and “Legacy Package Control Script Parameters” (page 85), and
make sure that the pkgControlScript is executable.
4. Create the RAC 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
88 Serviceguard Configuration for Oracle 10gR2, 11gR1, or 11gR2 RAC