Building Disaster Recovery Serviceguard Solutions Using Metrocluster with Continuous Access EVA P6000 for Linux B.01.00.00

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 11).
3. Validate the package configuration file.
# cmcheckconf -P temp.config
4. Apply the package configuration file.
# cmapplyconf -P temp.config
NOTE: If external_pre_script is specified in a Metrocluster package configuration,
the external_pre_script is executed after the execution of Metrocluster module scripts
in package startup. Metrocluster module scripts are always executed first during package
startup.
5. Run the package on a node in the Serviceguard cluster.
# cmrunpkg -n <node_name> <package_name>
6. Enable global switching for the package.
# cmmodpkg -e <package_name>
After the package is created, if the value of any Metrocluster parameter needs to be changed, edit
this package configuration file and re-apply it.
Setting up Disk Monitoring
HP Serviceguard for Linux includes a Disk Monitor which you can use to detect problems in disk
connectivity. This lets you fail a package over from one node to another in the event of a disk
connectivity failure.
For instructions on configuring disk monitoring , see Creating a Disk Monitor Configuration section
in Managing HP Serviceguard A.11.20.10 for Linux available at http://www.hp.com/go/
linux-serviceguard-docs.
Configuring a Metrocluster package using Serviceguard Manager
To configure a Metrocluster package using Serviceguard Manager:
1. Access one of the node’s System Management Home Page at http://<nodename>:2301.
Log in using the root user’s credentials of the node.
2. Click Tools, if Serviceguard is installed, one of the widgets will have Serviceguard as an
option. Click Serviceguard Manager link within the widget.
3. On the Cluster’s Home Page, click the Configuration Tab, and then select Create A Modular
Package.
Installing and configuring an application 21