1 2
sources of the automated library. Efficient utilization
SYSTEM AND METHOD FOR ORDERING demands first that mounts and demounts of tape car
COMMANDS IN AN AUTOMATIC VOLUME tridges be avoided and second, that when mounts and
PLACEMENT LIBRARY demounts are unavoidable, that they be carried out
5 expeditiously. Reduction in the frequency of mounts
BACKGROUND OF THE INVENTION and demounts is achieved through organization of data
1. Technical Field requests to minimize the demand for tape mount and This invention relates generally to the field of auto- demount operations. An example of such a system is
mated storage libraries and more particularly, to a sys- disclosed in U.S. Pat. No. 4,876,662, to Pence, which is
tern and method for sequencing commands to a tape 10 assigned to the assignee of this patent. The U.S. Pat. No.
cartridge transporter for efficiently moving tape car- '662 patent also discusses algorithms for selecting ap
tridges between storage racks and drive units for car- propriate levels in an hierarchical storage for storage of
tridge playback and recording. data. The second route to improving efficiency in utili
2. Description of the Related Art zation of an automated library is through efficient disNumerous business applications require very large 15 patch of the robotic picker mechanism to perform outdatabases for storing information used in the business on standing requests for tape mounts and demounts.
a continuous basis. Database storage requirements may
exceed 100s or 1,000s of gigabytes of data. Data storage SUMMARY OF THE INVENTION
costs generally limit such large databases to being it is one object of the present invention to provide
stored on magnetic tape, which presently offers the 20 control of a volume transporter in an automated data
lowest data storage costs. A premium is placed upon processing server library.
speed and reliability of recovery of data, particularly It is another object of'the present invention to pro
when relatively frequent access to the information vide a system md method for ordering commands to
stored within the database occurs. However, tape stor- ^ volume transporter in an automated data library to
age generally requires the longest access time for re- 25 ^ e efficiency of operation,
trieving the stored data of the major data storage sys- ^ foregoing ^ other objects are achieved as is
terns. For example, once a tape is loaded onto a tape nQW described. A tem md method of ae(pU!Dang
drive, accessing the data stored on the loaded tape is COBmmdB for tion of a volume ... mech.
substantially slower than accessing data stored on a . * j i-u ■ * ifl-m. f ^ J
direct storage access device rDASDI e a disk driv^ 30 ^m m 311 aut°m*ted library is taught. The automated
cured siurdge acccoa uevice iJ^aojjmc.e. a uibK urivei. JU vi_ i_ i i-A c i * c i
Substantial W is also mcurred in locathig and mount- fhaS f P1^* °f TMluf"*' a 1*TM^ f rack* ing the desired volume, be it on tape, magnetic disk or {?T stonnSPlurf tv °f volumes "J at J""*/ first optical disk. Automated storage libraries offer im- dn,ve ^ for recordmg data to or reading data from a proved speed and reliability for storing and retrieving volume mounted thereon by the volume positioning data stored on storage media, including magnetic tape. 35 mechanism. Exogenous requests for data stored on the Early magnetic tape databases required an operator to volumes or for storing data to volumes are received retrieve a tape from a shelf and load the tape on a tape from tane t0 t"TM5 bv ±e library. Each exogenous redrive. This was very slow and prone to operator mis- ^uest for data m a volume « utilized to generate at least takes. Also, early magnetic tape reels were relatively a ^ command for execution by the volume positionlarge, i.e., 10.5 inch diameter reels, and furthermore, 40 mS mechanism. Commands as generated are stored in a only 9 tracks were available for writing data to the tape. command queue having a queue input level, a queue Correspondingly large areas were necessary to store the output level for the next scheduled command for execumany required 10.5 inch magnetic tapes. Newer mag- tioa ^d allowing a plurality of intervening levels. With netic tapes are protected by a cartridge housing, and are 6200 introduction of a new command to the command substantially smaller than the 10.5 inch reels. Addition- 45 queue, the command queue is reordered with a goal of ally, data can now be written to 36 tracks or more. improving time to dispatch for execution of high priorHence, each magnetic tape cartridge can store many ity commands.
times more data than the older reels. The advances A sequence is ordered by selecting a command for made in magnetic tape technology have made auto- each level of the queue in accordance with selected mated cartridge libraries more effective since smaller 50 optimizing criteria. Commands are qualified for execuareas are required to store more data on lighter weight tion at a level. Upon identification of a qualified corncartridges, mand, it is scored in accordance with the qualifying Access time and reliability is improved by automati- criteria. Scoring a command for execution is a function cally managing the storage and retrieval of tape car- of its time in the command queue, the priority of the tridges. Automated cartridge libraries include a plural- 55 exogenous request from which the command was genity of storage slots for storing library resident tape car- erated and the location of the volume positioning mechtridges, a robotic picker mechanism, and one or more anism relative to the position of relevant volume in the tape drives. The robotic picker operates on command to projected machine state. The qualified command with transfer a tape cartridge between a storage slot and a the highest score is positioned in the command queue at tape drive within seconds. Operational benefits of using 60 the level for which it received the score. Stored with a an automated cartridge library include: greater reliabil- command at a level in the command queue is a proity in tape cartridge mounts; better predictability in jected system state occurring after execution of the request-to-mount time; and improved off-shift availabil- command.
ity. An input/output port is also provided on the auto- Once a command is placed at a level during an ordermated cartridge library for inserting and exiting car- 65 ing operation, the command is disqualified for considertridges from the library. ation at any remaining levels, absent a backtracking Further reduction in time between request and re- operation. A backtracking operation occurs in response sponse may be had by efficient utilization of the re- to failure of any available command to be qualified for
3 4