30
About the Command Line Interface
physicalDiskCount[3] raidLevel=5 capacity=10 GB
userLabel="Finance"; show storageArray
healthStatus;’
This example shows how to run commands in a script file named
scriptfile.scr
on a storage array named
Example
. The
-e
parameter runs the file without
checking syntax. Executing an
SMcli
command without checking syntax
enables the file to run more quickly; however, the
SMcli
command may not
execute correctly if the syntax is incorrect.
SMcli -n Example -f scriptfile.scr -e
This example shows how to run commands in a script file named
scriptfile.scr
on a storage array named
Example
. In this example, the storage array is
protected by the password
My_Array
. Output, as a result of commands in the
script file, goes to file
output.txt
.
Windows:
SMcli -n Example -f scriptfile.scr -p "My_Array" -
o output.txt
Linux:
SMcli -n Example -f scriptfile.scr -p ‘My_Array’ -
o output.txt
This example shows how to display all storage arrays that are currently
discovered in the current configuration. The command in this example
returns the host name of each storage array.
SMcli -d
If you want to know the IP address of each storage array in the configuration,
add the
-i
parameter to the command.
SMcli -d -i
book.book Page 30 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 ...