HP XP P9000 Command View Advanced Edition Suite Software 7.6.1-00 CLI Reference Guide

DescriptionStatusParameter name
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.
When used with the GUI, follow the GUI specification rules.
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 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 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.
ModifyLogicalUnit
ModifyLogicalUnit modifies the LU and its corresponding LDEV in a storage device.
Command reference212