JPH0823854B2 - Control device - Google Patents
Control deviceInfo
- Publication number
- JPH0823854B2 JPH0823854B2 JP62195885A JP19588587A JPH0823854B2 JP H0823854 B2 JPH0823854 B2 JP H0823854B2 JP 62195885 A JP62195885 A JP 62195885A JP 19588587 A JP19588587 A JP 19588587A JP H0823854 B2 JPH0823854 B2 JP H0823854B2
- Authority
- JP
- Japan
- Prior art keywords
- functional unit
- address
- port
- command
- circuit
- 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 - Lifetime
Links
Landscapes
- Debugging And Monitoring (AREA)
Description
【発明の詳細な説明】 〔目次〕 概要 産業上の利用分野 従来の技術 発明が解決しようとする問題点 問題点を解決するための手段 作用 実施例 発明の効果 〔概要〕 機能別に区分された複数の機能単位により構成され、
該機能単位からアクセスされる共用メモリを備えた装置
で、各機能単位からのアクセスを制御する該共用メモリ
のポートが、障害の発生した機能単位に占有され続ける
ことを防止する制御装置に関し、 サービスアダプタが障害の発生した機能単位が結合し
ているポートを検出して、該ポートに障害の発生してい
る機能単位との結合を解除するコマンドを送出して、装
置の処理能力低下を防止することを目的とし、 機能単位毎に夫々該サービスアダプタが送出するコマ
ンドを解析する命令解析手段と、命令解析手段の指示に
基づき、保持している機能単位毎に定まる発信元アドレ
スと、結合している前記ポートのアドレスとを送出する
アドレス送出手段とを設け、機能単位から障害発生を通
知されたサービスアダプタが送出するコマンドを解析し
た前記命令解析手段の指示で、アドレス送出手段が送出
するアドレスに基づき、サービスアダプタが障害の発生
した機能単位の代わりに、障害の発生した機能単位が結
合しているポートに対し、結合解除のコマンドを送出す
る構成とする。DETAILED DESCRIPTION [Table of Contents] Outline Industrial field of application Conventional technology Problems to be solved by the invention Means for solving problems Problems Working examples Effects of the invention [Summary] Multiple items classified by function It is composed of functional units of
A device having a shared memory accessed from the functional unit, the control device for controlling access from each functional unit to prevent the port of the shared memory from being continuously occupied by the functional unit in which the failure has occurred. The adapter detects the port to which the functional unit in which the failure has occurred is connected, and sends a command to the port to release the connection with the functional unit in which the error has occurred, and prevents the processing capacity of the device from decreasing. For this purpose, by combining the command analysis means for analyzing the command sent by the service adapter for each functional unit and the source address determined for each functional unit held based on the instruction of the command analysis means, And an address sending means for sending the address of the above-mentioned port to solve the command sent by the service adapter notified of the failure occurrence from the functional unit. In response to the instruction of the instruction analysis means, the service adapter, based on the address transmitted by the address transmission means, releases the coupling to the port to which the faulty functional unit is coupled instead of the faulty functional unit. It is configured to send commands.
本発明は機能別に区分された複数の機能単位により構
成され、該機能単位からアクセスされる共用メモリを備
えた装置に係り、特に各機能単位からのアクセスを制御
する該共用メモリのポートが、障害の発生した機能単位
に占有され続けることを防止する制御装置に関する。The present invention relates to an apparatus having a shared memory which is configured by a plurality of functional units classified by function and which is accessed from the functional unit. In particular, a port of the shared memory that controls access from each functional unit has a failure. The present invention relates to a control device for preventing the functional unit from being continuously occupied.
情報処理システムにおける中央処理装置の高性能化、
高速化は著しいものがあり、当然データの処理件数も多
くなるため、そのデータを蓄えるための多くのファイル
が必要となると共に、このファイルは複数の中央処理装
置から使用出来ることが不可欠となって来た。Higher performance of central processing unit in information processing system,
Since the speedup is remarkable, and of course the number of data processing is large, many files are needed to store the data, and it is essential that this file can be used by multiple central processing units. I came.
ところで、情報処理システムの外部記憶装置として使
用される例えばディスク装置は、システム用常駐ファイ
ル、仮想記憶用のページファイルとして必要不可欠であ
り、更に莫大な情報を格納するためのデータファイルと
しても数多く使用される。By the way, for example, a disk device used as an external storage device of an information processing system is indispensable as a system resident file and a virtual storage page file, and is also used as a large number of data files for storing enormous information. To be done.
ところで、このような要求を実現するためのディスク
制御装置は、一つのプロセッサで数多くのチャネル径路
でディスク装置を制御管理することが困難になりつつあ
る。そこで、考えられたのが、チャネルに対応する機能
単位とディスク装置に対応する機能単位と、これら複数
の機能単位がアクセスする共用メモリと、総ての機能単
位を管理する機能単位と、各機能単位の障害解析を行う
機能単位で構成し、各機能単位を共通バスで接続したデ
ィスク制御装置がある。By the way, it is becoming difficult for a disk controller for fulfilling such a demand to control and manage the disk device with a large number of channel paths by one processor. Therefore, what was considered was a functional unit corresponding to a channel, a functional unit corresponding to a disk device, a shared memory accessed by these functional units, a functional unit for managing all functional units, and each functional unit. There is a disk control device that is configured by functional units that perform unit failure analysis and that connects each functional unit with a common bus.
このような機能単位で構成されたディスク制御装置で
は、各機能単位が共用するメモリに対するアクセスに対
し、競合が発生するため、このアクセスを制御する複数
のポートを共用メモリに備え、アクセスの順位に従っ
て、このポートを割当てることで、効率良く競合を避け
るようにしているが、機能単位の障害発生により、割当
てたポートが占有されたままとなることは、防止される
必要がある。In a disk controller configured with such functional units, there is contention for access to the memory shared by each functional unit, so multiple ports that control this access are provided in the shared memory, and access is performed in accordance with the order of access. By allocating this port, the contention is efficiently avoided, but it is necessary to prevent the allocated port from being occupied by the occurrence of a failure in each functional unit.
第3図は従来の技術を説明するブロック図である。 FIG. 3 is a block diagram illustrating a conventional technique.
第3図は機能単位により構成されたディスク制御装置
の一例を示す。1は共用メモリでポート2,3,4を経て共
通バス12と接続され、共通バス12に接続された他の機能
単位からアクセスされてデータ転送を行う。FIG. 3 shows an example of a disk control device composed of functional units. Reference numeral 1 denotes a shared memory, which is connected to the common bus 12 via the ports 2, 3, and 4, and is accessed by another functional unit connected to the common bus 12 to transfer data.
2〜4はポートで5は自動割当制御回路であり、第4
図に示す如く構成され、ポート2,3,4は同一構成であ
る。2 to 4 are ports, 5 is an automatic allocation control circuit,
As shown in the figure, the ports 2, 3 and 4 have the same configuration.
従って、ポート2を主として、その動作を説明する。
共通バス12から他の機能単位が送出するコマンドと、該
コマンドの出先を示す機能単位のアドレスと、宛先を示
す共通メモリ1に対するアドレスとが入力する。Therefore, the operation of the port 2 will be mainly described.
A command sent by another functional unit from the common bus 12, an address of the functional unit indicating the destination of the command, and an address for the common memory 1 indicating the destination are input.
デコーダ15には、例えばデータの書込み又は読出しを
指示するコマンドが入力し、比較回路13には宛先を示す
アドレスが入力し、ポートアドレス14が保持するポート
アドレスと比較され、一致するとデコーダ15に有効を示
す信号が送出される。For example, a command for instructing writing or reading of data is input to the decoder 15, an address indicating a destination is input to the comparison circuit 13, and the address is compared with the port address held by the port address 14. If they match, the decoder 15 is effective. Is transmitted.
デコーダ15はデコードした内容が有効となると、“1"
をAND回路16に送出する。フリップフロップ18は初期時
はセットされていないため、AND回路16に“1"を送出し
ており、AND回路16は“1"をAND回路17に送出する。従っ
て、AND回路17はデコーダ15が送出する“1"をフリップ
フロップ18に送出し、フリップフロップ18はセットされ
て、自動割当制御回路5のAND回路26と27に“1"を送出
し、AND回路16には“0"を送出する。When the decoded contents become valid, the decoder 15 outputs "1".
To the AND circuit 16. Since the flip-flop 18 is not set at the initial stage, "1" is sent to the AND circuit 16, and the AND circuit 16 sends "1" to the AND circuit 17. Therefore, the AND circuit 17 sends "1" sent from the decoder 15 to the flip-flop 18, and the flip-flop 18 is set to send "1" to the AND circuits 26 and 27 of the automatic allocation control circuit 5, “0” is sent to the circuit 16.
従って、AND回路17は再び“0"をフリップフロップ18
に送出するが、フリップフロップ18はリセットされるま
で、“1"をAND回路26と27に送出している。Therefore, the AND circuit 17 again sets “0” to the flip-flop 18
However, the flip-flop 18 sends "1" to the AND circuits 26 and 27 until it is reset.
アドレスレジスタ20はAND回路16が“1"を送出したこ
とで、イネーブルとなり、ポート2をアクセスした機能
単位のアドレスを記憶し、比較回路21に送出する。比較
回路21は機能単位がデータ転送を要求する度に、該機能
単位のアドレスを共通バス12に送出するため、共通バス
12から入力する機能単位のアドレスが、アドレスレジス
タ20の記憶しているアドレスと一致すると、“1"をAND
回路22に送出する。The address register 20 is enabled by the AND circuit 16 sending "1", stores the address of the functional unit that accessed the port 2, and sends it to the comparison circuit 21. The comparator circuit 21 sends the address of the functional unit to the common bus 12 every time the functional unit requests data transfer.
When the address of the functional unit input from 12 matches the address stored in the address register 20, "1" is ANDed.
To the circuit 22.
従って、AND回路22はデコーダ15が送出する“1"をデ
ータバッファ23とアドレスレジスタ25に送出し、データ
バッファ23とアドレスレジスタ25をイネーブルとして、
後述する如くコマンドバッファ24を経て、アドレスレジ
スタ25に入力した共用メモリ1のアドレスを送出させ、
データバッファ23を介して、共用メモリ1と共通バス12
の間のデータ転送を行わせる。Therefore, the AND circuit 22 sends "1" sent from the decoder 15 to the data buffer 23 and the address register 25, enables the data buffer 23 and the address register 25,
As will be described later, the address of the shared memory 1 input to the address register 25 is sent out via the command buffer 24,
Shared memory 1 and common bus 12 via data buffer 23
Data transfer between the two.
ポート2をアクセスして、共用メモリ1とデータ転送
を行った機能単位が、データ転送が完了し、ポート2と
の結合を解除するコマンドを送出すると、デコーダ15は
このコマンドをデコードする。When the functional unit that has accessed the port 2 and transferred the data to the shared memory 1 sends a command to release the connection with the port 2 after the data transfer is completed, the decoder 15 decodes this command.
比較回路21はアドレスレジスタ20のアドレスと比較
し、一致したことから、デコーダ15のデコードしたコマ
ンドを有効とするため、デコーダ15は“0"を送出する。
従って、NOT回路19は“1"をフリップフロップ18に送出
して、フリップフロップ18をリセットするため、フリッ
プフロップ18は、AND回路16に再び“1"を送出する。The comparison circuit 21 compares the address with the address of the address register 20 and, since the addresses match, the decoder 15 validates the decoded command, so that the decoder 15 sends "0".
Therefore, the NOT circuit 19 sends "1" to the flip-flop 18 and resets the flip-flop 18, so that the flip-flop 18 sends "1" to the AND circuit 16 again.
又、アドレスレジスタ20は、デコーダ15が“0"を送出
すると、リセットされ記憶している機能単位のアドレス
を消去する。Also, the address register 20 is reset and erases the stored address of the functional unit when the decoder 15 outputs "0".
ポート2以外のポート3,4のデコーダ15も、デコード
した内容が有効となると、“1"をポート3と4のAND回
路16に夫々送出し、ポート3と4のフリップフロップ18
が夫々“1"を送出しているため、ポート3のAND回路16
は“1"を自動割当制御回路5のAND回路26に送出する
が、この時ポート2のフリップフロップ18が自動割当制
御回路5のAND回路26に未だ“1"を送出していないた
め、AND回路26はポート3のAND回路17に“1"を送出しな
い。The decoders 15 of the ports 3 and 4 other than the port 2 also send "1" to the AND circuits 16 of the ports 3 and 4 when the decoded contents become valid, and the flip-flops 18 of the ports 3 and 4 respectively.
Each send "1", the AND circuit 16 of port 3
Sends "1" to the AND circuit 26 of the automatic allocation control circuit 5, but since the flip-flop 18 of the port 2 has not yet sent "1" to the AND circuit 26 of the automatic allocation control circuit 5 at this time, AND The circuit 26 does not send "1" to the AND circuit 17 of port 3.
従って、ポート3のアドレスレジスタ20はイネーブル
とはならず、又、自動割当制御回路5のAND回路27も
“0"を送出したままであるため、ポート4のアドレスレ
ジスタ20もイネーブルとはならず、ポートをアクセスし
てきた機能単位のアドレスは、ポート2のアドレスレジ
スタ20にのみ記憶される。Therefore, the address register 20 of the port 3 is not enabled, and since the AND circuit 27 of the automatic allocation control circuit 5 is still sending “0”, the address register 20 of the port 4 is not enabled either. , The address of the functional unit that has accessed the port is stored only in the address register 20 of the port 2.
ポート2が占有されている時、続いてポートをアクセ
スする機能単位があった場合、ポート2のデコーダ15が
デコードして“1"を送出しても、ポート2のAND回路16
はポート2のフリップフロップ18が“0"を送出している
ため、ポート2のAND回路16は“0"を送出したままであ
る。When the port 2 is occupied and there is a functional unit that accesses the port subsequently, even if the decoder 15 of the port 2 decodes and outputs "1", the AND circuit 16 of the port 2
Since the flip-flop 18 of the port 2 is sending "0", the AND circuit 16 of the port 2 is still sending "0".
従って、ポート2のアドレスレジスタ20は新たな機能
単位のアドレスを記憶することは無い。Therefore, the address register 20 of the port 2 does not store the address of the new functional unit.
しかし、自動割当制御回路5のAND回路26は、ポート
2のフリップフロップ18が“1"を送出しているため、ポ
ート3のデコーダ15が“1"を送出し、ポート3のAND回
路16が“1"を送出すると、“1"をポート3のAND回路17
とアドレスレジスタ20に送出する。従って、ポート3の
アドレスレジスタ20はイネーブルとなって、新たな機能
単位のアドレスを記憶する。However, in the AND circuit 26 of the automatic allocation control circuit 5, since the flip-flop 18 of port 2 is sending "1", the decoder 15 of port 3 is sending "1" and the AND circuit 16 of port 3 is When "1" is sent, "1" is sent to the AND circuit 17 of port 3.
To the address register 20. Therefore, the address register 20 of the port 3 is enabled to store the address of the new functional unit.
同時に、ポート3のフリップフロップ18は“1"を自動
割当制御回路5のAND回路27に送出する。従って、ポー
ト4のデコーダ15が“1"を送出すると、前記同様に、ポ
ート4のフリップフロップ18は“1"をAND回路27に送出
する。At the same time, the flip-flop 18 of the port 3 sends “1” to the AND circuit 27 of the automatic allocation control circuit 5. Therefore, when the decoder 15 of the port 4 sends "1", the flip-flop 18 of the port 4 sends "1" to the AND circuit 27 in the same manner as described above.
この時ポート2のフリップフロップ18も“1"をAND回
路27に送出しているため、AND回路27は“1"を送出す
る。従って、ポート4のアドレスレジスタ20はイネーブ
ルとなり、次にポートをアクセスしてきた機能単位のア
ドレスを記憶する。At this time, the flip-flop 18 of the port 2 also sends "1" to the AND circuit 27, so the AND circuit 27 sends "1". Therefore, the address register 20 of the port 4 is enabled and stores the address of the functional unit that next accessed the port.
そして、ポート4のフリップフロップ18は“1"を共通
バス12に送出し、ポート2〜4まで、総て使用中である
ことを示すビジー信号とする。Then, the flip-flop 18 of the port 4 sends "1" to the common bus 12 and outputs a busy signal indicating that all of the ports 2 to 4 are in use.
コマンドバッファ24には、宛先を示す共用メモリ1の
アドレスが記憶されており、前記の如くAND回路22が
“1"を送出するとアドレスレジスタ25がイネーブルとな
り、共用メモリ1のアドレスが送出される。従って、宛
先を示すアドレスに続いて機能単位が送出するデータ
は、前記の如くAND回路22が送出する“1"によりイネー
ブルとなるデータバッファ23を経て共用メモリ1に転送
され、共用メモリ1に書込まれる。又、共用メモリ1か
らデータを読出す場合、アドレスレジスタ25の送出する
アドレスで、データバッファ23に読出されたデータが、
共通バス12に送出される。The address of the shared memory 1 indicating the destination is stored in the command buffer 24. When the AND circuit 22 sends "1" as described above, the address register 25 is enabled and the address of the shared memory 1 is sent. Therefore, the data sent by the functional unit following the address indicating the destination is transferred to the shared memory 1 via the data buffer 23 enabled by "1" sent by the AND circuit 22 as described above, and written in the shared memory 1. Get caught. When reading data from the shared memory 1, the data read out to the data buffer 23 at the address transmitted by the address register 25 is
It is sent to the common bus 12.
このようにポート2,3,4は共用メモリ1に対する他の
機能単位からのアクセスを、自動割当制御回路5が定め
た優先順に従って制御する。In this way, the ports 2, 3 and 4 control access to the shared memory 1 from other functional units according to the priority order defined by the automatic allocation control circuit 5.
7,8はチャネルアダプタで、第5図に示す如く構成さ
れ、プロセッサ30は制御記憶31からプログラムを読出し
て動作し、インタフェース回路28を経て、上位装置であ
るチャネルからのスタートI/O命令の受領と、チャネル
との間のデータ転送を行うと共に、共通バス制御回路29
を制御して、共通バス12を経てポート2〜4にアドレス
(このポートアドレスは総て同じアドレスである)を送
出し、共用メモリ1との間のデータ転送を行う。Channel adapters 7 and 8 are configured as shown in FIG. 5, and the processor 30 operates by reading a program from the control memory 31, and transmits a start I / O command from a channel which is a host device via the interface circuit 28. The common bus control circuit 29 performs the reception and data transfer between the channels.
To send an address (all the port addresses are the same address) to the ports 2 to 4 via the common bus 12 to perform data transfer with the shared memory 1.
又、チャネルアダプタ7,8の内部で障害を発生した
時、図示省略した検出回路から専用信号線を経て、サー
ビスアダプタ11に障害発生を通知する。When a failure occurs inside the channel adapters 7 and 8, a detection circuit (not shown) notifies the service adapter 11 of the failure via a dedicated signal line.
9,10はデバイスアダプタで、第5図に示す如く構成さ
れ、プロセッサ30は制御記憶31からプログラムを読出し
て動作し、インタフェース回路28を経て、ディスク装置
に命令を送出して、ディスク装置との間のデータ転送を
行うと共に、共通バス制御回路29を制御して、共通バス
12を経てポート2〜4にアドレス(このポートアドレス
は総て同じアドレスである)を送出し、共用メモリ1と
の間のデータ転送を行う。The device adapters 9 and 10 are constructed as shown in FIG. 5, and the processor 30 reads out a program from the control memory 31 to operate and sends a command to the disk device via the interface circuit 28 to communicate with the disk device. Data transfer between the two, and controls the common bus control circuit 29 to
An address (all the port addresses are the same address) is sent to ports 2 to 4 via 12 and data transfer with the shared memory 1 is performed.
又、デバイスアダプタ9,10の内部で障害を発生した
時、図示省略した検出回路から専用信号線を経て、サー
ビスアダプタ11に障害発生を通知する。When a failure occurs inside the device adapters 9 and 10, the detection circuit (not shown) notifies the service adapter 11 of the failure through a dedicated signal line.
6はリソースマネージャで、第6図に示す如く構成さ
れ、プロセッサ33は制御記憶32からプログラムを読出し
て動作し、共通バス制御回路34を制御して、共通バス12
を経てチャネルアダプタ7及び8が送出するチャネルか
らの全てスタートI/O命令を受領して、RAM35に格納し、
このスタートI/O命令を集中管理する。Reference numeral 6 denotes a resource manager, which is configured as shown in FIG. 6, and the processor 33 reads a program from the control memory 32 to operate and controls the common bus control circuit 34 to control the common bus 12
Receive all start I / O commands from the channels sent by the channel adapters 7 and 8 via the
This start I / O command is centrally managed.
そして、各スタートI/O命令毎にチャネルアダプタ7,8
とデバイスアダプタ9,10に処理の指示を行う。又、受領
した全スタートI/O命令毎の制御情報や、チャネル径路
毎の制御情報、ディスク装置毎の制御情報を集中して記
憶しており、RAMアクセス制御回路36を経て他の機能単
位がRAM35をアクセスし、上記制御情報を読出すことを
可能としている。And channel adapter 7,8 for each start I / O instruction
And instruct processing to the device adapters 9 and 10. Further, the control information for each received all start I / O commands, the control information for each channel path, and the control information for each disk device are centrally stored, and other functional units are passed through the RAM access control circuit 36. It is possible to access the RAM 35 and read the above control information.
11はサービスアダプタで、第7図に示す如く構成さ
れ、プロセッサ38は制御記憶37からプログラムを読出し
て動作し、周辺機器制御回路40を経てチャネルアダプタ
7、8とデバイスアダプタ9,10から専用信号線で通知さ
れる障害発生を検知し、共通バス制御回路39を経て、共
通バス12に例えば機能単位の切替えを指示するコマンド
を送出する。A service adapter 11 is constructed as shown in FIG. 7, and the processor 38 operates by reading a program from the control memory 37, and a dedicated signal from the channel adapters 7 and 8 and the device adapters 9 and 10 via the peripheral device control circuit 40. A failure occurrence notified by a line is detected, and a command for switching, for example, a function unit is sent to the common bus 12 via the common bus control circuit 39.
このように構成されたディスク制御装置で、例えば、
チャネルアダプタ7が上位装置のチャネルから選択さ
れ、スタートI/O命令を受領すると、リソースマネージ
ャ6の指示に従い、指定されたディスク装置を接続して
いる例えばデバイスアダプタ9と、共通バス12を経て結
合し、ディスク装置との間でデータの転送を行う。この
場合チャネルアダプタ7とデバイスアダプタ9は共用メ
モリ1に転送するデータを一旦記憶させるため、ポート
のアドレスを含む共用メモリ1のアドレスを送出し、自
動割当制御回路5が定める優先順に従って割当てられた
ポート2〜4の一つを経て共用メモリ1をアクセスす
る。With the disk controller configured in this way, for example,
When the channel adapter 7 is selected from the channels of the higher-level device and receives the start I / O command, it is coupled via the common bus 12 with, for example, the device adapter 9 connecting the designated disk device according to the instruction of the resource manager 6. Then, the data is transferred to and from the disk device. In this case, since the channel adapter 7 and the device adapter 9 temporarily store the data to be transferred to the shared memory 1, the address of the shared memory 1 including the address of the port is sent out and assigned according to the priority order determined by the automatic assignment control circuit 5. The shared memory 1 is accessed via one of the ports 2-4.
上記の如く従来は自動割当制御回路5が定める優先順
に、チャネルアダプタ7,8とデバイスアダプタ9,10がポ
ート2〜4の中の一つを占有して共用メモリ1をアクセ
スしているが、例えば、ポート2を占有しているチャネ
ルアダプタ7が障害となって、ポート2との結合を解除
するコマンドを送出しない場合、ポート2のアドレスレ
ジスタ20に記憶されたチャネルアダプタ7のアドレスは
消去されない。As described above, conventionally, the channel adapters 7 and 8 and the device adapters 9 and 10 occupy one of the ports 2 to 4 and access the shared memory 1 in the priority order determined by the automatic allocation control circuit 5. For example, if the channel adapter 7 occupying the port 2 becomes an obstacle and does not send the command to release the connection with the port 2, the address of the channel adapter 7 stored in the address register 20 of the port 2 is not erased. .
従って、ポート2は他の機能単位からのアクセスを受
付けず、ポート2の使用効率が低下し、他の機能単位が
使用出来るポートの数も減少するため、ディスク制御装
置の処理能力が低下するという問題がある。Therefore, the port 2 does not receive access from other functional units, the usage efficiency of the port 2 is reduced, and the number of ports that can be used by other functional units is also reduced, so that the processing capability of the disk control device is reduced. There's a problem.
本発明はサービスアダプタ11が障害発生の通知に基づ
き、障害の発生した機能単位が結合しているポートを検
出して、該ポートに障害の発生している機能単位との結
合を解除するコマンドを送出するようにして、ポートの
使用効率を向上させ、ディスク制御装置の処理能力低下
を防止することを目的としている。The present invention provides a command for the service adapter 11 to detect a port to which a functional unit in which a failure has occurred is coupled based on a notification that a fault has occurred, and to release the combination with the functional unit in which the fault has occurred in the port. The purpose is to improve the port usage efficiency and prevent the disk controller from degrading the processing capacity.
第1図は本発明の原理ブロック図である。 FIG. 1 is a block diagram of the principle of the present invention.
サービスアダプタ11は専用信号線を経て、機能単位41
又は42から障害発生の通知を受けると、情報抽出信号線
を経て、障害発生を通知した機能単位41又は42の命令解
析手段44にコマンドを送出し、アドレス送出手段43か
ら、障害の発生した機能単位のアドレスと、共用メモリ
1に対して送出している宛先アドレス(各ポートに対し
て共通なポートアドレス)とを共通バス12に送出させ
る。The service adapter 11 is connected to the functional unit 41 via the dedicated signal line.
Alternatively, when a failure occurrence notification is received from 42, a command is sent to the instruction analysis means 44 of the functional unit 41 or 42 that has notified the failure occurrence via the information extraction signal line, and the address sending means 43 causes the failure occurrence function. The unit address and the destination address (port address common to each port) sent to the shared memory 1 are sent to the common bus 12.
サービスアダプタ11は共通バス12から障害発生の機能
単位のアドレスと、宛先アドレスを受領すると、正常な
機能単位がデータ転送終了に伴い送出するコマンドフレ
ームと同様に、発信元を示す機能単位のアドレスと、宛
先アドレンと、データ転送終了に伴う結合解除の指示を
行うデータを共通バス12に送出する。When the service adapter 11 receives the address of the functional unit in which the failure has occurred and the destination address from the common bus 12, the normal address of the functional unit and the address of the functional unit indicating the source are transmitted in the same manner as the command frame sent when the data transfer ends. , The destination adren and the data for instructing the uncoupling at the end of the data transfer are sent to the common bus 12.
このコマンドフレームを受信したポート2又は3は、
第4図で説明した如く、アドレスレジスタ20の記憶して
いる機能単位のアドレスを消去するため、障害発生の機
能単位との結合を解除することが出来る。Port 2 or 3 that received this command frame
As described with reference to FIG. 4, since the address of the functional unit stored in the address register 20 is erased, the connection with the functional unit in which the failure has occurred can be released.
上記の如く構成することにより、命令解析手段44はサ
ービスアダプタ11が送出するコマンドを解析し、アドレ
ス送出手段43に発信元アドレスと、宛先アドレスの送出
を指示するため、サービスアダプタ11は、障害の発生し
た機能単位の代わりにデータ転送終了に伴う結合解除を
ポート2又は3に送出することが可能となり、障害発生
の機能単位に占有されたポート2又は3を解放して、デ
ィスク制御装置の処理効率低下を防止することが出来
る。With the above-described configuration, the command analysis unit 44 analyzes the command transmitted by the service adapter 11 and instructs the address transmission unit 43 to transmit the source address and the destination address. It becomes possible to send the decoupling associated with the end of the data transfer to the port 2 or 3 instead of the functional unit that has occurred, release the port 2 or 3 occupied by the functional unit in which the failure has occurred, and process the disk controller. It is possible to prevent a decrease in efficiency.
第2図は本発明の一実施例を示す回路のブロック図で
ある。FIG. 2 is a block diagram of a circuit showing an embodiment of the present invention.
第2図は第5図に示す共通バス制御回路29に設けられ
ているもので、デコーダ45と信号線51を追加したもので
ある。FIG. 2 is provided in the common bus control circuit 29 shown in FIG. 5, and additionally has a decoder 45 and a signal line 51.
発信元アドレスレジスタ48は機能単位自身に割付けら
れたアドレスを記憶しており、共通バス12から入力する
他の各機能単位の送出する宛先アドレスが、宛先アドレ
スレジスタ50に格納されると、この宛先アドレスと自身
のアドレスを比較回路49で比較し、一致したならば自分
がデータ転送すべき相手であることを認識し、データバ
ッファ46をイネーブルとして、データの転送を行なわせ
る。The source address register 48 stores the address assigned to the functional unit itself, and when the destination address sent from each of the other functional units input from the common bus 12 is stored in the destination address register 50, this destination The comparison circuit 49 compares the address with its own address, and if they match, it recognizes that it is the other party to which data should be transferred, and enables the data buffer 46 to transfer the data.
又、データを転送したい相手の機能単位のアドレスを
宛先アドレスレジスタ47に格納して、共通バス12に送出
している。Further, the address of the functional unit of the other party to which the data is to be transferred is stored in the destination address register 47 and sent to the common bus 12.
第1図で説明した如く、サービスアダプタ11は機能単
位から障害発生を通知されると、情報抽出信号線を経て
デコーダ45にコマンドを送出する。デコーダ45はこのコ
マンドをデコードして“1"を宛先アドレスレジスタ47
と、発信元アドレスレジスタ48に送出し、発信元アドレ
スレジスタ48と宛先アドレスレジスタ47をイネーブルと
し、記憶している発信元アドレスと宛先アドレスとを共
通バス12に送出させる。As described with reference to FIG. 1, the service adapter 11 sends a command to the decoder 45 via the information extraction signal line when the failure is notified from the functional unit. The decoder 45 decodes this command and sets "1" to the destination address register 47.
Then, the source address register 48 and the destination address register 47 are enabled, and the stored source address and destination address are transmitted to the common bus 12.
従って、第1図で説明した如く、サービスアダプタ11
は、この障害を発生した機能単位を示す発信元アドレス
と宛先アドレスを用いて、障害発生の機能単位に代わ
り、占有しているポートの結合を解除する。Therefore, as described in FIG. 1, the service adapter 11
Uses the source address and the destination address indicating the functional unit in which the failure has occurred, and releases the binding of the occupied port in place of the functional unit in which the failure has occurred.
以上説明した如く、本発明はサービスアダプタが障害
を発生した機能単位の代わりに、該機能単位が結合した
ままとなっているポートを解放するため、装置の処理効
率を高めることが出来る。As described above, according to the present invention, instead of the functional unit in which the service adapter has failed, the port in which the functional unit remains connected is released, so that the processing efficiency of the device can be improved.
第1図は本発明の原理ブロック図、 第2図は本発明の一実施例を示す回路のブロック図、 第3図は従来の技術を説明するブロック図、 第4図はポートと自動割当制御回路の一例を示すブロッ
ク図、 第5図はチャネルアダプタ及びデバイスアダプタの一例
を示すブロック図、 第6図はリソースマネージャの一例を示すブロック図、 第7図はサービスアダプタの一例を説明するブロック図
である。 図において、 1は共用メモリ、2,3,4はポート、5は自動割当制御回
路、6はリソースマネージャ、7,8はチャネルアダプ
タ、9,10はデバイスアダプタ、11はサービスアダプタ、
12は共通バス、13,21,49は比較回路、14はポートアドレ
ス、15,45はデコーダ、16,17,22,26,27はAND回路、18は
フリップフロップ、19はNOT回路、20,25はアドレスレジ
スタ、23,46はデータバッファ、24はコマンドバッフ
ァ、28はインタフェース回路、29,34,39は共通バス制御
回路、30,33,38はプロセッサ、31,32,37は制御記憶、35
はRAM、36はRAMアクセス制御回路、40は周辺機器制御回
路、41,42は機能単位、43はアドレス送出手段、44は命
令解析手段、47は宛先アドレスレジスタ、48は発信元ア
ドレスレジスタ、50は宛先アドレスレジスタである。FIG. 1 is a block diagram of the principle of the present invention, FIG. 2 is a block diagram of a circuit showing an embodiment of the present invention, FIG. 3 is a block diagram illustrating a conventional technique, and FIG. 4 is a port and automatic allocation control. FIG. 5 is a block diagram showing an example of a circuit, FIG. 5 is a block diagram showing an example of a channel adapter and a device adapter, FIG. 6 is a block diagram showing an example of a resource manager, and FIG. 7 is a block diagram explaining an example of a service adapter. Is. In the figure, 1 is a shared memory, 2, 3 and 4 are ports, 5 is an automatic allocation control circuit, 6 is a resource manager, 7 and 8 are channel adapters, 9 and 10 are device adapters, 11 is a service adapter,
12 is a common bus, 13, 21, 49 is a comparison circuit, 14 is a port address, 15, 45 is a decoder, 16, 17, 22, 26, 27 are AND circuits, 18 is a flip-flop, 19 is a NOT circuit, 20, 25 is an address register, 23 and 46 are data buffers, 24 is a command buffer, 28 is an interface circuit, 29, 34 and 39 are common bus control circuits, 30, 33 and 38 are processors, 31, 32 and 37 are control memories, 35
Is RAM, 36 is a RAM access control circuit, 40 is a peripheral device control circuit, 41 and 42 are functional units, 43 is an address sending means, 44 is an instruction analyzing means, 47 is a destination address register, 48 is a source address register, and 50 is a source address register. Is the destination address register.
Claims (1)
と、該機能単位相互間で転送されるデータを一時記憶す
る共用メモリに対するアクセスを、該アクセスを要求し
た機能単位と結合することで、他の機能単位からのアク
セスと区別して制御する複数のポート(2)(3)と、
該機能単位(41)(42)の障害発生を検出して、情報収
集のコマンドを送出するサービスアダプタ(11)とを、
共通バス(12)に接続した制御装置において、 該機能単位(41)(42)毎に夫々該サービスアダプタ
(11)が送出するコマンドを解析する命令解析手段(4
4)と、 該命令解析手段(44)の指示に基づき、機能単位(41)
(42)毎に設定された発信元アドレスと、該機能単位
(41)(42)が結合している前記ポート(2)(3)の
アドレスとを送出するアドレス送出手段(43)とを設
け、 前記サービスアダプタ(11)は、一つの機能単位から障
害発生を通知された時、障害発生を通知した該機能単位
の前記命令解析手段(44)にコマンドを送出し、該コマ
ンドを受けて解析した該命令解析手段(44)の指示によ
り、前記アドレス送出手段(43)が送出する前記発信元
アドレスとポートのアドレスとを受けて、前記サービス
アダプタ(11)が前記障害を発生した機能単位の代わり
に、機能単位が通常の処理においてデータ転送の終了時
にポートとの結合を解除するため実行すると同一の手順
で、障害の発生した機能単位が結合しているポートに対
し、前記発信元アドレスとポートのアドレスを添えて結
合解除のコマンドを送出することを特徴とする制御装
置。1. A functional unit (41) (42) classified by function.
And a plurality of ports for controlling the access to the shared memory for temporarily storing the data transferred between the functional units by combining the access with the functional unit that requested the access, separately from the access from other functional units. (2) (3),
A service adapter (11) that detects the occurrence of a failure in the functional unit (41) (42) and sends a command for information collection,
In the control device connected to the common bus (12), an instruction analysis means (4) for analyzing the command transmitted by the service adapter (11) for each of the functional units (41) (42).
4) and the functional unit (41) based on the instruction from the instruction analysis means (44).
An address sending means (43) is provided for sending a source address set for each (42) and an address of the port (2) (3) to which the functional unit (41) (42) is connected. When the service adapter (11) is notified of the occurrence of a failure by one functional unit, the service adapter (11) sends a command to the instruction analysis means (44) of the functional unit that has notified the occurrence of the failure, and receives and analyzes the command. In response to the instruction of the instruction analysis means (44), the service adapter (11) receives the source address and the port address transmitted by the address transmission means (43), Instead, in the same procedure that the functional unit executes in order to release the binding with the port at the end of the data transfer in the normal process, the source address is sent to the port to which the faulty functional unit is bound. And a control device characterized by transmitting a command for canceling the connection with the address of the port.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62195885A JPH0823854B2 (en) | 1987-08-05 | 1987-08-05 | Control device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62195885A JPH0823854B2 (en) | 1987-08-05 | 1987-08-05 | Control device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6438856A JPS6438856A (en) | 1989-02-09 |
| JPH0823854B2 true JPH0823854B2 (en) | 1996-03-06 |
Family
ID=16348605
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP62195885A Expired - Lifetime JPH0823854B2 (en) | 1987-08-05 | 1987-08-05 | Control device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0823854B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2815730B2 (en) * | 1991-09-04 | 1998-10-27 | 富士通株式会社 | Adapters and computer systems |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5872228A (en) * | 1981-10-23 | 1983-04-30 | Hitachi Ltd | Failure handling methods for data processing systems |
| JPS6146543A (en) * | 1984-08-10 | 1986-03-06 | Fujitsu Ltd | Fault processing system of transfer device |
-
1987
- 1987-08-05 JP JP62195885A patent/JPH0823854B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6438856A (en) | 1989-02-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7020731B2 (en) | Disk array control device with two different internal connection systems | |
| JP4477906B2 (en) | Storage system | |
| US6523088B2 (en) | Disk array controller with connection path formed on connection request queue basis | |
| US6675253B1 (en) | Dynamic routing of data across multiple data paths from a source controller to a destination controller | |
| JPH01200466A (en) | Variable resource zoning apparatus and method for data processing system | |
| EP0333593B1 (en) | A data processing system capable of fault diagnosis | |
| US20120183001A1 (en) | Network apparatus, network configuration method and program recording medium which records a network apparatus program | |
| JP4100256B2 (en) | Communication method and information processing apparatus | |
| US7043603B2 (en) | Storage device control unit and method of controlling the same | |
| US5708784A (en) | Dual bus computer architecture utilizing distributed arbitrators and method of using same | |
| US5734918A (en) | Computer system with an input/output processor which enables direct file transfers between a storage medium and a network | |
| JP3080552B2 (en) | Memory device for multi-computer system | |
| JPH0823854B2 (en) | Control device | |
| US7336657B2 (en) | Inter-nodal data transfer system and data transfer apparatus | |
| JP4025032B2 (en) | Disk control device and data access method thereof | |
| JPS6218074B2 (en) | ||
| JP2001175582A (en) | Disk controller | |
| JPS6041145A (en) | Disc cache device | |
| JP3273191B2 (en) | Data transfer device | |
| JPS63234316A (en) | Exclusive control system for table storage | |
| JP3594952B2 (en) | A link between the central system and the satellite system to perform operations of the central system | |
| JPS61165160A (en) | Bus controlling system | |
| JPH07120341B2 (en) | Data controller | |
| JPH056900B2 (en) | ||
| JPH03296159A (en) | Memory access system for dma device |