About the script commands, Script command structure, 2 about the script commands – Dell PowerVault MD3260i User Manual
Page 27
2
About The Script Commands
You can use the script commands to configure and manage a storage array. The script commands are distinct from the
command line interface (CLI) commands; however, you enter the script commands using the command line interface.
You can enter individual script commands, or run a file of script commands. When entering an individual script
command, include it as part of a CLI command. When running a file of script commands, include the file name as part of
a CLI command. The script commands are processed by a script engine that performs the following functions:
•
Verifies command syntax
•
Interprets the commands
•
Converts the commands to the appropriate protocol-compliant commands, which is, in turn, run by the RAID
controller module
•
Passes the commands to the storage array
At the storage array, the redundant array of independent disks (RAID) controller modules in the storage array runs the
script commands.
The script engine and script commands support the storage array configuration and management operations listed in .
Table 4. Configuration and Management Operations
Operation
Activities
Virtual disk, disk group configuration
Creating, deleting, and setting priority; labeling; setting
physical disk composition when creating virtual disks;
setting segment size; and setting media scan control
Physical disk configuration
Configuring the hot spare
RAID controller module configuration
Defining virtual disk ownership, changing mode settings,
defining network settings, and setting host port IDs
General storage array configuration
Resetting a configuration to defaults, labeling, checking
the health status, setting the time of day, clearing the
Major Event Log, and setting the media scan rate
NVSRAM configuration
Downloading and modifying the user configuration region
at the bit and byte level, displaying nonvolatile static
random access memory (NVSRAM) values
Product identification
Retrieving the enclosure profile display data
Battery management
Setting the battery installation date
Firmware management
Downloading RAID controller module, enclosure
management module (EMM), and physical disk firmware
Script Command Structure
All script commands have the following structure:
command operand-data {statement-data}
27