SANtricity 11.8 Commands

to Japanese version

Set session

The set session errorAction command defines how you want the current script engine session to run.

Supported Series

This command applies to any individual storage system, including the HB2100/HB2200/HB2300, HB5100/HB5200, AB6100 and AB3100 series, as long as all SMcli packages are installed.

Roles

To execute this command on an HB2100/HB2200/HB2300, HB5100/HB5200, AB6100, or AB3100 storage system, you must have the Storage Admin, Support Admin, Security Admin, or Storage Monitor role.

Context

For the purpose of this command a session is the duration for the running of the commands. This command does not permanently set the parameters for the storage system.

Syntax

set session errorAction=(stop | continue)
password="storageArrayPassword"
performanceMonitorInterval=intervalValue
performanceMonitorIterations=iterationValue
set session errorAction=(stop | continue)
password="storageArrayPassword"
userRole=(admin | monitor)
performanceMonitorInterval=intervalValue
performanceMonitorIterations=iterationValue

Parameters

Parameter Description

errorAction

How the session responds if an error is encountered during processing. You can choose to stop the session if an error is encountered, or you can continue the session after encountering an error. The default value is stop. (This parameter defines the action for execution errors, not syntax errors. Some error conditions might override the continue value.)

password

The password for the storage system. Enclose the password in double quotation marks (" ").

When the client type is set to https, this parameter is obsolete. The password must be specified prior to the CLI command script execution, and cannot be changed in the middle of a script.

performanceMonitorInterval

The frequency of gathering performance data. Enter an integer value for the polling interval, in seconds, for which you want to capture data. The range of values is 3 to 3600 seconds. The default value is 5 seconds.

When the client type is set to https, this parameter is obsolete. Instead, to change the default interval value, use this parameter with the individual impacted commands. The commands are save storageArray performanceStats and show drive performanceStats.

performanceMonitorIterations

The number of samples to capture. Enter an integer value. The range of values for samples captured is 1 to 3600. The default value is 5.

When the client type is set to https, this parameter is obsolete. Instead, to change the default iteration value, use this parameter with the individual impacted commands. The commands are save storageArray performanceStats and show drive performanceStats.

Notes

When you use this command, you can specify one or more of the optional parameters.

Passwords are stored on each storage system in a management domain. If a password was not previously set, you do not need a password. The password can be any combination of alphanumeric characters with a maximum of 30 characters. (You can define a storage system password by using the set storageArray command.)

The polling interval and the number of iterations that you specify remain in effect until you end the session. After you end the session, the polling interval and the number of iterations return to the default values.

Top of Page