beautypg.com

HP XP Command View Advanced Edition Software User Manual

Page 78

background image




Command line interface commands



78

Table 4-20

AddVirtualVolume command parameters

Parameter Name Status

Description

numoflus

Optional

Number of THP volumes
Specify the number of THP volumes to be created.

If this parameter is omitted, 1 is set.

devnum

Optional

Device number of the logical unit
Specify this parameter as a decimal number or colon-delimited
hexadecimal number in the format ww:xx:yy, where ww is the LDKC
number, xx is the CU number, and yy is the LDEV number. ww is optional.
If ww is omitted, LDKC is assumed to be 0.

If this parameter is omitted, it is set automatically.

clprNumber

Optional CLPR

number

If this parameter is omitted, 0 is set.

NOTE:

If you have specified the poolid parameter, the CLPR number of

the THP pool specific to that pool ID is set.

poolid

Optional

Pool ID of a THP pool
Specify the pool ID of the THP pool to which to assign the THP volumes to
be created.

threshold

Optional

Usage rate threshold for the THP volumes (%)
Specify a multiple of 5 from 5 to 300.

If omitted, 5 is set.

NOTE:

If the poolid parameter is omitted, the specification for this

parameter becomes invalid.

capacitytype

Optional

Unit of the value specified in the capacity parameter

You can specify either KB or block.

If this parameter is omitted, KB is set.

Command execution example: In this example, the AddVirtualVolume command creates a
virtual volume group (arraygroupname: X200-1) that has two THP volumes (numoflus: 2) and
assigns the virtual volume group to a THP pool whose pool ID is 0 (poolid: 0) in the storage
subsystem (serialnum: 15065, model: XP24000). In addition, this command also sets the usage
rate threshold for the THP pool to 10% (threshold: 10).

hdvmcli AddVirtualVolume -o "D:\logs\XP24000\AddVirtualVolume.log"
model=XP24000 serialnum=15065 arraygroupname=X200-1 capacity=209715200
numoflus=2 devnum=00:30:00 poolid=0 threshold=10

Command execution result:

RESPONSE:

An instance of StorageArray

.

. (Attributes of StorageArray are omitted here)

.

List of 1 ArrayGroup elements:

An instance of ArrayGroup

objectID=*****

chassis=16,485

number=199

displayName=X200-1

raidType=-

emulation=OPEN-V