Operating System Software User Manual

19 Managing VASA-connected Remote-Copy Groups and
Volumes
vSphere Storage application program interfaces (APIs) for Storage Awareness (VASA) is a set of
APIs that enables VMware vCenter Server to detect the properties of storage arrays. Storage array
properties, such as redundant array of independent disks (RAID) level, provision status, and
replication state, can be made visible within VMware vCenter Server, which eliminates the need
to manually record the storage properties of each LUN that are needed to guarantee the correct
storage logic array (SLA) to virtual machines. HP 3PAR OS supports VASA by providing CPG-based
CLI options for several remote-copy commands. Using these options enables you to support automatic
volume creation and deletion on the secondary system when a new VASA-connected volume is
added to the remote-copy group.
If the name of a CPG is changed using the setcpg -name command, the change is automatically
propagated to the associated target.
You cannot remove a CPG using the removecpg command if its associated with a remote-copy
group.
Creating Remote-Copy Groups with Associated Local and Remote CPGs
To create a volume group that defines associated local and remote CPGs, issue the
creatercopygroup command with the -usr_cpg and -snp_cpg options, as follows:
# creatercopygroup -usr_cpg <cpg_name> <target_name>:<cpg_name>... -snp_cpg <cpg_name>
<target_name>:<cpg_name>... <group_name> <target_name>:<mode>
where:
-user_cpg <cpg_name> <target_name>:<cpg_name>...—The local user CPG and
target user CPG that will be used for volumes that are autocreated
-snp_cpg <cpg_name> <target_name>:<cpg_name>...—The local snapshot CPG
and target snapshot CPG that will be used for volumes that are autocreated
<group_name>—Name of the volume group
<target_name>:<mode>—The target name associated with the volume group and mode
(synchronous or asynchronous periodic) of the group
Issue the showrcopy -d command to view the associated local and target CPG information and
all target volumes that are automatically created.
Setting Associated Local and Remote CPGs for Remote-Copy Groups
To set associated local and remote CPGs for existing remote-copy groups that are VASA-connected,
issue the setrcopygroup with the cpg subcommand and -usr_cpg and -snp_cpg options,
as follows:
# setrcopygroup cpg -usr_cpg <cpg_name> <target_name>:<cpg_name>... -snp_cpg <cpg_name>
<target_name>:<cpg_name>... <group_name>
where:
cpg—Specifies the local and target CPG
-usr_cpg <cpg_name> <target_name>:<cpg_name>...—The local user CPG and
target user CPG that will be used for volumes that are autocreated
Creating Remote-Copy Groups with Associated Local and Remote CPGs 153