10400455-002
©2008-14 Overland Storage, Inc.
267
SnapScale/RAINcloudOS 4.1 Administrator’s Guide
E - Command Line Interface
In this instance, to set the date to October 27, 2011, enter:
date set day=27 month=10 year=2011
NOTE: If, instead of typing the word date, you had typed
d + [tab]
, the word would have been
completed for you. If you entered
d + [tab] + [tab]
, the word would have been completed
and the available options displayed.
Suppose, instead of
date
, you typed the command
web
. Two arguments would be available,
one with options:
Thus, the following command string:
web set require-webview-auth=yes non-secure-http=no
sets HTTP/HTTPS properties on the SnapScale cluster to require clients to authenticate in
order to access the cluster and to disable non-secure HTTP access.
SnapCLI Procedures
Use these procedures to access and exit SnapCLI.
Logging into SnapCLI
1.
Make sure your client has an SSH v2 client application installed.
NOTE: Free or low-cost SSH applications are available from the Internet.
Command
Arguments and Options
Descriptions
date
timezones
- list available time zones
get
- get server date/time
set [OPTIONS}
- [day=1-31]
- [month=1-12]
- [year=1900-current]
- [hour=0-23]
- [minute=0-59]
- [second=0-59]
- [timezone=1- 40]
- set server date/time
- day of month
- month of year
- year
- hour
- minutes
- seconds
- timezone
(use the command
date
timezones
to get a list of timezones)
Command
Arguments and Options
Descriptions
web
get
- get WEB properties
set
[OPTIONS]
- require-webview-
auth=(yes|no)
- non-secure-http=(yes|no)
- set WEB properties
- require HTTP/HTTPS
clients to authenticate
in order to access the
server
-enable/disable non-
secure HTTP access