Description, Operands, Example – HP StorageWorks XP Remote Web Console Software User Manual

Page 74

Advertising
background image

74

XP Performance Control Export Tool

Description

The set subcommand starts or ends monitoring the array (that is, starts or ends collecting performance

statistics). The set subcommand also specifies the gathering interval (interval of collecting statistics) in

short range monitoring.
To use the set subcommand, you must use the login subcommand (see ”

The login subcommand

” on

page 57) to log onto the SVP. Ensure that the set subcommand executes immediately before the Export

Tool finishes.
Executing the set subcommand generates an error in the following conditions:

Some other user is being logged onto the SVP in Modify mode

Maintenance operations are being performed at the SVP

If an error occurs, do the following:

Ensure that all users logged onto the SVP are not in Modify mode. If any user is logged on in Modify

mode, ask the user to switch to View mode.

Wait until maintenance operations finish at the SVP, so the set subcommand can execute.

NOTE:

The batch files can include script that execute when an error occurs. For information about writing

such a script in the batch file, see

Notes

” on page 52.

When the set subcommand starts or ends the monitoring or changes the gathering interval after the

XP Auto LUN pane is started, the contents displayed in the XP Auto LUN pane does not automatically

change with the set subcommand operation. To display the current monitoring status in the XP Auto

LUN pane, click the Refresh button.

Operands

switch={m|off}

To start monitoring, specify the gathering interval (interval of collecting statistics) of monitoring data at
m

. Specify a value between 1 and 15 minutes. m is the gathering interval in short range monitoring by

XP Auto LUN. Note that the gathering interval in long range is fixed to 15 minutes.
To end monitoring, specify off.
If this operand is omitted, the set subcommand does not make settings for starting or ending

monitoring.

Example

The following command file saves port statistics, and ends monitoring ports:

The following command file starts monitoring remote copy operations. The sampling time interval is 10

minutes.

svpip 158.214.135.57

login expusr passwd

show

group Port

shortrange 200404010850:200404010910

apply

set switch=off

svpip 158.214.135.57

login expusr passwd

set switch=10

Advertising