D-Link DSN-540 CLI User's Guide for DSN-1100-10 - Page 13

Commands

Page 13 highlights

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. Command Line Interface User's Guide 3

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97

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.