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

NODE_NAME SJC_2
SITE san_jose
........
Use cmviewcl command to view the list of sites that are configured in the cluster and their
associated nodes. The following is a sample of the command, and the output:
# cmviewcl -l node
SITE_NAME san_francisco
NODE STATUS STATE
SFO_1 up running
SFO_2 up running
.........
SITE_NAME san_jose
NODE STATUS STATE
SJC_1 up running
SJC_2 up running
You can configure either of these failover policies for Metrocluster failover packages. To use these
policies, you must specify site_preferred or site_preferred_manual for the failover_policy
attribute in the Metrocluster package configuration file.
NOTE: For a Metrocluster package, HP recommends that you set the failover_policy
parameter to site_preferred.
Setting up the replication using 3PAR Remote Copy
Consider that you have already created one or more Serviceguard clusters for use in a disaster
recovery configuration.
To set up replication in a Metrocluster environment:
1. Connect the arrays to the hosts in the cluster.
2. Set up HP 3PAR InForm OS CLI for Metrocluster environment.
3. Create a remote copy volume group for use in the cluster nodes.
4. Create a 3PAR storage system user to access the remote copy volume group.
5. Set up password files in all the nodes to connect to the 3PAR storage systems.
Connecting the arrays to the hosts in the cluster
Ensure that the 3PAR storage systems are correctly cabled to each host system that runs packages
whose data reside on the storage systems. You must create corresponding host definitions on each
storage system. For more information, see the 3PAR Management Console Online Help or the
3PAR CLI Administrator’s Manual available at: http://www.hp.com/go/saw or contact your HP
representative.
Set up HP 3PAR InForm OS CLI for Metrocluster environment
After installing HP 3PAR InForm OS CLI, the CLI has to be configured for use in the Metrocluster
environment. To configure it, create a link from the latest version of HP 3PAR InForm OS CLI found
under /opt/3PAR/inform_cli<version>/bin/cli to /usr/bin/cli, where <version>
is the latest installed version of HP 3PAR InForm OS CLI.
# ln -s /opt/3PAR/inform_cli<version>/bin/cli /usr/bin/cli
Create Remote Copy volume group
Before you create Remote Copy volume groups, you must create volumes on each storage system
separately through the normal volume creation commands. The volumes must be of the same size,
though they can have different RAID levels. In addition, they must be TPVVs or fully provisioned
virtual volumes.
Setting up the replication using 3PAR Remote Copy 9