beautypg.com

HP XP RAID Manager Software User Manual

Page 144

background image

144

HP StorageWorks Disk Array XP RAID Manager: User’s Guide

–vl or –vr

Required. Specifies the direction of the P-VOL to
S-VOL relationship. Specifies which set of volumes, r
(remote) or l (local), is the primary (P-VOL) set. Local
disks are determined by how the HORCMINST
environment variable is set.

–vl

specifies the volumes defined by the local RM

instance as the primary volumes.

–vr

specifies the volumes defined by the remote RM

instance as the primary volumes while the local RM
instance controls the secondary volume.

–z

Makes this command enter interactive mode.

–zx

(Not for use with MPE/iX or OpenVMS)

Prevents using

RM in interactive mode.

Returned Values

This command sets either of the following returned values in exit(), which
allows you to check the execution results.

The command returns 0 upon normal termination.

A nonzero return indicates abnormal termination. For the error cause and
details, see the execution logs.

(CA only) If the target volume is under maintenance, this command can’t
report copy rejection if an error occurs.

Examples

Establish a BC pairing between the volumes in group vg01. The volumes in
the local instance are used as the P-VOLs.

paircreate –g vg01 –vl

Create a BC volume pair that corresponds to disk device /dev/rdsk/c5t1d0
as the S-VOL (using the remote instances volume as the P-VOL):

paircreate –d /dev/rdsk/c5t1d0 –vr

If the volume is part of multi–volume group, only the volume specified by
the –d argument is set up as a pair.