Set session
The set session errorAction command defines how you want the current script engine session to run.
Supported Arrays
This command applies to an individual DE2000H, DE4000H, DE4000F, DE6000H, or DE6000F storage array.
Roles
To execute this command on an storage array, 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 array.
Syntax
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 array. Enclose the password in double quotation marks (" "). Attention When the client type is set to |
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. Attention When the client type is set to |
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 . Attention When the client type is set to |
Notes
When you use this command, you can specify one or more of the optional parameters.
Passwords are stored on each storage array 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 array 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.