24
About the Command Line Interface
Formatting Considerations
Quotation marks (" ") used as part of a name or label require special
consideration when you run the CLI and script commands on a Microsoft
®
Windows
®
operating system. The following explains the use of quotation
marks in names while running CLI and script commands on Windows.
When quotation marks (" ") are part of an argument, you must insert a
backslash (\) before each quotation mark character unless you are in
interactive mode. For example:
-c "set storageArray userLabel=\"Engineering\";"
where
Engineering
is the storage array name.
You cannot use quotation marks (" ") as part of a character string (also called
string literal
) within a script command. For example, you cannot enter the
following string to set the storage array name to
"Finance"Array
:
-c "set storageArray userLabel=
\"\"Finance\"Array\";"
On a Linux operating system, the delimiters around names or labels are single
quotation marks (‘ ’). The Linux versions of the previous examples are:
-c ‘set storageArray userLabel="Engineering";’
Detailed Error Reporting
Error data collected from an error encountered by the CLI is written to a file.
Detailed error reporting under the CLI works as follows:
•
If the CLI must abnormally end execution or abort script command
execution, error data is collected and saved before the CLI aborts.
•
The CLI automatically saves the error data by writing the data to a file
with a standard name.
•
The CLI does not have any provisions to avoid overwriting an existing
version of the file containing error data.
For error processing, errors appear as two types:
•
Parameter or syntax errors you might enter
•
Exceptions that occur as a result of an operational error
Summary of Contents for PowerVault MD3000i
Page 12: ...12 Contents ...
Page 42: ...42 About the Script Commands ...
Page 90: ...90 Using the Virtual Disk Copy Feature ...
Page 104: ...104 Maintaining a Storage Array ...
Page 222: ...222 Script Commands ...
Page 228: ...228 Sample Script Files ...
Page 236: ...236 Index ...