JPH0281349A - Automatic library storage system - Google Patents

Automatic library storage system

Info

Publication number
JPH0281349A
JPH0281349A JP63232311A JP23231188A JPH0281349A JP H0281349 A JPH0281349 A JP H0281349A JP 63232311 A JP63232311 A JP 63232311A JP 23231188 A JP23231188 A JP 23231188A JP H0281349 A JPH0281349 A JP H0281349A
Authority
JP
Japan
Prior art keywords
deck
storage
automatic library
mtu
candidate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP63232311A
Other languages
Japanese (ja)
Inventor
Takashi Doi
隆 土井
Masashi Nozawa
野沢 正史
Noriyuki Takahashi
範行 高橋
Kenzo Kurihara
栗原 謙三
Takashi Kobayashi
隆 小林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP63232311A priority Critical patent/JPH0281349A/en
Publication of JPH0281349A publication Critical patent/JPH0281349A/en
Pending legal-status Critical Current

Links

Landscapes

  • Automatic Tape Cassette Changers (AREA)
  • Automatic Disk Changers (AREA)

Abstract

PURPOSE:To determine a deck optimum in performance by informing an automatical library memory of a memory driving group, which becomes the candidate of selection, determining the optimum driving out of a candidate driving group with an automatic library memory and informing a host system of the driving number. CONSTITUTION:A host program 3, at the time of selecting a deck, transfers a deck number which goes to a candidate as the parameter of a command for an automatic library memory 13. The automatic library memory 13 side selects the optimum deck based on the characteristic value of hardware out of the candidate deck and informs a host program 3 of the number of the selected deck as the data of the command from the host program 3. The host program 3 executes the deck selection based on the data. Consequently, the soft program, even when the hardware characteristic is not known, can select the deck to process the exchanging medium. Thus, the processing performance of a automatical library memory can be increased.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はコンピュータシステムの記憶装置に係り、特に
大量の交換可能形記憶媒体を保管し、それらを自動的に
交換して読み書きを行う自動ライブラリ記憶装置の性能
向上を行なうに好適な手段を供給する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a storage device for a computer system, and in particular to an automatic library that stores a large amount of replaceable storage media and automatically exchanges them for reading and writing. A suitable means for improving the performance of a storage device is provided.

〔従来の技術〕[Conventional technology]

交換媒体(特に磁気テープが多い)を大量に収納し、コ
ンピュータシステムの要求に応じて指示された交換媒体
をデータ読み書き装置(デツキ部)に自動的にマウント
デマウントする機器は従来から多数存在し、例えば文献
「電々公社研究実用化報告第35巻第7号P697〜7
11」には磁気テープの例が書いである。従来このよう
な自動ライブラリ記憶装置をコンピュータシステムにて
動作させる場合、ホストコンピュータは、自動ライブラ
リ記憶装置側に対して、移動したい媒体のボリューム名
又はその媒体を収納しているセルのロケーションと、そ
の媒体を処理するデツキの番号を指示する。ライブラリ
装置はその指示により動作するため。当該カートリッジ
の移動時間は一義的に決まる。一方ホストコンピュータ
は、処理したい媒体をユーザから指定された場合に、ど
のデツキを使用するかの決定を行なうが、これにはユー
ザがあらかじめ特定のデツキを指示するか、又はユーザ
が複数のデツキからなる装置群を指定し、その装置群の
中の他のユーザが使用していないデツキの中からホスト
コンピュータにプログラミングされたアルゴリズムに従
って1台を選択する。
There have long been a number of devices that store large amounts of exchange media (especially magnetic tapes) and automatically mount and demount the exchange media on data read/write devices (deck units) as instructed by the computer system. , for example, the document “Electronic Corporation Research and Practical Application Report Vol. 35 No. 7 P697-7
11" contains an example of magnetic tape. Conventionally, when operating such an automatic library storage device in a computer system, the host computer informs the automatic library storage device of the volume name of the medium to be moved or the location of the cell that stores the medium, and the location of the cell that stores the medium. Indicates the number of the deck that will process the media. The library device operates according to its instructions. The travel time of the cartridge is uniquely determined. On the other hand, the host computer determines which deck to use when the user specifies the media that the user wants to process. A device group is specified, and one device is selected from decks in the device group that are not used by other users according to an algorithm programmed into the host computer.

この場合、アルゴリズムとしては、若番順であるとか、
前回使用してから長い時間が立っているというようなホ
ストコンピュータのプログラムが知り得る一般的情報か
ら選択している。
In this case, the algorithm may be in ascending order,
The selection is based on general information that the host computer program can know, such as the fact that it has been a long time since it was last used.

〔発明が解決しようとする問題点〕 上記従来技術においては、デツキ選択がハードウェアす
なはち自動ライブラリ記憶装置の物理的特性とは無関係
に決められるため、性能的見地から見た場合、必ずしも
最適になるとは考えられない、すなはち、ある媒体を複
数あるデツキのうちのどれかヘマウントする場合、その
媒体の遠くにあるデツキを選択した場合と、近くにある
デツキを選択した場合とでは、移動距離の短かい、近く
にあるデツキを選択した方が良いが、ホストソフトウェ
アが、デツキや媒体の物理的位置情報を正確につかんで
いなければ実行できない。また装置の物理的特性が変わ
るたびに(例えば媒体が磁気テープであるか光ディスク
であるか等)ホストソフトウェアに変更が生じてしまう
という問題が有る。 本発明の目的は媒体を処理するデ
ツキを選択するに当り、ホストソフトウェアがハードウ
ェアの物理的特性を知らずに、性能的に最適なデツキを
決定できる手段を与えることにある。
[Problems to be Solved by the Invention] In the above-mentioned conventional technology, deck selection is determined independently of the physical characteristics of the hardware, that is, the automatic library storage device, so it is not necessarily optimal from a performance standpoint. In other words, when mounting a medium on one of several decks, the difference between selecting a deck far from the medium and selecting a nearby deck is It is better to select a nearby deck that has a short travel distance, but this cannot be done unless the host software has accurate information on the physical location of the deck and media. Another problem is that the host software must be changed every time the physical characteristics of the device change (for example, whether the medium is a magnetic tape or an optical disk). An object of the present invention is to provide a means for host software to determine the optimal deck in terms of performance without knowing the physical characteristics of the hardware when selecting a deck for processing media.

〔問題を解決するための手段〕[Means to solve the problem]

上記目的は、ホストソフトウェアが複数のデツキの中か
ら使用するデツキを決定するに当り、その複数のデツキ
の番号および対象交換媒体のボリューム名又はその媒体
を収納しているセルのロケーションをハードウェアに通
知し、ハードウェアが自分の持つ物理的情報から最適な
デツキを決定し、その決定したデツキの番号をホストソ
フトウェアに回答することにより達成される。
The purpose of the above is that when the host software determines which deck to use from among multiple decks, the hardware determines the numbers of the multiple decks, the volume name of the target exchange medium, or the location of the cell that stores the medium. This is achieved by notifying the host software, the hardware determining the optimal deck from its own physical information, and replying the determined deck number to the host software.

〔作用〕[Effect]

ホストプログラムはデツキ選択に当たり、候補となるデ
ツキ番号を、自動ライブラリ記憶装置に対するコマンド
のパラメータとして転送する。自動ライブラリ記憶装置
側は、候補デツキの中からハードウェアの特性値に基い
て最適なデツキを選択し1選択したデツキの番号をホス
トプログラムからのコマンドのデータとしてホストプロ
グラムへ通知する。ホストプログラムはこのデータに基
いてデツキ選択を行なう、従ってソフトプログラムはハ
ードウェアの特性を知らなくても、交換媒体を処理する
デツキを選択できる。
When selecting a deck, the host program transfers the candidate deck number as a parameter of a command to the automatic library storage device. The automatic library storage device side selects an optimal deck from among the candidate decks based on the characteristic values of the hardware, and notifies the host program of the number of the selected deck as command data from the host program. The host program makes deck selection based on this data, so the software program can select a deck to process the exchange medium without knowing the characteristics of the hardware.

〔実施例〕〔Example〕

以下本発明の一実施例を第1図により説明する。 An embodiment of the present invention will be described below with reference to FIG.

第1図は本発明をカートリッジ形磁気テープ(以下MT
と略す、)の自動ライブラリシステムに応用した場合の
概念図を示す。
Figure 1 shows the present invention on a cartridge-type magnetic tape (hereinafter referred to as MT).
A conceptual diagram of the application to an automatic library system (abbreviated as ) is shown.

ホスト計算機1にて、あるジョブプログラムを流す場合
を考える。このジョブは磁気テープボリュームAを使用
するとして、このことはジョブ制御文2によってユーザ
(ジョブプログラムの作成者)から指定される。このと
きユーザは、同時にどのMTU群(MTUグループ)を
使用するかを指定する。いま自動ライブラリ記憶装置1
2の中にある磁気テープ開動装置(MTU)14〜17
に対して例えば“LMT”というMTUグループ名称が
与えられているとすると、ユーザは“LMT 11を指
定することになる。ホスト計算機1の中で走行するホス
トプログラム(O5)3の中のジョブ制御プログラム4
は、ユーザプログラム実行前に、ジョブ制御文2により
、ボリュームAのためのMTUの割り当てを行なうが、
これをアロケーションプログラム5に行なわせる。この
ことは従来の計算機システムで一般的に行なわれており
公知技術である。アロケーションプログラム5は、MT
Uグループ名として“LMT”が指定されているため、
MTU#0〜#3 (14〜17)より使用デツキを選
択する。いま仮にMTU#O; 14が他のジョブで使
われていたとすると、残りのMTU#1 ; 15.M
TU#2 ; 16.MTU#3;17がアロケーショ
ンの対象となる。この3デツキの中からどのMTUを選
択するかは、従来技術ではあるアルゴリズムに従って、
例えば若番からアロケーションするというようなアルゴ
リズムに従って行っていた。この場合若番から選択する
と仮定すると、MTU#1 i 15が選択されること
になる。このことは実行制御プログラムリ6に知らされ
、実行制御プログラムは磁気テープ制御装置(MTC)
;23を介してMTU#1;15ヘカートリツジAの読
み取り書き込み命令を発行することになる。一方自動ラ
イブラリ記憶装置12(以下ALSと略す。)は、ボリ
ュームAに対応するカートリッジA;18をMTU#1
i15にマウントすることをホストプログラム3からマ
ウント命令リスト;10により指示されると、アクセッ
サロボット21がレール22上を移動し、セルブロック
20の中の座標XAに位置したカートリッジA;18を
ピックアップし、再びレール22を移動して、座標Xu
□に位置したMTU#1;15にカートリッジA;18
をマウントする。
Consider a case where a certain job program is run on the host computer 1. Assuming that this job uses magnetic tape volume A, this is specified by the user (job program creator) using job control statement 2. At this time, the user specifies which MTU group (MTU group) is to be used at the same time. Now automatic library storage device 1
Magnetic tape opening unit (MTU) 14 to 17 in 2
For example, if the MTU group name "LMT" is given to "LMT", the user will specify "LMT 11". Program 4
Allocates MTU for volume A using job control statement 2 before executing the user program, but
The allocation program 5 is made to do this. This is commonly done in conventional computer systems and is a known technique. Allocation program 5 is MT
Since "LMT" is specified as the U group name,
Select the deck to be used from MTU #0 to #3 (14 to 17). Now, if MTU#O; 14 is used by another job, the remaining MTU#1; 15. M
TU#2; 16. MTU #3; 17 is the target of allocation. In the conventional technology, which MTU is selected from among these three decks is determined according to a certain algorithm.
For example, allocation was done according to an algorithm that started with the lowest number. In this case, assuming that the selection starts from the smallest number, MTU #1 i 15 will be selected. This is notified to the execution control program 6, and the execution control program is sent to the magnetic tape controller (MTC).
;23, a read/write command for cartridge A to MTU #1;15 is issued. On the other hand, the automatic library storage device 12 (hereinafter abbreviated as ALS) stores cartridge A;18 corresponding to volume A in MTU #1.
When instructed by the mount command list 10 from the host program 3 to mount the cartridge A 15 on the cell block 20 , the accessor robot 21 moves on the rail 22 and picks up the cartridge A 18 located at the coordinate XA in the cell block 20 . , move the rail 22 again and get the coordinate Xu
Cartridge A; 18 in MTU #1; 15 located at □
mount.

これも従来技術である。この場合、アクセッサロボット
21の移動距離が小さければ、移動時間が短かくてすみ
、性能が上がることになる。従ってこの場合にはMTU
#1;15よりも、座標X。。
This is also conventional technology. In this case, if the movement distance of the accessor robot 21 is short, the movement time will be short and the performance will be improved. Therefore, in this case MTU
#1; From 15, coordinate X. .

に位置したMTU#3 ; 17を選択した方が、カー
トリッジA;18の位置に近いため望ましいことになる
。本実施例ではこのことを可能にしている。すなわちア
ロケーションプログラム5は装置選択に当たり、チャネ
ルインタフェースA7を介してALSl 2の構成要素
の一つである自動ライブラリ制御装置(ALC)13に
対して、5END  MTU  CANDIDATEコ
マンド(以下SMCコマンドと略す、)を発行する。こ
のコマンドでは使用するカートリッジの名称、存在位置
および2選択の候補となるMTUのデツキ番号が送られ
る。カートリッジの名称と存在位置は必ずしも両方送る
必要はなく、どちらか一方でも良い。
It is preferable to select MTU #3; 17 located at , since it is closer to the position of cartridge A; 18. This embodiment makes this possible. That is, when selecting a device, the allocation program 5 sends a 5END MTU CANDIDATE command (hereinafter abbreviated as SMC command) to the automatic library controller (ALC) 13, which is one of the components of the ALS1 2, via the channel interface A7. Issue. This command sends the name of the cartridge to be used, its location, and the MTU deck number that is a candidate for two selections. It is not necessarily necessary to send both the name and location of the cartridge; either one is fine.

すなはち、ALSl2はカートリッジの名称を知らなく
ても、存在位置さえわかれば動作可能であるし、またA
LSl2内にカートリッジ名称と存在位置との対応表を
メモリ21に持てば、カートリッジ名称のみを受は取っ
ても存在位置がわかるからである。いきこの例ではカー
トリッジ名称A。
In other words, ALSl2 can be operated without knowing the name of the cartridge as long as the location is known, and
This is because if the memory 21 has a correspondence table between the cartridge name and the location in the LS12, the location can be determined even if only the cartridge name is received. In Ikiko's example, the cartridge name is A.

存在位置XAおよび選択候補MTUデツキ番号#1,2
.3が送られる。ALCi13は、メモリ21内にAL
S ; 12内の全MTUデツキの存在位置座標XIJ
O〜XUaを記憶している。いま送られたMTUの番号
は、1,2.3であるからこれらMTUの座標XUL+
 XU、、 XusとカートリッジAの存在する座It
 x Aとの差を計算し、その値の最も小さいMTUを
決定する。このケースではMTU#3の座標が最もカー
トリッジAの存在するセルの座標に近いからMTU#3
が決定される。
Existence position XA and selection candidate MTU deck numbers #1, 2
.. 3 is sent. The ALCi 13 stores the AL in the memory 21.
S; Existence position coordinates of all MTU decks in 12 XIJ
It remembers O~XUa. The MTU numbers just sent are 1, 2.3, so the coordinates of these MTUs are XUL+
XU,, It is the locus where Xus and cartridge A exist.
xA, and determine the MTU with the smallest value. In this case, the coordinates of MTU #3 are closest to the coordinates of the cell where cartridge A exists, so MTU #3
is determined.

ALS 12はこの結果をO8;3の発行する5ENS
E  OPTIMAL  MTUコマンドに対するデー
タとして、最適MTUリスト11を通知する。このデー
タはカートリッジ名称および決定したMTU番号を含む
。このケースではカートリッジ名称AおよびMTU番号
3が送られる。ホストプログラム(O5);3の一部を
構成するアロケーションプログラム5は、このデータに
より最適MTU番号を知り、このMTUを目的ボリュー
ムを処理するM T Uとして選択する。すなわちこの
ケースでは、ボリュームA(カートリッジA;18)を
処理するMTUとしてMTU#3を選択することになる
。この後でマウントを指示するやり方やボリュームAを
読み書きする方法は従来技術の説明と同じである。
ALS 12 sends this result to 5ENS issued by O8;3.
The optimal MTU list 11 is notified as data for the E OPTIMAL MTU command. This data includes the cartridge name and determined MTU number. In this case, cartridge name A and MTU number 3 are sent. The allocation program 5, which forms part of the host program (O5);3, learns the optimum MTU number from this data and selects this MTU as the MTU for processing the target volume. That is, in this case, MTU #3 is selected as the MTU that processes volume A (cartridge A; 18). After this, the method of instructing mounting and the method of reading and writing volume A are the same as those described in the prior art.

(発明の効果〕 本発明によれば、ホストプログラム(O8)が、ハード
ウェアの特性を知らなくても、交換媒体を処理するのに
最適な記憶ドライブを選択できるため、自動ライブラリ
記憶装置の処理性能を上げることが出来ると共に、ハー
ドウェアの構造や、交換媒体の種類が変わっても、ホス
トプログラム(OS)を変更しなくて良いという効果が
ある。
(Effects of the Invention) According to the present invention, the host program (O8) can select the most suitable storage drive for processing the exchange medium without knowing the characteristics of the hardware. In addition to being able to improve performance, this also has the effect that the host program (OS) does not need to be changed even if the hardware structure or type of exchange medium changes.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例を示すシステム概念図である
FIG. 1 is a conceptual diagram of a system showing an embodiment of the present invention.

Claims (1)

【特許請求の範囲】[Claims] 1、複数の交換媒体と該交換媒体を収納するセル、該交
換媒体に対しデータを読み書きする複数の記憶ドライブ
、該記憶ドライブを制御する制御装置、セルと記憶ドラ
イブとの間で前記交換媒体を運搬、マウント、デマウン
トを行なうアクセッサロボット及び該アクセッサロボッ
トを制御するライブラリ制御装置とから成る自動ライブ
ラリ記憶装置と、該自動ライブラリ装置に対し、必要な
交換媒体のマウント/デマウント指示及びデータの読み
書きを行なうホストシステムとから成るコンピュータシ
ステムにおいて、該ホストシステムが要求の発生した交
換媒体を処理する記憶ドライブを選択するに当り、選択
の候補となる記憶ドライブ群を自動ライブラリ記憶装置
に通知し、自動ライブラリ記憶装置が候補ドライブ群の
中から最適なドライブを決定して、そのドライブ番号を
ホストシステムに通知することにより、使用する記憶ド
ライブを選択することを特徴とする自動ライブラリ記憶
システム。
1. A plurality of exchange media, a cell that stores the exchange media, a plurality of storage drives that read and write data from and to the exchange media, a control device that controls the storage drives, and a controller that controls the exchange media between the cells and the storage drives. An automatic library storage device consisting of an accessor robot that carries, mounts, and demounts and a library control device that controls the accessor robot, and provides instructions for mounting/demounting necessary exchange media and reading/writing data to the automatic library device. In a computer system comprising a host system, when the host system selects a storage drive for processing a requested exchange medium, it notifies an automatic library storage device of a group of storage drives that are candidates for selection, and performs automatic library storage. An automatic library storage system characterized in that a device selects a storage drive to be used by determining an optimal drive from a group of candidate drives and notifying a host system of the drive number.
JP63232311A 1988-09-19 1988-09-19 Automatic library storage system Pending JPH0281349A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63232311A JPH0281349A (en) 1988-09-19 1988-09-19 Automatic library storage system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63232311A JPH0281349A (en) 1988-09-19 1988-09-19 Automatic library storage system

Publications (1)

Publication Number Publication Date
JPH0281349A true JPH0281349A (en) 1990-03-22

Family

ID=16937214

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63232311A Pending JPH0281349A (en) 1988-09-19 1988-09-19 Automatic library storage system

Country Status (1)

Country Link
JP (1) JPH0281349A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10902877B2 (en) 2019-03-25 2021-01-26 Fujifilm Corporation Recording and reproducing device and recording and reproducing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10902877B2 (en) 2019-03-25 2021-01-26 Fujifilm Corporation Recording and reproducing device and recording and reproducing method

Similar Documents

Publication Publication Date Title
US6298439B1 (en) Automated storage library for managing allocation of a peripheral data storage device in response to a multi-volume data set request
US5734861A (en) Log-structured disk array with garbage collection regrouping of tracks to preserve seek affinity
US6959360B2 (en) Data storage system and method of hierarchical control thereof
JP4405935B2 (en) Method and apparatus for balancing workload among paths in a multipath computer system
US6031798A (en) Library control of media capacity scaling and library component attributes
JP3735571B2 (en) Method and system for dynamically selecting a tape drive for connection to a host computer
US6851020B2 (en) Storage subsystem that connects fiber channel and supports online backup
US5809511A (en) Outboard data migration in a volume stacking library
US5613154A (en) System and method for management of transient data storage mediums in an automated data storage library
US5287459A (en) Method and apparatus for reducing response time in automated library data retrieval systems
US5805864A (en) Virtual integrated cartridge loader for virtual tape storage system
EP0150705B1 (en) Data storage hierarchy and its method of operation
US6341356B1 (en) System for I/O path load balancing and failure which can be ported to a plurality of operating environments
JP2003150447A (en) Cache buffer control method and controller
JPH06214838A (en) Method for improvement of efficiency of data storage hierachy
JP2011123834A (en) Virtual tape server and tape mount control method thereof
EP0537357B1 (en) Library device
US6260006B1 (en) System and method for multi-volume tape library
JP2010079588A (en) Storage control device having virtual volume
JP2846838B2 (en) How to copy data in a storage library
JP2008016027A (en) Command queue ordering for positionally pushing access command
US6961811B2 (en) Apparatus and method to maintain information by assigning one or more storage attributes to each of a plurality of logical volumes
JPH0281349A (en) Automatic library storage system
US20020087783A1 (en) Low cost, high performance tape drive
EP0266586A2 (en) Decreasing response time to I/O request by duplicating data