Designing Disaster Recovery Clusters using Metroclusters and Continentalclusters, Reprinted October 2011 (5900-1881)

#cmmakepkg i modular_pkgname1.ascii -m ecmt/oracle/oracle -t
haoracle.conf modular_pkgname2.ascii
2. Include the Metrocluster XPCA module into this modular package configuration file.
Run the following command to include Metrocluster module.
#cmmakepkg i modular_pkgname2.ascii -m dts/mcxpca
The new modular package configuration file will contain the dts/dts/dts_pkg_dir attribute
unassigned.
3. Locate the Metrocluster environment file directory and add this 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 P modular_pkgname2.ascii
6. Run the package in the Serviceguard cluster.
#cmrunpkg pkgA
With this procedure, the migration is complete for the Metrocluster with Continuous Access for
P9000 and XP package using the Oracle toolkit.
Configuring Modular Packages with Metrocluster with Continuous Access XP A.10.00
or Later
When configuring Modular packages using Metrocluster with Continuous Access XP A.10.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 with Continuous
Access XP A.10.00 or later:
1. Run the following command to create a Metrocluster XPCA Modular package configuration
file:
# cmmakepkg m dts/mcxpca temp.config
2. Edit the following attributes 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>
b. DEVICE_GROUP - Specify the XPCA device group name managed by this package, as
specified in the RAID Manager configuration file.
Configuring Modular Packages 185