
3.Locate the Metrocluster environment file directory and add the following as the value to the dts/dts/dts_pkg_dir attribute in the package configuration file:
dts/dts/dts_pkg_dir /etc/cmcluster/pkgA
4.Halt the package.
#cmhaltpkg pkgA
5.Apply the package configuration with the modular configuration file.
#cmapplyconf
6.Run the package in the Serviceguard cluster.
#cmrunpkg pkgA
With this procedure, the migration is complete for the Metrocluster SRDF package using the Oracle toolkit.
Configuring Modular Packages using Metrocluster EMC SRDF A.09.00 or Later
When configuring Modular packages using Metrocluster EMC SRDF A.09.00 or later, only the package configuration file needs to be edited. All parameters that were previously available in the Metrocluster environment file are now configured from the package configuration file. The Metrocluster environment file is automatically generated on all nodes when the package configuration is applied in the cluster.
CAUTION: Do not delete the Metrocluster environment file that is generated. This file is crucial for Metrocluster operations.
Complete the following steps to configure a Modular package using Metrocluster EMC SRDF A.09.00 or later:
1.Run the following command to create a Metrocluster SRDF modular package configuration file:
# cmmakepkg
2.Edit the following attribute in the temp.config file:
a.dts/dts/dts_pkg_dir This is the package directory for this Metrocluster Modular package. The Metrocluster Environment file is generated for this package in this directory. This value must be unique for all packages.
For example:
dts/dts/dts_pkg_dir=“/etc/cmcluster/<package_name>”
There are additional Metrocluster parameters available in the package configuration file. It is recommended that the default values of these variables are retained unless there is a specific business requirement to change them. For more information on the additional Metrocluster parameters, see Appendix C (page 491).
3.Halt the package.
#cmhaltpkg <package_name>
4.Validate the package configuration file.
#cmcheckconf
5.Apply the package configuration file.
#cmapplyconf
NOTE: If external_pre_script is specified in a Metrocluster package configuration, the external_pre_script will be executed after the execution of Metrocluster module scripts in package startup. Metrocluster module scripts are always executed first during package startup.
Building a Metrocluster Solution with EMC SRDF 279