Configuring the primary and recovery packages as modular packages when using

EMC SRDF

When using EMC SRDF replication in Continentalclusters, the primary and recovery packages must be created using the dts/ccsrdf module. To use this module, Metrocluster with EMC SRDF must be installed on all the nodes in Continentalclusters. If Metrocluster with EMC SRDF is not installed on all the nodes, then the following error message is displayed when cmmakepkg command is run:

The file /etc/cmcluster/modules/dts/ccsrdf does not exist or read/search permission not set for a component of the path: No such file or directory

1 number of errors found in specified module files! Please fix the error(s) before re-running the command. cmmakepkg: Error encountered. Unable to create template file.

When configuring modular packages with EMC SRDF, only the package configuration file must be edited. The Metrocluster environment file is automatically generated on all the nodes when the package configuration is applied in the cluster.

CAUTION: Do not delete the Metrocluster environment file that is generated in the package directory. This file is crucial for the startup of the package in Continentalclusters.

To configure the primary and recovery packages as modular packages using EMC SRDF with Continentalclusters as follows:

1.Run the following command to create an SRDF modular package configuration file:

# cmmakepkg –m dts/ccsrdf temp.config

2.Edit the following attributes in the temp.config file:

dts/dts/dts_pkg_dir

This is the package directory for the modular package. The Metrocluster environment file is generated for this package in this directory. This value must be unique for all the packages.

For example,

dts/dts/dts_pkg_dir /etc/cmcluster/<package_name>

AUTO_RUN

Set the value of this parameter to “no”.

DEVICE_GROUP

This variable contains the name of the Symmetrix device group for the package.

RDF_MODE

This parameter defines the data replication modes for the device group. There are additional parameters available in the package configuration file. HP recommends that the default values of these variables are retained unless there is a specific business requirement to change them.

For more information about the additional parameters, see “Package Attributes for Continentalcluster with EMC SRDF” (page 97).

3.Halt the package.

# cmhaltpkg <package_name>

4.Validate the package configuration file.

# cmcheckconf -P temp.config

5.Apply the package configuration file.

# cmapplyconf -P temp.config

Configuring the Continentalclusters primary and recovery packages

19

Page 19
Image 19
HP Serviceguard Metrocluster # cmmakepkg -m dts/ccsrdf temp.config, Dts/dts/dtspkgdir, Rdfmode, # cmhaltpkg packagename