beautypg.com

Appendix a - cli ascii-based interface – Sonnet Technologies Web Management Tool User Manual

Page 63

background image

vii

Appendix A - CLI ASCII-Based Interface

Date
Sets/displays the current date. The date range is 01/01/2000 to
12/31/2099.

set Date [MM]/[DD]/[YYYY]
get Date

DeleteAllMaps (Immediate, Disabled on Error)
Removes all mapped devices from the map table. Upon the
subsequent POST, the default maps are loaded if no maps are
present.

DeleteAllMaps

SaveConfiguration command required

DisplayEventLog (Immediate, Disabled on Error)
Displays the EventLog. The event log may be filtered using the
DisplayEventLogFilter command. The optional parameter n is
the number of lines to be displayed as a single page with no
user interaction. After the command has executed, use +, - or =
to scroll through the log. Type quit and press Return (Enter) to
exit the command.

DisplayEventLog

DisplayEventLogFilter (Immediate, Disabled on Error)
Filters the display of data for specified subsystems and levels
during DisplayEventLog mode. Valid event log subsystem
entries are platform-dependent. For set commands, the final
parameter indicates whether or not events from the specified
subsystem and level are displayed.

Default: all all all
set DisplayEventLogFilter [subsystem | all]
[level | all] [all | none]
get DisplayEventLogFilter [subsystem |all]
[level | all]

DriveTest (Immediate, Disabled on Error)
Starts or stops a drive test with the previously specified
configuration. Drives being tested are not available for RAID
configuration or RAID operations. Only one test can be run at
a time.

DriveTest [Begin | Cancel]

DriveTestClearList
Configures the next drive test to perform one of the
following operations: initialize (destructive write-only), read
(nondestructive read-only), verify (destructive verify), or init-
verify (destructive write-read-verify). The test is not started until
the DriveTest

Begin command is given.


set DriveTestConfig [init | read | verify |
init-verify]
get DriveTestConfig

DriveTestConfig (Disabled on Error)
Configures the next drive test to perform one of the
following operations: initialize (destructive write-only), read
(nondestructive read-only), verify (destructive verify), or init-
verify (destructive write-read-verify). The test is not started until
the DriveTest

Begin command is given.


set DriveTestConfig [init | read | verify |
init-verify]
get DriveTestConfig

DriveTestList (Disabled on Error)
Specifies drives to be run in the next drive test. This command
can be called with different eligible block IDs and each one is
added to the list. Drives which are not part of a RAID group or
are not hot spares are eligible. The all parameter automatically
chooses eligible drives. The test is not started until the DriveTest
Begin command is given..

set DriveTestList [drive [BlockDevID] | all]
get DriveTestList

DriveTestStatus
Displays the status of the currently running drive test but
does not display performance metrics. If a block device ID is
not running or cannot be found, its state is

idle and percent

complete is

0.


get DriveTestStatus

DumpConfiguration (Immediate)
Displays the unit’s configuration to the

Advanced page of the

Sonnet Web Management Tool or a terminal emulation or
Telnet session. The record may not be displayed completely in
the Sonnet Web Management Tool page.

DumpConfiguration

DumpEventLog (Immediate)
Displays the contents of the EventLog to the Advanced page of
the Sonnet Web Management Tool or a terminal emulation or
Telnet session. The record may not be displayed completely in
the Sonnet Web Management Tool page.

DumpEventLog

EmailFromAddress
Configures the Email address that the unit uses to communicate
with the Email server. Full Email address is a fully qualified
Internet Email address, not more than 128 characters long.

set EmailFromAddress [full email address]
get EmailFromAddress