Syntax Overview
www.3ware.com
23
Example:
When adding (creating) a unit to the controller with the following
command string,
/c1 add type=raid1 disk=0-1
c1
is the object,
add
is the command,
type
(for type of array) is an attribute
with
raid1
as the value of the attribute, and
disk
is another attribute with
0-1
as the value (ports 0 through 1).
Information about commands is organized by the object on which the
commands act:
Shell Object Commands.
Shell object commands set the focus or provide
information (such as alarms, diagnostics, rebuild schedules, and so forth)
about all controllers in the system. For details, see “Shell Object Commands”
on page 24.
Controller Object Commands.
Controller object commands provide
information and perform actions related to a specific controller. For example,
you use controller object commands for such tasks as seeing alarms specific
to a controller, creating schedules during which background tasks are run, and
setting policies for the controller. You also use the controller object command
/cx add type
to create RAID arrays. For details, see “Controller Object
Commands” on page 29.
Unit Object Commands.
Unit object commands provide information and
perform actions related to a specific unit on a specific controller. For example,
you use unit object commands for such tasks as seeing the rebuild, verify, or
initialize status of a unit, starting, stopping, and resuming verifies, starting
and stopping rebuilds, and setting policies for the unit. You also use the
controller object command
/cx/ux migrate
to change the configuration of a
RAID array. For details, see “Unit Object Commands” on page 59.
Port Object Commands.
Port object commands provide information and
perform actions related to a drive on a specific port. For example, you use port
object commands for such tasks as seeing the status, model, or serial number
of the drive. For details, see “Port Object Commands” on page 77.
BBU Object Commands.
BBU object commands provide information and
perform actions related to a Battery Backup Unit on a specific controller. For
details, see “BBU Object Commands” on page 82.
Enclosure Object Commands.
Enclosure object commands provide
information and perform actions related to a particular enclosure. For
example, you can use enclosure object commands to see information about an
enclosure and its elements (slots, fan, and temperature sensor elements).
Help Commands.
Help commands allow you to display help information for
all commands and attributes. For details, see “Help Commands” on page 91.