4-6 getlogicalgroup, Getlogicalgroup, Table 4-44 getlogicalgroup command parameters – HP StorageWorks XP10000 Disk Array User Manual

Page 67

Advertising
background image

Command Line Interface Commands 67


Parameter Name Status

Description

objectid

Required Object ID of the logical group.

groupelements

Required Comma-separated list of one or more object IDs of the HostStorageDomains and/or

hosts to be removed from the logical group. These must be valid IDs of objects currently in
the group.

Command execution example:

hdvmcli DeleteObjectForLogicalGroup -o "D:\logs\XP1024 DeleteObjectForLogicalGroup.log"

"objectID=GROUP.0" "groupelements=PATH.HDS9980V.10001.0.0.1"

Command execution result:

RESPONSE:

(Command completed; no data returned)

4-4-6 GetLogicalGroup

GetLogicalGroup

returns either a specified logical group or a list of all groups (see

Table 4-44

). By default,

the characteristics of the group are provided, but not the group’s contents. If you specify a subtarget, the
group’s contents of the specified types are returned. If a logical group contains other groups, the contained
groups cannot be returned with the group. Instead, the relationship between containing and contained groups
is determined by the parent attribute of contained groups.

Table 4-44

GetLogicalGroup Command Parameters

Parameter Name Status

Description

objectid Optional

Object

ID

of the desired logical group.

Omit this parameter to include all logical groups.

subtarget

Optional

Comma-delimited list of elements you want to obtain. Possible values are
HostStorageDomain

, Path and/or Host (not case-sensitive).

Omit this parameter to return only logical groups that have no elements.

Command execution example 1:

hdvmcli GetLogicalGroup -o "D:\logs\GetLogicalGroup.log"

"subtarget=Host,HostStorageDomain,path"

Command execution result 1:

RESPONSE:

An instance of LogicalGroup

objectID=GROUP.1

name=toro parentID=GROUP.0

logicalPath=root/toro

icon=group12.gif

capacity=0

capacityInKB=0

realCapacityInKB=0

percentUsed=0

numberOfLUNs=0

List of 3 GroupElement elements:

An instance of Host

objectID=HOST.1

name=hit

ipAddress=192.168.32.63

capacityInKB=0

hostType=-1

An instance of HostStorageDomain

objectID=HSDOMAIN.HDS9980V.10001.0.0

portID=0

domainID=0

hostMode=HP

displayName=CL1-A-0

Advertising