4-19 modifylogicalunit, Table 4-50 modifylogicalunit command parameters, Y y y – HP XP Command View Advanced Edition Software User Manual

Page 141

Advertising
background image




Command line interface commands



141

4-4-19 ModifyLogicalUnit

ModifyLogicalUnit

modifies the LU and its corresponding LDEV in a storage device (see

Table

4-50

).

A user to whom a user-defined resource group is assigned, and who has only View permission
cannot execute this command.

Format for XP1024/XP128, XP12000/XP10000/SVS200, and XP24000/XP20000:

hdvmcli [URL] ModifyLogicalUnit [option] serialnum=serial-number model=model
devnum=device-number
{commanddevice={true|false}|commanddevicesecurity={true|false}}

Format for XP512/XP48:

hdvmcli [URL] ModifyLogicalUnit [option] serialnum=serial-number model=model
devnum=device-number commanddevice={true|false}
[commanddevicesecurity={true|false}]

NOTE:

For XP512/XP48, be sure that one or more paths have been set to the logical unit to which

the command executes. If specifying the commanddevicesecurity parameter, use it with the
commanddevice parameter.

NOTE:

For XP1024/XP128, XP12000/XP10000/SVS200, and XP24000/XP20000, specify either

the commanddevice or commanddevicesecurity parameter.

NOTE:

For XP512/XP48, XP1024/XP128, XP12000/XP10000/SVS200, and XP24000/XP20000, if

you change an LU for which security is enabled to a command device, specify both the
commanddevice

and commanddevicesecurity parameters.

Table 4-50

ModifyLogicalUnit command parameters

Parameter Name

Status

Description

serialnum

Required

Serial number of the storage array of the LU

model

Required

Model of the storage array of the LU

devnum

Required

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, XP1024/XP128, and XP512/XP48, use the
xx:yy format, where xx is the CU number, and yy is the LDEV number.
For 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.

NOTE:

The execution results are output in decimal.

commanddevice

Optional

New setting for command device

Specify true to set the specified LU as a command device, and false
to release the setting.

commanddevicesec
urity

Optional

Security mode setting for the command device

Specify true to enable security, and false to disable it.

If you are using XP512/XP48 and you specify this parameter, you must
also specify the commanddevice parameter.

Command execution example:

hdvmcli ModifyLogicalUnit -o "D:\logs\XP1024 ModifyLogicalUnit.log"
"serialnum=10001" "model=XP1024" "devnum=1" "commanddevice=true"

Advertising