6 lun commands, 6-1 addlun, Tion – HP XP Command View Advanced Edition Software User Manual

Page 168: Y y y

Advertising
background image




Command line interface commands



168

Table 4-64

ModifyLogicalGroup command parameters

Parameter Name Status

Description

parent

Optional

Object ID of the logical group under which the logical group is moved
This must be the valid ID of a group and the parent must either contain
only other groups or be empty. If you omit this parameter, the group's
parent is not modified.

NOTE:

Do not specify the parent and parentpath parameter at the

same time, as this might cause an error to occur.

parentpath

Optional

Path of the logical group under which the logical group is moved

NOTE:

Do not specify the parent and parentpath parameter at the

same time, as this might cause an error to occur.

Command execution example:

hdvmcli ModifyLogicalGroup -o "D:\logs\ModifyLogicalGroup.log" "objectid=*****"
"groupname=snow" "iconfile=group13.gif"

*****

: The value is encoded by the CLI.

Command execution result:

RESPONSE:

An instance of LogicalGroup

objectID=*****

name=snow

parentID=*****

logicalPath=root/snow

icon=group13.gif

capacity=0

capacityInKB=0

realCapacityInKB=0

percentUsed=0

numberOfLUNs=0

*****

: The values are encoded by the CLI.

4-6 LUN commands

The LUN commands can be used to manage LUN groups, set up WWNs, and set paths from a host
to a volume.

For further information on LUN operations, please see the HP StorageWorks XP Command View
Advanced Edition software Device Manager web client user guide
.

4-6-1 AddLun

AddLun

sets paths from a host to a volume (see

Table 4-65

). A LUN expanded (LUSE) logical unit

can be specified when the path is set.

A user who has only View permission cannot execute this command. A user to whom a user-defined
resource group is assigned and who also has Modify permission can specify the allowed LDEVs
only. If LDEVs that are not allowed are specified, an error occurs.

NOTE:

For XP24000/XP20000, XP12000/XP10000/SVS200, XP1024/XP128 series (in the XP

LUN Manager mode), when AddLun adds a LUN whose domain ID is not 0 to the host storage
domain, the XP LUN security of the target port is automatically enabled. Make sure that the I/Os
of the target port are stopped.

Advertising