Automatically creating target volumes on the, Secondary system – HP 3PAR Operating System Software User Manual

Page 154

Advertising
background image

-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

To unset all user and snapshot CPGs that are associated with the volume group, issue the
setrcopygroup

command with the cpg subcommand and -usr_cpg_unset and

-snp_cpg_unset

options, as follows:

# setrcopygroup cpg -usr_cpg_unset -snp_cpg_unset <group_name>

Automatically Creating Target Volumes on the Secondary System

To create a volume automatically on the secondary storage system, the primary volume must first
be created on the source system. On the source system, issue the admitrcopyvv command with
the -createvv option, as follows:

# admitrcopyvv [options] -createvv <VV_name> [:<snapname>] <group_name>

<target_name>:<sec_VV_name>...

where:

-nosync

(option)—Specifies that the volume should skip the initial sync. This is for the

admission of volumes that have been pre-synced with the target volume. This specifier cannot
be used when starting snapshots (<VV_name:<snapname>) are specified.

-createvv

—Specifies that the secondary volumes should be created automatically on the

target using the CPG associated with the remote-copy group on that target.

<VV_name> [:<snapname>] <group_name>

—An optional read-only snapshot

<snapname>

can be specified along with the virtual volume name <VV_name>. This snapshot

is a starting snapshot. When the group is started, a full synchronization is not performed.
Instead, for synchronous groups, the volume will synchronize deltas between <snapname>
and the base volume. For periodic groups, the volume will synchronize deltas between
<snapname>

and a snapshot of the base.

CAUTION:

The <snapname> should not be specified with the -createvv option. The new

volume would contain only changes, not a fully synchronized copy of the primary volume.

<target_name>:<sec_VV_name>

—The target name associated with the volume group

and secondary volume name

Issue the showrcopy -d command to view the associated local and target CPG information and
all target volumes that are automatically created.

NOTE:

The target volume is created using the same volume WWN as the primary volume.

Automatically Deleting Target Volumes on the Secondary System

NOTE:

When using the -removevv option, primary volumes are not deleted; only secondary

side volumes are deleted.

To automatically delete the volumes on the secondary storage system, issue the dismissrcopyvv
command with the -removevv option:

# dismissrcopyvv -removevv <VV_name> <group_name>

154 Managing VASA-connected Remote-Copy Groups and Volumes

Advertising