6-8 deletelungroup, 6-9 deletewwn, Table 4-72 deletelungroup command parameters – HP XP Command View Advanced Edition Software User Manual

Page 182

Advertising
background image




Command line interface commands



182

Command execution example:

hdvmcli DeleteLun -o "D:\logs\XP1024 DeleteLun.log" "serialnum=10001"
"model=XP1024" "port=1" "domain=1" "devnum=1" "deletionoption=lusekeep"

Command execution result:

RESPONSE:

(Command completed; no data returned)

4-6-8 DeleteLunGroup

DeleteLunGroup

deletes a LUN groups allocated to ports on the target storage subsystem. Any

LUNs (paths) in the group are not deleted (see

Table 4-72

). A WWN can be specified, and access is

removed for just that WWN.

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 execute this command for
any resources.

NOTE:

DeleteLunGroup is supported by XP512/XP48 storage subsystems only.

Table 4-72

DeleteLunGroup command parameters

Parameter Name Status

Description

serialnum

Required

Serial number of the LUN group's storage array

model

Required Model

of

the

LUN group's storage array

port

Optional

ID for the port of LUN group to be deleted

NOTE:

Specify either port or portname. Do not specify both parameters

at the same time. This might cause an error to occur.

portname

Optional

Port name for the LUN group to delete

NOTE:

Specify either port or portname. Do not specify both parameters

at the same time. This might cause an error to occur.

lungroupid

Required

Object ID of the LUN group to be deleted
Specify the objectID obtained from another CLI response. The value is
encoded by the CLI.

Command execution example:

hdvmcli DeleteLunGroup –o "D:\logs\XP512 DeleteLunGroup.log" "serialnum=10011"
"model=XP512" "port=19" "lungroupid=*****"

*****

: The value is encoded by the CLI.

Command execution result:

RESPONSE:

(Command completed; no data returned)

4-6-9 DeleteWWN

DeleteWWN

removes a WWN from a port (see

Table 4-73

).

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 execute this command for
any resources.

Advertising