Command Line Interface User’s Guide
3
1.2
Commands
Commands cause some action to happen or a state to change. For example, the command
createVolume
creates a new volume and the command
addInitiator
adds an iSCSI
initiator to the list of known initiators for an array. For a complete list of the commands
available in the CLI, see Chapter 5.
The CLI provides a special set of commands called global action commands. Global action
commands indicate an action that you want to perform and precede other commands and
properties on a command line. For example, the global action command
Show
can be
used
with the property
Controllers
to return information about an array’s controller(s) from
the
System
context:
192.168.59.25 :: show controller[a]
ID = A
Status = OK
IsActive = true
SlotNumber = 0
SerialNumber = 00001
DriveSlots = 12
NumFrontPorts = 8
DisplayName = Blade A
SoftwareVersion = 2.5.1.21
IsAlternateSoftwareVersionPresent = true
AlternateSoftwareVersion = 2.5.1.21
BoardType = 0009
BoardTypeRevision = XC05
I8kHwVersion = 1.0.0.0
I8kSwVersion = 0.1.0.0
MpuSwVersion = 2.5.1.21
BindFailReason = Bind_OK
BladeHealth = Healthy
BladeState = Bound
BladeType = SFF
PersistenceSetting = Unchanged
BatteryState = Failed
BufferMemDimmCnt = 2
BufferMemSize = 2048
SystemMemDimmCnt = 2
SystemMemSize = 512
SystemTime = 13:18:27
Ports = 8 Ports
LAGs = 8 LAGs
ManagementPort = ManagementPort [192.168.59.25], Status=OK
BasePool = [BaseA], 2 disks
You can also chain commands on a command line and have the CLI execute them in
sequence by separating each command with a semicolon (
;
). The following command line,
for example, tells the CLI to perform two
Pop
operations and then create a 30 GB volume
named Engineering.
Summary of Contents for xStack Storage DSN-4000 Series
Page 6: ...vi Preface...
Page 42: ...32 Chapter 3 Using the CLI This Page Left Intentionally Blank...
Page 56: ...46 Chapter 4 Global Action Commands This Page Left Intentionally Blank...
Page 86: ...76 Chapter 5 Supported CLI Commands and Properties This Page Left Intentionally Blank...
Page 97: ......