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

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.
6. Run the package on a node in the Serviceguard cluster.
# cmrunpkg -n <node_name> <package_name>
7. Enable global switching for the package.
# cmmodpkg -e <package_name>
After the package is created, if you want to change the value of any Metrocluster parameter needs
to be changed, then edit this package configuration file and re-apply the configuration. It is
recommended that you verify the setup on all nodes using the cmdrprev command mentioned in
the section “Data replication storage failover preview” (page 27).
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.12.00.00 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 in 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 option.
Figure 4 Creating modular package
4. If the product Metrocluster with Continuous Access XP Toolkit is installed, you are prompted
to configure a Metrocluster package. Select the dts/mcxpca module, and then click Next.
24 Configuring an application in a Metrocluster environment