beautypg.com

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

Page 154

background image

-snp_cpg :...

—The local snapshot CPG

and target snapshot CPG that will be used for volumes that are autocreated

—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

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 [:]

:...

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 () 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.

[:]

—An optional read-only snapshot

can be specified along with the virtual volume 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
and the base volume. For periodic groups, the volume will synchronize deltas between

and a snapshot of the base.

CAUTION:

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

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

:

—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

154 Managing VASA-connected Remote-Copy Groups and Volumes