HP StorageWorks P9000 Command View Advanced Edition Suite Software 7.1 CLI Reference Guide (TB581-96051, May 2011)

DescriptionStatusParameter name
Device number of the logical unit
This parameter can be specified in decimal, and in
colon-separated hexadecimal. If you specify a hexadecimal
number for XP12000/XP10000/SVS200 or XP1024/XP128,
use the xx:yy format, where xx is the CU number, and yy is
the LDEV number. For P9500 or XP24000/XP20000, use the
ww:xx:yy format, where ww is the LDKC number, xx is the CU
number, and yy is the LDEV number. ww is optional. If you omit
ww, the LDKC number is regarded as 0.
Use a comma to delimit multiple values.
The maximum number of device numbers that can be specified
is 1,024.
Required
devnums
Label character string
You can use the following characters:
A-Z a-z 0-9 ! # $ % & ' ( ) * + , - . / : ; < = > ? @ [ ] ^ _
{ | } ~ and spaces
You can use a character string of 1-64 bytes for a label.
A label character string cannot begin or end with spaces.
Required
label
Parameter values to obtain in advance
serialnum and model: Obtain these values from the execution result of the GetStorageArray
command. In the execution result, use the arrayType value or the displayArrayType value to
specify the model parameter, and use the serialNumber value to specify the serialnum parameter.
devnums: Obtain this value from the execution result of the GetStorageArray (subtarget=LDEV)
command. Execute this command by specifying only the model and serialnum parameters, and
LDEV for the subtarget parameter. In the execution result of this command, the devNum value of
an LDEV appears under An instance of LDEV. For the devnums parameter, specify the devNum
value of the LDEV whose label you want to modify.
Command execution example
hdvmcli ModifyLabel -o "D:\logs\ModifyLabel.log" "serialnum=10037"
"model=XP24000" "devnums=00:00:00,00:00:01" "label=myLabel"
Command execution result
RESPONSE:
An instance of ObjectLabel
targetID=*****
label=myLabel
An instance of ObjectLabel
targetID=*****
label=myLabel
*****: The values are encoded by the CLI.
CLI Reference Guide 167