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

6. Run the vgscan command on all the nodes to make the LVM configuration visible and to
create the LVM database.
# vgscan
7. On the source disk site, run the following commands on all the systems that might run the
Serviceguard package. If required, take a back up of a LVM configuration.
# vgchange --addtag $(uname -n) <vgname>
# vgchange -a y <vgname>
# vgcfgbackup <vgname>
# vgchange -a n <vgname>
# vgchange --deltag $(uname -n) <vgname>
8. On the target disk site, run the following commands on all the systems that might run the
Serviceguard package. If required, take a back up of a LVM configuration.
# pairsplit -g <device_group> -rw
# vgchange --addtag $(uname -n) <vgname>
# vgchange -a y <vgname>
# vgcfgbackup <vgname>
# vgchange -a n <vgname>
# vgchange --deltag $(uname -n) <vgname>
# pairresync -g <device_group> -c 15
The pairsplit command suspends the replication. if you do not want to suspend the replication
at this point of time, then skip step 8. However, this will not activate the volume group to perform
the vgcfgbackup. Perform the vgcfgbackup when the volume group is activated during the
first package startup at the target disk site.
When using the pairresync command to resynchronize PVOL/SVOL Continuous Access pairs,
specify the -c 15 switch to ensure the fastest resynchronization which reduces the vulnerability
of a rolling disaster.
Installing and configuring an application
The disks where the application binaries and configuration files reside must not be replicated. Only
the disks where application data resides must be replicated. The following section describes how
to configure a package for the application.
Configuring a Metrocluster package
To configure a Modular package:
1. Run the following command to create a Metrocluster Modular package configuration file:
# cmmakepkg m dts/mcxpca temp.config
In this command, dts/mcxpca is the Metrocluster module that needs to be included to create
a Metrocluster with Continuous Access XP P9000 for Linux package configuration file.
By default, the mcxpca module includes only the Serviceguard volume group and service
modules. If other modules need to be included, they must be explicitly specified while creating
the Metrocluster modular package configuration file.
The following example shows the package IP, the filesystem, and the monitor subnet module
included along with the mcxpca module.
# cmmakepkg m dts/mcxpca m sg/filesystem m sg/monitor_subnet -m
sg/package_ip temp.config
Installing and configuring an application 21