5-4 deletelogicalgroup, Table 4-61 deletelogicalgroup command parameters – HP XP Command View Advanced Edition Software User Manual

Page 163

Advertising
background image




Command line interface commands



163

Command execution example:

hdvmcli AddObjectForLogicalGroup -o "D:\logs\XP1024
AddObjectForLogicalGroup.log" "objectID=*****" "groupelements=*****"

*****

: The values are encoded by the CLI.

Command execution result:

RESPONSE:

An instance of LogicalGroup

objectID=*****

name=toro

parentID=*****

logicalPath=root/toro

icon=group12.gif

capacity=0

capacityInKB=0

realCapacityInKB=0

percentUsed=0

numberOfLUNs=0

List of 1 GroupElement elements:

An instance of Path

objectID=*****

devNum=0

portID=0

domainID=0

scsiID=15

LUN=0

wwnSecurityValidity=true

*****

: The values are encoded by the CLI.

4-5-4 DeleteLogicalGroup

DeleteLogicalGroup

deletes an existing logical group from the Device Manager Manager server

(see

Table 4-61

).

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 delete logical groups that the
user is permitted to access.

NOTE:

The child groups of the specified logical group are not deleted. If you want to delete the

child groups, you must delete each child group by executing the DeleteLogicalGroup
command. If you do not delete the child groups, you can use the child groups by setting a new
parent group for the child groups by executing the ModifyLogicalGroup command.

Table 4-61

DeleteLogicalGroup command parameters

Parameter Name

Status

Description

objectid

Optional

Object ID of the logical group to be deleted

NOTE:

You must specify either objectid or logicalpath. Do not

specify both parameters at the same time, as this might cause an error to
occur.

logicalpath

Optional

Path of logical group to delete

NOTE:

You must specify either objectid or logicalpath. Do not

specify both parameters at the same time, as this might cause an error to
occur.

Advertising