HP XP7 Command View Advanced Edition CLI Reference Guide (TK981-96006, May 2014)
DescriptionStatusParameter name
Device number of the LU
For HP XP7, P9500, and XP24000/XP20000:
Specify this parameter as a decimal number or colon-delim-
ited 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 as-
sumed to be 0.
For XP12000/XP10000/SVS200 and XP1024/XP128:
Specify this parameter as a decimal number or colon-delim-
ited hexadecimal number in the format xx:yy, where xx is
the CU number, and yy is the LDEV number.
The execution results are output in decimal.
Required
devnum
New setting for command device
Specify true to set the specified LU as a command device, and
false to release the setting.
Optional
commanddevice
#
Security mode setting for the command device
Specify true to enable security, and false to disable it.
Optional
command-
devicesecurity
#
#
For HP XP7, P9500, XP24000/XP20000, XP12000/XP10000/SVS200, and XP1024/XP128,
if you change an LU for which security is enabled to a command device, always specify both the
commanddevice and commanddevicesecurity parameters.
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.
devnum
Obtain this value from the execution result of the GetStorageArray (subtarget=Logic-
alUnit) command. Execute this command by specifying only the model and serialnum
parameters, and LogicalUnit for the subtarget parameter. In the execution result of this
command, the devNum value appears under An instance of LogicalUnit. Use this devNum
value to specify the devnum parameter.
Command execution example
hdvmcli ModifyLogicalUnit -o "D:\logs\ModifyLogicalUnit.log"
"serialnum=10001" "model=XP1024" "devnum=1" "commanddevice=true"
Command execution result
RESPONSE:
Command reference260