ATTO Technology diamond array s Manual Do Utilizador
20
In-band CLI
A
CHECK_CONDITION,
INVALID_PARAMETER_IN_CDB
will be returned
to an initiator that specifies an incorrect Buffer
ID, Mode, Length or Buffer Offset. The Mode is
always Data (0x2), the Buffer ID is always 0 and
the Buffer Offset is always 0.
always Data (0x2), the Buffer ID is always 0 and
the Buffer Offset is always 0.
Exhibit 5.1-1 The SCSI command process: reserve the Diamond Storage Array, send the command, release the
Diamond Storage Array.
Diamond Storage Array.
Initiator/Host
Diamond Storage Array
Goal: reserve the Diamond Storage Array for an in-band CLI command
SCSI cdb: Reserve LUN 0
=>
<=
SCSI success
Goal: retrieve the Diamond Storage Array temperature via in-band CLI
1. Issue the command:
SCSI cdb: WriteBuffer LUN 0, bid=’AA’, “get Temperature\n”
=>
places “Temperature=28C\n\r” into
the read-data buffer
the read-data buffer
<=
SCSI success
2. Retrieve the results:
SCSI cdb: ReadBuffer LUN 0, bid=’AA’
=>
<=
Returns “Temperature=28C\n\r”
from the read-data buffer
from the read-data buffer
<=
SCSI success
Goal: release the Diamond Storage Array for other in-band users
SCSI cdb: Release LUN 0
=>
<=
SCSI success