The vms.sh shell script is stored on the management CNode under /vast/data/. Running this script with the vcli argument runs the VAST CLI.
There are three ways you can run commands:
Open the command line prompt in the shell and run commands interactively (default).
Run a single command non-interactively.
Run a batch of commands saved to a file.
See vms.sh Usage for details.
vms.sh Usage
/vast/data/vms.sh vcli [-h | --help]
[-c command | --command command]
[-b batch-file | --batch-file batch_file]
[-u user | --user user]
[-p password| --password password]
[-d | --debug]
Option | Description |
|---|---|
-h, --help | Shows help message |
-c command | --command command | Runs a single command, non-interactively.
For example, to run the command "ldap list": |
-b batch-file| --batch-file batch-file | Runs a batch of commands. The commands must be saved to a file and stored under the
|
-u user | --user user | Specifies user name for login. If you omit it, you'll be prompted for your user name after you run the command. |
-p password | --password password | Specifies password for login. If you omit it, you'll be prompted for your password after you run the command. |
-d | --debug | Enters debug mode. |