Building Disaster Recovery Serviceguard Solutions Using Metrocluster with Continuous Access for P9000 and XP A.11.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 cmdrprevcommand mentioned in
the section “Data replication storage failover preview” (page 51).
Volume monitor configuration
The Volume Monitor must be configured as a service within a Metrocluster package. In case of
Site Controller packages, the volume monitor must be configured as a service in the workload
package(s) that uses VxVM or LVM storage volumes. For Example, to configure a service for
monitoring a single VxVM volume, /dev/vx/dsk/cvm_dg0/lvol2, at log level 3, with a polling
interval of 60 seconds, and prints all log messages to /log/monlog.log.
service_name service_vol_mon
service_cmd “/usr/sbin/cmvolmond -O /log/monlog.log -D 3
/dev/vx/dsk/cvm_dg0/lvol2”
service_restart none
service_fail_fast_enabled no
service_halt_timeout 300
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 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.
Configuring a Metrocluster package 29