Managing System Objects
CLI basics
Dell EMC VxFlex Ready Node AMS User Guide
132
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:
Windows:
l
C:\Program Files\EMC\ScaleIO\AMS\webapps\ROOT\resources
Linux:
l
/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
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.
To run commands locally on the AMS, from the correct path enter:
l
scli <command> --mdm_port 6611 (for --login, do not use --mdm_port)
To run commands from a Linux server to a remote AMS, from location of the SCLI
l
bin on the local server enter:
scli <command> --mdm_ip <AMS_IP_Address> --mdm_port 6611
To run commands from Windows to a remote AMS, from the location of SCLI bin
l
on the local server enter:
scli.exe <command> --mdm_ip <AMS_IP_address> --mdm_port 6611
Description: Execute a CLI command.
Parameter
--mdm_ip <IP>
--approve_certificate
<command>
--mdm_port <PORT>
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.
on page 171.
Description
Use the IP address of the AMS server.
Preemptive approval of the MDM's certificate
Command to be executed
The port of the MDM that is listening for the
command requests. This value is always 6611.