Building Disaster Recovery Serviceguard Solutions Using Metrocluster with Continuous Access XP P9000 for Linux B.01.00.00

Configuring a Metrocluster package
To configure a Modular package:
1. Run the following command to create a Metrocluster Modular package configuration file:
# cmmakepkg m dts/mcxpca temp.config
In this command, dts/mcxpca is the Metrocluster module that needs to be included to create
a Metrocluster with Continuous Access XP P9000 for Linux package configuration file.
By default, the mcxpca module includes only the Serviceguard volume group and service
modules. If other modules need to be included, they must be explicitly specified while creating
the Metrocluster modular package configuration file.
The following example shows the package IP, the filesystem, and the monitor subnet module
included along with the mcxpca module.
# cmmakepkg m dts/mcxpca m sg/filesystem m sg/monitor_subnet -m
sg/package_ip temp.config
NOTE: Metrocluster is usually used with applications such as Oracle. So, the application
toolkit module must also be included when Metrocluster is used in conjunction with an
application.
For Example, when Metrocluster is used in conjunction with the Oracle toolkit, the Oracle
toolkit module and other required modules must also be included with the Metrocluster module.
Run the following command:
# cmmakepkg m dts/mcxpca m sg/filesystem -m sg/package_ip -m
tkit/oracle/oracle temp.config
2. Edit the following attributes in the temp.config file:
a. dts/xpca/dts_pkg_dir - This is the package directory for this Metrocluster Modular
package. This value must be unique for all packages.
b. dts/xpca/DEVICE_GROUP - Specify the device group name managed by this package,
as specified in the RAID Manager configuration file.
c. dts/xpca/HORCMINST - Specify the instance number of the RAID manager instance
that manages the device group used by this package.
d. dts/xpca/FENCE - Specify the fence level configured for the device group that is
managed by this package.
There are additional Metrocluster parameters available in the package configuration file. HP
recommends that you retain the default values of these variables unless there is a specific
business requirement to change them. For more information about the additional Metrocluster
parameters, see “Package attributes for Metrocluster with Continuous Access XP P9000 for
Linux” (page 54).
For the failover_policy parameter, Metrocluster failover packages can be configured to
use any of the Serviceguard defined failover policies. The site_preferred and
site_preferred_manual failover policies are introduced in Serviceguard specifically for
Metrocluster configurations.
The site_preferred value implies that when a Metrocluster package needs to fail over, it
fails over to a node in the same site as the node it last ran. If there is no other configured node
available within the same site, the package fails over to a node on another site.
The site_preferred_manual failover policy provides automatic failover of packages
within a site and manual failover across sites.
Configure a cluster with sites to use either of these policies. For information on configuring
the failover policy to site_preferred or site_preferred_manual, see “Site Aware
Failover Configuration (page 15).
Installing and configuring an application 21