ATTO Technology 1180D ユーザーガイド
37
ATTO Technology Inc. FibreBridge Installation and Operation Manual
2.4 In-band CLI: SCSI over Fibre Channel
In-band Command Line Interface (CLI) configures and manages the ATTO FibreBridge using SCSI-
based CLI commands over a Fibre Channel port connection. This feature is not available for the
FibreBridge 2400.
based CLI commands over a Fibre Channel port connection. This feature is not available for the
FibreBridge 2400.
Note
The recommended management tool for the
all models of the FibreBridge except the FB
1180 is the ATTO ExpressNAV interface. Refer
to
all models of the FibreBridge except the FB
1180 is the ATTO ExpressNAV interface. Refer
to
on page 35
In-band CLI allows you to configure the
FibreBridge while it is moving data. Using a
programmer’s interface, ATTO FibreBridge
Services CLI commands, as described previously
in this manual, may be implemented. The only
command not available is menu.
FibreBridge while it is moving data. Using a
programmer’s interface, ATTO FibreBridge
Services CLI commands, as described previously
in this manual, may be implemented. The only
command not available is menu.
In-band CLI is implemented as a device separate
from the FibreBridge itself. It uses a different
LUN than the FibreBridge, and reports as a
Storage Enclosure Services (SES) device (device
type 0x0D). This LUN is referred to as the
ServicesLUN.
from the FibreBridge itself. It uses a different
LUN than the FibreBridge, and reports as a
Storage Enclosure Services (SES) device (device
type 0x0D). This LUN is referred to as the
ServicesLUN.
The ServicesLUN is visible on all Fibre ports but
is actually a single unit. The default Fibre LUN
for each Fibre port’s ServicesLUN is 0x08.
is actually a single unit. The default Fibre LUN
for each Fibre port’s ServicesLUN is 0x08.
The ServicesLUN must be reserved for each
Write Buffer/Read Buffer pair, using the SCSI
Reserve command to insure integrity of the in-
band CLI session.
Write Buffer/Read Buffer pair, using the SCSI
Reserve command to insure integrity of the in-
band CLI session.
1
An initiator (host) sends a SCSI Reserve
command to the ServicesLUN.
• If the ServicesLUN is not reserved by
command to the ServicesLUN.
• If the ServicesLUN is not reserved by
another initiator, the ServicesLUN is now
reserved and ready to begin a new CLI
session.
reserved and ready to begin a new CLI
session.
• If the FibreBridge configuration is reserved
by a different CLI session (i.e. serial or
Telnet), the in-band session will not be
allowed to modify the FibreBridge
configuration. If you try, the results buffer of
the ServicesLUN will return
Telnet), the in-band session will not be
allowed to modify the FibreBridge
configuration. If you try, the results buffer of
the ServicesLUN will return
Process X has the configuration
reserved.
ID of this session = Y
Ready.
2
The initiator issues a SCSI WriteBuffer (buffer
ID = 0) command to the ServicesLUN. A
WriteBuffer command must be accompanied
by an ASCII buffer representing the CLI
command string such as
ID = 0) command to the ServicesLUN. A
WriteBuffer command must be accompanied
by an ASCII buffer representing the CLI
command string such as
set FibreBridgeName FB2300
3
The ServicesLUN will execute the command
line and create feedback in the form of ASCII
characters into a buffer. This buffer is 8KB and
circular. Retrieve the results by issuing a
ReadBuffer command before issuing another
WriteBuffer command.
line and create feedback in the form of ASCII
characters into a buffer. This buffer is 8KB and
circular. Retrieve the results by issuing a
ReadBuffer command before issuing another
WriteBuffer command.
4
A subsequent WriteBuffer command will
execute the new command line and overwrite
the previous results in the buffer with new
results.
execute the new command line and overwrite
the previous results in the buffer with new
results.
5
The ServicesLUN can be released by issuing a
SCSI Release command to the Services LUN
after each Write/Read Buffer pair, or multiple
Write/Read Buffer pairs.
SCSI Release command to the Services LUN
after each Write/Read Buffer pair, or multiple
Write/Read Buffer pairs.
Initiator (Host)
FibreBridge
Reserve ServicesLUN
return: “ok”
Write Buffer
ServicesLUN
bid 0
“get SerialPortBaudRate”
executes the CLI
command, stores output in
buffer
command, stores output in
buffer
Read Buffer
ServicesLUN
bid 0
return:
“SerialPortBaudRate=960
0\W\
“SerialPortBaudRate=960
0\W\
Ready.\r\n\0”
Release ServicesLUN
return: “ok”