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

# scsimgr -p get_attr all_lun -a device_file -a wwid
5. Create a synchronous Remote Copy volume group on the primary system and assign the
created volume to that group.
On primary storage system:
a.
cli% creatercopygroup domain <domain_name> <group_name>
<target_name>:sync
cli% admitrcopyvv <volume_name> <group_name>
<target_name>:<volume_name>
where:
<group_name> is the name of the Remote Copy volume group to be created.
<target_name> is the recovery storage system.
<volume_name> is the name of the virtual volume created in step 3.
HP also recommends you to set the following auto_recover policy for the Remote Copy
volume group:
cli% setrcopygroup pol auto_recover <group_name>
When the link goes down, and the remote copy volume group is in a stopped state
( that is, when replication is not happening ), setting auto_recover option restarts the
group automatically when the link is restored.
b. To create a periodic asynchronous remote copy volume group, do the following:
On primary storage system:
cli% creatercopygroup domain <domain_name> <group_name>
<target_name>:periodic
cli% admitrcopyvv <volume_name> <group_name>
<target_name>:<volume_name>
NOTE: The creatercopygroup command creates a volume group on the primary
storage system. It also creates a corresponding Remote Copy volume group on the recovery
storage system. The corresponding Remote Copy volume group on the recovery storage
system uses the <primary_group_name>.r<system_ID> naming convention. To view the
Remote Copy volume group name on the recovery storage system, run the showrcopy
command.
6. Export the created volume to all the nodes in the recovery site of the Metrocluster.
cli% createvlun <volume_name> <LUN> <host name>
7. On the primary storage system, start the group created in step 5.
On primary storage system:
cli% startrcopygroup <group_name>
8. To verify the creation of a Remote Copy volume group pair, use either showrcopy command
or 3PAR Management Console.
cli% showrcopy groups <group_name>
A Remote Copy volume group pair is now created. These are the high level commands. For more
information on creating a Remote Copy volume group, see Remote Copy User Guide available
at: http://www.hp.com/go/saw or contact your HP representative.
Creating a 3PAR storage system user to access the remote copy volume group
You can create an HP 3PAR storage system user using HP 3PAR Management Console or HP 3PAR
CLI commands. For information on HP 3PAR Management Console, see the HP 3PAR Management
16 Configuring an application in a Metrocluster environment