Commands to control auto lun – HP XP7 Storage User Manual

Page 171

Advertising
background image

(5) HORCM instance

It is possible to describe the original and target volume for the volume migration to MU# as another
group in horcm*.conf for HORCM instance of BC and /or Cnt Ac-S. Also, it is possible to define
the original and target volume for the volume migration in the horcm*.conf as HORCM instance
independent from BC/Cnt Ac-S.

Commands to control Auto LUN

(1) Command for Auto LUN

RAID Manager supports the volume migration by adding an option (-m cc) to the paircreate
command.

paircreate -g <group> -d <pair vol> … -m <mode> -vl[r] -c <size>

-m <mode> mode = cc

(can only be specified for Business Copy)

This option is used to specify the Auto LUN mode.

NOTE:

This option cannot be specified with "-split" option in the same command.

-vl[r]

The -vl option specifies "local", and copies from the local instance LU(PVOL) to the remote instance
LU(SVOL), an original volume as the local instance LU is migrated from PVOL to SVOL, and the
physical volume mapping between PVOL and SVOL is swapped after copied

The -vr option specifies "remote", and copies from the remote instance LU(PVOL) to the local
instance LU(SVOL), an original volume as the remote instance LU is migrated from PVOL to SVOL,
and the physical volume mapping between PVOL and SVOL is swapped after copied.

-c <size>

This option is used to specify a track size of the case that copies paired volume at 1-15 extents.
In case of stopping Write to PVOL and copying in a short time, the maximum value 15 is specified.
When this option is omitted, it uses a default value of (3) is used for track size.

(2) Command for discovering an external volume

It is possible to discover the external volumes by using "-fe" option of the raidscan command.

raidscan -p <port> -fe

-fe

This option is used to display the serial# and LDEV# of the external LUNs only mapped to the LDEV.

If the external LUN mapped to the LDEV on a specified port does not exist, then this option will do
nothing.Also if this option is specified, -f[f][g][d] option is not allowed.

Display example:

# raidscan -p cl1-a-0 -fe -CLI

PORT# /ALPA/C TID# LU# Seq# Num LDEV# P/S Status Fence E-Seq# E-LDEV#

CL1-A-0 ef 0 0 8 62496 1 19 SMPL - - 30053 30

CL1-A-0 ef 0 0 9 62496 1 21 SMPL - - 30053 32

CL1-A-0 ef 0 0 10 62496 1 22 SMPL - - 30053 33

E-Seq#: Displays the production (serial) number of the external LUN. E-LDEV#: Displays the LDEV#
of the external LUN.

(3) Command for confirming the status

Controlling Auto LUN

171

Advertising
This manual is related to the following products: