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

NOTE: When a TPVV is configured as a primary volume in a Remote Copy volume group, no
data should be written on the secondary volume before adding it to the Remote Copy volume
group, or it must match the primary volume. This enables the primary and secondary volumes to
match during initial synchronization.
The Remote Copy volume group can be created either using HP 3PAR Management Console GUI
or using HP 3PAR CLI . For better usability, configure Remote Copy volume group using HP 3PAR
Management Console GUI.
Using HP 3PAR Mmanagement console GUI
You can use the HP 3PAR Management Console graphical user interface to configure CPG, virtual
volumes, Remote Copy volume group. You can also export the created volumes to the respective
nodes in the cluster using HP 3PAR Management Console.
For more detailed information on setting up HP 3PAR Management Console to configure, manage,
and monitor your HP 3PAR storage system, see the HP 3PAR Management Console Online Help.
Using HP 3PAR CLI commands
To create the Remote Copy volume groups on the primary and backup storage systems:
1. Log on to a 3PAR storage system from the host. You must use a user with super or edit privileges
who has access to all the domains.
# cli
When prompted, enter the storage system IP or Name, and then enter the user credentials for
the particular storage system.
2. Create a CPG on both primary and recovery 3PAR storage systems. Issue the following
command:
cli% createcpg -domain <domain_name> MC_CPG_RAID5
where:
MC_CPG_RAID5 is the name of the CPG.
<domain_name> is the name of the domain to which the newly created CPG will belong.
If you are not using Domains, do not specify the option -domain otherwise, specify the
name of an existing domain in your system.
To list all the existing domains in the system, issue the following 3PAR command:
cli% showdomain
NOTE: If you want to create a new domain, run the createdomain <domain_name>
command before creating the CPG.
3. Create a virtual volume for both the primary and recovery storage systems, that belong to the
CPG created in step 2. Base volumes are not supported for Remote Copy. Create either fully
provisioned virtual volumes or TPVVs on both the primary and recovery storage systems.
To create a fully provisioned virtual volume:
cli% createvv -snp_cpg <snp_cpg> MC_CPG_RAID5 <volume_name>
<volume_size>
To create a lightly provisioned virtual volume:
cli% createvv -tpvv snp_cpg <snp_cpg> usr_aw <percent> usr_al
<percent> MC_CPG_RAID5 <volume_name> <volume_size>
10 Configuring an application in a Metrocluster environment