JPH02121048A - Peripheral controller - Google Patents

Peripheral controller

Info

Publication number
JPH02121048A
JPH02121048A JP63274962A JP27496288A JPH02121048A JP H02121048 A JPH02121048 A JP H02121048A JP 63274962 A JP63274962 A JP 63274962A JP 27496288 A JP27496288 A JP 27496288A JP H02121048 A JPH02121048 A JP H02121048A
Authority
JP
Japan
Prior art keywords
control
information
fault
controller
magnetic tape
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.)
Granted
Application number
JP63274962A
Other languages
Japanese (ja)
Other versions
JPH0654480B2 (en
Inventor
Masumi Takiyanagi
真澄 滝柳
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP63274962A priority Critical patent/JPH0654480B2/en
Publication of JPH02121048A publication Critical patent/JPH02121048A/en
Publication of JPH0654480B2 publication Critical patent/JPH0654480B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To obtain sufficient fault information when a fault is inspected by retaining the control table and the operating history of a magnetic tape controller, in which the fault occurs, when the fault occurs and the operating history of another magnetic tape controller paired with the above-mentioned controller at that time in the saving storage area of the above-mentioned controller. CONSTITUTION:When the fault occurs in the title peripheral controller composed of a device cross call, the control information and operating history information of the controller, in which the fault occurs, are saved as the fault information according to the instructions of the control means of microprocessors 12, 22, etc. Further, the operating history information and the control information of the other party side controller are retained in the saving storage area of the controller, in which the fault occurs, by using communication means 15 and 25 between controllers 1 and 2. Thus, the sufficient fault information can be obtained for the time when the fault is inspected afterwards.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、周辺制御装置に係り、とくに複数の制御装置
で周辺装置を共有する周辺制御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a peripheral control device, and particularly to a peripheral control device in which a peripheral device is shared by a plurality of control devices.

〔従来の技術〕[Conventional technology]

周辺制御装置にあっては、一般に制御装置内に障害が発
生した場合、それぞれの制御装置毎に、装置内の制御テ
ーブルや装置の動作履歴を制御メモリ内の待避領域にコ
ピーし、その後の障害解析に利用する、という構成を備
えている。
In peripheral control devices, when a failure occurs in the control device, the control table and operation history of the device are copied to a save area in the control memory for each control device, and the subsequent failure It has a configuration that can be used for analysis.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来の周辺制御装置においては、記録再生部を
複数の制御装置により制御する所謂デバイスクロスコー
ル構成の場合、障害情報の待避は、それぞれの制御装置
毎に行なわれる。このため障害情報として待避されるの
は、異常を検出した制御装置の情報のみである。
In the conventional peripheral control device described above, in the case of a so-called device cross-call configuration in which the recording/reproducing section is controlled by a plurality of control devices, failure information is saved for each control device. Therefore, only the information of the control device that detected the abnormality is saved as failure information.

一方、デバイスクロスコール構成の装置で発生する障害
には、複数の制御装置の相互動作の要因によることがあ
る。この場合、片側の制御装置の情報のみでは、障害情
報として不十分であり、そのとき、もう一方の制御装置
でどの様な動作をしていたのかを知る必要がある。
On the other hand, failures that occur in devices with a device cross-call configuration may be caused by mutual operations of a plurality of control devices. In this case, information from only one control device is insufficient as failure information, and it is necessary to know what kind of operation was being performed by the other control device at that time.

このため、周辺制御装置における障害調査にあっては、
異常を検出した制御装置のみならずこれに関連して作動
する他の制御装置についても、障害調査をしなければな
らず、これがため多くの労力を要するという不都合があ
った。
Therefore, when investigating failures in peripheral control equipment,
The problem is that not only the control device in which the abnormality has been detected but also other control devices operating in connection with the abnormality must be investigated, which requires a lot of effort.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、上記従来例の有する不都合を改善し、
とくに障害調査に際し必要な制御情報等を極く容易に入
手することのできる周辺制御装置を提供することにある
The purpose of the present invention is to improve the disadvantages of the above conventional example,
In particular, it is an object of the present invention to provide a peripheral control device from which control information necessary for fault investigation can be obtained extremely easily.

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

本発明では、単一の周辺装置を制御する第1及び第2の
制御手段と周辺装置用の制御プログラムを内蔵した記憶
手段と、第1及び第2の制御手段相互間に装備された通
信手段とを備えている。各制御手段には、障害情報を待
避せしめる待避用記憶域が併設されている。そして、第
1又は第2の制御手段のいづれかに障害が発生した場合
に、その制御用記憶内容を障害発生に係る一方の制御手
段の待避用記憶域に待避せしめる第1の待避実行手段と
、この場合に生じる他方の制御手段の動作情報を一方の
制御手段の待避用記憶域に待避せしめる第2の待避実行
手段とを有する、という構成を採っている。これによっ
て前述した目的を達成しようとするものである。
In the present invention, first and second control means for controlling a single peripheral device, a storage means containing a control program for the peripheral device, and a communication means provided between the first and second control means. It is equipped with Each control means is provided with a save storage area for saving failure information. and a first evacuation execution means that saves the control memory contents in the evacuation storage area of one of the control means related to the occurrence of the failure when a failure occurs in either the first or second control means; The present invention is configured to include a second save execution means that saves the operation information of the other control means that occurs in this case to the save storage area of one control means. This aims to achieve the above-mentioned purpose.

〔発明の実施例〕[Embodiments of the invention]

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

この第1図に示す実施例は、単一の周辺装置である記録
再生機構4を共通に制御する第1及び第2の制御手段を
備えたマイクロプロセッサ12.22と、記録再生機構
4用の制御プログラム等を内蔵した記憶手段としての制
御記憶部14.24と、第1及び第2の制御手段相互間
に装備された通信手段としての通信レジスタ15.25
とを備えている。第1及び第2の制御手段には、障害情
報を待避せしめる待避用記憶域が併設されている。そし
て、第1又は第2の制御手段のいづれかに障害が発生し
た場合に。
The embodiment shown in FIG. A control storage section 14.24 as a storage means containing a control program, etc., and a communication register 15.25 as a communication means installed between the first and second control means.
It is equipped with The first and second control means are provided with a save storage area for saving failure information. Then, when a failure occurs in either the first or second control means.

その制御用記憶内容を障害発生に係る一方の制御手段の
待避用記憶域に待避せしめる第1の待避実行手段と、こ
の場合に生じる他方の制御手段の動作情報を一方の制御
手段の待避用記憶域に待避せしめる第2の待避実行手段
とを備えている。 これらの各待避実行手段に係る機能
は、実際には上述したマイクロプロセッサ12.22が
行うようになっている。
A first evacuation execution means that saves the control memory contents to the evacuation storage area of one of the control means related to the occurrence of a failure, and a first evacuation execution means that saves the control memory contents to the evacuation storage area of the one control means related to the occurrence of the failure, and a first evacuation execution means that saves the operation information of the other control means that occurs in this case to the evacuation memory of the one control means. and second evacuation execution means for evacuation to the area. The functions related to each of these save execution means are actually performed by the above-mentioned microprocessor 12.22.

また、上述した待避用記憶域は、実際には制御記憶部1
4.24内に設定されている。 これを更に詳述すると
、第1図は、本発明の一実施例である磁気テープ制御装
置のブロック図である。磁気テープ制御装置1及び2は
、対をなす制御装置で、それぞれ上位装置3及び記録再
生機構4に接続されるデバイスクロスコール構成をなし
ている。磁気テープ制御装置1及び2は、共に上位装置
3からの命令により記録再生機構4を制御する機能を持
つ。上位装置接続部11は上位装置3との命令転送、デ
ータ転送、ステータス転送を行なう際にそのインターフ
ェースを制御する。マイクロプロセッサ12は、磁気テ
ープ装置全体の動作を制御する。記録再生制御部13は
、記録再生機構4に対するデータ転送の制御、動作指示
、エラー検出等を行なう。制御記憶部14は、マイクロ
プロセッサ12が、磁気テープ制御装置を制御するため
の制御テーブル等を格納するためのメモリで、その一部
を障害情報待避領域に割り当てている。通信レジスタ1
5は、磁気テープ制御装置1と磁気テープ制御装置2の
間で制御情報をやりとりする為の通信用レジスタで、複
数のレジスタからなる。磁気テープ制御装置l及び2は
、常に通信し合いながら記録再生機構4を制御している
Furthermore, the above-mentioned backup storage area is actually the control storage unit 1.
4.24. To explain this in more detail, FIG. 1 is a block diagram of a magnetic tape control device that is an embodiment of the present invention. The magnetic tape control devices 1 and 2 are a pair of control devices, and have a device cross-call configuration connected to a host device 3 and a recording/reproducing mechanism 4, respectively. The magnetic tape control devices 1 and 2 both have the function of controlling the recording/reproducing mechanism 4 based on commands from the host device 3. The higher-level device connection section 11 controls the interface when performing command transfer, data transfer, and status transfer with the higher-level device 3. Microprocessor 12 controls the overall operation of the magnetic tape device. The recording and reproducing control unit 13 controls data transfer to the recording and reproducing mechanism 4, gives operation instructions, detects errors, and the like. The control storage unit 14 is a memory in which the microprocessor 12 stores control tables and the like for controlling the magnetic tape control device, and a portion of the control storage unit 14 is allocated to a failure information save area. Communication register 1
5 is a communication register for exchanging control information between the magnetic tape control device 1 and the magnetic tape control device 2, and is composed of a plurality of registers. The magnetic tape controllers 1 and 2 control the recording/reproducing mechanism 4 while constantly communicating with each other.

次に、上記構成においてその動作を説明する。Next, the operation of the above configuration will be explained.

マイクロプロセッサ12は、上位装置3から上位装置接
続部11を介して送られる命令とデータを解析し、実際
に記録再生機構4を駆動する命令を記録再生制御部13
を介して送出する。磁気テープ制御装置lと磁気テープ
制御装置2で制御に矛盾を生じさせないように、制御情
報の一部を2つの制御装置間で共有している。これらの
共有情報は、マイクロプロセッサ12.22が、通信レ
ジスタ15.25を用いて更新している。
The microprocessor 12 analyzes commands and data sent from the host device 3 via the host device connection section 11, and sends instructions to the recording and playback control section 13 to actually drive the recording and playback mechanism 4.
Send via. In order to avoid inconsistent control between the magnetic tape control device 1 and the magnetic tape control device 2, a part of the control information is shared between the two control devices. These shared information are updated by the microprocessor 12.22 using the communication register 15.25.

マイクロプロセッサ12は、制御記憶部14を、磁気テ
ープ制御用に使用するほか、磁気テープ制御装置1の動
作履歴をトレースする為にも使用している。磁気テープ
制御装置1と上位装置3との命令。
The microprocessor 12 uses the control storage unit 14 not only to control the magnetic tape but also to trace the operation history of the magnetic tape control device 1. Instructions between the magnetic tape control device 1 and the host device 3.

ステータスのやりとりを、マイクロプロセッサ12が時
系列で制御記憶部14内のトレース格納領域に書込んで
いる。このトレース情報は、障害発生時にその障害内容
を解析する上で非常に有効である。
The microprocessor 12 writes status exchanges in chronological order to a trace storage area in the control storage unit 14. This trace information is very effective in analyzing the details of a failure when it occurs.

通常動作の場合、制御記憶部14は、順次上書きして使
用する。このとき、マイクロプロセッサ12が、磁気テ
ープ制御袋Nl内に障害を検出すると、障害時の情報が
上書きされるのを防ぐために、制御記憶部14内の制御
テーブル、トレース情報、その他必要な情報を制御記憶
内の待避領域に格納する。
In the case of normal operation, the control storage unit 14 is sequentially overwritten and used. At this time, when the microprocessor 12 detects a fault in the magnetic tape control bag Nl, it saves the control table, trace information, and other necessary information in the control storage unit 14 to prevent the information at the time of the fault from being overwritten. Store in a save area in control memory.

同時に、マイクロプロセッサ12は、磁気テープ制御装
置2に対し動作履歴であるトレース情報と、いくつかの
制御情報の送出を要求するコードを通信レジスタ15に
書込む。磁気テープ制御装置2のマイクロプロセッサ2
2は、一定時間毎に通信レジスタ25の内容をチエツク
している。
At the same time, the microprocessor 12 writes into the communication register 15 a code requesting the magnetic tape control device 2 to send trace information, which is an operation history, and some control information. Microprocessor 2 of magnetic tape controller 2
2 checks the contents of the communication register 25 at regular intervals.

マイクロプロセッサ22は、通信レジスタ25の内容か
ら、磁気テープ制御袋W1が、トレース情報を要求して
いることを検出すると、「最新のトレース情報数+ステ
ップ」と、制御情報の一部を編集し、通信レジスタ25
に書込む。マイクロプロセッサ22は、全ての通信する
情報の書込みが終了すると、トレース情報転送終了のコ
ードを通信レジスタ25に書込む。磁気テープ制御装置
1のマイクロプロセッサ12は、通信レジスタ15の内
容から磁気テープ制御装置2側のトレース情報のセット
完了を検出すると、通信レジスタ15からトレース情報
を読み出し、自己の障害情報と共に待避用記憶領域に書
込む。
When the microprocessor 22 detects from the contents of the communication register 25 that the magnetic tape control bag W1 requests trace information, it edits a part of the control information to ``the latest number of trace information + step''. , communication register 25
write to. When the microprocessor 22 finishes writing all the communication information, it writes a code indicating the end of trace information transfer to the communication register 25. When the microprocessor 12 of the magnetic tape control device 1 detects completion of setting the trace information on the magnetic tape control device 2 side from the contents of the communication register 15, it reads the trace information from the communication register 15 and stores it in the backup memory along with its own failure information. Write to area.

以上の動作により障害が発生した磁気テープ制御装置の
障害時の制御テーブルや動作履歴及びその時の対をなす
磁気テープ制御装置の動作履歴が、障害発生制御装置の
待避用記憶域に保存される。
As a result of the above operations, the control table and operation history at the time of the failure of the magnetic tape control device in which the failure occurred and the operation history of the paired magnetic tape control device at that time are saved in the backup storage area of the failure control device.

〔発明の効果〕〔Effect of the invention〕

以上のように、本発明によると、デバイスクロスコール
構成の周辺制御装置において、障害発生に際し、マイク
ロプロセッサ等の制御手段により、その指示によって障
害情報として障害発生制御装置の制御情報・動作履歴情
報を待避させ、また、制御装置間の通信手段を用いて、
相手側制御装置の動作履歴情報及び制御情報を、障害発
生制御装置の待避用記憶域に保存するという構成を採っ
たことにより、事後の障害調査において十分な障害情報
を得られる。
As described above, according to the present invention, when a failure occurs in a peripheral control device having a device cross-call configuration, the control means such as a microprocessor uses the control means such as a microprocessor to send control information and operation history information of the failure control device as failure information according to instructions thereof. evacuate, and using communication means between control devices,
By adopting a configuration in which the operation history information and control information of the other party's control device are saved in the backup storage area of the faulty control device, sufficient fault information can be obtained in a subsequent fault investigation.

複数の制御装置の障害情報が一つの制御装置に保存され
ているため、障害発生制御装置の待避用記憶域を読み出
すだけで障害時の周辺制御サブシステム全体の動作を知
ることができるという従来にない優れた周辺制御装置を
提供することができる。
Since fault information for multiple control devices is stored in a single control device, it is possible to know the operation of the entire peripheral control subsystem at the time of a fault simply by reading the backup storage area of the faulty control device. It can provide excellent peripheral control equipment.

12.22・・・第1及び第2の制御手段としての機能
をも有するマイクロプロセッサ、14.24・・・記憶
手段としての制御記憶部、15.25・・・通信手段と
しての通信レジスタ。
12.22... A microprocessor which also functions as first and second control means, 14.24... A control storage section as a storage means, 15.25... A communication register as a communication means.

Claims (1)

【特許請求の範囲】[Claims] (1)、単一の周辺装置を制御する第1及び第2の制御
手段と、前記周辺装置用の制御プログラムを内蔵した記
憶手段と、前記第1及び第2の制御手段相互間に装備さ
れた通信手段とを備え、 前記各制御手段に、障害情報を待避せしめる待避用記憶
域を併設し、 前記第1又は第2の制御手段のいづれかに障害が発生し
た場合に、その制御用記憶内容を障害発生に係る前記一
方の制御手段の待避用記憶域に待避せしめる第1の待避
実行手段と、この場合に生じる前記他方の制御手段の動
作情報を前記一方の制御手段の待避用記憶域に待避せし
める第2の待避実行手段とを有することを特徴とした周
辺制御装置。
(1) first and second control means for controlling a single peripheral device, storage means containing a control program for the peripheral device, and a device installed between the first and second control means; each of the control means is provided with an evacuation storage area for saving failure information, and when a failure occurs in either the first or second control means, the control storage contents are saved. a first evacuation execution means that saves the operation information of the other control means that occurs in this case to the evacuation storage area of the one control means related to the occurrence of a failure; A peripheral control device comprising: second evacuation execution means for evacuation.
JP63274962A 1988-10-31 1988-10-31 Peripheral control device Expired - Lifetime JPH0654480B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63274962A JPH0654480B2 (en) 1988-10-31 1988-10-31 Peripheral control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63274962A JPH0654480B2 (en) 1988-10-31 1988-10-31 Peripheral control device

Publications (2)

Publication Number Publication Date
JPH02121048A true JPH02121048A (en) 1990-05-08
JPH0654480B2 JPH0654480B2 (en) 1994-07-20

Family

ID=17548997

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63274962A Expired - Lifetime JPH0654480B2 (en) 1988-10-31 1988-10-31 Peripheral control device

Country Status (1)

Country Link
JP (1) JPH0654480B2 (en)

Also Published As

Publication number Publication date
JPH0654480B2 (en) 1994-07-20

Similar Documents

Publication Publication Date Title
JP2548480B2 (en) Disk device diagnostic method for array disk device
JPH02121048A (en) Peripheral controller
JPH0793101A (en) Data backup device
JPS6095663A (en) Automatic switching device of dual type magnetic disk device
JPS6247759A (en) Automatic line trace processing system
JPH04328646A (en) Fault information collecting system
JPH0588988A (en) Disk array device and method for restoring data
JPH0279145A (en) Peripheral controller
JPH0334012A (en) Self-diagnostic device for disk controller
JPH04105150A (en) Peripheral controller
JPS63148348A (en) Data write back system
JPH02187817A (en) Peripheral device control system
JPH02297620A (en) Input/output control system
JPS6269342A (en) Semiconductor disk device
JPS61134859A (en) Backup controlling system of memory
JPH01281520A (en) External storage device
JPH0357047A (en) Electronic disk subsystem
JPH04167120A (en) Magnetic disk subsystem
JPS60144833A (en) Data storage processor
JPS6230464B2 (en)
JPH0470922A (en) Channel processing system
JPH05165740A (en) Input/output controller
JPH01213710A (en) File controller
JPH03240122A (en) Magnetic disk device
JPH0291716A (en) File server

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070720

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080720

Year of fee payment: 14

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090720

Year of fee payment: 15

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090720

Year of fee payment: 15