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

# touch <dts_pkg_dir>/MON_RESYNC
CAUTION: If the Continuous Access links are still down while the monitor is trying to
do the resynchronization and another failure occurs that causes a remote failover to the
secondary site, the SVOL’s BC volumes will remain split from its mirror group. This will
only occur if the monitor is configured to perform automatic resynchronization using
AUTO_RESYNC=1.
b. Un-comment the service parameters for the Device Group Monitor and provide a unique
name to the service_name parameter. Do not edit the service_cmd parameter. It is
auto generated.
For Example:
service_name mcxpca_dgmonitor
service_cmd "/usr/sbin/DRMonitorXPCADevGrp
{SG_PACKAGE_NAME}
service_restart none
service_fail_fast_enabled no
service_halt_timeout 300
If you do not want the package to fail upon device group monitoring failures, you can
set the service_restart to unlimited.
4. Validate the package configuration file.
# cmcheckconf -P temp.config
5. 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.
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.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:
Installing and configuring an application 23