26
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 26 Wednesday, June 8, 2011 12:20 PM
Содержание PowerVault MD3600f Series
Страница 1: ...Dell PowerVault Modular Disk Storage Arrays CLI Guide ...
Страница 44: ...44 About the Script Commands ...
Страница 114: ...114 Using the Remote Replication Premium Feature ...
Страница 311: ...Script Commands 311 ...
Страница 312: ...312 Script Commands ...
Страница 318: ...318 Sample Script Files ...
Страница 328: ...Index 328 ...