SANtricity 11.8 Commands ( CA08871-194 ~ 196 )
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 | ||
---|---|---|---|
|
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 |
||
|
The password for the storage system. Enclose the password in double quotation marks (" ").
|
||
|
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
|
||
|
The number of samples to capture. Enter an integer value. The range of values for samples captured is
|
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.