Oracle storagetek sl150 Reference guide

Type
Reference guide
Submit comments about this document to [email protected].
StorageTek SL150 Modular Tape
Library
Interface Reference Manual
Part Number: E51473-03
Julyl 2017
2 SL150 Interface Reference Manual Julyl 2017
StorageTek SL150 Modular Tape Library System: Interface Reference Manual
E51473-03
Oracle welcomes your comments and suggestions for improving this book. Contact us at [email protected].
Please include the title, part number, issue date, and revision.
Copyright © 2013, 2017, Oracle and/or its affiliates. All rights reserved.
This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are
protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy,
reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any
means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited.
The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report
them to us in writing.
If this is software or related software documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S.
Government, the following notice is applicable:
U.S. GOVERNMENT END USERS: Oracle programs, including any operating system, integrated software, any programs installed on the
hardware, and/or documentation, delivered to U.S. Government end users are "commercial computer software" pursuant to the applicable
Federal Acquisition Regulation and agency-specific supplemental regulations. As such, use, duplication, disclosure, modification, and
adaptation of the programs, including any operating system, integrated software, any programs installed on the hardware, and/or
documentation, shall be subject to license terms and license restrictions applicable to the programs. No other rights are granted to the U.S.
Government.
This software or hardware is developed for general use in a variety of information management applications. It is not developed or intended for
use in any inherently dangerous applications, including applications that may create a risk of personal injury. If you use this software or
hardware in dangerous applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to
ensure its safe use. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software or hardware in
dangerous applications.
Oracle and JAVA rea registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and are
trademarks or registered trademarks of SPARC International, Inc. AMD, Opteron, the AMD logo, and the AMD Opteron logo are trademarks or
registered trademarks of Advanced Micro Devices. UNIX is a registered trademark of The Open Group.
This software or hardware and documentation may provide access to or information about content, products, and services from third parties.
Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content,
products, and services unless otherwise set forth in an applicable agreement between you and Oracle. Oracle Corporation and its affiliates will
not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or services, except as
set forth in an applicable agreement between you and Oracle.
Julyl 2017 3
Table of Contents
List of Figures ..........................................................................................................................7
List of Tables ............................................................................................................................9
Preface ......................................................................................................................................13
Access to Oracle Support .....................................................................................................13
1 General Information .............................................................................................................15
Serial Attached SCSI ................................................................................................................15
The Fibre Channel Standard .....................................................................................................16
Overview ............................................................................................................................16
Implementation ..................................................................................................................16
Related Publications .................................................................................................................17
2 Host Application Best Practices ....................................................................................19
Running on Both Fibre Channel or SAS Ports ..........................................................................19
Logical Unit Number Addressing .............................................................................................19
Drive Element Addressing Mode Configuration .......................................................................19
Address All Drive Slots .......................................................................................................19
Address Installed Drives Only ............................................................................................20
3 Operation and Configuration Details ...........................................................................21
Multiple Initiator Support ........................................................................................................21
Host Timeout Characteristics ..................................................................................................21
Device Reservations .................................................................................................................21
4 Command Set .........................................................................................................................25
Implementation Requirements .................................................................................................25
Command Descriptor Block ...............................................................................................25
Control Byte ........................................................................................................................27
List of Supported Commands ..................................................................................................28
SCSI Command Status .............................................................................................................29
Good ..................................................................................................................................29
Check Condition ................................................................................................................29
Busy ...................................................................................................................................29
Reservation Conflict ...........................................................................................................29
Task Aborted ......................................................................................................................29
4 SL150 Interface Reference Manual Julyl 2017
Initialize Element Status ...........................................................................................................30
Initialize Element Status With Range ........................................................................................31
Inquiry .....................................................................................................................................32
Standard Inquiry Data (HP Bridged) ...................................................................................34
Standard Inquiry Data (IBM Bridged) ..................................................................................37
Supported Pages .................................................................................................................40
Unit Serial Number Page .....................................................................................................41
Device Identification Page (HP Bridged) .............................................................................42
Device Identification Page (IBM Bridged) ............................................................................45
SCSI Ports Page ..................................................................................................................47
Specific Device Capabilities Page (HP LTO6 Bridged Tape Drive) .......................................49
Log Sense .................................................................................................................................50
Supported Pages Format Page .............................................................................................51
Last n Errors Events Page ....................................................................................................52
Informational Exceptions TapeAlert Page ............................................................................53
Mode Select (6) .........................................................................................................................56
Mode Select (6) Data ...........................................................................................................58
Mode Select (6) Parameter Header .......................................................................................58
Fibre Channel Disconnect/Reconnect Page (HP Bridged) ....................................................59
SAS Disconnect/Reconnect Page (HP Bridged) ...................................................................61
Fibre Channel Logical Unit Page (HP Bridged) ....................................................................63
SAS Logical Unit Page (HP Bridged) ...................................................................................64
Fibre Channel Port Control Page (HP Bridged) ....................................................................65
SAS Port Control Page (HP Bridged) ...................................................................................68
SAS Phy Control and Discover Mode Subpage (HP Bridged) ...............................................70
Informational Exceptions TapeAlert Page ............................................................................73
Element Address Assignment Mode Page ...........................................................................75
Mode Select (10) .......................................................................................................................78
Mode Select (10) Data ..........................................................................................................80
Mode Select (10) Parameter Header .....................................................................................80
Fibre Channel Disconnect/Reconnect Page (HP Bridged) ....................................................81
SAS Disconnect/Reconnect Page (HP Bridged) ...................................................................83
Fibre Channel Logical Unit Page (HP Bridged) ....................................................................85
SAS Logical Unit Page (HP Bridged) ...................................................................................86
Fibre Channel Port Control Page (HP Bridged) ....................................................................87
SAS Port Control Page (HP Bridged) ...................................................................................90
SAS Phy Control and Discover Mode Subpage (HP Bridged) ...............................................92
Informational Exceptions TapeAlert Page ............................................................................95
Element Address Assignment Mode Page ...........................................................................97
Mode Sense (6) ....................................................................................................................... 100
Mode Sense (6) Data ..........................................................................................................103
Mode Sense (6) Parameter Header Definition ....................................................................104
Fibre Channel Disconnect/Reconnect Page (HP Bridged) ..................................................105
SAS Disconnect/Reconnect Page (HP Bridged) .................................................................107
Fibre Channel Logical Unit Page (HP Bridged) ..................................................................109
SAS Logical Unit Page (HP Bridged) ................................................................................. 110
Julyl 2017 5
Fibre Channel Port Control Page (HP Bridged) ...................................................................111
SAS Port Control Page (HP Bridged) ................................................................................. 114
SAS Phy Control and Discover Mode Subpage (HP Bridged) ............................................. 116
SAS Shared Control Mode Subpage (HP Bridged) ............................................................. 119
SAS Enhanced Phy Control Subpage (HP Bridged) ............................................................120
Informational Exceptions TapeAlert Control Page .............................................................124
Element Address Assignment Page ...................................................................................125
Transport Geometry Mode Page ........................................................................................ 127
Device Capabilities Page ...................................................................................................128
Mode Sense (10) .....................................................................................................................132
Mode Sense (10) Data ........................................................................................................135
Mode Sense (10) Parameter Header Definition ...................................................................136
Fibre Channel Disconnect/Reconnect Page (HP Bridged) ..................................................137
SAS Disconnect/Reconnect Page (HP Bridged) .................................................................139
Fibre Channel Logical Unit Page (HP Bridged) ..................................................................141
SAS Logical Unit Page (HP Bridged) .................................................................................142
Fibre Channel Port Control Page (HP Bridged) ..................................................................143
SAS Port Control Page (HP Bridged) .................................................................................146
SAS Phy Control and Discover Mode Subpage (HP Bridged) .............................................148
SAS Shared Port Control Mode Subpage (HP Bridged) ......................................................151
SAS Enhanced Phy Control Subpage (HP Bridged) ............................................................152
Informational Exceptions TapeAlert Control Page .............................................................155
Element Address Assignment Page ...................................................................................156
Transport Geometry Mode Page ........................................................................................ 158
Device Capabilities Page ...................................................................................................159
Move Medium ....................................................................................................................... 163
Persistent Reserve In ..............................................................................................................165
Read Keys Data .................................................................................................................166
Read Reservations Data ..................................................................................................... 167
Report Capabilities Data ...................................................................................................169
Read Full Status Data ........................................................................................................171
Persistent Reserve Out ...........................................................................................................175
Position to Element ................................................................................................................179
Prevent/Allow Medium Removal ..........................................................................................180
Read Element Status ..............................................................................................................181
Read Element Status Data .................................................................................................183
Element Status Data Header Definition .............................................................................183
Element Status Page Header Definition .............................................................................184
Medium Transport Element Descriptor Definition .............................................................186
Storage Element Descriptor Definition ..............................................................................191
Import/Export Element Descriptor Definitions .................................................................195
Data Transfer Element Descriptor Definitions ...................................................................200
Data Transfer Element Descriptor Definitions ...................................................................205
Release (6) .............................................................................................................................210
Release (10) ............................................................................................................................ 211
Report LUNS .........................................................................................................................212
6 SL150 Interface Reference Manual Julyl 2017
Report LUNs Data Definition ............................................................................................213
Report Target Port Groups (HP Bridged) ................................................................................214
Report Target Port Group Data Definitions .......................................................................215
Target Port Group Descriptor Data ....................................................................................215
Target Port Descriptor Data ............................................................................................... 217
Request Sense .......................................................................................................................218
Sense Data ........................................................................................................................219
Request Sense Data Definitions .........................................................................................220
Sense Key ..........................................................................................................................222
Additional Sense Codes and Qualifiers ..............................................................................222
No Sense Key ....................................................................................................................223
Not Ready Sense Key Codes ..............................................................................................223
Medium Errors Sense Key Codes ......................................................................................224
Hardware Error Sense Key ................................................................................................225
Illegal Request Sense Key ..................................................................................................226
Unit Attention Sense Key ..................................................................................................227
Aborted Command Sense Key ...........................................................................................229
Request Volume Element Address .........................................................................................231
Volume Element Address Header Definition .....................................................................233
Reserve (6) ............................................................................................................................. 234
Reserve (10) ........................................................................................................................... 235
Other Commands and Reservations ..................................................................................236
Send Diagnostic .....................................................................................................................237
Send Volume Tag ................................................................................................................... 238
Send Volume Tag Parameter List ...................................................................................... 239
Test Unit Ready .....................................................................................................................240
A Locations ...............................................................................................................................241
Library Walls ......................................................................................................................... 241
Tape Slot Locations ................................................................................................................ 241
Element Mapping .............................................................................................................242
Library Configuration and Slot Maps ................................................................................243
Capacity ...........................................................................................................................247
Diagnostic and Cleaning Cartridge Locations ....................................................................247
B Partitioning Overview ........................................................................................................249
Partitioning—General ............................................................................................................249
Partitioning—Feature............................................................................................................. 250
Partitioning—Access Control ............................................................................................250
Partitioning—Shared Mailslot Behavior ............................................................................252
Partitioning—Removing the Feature .................................................................................254
..............................................................................................................................................254
Glossary .................................................................................................................................255
Index ........................................................................................................................................265
Julyl 2017 List of Figures 7
List of Figures
FIGURE A-1 Non-Partitioned 1 Module Library with No Reserved Cells and the Standard Mailslot
Configuration 243
FIGURE A-2 Non-Partitioned 2 Module Library with No Reserved Cells and the Expanded Mailslot
Configuration 244
FIGURE A-3 Non-Partitioned 10 Module Library with 3 Reserved Cells and the Standard Mailslot Con-
figuration 245
FIGURE A-4 Non-Partitioned 15 Module Library with 3 Reserved Cells and the Standard Mailslot Con-
figuration 246
FIGURE B-1 Example of a 10 Modular Tape Library with 2 Partitions, 3 Reserved Cells, and the Stan-
dard Mailslot Configuration 251
8 SL150 Interface Reference Manual Julyl 2017
Julyl 2017 List of Tables 9
List of Tables
TABLE 3-1 Reserve/Release Management Method ...................................................................... 22
TABLE 3-2 Persistent Reservation Management Method .............................................................. 23
TABLE 4-1 6-Byte Command Descriptor Block............................................................................. 26
TABLE 4-2 10-Byte Command Descriptor Block ........................................................................... 26
TABLE 4-3 12-byte Command Descriptor Block ........................................................................... 26
TABLE 4-4 Control Byte............................................................................................................... 27
TABLE 4-5 Supported Commands ............................................................................................... 28
TABLE 4-6 Initialize Element Status Command............................................................................ 30
TABLE 4-7 Initialize Element Status With Range Command......................................................... 31
TABLE 4-8 Inquiry Command..................................................................................................... 32
TABLE 4-9 Standard Inquiry Data (HP Bridged) .......................................................................... 34
TABLE 4-10 Standard Inquiry Data (IBM Bridged)......................................................................... 37
TABLE 4-11 Supported Pages ........................................................................................................ 40
TABLE 4-12 Unit Serial Number Page............................................................................................ 41
TABLE 4-13 Device Identification Page Data (HP Bridged) ............................................................ 42
TABLE 4-14 IEEE Registered Name ............................................................................................... 44
TABLE 4-15 Device Identification Page Data (IBM Bridged)........................................................... 45
TABLE 4-16 SCSI Ports Page Data.................................................................................................. 47
TABLE 4-17 SCSI Port Identification Descriptor Data..................................................................... 48
TABLE 4-18 Vendor Specific Device Capabilities Page (HP LTO-6 Bridged Tape Drive) ................. 49
TABLE 4-19 Log Sense Command.................................................................................................. 50
TABLE 4-20 Supported Pages Format Page.................................................................................... 51
TABLE 4-21 Last n Errors Events Page Format............................................................................... 52
TABLE 4-22 Informational Exceptions TapeAlert Page Format....................................................... 53
TABLE 4-23 TapeAlert Flags.......................................................................................................... 54
TABLE 4-24 Mode Select (6) Command ......................................................................................... 56
TABLE 4-25 Mode Select Parameter (6) Header.............................................................................. 58
TABLE 4-26 Fibre Channel Disconnect/Reconnect Page ................................................................ 59
TABLE 4-27 SAS Disconnect/Reconnect Page................................................................................ 61
TABLE 4-28 Fibre Channel Logical Unit Page ................................................................................ 63
TABLE 4-29 SAS Logical Unit Page................................................................................................ 64
TABLE 4-30 Fibre Channel Port Control Page ................................................................................ 65
TABLE 4-31 SAS Port Control Page................................................................................................ 68
TABLE 4-32 SAS Phy Control and Discover Mode Subpage ........................................................... 70
TABLE 4-33 SAS Phy Mode Descriptor Data.................................................................................. 71
TABLE 4-34 Informational Exceptions TapeAlerts Page ................................................................. 73
TABLE 4-35 Mode Select (6) Element Address Assignment Mode Page.......................................... 75
TABLE 4-36 Mode Select (10) Command........................................................................................ 78
TABLE 4-37 Mode Select Parameter Header................................................................................... 80
TABLE 4-38 Fibre Channel Disconnect/reconnect Page ................................................................. 81
TABLE 4-39 SAS Disconnect/Reconnect Page................................................................................ 83
TABLE 4-40 Fibre Channel Logical Unit Page ................................................................................ 85
TABLE 4-41 SAS Logical Unit Page................................................................................................ 86
10 SL150 Interface Reference Manual Julyl 2017
TABLE 4-42 Fibre Channel Port Control Page ................................................................................ 87
TABLE 4-43 SAS Port Control Page................................................................................................ 90
TABLE 4-44 SAS Phy Control and Discover Mode Subpage ........................................................... 92
TABLE 4-45 SAS Phy Mode Descriptor Data.................................................................................. 93
TABLE 4-46 Informational Exceptions TapeAlert Page................................................................... 95
TABLE 4-47 Element Address Assignment Mode Page .................................................................. 97
TABLE 4-48 Mode Sense Command............................................................................................. 100
TABLE 4-49 Mode Sense (6) Parameter Header............................................................................ 104
TABLE 4-50 Fibre Channel Disconnect/Reconnect Page .............................................................. 105
TABLE 4-51 SAS Disconnect/Reconnect Page.............................................................................. 107
TABLE 4-52 Fibre Channel Logical Unit Page .............................................................................. 109
TABLE 4-53 SAS Logical Unit Page.............................................................................................. 110
TABLE 4-54 Fibre Channel Port Control Page ............................................................................... 111
TABLE 4-55 SAS Port Control Page.............................................................................................. 114
TABLE 4-56 SAS Phy Control and Discover Mode Subpage ......................................................... 116
TABLE 4-57 SAS Phy Mode Descriptor Data................................................................................ 117
TABLE 4-58 SAS Shared Control Mode Subpage.......................................................................... 119
TABLE 4-59 SAS Enhanced Phy Control Mode Subpage .............................................................. 120
TABLE 4-60 Enhanced Phy Control Mode Descriptor Data .......................................................... 121
TABLE 4-61 Phy Capabilities Data ............................................................................................... 122
TABLE 4-62 Informational Exceptions TapeAlert Control Page .................................................... 124
TABLE 4-63 Mode Sense (6) Element Address Assignment Page.................................................. 125
TABLE 4-64 Transport Geometry Mode Page............................................................................... 127
TABLE 4-65 Device Capabilities Page .......................................................................................... 128
TABLE 4-66 Mode Sense (10) Command...................................................................................... 132
TABLE 4-67 Mode Sense (10) Parameter Header Page.................................................................. 136
TABLE 4-68 Fibre Channel Disconnect/Reconnect Page (HP Bridged) ......................................... 137
TABLE 4-69 SAS Disconnect/Reconnect Page (HP Bridged) ........................................................ 139
TABLE 4-70 Fibre Channel Logical Unit Page .............................................................................. 141
TABLE 4-71 SAS Logical Unit Page.............................................................................................. 142
TABLE 4-72 Fibre Channel Port Control Page .............................................................................. 143
TABLE 4-73 SAS Port Control Page.............................................................................................. 146
TABLE 4-74 SAS Phy Control and Discover Mode Subpage ......................................................... 148
TABLE 4-75 SAS Phy Mode Descriptor Data................................................................................ 149
TABLE 4-76 SAS Shared Port Control Subpage ............................................................................ 151
TABLE 4-77 SAS Enhanced Phy Control Mode Subpage .............................................................. 152
TABLE 4-78 Enhanced Phy Control Mode Descriptor Data .......................................................... 153
TABLE 4-79 Phy Capabilities Data ............................................................................................... 154
TABLE 4-80 Informational Exceptions TapeAlert Control Page .................................................... 155
TABLE 4-81 Element Address Assignment Page .......................................................................... 156
TABLE 4-82 Transport Geometry Mode Page............................................................................... 158
TABLE 4-83 Device Capabilities Page .......................................................................................... 159
TABLE 4-84 Move Medium Command ........................................................................................ 163
TABLE 4-85 Persistent Reserve In Command ............................................................................... 165
TABLE 4-86 Read Keys Data........................................................................................................ 166
TABLE 4-87 Read Reservations Data............................................................................................ 167
TABLE 4-88 Reservation Descriptors Format ............................................................................... 168
TABLE 4-89 Report Capabilities Data........................................................................................... 169
TABLE 4-90 Read Reservations Parameter Data ........................................................................... 170
TABLE 4-91 Read Full Status Data ............................................................................................... 171
TABLE 4-92 Read Full Status Descriptor Data .............................................................................. 172
TABLE 4-93 Fibre Channel Transport ID Data.............................................................................. 173
TABLE 4-94 SAS Transport ID Data ............................................................................................. 174
TABLE 4-95 Persistent Reserve Out Command ............................................................................ 175
Julyl 2017 List of Tables 11
TABLE 4-96 Persistent Reserve Out Parameter List ...................................................................... 177
TABLE 4-97 Persistent Reserve Out Service Actions and Valid Parameters................................... 178
TABLE 4-98 Service Action Reservation Key Information............................................................. 178
TABLE 4-99 Position to Element Command ................................................................................. 179
TABLE 4-100 Prevent/Allow Medium Removal Command........................................................... 180
TABLE 4-101 Read Element Status Command ............................................................................... 181
TABLE 4-102 Element Status Data Header Definition .................................................................... 183
TABLE 4-103 Element Status Page Header..................................................................................... 184
TABLE 4-104 Medium Transport Element Descriptor .................................................................... 186
TABLE 4-105 Storage Element Descriptor ...................................................................................... 191
TABLE 4-106 Import/Export Element Descriptor .......................................................................... 195
TABLE 4-107 Data Transfer Element Descriptor When DvcID = 0 .................................................. 200
TABLE 4-108 Data Transfer Element Descriptor When DvcID = 1 .................................................. 205
TABLE 4-109 Release Command (6)............................................................................................... 210
TABLE 4-110 Release (10) Command............................................................................................. 211
TABLE 4-111 Report LUNs Command .......................................................................................... 212
TABLE 4-112 Report LUNs Data.................................................................................................... 213
TABLE 4-113 LUN Descriptor ....................................................................................................... 213
TABLE 4-114 Report Target Port Groups Command ...................................................................... 214
TABLE 4-115 Report Target Port Groups Data ............................................................................... 215
TABLE 4-116 Target Port Group Descriptor Data........................................................................... 215
TABLE 4-117 Target Port Descriptor Data...................................................................................... 217
TABLE 4-118 Request Sense Command ......................................................................................... 218
TABLE 4-119 Request Sense Data .................................................................................................. 220
TABLE 4-120 Sense Key Code Descriptions ................................................................................... 222
TABLE 4-121 No Sense Keys.......................................................................................................... 223
TABLE 4-122 Not Ready Sense Keys.............................................................................................. 223
TABLE 4-123 Medium Error Sense Keys ........................................................................................ 224
TABLE 4-124 Hardware Error Sense Keys ..................................................................................... 225
TABLE 4-125 Illegal Request Sense Keys........................................................................................ 226
TABLE 4-126 Unit Attention Sense Keys........................................................................................ 227
TABLE 4-127 Aborted Command Sense Keys ................................................................................ 229
TABLE 4-128 Request Volume Element Address Command .......................................................... 231
TABLE 4-129 Volume Element Address Header ............................................................................ 233
TABLE 4-130 Reserve Command................................................................................................... 234
TABLE 4-131 Reserve (10) Command ............................................................................................ 235
TABLE 4-132 Send Diagnostic Command ...................................................................................... 237
TABLE 4-133 Send Volume Tag Command.................................................................................... 238
TABLE 4-134 Send Volume Tag Parameter List.............................................................................. 239
TABLE 4-135 Test Unit Ready Command ...................................................................................... 240
TABLE A-1 Starting Element Address and Maximum Number of Elements ................................ 242
TABLE A-2 Numbering Key ....................................................................................................... 242
TABLE A-3 Storage Slot, Mailslot, and Tape Drive Slots for Different Configurations.................. 247
TABLE B-1 SCSI Commands Affected by the Shared Mailslot Assignment ................................. 253
TABLE B-2 Shared Mailslot Door Locked/Unlocked Conditions ................................................ 254
12 SL150 Interface Reference Manual Julyl 2017
Julyl 2017 Preface 13
Preface
This interface reference manual is intended for independent software vendors (ISVs),
operating system designers and developers, hardware engineers, and software
engineers responsible for implementing Oracle’s StorageTek version of the small
computer system interface (SCSI) for the SL150 tape library referred to in this manual
as “the SL150 library,” or “the library”.
This manual contains information about the small computer systems interface (SCSI),
including library features, partitioning considerations, SCSI commands, status, and
sense data. The SL150 library supports SCSI commands over a Fibre Channel
interface (FC) or Serial Attached SCSI interface (SAS).
Access to Oracle Support
Oracle customers have access to electronic support through My Oracle Support. For
information, visit http://www.oracle.com/pls/topic/lookup?ctx=acc&id=info or
visit http://www.oracle.com/pls/topic/lookup?ctx=acc&id=trs if you are hearing
impaired.
14 SL150 Interface Reference Manual Julyl 2017
Julyl 2017 General Information 15
1
General Information
This manual describes the SCSI Media Changer (SMC) Command set for
Oracle's StorageTek SL150 Modular Tape Library System.
The SL150 library uses designated tape drives as the interface to the library or
partition. The bridged tape drive determines the destination for commands based on
the Logical Unit Number (LUN) that is sent with the command:
LUN 0: SCSI Stream Commands processed by the tape drive.
LUN 1: SCSI Media Changer commands that are passed to the library.
Fibre Channel (FC) and Serial Attached SCSI (SAS) tape drives are supported as the
Bridged SCSI interface to the library. The library uses one of the following tape drives
as the Bridged SCSI interface:
Hewlett Packard (HP) LTO-5 (FC or SAS)
Hewlett Packard (HP) LTO-6 (FC or SAS)
International Business Machines (IBM) LTO-6 (FC or SAS)
International Business Machines (IBM) LTO-7 (FC or SAS)
Serial Attached SCSI
Serial Attached SCSI is a computer bus that moves data to and from devices; for
example, tape drives. The SAS interface is a point-to-point serial protocol that uses
the standard SCSI command set.
The T10 technical committee of the International Committee for Information
Technology Standards (INCITS) develops and maintains the SAS protocol.
Overview
Serial connection
Multiple Initiator Support
Gigabit per second data transfer rates
Scalable for media rates, distance, media, and protocols
Components
A typical Serial Attached SCSI system consists of the following basic components:
1. Initiators: A device that originates requests for processing by a target.
The Fibre Channel Standard
16 SL150 Interface Reference Manual Julyl 2017
2. Targets: A device (SL150 library tape drives) containing logical units and target
ports that receives requests for processing and sends responses to an initiator. The
target device for this document is an HP LTO-5, HP LTO-6, IBM LTO-6 or IBM
LTO-7 tape drive.
3. Expanders: Devices that provide large storage environments the ability to connect
multiple targets and initiators through a switched device for scalability and
redundancy. SAS benefits include improved performance, simplified cabling with
the mini SAS connectors (iPass), and lower power requirements.
The Fibre Channel Standard
The SL150’s implementation of Fibre Channel conforms to the American National
Standards Institute (ANSI), National Committee for Information Technology
Standards (NCITS) formerly X3.
Overview
Serial connection: Copper (electrical) or Fiber (optical) transmissions
Multiple Initiator Support
Information transparent
100 MB/s data transfer rates (and higher)
Scalable for media rates, distance, media, and protocols
Implementation
Library:
Arbitrated loop
FCP (SCSI-3) command set for medium changer devices
Class 3 level of service
Private Loop operation
Public Loop operation
Direct fabric attach operation
Hard-assigned port addresses (AL-PA)
Basic and extended link services
Connections to an external hub (or switch)
Data transfer rates of 100 MB/s
Standard approved length shortwave fibre optic cables
Multimode laser operating at 780 nanometers (shortwave) non–OFC
Hub:
Multiple ports
Standard approved length fibre optic and copper cables
Multimode laser operating at 780 nanometers (shortwave) non–OFC
Single mode laser operating at 1300 nanometers (longwave)
Cascading hub attachments
Gigabit Interface Converter (GBIC) connections in the hub
Switch:
AttachmentAttachment to FL_Ports is supported.
Related Publications
Julyl 2017 General Information 17
Related Publications
For your convenience, the following section lists publications that provide
information about the interfaces and libraries mentioned in this manual.
Listed publications are subject to change without notice.
Publication Part Number
American National Standard Dictionary for
Information Processing Systems
X3/TR-1-82
SCSI–3 Primary Commands (SPC) X3.301–1997
SCSI–3 Primary Commands (SPC–2) T10/Project 1236D
SCSI–3 Medium Changer Commands (SMC) T10/Project 1730D
SCSI–3 Architecture Model (SAM) X3.270–1996
SCSI Architecture Model 2 (SAM–2) T10/Project 1157D
Serial Attached SCSI-2 (SAS-2) T10/Project 1760D Revision 16
Fibre Channel Physical and Signaling Interface
(FC–PH)
X3.230–1994 Revision 4.3
X3.230–1996 (Amendment 1)
X3.230–1997 (Amendment 2)
Fibre Channel Physical and Signaling Interface
(FC–PH–2)
X3.297–1996 Revision 7.4
Fibre Channel Physical and Signaling Interface
(FC–PH–3)
X3.303–199x Revision 9.3
Fibre Channel Arbitrated Loop (FC–AL) X3.272–1996 Revision 4.5
Fibre Channel Arbitrated Loop (FC–AL–2) X3.272–199x Revision 7.0
Fibre Channel Protocol for SCSI (FCP) X3.269–1996 Revision 12
Fibre Channel Protocol for SCSI (FCP–2) T10/Project 1144D Revision 01
Fibre Channel Tape (FC–Tape) NCITS TR–XX Revision 1.17
Related Publications
18 SL150 Interface Reference Manual Julyl 2017
Julyl 2017 Host Application Best Practices 19
2
Host Application Best Practices
Running on Both Fibre Channel or SAS Ports
When the drive has 2 ports, Oracle recommends that Host Application treat the
second SL150 drive port as a fail over port. The library may report a CHECK
CONDITION to a command received on one port, when the other port is already
busy with a library command. When a host application receives either of the
following new CHECK CONDITIONs, it should reissue the command:
Not Ready, Logical Unit Offline (02/04/12h)
Aborted Command, Logical Unit Communication Failure (0Bh/08/00)
No Sense, Operation in Progress (00/00/16h)
Logical Unit Number Addressing
LUN 0 is used to communicate with the tape drive.
LUN 1 is used to communicate with the SL150 library.
Drive Element Addressing Mode Configuration
The administrator for the SL150 Modular Tape Library can chose one of the following
two drive element addressing modes. The mode chosen affects the way SCSI element
addresses are reported over the library SCSI interface.
Address All Drive Slots
Address Installed Drives Only
Address All Drive Slots
Setting the mode to Address All Drive Slots results in the following:
All drive slots (empty or installed) are reported to the host application over the
library SCSI interface. Using this mode allows for the addition of new tape drives
without restarting the library.
Each drive and empty drive bay is assigned a drive SCSI Element Address. Drive
element addresses are assigned sequentially starting at 500 for each partition from
the topmost drive in the partition to the bottom drive in the partition. Similarly,
for non-partitioned libraries, drive element address are also assigned sequentially
starting at 500 from the top of the library to the bottom of the library.
Drive Element Addressing Mode Configuration
20 SL150 Interface Reference Manual Julyl 2017
A SCSI MODE SENSE command requesting the Element Address Assignment
page will end in Good status. The total number of data transfer elements reported
will include empty drive bays.
A SCSI READ ELEMENT STATUS command that includes an empty drive slot
will end in Good status. The Data Transfer Element Descriptor data for the empty
drive slot will return the ED bit set to 1 (disabled) and an exception condition
indicating an Empty Drive Bay; the Except Bit will be set to 1, the ASC field will
be set to 3Bh, and the ASCQ field will be set to 1Ah.
A SCSI MOVE command from an empty drive slot will end in Check Condition
Status. The sense data will indicate Illegal Request, Source Empty (Sense Key = 5h,
ASC = 3Bh, ASCQ = 0Eh).
A SCSI MOVE command to an empty drive slot will end in Check Condition
Status. The sense data will indicate Illegal Request, Empty Drive Bay (Sense Key =
5h, ASC = 3Bh, ASCQ = 1Ah).
A SCSI POSITION TO ELEMENT command to an empty drive slot will end in
Good Status. The robot will move in front of the empty drive bay.
Address Installed Drives Only
Setting the mode to Address Installed Drives Only results in the following:
Only drives present at initialization are reported to a host application over the
library SCSI interface. If a new drive is added, the library must be rebooted before
the new drive can be used by a host application.
Each installed drive is assigned a drive SCSI Element Address during library
initialization. Drive element addresses are assigned sequentially starting at 500 for
each partition from the topmost drive in the partition to the bottom drive in the
partition. Similarly, for non-partitioned libraries, drive element address are also
assigned sequentially starting at 500 from the top of the library to the bottom of
the library.
A SCSI MODE SENSE command requesting the Element Address Assignment
page will end in Good status. The total number of data transfer elements reported
will include only the number of drives found to be present at initialization.
If a drive is removed, a SCSI READ ELEMENT STATUS command for the now
empty drive slot will end in Good status. The Data Transfer Element Descriptor
data for the empty drive slot will return the ED bit set to 1 (disabled) and an
exception condition indicating a Tape Drive error; the Except Bit will be set to 1,
the ASC field will be set to 40h, and the ASCQ field will be set to 02h.
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100
  • Page 101 101
  • Page 102 102
  • Page 103 103
  • Page 104 104
  • Page 105 105
  • Page 106 106
  • Page 107 107
  • Page 108 108
  • Page 109 109
  • Page 110 110
  • Page 111 111
  • Page 112 112
  • Page 113 113
  • Page 114 114
  • Page 115 115
  • Page 116 116
  • Page 117 117
  • Page 118 118
  • Page 119 119
  • Page 120 120
  • Page 121 121
  • Page 122 122
  • Page 123 123
  • Page 124 124
  • Page 125 125
  • Page 126 126
  • Page 127 127
  • Page 128 128
  • Page 129 129
  • Page 130 130
  • Page 131 131
  • Page 132 132
  • Page 133 133
  • Page 134 134
  • Page 135 135
  • Page 136 136
  • Page 137 137
  • Page 138 138
  • Page 139 139
  • Page 140 140
  • Page 141 141
  • Page 142 142
  • Page 143 143
  • Page 144 144
  • Page 145 145
  • Page 146 146
  • Page 147 147
  • Page 148 148
  • Page 149 149
  • Page 150 150
  • Page 151 151
  • Page 152 152
  • Page 153 153
  • Page 154 154
  • Page 155 155
  • Page 156 156
  • Page 157 157
  • Page 158 158
  • Page 159 159
  • Page 160 160
  • Page 161 161
  • Page 162 162
  • Page 163 163
  • Page 164 164
  • Page 165 165
  • Page 166 166
  • Page 167 167
  • Page 168 168
  • Page 169 169
  • Page 170 170
  • Page 171 171
  • Page 172 172
  • Page 173 173
  • Page 174 174
  • Page 175 175
  • Page 176 176
  • Page 177 177
  • Page 178 178
  • Page 179 179
  • Page 180 180
  • Page 181 181
  • Page 182 182
  • Page 183 183
  • Page 184 184
  • Page 185 185
  • Page 186 186
  • Page 187 187
  • Page 188 188
  • Page 189 189
  • Page 190 190
  • Page 191 191
  • Page 192 192
  • Page 193 193
  • Page 194 194
  • Page 195 195
  • Page 196 196
  • Page 197 197
  • Page 198 198
  • Page 199 199
  • Page 200 200
  • Page 201 201
  • Page 202 202
  • Page 203 203
  • Page 204 204
  • Page 205 205
  • Page 206 206
  • Page 207 207
  • Page 208 208
  • Page 209 209
  • Page 210 210
  • Page 211 211
  • Page 212 212
  • Page 213 213
  • Page 214 214
  • Page 215 215
  • Page 216 216
  • Page 217 217
  • Page 218 218
  • Page 219 219
  • Page 220 220
  • Page 221 221
  • Page 222 222
  • Page 223 223
  • Page 224 224
  • Page 225 225
  • Page 226 226
  • Page 227 227
  • Page 228 228
  • Page 229 229
  • Page 230 230
  • Page 231 231
  • Page 232 232
  • Page 233 233
  • Page 234 234
  • Page 235 235
  • Page 236 236
  • Page 237 237
  • Page 238 238
  • Page 239 239
  • Page 240 240
  • Page 241 241
  • Page 242 242
  • Page 243 243
  • Page 244 244
  • Page 245 245
  • Page 246 246
  • Page 247 247
  • Page 248 248
  • Page 249 249
  • Page 250 250
  • Page 251 251
  • Page 252 252
  • Page 253 253
  • Page 254 254
  • Page 255 255
  • Page 256 256
  • Page 257 257
  • Page 258 258
  • Page 259 259
  • Page 260 260
  • Page 261 261
  • Page 262 262
  • Page 263 263
  • Page 264 264
  • Page 265 265
  • Page 266 266

Oracle storagetek sl150 Reference guide

Type
Reference guide

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI