HP XP7 Command View Advanced Edition CLI Reference Guide (TK981-96006, May 2014)

DescriptionStatusParameter name
Specify whether to apply the LDEV label information to the
storage system.
One of the following values can be specified. The values are
not case-sensitive.
true: Apply the label information to the storage system
false: Do not apply the label information to the storage
system
If this parameter is omitted, it is assumed that false is
specified.
Optional
(P9500)
reflectoption
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 para-
meter, 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 to which you want to add a label.
Command execution example
hdvmcli AddLabel -o "D:\logs\AddLabel.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.
AddLogicalUnit
AddLogicalUnit creates an LDEV and LU. With HP XP7, P9500, XP24000/XP20000, or
XP12000/XP10000/SVS200, you can create multiple logical units at once.
CLI Reference Guide 81