5-3 addobjectforlogicalgroup – HP XP Command View Advanced Edition Software User Manual

Page 162

Advertising
background image




Command line interface commands



162

List of 94 HostStorageDomain elements:

An instance of HostStorageDomain

objectID=*****

portID=0

domainID=0

hostMode=HP

displayName=CL1-A-0

domainType=0

nickname=1A-G00

.

. (repeated for other HostStorageDomain instances)

.

List of 283 Path elements:

An instance of Path

objectID=*****

devNum=101

portID=0

domainID=0

scsiID=15

LUN=8

wwnSecurityValidity=true

.

. (repeated for other Path instances)

.

*****

: The values are encoded by the CLI.

4-5-3 AddObjectForLogicalGroup

AddObjectForLogicalGroup

adds one or more existing objects (HostStorageDomain or host) to

a specified logical group on the Device Manager server (see

Table 4-60

).

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 add one or more objects to
logical groups that the user is permitted to access.

NOTE:

If AddObjectForLogicalGroup is used with web client, web client might not display

logical groups and hosts.

Table 4-60

AddObjectForLogicalGroup command parameters

Parameter Name Status

Description

objectid

Optional

Object ID of the logical group

NOTE:

Do not specify the objectid and logicalpath parameter at the

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

logicalpath

Optional

Path of the logical group to add objects to

NOTE:

Do not specify the objectid and logicalpath parameter at the

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

groupelements

Required

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

and/or hosts to add to the logical group

Specify the comma-delimited objectIDs obtained from another CLI
response. The values are encoded by the CLI.

Advertising