Set subcommand, Syntax, Description – HP XP Array Manager Software User Manual
Page 118: Operands, Example
The settings made by the group subcommand will be reset when the apply subcommand finishes.
set subcommand
Syntax
setU[switch={m|off}]
Description
The set subcommand starts or ends monitoring the storage system (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 “
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 the users who are 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 that the set subcommand can execute.
Notes:
•
Your batch files can include script that should execute when an error occurs. For information
about writing such a script in your batch file, see
Notes
in “
•
When the set subcommand starts or ends the monitoring or changes the gathering interval
after the Auto LUN window is started, the contents displayed in the Auto LUN window does not
change automatically in conjunction with the set subcommand operation. To display the current
monitoring status in the Auto LUN window, click File, and then Refresh on the menu bar of the
Remote Web Console main window.
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 in minutes. m is the gathering interval in short
range monitoring by Performance Monitor. 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 then ends monitoring ports:
svpip 158.214.135.57
login expusr passwd
show
group Port
shortrange 200604010850:200604010910
apply
set switch=off
118
Using the Export Tool