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
book.book Page 24 Friday, March 4, 2011 10:45 AM
Summary of Contents for PowerVault MD3200 Series
Page 1: ...Dell PowerVault Modular Disk Storage Arrays CLI Guide ...
Page 42: ...42 About the Script Commands ...
Page 263: ...Script Commands 263 ...
Page 269: ...268 Sample Script Files ...
Page 271: ...270 CLI Command Updates ...
Page 279: ...Index 278 ...