Command line interface commands, 1 extracting parameter values, 4 command line interface commands – HP XP Command View Advanced Edition Software User Manual

Page 45

Advertising
background image




Command line interface commands



45

4 Command line interface commands

This chapter discusses the following topics:

Extracting parameter values (section

4-1

)

Supported CLI commands (section

4-2

)

Restrictions for use of Device Manager CLI commands and resources (section

4-3

)

Storage array commands (section

4-4

)

Logical group commands (section

4-5

)

LUN commands (section

4-6

)

Host management commands (section

4-7

)

Server management commands (section

4-8

)

Replication commands (section

4-9

)

Items output as command execution results (section

4-10

)

Using batch files to execute commands (section

4-11

)

Managing mainframe hosts (section

4-12

)

Example of Device Manager CLI commands (section

4-13

)

4-1 Extracting parameter values

You can obtain the value to be specified for a parameter of a Device Manager CLI command by
examining the execution results of other commands. The table below describes how to execute the
commands used for obtaining parameter values. For details on the parameters to be specified in a
command, see the explanation of the command format.

For example, if you want to specify the devnum parameter in the AddLogicalUnit command, you
can obtain the value to be specified for the devnum parameter as follows:

1.

Execute the GetStorageArray command.

Execute this command with the following parameters specified:

subtarget

: Specify LDEV.

model

: Specify the model of the target storage subsystem.

serialnum

: Specify the serial number of the target storage subsystem.

2.

In the execution results of the GetStorageArray command, find the device number of the
target LU.

Check the value of the devnum attribute displayed in the execution results, and then find the
device number of the target LU.

3.

Execute the AddLogicalUnit command, specifying the LU device number obtained in step 2
for the devnum parameter.

Advertising