The Script Editor and the Command Line Interface each support the use of the following twelve commands. These commands, used in conjunction with specific parameters, let you perform various storage subsystem management tasks. Click on the command in the Command column to go to the command syntax and examples.
Command
|
Lets you. . .
|
create
|
- create a standard logical drive on a set of drives (unconfigured capacity), turning those drives into a new array, or create logical drives on an existing array (free capacity)
- create FlashCopy logical drives, using either unconfigured or free capacity for the associated repository logical drives
- create storage partition topology definitions (host group, host, or host port)
- create a logical drive-to-LUN mapping
|
delete
|
- delete an array or logical drive
- delete a FlashCopy logical drive (and it's associated repository logical drive)
- delete a storage partition topology definition (host group, host, or host port)
- delete a logical drive-to-LUN mapping
|
disableFlashCopy |
Disable a FlashCopy logical drive.
|
download
|
- download new controller firmware or NVSRAM to the storage subsystem
- download a feature key file to the storage subsystem
- download drive firmware or ESM firmware to the storage subsystem
|
on error
|
Dictate the script behavior when execution fails. The default behavior is for the script to continue executing subsequent commands after a command has failed. The other parameter you can use is stop, so the script engine stops after a failed command.
|
recreateFlashCopy |
- recreate a previously disabled FlashCopy logical drive, or
- disable and recreate a FlashCopy logical drive
|
reset |
- restore logical drives to their preferred controller owners
- reset a controller
|
set
|
- change the properties of a storage subsystem component, controller, array, standard logical drive, FlashCopy logical drive, or drive (you can set multiple properties for a specific storage subsystem element using one set command)
- revive a failed drive
- set the Performance Monitor polling interval and number of samples, to be used in conjunction with the upload command for uploading Performance Monitor statistics.
- change the role of a mirrored logical drive from Primary to Secondary or from Secondary to Primary
|
show
|
- display the properties of the different logical and physical components comprising the storage subsystem.
- embed text strings (comments) in your command line that will display in the Output View during command execution.
- show storage partition topology and mappings information
|
start |
Start a long-running operation. Currently, the only long-running operation you can start using this command is a logical drive expansion operation.
|
upload |
- upload a file containing Read Link Status statistics from the storage subsystem to your storage management station
- upload a file containing storage subsystem configuration data from the storage subsystem to your storage management station
- upload a file containing performance data from the storage subsystem to your storage management station
- upload a file containing events from the Major Event Log (all events, or just critical events) from the storage subsystem to your storage management station
- upload a file containing controller state dump information from the storage subsystem to your storage management station
|
use
|
Enter the password to use for destructive commands. Currently there is only one option for the use command.
Notes:
- This command does NOT set the password. In the set command, there is a password parameter for the storage subsystem.
- This command is only required once in a script, not in front of each destructive command.
|