The present invention is generally related to data storage and specifically to a system and method for partitioning a storage area network associated data library employing element addresses.
One of the most attractive aspects of a storage area network (SAN) is that network connectivity enables a company to efficiently use storage by sharing storage capacity among a number of servers. This may be implemented using a large number of small capacity storage devices. However, unless sufficiently robust management software is employed, such use of small capacity devices in a SAN may result in significant management overhead.
Most users prefer to install large capacity storage device(s) and partition one or more of the device(s), assigning each partition to a different server. For example, existing firmware for enterprise level disk arrays allow users to define multiple redundant array of independent disks (RAID) sets, where each RAID set appears as a different LUN, generally fiber channel (FC) LUNs. Each one of these FC LUNs may be dedicated to a different server. However, to-date special hardware or special backup software has previously been used to implement partitioning in data tape libraries.
An existing hardware-based partitioning scheme for existing data tape libraries is known as shared library services. This implementation requires at least one bridge, sometimes referred to as a quad interface processor, to be placed between the drives and the library controller. The host side of each quad interface processor consists of two SCSI buses, and the quad interface processor may show a single virtual library's controller, with its own SCSI ID, on each SCSI bus. Thus, there may be one virtual library per host SCSI bus, containing the virtual library controller and the drives in that partition. Each partition of such an existing library may have tape storage slots added in increments and drives may be added individually or in pairs. Each internal SCSI bus in this existing partitioning scheme may accommodate up to two drives; drives on the same bus must be in the same partition. Such existing data tape library partitioning systems may use switches to secure partitions. Quad interface processors expose a SCSI target ID for each partition and each SCSI ID can have a separate SCSI/FC bridge attached to it to implement partition security using FC switches.
Existing software-based partitioning solutions typically employ a host system that restricts access to portions of a tape library. The host restrictions are implemented by a mediating (software) process on a host system to enforce partition restrictions. However, this approach is problematic. Specifically, the approach is undesirable if the tape library is utilized in a storage service provider (SSP) environment. In SSP environments, the tape library and the host systems belong to different entities (e.g., the storage service provider and the customers). Placement of software mediating processes on host systems is unattractive, because it increases the burden on the customers to make use of the storage service. Also, corporate environments impose relatively long qualification cycles for new host system software. New software is typically only introduced in such environments once every six to eight months due to qualification cycles. Moreover, many customers are unwilling to allow other parties to place software on their host systems. Additionally, the software mediating process approach is typically incompatible with existing data back-up utilities, i.e., the software mediating process approach requires the use of specialized data back-up applications. Hence, users are effectively denied the ability to run desired backup software.
A data library adapted to be attached to a storage area network comprising a plurality of partitions, at least one data transfer element each of the data transfer elements assigned to one of the partitions and assigned an internally unique element address, a plurality of data storage element slots, each of the slots assigned to a partition and assigned an internally unique element address, at least one media transport element shared by the partitions to move media between the slots and the at least one data transfer elements, the transport assigned an internally unique element address, and a library controller that assigns a different logical unit designation to each of the partitions and that assigns external element addresses to the transport, the data transfer elements, and the slots for each of the partitions and maps the internally unique addresses to the external addresses, the controller restricting movement of media to and from the slots assigned to a same of the partitions.
The present invention is directed to a system and method to partition a data library to emulate existing data libraries. The present system and method preferably do not require any special hardware or special backup software for implementation. The present system and method enables a data library to be shared among a number of servers by partitioning the data library. Preferably, a subset or partition of the library drives and media slots are secured or reserved for the use of a specific server. Preferably a partition of the library, will identify itself and externally-present identical resources as an existing library model so that software can recognize the library type or model. For example, a six drive, sixty slot (6/60) data tape library could be partitioned to emulate three existing two drive, twenty slot (2/20) libraries with each partition/library assigned a logical unit designation such as a SCSI LUN. Additionally, movement of media in one partition may be queued to allow completion of transport operations within another partition.
The present invention preferably presents a subset of a population of tape drives and slots in a physical library by pruning the response to a read element status command, or the like, and emulating the identity of an existing library model. For example, a two drive, twenty slot partition may be externally identified as a Hewlett-Packard SureStore 2/20 data library. The library controller of a library partitioned according to the present system and method is preferably configured out-of-band via a remote management card interface employing the system and method disclosed in aforementioned U.S. Pat. application Ser. No. 10/034,691 entitled “System and Method for Partitioning a Storage Area Network Associated Data Library”. The present system and method may identify which host originated a request to a library by using the SCSI LUN to which the request command is addressed, and hence which virtual library to present back in a read element status or other identity command.
Turning to
Data tape library 200 employing a preferred embodiment of the present system and method is illustrated in
In the present library partitioning implementation, library partitioning is preferably configured out-of-band either on the library's front panel management interface or via secure RMC 212 over attached LAN 218 or the like. This helps ensure controlled access security of the partitioning process by, for example, limiting access to users with access to LAN 218 or physical access to the front panel of library 200. Alternatively, the present partitioning system and method may be configured over a secured in-band connection. Over out-of-band LAN 218, configuration may either be carried out via a web browser interface or via a network management protocol interface. By default, data library 200 will preferably contain one unsecured partition preferably labeled as partition 0 that contains a standard configuration of library data transfer elements (drives) 201-204, library storage elements (slots) 205 including import/export elements (mailslots).
For library emulation to appear authentic to accessing servers, media changer or robotic media transport 220 of library 200 may be shared among the accessing servers, but it should appear to each server that it is in sole control of transport 220. Import/export elements, or mailslots, may also be a shared resource that should be assigned to a partition, virtualized or replicated. For example, mailsiots may be assigned to a partition for exclusive use of that partition. Preferably, a physical library initially has one unsecured partition with the default number of mailslots for that physical library. In order to alter the partitioning from the default state, the default partition is preferably deleted, disabling all elements. The user can then create a partition containing the specified number of storage elements and data transfer elements. Some partition storage elements may be designated as mailslots by default. In order to add or remove mailslots for a partition, a mailslot configuration request from the RMC 212 or the front panel to library controller 213 is employed. Alternatively, mailslots may be shared across partitions. In this case, requests to move media from a data transfer element or storage element in a partition to a shared mailslot are preferably deferred until a request is made, preferably via RMC 212 or the library front panel, to carry out the requested move. The single medium is then physically removed from the mailslot by an operator, the deferred medium for the next partition is then requested to be moved to the mailslot and physically removed. This repeats until all deferred moves have been completed.
Internal element numbers 221 are used by controller 213 to designate different elements of library 200. For example, transport 220 may be assigned element number 0; drives 201 through 204 may be internally represented as elements 1 through 4, respectively; and, storage elements 205 may be internally assigned element numbers 31 through 70. Mailslots may be separately designated from storage elements and are preferably assigned element numbers from 20-29. As discussed in greater detail below, in the present system and method, these elements may be externally presented by employing external element numbers 222, with each partition preferably comprising elements numbered from zero, similar to an existing library emulated by the partition. Therefore, with transport 220 shared by the partitions with element number 0, partition 215 would externally present elements 0 through 2 and 31 through 50 while partitions 216 and 217 would each externally present elements 0, 1 and 31 through 40.
Controller 213 preferably partitions the slots as requested by a user via RMC 212. These requests will list the partition number that preferably equates to the LUN the partition employs, the address of the first slot and number of slots, the address of the first data transfer element and number of data transfer elements in the partition. A partition request is based on the element numbers of the actual physical library. For example, a request to configure partition 215 of
The system and method of data library partitioning employed by the present invention has advantages over existing data tape library partitioning implementations. For example, the present system and method avoids the need for quad interface processors or the like. In the present system and method, all drives in a partition do not necessarily have to be on the same SCSI bus, thereby avoiding potential bottlenecks. The present system and method employs existing data tape library physical architecture with drives preferably using their original existing SCSI bus.
To establish multiple virtual controllers, each assigned to a separate partition, the controller preferably assigns a different SCSI LUN, under its SCSI ID, to each virtual controller. In the present system and method, the library controller preferably presents multiple instances of itself, one for each active partition. Although only one controller is needed on the SCSI bus, the controller firmware should be able to process commands active on each individual LUN, such as properly supporting disconnects. Additionally, the controller firmware should correctly maintain the status for each LUN correctly, providing the proper response to test unit ready, request sense, mode page requests, log page requests and similar status inquiries. Partitioning should be persistent between power-cycles and not require a power cycle to alter partitioning configuration. By default, the library will preferably contain one partition, preferably assigned LUN 0.
Partitions can be secured in a FC SAN environment by enabling access by only specified hosts, keyed on host world wide names (WWN), without requiring external switches to implement switch zoning to secure partitions. Integrated configuration by the present system and method of all major components involved in secure partitioning, bridges, library controller and drives, by a library management card preferably allows point-and-click setup of security. This greatly reduces management overhead and margin for error as compared to existing FC switch zoning security implementation for bridges, where each component has to be separately set up.
Library 200 may be configured in a flexibility-oriented partitioning scheme, wherein the library controller inquiry string for each active partition type will be unique and based on the number of slots and drives in the partition. For example, an inquiry string for partition 215 would uniquely identify the partition, including an indication of two drives and twenty slots, while an inquiry string for partition 216 or partition 217 would include indications of one drive and ten slots each. Alternatively, library 200 may be configured in a compatibility-oriented partitioning scheme, wherein the library controller inquiry string for each active partition type will be the standard inquiry string associated with an existing library manufacturer model. For example, partition 215 could be identified as a Hewlett Packard SureStore 2/20 model library and partitions 216 and 217 could each be identified as Hewlett Packard SureStore 1/9 model libraries.
Preferably a command addressed to one partition will not interfere with commands and configurations of partitions on other LUNs. The library controller preferably supports multiple LUNs consistent with the SCSI specification. To that end the library controller preferably supports commands interleaved to different LUNs. For example, when a command to LUN 0 is received, the controller should disconnect while processing the command. Therefore, if a command is received for LUN 1 while the command to LUN 0 is being carried out, the command for LUN 1 may be processed. Status inquiries such as unit attention, response to request sense and test unit ready, should be handled on a per LUN basis. The inquiry data for each LUN should be consistent with the library type the partition is emulating. Cross-partition information supported in SCSI log and mode pages, such as log select, log sense, mode select and mode sense may be supported on a per-LUN basis. Additionally, any functionality in change definition, read buffer, receive diagnostic results, rezero unit, send diagnostic and write buffer commands may also be supported on a per-LUN basis. A SCSI device capabilities mode page should reflect the valid operations available in a partition associated with a LUN. Particularly, import/export elements should be reported on a per-partition basis. In some existing libraries, one or more of the storage elements of a partition ma y be designate d as import/ export element(s) for the partition.
As illustrated in
With attention directed to columns 310 and 311 of
Turning to columns 310 and 312 of
Similarly, as indicated in columns 310 and 313 of
Some SCSI commands to a data library are preferably altered to implement the present invention. For example, a library medium changer preferably supports the following SCSI commands. An inquiry command should identify the vendor of an emulated library, product identification of the emulated library, product revision level of the emulated library and the specific vendor of the emulated library. A move medium command should employ the transport element address of the actual physical library. Source addresses and destination addresses should be renumbered and bounds checked as indicated above and illustrated in
A prevent/allow medium removal command should only lock media in the slots associated with the partition. Medium changer-specific commands, such as exchange medium, initialize element status, move medium, position to element, read element status, release, request volume element address, reserve, and send volume tag, preferably present elements and volume tag information in the partition associated with the LUN of the emulated library to which the request is addressed.
If one or more of the tape drives in a library are SCSI tape drives and the library is connected to a SAN or the like employing FC-to-SCSI bridges, the library controller should preferably be connected to one of the FC-to-SCSI bridges and the library controller LUNs, one for each partition, should appear behind that bridge. The controller will preferably appear as a single LUN externally and the bridge will map requests from each host to a unique internal LUN so the controller is able to identify the originating SCSI host from the LUN it is addressing.
If one or more of the tape drives in the library is a FC drive, the library controller may appear as a FC LUN behind the tape drive. An originating host of SCSI requests may be identified via a FC tape drive surrogate LUN, or the like. The controller preferably receives partition configuration information from the RMC for any FC tape drives attached to the controller. The controller preferably passes the configuration to the tape drive via an automated control interface (ACI) extending between said controller and said FC tape drive. When a library controller is communicated with via such a FC drive surrogate LUN, the library will use information as to which tape drive it received the command from over the ACI to determine which virtual library is being addressed. When the controller receives a SCSI request over the ACI, it should determine which tape drive the request is from, and map this to the entire actual library data transfer element address for that tape drive. The controller will then use this information to determine which partition the SCSI command was addressed to and accordingly process the command.
If the library controller is configured as a surrogate to a FC tape drive, and the FC tape drive is replaced, the controller will check whether the tape drive supports partitioning via the ACI. If the tape drive does support partitioning, then the controller will inform the management card to resend configuration information for the tape drive. If the FC tape drive firmware does not support partitioning, the controller will place the FC drive offline and inform the management card that the FC tape drive does not support partitioning.
As will be appreciated by one skilled in the art, the present system and method may be extended to allow library partitions to respond to both a host and data-mover functionality, allowing zero downtime backup (ZDB) to particular partitions of the library.
The present invention is related to the following copending and commonly assigned U.S. patent applications: Ser. No. 10/034,691 entitled System and Method for Partitioning a Storage Area Network Associated Data Library, filed Dec. 28, 2001 and which issued as U.S. Pat. No. 6,715,031, on Mar. 30, 2004; Ser. No. 10/032,662 entitled System and Method for Managing Access To Multiple Devices in a Partitioned Data Library, filed Dec. 28, 2001; Ser. No. 10/032,923 entitled System and Method for Peripheral Device Virtual Functionality Overlay, filed Dec. 28, 2001; Ser. No. 10/034,518 entitled System and Method for Securing Drive Access to Media Based On Medium Identification Numbers, filed Dec. 28, 2001; Ser. No. 10/034,888 entitled System and Method for Securing Drive Access to Data Storage Media Based On Medium Identifiers, filed Dec. 28, 2001; Ser. No. 10/033,010 entitled System and Method for Securing Fiber Channel Drive Access in a Partitioned Data Library, filed Dec. 28, 2001; Ser. No. 10/033,003 entitled Method for Using Partitioning to Provide Capacity on Demand in Data Libraries, filed Dec. 28, 2001; Ser. No. 10/034,580 entitled System and Method for Intermediating Communication with a Moveable Media Library Utilizing a Plurality of Partitions, filed Dec. 28, 2001; and Ser. No. 10/034,083 entitled System and Method for Managing a Moveable Media Library with Library Partitions, filed Dec. 28, 2001; the disclosures of which are hereby incorporated herein by reference.
Number | Name | Date | Kind |
---|---|---|---|
5164909 | Leonhardt et al. | Nov 1992 | A |
5367669 | Holland et al. | Nov 1994 | A |
5416914 | Korngiebel et al. | May 1995 | A |
5734859 | Yorimitsu et al. | Mar 1998 | A |
5805864 | Carlson et al. | Sep 1998 | A |
5835940 | Yorimitsu et al. | Nov 1998 | A |
5867736 | Jantz | Feb 1999 | A |
5890014 | Long | Mar 1999 | A |
5970030 | Dimitri et al. | Oct 1999 | A |
6038490 | Dimitri et al. | Mar 2000 | A |
6044442 | Jesionowski | Mar 2000 | A |
6085123 | Baca et al. | Jul 2000 | A |
6295578 | Dimitroff et al. | Sep 2001 | B1 |
6336172 | Day, III et al. | Jan 2002 | B1 |
6421711 | Blumenau et al. | Jul 2002 | B1 |
6425059 | Basham et al. | Jul 2002 | B1 |
6507896 | Sanada et al. | Jan 2003 | B2 |
6519678 | Basham et al. | Feb 2003 | B1 |
6535964 | Sanada et al. | Mar 2003 | B2 |
6681303 | Watanabe et al. | Jan 2004 | B1 |
Number | Date | Country |
---|---|---|
09185465 | Jul 1997 | EP |
0859308 | Aug 1998 | EP |
10269026 | Oct 1998 | EP |
2001014257 | Jan 2001 | EP |
1156408 | Nov 2001 | EP |
Number | Date | Country | |
---|---|---|---|
20030126395 A1 | Jul 2003 | US |