JPH04125844A - Automatic restoration method for supply/discharge device for recording medium in library device - Google Patents

Automatic restoration method for supply/discharge device for recording medium in library device

Info

Publication number
JPH04125844A
JPH04125844A JP2245218A JP24521890A JPH04125844A JP H04125844 A JPH04125844 A JP H04125844A JP 2245218 A JP2245218 A JP 2245218A JP 24521890 A JP24521890 A JP 24521890A JP H04125844 A JPH04125844 A JP H04125844A
Authority
JP
Japan
Prior art keywords
cas
amc
arc
control unit
main control
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
JP2245218A
Other languages
Japanese (ja)
Inventor
Yoshiaki Ochi
芳明 越智
Yasuhiko Hanaoka
花岡 安彦
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2245218A priority Critical patent/JPH04125844A/en
Publication of JPH04125844A publication Critical patent/JPH04125844A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To automatically restore a fault and to improve reliability by permitting ARC receiving the notice of the generation of the fault of CAS to execute a retry processing for plural times for CAS and to execute the retry processing by means of different AMC if the fault cannot be restored. CONSTITUTION:When the fault occurs in CAS 6, a CAS control part 16 gives the notice of the fault to either AMC-All or AMC-B 13. AMC-All gives the notice of the fault to ARC-A10 and it transmits the initializing notice of CAS 6 to the CAS control part 16 through AMC-All. The control part 16 initializes a supply mechanism part 14 and a discharge mechanism part 15, returns them to an initial state and executes the retry processing. When the fault of CAS does not restore even if the retry processing is repeated for three times, the initializing notice is given from ARC-A10 to CAS through AMC-B13 and the retry processing is executed. Thus, the fault is automatically restored even if the fault occurs in the medium supply/discharge device.

Description

【発明の詳細な説明】 〔概要〕 ライブラリ装置における記憶媒体の投入排出装置の制御
方法に関し、 CAS制御における信顛性を高めることを目的とし、 記憶媒体の投入排出を行う投入排出装置と、記憶媒体を
運搬する複数の運搬装置とよりなる記憶媒体のライブラ
リ装置において、複数の運搬装置を制御する複数の主制
御部と、各主制御部毎の配下の複数の副制御部と、複数
の主制御部を共通に管理するための一元管理テーブルと
、投入排出装置を制御する投入排出制御部とを備え、投
入排出制御部は上記主Wi御部により副am部を介して
制御され、投入排出装置に障害を生じた場合には、主制
御部はまずその配下の副制御部を介して投入排出制御部
に障害を回復するためのリトライ処理を行わしめ、リト
ライ処理において、障害が回復しない場合には、主たる
主制御部は他の副制御部により投入排出装置に複数回の
リトライ処理を行わしめる構成を持つ。
[Detailed Description of the Invention] [Summary] Regarding a method of controlling a storage medium loading/unloading device in a library device, the present invention aims to improve reliability in CAS control, and includes a loading/unloading device for loading/unloading a storage medium, and a storage medium loading/unloading device. In a storage media library device consisting of a plurality of transport devices that transport media, there are a plurality of main control units that control the plurality of transport devices, a plurality of sub-control units under each main control unit, and a plurality of main control units. It is equipped with a unified management table for common management of the control parts and a charging/discharging control section for controlling the charging/discharging device.The charging/discharging control section is controlled by the main Wi control section through the sub-AM section, When a failure occurs in the device, the main control unit first causes the input/discharge control unit to perform a retry process to recover from the failure via the sub-control unit under the main control unit, and if the failure is not recovered in the retry process, In this case, the main main control section has a configuration in which another sub-control section causes the input/discharge device to perform retry processing a plurality of times.

〔産業上の利用分野] 本発明は、磁気テープカートリッジを記憶媒体とするラ
イブラリ装置における記憶媒体の投入排出装置の制御方
法に関する。
[Industrial Field of Application] The present invention relates to a method of controlling a storage medium loading/unloading device in a library device using a magnetic tape cartridge as a storage medium.

コンピュータシステムにおける情報量の増大にともない
、記憶媒体の保管手段としてオペレータを必要としない
完全自動化のライブラリ装置が必要とされている。
As the amount of information in computer systems increases, there is a need for fully automated library systems that do not require an operator to store storage media.

そのようなライブラリ装置に収納する記憶媒体は、50
00巻以上という膨大な数のため、記憶媒体の出し入れ
の回数も頻繁であり、また投入排出装置は機構が複雑で
あることから障害をおこしやすく、そのため記憶媒体の
投入排出処理における障害の発生数の頻度が高い。
The storage medium stored in such a library device is 50
Due to the huge number of 00 or more volumes, the number of times the storage medium is inserted and removed is frequent, and the loading/unloading device has a complicated mechanism, making it prone to failures. Frequency is high.

従来は、投入排出装置に障害が発生すると、障害の程度
にかかわらず、投入排出装置の使用を禁止し、ライブラ
リ装置から切り離してオペレータにより回復作業を行う
ようにしていた。
Conventionally, when a failure occurs in the loading/unloading device, regardless of the degree of the failure, the loading/unloading device is prohibited from use, separated from the library device, and the operator performs recovery work.

しかし、投入排出装置における障害は、投入時もしくは
排出時における記憶媒体のセット不良等のリトライ処理
により簡単に回復できる程度のものが大多数である。
However, most failures in the loading/unloading device can be easily recovered by a retry process such as a failure in setting the storage medium during loading or unloading.

本発明は、投入排出装置に障害が発生した場合には、自
動的にリトライ処理を繰り返して行い、軽度の障害につ
いては自動的に回復するようにして投入排出装置の信幀
性を高めるようにした。
The present invention improves the reliability of the input/discharge device by automatically repeating retry processing when a failure occurs in the input/discharge device, and automatically recovers from minor failures. did.

〔従来の技術〕[Conventional technology]

第6図、第7図により従来の技術を説明する。 The conventional technology will be explained with reference to FIGS. 6 and 7.

第6図は、従来のライブラリ装置の構成を示す。FIG. 6 shows the configuration of a conventional library device.

図において、60はホストコンピュータ、61は記憶媒
体のライブラリ装置、62はライブラリ装置全体を管理
するDIR制欄部、64はオペレータによる記憶媒体の
投入もしくは、運搬装置が移送してきた記憶媒体を外部
に排出する投入排出装置(CAS)、65は記憶媒体に
書き込みもしくは記憶媒体から読み出す記憶再生装置、
66.67は運搬装置A、運搬装置Bであって、投入排
出装置(64)に投入された記憶媒体を記憶再生装置等
に移送するもしくは外部に排出するため記憶媒体を投入
排出装置まで移送する等を行うもの、68は格納庫であ
って、記憶媒体を格納する欄よりなるもの、70は運搬
装置A(66)を制御する主制御部A (ARC−A)
 、71は運搬装置A(66)を運搬実行制御する副制
御部(AMC−A)であって、主制御部A(70)の配
下にあるもの、72は運搬装置Bを制御する主制御部B
(ARC−B) 、73は運搬装置B (67)を運搬
実行制御する副制御部B (AMC−B)であって、主
制御部Bの配下にあるもの、74は投入排出装置(64
)を制御するCAS制御部であって、主制御部(70も
しくは72)により配下の副制御部(71もくは73)
を介して管理されるもの、75は投入排出装置(64)
における外部からオペレータにより投入された記憶媒体
を運搬装置A(66)もしくは運搬装置B(67)に受
は渡すための投入機構部、76は運搬装置A(66)も
しくは運搬装置B(67)が移送してきた記憶媒体を受
は取って外部に排出するための排出機構部、77.78
は運搬装置A(66)、運搬装置B(67)を移動させ
るためのレールである。
In the figure, 60 is a host computer, 61 is a storage medium library device, 62 is a DIR control section that manages the entire library device, and 64 is a storage medium input by an operator or a storage medium transferred by a transport device. A charging and discharging device (CAS) for discharging; 65 a storage reproducing device for writing to or reading from a storage medium;
Reference numerals 66 and 67 refer to a transport device A and a transport device B, which transport the storage medium loaded into the loading/unloading device (64) to the loading/unloading device to transfer it to a storage reproducing device or the like or to discharge it to the outside. 68 is a hangar consisting of a column for storing storage media, and 70 is a main control unit A (ARC-A) that controls the transport device A (66).
, 71 is a sub-control unit (AMC-A) that controls the transportation execution of the transport device A (66) and is under the main control unit A (70), and 72 is a main control unit that controls the transport device B. B
(ARC-B), 73 is an auxiliary control section B (AMC-B) which controls the execution of transportation of the transportation device B (67) and is under the main control section B, and 74 is an input/discharge device (64).
), which controls the sub-control unit (71 or 73) under the main control unit (70 or 72).
75 is an input/discharge device (64)
76 is a loading mechanism section for receiving and passing a storage medium input by an operator from the outside to conveying device A (66) or conveying device B (67); Ejection mechanism section for receiving and ejecting the transferred storage medium to the outside, 77.78
is a rail for moving transport device A (66) and transport device B (67).

第6図のライブラリ装置における動作は次の通りである
The operation of the library device shown in FIG. 6 is as follows.

投入排出装置(64)(以後、CASと称する)にオペ
レータにより記憶媒体の投入があると、CA31111
部(74)は記憶媒体の投入があったことを示すアテン
シヨンを上位装置に行う。
When the operator inputs a storage medium into the loading/unloading device (64) (hereinafter referred to as CAS), the CA31111
The unit (74) issues an attention to the host device indicating that a storage medium has been inserted.

その時、例えばCASに近い位置にある運搬装置Aを制
御する副制御部A(71)(以後、AMC−Aと称する
)、主制御部A(70)(以後、ARC−Aと称する)
を介してアテンションを上位装置(D I R制御部(
62)、ホストコンピュータ(60))に通知する。
At that time, for example, there is a sub-control unit A (71) (hereinafter referred to as AMC-A) that controls the transport device A located near the CAS, and a main control unit A (70) (hereinafter referred to as ARC-A).
The attention is sent to the host device (DIR control unit) via
62) and notify the host computer (60)).

その結果、上位装置より運搬装置Aを制御するコマンド
が主制御部A(70)もしくは、(71)に発行される
As a result, a command to control the transport device A is issued from the host device to the main control unit A (70) or (71).

運搬を実行するコマンドは運搬する記憶媒体のあるアド
レスと運搬する先を指定するアドレスよりなって、AR
C−A (70) 、AMC−A (71)は、アドレ
スに従って運搬装置Aを制御してCAS(64)に移動
させる。
The command to execute transport consists of the address of the storage medium to be transported and the address specifying the destination.
CA (70) and AMC-A (71) control transport device A according to the address and move it to CAS (64).

運搬装置A(66)は、CAS(64)に移動すると、
投入機構部(75)のトレーに投入された記憶媒体を把
持し、コマンドのアドレスに従って、記憶再生装置(6
5)もしくは格納庫(6B)に移送する。
When the transport device A (66) moves to the CAS (64),
Grip the storage medium inserted into the tray of the input mechanism section (75), and according to the command address, insert the storage medium into the storage reproducing device (6).
5) Or transfer to the hangar (6B).

そして、AMC−A (71) 、ARC−A (70
)は、運搬動作終了を上位装置に通知する。
And AMC-A (71), ARC-A (70
) notifies the higher-level device of the completion of the transport operation.

また記憶媒体を外部に排出する必要が生じると、上位装
置で発行された運搬を実行するコマンドに従って、運搬
装置A(66)または運搬装置B(67)が指定され、
運搬装置A(66)が指定されたとすると、運搬装置A
(66)はARC−A、AMC−Aに制御されて指定さ
れたアドレスの記憶媒体を掴み、アドレスに従ってCA
S (64)の排出機構部(76)に移送する。
Furthermore, when it becomes necessary to eject the storage medium to the outside, transport device A (66) or transport device B (67) is designated according to a command to execute transport issued by the host device.
If transport device A (66) is specified, transport device A
(66) grabs the storage medium at the specified address under the control of ARC-A and AMC-A, and according to the address
S (64) is transferred to the ejection mechanism section (76).

そして、排出機構部(76)で移送してきた記憶媒体を
手放し、排出トレー上に置く。
Then, the user releases the storage medium transferred by the ejection mechanism section (76) and places it on the ejection tray.

上記の動作が終わると、AMC−A、ARC−Aは上位
装置に対して動作終了を通知する。
When the above operations are completed, AMC-A and ARC-A notify the higher-level device of the completion of the operations.

運搬装置A(66)、運搬装置B(67)の運搬動作は
、CAS (64)と記憶再生装置(65)、CAS 
(64)と格納庫(68)間で移動する以外に、運搬実
行コマンドのアドレスに応じて、格納庫(68)と記憶
再生装置(65)間での移送も行うものである。
The transportation operation of transportation device A (66) and transportation device B (67) is carried out by CAS (64), storage reproducing device (65), and CAS.
(64) and the hangar (68), it also moves between the hangar (68) and the storage/reproducing device (65) according to the address of the transport execution command.

上記従来のライブラリ装置において、CASに障害を生
じた場合の制御方法のフローを第7図により説明する。
The flow of a control method when a failure occurs in the CAS in the conventional library apparatus described above will be explained with reference to FIG.

図示の番号に従って説明する。必要に応じて第6図を参
照する。
The explanation will be given according to the numbers shown. Refer to FIG. 6 as necessary.

■ CAS(64)に障害が発生する。■ A failure occurs in CAS (64).

■ 障害発生は、CAS@@部(74)からAMC−八
(71)もしくはAMC−B (73)の側のいずれか
を経由して上位装置に通知される。
(2) The occurrence of a failure is notified from the CAS@@ section (74) to the higher-level device via either the AMC-8 (71) or AMC-B (73) side.

例えば、AMC−Aを介してARC−Aより上位装置に
通知されたものとする。
For example, assume that the notification is sent from ARC-A to a higher-level device via AMC-A.

■ ホストコンピュータ(60)はCAS (64)の
使用を禁止する。メツセージをコンソール上に出力して
、オペレータに通知する。
■ The host computer (60) prohibits the use of the CAS (64). Print a message on the console and notify the operator.

■ オペレータはCASを点検する。■ Operator inspects CAS.

[発明の解決しようとする課題〕 従来のライブラリ装置においては、CASに障害が発生
すると、その都度、障害発生がホストコンピュータに通
知され、CASがライブラリ装置から切り離されてオペ
レータによる保守をなすようにしていた。
[Problems to be Solved by the Invention] In conventional library devices, whenever a failure occurs in the CAS, the host computer is notified of the failure, and the CAS is separated from the library device for maintenance by an operator. was.

しかし、CASで発生する障害の大多数は投入された記
憶媒体がトレー上で傾いていたためオペレータがスター
トボタンを押したがスタートしなかった、もしくは排出
機構部で運搬装置が記憶媒体を手放した後、トレー上に
記憶媒体が落下したときの衝撃でセンサーが誤動作した
等の軽い程度のもので、CASをイニシャライズしてリ
トライ処理することにより回復するようなものであった
However, the majority of failures that occur in CAS occur when the loaded storage medium is tilted on the tray and the operator presses the start button but it does not start, or after the transport device releases the storage medium at the ejection mechanism. The problem was a minor one, such as a sensor malfunctioning due to the impact when the storage medium fell onto the tray, and could be recovered by initializing the CAS and performing a retry process.

しかし、従来のライブラリのCASにおける制御方法で
は、このような場合も、障害としてホストコンピュータ
に通知され、CASがライブラリ装置から切り離され、
オペレータによる回復処理をしなければならない非能率
的なものであった。
However, in the conventional library CAS control method, even in such a case, the host computer is notified as a failure, and the CAS is disconnected from the library device.
This was inefficient as it required recovery processing by the operator.

本発明は、CASのリトライ処理により回復できる程度
の障害は自動的にリトライ処理により回復するようにし
、信親性の高いライブラリ装置におけるCAS制御方法
を得ることを目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to provide a CAS control method in a library device with high reliability by automatically recovering from a fault that can be recovered by CAS retry processing.

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

本発明は、CASにおける障害発生通知を受けたARC
(ARC−AもしくはARC−B)は、CASに対して
複数回のリトライ処理を行うように指令する。 その結
果、障害が回復できなければ、さらに、別のAMC(A
MC−Aを介してリトライされていた場合には、AMC
−B、AMC−Bを介してリトライされていた場合には
AMCA)によりリトライ処理をさらに複数回行うよう
にした。
The present invention provides an ARC service that receives notification of failure occurrence in CAS.
(ARC-A or ARC-B) instructs the CAS to perform retry processing multiple times. As a result, if the failure cannot be recovered, another AMC (A
If retried via MC-A, AMC
-B and AMC-B, the retry process is further performed multiple times using AMCA).

第1図に本発明の原理図を示す。FIG. 1 shows a diagram of the principle of the present invention.

図において、1は上位装置(DIR)、2はライブラリ
装置、3は運搬装置1A(図示せず)を主として制御す
る運搬装置制御部A(以後、ACC制御部−Aと称する
)、4は運搬装置B(図示せず)を主として制御する運
搬装置制御部B(以後、ACC1ilI御部Bと称する
)、5はACCI+御部A(3)とACCM御部B(4
)の一方が故障した場合故障した方に代わって交替処理
を行うためのデータを保持しておく一元管理テーブルで
あって、Acclaim部A(3)とACClilW部
B(4)に共通のメモリよりなるもの、6は投入排出装
置(CAS)、10はACCII御部A(3)における
主制御部(ARG−A) 、11は主制御部A(10)
配下の副制御部(AMC−A)であって、必要に応じて
、主制御部B(12)により管理されるもの、12はA
CC@御部B(4)における主制御部(ARC−B)、
13は主制御部B(12)配下の副制御部(AMC−B
)であって、必要に応じて、主制御部A(10)により
管理されるもの、14は投入排出装置(6)における記
憶媒体の投入機構部、15は投入排出装置(6)におけ
る記憶媒体の排出機構部、16は投入排出装置(6)を
制御する投入排出制御部(CAS制御部)である。
In the figure, 1 is a host device (DIR), 2 is a library device, 3 is a transport device control unit A (hereinafter referred to as ACC control unit-A) that mainly controls the transport device 1A (not shown), and 4 is a transport device. The transport device control section B (hereinafter referred to as ACC1ilI control section B) mainly controls the device B (not shown), and 5 is the ACCI + control section A (3) and the ACCM control section B (4
) is a central management table that holds data for performing replacement processing in place of the failed one when one of them fails, and is stored in a memory common to Acclaim part A (3) and ACClil W part B (4). 6 is the charging/discharging device (CAS), 10 is the main control unit (ARG-A) in the ACCII control section A (3), 11 is the main control unit A (10)
A subordinate control unit (AMC-A) that is managed by the main control unit B (12) as necessary; 12 is AMC-A;
Main control unit (ARC-B) in CC@Obe B (4),
13 is a sub-control unit (AMC-B) under the main control unit B (12).
), which is managed by the main control unit A (10) as necessary; 14 is a storage medium loading mechanism in the loading/unloading device (6); 15 is a storage medium in the loading/unloading device (6) 16 is a charging and discharging control section (CAS control section) that controls the charging and discharging device (6).

なお、図において、運搬装置、格納庫、記憶再生装置、
記憶再生装置制御部は省略しである。
In addition, in the figure, a transportation device, a hangar, a storage reproducing device,
The storage/reproduction device control section is omitted.

〔作用〕[Effect]

第1図の原理図の動作を説明する。必要に応じて第1図
を参照する。
The operation of the principle diagram in FIG. 1 will be explained. Refer to FIG. 1 as necessary.

CAS (6)における投入排出動作において障害が発
生した場合について、説明する。
A case where a failure occurs in the loading/unloading operation in CAS (6) will be explained.

CAS (6)における投入機構部(14)もしくは排
出機構部(15)において障害が発生するとCAS制御
部(16)は障害をAMC−A (11)もしくはAM
C−B (13)のいずれかに通知する。
When a failure occurs in the input mechanism section (14) or the discharge mechanism section (15) in the CAS (6), the CAS control section (16) detects the failure in the AMC-A (11) or the AM
Notify either of C-B (13).

いま、例としてAMC−A (11)に通知された場合
を考える。
Now, as an example, consider the case where AMC-A (11) is notified.

AMC−A(11)はARC−A (10)にCASの
障害を通知する。
AMC-A (11) notifies ARC-A (10) of the CAS failure.

CAS (6)の障害通知を受けたARC−A(10)
はCAS (6)をイニシャライズするため、AMC−
A (11)にCASのイニシャライズ通知を出す。C
AS (6)のイニシャライズ通知を受は取ったAMC
−A (11)はCA S 11m部(16)にCAS
 (6)のイニシャライズ通知を送る。
ARC-A (10) received notification of failure of CAS (6)
In order to initialize CAS (6), AMC-
Issue a CAS initialization notification to A (11). C
AMC that received the initialization notification of AS (6)
-A (11) is CAS 11m part (16) is CAS
(6) Send the initialization notification.

CAS制御部(16)は投入機構部(14)と排出機構
部(15)をイニシャライズして初期状態に戻し、リト
ライ処理を行う。
The CAS control section (16) initializes the loading mechanism section (14) and the discharging mechanism section (15) to return them to their initial states and performs a retry process.

ここで、投入記憶媒体が傾いていたため障害として処理
されていたような場合には、オペレータが記憶媒体を正
しくセットしなおし、スタートボタンを押せば、CAS
は正しく動作し、記憶媒体をのせたトレーは所定の位置
に正しくセットされ、以後ライブラリ装置は正しい動作
を開始する。
If the input storage medium is tilted and is treated as a failure, the operator can reset the storage medium correctly and press the start button to restart the CAS.
operates correctly, the tray carrying the storage medium is correctly set in the predetermined position, and the library apparatus starts operating correctly from then on.

また、排出機構部(15)において記憶媒体を運搬装置
が手放したときの衝撃でセンサーが誤動作していたよう
な場合には、本来、障害を生じたわけではないので、同
様に、リトライ処理によりCASは正しく動作を開始す
る。
In addition, if the sensor malfunctions due to the shock when the transport device releases the storage medium in the ejecting mechanism section (15), there is no problem in the first place, so similarly, the retry process will cause the CAS to starts working correctly.

CASの障害が回復したことを確認したARCA(10
)は上位装置に対して、CASの障害回復のためのリト
ライ処理を行ったことを示すリトライログを送出し、正
常終了する。
ARCA confirmed that the CAS failure has been recovered (10
) sends a retry log indicating that retry processing for CAS failure recovery has been performed to the higher-level device, and ends normally.

ところで、AMC−A (11)を介してリトライ処理
しても、AMC−A (11)とCAS制御部(16)
のインターフェースがうまくとれてない等のため、CA
Sの障害を回復できないような場合がある。
By the way, even if retry processing is performed via AMC-A (11), AMC-A (11) and CAS control unit (16)
CA
There are cases where it is impossible to recover from a failure in S.

そのような場合を考えて、本発明では、ARCA(10
)からAMC−A (11)を介してのリトライ処理を
3回繰り返してもCASの障害が回復しない場合には、
ARC−A (10)からAMC−B (13)を介し
てCASにイニシャライズ通知をし、リトライ処理を行
うようにする。
Considering such a case, in the present invention, ARCA (10
) to AMC-A (11) if the CAS failure is not recovered even after repeating the retry process three times,
An initialization notification is sent from ARC-A (10) to CAS via AMC-B (13), and retry processing is performed.

そこで、CASの障害が回復した場合には、前記の場合
と同様にARC−A(10)が上位装置に対してリトラ
イログを送出し正常終了する。
Therefore, when the CAS failure is recovered, the ARC-A (10) sends a retry log to the host device and ends normally, as in the case described above.

また、本発明は、ARC−A(10)とARC−B(1
2)に共通なメモリよりなる一元管理テーブル(5)を
備えているので、ARC−A (10)、AMC−A 
(11)の側の電源が停電したような場合には、DIR
(1)はARC−A (10)の処理を自動的にARC
−B (12)に交替する交替ARC処理を行う。
Further, the present invention provides ARC-A (10) and ARC-B (1
ARC-A (10), AMC-A
(11) In the event of a power outage, the DIR
(1) automatically converts the processing of ARC-A (10) to ARC
-B (12) Performs replacement ARC processing.

そのようにして、ARC−A (10)に代わってAR
C−B(12)によりリトライ処理を継続し、CASの
障害回復を計ることが可能になる。
In that way, AR instead of ARC-A (10)
C-B (12) allows the retry process to be continued and CAS failure recovery to be performed.

上記においては、ARC−Aを中心にリトライ処理をす
る場合について説明したが、最初にARC−B(12)
からAMC−B (13)を介してリトライ処理を3回
行うようにしてもよい、それで障害が回復しなかった場
合には、次にARC−B(12)からAMC−A (1
1)を介してCASのリトライ処理を3回行う。
In the above, we have explained the case where retry processing is performed mainly on ARC-A.
You may perform retry processing three times from ARC-B (12) to AMC-A (13) if the failure is not recovered.
1) Perform CAS retry processing three times.

また、その途中で、ARC−B (12)、AMC−B
(13)の側が停電したような場合には、ARC−A 
(10)の側にARC交替処理をしてCAS (6)の
リトライ処理を行うようにする。
Also, on the way, ARC-B (12), AMC-B
(13) In the event of a power outage, the ARC-A
ARC replacement processing is performed on the side of (10), and retry processing of CAS (6) is performed.

〔実施例) 第2図に本発明のライブラリ装置の実施例を示す。〔Example) FIG. 2 shows an embodiment of the library apparatus of the present invention.

図において、20は運搬装置A (ACC−A)、21
は運搬装置B (ACC−B)、22はACCA(20
)を制御するACCil11部、23はACC−B (
21)を制御するACC制御部、24は記憶媒体の投入
排出装置(CAS)、25はCAs (24)における
記憶媒体の投入機構部であって、ライブラリの前面に記
憶媒体の投入孔があり、内部に記憶媒体を受けるトレー
を備えるもの、26はCAS(24)における記憶媒体
の排出機構部であって、ライブラリ装置の前面に記憶媒
体を取り出す排出孔があり、運搬装置A(20)、運搬
装置B(21)により運ばれてきた記憶媒体を受けるト
レーを備えるもの、27は記憶再生装置(MTU)であ
って、4台備えるもの、28はDIR制御部、29は記
憶媒体の格納庫でライブラリ装置の前面側と後面側の両
方にあるもの、30.31は保守用の記憶媒体を格納す
る保守格納庫、32は運搬装置A(20)および運搬装
置B(21)を移動させるためのレール、33は記ff
l再生装置制御部(MTU制御部)である。
In the figure, 20 is conveyance device A (ACC-A), 21
is transportation device B (ACC-B), 22 is ACCA (20
), ACCil 11 and 23 control the ACC-B (
21), 24 is a storage medium loading/unloading device (CAS), 25 is a storage medium loading mechanism in the CAs (24), and there is a storage medium loading hole in the front of the library; 26 is a storage medium ejection mechanism in the CAS (24), which has an ejection hole for taking out the storage medium on the front side of the library device; 27 is a storage/reproduction unit (MTU), which is equipped with a tray for receiving storage media carried by the device B (21); 28 is a DIR control unit; 29 is a storage medium storage and a library. Those on both the front side and the rear side of the device, 30. 31 is a maintenance hangar for storing storage media for maintenance, 32 is a rail for moving transport device A (20) and transport device B (21), 33 is written ff
1 playback device control unit (MTU control unit).

第3図は、本発明のライブラリ装置の実施例構成を示す
FIG. 3 shows the configuration of an embodiment of the library apparatus of the present invention.

第3図は、第2図の実施例の装置構成のブロック図を示
す。
FIG. 3 shows a block diagram of the device configuration of the embodiment of FIG. 2.

図ニオイテ、40.41はホストコンピュータ(第2図
には図示されていない)、42はライブラリ装置、43
はDTR@@部、45は投入排出装置(CAS) 、4
6は記憶再生装置の制御部(MTUlilW部)、47
は記憶再生装置(MTU)、4Bは記憶媒体の格納庫、
49は運搬装置A、50は運搬装置B、52は一元管理
テーブル、53.55はARC−A、ARC−Bであっ
て、CASのリトライログ、CASの側からのアテンシ
ョン通知等をホストコンピュータ40.41に報告する
等の複数の管理的もしくは監視的処理を循環サイクルに
より待機するアイドリングを有しているもの、5456
はAMC−A  AMCB、57は投入機構部、58は
排出機構部、59はCAS@御部である。
40. 41 is a host computer (not shown in FIG. 2), 42 is a library device, 43
is the DTR@@ section, 45 is the charge/discharge device (CAS), 4
6 is a control unit (MTUlilW unit) of the storage/reproduction device, 47
is a storage/reproduction unit (MTU), 4B is a storage medium storage,
49 is a transportation device A, 50 is a transportation device B, 52 is a central management table, and 53.55 is an ARC-A, ARC-B, which sends CAS retry logs, attention notifications from the CAS side, etc. to the host computer 40. 5456, which has an idling cycle in which it waits for multiple administrative or supervisory processes, such as reporting to .41;
is AMC-A AMCB, 57 is an input mechanism section, 58 is an ejection mechanism section, and 59 is a CAS@control section.

第4図により、第3図の構成におけるCASのリトライ
処理の動作を説明する。
The operation of CAS retry processing in the configuration of FIG. 3 will be explained with reference to FIG. 4.

第4図は、本発明のリトライ処理のフローである。FIG. 4 is a flowchart of retry processing according to the present invention.

図において、60はARC−AもしくはARC−B、6
1はCASリトライ処理であって、ACC制御部におけ
るARC−A、ARC−B、AMC−A、AMC−Bの
処理のフローであるもの、62は運搬管理部(60)に
おけるCAS監視部であって、CASに障害が発生した
場合(CASE RR,OR)にARC(ARC−Aも
しくはARC−B)にCAS+Jトライ処理61を行う
ように処理を移行させるもの、63〜65は運搬管理部
における処理であって、例えば、CASに記憶媒体の投
入があったとき、ホストコンピュータにアテンションす
るサービス、ホストコンピュータから運搬装置を稼働さ
せるMOVコマンドが発行されたとき、ARC−Aもし
くはARC−Bを通シテ、AMC−A、AMC−BL:
にMOVコマンドの実行処理を移行させるサービス、運
搬装置Aもしくは運搬装置BがMOVコマンドを実行し
て、終了したときCASlil1m部、AMC,ARC
を介して通知する等の処理である。運搬管理部(60)
は(62)〜(65)の処理を行う必要があるか絶えず
循環サイクルにより待機しているアイドリングを行って
いる。そして、CASの障害発生が通知されると、アイ
ドリングにおけるCAS監視部62の処理において、処
理を61に移行するようにする。
In the figure, 60 is ARC-A or ARC-B, 6
1 is a CAS retry process, which is the process flow of ARC-A, ARC-B, AMC-A, and AMC-B in the ACC control unit; 62 is a CAS monitoring unit in the transportation management unit (60); , when a failure occurs in CAS (CASE RR, OR), the process is transferred to ARC (ARC-A or ARC-B) to perform CAS+J try process 61, and 63 to 65 are processes in the transportation management department. For example, when a storage medium is inserted into the CAS, a service that issues attention to the host computer, or an MOV command to operate a transport device is issued from the host computer, the system is activated through ARC-A or ARC-B. , AMC-A, AMC-BL:
A service that transfers the MOV command execution processing to CASlil1m, AMC, ARC when transportation device A or transportation device B executes the MOV command and finishes.
This is a process such as notification via . Transportation management department (60)
is idling, constantly waiting in a circular cycle to see if it is necessary to perform the processes (62) to (65). When the occurrence of a CAS failure is notified, the process of the CAS monitoring unit 62 during idling is shifted to step 61.

図示の丸を付した番号に従ってフローを説明する。The flow will be explained according to the circled numbers shown in the figure.

例として、ARC−Aによりリトライ処理を行う場合を
考える。
As an example, consider a case where retry processing is performed by ARC-A.

■ CAS監視部(62)はCASに障害が発生したか
どうかを判定する。
■ The CAS monitoring unit (62) determines whether a failure has occurred in the CAS.

CASに障害が発生すれば(CAS  ERROR)ア
イドリングからCASリトライ処理(61)に移行する
If a failure occurs in the CAS (CAS ERROR), the process shifts from idling to CAS retry processing (61).

CASに障害の発生がなければ、アイドリングを続ける
If no failure occurs in the CAS, idling continues.

■ CASのリトライ処理実行中のフラグをARC−A
にセットする。
■ Set the CAS retry process execution flag to ARC-A.
Set to .

■ 同−AMC(今の場合AMC−A)によりCASの
イニシャライズコマンド(CAS  INIT  CM
D)を発行し、CASリトライ処理を行う。
■ Initialize CAS command (CAS INIT CM) by AMC (AMC-A in this case)
D) and performs CAS retry processing.

■ CASの障害が回復して、正常終了したが判断する
■ Determine that the CAS failure has been recovered and the process has completed normally.

正常終了すれば■に進み、CASの障害が回復しなけれ
ば■に進む。
If the process ends normally, proceed to ■; if the CAS failure is not recovered, proceed to ■.

■ CASの障害が回復した場合には、CASにリトラ
イ処理をしたことを示すCASリトライログ(CAS 
 RETRY  LOG)を発行し、運搬管理部60に
戻る。
■ When the CAS failure is recovered, the CAS retry log (CAS
RETRY LOG) and returns to the transportation management section 60.

■、■  同−AMCCAS  RETRYかどうかの
判断■においてCASの障害が回復しない場合には、リ
トライした回数を判断する。そして、リトライ回数が3
回以下であり同−AMC(今の場合AMC−A)であれ
ば、■移行の処理を繰り返す。
(2), (2) Same-Determining whether or not AMC CAS RETRY If the CAS failure is not recovered in (2), the number of retries is determined. And the number of retries is 3
If the number is less than or equal to the same AMC (AMC-A in this case), repeat the process of ① migration.

■、■、■  同−AMCかどうかの判断■において同
−AMCでなければ■に進み、他系のAMC(今の場合
AMC−8)によりCASリトライ処理を行い、■以後
の処理を繰り返す。
(2), (2), (2) Determination of whether or not it is the same AMC. If it is not the same AMC in (2), proceed to (2), perform CAS retry processing using the other system AMC (AMC-8 in this case), and repeat the processing after (2).

■、■、■ リトライ回数が3回を超えていて、同−A
MC(AMC−A)であれば、他系AMC(AMC−B
)によりCASIJ)ライ処理を行い、■以降の処理を
繰り返す。
■、■、■ The number of retries exceeds 3 and the same -A
If it is an MC (AMC-A), it is a different AMC (AMC-B).
) performs CASIJ) lie processing, and repeats the processing from ① onwards.

■、■、@ リトライの結果回復せず、しかもリトライ
処理が3回を超えていて、同−AMCでなければ(今の
場合、AMC−B) 、[相]でCASの使用を禁止す
る。
■、■、@ If the retry does not result in recovery, and the retry process has exceeded 3 times, and it is not the same AMC (in this case, AMC-B), use of CAS is prohibited in [phase].

そして、運搬管理部60に処理を移行する。Then, the process is transferred to the transportation management section 60.

本発明では、ARC−AとARC−Bに共通のメモリに
より一元的に両者を管理するテーブルを設け、CASの
リトライ処理中において、例えば、ARC−Aの電源が
断たれた場合等の障害が発生した場合には、ARC−B
に交替してリトライ処理を継続できるようにした。
In the present invention, a table is provided for centrally managing both ARC-A and ARC-B using a common memory, and a failure such as when the power of ARC-A is cut off during CAS retry processing is prevented. If this occurs, ARC-B
It is now possible to continue retry processing by taking over.

第5図により、ARCの交替処理のフローを示す。図は
ARC−Aによりリトライ処理中、ARC−Aに障害が
発生した場合のフローを示す。
FIG. 5 shows the flow of ARC replacement processing. The figure shows a flow when a failure occurs in ARC-A during retry processing by ARC-A.

■ ARC−Aによりリトライ処理中。■ Retry processing is in progress by ARC-A.

■ ARC−Aの電源が断たれる等の障害が発生する。■ A failure occurs, such as the power to ARC-A being cut off.

■ 上位装置はARC−Aの障害を検出する。■ The host device detects a failure in ARC-A.

■ 上位装置はARC−Bに交替を指示する。■ The higher-level device instructs ARC-B to replace.

■ 切り換えられたARC−BはCASIJ)ライ処理
を継続させる。
■ The switched ARC-B continues CASIJ) lie processing.

〔発明の効果] 本発明によれば、ライブラリ装置の媒体投入排出装置に
障害が発生しても、自動的に復旧することができ、また
、複数の主制御部(ARC)のうちの1つに障害が発生
しても、他の主制御部により交替処理するのでライブラ
リ装置の信韻性が向上する。
[Effects of the Invention] According to the present invention, even if a failure occurs in the medium loading/unloading device of the library device, it can be automatically restored, and one of the plurality of main control units (ARC) Even if a failure occurs in the library, the reliability of the library device is improved because the alternate processing is performed by another main control section.

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

第1図は、本発明の原理図である。 第2図は、本発明のライブラリ装置の実施例を示す図で
ある。 第3図は、本発明の実施例構成を示す図である。 第4図は、本発明のリトライ処理のフローを示す図であ
る。 第5図は、本発明のARCの交替処理のフローを示す図
である。 第6図は、従来のライブラリ装置の構成を示す図である
。 第7図は、投入排出装置に障害を生じた場合の従来の制
御方法のフローを示す図である。 第1図において、 1 :上位装置 2 ニライブラリ装置、 3 :運搬装置制御部A CACCm御部A)、4 :
運搬装置制御部B (AC(J欄部B)、ニー元管理テ
ーブル、 :投入排出装置(CAS)、 :主制御部A (ARC−A) :副制御部A (AMC−A) :主制御部B (ARC−B) :副制御部B (AMC−B) :投入機構部、 :排出機構部、 : CAS制御部。
FIG. 1 is a diagram showing the principle of the present invention. FIG. 2 is a diagram showing an embodiment of the library device of the present invention. FIG. 3 is a diagram showing the configuration of an embodiment of the present invention. FIG. 4 is a diagram showing the flow of retry processing of the present invention. FIG. 5 is a diagram showing the flow of ARC replacement processing according to the present invention. FIG. 6 is a diagram showing the configuration of a conventional library device. FIG. 7 is a diagram showing the flow of a conventional control method when a failure occurs in the charging/discharging device. In FIG. 1, 1: host device 2 library device, 3: transport device control section A CACCm control section A), 4:
Conveying device control unit B (AC (J column B), knee source management table, : Charge and discharge device (CAS), : Main control unit A (ARC-A) : Sub-control unit A (AMC-A) : Main control Part B (ARC-B) : Sub-control part B (AMC-B) : Loading mechanism part, : Discharge mechanism part, : CAS control part.

Claims (2)

【特許請求の範囲】[Claims] (1)、記憶媒体の投入排出を行う投入排出装置(6)
と、記憶媒体を運搬する複数の運搬装置とよりなる記憶
媒体のライブラリ装置(2)において、 複数の運搬装置を制御する複数の主制御部(10、12
)と、各主制御部毎の配下の複数の副制御部(11、1
3)と、複数の主制御部(10、12)を共通に管理す
るための一元管理テーブル(5)と、投入排出装置(6
)を制御する投入排出制御部(16)とを備え、 投入排出制御部(16)は上記主制御部(10、12)
により副制御部(11、13)を介して制御され、 投入排出装置(6)に障害を生じた場合には、任意の1
つの主制御部(10、12)はまずその配下の副制御部
(11、13)を介して上記投入排出制御部(16)に
障害を回復するためのリトライ処理を行わしめ、 上記リトライ処理において、障害が回復しない場合には
、上記任意の1つの主制御部(10、12)は他の副制
御部(11、13)により上記投入排出装置(6)に複
数回のリトライ処理を行わしめることを特徴とするライ
ブラリ装置における記憶媒体投入排出装置の自動復旧方
法。
(1), loading/unloading device (6) for loading/unloading storage media;
and a plurality of transport devices for transporting storage media (2), a plurality of main control units (10, 12) that control the plurality of transport devices
), and a plurality of sub-control units (11, 1) under each main control unit
3), a unified management table (5) for commonly managing multiple main control units (10, 12), and an input/discharge device (6).
), the input and discharge control section (16) controls the main control section (10, 12).
is controlled via the sub-control unit (11, 13), and if a failure occurs in the input/discharge device (6), any one
The two main control units (10, 12) first perform a retry process on the input/discharge control unit (16) to recover from the failure via the subordinate control units (11, 13), and in the retry process, If the failure is not recovered, the arbitrary one of the main control units (10, 12) causes the other sub-control units (11, 13) to retry the input/discharge device (6) multiple times. An automatic recovery method for a storage medium loading/unloading device in a library device, characterized in that:
(2)、任意の1つの主制御部(10、12)のリトラ
イ処理中に任意の1つの主制御部(10、12)が障害
をおこして動作不能になった場合には、他の主制御部(
10、12)によりリトライ処理を継続して行うことを
特徴とする請求項1に記載のライブラリ装置における記
憶媒体投入排出装置の自動復旧方法。
(2) If any one main control unit (10, 12) fails and becomes inoperable during the retry process of any one main control unit (10, 12), the other main control unit (10, 12) Control unit (
10. The automatic recovery method of a storage medium loading/unloading device in a library apparatus according to claim 1, wherein retry processing is continuously performed according to steps 10 and 12).
JP2245218A 1990-09-14 1990-09-14 Automatic restoration method for supply/discharge device for recording medium in library device Pending JPH04125844A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2245218A JPH04125844A (en) 1990-09-14 1990-09-14 Automatic restoration method for supply/discharge device for recording medium in library device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2245218A JPH04125844A (en) 1990-09-14 1990-09-14 Automatic restoration method for supply/discharge device for recording medium in library device

Publications (1)

Publication Number Publication Date
JPH04125844A true JPH04125844A (en) 1992-04-27

Family

ID=17130393

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2245218A Pending JPH04125844A (en) 1990-09-14 1990-09-14 Automatic restoration method for supply/discharge device for recording medium in library device

Country Status (1)

Country Link
JP (1) JPH04125844A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5647717A (en) * 1994-12-06 1997-07-15 Fujitsu Limited Cartridge carrying system and library system
US6061309A (en) * 1997-12-17 2000-05-09 International Business Machines Corporation Method and apparatus for maintaining states of an operator panel and convenience input/output station of a dual library manager/dual accessor controller system in the event of a failure to one controller

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5647717A (en) * 1994-12-06 1997-07-15 Fujitsu Limited Cartridge carrying system and library system
US6061309A (en) * 1997-12-17 2000-05-09 International Business Machines Corporation Method and apparatus for maintaining states of an operator panel and convenience input/output station of a dual library manager/dual accessor controller system in the event of a failure to one controller

Similar Documents

Publication Publication Date Title
JP3601982B2 (en) Disk array device control method and disk array device
JPH10254648A (en) Storage device storing portable media
US6502204B2 (en) Library system storing removable storage media
WO2013005418A1 (en) Storage device and storage method
US20020049923A1 (en) Method for recovering from drive failure in storage media library array apparatus
JPH04125844A (en) Automatic restoration method for supply/discharge device for recording medium in library device
JPH10254642A (en) Storage device system
US8457777B2 (en) Accessor control failover in an automated data storage library
JPH10275060A (en) Array disk controller
JP3412442B2 (en) Storage device using portable media
JP3518232B2 (en) Portable media library device
JP4218636B2 (en) Storage device for storing portable media
JPH06124169A (en) Duplex systematized optical disk device and automatic i/o error restoring method
JPH10254634A (en) Storage device and restoration means for storage device
JP2830840B2 (en) Disk array repair processing method and method
JP3080493B2 (en) Library device accessor and its position information restoring method
JPH10254635A (en) Storage device sub system for confirming fed array group
JPH11184644A (en) Fault restoration method for library type disk array device
WO1991000567A1 (en) Library equipment
JP4268689B2 (en) Storage system
JPH03134728A (en) Drive fault processing method for large capacity storage device
JP2001228981A (en) Storage medium library array device
JPH103361A (en) Data backup device
JP2003067143A (en) Storage medium library array device
JPH11297003A (en) Magnetic tape library device