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

5. If required, deactivate the Volume Groups on the primary system and remove the tag.
# vgchange -a n <vgname>
# vgchange --deltag $(uname -n) <vgname>
NOTE: Use the vgchange --deltag command only if you are implementing volume-group
activation protection. Remember that volume-group activation protection if implemented, must
be done on every node.
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 other 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. To verify the Volume Group configuration on the target disk site.
To failover the DR group:
a. Select the remote storage system from the HP P6000 Command View.
b. Select the desired destination disaster Recovery group, and then click Fail Over. This
makes the destination VDisk as SOURCE.
9. 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.
# vgchange --addtag $(uname -n) <vgname>
# vgchange -a y <vgname>
# vgcfgbackup <vgname>
# vgchange -a n <vgname>
# vgchange --deltag $(uname -n) <vgname>
10. To failover the DR group:
a. Select the local storage system from the HP P6000 Command View.
b. Select the desired destination disaster Recovery group, and then click Fail Over. This
makes the destination VDisk as SOURCE.
Installing and configuring an application
You must replicate only the disks which contain application data and not the disks which contain
application binaries and configuration files. The following section describes how to configure a
package for the application.
Configuring a Metrocluster package
To create a Metrocluster modular packages do the following:
1. Run the following command to create a Metrocluster modular package configuration file:
# cmmakepkg m dts/mccaeva temp.config
If the Metrocluster package uses Oracle Toolkit, then add the corresponding toolkit module.
For example, for a Metrocluster Oracle toolkit modular package, run the following command:
Installing and configuring an application 19