JPH02103619A - Adapter device - Google Patents

Adapter device

Info

Publication number
JPH02103619A
JPH02103619A JP63256277A JP25627788A JPH02103619A JP H02103619 A JPH02103619 A JP H02103619A JP 63256277 A JP63256277 A JP 63256277A JP 25627788 A JP25627788 A JP 25627788A JP H02103619 A JPH02103619 A JP H02103619A
Authority
JP
Japan
Prior art keywords
host system
host
command
issued
forced
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
JP63256277A
Other languages
Japanese (ja)
Inventor
Osamu Tanaka
收 田中
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP63256277A priority Critical patent/JPH02103619A/en
Publication of JPH02103619A publication Critical patent/JPH02103619A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent the system down of all host systems due to confliction of instructions issued from each host system by using the identification information of the host system which issues the instruction selected by confliction control as status information and informing all instruction issuing host systems of the status information when occupation continuation canceling instructions are simultaneously issued. CONSTITUTION:When occupation continuation canceling instructions (forcible occupying instructions) are simultaneously issued, the identification information ID of the host system to which access right to an external storage device 5 which is a shared device is permitted by confliction control is noticed to host systems 1-3 to which no access right is permitted by conflict control. Accordingly, each host system 1-3 can recognize whether or not their own forcible occupying instructions become effective and can decide whether the forcible occupying instructions are reissued directly or later during the course of normal operations. Therefore, the system down of all host systems caused by confliction of forcible occupying instructions issued from each host system can be prevented.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、複数のホストシステムからアクセスされる
外部記憶装置等の共有装置に付加されるアダプタ装置に
関し、詳しくは各ホス1−システムにおける共有リソー
スである共有装置の障害発生時の復旧手段に関するもの
である。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to an adapter device added to a shared device such as an external storage device that is accessed from a plurality of host systems. The present invention relates to recovery means when a failure occurs in a shared device that is a resource.

(従来の技術) 第3図は、3重系ホストシステムにおいて共有リソース
としての外部記憶装置(例えば磁気ディスク装置)を各
ホストシステムからアクセス可能とするためにアダプタ
装置を付加した従来のシステム構成を示す構成図である
(Prior Art) Fig. 3 shows a conventional system configuration in which an adapter device is added to make an external storage device (for example, a magnetic disk device) as a shared resource accessible from each host system in a triple host system. FIG.

図において、1〜3は3重系ホストシステムを構成する
ホストシステム、4はホストシステム1〜3から外部記
憶装置5へのアクセスを許可するアダプタ装置である。
In the figure, 1 to 3 are host systems forming a triple host system, and 4 is an adapter device that allows access from the host systems 1 to 3 to the external storage device 5.

次に動作について説明する。まず、複数のホストシステ
ム1〜3は各々独立しており、外部記憶装置5をアクセ
スする必要が生じた場合、その都度アダプタ装置4に対
して通常の占有命令を発行する。この占有命令を受けた
アダプタ装置4は内部で競合制御を行い、ホストシステ
ム1〜3のうち例えばホストシステム1の占有命令を選
択し、外部記憶装置5へのアクセスをホストシステム1
に許可する。一方、占有命令を同時発行した他のホスト
システム2.3に対しては外部記憶装置5が他のホスト
システムによって既に占有状態となっていることを報知
し、外部記憶装@5へのアクセス権を与えない。
Next, the operation will be explained. First, each of the plurality of host systems 1 to 3 is independent, and each time it becomes necessary to access the external storage device 5, a normal occupancy command is issued to the adapter device 4. The adapter device 4 that has received this occupancy command performs internal competition control, selects the occupancy command for the host system 1 from among the host systems 1 to 3, and restricts access to the external storage device 5 to the host system 1.
allowed. On the other hand, the other host system 2.3 that issued the exclusive command at the same time is notified that the external storage device 5 is already in an occupied state by another host system, and is given the right to access the external storage device @5. not give.

ここで、ホストシステム1が外部記憶装置5へのアクセ
ス権を獲得し、占有状態にあったと仮定する。この状態
で、ホストシステム1がM源異常。
Here, it is assumed that the host system 1 has acquired access rights to the external storage device 5 and is in an exclusive state. In this state, host system 1 has an M source error.

システム異常等によってシステムダウン状態に陥ったと
すると、外部記憶装置5に対する他のホストシステム2
,3からの占有命令が受理されないため、アダプタ装置
4を介して外部記憶装置5の占有状態が継続してしまう
。この時、ホストシステム1以外の他のホストシステム
2.3は占有命令を発行してもいつまで経っても該命令
が受理されないことでもってホストシステム1がシステ
ムダウン状態にあるものと認識すると、ホストシステム
1によって占有継続状態にある外部記憶装置5を共有リ
ソースの有効活用、もしくはシステム運転の連続性を保
つために占有継続状態の強制開放の必要性に迫られる。
If the system goes down due to a system error, etc., the other host system 2 for the external storage device 5
, 3 is not accepted, the external storage device 5 continues to be occupied via the adapter device 4. At this time, the host systems 2 and 3 other than the host system 1 recognize that the host system 1 is in a system down state because the command is not accepted no matter how long the occupancy command is issued. In order to effectively utilize the shared resources of the external storage device 5 that is continuously occupied by the system 1 or to maintain continuity of system operation, it is necessary to forcefully release the external storage device 5 from the continuously occupied state.

すなわち、外部記憶装置5内に各ホストシステム1〜3
の運転上不可欠なデータやプログラム等のファイルが格
納されているものとすると、外部記憶装置5が占有状態
に陥ると、ホストシステム1が外部記憶装置5の占有継
続状態に陥ってから一定時間後に他のホストシステム2
.3も一斉にシステムダウンに陥る。そこで、このよう
な問題を解消するために外部記憶装置5のアクセスを許
容するアダプタ装置4に対し、外部記憶装置5の占有継
続状態を強制的に開放させ、外部記憶装置5のアクセス
を再開可能にし、システム運転の連続量を保たせる必要
がある。そのために複数台のホストシステム1〜3のう
ち例えばホストシステム1の異常によって外部記憶装置
5の占有継続状態が生じ、このことを他のホストシステ
ム2,3が認識すると、ホストシステム2.3はホスト
システム1による占有継続状態を解除し、自己がアクセ
ス権を獲得すべくアダプタ装置4に対して強制占有命令
を非同期に発行する。これを受けたアダプタ装ば4は内
部で競合制御を行い、ホストシステム2,3のうち一方
の強制占有命令を競合制御によって選択し、その選択し
たホストシステムに対して外部記憶装@5のアクセス権
を与える。
That is, each host system 1 to 3 is stored in the external storage device 5.
Assuming that files such as data and programs essential for the operation of the external storage device 5 are stored therein, if the external storage device 5 falls into an occupied state, a certain period of time after the host system 1 falls into a state where the external storage device 5 continues to be occupied. Other host system 2
.. All three systems go down all at once. Therefore, in order to solve this problem, the adapter device 4 that allows access to the external storage device 5 is forced to release the continuous occupation state of the external storage device 5, so that access to the external storage device 5 can be resumed. It is necessary to maintain continuous system operation. Therefore, among the plurality of host systems 1 to 3, for example, an abnormality in host system 1 causes the external storage device 5 to remain occupied, and when the other host systems 2 and 3 recognize this, the host systems 2 and 3 A forced occupancy command is asynchronously issued to the adapter device 4 in order to release the continued state of occupancy by the host system 1 and acquire access rights. Upon receiving this, the adapter 4 performs internal conflict control, selects the forced occupation instruction for one of the host systems 2 and 3, and accesses the external storage device @5 to the selected host system. give rights.

この時、他のホストシステムには、強制占有命令を発行
したにもかかわらず既に占有状態となったことを報知す
る。
At this time, other host systems are notified that the host system has already entered the occupied state even though the forced occupation command has been issued.

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

従来のアダプタ装置は以上のように構成されているが、
強制占有命令を発行したホストシステムは外部記憶装[
15へのアクセスが可能になったことで強制占有命令が
有効に処理されたものとして認識することが可能である
。しかし、外部記憶装W15のアクセス権が得られなか
った他のホストシステムには既に占有状態になったこと
が報知されるのみであるため、強制占有命令自体が正し
く受付けられなかったのか、他のホストシステムに占有
状態が移行(正常動作)したのかを判別することができ
ず、その結果、リカバリ処理として強制占有命令の再試
行を繰返す状態になる。この再試行は、正常動作に入っ
たホストシステムの外部記憶装置5へのアクセスを中断
し、該ホストシステムをシステムダウンに至らせるばか
りか、最悪のケースとして強制占有命令のかけ合いとな
り、全ホストシステムのシステムダウンにつながる可能
性が高くなり、システム全体のリカバリ手段が非常に複
雑になるなどの問題がある。すなわち、ホストシステム
1がアクセス権を獲得した状態で、ホストシステム2が
強制占有命令を繰返し発行するようになると、アダプタ
装M4は競合制御によりホストシステム2ヘアクセス権
を移してしまい、ホストシステム1の占有状態を開放し
てしまい、ホストシステム1をシステムダウンに至らせ
、最悪のケースとして全てのホストシステム1〜3によ
る強制占有命令のかけ合いとなり、全ホストシステム1
〜3のシステムダウンに陥る可能性が高くなり、システ
ム全体のリカバリ手段が非常に複雑になるという問題が
あった。
The conventional adapter device is configured as described above.
The host system that issued the forced occupancy command is
15, it is possible to recognize that the forced occupancy command has been effectively processed. However, other host systems for which access rights to the external storage device W15 could not be obtained are only notified that it has already become occupied, so perhaps the forced occupation command itself was not accepted correctly. It is not possible to determine whether the host system has transitioned to the occupied state (normal operation), and as a result, the forced occupation command is repeatedly retried as a recovery process. This retry not only interrupts access to the external storage device 5 of the host system that has started normal operation, causing the host system to go down, but also, in the worst case, results in a forced occupancy command, causing all host systems to There are problems such as the possibility that the system will go down, and the recovery method for the entire system becomes extremely complicated. That is, if host system 2 repeatedly issues forced occupancy commands while host system 1 has acquired access rights, adapter M4 transfers access rights to host system 2 due to contention control, and host system 1 host system 1 becomes system down, and in the worst case, all host systems 1 to 3 issue forced occupancy commands, causing all host systems 1 to become occupied.
There was a problem in that there was a high possibility that the system would go down, and the recovery method for the entire system would be extremely complicated.

この発明は上記のような問題点を解消するためになされ
たもので、アクセス権を獲得したホストシステムの共有
装置へのアクセスを中断させることなく、また強制占有
命令等ののかけ合いよるシステム全体のシステムダウン
を防止することができるアダプタ装置を提供することを
目的とする。
This invention was made in order to solve the above-mentioned problems, and it allows the host system that has acquired access rights to access the shared device without interrupting it, and to control the entire system by issuing forced possession commands, etc. An object of the present invention is to provide an adapter device that can prevent system down.

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

この発明に係るアダプタ装置4は、共有装置(外部記憶
装置5)を占有継続状態から強制的に解除する命令(強
制占有命令)が複数のホストシステム1〜3から同時に
発行された際に、発行された命令(強制占有命令)を所
定の優先順位によって競合制御し、最高順位のホストシ
ステムから発行された命令(強制占有命令)を選択し、
該最高順位のホストシステムに前記共有装置(外部記憶
装置5)のアクセスを許可すると共に、他のホストシス
テムから発行された命令(強制占有命令)に対しては該
命令を無効としたうえ、共有装置(外部記憶装置5)の
アクセスを許可されたホストシステムの識別情報■Dを
報知するように構成したものである。
The adapter device 4 according to the present invention is configured to issue an instruction (forced occupancy instruction) for forcibly releasing a shared device (external storage device 5) from an occupied state when a plurality of host systems 1 to 3 issue the instruction simultaneously. The commands issued by the host system (forced occupancy instructions) are competitively controlled according to a predetermined priority order, and the instruction (forced occupancy instruction) issued from the host system with the highest priority is selected.
The highest-ranked host system is permitted to access the shared device (external storage device 5), and any commands issued by other host systems (forced occupancy commands) are invalidated, and the shared device is It is configured to notify the identification information (D) of the host system that is permitted to access the device (external storage device 5).

〔作用〕[Effect]

占有継続状態を解除する命令(強制占有命令)が同時発
行された時に、競合制御によって共有装置(外部記憶装
置5)へのアクセス権を許可されなかったホストシステ
ム〈1〜3)に対してはアクセス権の許可されたホスト
システムの識別情報10が報知される。従って、各ホス
トシステム1〜3では自分の命令(強制占有命令)が有
効となったのか、他のホストシステムの命令〈強制占有
命令)が有効となったのかを識別することができ、その
識別結果に応じて命令(強制占有命令)の再発行を行う
か、通常動作として命令(強制占有命令)を再発行する
かを決定することができ、その結果として、命令(強制
占有命令)のかけ合いを防止することができる。
For host systems (1 to 3) that were not granted access rights to the shared device (external storage device 5) due to contention control when the instruction to release the continued occupation state (forced occupation instruction) was issued at the same time. Identification information 10 of the host system to which access rights have been granted is broadcast. Therefore, each host system 1 to 3 can identify whether its own command (forced possession command) or another host system's command (forced possession command) has become valid. Depending on the result, it can be decided whether to reissue the command (compulsory possession order) or to reissue the command (compulsory possession command) as a normal operation. can be prevented.

(実施例) 以下、この発明を実施例を参照して説明する。(Example) The present invention will be explained below with reference to Examples.

第1図はこの発明の一実施例を示す構成図であり、1〜
3は3重系システムの各ホストシステム、4は各ホスト
システム1〜3から外部記憶装置5へのアクセスを許可
するアダプタ装置、6はアダプタ装置4内に設けられた
ステータスレジスタであり、このレジスタ4にはホスト
システム1〜3から発行された強制占有命令のうち、ア
ダプタ装置4に強制占有命令が受理されたホストシステ
ムの識別情報10が格納され、強制占有命令を発行した
全ホストシステムに転送される。
FIG. 1 is a block diagram showing one embodiment of the present invention, and 1 to 1 are block diagrams showing one embodiment of the present invention.
3 is each host system of the triple system; 4 is an adapter device that allows each host system 1 to 3 to access the external storage device 5; 6 is a status register provided in the adapter device 4; 4 stores identification information 10 of the host system for which the forced occupancy command has been accepted by the adapter device 4 among the forced occupancy commands issued from the host systems 1 to 3, and is transferred to all host systems that have issued the forced occupancy command. be done.

7はステータスレジスタ6の内容を初期化するためのタ
イマであり、そのタイマ値は強制占有命令をアダプタ装
置4によって受理されたホストシステムのみが設定可能
に構成されている。
Reference numeral 7 denotes a timer for initializing the contents of the status register 6, and the timer value can be set only by the host system that has received the forced occupancy command by the adapter device 4.

次に、この構成のアダプタ装置!!4の動作を第2図に
示すフローチャートを参照して説明する。
Next, an adapter device with this configuration! ! The operation of step 4 will be explained with reference to the flowchart shown in FIG.

第2図のフローチャートはホストシステム3が動作不良
等の原因により外部記憶装置5を不必要に占有している
状態に対し、ホストシステム1゜2から強制占有命令が
発行され、最終的にホストシステム1がアクセス権を獲
得し、ホストシステム1によるアクセスが終了するまで
ホストシステム2が待機する様子を示している。
The flowchart in FIG. 2 shows that when the host system 3 is unnecessarily occupying the external storage device 5 due to malfunction or other reasons, a forced occupation command is issued from the host system 1 and 2, and the host system 1 acquires the access right, and the host system 2 waits until the access by the host system 1 is completed.

まず、ホストシステム1.2は通常動作において異常監
視用のタイマ(図示せず)にタイマ値をセットした後、
外部記憶装置5をアクセスする必要が生じたならば、占
有命令をアダプタ装置4に送信する(81.82)。こ
れに対し、ホストシステム3が外部記憶装置5を既に占
有していることを示す報告がアダプタ装置4からなされ
たならば、異常監視用のタイマがタイムアツプしている
かいないかを調べ、タイムアツプしていなければ通常動
作として占有命令を再発行する(83.S4.82)。
First, the host system 1.2 sets a timer value in a timer (not shown) for abnormality monitoring during normal operation, and then
When it becomes necessary to access the external storage device 5, an exclusive command is sent to the adapter device 4 (81.82). On the other hand, if the adapter device 4 reports that the host system 3 is already occupying the external storage device 5, check whether the timer for abnormality monitoring has timed up or not. If not, the exclusive command is reissued as a normal operation (83.S4.82).

しかし、他のホストシステムに占有されていなかった場
合は、直ちに外部記憶装置5へのアクセスに移る(S5
)。
However, if it is not occupied by another host system, the process immediately moves to accessing the external storage device 5 (S5
).

一方、ホストシステム3が外部記憶袋@5を占有してい
た状態で動作不良等の原因によりシステム異常に陥ると
、ホストシステム1,2はいつまでたっても外部記憶装
置5へのアクセスができないため、これらホストシステ
ム1,2の内部に設けられた異常監視用のタイマがタイ
ムアツプした段階でシステム異常が生じたものと認識し
、システムリカバリ手段として強制占有命令を発行する
(86.37)。
On the other hand, if the host system 3 occupies the external storage bag @ 5 and the system becomes abnormal due to malfunction or other reasons, the host systems 1 and 2 will be unable to access the external storage device 5 for any length of time. When the abnormality monitoring timers provided inside these host systems 1 and 2 time up, it is recognized that a system abnormality has occurred, and a forced occupancy command is issued as a system recovery means (86.37).

この強制占有命令を受けたアダプタ装置4は、内部で所
定の優先順位に従って競合制抑を行い、システム異常の
ホストシステム3による外部記憶装[5の占有継続状態
を強制的に解除しく88〜S9)、例えばホストシステ
ム1から発行された強制占有命令を選択しく510)、
ホストシステム1に外部記憶装W15の占有状態を遷移
させる。
The adapter device 4 that has received this forced occupancy command performs conflict suppression internally according to a predetermined priority order, and forcibly releases the continued state of occupancy of the external storage device [5 by the host system 3 in which the system is abnormal] 88 to S9. ), for example, select a forced occupancy command issued from the host system 1 510),
The host system 1 is caused to transition the occupancy state of the external storage device W15.

これと同時に、内部のステータスレジスタ6に強制占有
命令を受理したホストシステムの識別情報IDを格納し
、強制占有命令を発行したホストシステム1.2に対し
ステータスレジスタ6の内容をステータス情報として報
告する(811)。強制占有命令を発行したホストシス
テム1,2は、このステータス情報によって自分の発行
した強制占有命令が成功したのか(312)、他のホス
トシステムの発行したものが受理されたのかを認識する
(813)。第2図の例ではホストシステム1の強制占
有命令が受理されたので、外部記憶装置5はホストシス
テム1によるアクセス状態に移り、ホストシステム2は
ホストシステム2がアクセスを終了するまで待機する。
At the same time, the identification information ID of the host system that received the forced occupancy instruction is stored in the internal status register 6, and the contents of the status register 6 are reported as status information to the host system 1.2 that issued the forced occupancy instruction. (811). The host systems 1 and 2 that issued the forced occupancy command use this status information to recognize whether the forced occupancy command they issued was successful (312) or whether the one issued by another host system was accepted (813). ). In the example of FIG. 2, the forced occupancy command from the host system 1 has been accepted, so the external storage device 5 shifts to an access state by the host system 1, and the host system 2 waits until the host system 2 completes the access.

ここで、ステータスレジスタ6の内容(識別情報ID)
は、強制占有命令の受理されたホストシステム1からタ
イマ7に設定されたタイマ値によって設定時間経過後に
自動的に初期化され、このレジスタ6の内容の初期化前
に他のホストシステムから強制占有命令が発行されても
該命令は無効とされ、レジスタ6の内容が報告されるの
みである。従って、ホストシステム1が外部記憶装置5
を占有したい時間に対応してタイマ7の値をセットして
おけば、その時間経過後には他のホストシステム2の強
制占有命令が受理されるようになる。
Here, the contents of the status register 6 (identification information ID)
is automatically initialized after the set time has elapsed according to the timer value set in timer 7 by the host system 1 that received the forced occupancy command, and before the contents of this register 6 are initialized, the forced occupancy instruction is received from another host system. Even if an instruction is issued, the instruction is invalidated and only the contents of register 6 are reported. Therefore, the host system 1
If the value of the timer 7 is set in accordance with the time for which the host system 2 is desired to be occupied, forced occupation commands from other host systems 2 will be accepted after that time has elapsed.

なお、ステータスレジスタ6の内容の初期化方法につい
ては、種々の方法がある。例えば、強制占有命令の受理
されたホストシステムからの次の起動によって初期化す
るもの、あるいは強制占有命令の受理されたホストシス
テムからの肯定応答動作によって初期化するもの等があ
る。しかし、いずれの場合でも強制占有命令の受理され
たホストシステムからの続く動作が暗黙のうちに保証さ
れていなければならず、強制占有命令を発行した直後、
アダプタ装置4に受理されたホストシステムに異常が発
生した場合、アダプタ装置4では強制占有命令が完結し
ていないということで、他のホストシステムからの強制
占有命令が全て無効とされてしまい、外部記憶装置5へ
のアクセス手段が全く無くなってしまう。
Note that there are various methods for initializing the contents of the status register 6. For example, there are those that are initialized by the next activation from a host system that has received a forced occupancy command, and those that are initialized by an acknowledgment operation from a host system that has received a forced occupancy command. However, in any case, the subsequent operation from the host system that receives the forced occupancy command must be implicitly guaranteed, and immediately after issuing the forced occupancy command,
If an abnormality occurs in the host system accepted by the adapter device 4, the forced occupancy command from the other host systems will be invalidated because the forced occupancy command has not been completed in the adapter device 4, and the external There is no means of accessing the storage device 5 at all.

この実施例では、上記のような問題を解決するためにタ
イマ7を設け、強制占有命令の発行に伴いタイマ7に設
定されるタイマ値の時間経過後に自動的に強制占有状態
を完了させ、ホストシステムからの次の動作に依存させ
ないようにしている。
In this embodiment, in order to solve the above problem, a timer 7 is provided, and the forced occupancy state is automatically completed after the timer value set in the timer 7 when a forced occupancy command is issued, and the host I try not to make it dependent on the next action from the system.

従って、ホストシステムはこの設定時間内に一連の強制
占有命令発行後の処理を行うことになる。
Therefore, the host system will perform a series of processes after issuing the forced occupancy command within this set time.

なお、タイマ値を任意の値に設定できるようにしたのは
、ホストシステムが強制占有命令を発行する前処理によ
って強制占有命令受理後の処理が異なるためである。
Note that the reason why the timer value can be set to an arbitrary value is that the processing after receiving the forced occupancy command differs depending on the preprocessing in which the host system issues the forced occupancy command.

なお、上記実施例では外部記憶装置のアダプタ装置に関
して示したが、複数のホストシステムで共有する記憶装
置またはプリンタ装置等の周辺装置等のアダプタ装置で
あっても同様の効果を秦する。
Although the above embodiments have been described with respect to an adapter device for an external storage device, the same effect can be obtained even if the adapter device is a storage device shared by a plurality of host systems or a peripheral device such as a printer device.

また上記実施例では、強制占有命令に関して説明したが
、強制解除命令であっても同様の効果を期待できる。強
制解除命令とは、強制占有命令と同様にあるホストシス
テムに占有されている外部記憶装置等の共有装置を強制
的に解除するものであり、強制占有命令では強制占有命
令を発行したホストシステムに新たな占有権が与えられ
るのに対し、強制解除命令では占有状態を解除して全て
のホストシステムに共有装置を解放し、改めて共有装置
の占有選択動作を行なわせる点が異なるだけである。強
制解除命令の場合、例えばホストシステム1とホストシ
ステム2が該命令のかけ合いとなった場合に、ホストシ
ステム1の命令が受理されると、ホストシステム2に対
しては該ホストシステム2が発行した命令が正しく受理
されたのか否かが報告されないので、ホストシステム2
では強制解除命令を繰返し再発行することになり、つい
にはホストシステム1.2の両方がシステムダウンとな
る。従って、強制解除命令に関しても上記実施例のよう
に有効となった命令発行元のホストシステムの識別情報
を全てのホストシステムに報知することにより、システ
ムダウンに陥ることを防止できる。
Further, in the above embodiment, the explanation was given regarding a forced occupancy command, but the same effect can be expected even with a forced release command. A forced release command, similar to a forced possession command, forcibly releases a shared device such as an external storage device that is occupied by a certain host system. The only difference is that a new exclusive right is granted, whereas a forced release command releases the occupied state, releases the shared device to all host systems, and causes the shared device to be selected for occupation anew. In the case of a forced release command, for example, if host system 1 and host system 2 exchange the command, if the command from host system 1 is accepted, host system 2 will receive the command issued by host system 2. Since it is not reported whether the command was accepted correctly, the host system 2
In this case, the forced release command will be reissued repeatedly, and eventually both host systems 1 and 2 will go down. Therefore, with respect to the forced release command, system failure can be prevented by notifying all host systems of the identification information of the host system that issued the command, which has become valid as in the above embodiment.

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

以上のようにこの発明によれば、占有状態の継続した共
有装置を該占有継続状態から強制的に解除する命令が同
時に発行された場合に、競合制御により選択した命令の
発行元のホストシステムの識別情報をステータス情報と
して該命令発行の全ホストシステムに報知するように構
成したため、該命令のかけ合いによる全ホストシステム
のシステムダウンを防止できる。また、アクセス権を獲
得したホストシステムのアクセスを中断させることなく
継続させることができる。
As described above, according to the present invention, when commands for forcibly releasing a shared device that has been in an occupied state from the continued occupied state are issued at the same time, the issuer host system of the command selected by contention control Since the configuration is configured so that the identification information is notified as status information to all the host systems that have issued the command, it is possible to prevent system down of all the host systems due to the exchange of the command. Furthermore, access by a host system that has acquired access rights can be continued without interruption.

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

第1図は本発明の一実施例を示す構成図、第2図は実施
例の動作を説明するためのフローチセート、第3図は従
来のアダプタ装置を用いた多重系システムの構成図であ
る。 1〜3・・・ホストシステム、4・・・アダプタ装置、
5・・・外部記憶装置、6・・・ステータスレジスタ、
7・・・タイマ。 代理人  大台 増雄(ほか2名) 第1図 ¥3図
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a flowchart for explaining the operation of the embodiment, and FIG. 3 is a block diagram of a multi-system system using a conventional adapter device. 1 to 3... host system, 4... adapter device,
5... External storage device, 6... Status register,
7...Timer. Agent Masuo Odai (and 2 others) Figure 1 ¥3

Claims (2)

【特許請求の範囲】[Claims] (1)複数のホストシステムから共通にアクセスされる
共有装置に付加されるアダプタ装置において、 前記共有装置を占有継続状態から強制的に解除する命令
が複数のホストシステムから同時に発行された際に、発
行された命令を所定の優先順位によって競合制御し、最
高順位のホストシステムから発行された命令を選択し、
該最高順位のホストシステムに前記共有装置のアクセス
を許可すると共に、他のホストシステムから発行された
命令に対しては該命令を無効としたうえ、共有装置のア
クセスを許可されたホストシステムの識別情報を報知す
るように構成されたアダプタ装置。
(1) In an adapter device that is attached to a shared device that is commonly accessed by multiple host systems, when a command to forcibly release the shared device from the continuous occupation state is simultaneously issued by multiple host systems, Contention control is performed on the issued instructions according to a predetermined priority order, and the instruction issued from the host system with the highest priority is selected.
Allowing the highest ranking host system to access the shared device, invalidating the command issued from other host systems, and identifying the host system that is permitted to access the shared device. An adapter device configured to broadcast information.
(2)前記識別情報は、前記命令を選択されたホストシ
ステムによつて設定されたタイマ時間経過後に初期化さ
れるように構成した請求項1記載のアダプタ装置。
(2) The adapter device according to claim 1, wherein the identification information is initialized after a timer time set by the host system that selected the command has elapsed.
JP63256277A 1988-10-12 1988-10-12 Adapter device Pending JPH02103619A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63256277A JPH02103619A (en) 1988-10-12 1988-10-12 Adapter device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63256277A JPH02103619A (en) 1988-10-12 1988-10-12 Adapter device

Publications (1)

Publication Number Publication Date
JPH02103619A true JPH02103619A (en) 1990-04-16

Family

ID=17290412

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63256277A Pending JPH02103619A (en) 1988-10-12 1988-10-12 Adapter device

Country Status (1)

Country Link
JP (1) JPH02103619A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04241037A (en) * 1991-01-25 1992-08-28 Fujitsu Ltd Automatic error recovery system
JPH05210540A (en) * 1992-01-31 1993-08-20 Fujitsu Ltd Interruption device
JP2008242742A (en) * 2007-03-27 2008-10-09 Toshiba Corp Cluster system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04241037A (en) * 1991-01-25 1992-08-28 Fujitsu Ltd Automatic error recovery system
JPH05210540A (en) * 1992-01-31 1993-08-20 Fujitsu Ltd Interruption device
JP2008242742A (en) * 2007-03-27 2008-10-09 Toshiba Corp Cluster system

Similar Documents

Publication Publication Date Title
US5845097A (en) Bus recovery apparatus and method of recovery in a multi-master bus system
US5621897A (en) Method and apparatus for arbitrating for a bus to enable split transaction bus protocols
US5528767A (en) Programmable multi-level bus arbitration apparatus in a data processing system
US4602327A (en) Bus master capable of relinquishing bus on request and retrying bus cycle
KR0153538B1 (en) Bus arbitration architecture incorporating deadlock detection and masking
EP0382469B1 (en) Arbitration of bus access in digital computers
US6141715A (en) Method and system for avoiding live lock conditions on a computer bus by insuring that the first retired bus master is the first to resubmit its retried transaction
US4381542A (en) System for interrupt arbitration
JPH05197671A (en) Master and slave communication method
JPS62162146A (en) Testing system for multiprocessor system
CA1275328C (en) Apparatus and method for responding to an aborted signal exchange between subsystems in a data processing system
KR100708096B1 (en) Bus system and execution scheduling method for access commands thereof
US5544333A (en) System for assigning and identifying devices on bus within predetermined period of time without requiring host to do the assignment
JPH07210500A (en) Data transfer controller
JPH02103619A (en) Adapter device
EP1118942B1 (en) Method of and system for managing reselection on a scsi bus
JP2972491B2 (en) Bus control mechanism and computer system
JPH03150654A (en) Preference control system for processor having cash
JP2504818B2 (en) Common memory control method in multiprocessor device
EP0860767B1 (en) Disk control apparatus
US5367693A (en) System for dialog among processors and dispatching processes to processors which monitors the number of acknowledgements to processing requests
JPS63286949A (en) Bus control system
JP3236459B2 (en) Error handling device in common bus data transfer
JP2535611B2 (en) Information processing device
JP2747258B2 (en) Write buffer busy control method