JPH0648481B2 - Message processing method for shared peripheral device management - Google Patents

Message processing method for shared peripheral device management

Info

Publication number
JPH0648481B2
JPH0648481B2 JP19063685A JP19063685A JPH0648481B2 JP H0648481 B2 JPH0648481 B2 JP H0648481B2 JP 19063685 A JP19063685 A JP 19063685A JP 19063685 A JP19063685 A JP 19063685A JP H0648481 B2 JPH0648481 B2 JP H0648481B2
Authority
JP
Japan
Prior art keywords
host
processing
message
medium
peripheral device
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.)
Expired - Fee Related
Application number
JP19063685A
Other languages
Japanese (ja)
Other versions
JPS6249553A (en
Inventor
茂樹 越川
知幸 古川
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
Nippon Telegraph and Telephone Corp
Original Assignee
Fujitsu Ltd
Nippon Telegraph and Telephone 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 Fujitsu Ltd, Nippon Telegraph and Telephone Corp filed Critical Fujitsu Ltd
Priority to JP19063685A priority Critical patent/JPH0648481B2/en
Publication of JPS6249553A publication Critical patent/JPS6249553A/en
Publication of JPH0648481B2 publication Critical patent/JPH0648481B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Description

【発明の詳細な説明】 〔概要〕 カートリッジ・テープ等の記憶媒体を自動装填しデータ
を入出力する周辺装置を,複数のホスト処理装置が共用
するシステムであって,その周辺装置に対する媒体投入
等による非同期事象の処理を,各ホスト処理装置が分散
して実行可能とされたデータ処理システムにおいて,各
ホスト処理装置が,媒体投入等の非同期事象に関するメ
ッセージを,系間共用DASDに設けられたメールボッ
クスに格納しておくようにし,予めサービス開始時に自
動的に決定されたプライマリホストのホスト処理装置
が,所定の時間間隔でメールボックスを調べ,格納され
ているメッセージを出力することにより,1つのホスト
処理装置が媒体投入等の非同期事象に関するメッセージ
を集中して出力できるようにした共用周辺装置管理用メ
ッセージ処理方式を開示している。
DETAILED DESCRIPTION [Outline] A system in which a plurality of host processing devices share a peripheral device that automatically loads a storage medium such as a cartridge or tape and inputs / outputs data. In a data processing system in which each host processing device is capable of executing the processing of an asynchronous event by the above, each host processing device sends a message related to an asynchronous event such as input of a medium to the mail shared by the intersystem DASD. The host processor of the primary host, which is automatically stored in advance when the service is started, checks the mailbox at a predetermined time interval and outputs the stored message so that one Shared peripherals that enable the host processor to centrally output messages related to asynchronous events such as media input It discloses a message processing method for location management.

〔産業上の利用分野〕[Industrial application field]

本発明は,いわゆる疎結合のマルチプロセッサシステム
において,データを記録する記録媒体の自動装填機構を
有する周辺装置等を制御する方式に係り,特に,媒体投
入等の非同期事象に関するメッセージの出力を,1つの
ホスト処理装置に集中できるようした共用周辺装置管理
用メッセージ処理方式に関するものである。
The present invention relates to a method of controlling a peripheral device or the like having an automatic loading mechanism of a recording medium for recording data in a so-called loosely coupled multiprocessor system, and particularly, to output a message regarding an asynchronous event such as medium insertion. The present invention relates to a shared peripheral device management message processing method that can be concentrated on one host processing device.

〔従来の技術〕[Conventional technology]

データを記録する記憶媒体の自動装填機構を有する周辺
装置として,大容量記憶システム(MSS)が知られて
いる。大容量記憶システムに対するデータ・カートリッ
ジの投入処理,排出処理等は,大容量記憶システム内の
ファームウェアによってなされる。MSSファームウェ
アは,媒体投入処理名を実施すると,媒体種別,格納し
た収納庫アドレス等の情報を含む投入メッセージを,い
わゆるイニシャライズ・オーダ発行のホスト処理装置に
のみ送出する。これにより,従来の大容量記憶システム
では,媒体投入処理,排出処理等に関連するメッセージ
を,1つのホスト処理装置に集中させ,特定のホスト処
理装置が,まとめて出力することが可能となっている。
A mass storage system (MSS) is known as a peripheral device having an automatic loading mechanism of a storage medium for recording data. The loading process and the discharging process of the data cartridge in the mass storage system are performed by the firmware in the mass storage system. When the MSS firmware implements the medium loading process name, it sends out a loading message including information such as the medium type and the stored storage address only to the so-called initialization order issuing host processing device. As a result, in the conventional mass storage system, it becomes possible to centralize the messages related to the medium loading process, the ejecting process, etc., in one host processing device and to output them collectively by a specific host processing device. There is.

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

媒体自動装填機構付周辺装置において,この装置を複数
のホスト処理装置で共有して使用する場合,媒体投入に
よるアテンション割込みを,1つの特定のホスト処理装
置にのみ通知するようにすれば,媒体投入処理のホスト
間排他制御は必要なく,また媒体投入等に関するメッセ
ージについても,1つのホスト処理装置に集中させて出
力することができる。
In a peripheral device with an automatic media loading mechanism, when this device is shared and used by multiple host processing devices, if only one specific host processing device is notified of the attention interrupt due to the media loading, the media loading will be performed. Inter-host exclusive control of processing is not required, and messages regarding media insertion can be output centrally in one host processing device.

しかしながら,媒体処理等を行うホスト処理装置を,固
定化してしまうと,例えばアテンション事象が複数発生
した場合に,各ホスト処理装置により,それぞれのアテ
ンション事象に対する処理を分散して実行することがで
きず、効率が悪くなるという問題がある。そのため,媒
体投入等による各アテンション割込みを,全ホスト処理
装置に対し通知し,最初にそのアテンション事象を取り
上げたホスト処理装置が,媒体投入等の処理を実行する
ようにすることが考えられている。しかし,この場合,
媒体投入処理等を行うホスト処理装置が,不特定となる
ため,媒体投入等のメッセージが,各々その処理を実施
したホスト処理装置毎に,出力されてしまうことにな
り,統一的なメッセージの出力管理ができなくなるとい
う新たな問題が発生する。
However, if the host processing device that performs media processing is fixed, for example, when a plurality of attention events occur, the processing for each attention event cannot be distributed and executed by each host processing device. However, there is a problem that the efficiency becomes poor. Therefore, it has been considered that each attention interrupt due to the medium input or the like is notified to all the host processing devices, and the host processing device that first picks up the attention event executes the processing such as the medium input. . But in this case,
Since the host processing device that performs the medium loading process is unspecified, a message such as medium loading will be output for each host processing device that performed the process, and a unified message output There is a new problem of being unable to manage.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は上記問題点の解決を図り,媒体投入/排出等の
処理を,個々の不特定なホスト処理装置が実行した場合
でも,それらのメッセージを1つのホスト処理装置に集
中させて,出力できるようにする手段を提供する。
The present invention solves the above-mentioned problems, and even when the processing such as medium loading / unloading is executed by each unspecified host processor, those messages can be concentrated on one host processor and output. Provide the means to do so.

第1図は本発明の基本構成図を示す。FIG. 1 shows the basic configuration of the present invention.

ホスト処理装置11A,11Bは,それぞれ主記憶装置
を持ち,共用周辺装置により疎結合されたデータ処理装
置である。
The host processing devices 11A and 11B are data processing devices each having a main storage device and loosely coupled by a shared peripheral device.

プライマリホスト決定部12は,各ホスト処理装置11
A,11B…に設けられ,サービス開始時に起動され
て、メッセージを集中出力するプライマリホストを決定
する処理を実行するものである。媒体自動装填機構付周
辺装置16を最初に確保し,初期化するホスト処理装置
が,プライマリホストとなるようにされる。
The primary host determination unit 12 uses each host processing device 11
It is provided in A, 11B, ..., It is activated at the time of starting the service, and executes the processing for determining the primary host to which the message is centrally output. The host processing device that first secures and initializes the peripheral device 16 with the automatic medium loading mechanism is made to be the primary host.

媒体投入/排出処理部13は,媒体自動装填機構付周辺
装置16への媒体投入によるアテンション割込みや,媒
体の排出処理要求により,媒体の投入または排出を処理
するものである。媒体投入/排出処理部13内にあるメ
ッセージ設定部14は,媒体投入/排出等に関するメッ
セージを,後述するメールボックス24に設定する処理
を実行するものである。
The medium loading / unloading processing unit 13 processes loading or unloading of a medium in accordance with an attention interruption caused by loading a medium to the peripheral device 16 with an automatic medium loading mechanism or a request for a processing of unloading the medium. The message setting unit 14 in the medium loading / ejecting processing unit 13 executes a process of setting a message regarding medium loading / ejecting or the like in the mailbox 24 described later.

メッセージ出力処理部15は,プライマリホストにおい
て,所定の時間間隔で起動され,メールボックス24に
格納されたメッセージを,当該ホスト処理装置のオペレ
ータ・コンソール25に,まとめて出力するものであ
る。
The message output processing unit 15 is activated at a predetermined time interval in the primary host and collectively outputs the messages stored in the mailbox 24 to the operator console 25 of the host processing apparatus.

媒体自動装填機構付周辺装置16は,データ・カートリ
ッジ等の記憶媒体を自動装填し,その媒体からデータを
入出力すると共に,内部に設けられた収納庫に媒体を保
管しておく機構を持つ周辺装置である。
The peripheral device 16 with an automatic medium loading mechanism is a peripheral device having a mechanism for automatically loading a storage medium such as a data cartridge, inputting / outputting data from the medium, and storing the medium in an internal storage. It is a device.

媒体投入排出機構(TAS)17は,オペレータが周辺
装置16に投入した媒体を受け入れ,また使用済みとな
った媒体を排出する機構である。媒体投入を検知するセ
ンサを備えており,媒体の投入を検知すると,ホスト処
理装置11A,ホスト処理装置11B等,すべてのホス
ト処理装置にアテンション割込みをあげる。媒体自動操
作装置(THU)18は,媒体を周辺装置16内で移動
させ自動装填する装置である。媒体収納庫(CELL)
19は,媒体を保管する機構であり,媒体自動操作装置
18によって,媒体の出し入れが自動的になされるよう
になっている。データ入出力装置(MTU)20−1,
20−2,…は,媒体にデータを記憶し,または媒体に
記録されたデータを読み出す装置である。このデータ入
出力装置は,1台の周辺装置16に,例えば最大16台
まで設置可能となっている。
The medium loading / unloading mechanism (TAS) 17 is a mechanism for receiving a medium loaded by the operator into the peripheral device 16 and discharging a used medium. A sensor for detecting the input of the medium is provided, and when the input of the medium is detected, an attention interrupt is given to all the host processing devices such as the host processing device 11A and the host processing device 11B. The automatic medium operation unit (THU) 18 is a device for moving a medium in the peripheral device 16 and automatically loading the medium. Medium storage (CELL)
Reference numeral 19 denotes a mechanism for storing the medium, and the medium automatic operation device 18 automatically takes in and out the medium. Data input / output unit (MTU) 20-1,
20-2, ... Are devices for storing data in a medium or reading data recorded in the medium. This data input / output device can be installed in one peripheral device 16, for example, up to 16 devices.

系間排他制御用装置21は,配下に接続される装置に対
して,ホスト処理装置間のアクセスに関する配他制御を
行うアダプタである。周知の如く,装置の占有を要求す
るリザーブ(RSV)コマンドを発行したホスト処理装
置にのみ,その装置に対するアクセスを許し,リリース
(RLS)コマンドによってその占有を解除する。即
ち,系間排他制御用装置21は,配下の装置に対する接
続スイッチ的な働きをすると考えてよい。
The inter-system exclusive control device 21 is an adapter that performs distribution control related to access between host processing devices with respect to devices connected under it. As is well known, only a host processing device that has issued a reserve (RSV) command requesting occupancy of a device is allowed to access that device, and the occupancy is released by a release (RLS) command. That is, it can be considered that the inter-system exclusive control device 21 functions as a connection switch for the subordinate devices.

系間共用DASD22−1,22−2,…は,磁気ディ
スク装置等の直接アクセス記憶装置であって,複数のホ
スト処理装置からアクセス可能となっている周辺装置で
ある。系間共用DASD22−1に設けられたホスト管
理テーブル23は,プライマリホストに関する情報や,
各ホスト処理装置毎のダウン監視用カウンタ等を持つテ
ーブルである。メールボックス24は,各ホスト処理装
置によって,媒体投入等のメッセージが設定される記憶
領域であり,例えば固定長の領域が,ポインタによって
管理されて,空き/使用中の状態管理がなされるように
なっている。
The inter-system shared DASDs 22-1, 22-2, ... Are direct access storage devices such as magnetic disk devices, and are peripheral devices that can be accessed by a plurality of host processing devices. The host management table 23 provided in the inter-system shared DASD 22-1 has information on the primary host,
It is a table having a down monitoring counter for each host processing device. The mailbox 24 is a storage area in which a message such as input of a medium is set by each host processing device. For example, a fixed-length area is managed by a pointer, and status management of free / busy is performed. Has become.

〔作用〕[Action]

本発明では,各ホスト処理装置11A,11B…の媒体
投入/排出処理部13が,媒体自動装填機構付周辺装置
16に対する媒体投入等の処理を実行すると,各々のメ
ッセージ設定部14が,メールボックス24にその処理
に関連するメッセージを設定する。例えば,A系のホス
ト処理装置11Aがプライマリホストとなっていると
き,ホスト処理装置11Aのメッセージ出力処理部15
が周期的に起動される。メッセージ出力処理部15は,
メールボックス24に格納されている全メッセージを読
み出し,オペレータ・コンソール25に順次出力する。
従って,プライマリホストであるホスト処理装置11A
に集中させて,メッセージを出力することが可能とな
る。
In the present invention, when the medium loading / ejection processing unit 13 of each of the host processing devices 11A, 11B ... Executes processing such as medium loading for the peripheral device 16 with the automatic media loading mechanism, each message setting unit 14 causes the mailbox In 24, a message related to the processing is set. For example, when the A-system host processor 11A is the primary host, the message output processor 15 of the host processor 11A
Are activated periodically. The message output processing unit 15
All the messages stored in the mailbox 24 are read and sequentially output to the operator console 25.
Therefore, the host processor 11A that is the primary host
It is possible to focus on the message and output the message.

〔実施例〕〔Example〕

第2図は本発明の一実施例による処理制御を説明するた
めの図,第3図はメッセージ出力処理部による処理制御
を説明するための図,第4図は本発明の一実施例タスク
処理構成図である。以下,説明を簡単にするために,ホ
スト処理装置が2台の場合について説明するが,3台以
上のホスト処理装置がある場合についても同様である。
2 is a diagram for explaining processing control according to an embodiment of the present invention, FIG. 3 is a diagram for explaining processing control by a message output processing section, and FIG. 4 is a task processing according to one embodiment of the present invention. It is a block diagram. For simplicity of explanation, the case where there are two host processing devices will be described below, but the same applies to the case where there are three or more host processing devices.

第2図に示すように,各ホスト処理装置において、サー
ビスが開始されると,各ホスト処理装置では,第1図図
示プライマリホスト決定部12が起動される。
As shown in FIG. 2, when the service is started in each host processing device, the primary host determining unit 12 shown in FIG. 1 is started in each host processing device.

プライマリホスト決定部12は,まず系間共用DASD
22−1に対し,リザーブ(RSV)コマンドを発行す
る。このコマンドにより,系間排他制御用装置21によ
って排他制御がなされ,系間共用DASD22−1は,
1つのホスト処理装置(この例ではAホスト)にのみ占
有されることになる。
The primary host determination unit 12 first determines the DASD shared between systems.
A reserve (RSV) command is issued to 22-1. By this command, exclusive control is performed by the intersystem exclusive control device 21, and the intersystem shared DASD 22-1
Only one host processor (A host in this example) will be occupied.

系間共用DASD22−1を占有したホスト処理装置
は,ホスト管理テーブル23にアクセスし,既にプライ
マリホストが定義されているかどうかを調べる。プライ
マリホストが未登録である場合には,自ホスト処理装置
が,第1位に立ち上がった装置であることになるので,
自ホストをプライマリホストとして,ホスト管理テーブ
ル23に登録する。そして,倍体自動装填機構付周辺装
置16の初期化処理を実行する。
The host processing device occupying the intersystem shared DASD 22-1 accesses the host management table 23 and checks whether or not the primary host is already defined. If the primary host is not registered, the local host processing device is the device that has risen to the first position.
The local host is registered in the host management table 23 as the primary host. Then, the initialization process of the peripheral device 16 with the double body automatic loading mechanism is executed.

その後、系間共用DASD22−1の占有を,リリース
(RLS)コマンドによって解除し,時間監視用のいわ
ゆるルック・イン間隔を設定し,他の処理要求を待つ。
After that, the occupancy of the inter-system shared DASD 22-1 is released by a release (RLS) command, a so-called look-in interval for time monitoring is set, and another processing request is waited.

Aホストが,プライマリホスト決定処理を実行している
間,Bホスト側は,系間共用DASD22−1のリザー
ブができないので,そのリザーブが解除されるまで,処
理待ちとなる。Aホストがリザーブを解除すると,いわ
ゆるビジー・ツー・フリー割込みによって,その解除が
通知されるので,Bホストは,系間共用DASD22−
1に対するリザーブ処理を再度実行する。
While the A host is executing the primary host determination process, the B host side cannot reserve the inter-system shared DASD 22-1, so the process waits until the reservation is released. When the A host cancels the reservation, the cancellation is notified by a so-called busy-to-free interrupt.
The reserve process for 1 is executed again.

Bホストのプライマリホスト決定部12は,系間共用D
ASD22−1を確保したならば,プライマリホストが
あるか否かをホスト管理テーブル23によって調べる
が,この場合,既にAホストがプライマリホストとなっ
ているので,単にサービス開始を表示し,系間共用DA
SD22−1をリリースして,媒体自動装填機構付周辺
装置16に関連するホスト初期設定処理を終了する。
The primary host determination unit 12 of the B host shares the inter-system D
If the ASD 22-1 is secured, whether or not there is a primary host is checked by the host management table 23. In this case, since the A host has already become the primary host, the service start is simply displayed and the inter-system sharing is performed. DA
The SD 22-1 is released, and the host initialization process related to the peripheral device 16 with the automatic medium loading mechanism is completed.

例えば,媒体自動装填機構付周辺装置16に媒体入口か
ら,媒体(カートリッジ)が投入されると、Aホストお
よびBホストへ,アテンション割込みによる媒体投入通
知がなされる。
For example, when a medium (cartridge) is loaded into the peripheral device 16 with an automatic medium loading mechanism from the medium entrance, the A host and the B host are notified of the medium loading by an attention interrupt.

本実施例の場合,媒体自動装填機構付周辺装置16の媒
体投入処理に関するホスト間排他制御は,系間共用DA
SD22−1に対する系間排他制御用装置21の排他制
御機能を用いることにより行うようになっている。即
ち,系間共用DASD22−1を最初に占有したホスト
が,そのアテンション事象に対する処理を実行すること
により,媒体投入処理に関する逐次化を行っている。
In the case of the present embodiment, the inter-host exclusive control relating to the medium loading process of the peripheral device 16 with the automatic medium loading mechanism is the DA shared between the systems.
This is performed by using the exclusive control function of the intersystem exclusive control device 21 for SD22-1. That is, the host that first occupies the inter-system shared DASD 22-1 executes the process corresponding to the attention event to perform serialization regarding the medium loading process.

そのため,各ホスト処理装置は,媒体投入によるアテン
ション割込みにより,それぞれ系間共用DASD22−
1に対し,リザーブコマンドを発行する。リザーブが成
功したならば,アテンション事象の有無を調べ,媒体投
入処理を実行する。そして,投入メッセージをメールボ
ックス24の空き領域に設定する。その後,系間共用D
ASD22−1をリリースし,投入処理を終了する。
Therefore, each host processor receives an attention interrupt when the medium is inserted, and each DASD 22-
A reserve command is issued for 1. If the reserve is successful, the presence / absence of an attention event is checked, and the medium loading process is executed. Then, the input message is set in the empty area of the mailbox 24. After that, shared D
Release ASD22-1 and finish the loading process.

これにより,例えば複数のアテンション事象があるとき
に,複数のホスト処理装置において,媒体投入処理等の
分散処理が可能となる。Bホストが,媒体投入処理を実
行した場合には,Bホストがメールボックス24にその
投入メッセージを設定する。メールボックス24には,
各ホスト処理装置からのメッセージが混在することとな
る。
Thus, for example, when there are a plurality of attention events, distributed processing such as medium loading processing becomes possible in a plurality of host processing devices. When the B host executes the medium loading process, the B host sets the loading message in the mailbox 24. In the mailbox 24,
Messages from the respective host processing devices are mixed.

メールボックス24に設定されたメッセージは,プライ
マリホストであるAホストのメッセージ出力処理部15
が,第3図に示すように出力する。即ち,メッセージ出
力処理部15は,タイマによって所定の時間間隔で起動
され,起動されたならば,系間共用DASD22−1を
リザーブし,メールボックス24のメッセージを順次出
力して,出力後にメールボックス24を初期化し,系間
共用DASD22−1をリリースして,次のタイマ起動
を持つ。
The message set in the mailbox 24 is the message output processing unit 15 of the A host, which is the primary host.
Output as shown in FIG. That is, the message output processing unit 15 is activated at a predetermined time interval by a timer, and if activated, reserves the inter-system shared DASD 22-1, sequentially outputs the messages in the mailbox 24, and after the output, the mailbox. 24, initializes DASD 22-1, which is shared between systems, and has the next timer start.

各ホスト処理装置における媒体自動装填機構付周辺装置
16に関するタスク処理構成は,例えば第4図図示のよ
うになっている。
The task processing configuration relating to the peripheral device 16 with the automatic medium loading mechanism in each host processing device is as shown in FIG. 4, for example.

装置管理タスク30は,媒体自動装填機構付周辺装置1
6を管理するシステム・タスクであり,システム始動時
に,ホスト管理タスク31を生成し,サービス開始を通
知すると共に,周辺装置対応の投入処理タスク32等を
生成する。
The device management task 30 is the peripheral device 1 with the automatic medium loading mechanism.
6, which is a system task for managing 6, generates a host management task 31 at the time of system startup, notifies the start of service, and generates an input processing task 32 for peripheral devices.

ホスト管理タスク31は,第1図図示プライマリホスト
決定部12およびメッセージ出力処理部15等の処理を
行うタスクである。また,他のホスト処理装置のダウン
監視を併せて行う。装置管理タスク30によって起動さ
れると,制御表等に関するタスク初期設定を行い,時間
監視用のタイマを設定する。そして,処理要求イベント
を待つ。
The host management task 31 is a task that performs processing of the primary host determination unit 12 and the message output processing unit 15 shown in FIG. In addition, down monitoring of other host processing devices is also performed. When activated by the device management task 30, task initialization relating to a control table and the like is performed, and a timer for time monitoring is set. Then, it waits for a processing request event.

最初にサービス開始イベントが通知され,ホスト管理タ
スク31は,系間共用DASD22−1をリザーブし
て,第2図で説明したプライマリホストの決定処理等を
実行し,処理が終了したならば,次のイベントを待つ。
First, the service start event is notified, and the host management task 31 reserves the inter-system shared DASD 22-1, executes the primary host determination processing described in FIG. 2, and the like. Wait for the event.

タイマ・イベントの場合,系間共用DASD22−1を
リザーブし,ダウン監視処理を実行する。本実施例の場
合,ダウン監視は以下のように行われる。
In the case of a timer event, the inter-system shared DASD 22-1 is reserved and the down monitoring process is executed. In the case of this embodiment, the down monitoring is performed as follows.

ホスト管理テーブル23に,各ホスト処理装置およびプ
ライマリホストに対応して,各々ダウン監視用カウンタ
が設けられる。各ホスト処理装置は,自己のカウンタ
に,必ず所定時間内に所定の値を設定するように義務付
けられる。また,各ホスト処理装置は,所定の時間間隔
で,化のホスト処理装置用のカウンタをカウント・ダウ
ンする。もし,あるホスト処理装置が故障してダウンし
ており,所定時間内にカウンタの初期化を行わない場合
には,そのカウンタ値がカウント・ダウンによりゼロと
なるので,他のホスト処理装置は,そのカウンタが属す
る処理装置のダウンを検出できる。ダウンした処理装置
が,プライマリホストである場合には,ダウンを検出し
た装置が,新たにプライマリホストとなる。
In the host management table 23, down monitoring counters are provided for each host processor and primary host. Each host processing device is obliged to always set a predetermined value in its own counter within a predetermined time. Also, each host processing device counts down the counter for the host processing device for conversion at a predetermined time interval. If a certain host processor fails and is down, and the counter is not initialized within a predetermined time, the counter value becomes zero due to the countdown, so the other host processors are The down of the processing device to which the counter belongs can be detected. If the processing device that has gone down is the primary host, the device that detected the downtime becomes the new primary host.

以上のダウン監視処理の後,メールボックス24のメッ
セージを出力するため,まず自ホストがプライマリホス
トであるか否かを判定する。プライマリホストである場
合には,メールボックス24にメッセージがあるか否か
を判定し,全メッセージの出力が終了するまで,順次メ
ッセージを出力し,最後に系間共用DASD22−1を
リリースして,次の処理要求イベントを待つ。
After the down monitoring process described above, the message in the mailbox 24 is output, so it is first determined whether or not the own host is the primary host. In the case of the primary host, it is determined whether there are any messages in the mailbox 24, the messages are sequentially output until all the messages are output, and finally the intersystem shared DASD 22-1 is released. Wait for the next processing request event.

〔発明の効果〕〔The invention's effect〕

以上説明したように,本発明によれば,例えば媒体自動
装填機構付周辺装置の媒体投入処理等を,各ホスト処理
装置が分散して処理することができ,かつ媒体投入/排
出等のメッセージを,プライマリホストで集中管理する
ことが可能となる。
As described above, according to the present invention, for example, the medium loading process of the peripheral device with the automatic medium loading mechanism can be distributed and processed by each host processing device, and a message such as the medium loading / unloading message can be sent. , It becomes possible to perform centralized management on the primary host.

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

第1図は本発明の基本構成図,第2図は本発明の一実施
例による処理制御を説明するための図,第3図はメッセ
ージ出力処理部による処理制御を説明するための図,第
4図は本発明の一実施例タスク処理構成図を示す。 図中,11A,11Bはホスト処理装置,13は媒体投
入/排出処理部,14はメッセージ設定部,15はメッ
セージ出力処理部,16は媒体自動装填機構付周辺装
置,21は系間排他制御用装置,22−1,22−2は
系間共用DASD,23はホスト管理テーブル,24は
メールボックス,25はオペレータ・コンソールを表
す。
FIG. 1 is a basic configuration diagram of the present invention, FIG. 2 is a diagram for explaining processing control according to an embodiment of the present invention, and FIG. 3 is a diagram for explaining processing control by a message output processing unit. FIG. 4 shows a task processing configuration diagram of an embodiment of the present invention. In the figure, 11A and 11B are host processing devices, 13 is a medium loading / unloading processing unit, 14 is a message setting unit, 15 is a message output processing unit, 16 is a peripheral device with an automatic medium loading mechanism, and 21 is for intersystem exclusive control. Equipment, 22-1, 22-2 are DASD shared between systems, 23 is a host management table, 24 is a mailbox, and 25 is an operator console.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】データを処理する複数のホスト処理装置(1
1A,11B,…)と,上記複数のホスト処理装置によって共用
される周辺装置(16)と,上記複数のホスト処理装置によ
って共用される系間共用DASD(22)とを備え,上記周
辺装置において発生する非同期的事象に対する処理を,
上記各ホスト処理装置が行うようにされたデータ処理シ
ステムにおいて, 上記系間共用DASD上に,上記周辺装置に関するメッ
セージが,そのメッセージに関連する処理を実行したホ
スト処理装置によって格納されるメールボックス(24)
と, 上記周辺装置に関するメッセージを管理し出力するプラ
イマリホストの情報が設定されるホスト管理テーブル(2
3)とを備えると共に, 上記周辺装置を最初に使用し初期化するホスト処理装置
をプライマリホストとして決定し,上記ホスト管理テー
ブルに登録する手段(12)と, 上記周辺装置で発生する非同期事象に対する処理を実行
した場合に,上記メールボックスにその処理に関するメ
ッセージを設定する手段(14)とを備え, かつ上記プライマリホストとされたホスト処理装置は,
所定の周期で上記メールボックスを調べ,メッセージが
格納されているときに,そのメッセージを上記メールボ
ックスから読み出し,出力する手段(15)を備えたことを
特徴とする共用周辺装置管理用メッセージ処理方式。
1. A plurality of host processing devices for processing data (1
1A, 11B, ...), a peripheral device (16) shared by the plurality of host processing devices, and an intersystem shared DASD (22) shared by the plurality of host processing devices. The processing for the asynchronous event that occurs,
In the data processing system adapted to be executed by each of the host processing devices, a mailbox in which a message regarding the peripheral device is stored on the inter-system shared DASD by the host processing device that executes the process related to the message ( twenty four)
And the host management table (2
In addition to (3), means (12) for determining the host processing device that first uses and initializes the peripheral device as a primary host and registers it in the host management table, and for an asynchronous event that occurs in the peripheral device. When the processing is executed, the host processing device, which is provided with a means (14) for setting a message regarding the processing in the mailbox, and which is the primary host,
A message processing method for shared peripheral device management, characterized in that it comprises means (15) for checking the above-mentioned mailbox at a predetermined cycle and reading the message from the above-mentioned mailbox when the message is stored and outputting the message. .
JP19063685A 1985-08-29 1985-08-29 Message processing method for shared peripheral device management Expired - Fee Related JPH0648481B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19063685A JPH0648481B2 (en) 1985-08-29 1985-08-29 Message processing method for shared peripheral device management

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19063685A JPH0648481B2 (en) 1985-08-29 1985-08-29 Message processing method for shared peripheral device management

Publications (2)

Publication Number Publication Date
JPS6249553A JPS6249553A (en) 1987-03-04
JPH0648481B2 true JPH0648481B2 (en) 1994-06-22

Family

ID=16261367

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19063685A Expired - Fee Related JPH0648481B2 (en) 1985-08-29 1985-08-29 Message processing method for shared peripheral device management

Country Status (1)

Country Link
JP (1) JPH0648481B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4856561B2 (en) * 2007-01-31 2012-01-18 日本電信電話株式会社 Node control method, node control program, and node

Also Published As

Publication number Publication date
JPS6249553A (en) 1987-03-04

Similar Documents

Publication Publication Date Title
AU607489B2 (en) Automated cartridge system
US4932826A (en) Automated cartridge system
US4928245A (en) Automated cartridge system
EP0397476B1 (en) Error logging data storing system
US5542110A (en) DMA controller which releases buses to external devices without relinquishing the bus utility right
JPH07210500A (en) Data transfer controller
JPH0648481B2 (en) Message processing method for shared peripheral device management
JPH0640299B2 (en) Peripheral device Medium input processing control method
JPH04232559A (en) Method of conversation between processors of system, system for conducting this method and use for dispatching
JP3743381B2 (en) Inter-host processing synchronization method
JPH02291039A (en) Memory control system
JPS5856063A (en) Communication system of system supervising device between information processors
EP0626647A1 (en) Copying apparatus for carrying out a copying operation between an active processing system and a stand-by one
JP3273191B2 (en) Data transfer device
JP2868002B1 (en) Magnetic disk system and magnetic disk controller
JPS6124742B2 (en)
JPS5920128B2 (en) input/output control device
JP2785604B2 (en) Information processing device
JP2910444B2 (en) Bus transmission control method
JPS63142456A (en) Information processor
JP2837893B2 (en) Microcomputer device
JPH10320351A (en) Buffer system
JPS62282347A (en) Error information collecting system
JPH0646093A (en) Long time storage supervisory system for memory resource
JPS60122422A (en) File control system

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees