4 guidelines for executing cli commands, Table 3-3 notes on executing cli commands, Guidelines for executing cli commands – HP XP Command View Advanced Edition Software User Manual

Page 43

Advertising
background image




Command line interface syntax and parameters



43

required; others, optional.

Domain Number of the new Path, can not be set

with parameter wwn together.

scsi (optional) SCSI ID of the new Path

lun (required) Number of the actual LUN used for path

devnum (optional) Device number used to identify this logical unit (not

provided when a LUSE is defined)

lusedevnums (optional) Comma-separated list of LDEV devnums (either devnum

or lusedevnums must be provided, but not both)

wwn (optional) Except USP_V, USP, 9900V, 9500V (with LUNManagement),

AMS, WMS, XP24K/20K, XP12K/10K/SVS200 and XP1024/128.

Comma-separated list of WWN to secure the path, can

not be set with parameter domain together.

3-3-3 Batch help information for the Device Manager CLI

Batch functions can be executed using the Device Manager CLI. The following shows an example in
Windows. Specify the following to display batch help information in the Device Manager CLI:

C:\hdvm > hdvmcli help batch

Example of displayed batch help information:

USAGE: hdvmcli {server-url} -b {batchfile} [options]

AVAILABLE COMMANDS:

AddLun

DeleteLun

AddLUSE

DeleteLUSE

BATCH FILE FORMAT:

beginbatch

hdvmcli {server-command} {parameters}

hdvmcli {server-command} {parameters}

... repeat for other commands

endbatch

3-4 Guidelines for executing CLI commands

Table 3-3

describes procedures for executing Device Manager CLI commands.

Table 3-3

Notes on executing CLI commands

Item Description

Related

Commands

Adding a LUN or host
storage domain
(for XP24000/XP20000,
XP12000/XP10000/SVS
200 and XP1024/XP128)

Be sure to stop host I/O to the corresponding port
before setting up security for a LUN or host
storage domain. Otherwise, I/O operations can
terminate in an error.

AddLun

AddHostStorageDomain

AddWWNForLun

AddWWNForHostStorageDom
ain

Setting up security for a
LUN or host storage
domain

Be sure to stop host I/O to the corresponding port
before setting up security for a LUN or host
storage domain. Otherwise, I/O operations can
terminate in an error.

AddWWNForLun

AddWWNForHostStorageDom
ain

Advertising