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

ModifyLogicalUnit
ModifyLogicalUnit modifies the LU and its corresponding LDEV in a storage device.
Format
hdvmcli [URL] ModifyLogicalUnit [options] serialnum=serial-number
model=model devnum=device-number
{commanddevice={true|false}|commanddevicesecurity={true|false}}
NOTE:
For P9500, XP24000/XP20000, XP12000/XP10000/SVS200, and XP1024/XP128, if you change
an LU for which security is enabled to a command device, specify both the commanddevice and
commanddevicesecurity parameters.
Parameters
Table 64 ModifyLogicalUnit command parameters
DescriptionStatusParameter name
Serial number of the storage system of the LURequired
serialnum
Model of the storage system of the LURequired
model
Device number of the LU
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.
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
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.
Device Manager CLI command reference168