CLI Guide

Table Of Contents
Arguments
Required arguments
[-f| --file] filename * Name of the script file to read and execute.
* - argument is positional.
Description
Filenames use the syntax of the underlying platform.
The script file may contain any CLI commands.
If the exit command is included, the shell exits immediately, without processing the commands that follow it in the file.
Examples
In the following example, a text file Source.txt contains only two commands:
service@ManagementServer:/var/log/VPlex/cli> cat Source.txt
version -a
exit
When executed:
The first command in the file is run
The exit command exits the command shell
VPlexcli:/> source --file /var/log/VPlex/cli/Source.txt
What Version Info
---------------------------------------------- -------------- ----
Product Version 4.1.0.00.00.12 -
SMSv2 0.16.15.0.0 -
Mgmt Server Base D4_MSB_7 -
Mgmt Server Software D4.70.0.9 -
/engines/engine-2-1/directors/Cluster_2_Dir_1B 1.2.43.9.0 -
/engines/engine-2-1/directors/Cluster_2_Dir_1A 1.2.43.9.0 -
/engines/engine-1-1/directors/Cluster_1_Dir1B 1.2.43.9.0 -
/engines/engine-1-1/directors/Cluster_1_Dir1A 1.2.43.9.0 -
/engines/engine-2-2/directors/Cluster_2_Dir_2B 1.2.43.9.0 -
/engines/engine-2-2/directors/Cluster_2_Dir_2A 1.2.43.9.0 -
Connection closed by foreign host.
service@ManagementServer:~>
See also
script
storage-tool dismantle
Dismantles virtual-volumes, devices (local or distributed) and extents down to the storage-volumes, including unclaiming the
storage-volumes.
Contexts
All contexts.
Commands
295