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

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:
# cmmakepkg -m dts/mccaeva -m tkit/oracle/oracle temp.config
NOTE: Metrocluster is usually used with applications such as Oracle. So, the application
toolkit module must also be included when Metrocluster is used in conjunction with an
application. You must make sure to specify the Metocluster module before specifying the toolkit
module.
2. Edit the following attributes in the temp.config file:
20 Configuring an application in a Metrocluster environment