Building Disaster Recovery Serviceguard Solutions Using Metrocluster with 3PAR Remote Copy

# ssh <user_name>@system1
When using CLI, run the following command:
# cli
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>
where:
-usr_aw <percent> is the allocation warning alert limit for the user space specified
in percentage. This generates an alert when the user space of the volume exceeds
a specified percentage of the volume’s size.
-usr_al <percent> is the allocation limit of the user space specified in percentage.
This prevents the user space from exceeding a specified percentage of the volume’s
size.
4. Export the created volume to all the nodes in the primary site of the Metrocluster.
cli% createvlun <volume_name> <LUN> <host name>
NOTE: The volumes on the recovery storage system must be exported to the nodes in the
recovery site after the Remote Copy volume group is created. Secondary volumes cannot be
exported when they are being added to the Remote Copy volume group.
After you export the 3PAR virtual volume to the hosts, use WWN to map the 3PAR virtual
volume with HP-UX disk name. To find the WWN of the virtual volume, login to the 3PAR
array which has the virtual volume, and then run the following command:
cli% showvv -d <virtual_volume_name>
After the WWN of the 3PAR virtual volume is obtained, find the WWN of the disk using
ioscan or scsimgr commands.
For Example:
Setting up the replication using 3PAR Remote Copy 15