ATTO Technology VT-Class manual In-band CLI Over Fibre Channel, Details, Initiator Host Diamond-VT

Page 28

4.1 In-band CLI Over Fibre Channel

In-band Command Line Interface (CLI) configures and manages the Diamond-VT using SCSI-based CLI commands over a Fibre Channel port connection.

In-band CLI allows a programmer to configure the Diamond-VT while it is moving data. Using a programmer’s interface, CLI commands as described previously in this manual may be implemented.

In-band CLI is implemented as part of LUN 0. It uses a different LUN than the Diamond-VT, and reports as a Storage Enclosure Services (SES) device (device type 0x0D).

LUN 0 is visible on all Fibre ports but is actually a single unit. The default value for LUN 0 is 0x00.

LUN 0 must be reserved for each Write Buffer/Read Buffer pair, using the SCSI Reserve command to insure integrity of the in-band CLI session.

1An initiator (host) sends a SCSI Reserve command to LUN 0.

If LUN 0 is not reserved by another initiator, LUN 0 is now reserved and ready to begin a new CLI session.

If the Diamond-VT configuration is reserved by a different CLI session (i.e. serial or Telnet), the in-band session is not allowed to modify the Diamond-VT configuration. If you try, the results buffer of LUN 0 returns:

Process X has the configuration reserved.

ID of this session = Y

Ready.

2The initiator issues a SCSI Write Buffer command to LUN 0. A Write Buffer command must be accompanied by an ASCII buffer representing the CLI command string such as

set DiamondName Omega1

LUN 0 executes the command line and create feedback in the form of ASCII characters into a buffer. This buffer is 8 KB and circular. Retrieve the results by issuing a Read Buffer command before issuing another Write Buffer command.

3A subsequent Write Buffer command executes the new command line and overwrites the previous results in the buffer with new results.

4LUN 0 can be released by issuing a SCSI Release command to the LUN after each Write/Read Buffer pair, or multiple Write/Read Buffer pairs.

Initiator (Host)

Diamond-VT

 

 

Reserve LUN 0

return: “ok”

 

 

Write Buffer

executes the CLI

LUN 0

command, stores

bid ‘AA’

output in buffer

“get Temperature”

 

 

 

Read Buffer

return:”Temperature=28

LUN 0

C\r\n\Ready.\r\n\0”

bid ‘AA’

 

 

 

Release LUN 0

return: “ok”

 

 

I/O details

The buffer sent to the Services LUN during the data out phase of a Write Buffer command must be:

ASCII data

maximum 80 bytes length

terminated with either a carriage return character (0x0D), line feed character (0x0A) or NULL character (0x00)

Characters following the first carriage return character, line feed character or NULL character are ignored.

The buffer retrieved from the Services LUN during the data-in phase of a Read Buffer command:

ASCII data

8 KBytes (8192 bytes) in length

terminated with a NULL character (0x00)

Characters following the NULL character are meaningless.

A CHECK_CONDITION,

INVALID_PARAMETER_IN_CDB is returned

17

ATTO Technology Inc. Diamond Storage Array Installation and Operation Manual

Image 28
Contents Diamond Storage Array VT-Class Page Page Contents Atto ExpressNAV Browser-based Interface ExpressNAV PagesFibre Channel Configuration Commands Serial Port Configuration CommandsMaintenance Services Commands Diagnostic CommandsDrive Management Commands ECCConfiguring the Diamond-VT Diagnostics, Upgrade and Maintenance TroubleshootingResetting Defaults Virtual TapeAppendix D Sample Zoning Command Sequences Appendix E Specifications XiiAppendix F Product Safety Xiii Appendix G Part numbers Xiv Appendix H WarrantyDisclaimer PrefaceAtto Technology, Inc Page Diamond-VT features Diamond Storage Array-VT Product OverviewFibre Channel model Scsi modelDiamond-VT Technical Overview RS-232Ethernet 400MB/secAdxt Powers ATA to New Levels ATA Interface Engine AIE The interface to eachInstallation Instructions Physical setupSet up the Ethernet connection Connect to EthernetSet up Virtual Tape configuration Configuration examplesConnect to Ethernet, on page 5, follow RAID Level 10 with Hot Spare sledsDiamond-VT Components Floor modelRack mount model Floor Model Diamond-VT Physical SetupRack Mount Physical setup Autoconfiguration Connecting a Fibre Channel ArrayManual configuration Fibre Channel connections Connecting a Scsi Array To connect the Scsi Diamond-VTBus speed, MB/sec Bus width Max. bus lengths Max. device BitsScsi connections Accessing the Diamond-VT Command Line InterfaceAtto ExpressNAV RS-232 portSnmp Details In-band CLI Over Fibre ChannelInitiator Host Diamond-VT Initiator/Host Diamond-VT Serial Port Access Serial port access Ethernet Access Telnet and Snmp Protocols To connect to the Ethernet portTo use Telnet To use SnmpTraps are generated for the following situations Navigating ExpressNAV Atto ExpressNAV Browser-based InterfaceBrowser compatibility Reset button Parameter name Submit buttonExpressNAV Pages Tape Volumes ConfigurationLogical Units PartitionsSaveConfiguration command CLI Interface via ASCII-based CommandsReady Return type/mode Return format/content HostnameSummary of CLI Commands Command Defaults ExampleCLI index Zoneaddhost zone1 General Use Commands Ethernet Commands SNMPUpdates TelnetPasswordTelnetTimeout SNMPTrapsFibre Channel Configuration Commands FcPortList FcPortNameFcScsiBusyStatus FcWWNameSerial Port Configuration Commands SerialPortBaudRateSerialPortHandshake SerialPortEchoMaintenance Services Commands Diagnostic Commands PowerAudibleAlarm SledFaultLEDTapeVolumeInfo RAID5ClearDataStatusDrive Management Commands DriveWipe LUNStateIdeTransferRate IdeWriteCacheRAID5ClearData RAIDInterleaveRAIDHaltRebuild RAIDManualRebuildRestoreModePages TapeVolumeBlockSizeRebuildPriority TapeWriteProtectZoneClearAll ZoneCreateZoneDelete ZoneRemoveDeviceCLI configure drives Configuring the Diamond-VT Virtual Tape VolumesRAID Level Hot Spare sledsInterleave Enhancing performanceVirtual Tape To set up RAID Level 10 with Hot Spare sleds Optional Hot Spare SledPlanned configuration is a work-in-process ZonesPrinciples of Zoning Device portion defines the LUNsStatus and Sense Data Factors to considerType ZoneInfo Configuring Zoning To create a zoneTo remove zones To change current zonesErrors Zone definition tables The Zone commandsUpdating firmware via the RS-232 serial port Updating FirmwareUpdating firmware via the optional Ethernet card Cd c\diamond\flash Type put ....imaDiagnostics, Upgrade and Maintenance Power On Self Test Post Each timeRS-232 Monitoring Port and CLI One tool to Ethernet Monitoring Port and CLI If the optionalSystem Fault LED and Error Codes If a serious Power Supply Monitoring The Diamond-VT25C 32C 35C 40C Disk Drive Activity and Disk Fault LEDs Each Monitoring, reporting Troubleshooting Windows 2000 special instructions Error MessagesCommand Line Interface messages Specific situations and suggestionsIf a power supply fails If you can’t access the Diamond-VT CLI via EthernetIf you cannot read or write to the Diamond-VT Type FirmwareRestart in CLIResetting Defaults Factory DefaultDefault Return to Default settingsCommand Default Rebuilding RAID Level 5 and 10 Configurations To synchronize mirrored drives manually Hardware Maintenance Hardware maintenance Hot Swap Operating Instructions Disk DrivesTo replace a blower assembly Power SuppliesBlower Assemblies Appendix a Glossary Fibre Channel technologySAN technology Scsi protocolAppendix Appendix B ATA Disk Technology FeatureFibre Channel Appendix C LunInfo for a Jbod setup LunInfo PartitionInfo active 59TapeVolumeInfo ZoneInfoViii Appendix D Sample Zoning Command Sequences First time configuration after downloadSimple configuration Symmetric ModelAsymmetric Model ZoneClearAll ZoneCreate zone1ZoneAddPort zone1 ZoneCreate zone2 ZoneAddPort zone2 ZoneCreate zone3Combined Symmetric/Asymmetric Model Appendix E Specifications Rack Mount DimensionsFloor Mount Dimensions Environmental and physicalAppendix F Product Safety Safety compliancesEMC specifications Radio and television interferenceAppendix G Part numbers Description All modelsManufacturer limited warranty Appendix H WarrantyContact Atto Technology, Inc