The present invention relates to automated data storage libraries that manage the loading and unloading of portable data storage media, such as tapes, to/from media drives as well as data exchange occurring with media loaded in such drives. More particularly, the invention concerns a data storage library featuring a dual purpose data/control path between a host computer and a media drive, this path conveying control signals and data between the host and drive, and also conveying robotic mover signals from the host via a bridge to the robotic device, to drive the robotic device, which is coupled to the bridge.
One of the most popular types of mass storage systems today is the data storage “library”. Generally, a data storage library handles a great number of commonly housed portable (“removable”) data storage media, such as DLT, SDLT, LTO, AIT etc. Tapes, which are transported among various storage bins and read/write media drives by a robotic device. These libraries have become popular for many reasons. First the portable data storage media, usually a magnetic tape or an optical media, are typically quite inexpensive relative to other storage formats such as magnetic disk drives. Furthermore, libraries are easily expanded to accommodate more data, by simply adding more items of media. Additionally, most libraries can be easily updated with new equipment as it comes onto the market. For example, a new media drive may be introduced to the library to supplement or replace the existing media drives.
A number of different companies manufacture libraries today, each model displaying various different features and operating principles.
One area of focus is cost reduction and more particularly, cutting hardware costs by designing libraries that share various components. It is often difficult, however, to design components that perform multiple functions or that respond to plural master units. Frequently, this level of flexibility requires the addition of a cumbersome layer of coordinating or supervising software code, which can ultimately reduce the performance of other unrelated aspects of the library. For instance, developing software to enable multiple incompatible hosts to manage a shared inventory of media items may be prohibitively difficult or expensive in many situations.
In other cases, a shared component may need to include another port for each host, thus increasing the hardware cost of the shared component. Furthermore, some configurations experience incompatibility when multiple components share a bus or other features, resulting in reduced or lost data availability. Thus, engineers are confronted with a number of difficult challenges in their quest to consolidate components in a data storage library to reduce hardware expenses.
Normally the library and the drives are connected to host using SCSI as a communication protocol on a parallel or serial copper or fibre bus. Each component has its own SCSI address. Since the library and its robotic controller have only a very small data exchange in comparison to the drives, makes separate SCSI controller for the library very expensive.
The U.S. Pat. No. 6,434,090 B1 discloses a library, wherein the library controller is directly connected to the drive using the SCSI controller of the drive. This approach leads to limitations since the drive manufactures are using third party libraries, in which they install their drives. The library manufacturers try to keep their design independent from the drive design, to have the opportunity to equip the libraries with different drive types, such as LTO, SDLT, AIT, DAT, VX etc. To build a library based on the idea of the above-mentioned patent, a strong change of the actual drive design and firmware has to be made, which leads to a restricted application for only a few libraries.
U.S. Pat. No. 6,766,412 B2 discloses a micro bridge board, which has connectors to the host, the library and the drive. Each drive has a micro bridge board, wherein the library controller is connected to the host over the micro bridge board. The approach of this invention is to provide the optimal bridge performance to every drive, which allows replacing slow drives by faster drives, without the limitation of a central bridge. The library controller gets its control information based on the main address of the SCSI protocol. The micro bridges have no switching function which still leads to an expensive library controller.
Typically, media loaders (e.g. tape cartridge loaders) operate in accordance with a standardized command structure. Such a command structure can be found in the Small Computer System Interface-2 draft standard X3T9.2 Project 375D (ANSI X3.131-199X). In this particular industry specification, a medium changer device includes a medium transport element, at least one storage element and a data transfer element. An import/export element may also be supported. A storage element is identified as a storage slot for storing a standard medium unit, such as a disk or a tape cartridge. In order to access data on a standard medium unit, a host system issues commands to both the medium loader and to the drive.
The commands to the loader may include “move medium”; or, “exchange medium” and “read element status”. Commands directed by the host to the drive may include “test unit ready”, “inquiry”, “start-stop” and “load-unload” commands, in addition to the obvious “read/write” commands. One important characteristic about this command structure is that the logical address of the drive is supplied to the media loader as a destination, as well as to the drive itself for subsequent read or write operations from or to the selected and automatically loaded medium unit.
Individually, the data throughput rates of typical open systems tape drives range between 5 and 160 megabytes per second, and these throughput rates are increasing with new versions of tape drives. This data rate must be effectively doubled internally by a data router or bridge between the tape drives and the host system, which must simultaneously receive data from the host system and send data to the target tape drives. At a tape library system level, such throughput requirements must then be multiplied by the number of tape drives in the library to represent the aggregate data rate for the library system. This places internal throughput requirements on tape libraries at over e.g. 320 Mbytes per second.
In conventional libraries, several tape drives are connected to a high bandwidth bridge for data transfer between the tape drives and the host computers. As a result, due to high throughout demands, typical bridge devices in conventional libraries perform no data processing.
Conventional library Fibre Channel bridge implementations are either one Fibre Channel interface to several SCSI bus interfaces, or several Fibre Channel interfaces to several SCSI bus interfaces using the Fibre Channel protocol. Also, conventional libraries are limited in their protocol conversions to encapsulation/de-encapsulation, such as encapsulating SCSI protocol within Fibre Channel Protocol.
Especially when performing bridging operations, where the host is connected to the library with another bus or network than the drive, a high number of additional components have to be developed and produced to maintain functionality. This leads to higher costs and more points of failure.
The present invention alleviates the aforementioned shortcomings of conventional libraries. In one embodiment the present invention provides a data storage library for managing a plurality of portable data storage media items, such as a tape library, comprising a robotic device responsive to robotic-media-mover commands to transport the media items, such as tapes, among media locations including media storage bins or slots and one or more media drives including at least one robotic interface. This interface is very often a slow serial connection like RS 232, RS 422, RS 485, I2C, TTL or USB, other slow and cheap connections are possible, since the data volume is, in comparison to the data volume which has to be sent to the library, small. Furthermore the library comprises one or more media drives, configured to receive removable media items, such as tapes (DLT, AIT, SDLT, LTO etc.), and exchange data therewith. Each said drive includes at least one drive interface to receive thereon read/write data commands directing an exchange of data with a media item received by the media drive. This interface is very often parallel or serial SCSI or Fibre Channel (copper or fibre optic based), other interfaces are also possible like Serial ATA (SATA), ATA, firewire, USB, iSCSI.
A fibre channel to SCSI bridge allows to use cheaper drives. Further the serial connection is a cheap solution.
A further component of the invention is a bridge controller comprising one or more host interfaces to receive read/write data commands and robotic-media-mover commands from a host and comprising one or more drive interfaces connected to one or more of the media drives to forward the read/write data commands to the media drive. Bridging is always necessary when different types of interfaces are used on the host side and the drive side. As mentioned above, the bridge only performs a packing and unpacking of information and forwards them.
The bridge controller also comprises a robotic interface connected to the robotic device, to forward the robotic-media-mover commands to the robotic device. All the commands are tagged with a main address, such as the SCSI ID address, wherein the read/write data commands comprise a main address to address the target media drive, and the robotic-media-mover commands comprise the main address and a sub address, such as the SCSI LUN. Also other protocols with main and sub addresses can be used.
The bridge controller is configured to detect the robotic-media-mover commands based on the sub address to forward the robotic-media-commands over the robotic interface to the robotic device and vice versa. The read/write data commands are forwarded over the drive interface to the media drive, as a standard bridge would do. Using this design, additional expensive library controllers, such as a SCSI or FC controller for the library, can be saved. The bridge controller performs two bridging operations (host to drive, host to robotic controller) and further a switching operation concerning commands tagged with a sub address.
In another embodiment having a plurality of drive or host interfaces the bridge also performs switching operations on the basis of the main address to forward the messages to the right drive or host.
In another embodiment the bridging and switching operations are performed by a remote management unit (RMU) that is often connected through an Ethernet cable to the IP network. Other networks might also be supported. The RMU provides status information and executes some operation commands, which are normally performed just in front of the library, but the RMU allows the execution from a remote place. The RMU is not integrated into operations and commands sent by the standard backup software such as Veritas Backup exec etc. since the data exchange is based on http or https. The invention modifies the function of the RMU by connecting it to the robotic device and performing bridging operations based on an IP-Protocol such as iSCSI, to connect the robotic device to the host.
Thus, in one embodiment the invention may be implemented to provide an apparatus comprising a data storage library. In another embodiment the invention may be implemented to provide a method to operate a data storage library. In still another embodiment, the invention may be implemented to provide a signal bearing medium tangibly embodying a program of machine-readable instructions executable by a digital data processing apparatus to perform method steps to operate a data storage library.
The invention affords its users with a number of distinct advantages. Significantly, the invention may be implemented to save hardware costs, since no additional controllers are necessary for the robotic controller. Furthermore, the invention avoids complicated host software that would otherwise be required to operate shared components. In addition, reducing the number of components leads to a smaller number of points of failure. Also, the library of the invention is beneficial because it enables a heterogeneous mix of otherwise incompatible hosts to share a single robotic device and a common inventory of media items. The invention also provides a number of other advantages and benefits, which should be apparent from the following description of the invention.
For a more complete understanding of the present invention, reference is established to the following description made in connection with accompanying drawings in which:
Further the SCSI Drive is connected to the robotic controller to exchange status information and control information. A possible command could be loading and unloading of a tape. The robotic controller is connected to a robot (not shown) that transports tapes from one slot or bin (not shown) to another or to the drive.
The robotic device includes a processing unit to interpret the SCSI commands forwarded from the bridge controller. These commands are interpreted by a software interpreter that can be modified by a firmware update.
In another embodiment the bridge controllers has further a memory to store information about the status of the robotic device or the inventory of the slots. This speeds up the processing time, since the commands requesting these information can be answered by the bridge controller itself. The necessary information is transferred from the library controller to the bridge controller periodically from time to time or after a defined event. The library controller can combine the robotic controller and the library interface controller in a possible embodiment.
In a preferred embodiment the bridging controller is a separate board with cable connectors, for the host(s), drive(s) and robotic controller. In a possible embodiment the board is ready to use different types and numbers of host interfaces and drive interfaces to optimize the layout. Depending on the library a plurality of host interfaces or drive interfaces can be activated by the firmware or by other switches on the board. Further the drives may be connected to the robotic controller via a serial bus.
Nowadays a lot of the libraries are equipped with a remote management unit (RMU). This RMU is connected to the IP network using a RMU interface to provide information about the unit. Very often the network connection is established by the http(s) protocol. The RMU comprises a web server that allows a remote management of the unit. The system administrator has not to go to the front panel of the library to execute operations, when using the RMU. The RMU is not integrated into the standard backup software that controls the library, such as Veritas Backup Exec, CA ARCserve etc. since iSCSI is becoming more and more important, the software supports iSCSI, so the RMU can be used as bridge.
It should be obvious for the man skilled in the art, that all described communications in this document can also be bidirectional.
While there have been shown what are presently considered to be preferred embodiments of the invention, it will be apparent to those skilled in the art that various changes and modifications can be made herein without departing from the scope of the invention as defined by the appended claims.