HP Serviceguard Metrocluster # cmmakepkg -m dts/ccxpca temp.config, Dts/xpca/dtspkgdir, Horcminst

Models: Serviceguard Metrocluster

1 151
Download 151 pages 11.74 Kb
Page 16
Image 16

When any of these pre-integrated solutions are used, the corresponding Continentalclusters specific module must be included in the primary and recovery packages.

For example, while using Continuous Access P9000 or XP replication, the dts/ccxpca module must be used to create the primary and recovery packages.

NOTE: If none of the above pre-integrated physical replications are used, then it is not required to include any Continentalclusters specific module.

Configuring primary and recovery packages as modular packages when using Continuous Access P9000 or XP

When using Continuous Access P9000 or XP replication in Continentalclusters, the primary and recovery packages must be created using the dts/ccxpca module. To use this module, Metrocluster with Continuous Access for P9000 and XP must be installed on all the nodes in the Continentalclusters. If Metrocluster with Continuous Access for P9000 and XP 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/ccxpca 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 the package configuration is applied in the cluster using the cmapplyconf command, the Metrocluster environment file is automatically generated in the package directory on all the nodes 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 Continuous Access

P9000 and XP with Continentalclusters:

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

# cmmakepkg –m dts/ccxpca temp.config

NOTE: Continentalclusters is usually used with applications such as Apache. So, the application toolkit module must also be included when Continentalclusters is used in conjunction with an application.

For Example, when Continentalclusters is used in conjunction with the Apache toolkit, the Apache toolkit module and other required modules must also be included with the Continentalcluster module. Run the following command:

# cmmakepkg –m dts/ccxpca –m sg/filesystem -m sg/package_ip -m ecmt/apache/apache temp.config

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

dts/xpca/dts_pkg_dir

This is the package directory for this modular package. This value must be unique for all packages.

For example,

dts/xpca/dts_pkg_dir <pkg_dir_name>

DEVICE_GROUP

Specify the XPCA device group name managed by this package, as defined in the RAID Manager configuration file.

HORCMINST

Specify the name of the RAID manager instance that manages the XPCA device group used by this package.

16 Building the Continentalclusters configuration

Page 16
Image 16
HP Serviceguard Metrocluster manual # cmmakepkg -m dts/ccxpca temp.config, Dts/xpca/dtspkgdir pkgdirname, Devicegroup