Commands and options including a host group – HP XP7 Storage User Manual

Page 208

Advertising
background image

The addition of arguments for the host group to the raidscan command and the configuration
file means that it is not compatible with conventional CLI. Therefore, RAID Manager provides a
way to support CLI by specifying a host group in the port strings as follows.

CL1-A-GRP# (GRP# can be up to 127)

Specifying the host group for the raidscan command:

raidscan -p

CL1-A-5

Specifying the host group for the configuration file:

#dev_group dev_name port# TargetID LU# MU#

ORA ORA_000 CL2-D-

1 4 1 0

ORA ORA_001 CL2-D-

1 4 2 0

If the port including a host group is specified to the port name, then a maximum of 255 LUNs can
be specified.

(2) Specifiable port strings

As a result, RAID Manager supports four kinds of forms for the port name.

Specifying the port name without a host group

CL1-A

CL1-An where n: unit ID for multiple RAID

Specifying the port name with a host group

CL1-A-g where g: host group

CL1-An-g where n-g: host group=g on CL1-A in unit ID=n

Commands and options including a host group

(1) Specifiable command for host group

The following commands can specify a host group with the port strings:

raidscan -p <port>, raidar -p <port>, raidvchkscan -p <port>

# raidscan -p

CL2-D-1

PORT# /ALPA/C,TID#,LU#.Num(LDEV#....)...P/S, Status,Fence,LDEV#,P-Seq#,P-LDEV#

CL2-D-

1 /da/ 0, 4, 0.1(256)...........SMPL ---- ------ ----, ----- ----

CL2-D-

1 /da/ 0, 4, 1.1(257)...........SMPL ---- ------ ----, ----- ----

CL2-D-

1 /da/ 0, 4, 2.1(258)...........SMPL ---- ------ ----, ----- ----

(2) Command option including a host group

RAID Manager supports new option for the following commands in order to show a LUN on the
host view by finding a host group via the specified device.

raidscan -pdg <device>, raidar -pdg <device>, raidvchkscan -pdg <device>

# raidscan -pd

g /dev/rdsk/c57t4d1

PORT# /ALPA/C,TID#,LU#.Num(LDEV#....)...P/S, Status,Fence,LDEV#,P-Seq#,P-LDEV#

CL2-D-

1 /da/ 0, 4, 0.1(256)...........SMPL ---- ------ ----, ----- ----

CL2-D-

1 /da/ 0, 4, 1.1(257)...........SMPL ---- ------ ----, ----- ----

CL2-D-

1 /da/ 0, 4, 2.1(258)...........SMPL ---- ------ ----, ----- ----

Specified device(hgrp=1) is LDEV# 0257

raidscan -findg

# ls /dev/rdsk/c57* | raidscan -

findg

DEVICE_FILE UID S/F PORT TARG LUN SERIAL LDEV PRODUCT_ID

/dev/rdsk/c57t4d0 0 F CL2-D-

1 4 0 62500 256 OPEN3-CVS-CM

/dev/rdsk/c57t4d1 0 F CL2-D-

1 4 1 62500 257 OPEN3-CVS

/dev/rdsk/c57t4d2 0 F CL2-D-

1 4 2 62500 258 OPEN3-CVS

raidscan -findg conf, mkconf -gg

208 Examples of using RAID Manager commands

Advertising
This manual is related to the following products: