beautypg.com

Logical unit host snapshot script (lunh), Lunh usage, Lunh sample output – HP XP Performance Advisor Software User Manual

Page 27

background image

Logical unit host snapshot script (LUNH)

The report CLUI application provides a script that displays Logical Unit Host Snapshot data. The output

for this script is ordered by the DKC ID.
The required element for this command is –ha. Optionally, you can specify a management station by

using –ms , and specify a username and password pair by using –auth .

LUNH usage

Following is the general format of the command to invoke the script:
lunh [-d] [-L] [-hr] [-ms ] [-auth ] -ha

ID>[-mr ] [-rg ] [-chp ] [-acp ]

[-dkc ] [-dver ] [-?]

[-luse] [-ugrp]

where:

–d

An optional parameter used to specify delimited output data. There is no space between

d and the delimiter.

–L

An optional parameter used to specify labeled and delimited output data.

–hr

An optional parameter used to request the data in a human readable format.

The host ID for which LUN information is reported. The word "all" can be used to indicate

all hosts.

The array serial number. The word "all" can be used to indicate all DKCs.

–ms

The address of a management station in the form

http://path.to.managementstation/

.

–auth A username and password pair in the form username:password.
–dver

Indicates how the data must be displayed. XXXXXX is a version number. Currently supported

values are 010500, 010600, and 015100. The default value is 010500.

–mr

The maximum number of records to return. You cannot specify a number of records higher

than 16000.

Constrains the output to a specific RAID group. The word "all" may be used here to indicate

all hosts. Not adding this switch has the same effect.

Constrains the output to a specific CHP Port. The word "all" can be used to indicate all hosts.

Not adding this switch has the same effect.

Constrains the output to a specific ACP Pair. The word "all" can be used to indicate all hosts.

Not adding this switch has the same effect.

–?

Prints the usage statement.

-luse

Constrains the output by LUSE master ID.

-ugrp

Constrains the output by User Group ID. Can be used interchangeably with -dkc or -ha.

LUNH sample output

The following are output data samples for the CLUI shell script described in the previous section:

HP StorageWorks Performance Advisor XP Software command-line user interface user guide

27