beautypg.com

4-10 deletelogicalunit, Y y y – HP XP Command View Advanced Edition Software User Manual

Page 83

background image




Command line interface commands



83

Table 4-22

DeleteHostStorageDomain command parameters

Parameter Name Status

Description

domain

Optional

The domain ID of the host storage domain to be deleted
This parameter can be specified in decimal and hexadecimal. If you
specify a hexadecimal number, add the 0x prefix.

NOTE:

The execution results are output in decimal.

NOTE:

Do not specify 0. You cannot delete host domain 0.

NOTE:

You must specify either domain or domainnickname. Do not

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

domainnickname

Optional
(for
XP24000/
XP20000,
XP12000/
XP10000/
SVS200,
XP1024/
XP128)

Nickname of the host storage domain to delete

NOTE:

You must specify either domain or domainnickname. Do not

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

model

Required

Model of the storage array for the host storage domain

port

Optional

The port ID of the host storage domain 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 host storage domain to delete

NOTE:

Specify either port or portname. Do not specify both parameters

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

serialnum

Required

Serial number of the storage array for the host storage domain

Command execution example:

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

Command execution result:

RESPONSE:

(Command completed; no data returned)

4-4-10 DeleteLogicalUnit

DeleteLogicalUnit

deletes the logical unit and corresponding LDEV from the storage device

(see

Table 4-23

).

A user to whom a user-defined resource group is assigned and who has only View
permission cannot execute this command.

NOTE:

For XP12000/XP10000/SVS200, logical units cannot be deleted for array groups with

chassis numbers from 65 to 96. Array groups with chassis numbers from 65 to 96 are indicated as
V-VOLs.

NOTE:

For XP24000/XP20000, logical units cannot be deleted for array groups with chassis

numbers from 65 to 96, or from 16485 to 16516. Array groups with chassis numbers from 65 to
96, or from 16485 to 16516 are indicated as V-VOLs.