ATTO Technology V-Class Network Card User Manual


 
20
In-band CLI
A
CHECK_CONDITION,
INVALID_PARAMETER_IN_CDB
is 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.
Exhibit 4.1-1 The SCSI command process: reserve the Diamond Storage Array, send the command, release the
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
<= SCSI success
2. Retrieve the results:
SCSI cdb: ReadBuffer LUN 0, bid=’AA’ =>
<= Returns “Temperature=28C\n\r” 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