CLI basics
The VxFlex OS CLI, SCLI, enables you to perform all provision, maintain, and monitor
activities.
SCLI is installed as part of the AMS, and can be found in the following path:
l
Windows:
C:\Program Files\EMC\ScaleIO\AMS\webapps\ROOT\resources
l
Linux:
/opt/emc/scaleio/ams/webapps/ROOT/resources/
Before using the CLI in Linux, you must give the file execute permissions:
chmod a+x /opt/emc/scaleio/ams/webapps/ROOT/resources/scli
Before using SCLI, you must log in to the AMS using the scli --login command,
as described in Authenticating with the management server on page 171.
All SCLI commands use one of the following formats, depending on your environment:
NOTICE
These instructions apply to every SCLI command, with one exception: When first
logging in using the --login command, do not use the --mdm_port flag.
l
To run commands locally on the AMS, from the correct path enter:
scli <command> --mdm_port 6611 (for --login, do not use --mdm_port)
l
To run commands from a Linux server to a remote AMS, from location of the SCLI
bin on the local server enter:
scli <command> --mdm_ip <AMS_IP_Address> --mdm_port 6611
l
To run commands from Windows to a remote AMS, from the location of SCLI bin
on the local server enter:
scli.exe <command> --mdm_ip <AMS_IP_address> --mdm_port 6611
Description: Execute a CLI command.
Parameter
Description
--mdm_ip <IP> Use the IP address of the AMS server.
--approve_certificate Preemptive approval of the MDM's certificate
<command> Command to be executed
--mdm_port <PORT> The port of the MDM that is listening for the
command requests. This value is always 6611.
scli --mdm_ip 10.10.10.3,10.10.10.4 --query_all --mdm_port 6611
The mdm_ip indicates the MDM that receives and is to execute the command. If the
command is run from the Master MDM, this switch may be omitted.
To avoid using the --mdm_ip parameter in every command, or avoid having to install
the CLI on other servers, use SSH or RDM to log in to the shell running on the
management server.
Managing System Objects
132 Dell EMC VxFlex Ready Node AMS User Guide