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

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 55).
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).
3. If you want to monitor the status of the device group pairs, configure Device Group Monitor
(DGM). Otherwise, skip this step.
a. Configure the parameters for the Device Group Monitor in the package configuration
file.
Specify the polling interval for the DGM. If the parameter is not defined (commented out),
the default value is 10 minutes. Otherwise, the value is set to the desired polling interval
in minutes.
MON_POLL_INTERVAL <polling interval in minutes>
Specify the value for MON_NOTIFICATION_FREQUENCY . This value is used to control
the frequency of notification message when the state of the device group remains the
same. If the value is zero, the monitor sends notification when the state of the device
group has changed. If the value is set to n where n is greater than 0, the monitor sends
a notification every nth polling interval or when the device group state has changed. If
the variable is not set, the default value is 0.
22 Configuring an application in a Metrocluster environment