Building Disaster Recovery Serviceguard Solutions Using Metrocluster with 3PAR Remote Copy for Linux B.01.00.00, July 2013

Perform the following steps on a node in a Metrocluster to configure a modular package using the
Metrocluster 3PAR module on the command line:
1. Run the following command to create a modular package configuration file using the
Metrocluster with 3PAR Remote Copy for Linux module dts/mc3parrc.
# cmmakepkg m dts/mc3parrc pkgName.config
In this command, dts/mc3parrc is the Metrocluster module that needs to be included to
create a Metrocluster package configuration file.
By default, the mc3parrc module includes only the Serviceguard volume group module.
If modules other than the Serviceguard 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 mc3parrc module.
# cmmakepkg m dts/mc3parrc m sg/filesystem m sg/monitor_subnet
\-m sg/package_ip pkgName.config
NOTE: Usually, Metrocluster is used with applications toolkits. Therefore, the application
toolkit module must be included when Metrocluster is used in conjunction with an application.
For example, when Metrocluster is used in conjunction with the HP Serviceguard Toolkit for
Oracle on Linux, then the toolkit module and other required modules must be included with
the Metrocluster with 3PAR Remote Copy for Linux module.
Run the following command:
# cmmakepkg m dts/mc3parrc m sg/filesystem -m sg/package_ip -m\
tkit/oracle/oracle pkgName.config
2. Edit the following attributes in the pkgName.config file.
a. Specify the package directory for the dts/dts/dts_pkg_dir attribute.
dts/3parrc/dts_pkg_dir $SGCONF/pkg
b. Specify the DC1 nodes for the DC1_NODE_LIST parameter. Multiple names are defined
using a space as a separator between the names. You cannot mention the IP addresses
to the DC1_NODE_LIST parameter.
dts/3parrc/DC1_NODE_LIST dc1_node1 dc1_node2
c. Specify the DC2 nodes for the DC2_NODE_LIST parameter. Multiple names are defined
using a space as a separator between the names. You cannot mention the IP addresses
to the DC2_NODE_LIST parameter.
dts/3parrc/DC2_NODE_LIST dc2_node1 dc2_node2
d. Specify the DNS resolvable name or IP address of the HP 3PAR storage system that resides
in DC1.
dts/3parrc/DC1_STORAGE_SYSTEM_NAME "3PAR001"
e. Specify the DNS resolvable name or IP address of the HP 3PAR storage system that resides
in DC2.
dts/3parrc/DC2_STORAGE_SYSTEM_NAME 3PAR002
NOTE: The storage system name value specified in DC1_STORAGE_SYSTEM_NAME
and DC2_STORAGE_SYSTEM_NAME parameter must be the same value as specified while
creating the password file. For more information, see section “Setting up password files
for cluster nodes to connect to HP 3PAR storage systems (page 13).
Configuring Metrocluster Packages 15