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

GetLogicalGroup
GetLogicalGroup obtains information about logical groups. By default, the characteristics of the
group are provided, but not the group's content. If you specify subtarget, the group's content of
the specified types can be obtained. If a logical group contains other groups, the contained groups
cannot be obtained with the group. Instead, the relationship between containing and contained groups
is determined by the parent attribute of contained groups.
Parameters
Table 72 GetLogicalGroup command parameters
DescriptionStatusParameter name
Object ID of the desired logical group
Omit this parameter to include all logical groups. Specify the
objectID obtained from another CLI response. The value is
encoded by the CLI.
Do not specify the objectid and logicalpath parameters
at the same time. If they are specified at the same time, an error
will occur.
Optional
objectid
Path of the logical group to be obtained
Do not specify the objectid and logicalpath parameter at
the same time. If they are specified at the same time, an error will
occur.
Optional
logicalpath
Comma-delimited list of elements you want to obtain
Possible values are HostStorageDomain, Path and/or Host
(not case-sensitive). Omit this parameter to obtain only logical
groups that have no elements.
Optional
subtarget
Parameter values to obtain in advance
objectid: Obtain this value from the execution result of the GetLogicalGroup command. In the
execution result of this command, the objectID value appears under An instance of
LogicalGroup. Use this objectID value to specify the objectid parameter.
logicalpath: Obtain this value from the execution result of the GetLogicalGroup command. In
the execution result of this command, the logicalPath value appears under An instance of
LogicalGroup. Use this value to specify the logicalpath parameter.
Command execution example 1
hdvmcli GetLogicalGroup -o "D:\logs\GetLogicalGroup.log"
"subtarget=Host,HostStorageDomain,path"
CLI Reference Guide 197