JPS6252907B2 - - Google Patents

Info

Publication number
JPS6252907B2
JPS6252907B2 JP57170836A JP17083682A JPS6252907B2 JP S6252907 B2 JPS6252907 B2 JP S6252907B2 JP 57170836 A JP57170836 A JP 57170836A JP 17083682 A JP17083682 A JP 17083682A JP S6252907 B2 JPS6252907 B2 JP S6252907B2
Authority
JP
Japan
Prior art keywords
cst
computer
master
loop
cpu
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
Application number
JP57170836A
Other languages
Japanese (ja)
Other versions
JPS5962967A (en
Inventor
Keijiro Hayashi
Hiroaki Nakanishi
Hitoshi Fushimi
Seiichi Yasumoto
Masakazu Okada
Sadao Mizokawa
Masao Sueki
Takeshi Oonuki
Masanao Oohayashi
Toshuki Ide
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP57170836A priority Critical patent/JPS5962967A/en
Publication of JPS5962967A publication Critical patent/JPS5962967A/en
Publication of JPS6252907B2 publication Critical patent/JPS6252907B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0706Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
    • G06F11/0709Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in a distributed system consisting of a plurality of standalone computer nodes, e.g. clusters, client-server systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は複数の計算機が、共通バスに接続され
た複数の入出力機器を制御するマルチ計算機シス
テムに関し、特に共通バスを統括管理する制御機
能を持つ複数のコントロールステーシヨンの構成
制御方式に関するものである。
[Detailed Description of the Invention] [Field of Application of the Invention] The present invention relates to a multi-computer system in which a plurality of computers control a plurality of input/output devices connected to a common bus. The present invention relates to a system for controlling the configuration of multiple control stations.

ここで、「構成制御」とは、共通バスに接続さ
れた複数のコントロールステーシヨンのうち、常
時、ただ1つがマスターステーシヨンとして共通
バスの統括管理を行うようにし、マスターステー
シヨンが故障した場合、ただちに、残り待機中の
コントロールステーシヨン(モニターステーシヨ
ン)の1つが今までのマスターステーシヨンに代
わり、共通バスの統括管理を実行するようにコン
トロールステーシヨンを制御させることを意味す
る。
Here, "configuration control" means that among multiple control stations connected to a common bus, only one control station is always the master station and performs overall management of the common bus, and if the master station fails, the control station is immediately This means that one of the remaining standby control stations (monitor stations) replaces the previous master station and controls the control station to perform overall management of the common bus.

ここで、「統括管理」とは、共通バスの使用に
関する全ての制御或いは管理であり、計算機が、
共通バスを占有し、特定の入出力機器を制御する
ようなシステムにおいては、共通バスの占有制御
が大きな仕事である。
Here, "overall management" refers to all control or management related to the use of the common bus, and the computer
In a system that occupies a common bus and controls specific input/output devices, controlling the occupancy of the common bus is a major task.

以下、統括管理をするコントロールステーシヨ
ンをマスターCST、マスターCSTが故障時に、
これに代つてマスターCSTになるうるコントロ
ールステーシヨンをモニターCST、これ以外の
コントロールステーシヨンをアイドルCSTと称
す。
Below, the control station that performs overall management is the master CST, and when the master CST malfunctions,
The control station that can act as a master CST instead of this is called a monitor CST, and the other control stations are called idle CSTs.

〔従来技術〕[Prior art]

共通バスの一形態はループ状伝送路である。 One form of the common bus is a loop-shaped transmission path.

近年、ループ状伝送路を多重化し、伝送路その
ものの信頼性を向上させたものが提案されてい
る。また、ループ状伝送路には、複数のCSTが
接続され、任意の1つをマスターCST、残りを
モニターCST或いはアイドルCSTとし、CSTの
構成制御により、特定のCSTがダウンした場合
でも、ループ状伝送路に接続されたシステムが、
システムダウンにならないようにしている。
In recent years, proposals have been made in which loop-shaped transmission lines are multiplexed to improve the reliability of the transmission lines themselves. In addition, multiple CSTs are connected to a loop-shaped transmission line, and any one is designated as a master CST, and the rest are designated as monitor CSTs or idle CSTs. By controlling the configuration of CSTs, even if a specific CST goes down, the loop-shaped transmission line The system connected to the transmission line is
I'm trying to keep the system from going down.

従来、CSTは計算機と独立に、共通バスに接
続され、各CSTは、独自に、マスターCST、モ
ニターCSTを決定するようになつていた。
Conventionally, CSTs were connected to a common bus independently of computers, and each CST independently determined the master CST and monitor CST.

すなわち、モニターCSTは、共通バス上の信
号を監視することにより、マスターCSTが故障
したか否かを判断し、故障したと判断した場合、
自CSTをマスターCSTとし、共通バスの統括管
理を行うようにしている。この場合、モニター
CSTが2台以上ある場合、どちらのモニター
CSTがマスターCSTになるかは、予め決めてい
る場合が多いが、これは管理は複雑で、同時に2
つのモニターCSTがマスターCSTになろうとす
る場合がある。
In other words, the monitor CST determines whether the master CST has failed by monitoring the signals on the common bus, and if it determines that the master CST has failed,
The own CST is designated as the master CST and performs overall management of the common bus. In this case, the monitor
If there are two or more CSTs, which monitor
In many cases, it is decided in advance whether a CST will become the master CST, but this is complicated to manage, and two
One monitor CST may attempt to become the master CST.

また、マスターCSTそのものに故障がない場
合であつても、モニターCSTは、共通バス上の
信号が途絶えた場合は、マスターCSTの故障と
みなして、自分がマスターCSTになろうとする
場合がある。
Further, even if there is no failure in the master CST itself, if the signal on the common bus is interrupted, the monitor CST may assume that the master CST has failed and attempt to become the master CST itself.

このようなことがあつて、従来は、CST間
に、特別な信号線を設け、信号のやりとりによ
り、このような不都合を防止しようとする試みが
あるが制御が複雑となり、確実なCSTの構成制
御は困難であつた。
Conventionally, attempts have been made to prevent such inconveniences by providing a special signal line between CSTs and exchanging signals, but the control becomes complicated and it is difficult to ensure a reliable CST configuration. Control was difficult.

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

本発明の目的は、共通バス上の複数のCSTの
うち、1個のみをマスターCSTとし、その他の
CSTを、モニターCST又はアイドルCSTとなる
ように確実に制御するマルチ計算機システムにお
けるコントロールステーシヨン構成制御方式を提
供するにある。
The purpose of the present invention is to make only one of the plurality of CSTs on a common bus the master CST, and to
An object of the present invention is to provide a control station configuration control method in a multi-computer system that reliably controls a CST to become a monitor CST or an idle CST.

〔発明の概要〕[Summary of the invention]

本発明の特徴は、共通バスに接続された入出力
機器を制御する複数の計算機と各CSTを対応づ
けて接続し、マスターCSTをモニターCSTにす
るのは対応する計算機からの指令によつて行うこ
と、各CSTは当該CST自身の状態および共通バ
ス上の信号の状態を対応する計算機に報告するこ
と、どのCSTがマスターCSTになつているかの
情報は、各計算機が共通に使用する共通メモリに
格納し、更新しておき、各計算機は、対応する
CSTからの報告及び、他の計算機からの指令に
より、共通メモリの構成制御情報を参照して、構
成制御を行うようにし、且つ計算機が稼動を開始
するとき及び停止するときは該共通メモリの構成
制御情報を参照し、CSTの構成制御を行うよう
にしていることである。本発明によれば、構成制
御の情報は、1ケ所の共通メモリ上で管理される
ので、誤つて2つ以上のCSTがマスターCSTと
なることはない。
A feature of the present invention is that each CST is connected in correspondence with multiple computers that control input/output devices connected to a common bus, and the master CST is made into a monitor CST by a command from the corresponding computer. Each CST reports its own status and the status of the signals on the common bus to the corresponding computer. Information on which CST is the master CST is stored in a common memory commonly used by each computer. Store and update each calculator with the corresponding
Configuration control is performed by referring to the configuration control information of the common memory based on reports from CST and instructions from other computers, and the configuration of the common memory is controlled when the computer starts and stops operation. The configuration of the CST is controlled by referring to the control information. According to the present invention, since configuration control information is managed in one common memory, two or more CSTs will not become master CSTs by mistake.

マスターCSTに接続されている計算機は、マ
スターCSTから、CST自身の故障報告をうける
と、共通メモリの構成制御情報を参照し、自分に
接続されているCSTがマスターCSTになつてい
ることを認識し、ただちにこれをアイドルCST
に書き換え、他の計算機へ、当該CSTがダウン
したことを報告する。
When a computer connected to the master CST receives a failure report from the master CST, it refers to the configuration control information in the common memory and recognizes that the CST connected to itself has become the master CST. and immediately set this to idle CST
and report to other computers that the CST is down.

この報告をうけた計算機は共通メモリの構成制
御情報を参照し、自分に接続されているCSTが
モニターCSTの場合、これをマスターCSTに書
き換え、自分に接続されているCSTに対し、マ
スターCSTとなるよう指令を出す。
The computer that receives this report refers to the configuration control information in the common memory, and if the CST connected to itself is a monitor CST, it rewrites this to the master CST and makes the CST connected to itself the master CST. issue an order to do so.

また、計算機が稼動するときは、共通メモリの
構成制御情報を参照して、当該計算機に接続され
ている共通バスに、共通バスを統括管理するマス
ター用のコントロールステーシヨンがないとき
は、当該計算機に接続されたコントロールステー
シヨンに、マスターのコントロールステーシヨン
になる指令を出力する。
In addition, when a computer operates, it refers to the configuration control information of the common memory, and if the common bus connected to the computer does not have a master control station that centrally manages the common bus, the computer Outputs a command to the connected control station to become the master control station.

更に、計算機が停止するときは、共通メモリの
構成制御情報を参照して、当該計算機に接続され
ているコントロールステーシヨンがマスターとな
つている場合のみ、他計算機に対して、その計算
機に接続されたコントロールステーシヨンがマス
ターになるような指令を出力する。
Furthermore, when a computer stops, it refers to the configuration control information in the common memory, and only if the control station connected to the computer in question is the master, will it be able to control other computers that are connected to that computer. Outputs a command so that the control station becomes the master.

このように、計算機の稼動時および停止時を含
めて、各計算機が共通に使用する1ケ所の共通メ
モリの構成制御情報を参照して、CSTの構成制
御を行うので、構成制御は確実なものとなる。
In this way, the configuration control of CST is performed by referring to the configuration control information in the common memory used by each computer, both when the computer is running and when it is stopped, so configuration control is reliable. becomes.

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

第1図は本発明が適用されるマルチ計算機シス
テムの一実施例である。
FIG. 1 shows an embodiment of a multi-computer system to which the present invention is applied.

第1図において、1〜3は、計算機(以下
CPUと称す)であり、プログラムを内蔵し、こ
のプログラムを実行することにより、複数の入出
力機器16〜18を制御するものである。
In Figure 1, 1 to 3 are calculators (hereinafter referred to as
It has a built-in program and controls a plurality of input/output devices 16 to 18 by executing this program.

4は、各CPU1〜3が共通に使用する共通メ
モリであり、後述するように、この中に、CST
の構成制御情報が格納される。
4 is a common memory commonly used by each CPU 1 to 3, and as described later, CST
configuration control information is stored.

5〜7はCPU1〜3を共通バス、ここでは逆
向きのループ状伝送路11,12に接続するステ
ーシヨン(以下STと称す)であり、8〜10
は、ループ状伝送路11,12の統括制御機能を
持つたコントロールステーシヨン(CST)であ
る。CST8〜10はそれぞれ接続線80,9
0,100を介して対応するCPU1,2,3に
接続されている。13〜15は入出力機器(以下
I/Oと称す)16〜18をループ状伝送路1
1,12に接続するマイクロステーシヨン(以下
μSTと称す)である。19は各CPU1,2,3
間を接続する共通接続線であり後述するようにこ
の共通接続線19を介して他計算機への指令を出
力する。各μST13〜15には自身の下に接続
されているI/OがどのCPUからの要求に対し
てサービスをすべきかを記憶する構成及びCST
からの指令に基づいてループを折り返す機能を有
している。どのCPUからの要求に対してサービ
スをすべきかは、サービスすべきCPUが確定し
ていない状態(この状態をニユートラル状態と称
す)で、CPUからの占有要求を該μSTが受取つ
たときに記憶され、この占有状態は該占有中の
CPUから占有解除の指令を受けたとき、および
他の占有中でないCPUから強制的に占有解除の
指令を受けたときに解除される。この占有要求指
令をCONC・RSV(Connect&Reserve)コマン
ド、占有状態の解除指令をCONC・FREE
(Connect&Free)コマンド、強制的に占有を解
除する指令をRESET・FREE(Reset&Free)
コマンドと称す。μSTは自分の下に接続されて
いるI/Oに対する指令がCPUから送られてき
たとき、そのI/Oを占有しているCPU以外か
らの指令であれば、それがRESET・FREEコマ
ンドでないかぎり、その指令を受け付けない。こ
の機構を設けることによつて、ループバスにμ
STを介して接続されているI/Oは、複数CPU
から適正に共有される。即ち、CPU1から占有
されているI/O16に対して、CPU2のユー
ザプログラムから誤つて入出力要求が発行されて
もI/O16は現にサービス中の処理に乱れを生
じない。
5 to 7 are stations (hereinafter referred to as ST) that connect the CPUs 1 to 3 to a common bus, here the loop-shaped transmission lines 11 and 12 in opposite directions;
is a control station (CST) having an integrated control function for the loop-shaped transmission lines 11 and 12. CST8-10 are connecting wires 80 and 9 respectively
It is connected to the corresponding CPUs 1, 2, and 3 via 0 and 100. 13 to 15 connect input/output devices (hereinafter referred to as I/O) 16 to 18 to a loop-shaped transmission line 1
1 and 12 (hereinafter referred to as μST). 19 is each CPU 1, 2, 3
This common connection line 19 connects the computers, and as will be described later, commands to other computers are output via this common connection line 19. Each μST 13 to 15 has a configuration and a CST that stores which CPU's request the I/O connected under itself should service.
It has a function to loop back based on the command from. The request from which CPU should be serviced is stored when the μST receives an exclusive request from the CPU in a state where the CPU to be serviced has not been determined (this state is called a neutral state). , this occupation state is the occupied state
It is released when an exclusive release command is received from the CPU, or when an exclusive release command is forcibly received from another non-occupied CPU. This occupancy request command is CONC/RSV (Connect&Reserve) command, and the release command of occupancy status is CONC/FREE.
(Connect&Free) command, RESET/FREE (Reset&Free) command to forcibly release occupation
It is called a command. When a command is sent from the CPU to the I/O connected under μST, if the command is from a source other than the CPU that occupies the I/O, unless it is a RESET/FREE command, , will not accept the command. By providing this mechanism, the loop bus can be
I/O connected via ST is multiple CPU
be properly shared from. That is, even if an input/output request is erroneously issued from the user program of CPU 2 to the I/O 16 occupied by the CPU 1, the processing of the I/O 16 that is currently being serviced will not be disrupted.

CPU2からの入出力要求はμSTによつて拒否
されるからである。
This is because input/output requests from CPU 2 are rejected by μST.

各CPUは、このようなI/Oの接続状態の管
理を行なつており、各CPU内のメモリには、こ
のI/Oの接続状態を管理するテーブルが置かれ
ている。各CPUのオペレーテイングシステム
(OS)は、I/Oの占有状態を切り換える必要が
生じたとき、現に該I/Oを占有しているCPU
に連絡をし、該I/Oに対してCONC・FREEコ
マンドを発行するよう依頼する。依頼を受けた
CPUはCONC・FREEコマンドを該I/Oに発行
し、占有を解除し、依頼元CPUに対して占有を
解除した由の応答を返す。依頼元CPUはこの応
答を受け取つてからCONC・RSVコマンドを発行
し、該I/Oを占有する。現に該I/Oを占有し
ているCPUが停止状態ないし正常に動作してい
ないことが検出されたときは、依頼元CPUは、
RESET・FREEコマンドを発行し該I/Oの占
有状態を解除後、CONC・RSVコマンドを発行し
該I/Oを占有する。これらのI/Oの占有の遷
移に従い、各CPU内の管理テーブルを書き換え
るが、この管理テーブルは、CPU間共有メモリ
4に置いてもよい。
Each CPU manages the I/O connection state, and a table for managing the I/O connection state is stored in the memory of each CPU. When the operating system (OS) of each CPU needs to switch the I/O occupation state, the operating system (OS) of the CPU that is currently occupying the I/O
Contact the I/O and request them to issue a CONC・FREE command to the I/O. received a request
The CPU issues a CONC.FREE command to the I/O, releases the occupancy, and returns a response to the requesting CPU indicating that the occupancy has been released. After receiving this response, the requesting CPU issues the CONC/RSV command and occupies the I/O. When it is detected that the CPU currently occupying the I/O is stopped or not operating normally, the requesting CPU
After issuing the RESET/FREE command to release the occupied state of the I/O, issue the CONC/RSV command to occupy the I/O. The management table within each CPU is rewritten according to the transition of these I/O occupancies, but this management table may be placed in the inter-CPU shared memory 4.

系の信頼性を高めるためにCSTは同一ループ
に複数接続される。CSTが1つであるとその
CSTが故障する場合があることもさることなが
ら、そのCSTの両側のステーシヨンで異常が生
じたとき、CSTから他のステーシヨンへ制御情
報が伝えられなくなり、ループが機能しなくなる
からである。この複数CSTが互いに独立ループ
を制御するようにすると、相互に矛盾した制御を
行なうことがあり得るので、複数CSTのうち1
つだけにループを制御する権限を与える。この権
限を与えられたCSTをMasterモードのCST(マ
スターCST)と称している。他のCSTは、ルー
プの状態監視をするモード(Moniterモード)に
あるが、又は単に受動的に動作するモード(Idle
モード)のいずれかにあり、Moniterモードにあ
るCSTをモニターCSTと称している。マスター
CSTからのみMST,STに対してループを折り返
すよう指令できるとともに、通常CPUとI/O
のデータ伝送に使われるループ11と、ループの
監視信号等を伝送するために使われるループ12
の切り替え等の指令ができる。マスターCSTは
ループに対して監視信号を送出する。
Multiple CSTs are connected to the same loop to increase system reliability. If there is one CST, then
Not only can a CST malfunction, but if an abnormality occurs in the stations on both sides of the CST, control information will no longer be transmitted from the CST to the other stations, and the loop will no longer function. If these multiple CSTs control independent loops, mutually contradictory control may occur, so one of the multiple CSTs may
Give only one person permission to control the loop. A CST that has been given this authority is called a Master mode CST (master CST). Other CSTs are in a mode that monitors the state of the loop (Monitor mode) or is in a mode that simply operates passively (Idle mode).
mode), and a CST in Monitor mode is called a monitor CST. master
Only CST can command MST and ST to loop back, and normal CPU and I/O
a loop 11 used for data transmission, and a loop 12 used for transmitting loop monitoring signals, etc.
Commands such as switching can be given. The master CST sends a supervisory signal to the loop.

モニターCSTは、マスターCSTから送られて
くる監視信号を監視し、この監視信号が一定期間
検出できなかつたとき、マスターCSTが故障し
たと判断し、CPUに対して割り込みをかけ、マ
スターCSTの異常を報告する。マスターCSTは
ループの信号断を検出すると、2重化されている
ループの切り替(ループ11とループ12の切り
替)を試みる。これで運転が継続できればこのま
までよいが、継続できないときは、自CST内に
記憶されているループの構成情報(どのステーシ
ヨンがどのような相互関係、トポロジーで接続さ
れているかを示す)にもとづいて各ステーシヨン
にループバツク運転(ループの折り返し)を指示
する。ループの構成情報は、CSTがマスターに
なるようCPUから指令されるとき、該CPUから
CSTに対して転送されるが、マスターになるよ
う指令されるに先だち、あらかじめ各CSTに転
送されてもよい。マスターCSTがこのようなル
ープ制御を試みてもなお信号断がマスターCST
により検出されるとき、およびモニターCSTが
自分の異常を検出したときは、マスターCSTは
CPUに対して割り込みをかけマスターCSTから
アイドルCSTへ移行する。アイドルCSTにある
CSTは、ループに対して積極的に働きかけをす
ることはせず、またループの状態の監視も行なわ
ない。
The monitor CST monitors the monitoring signal sent from the master CST, and when this monitoring signal cannot be detected for a certain period of time, it determines that the master CST has failed, and issues an interrupt to the CPU to detect an abnormality in the master CST. report. When the master CST detects a loop signal disconnection, it attempts to switch the duplicated loops (switch between loop 11 and loop 12). If the operation can be continued, it is fine, but if it is not possible to continue, the operation will be performed based on the loop configuration information stored in the own CST (indicating which stations are connected in what mutual relationship and topology). Instruct each station to perform loopback operation. The loop configuration information is sent from the CPU when the CST is commanded to become the master.
It is forwarded to the CST, but it may be forwarded to each CST in advance before being commanded to become a master. Even if the master CST tries this kind of loop control, the signal is still disconnected.
, and when the monitor CST detects its own abnormality, the master CST
Interrupts the CPU and transitions from master CST to idle CST. Located in Idol CST
CST does not actively interact with the loop, nor does it monitor the state of the loop.

マスターCSTないしモニターCSTは、CPUか
らマスターになるよう指令(この指令をマスター
コマンドと呼ぶ)を受けるとマスターとなり、ル
ープの制御権を得る。また、マスターCSTは、
CPUからのリセツト指令(リセツトコマンド)
によりモニターCSTに移行する。この状態の遷
移を第2図に示している。CSTは電源をONされ
ると、アイドルモードとなり、CPUから
CONC・RSVコマンドを受け取るとモニターモー
ドに移行する。これは、システムを最初にスター
トさせるとき、電源投入シーケンスの違いにより
無用なエラー処理をしなくてすむようにするため
である。即ち、CSTの電源が最初に投入され
CSTをモニターモードとすると当該モニター
CSTはループの監視を開始する。このタイミン
グとマスターモードCSTが定義されるまでの間
(マスターモードのCSTはCPUからの指令によつ
て定義されるので、CPUの電源が投入され、特
作可能となる以前にはマスターモードのCSTが
存在しない期間が生じる)にループが異常である
(マスターモードCSTの異常)とモニターモード
のCSTがこれを判断してしまうことになるが、
CPUからの指令によりモニターモードに移行す
ることとすればこの問題は生じない。
When the master CST or monitor CST receives a command from the CPU to become the master (this command is called a master command), it becomes the master and gains control of the loop. Also, the master CST is
Reset command from CPU (reset command)
Shift to monitor CST. FIG. 2 shows this state transition. When the power is turned on, CST enters idle mode, and from the CPU
When CONC/RSV command is received, it shifts to monitor mode. This is to avoid unnecessary error handling due to differences in the power-on sequence when starting the system for the first time. That is, when the CST is first powered on,
When CST is set to monitor mode, the corresponding monitor
CST starts monitoring the loop. Between this timing and the time when master mode CST is defined (master mode CST is defined by a command from the CPU, before the CPU is powered on and special production is possible, master mode CST The CST in the monitor mode will determine that the loop is abnormal (an abnormality in the master mode CST) when there is a period in which the error does not exist.
This problem does not occur if the transition to monitor mode is made by a command from the CPU.

ループバスの運転モードの遷移を第3図に示し
ている。NL運転とは通常の運転形態であり2重
化ループの一方(これをNL:Normal Loopと呼
ぶ)でCPUとI/O間のデータ伝送を行ない、
他方(これをBLと呼ぶ)でループの監視を行な
うものである。NL運転中に、Normal Loopに異
常が検出されると、Back LoopにてCPUとI/
O間のデータ伝送が行なわれる。Normal
Loop,Back Line共に異常(たとえばループが
2本とも断線したとき)となつて、ループ一巡信
号が検出されなくなると、マスターCSTは、各
ステーシヨンに対してループの折り返しを指示
し、ループを一巡して(Normal Loopと折り返
し点とBack Loopと折り返し点を結ぶループ)
有意な信号が伝送し得るようループの構成制御
(ループバツク制御)を指示する。これによりル
ープ一巡する有意な信号が存在し、ループバスと
して機能をはたすようになつている運転モードを
LB運転(Loop Back運転)と称し、折り返し点
にはさまれたステーシヨンはループから切り離さ
れた状態となる。第3図で破線矢印は、Master
モードにあるCSTに対してCPUから通常運転へ
の復帰コマンド(RLBCコマンド)が発行された
ときに運転モードが遷移することを示す。CPU
からMasterモードのCSTに対してLB運転に移行
するような指令(SLBCコマンド)することがで
きる。このときMasteモードのCSTには折り返し
点となるべきステーシヨンを指示するが、
MasterモードのCSTは記憶しているループの構
成情報に従つて処理を行なう。
FIG. 3 shows the transition of the operation mode of the loop bus. NL operation is a normal operation mode in which data is transmitted between the CPU and I/O on one side of the duplex loop (this is called NL: Normal Loop).
The other side (this is called BL) monitors the loop. If an abnormality is detected in the Normal Loop during NL operation, the CPU and I/O will be shut down in the Back Loop.
Data transmission between the two terminals is performed. Normal
When both the Loop and Back Line become abnormal (for example, when both loops are disconnected) and the loop complete signal is no longer detected, the master CST instructs each station to turn back the loop and complete the loop. (Loop connecting Normal Loop and turning point, Back Loop and turning point)
Instruct loop configuration control (loopback control) so that significant signals can be transmitted. This ensures that there is a significant signal that goes around the loop, allowing the mode of operation to function as a loop bus.
This is called LB operation (Loop Back operation), and the station sandwiched between the turning points becomes disconnected from the loop. In Figure 3, the dashed arrow indicates Master
Indicates that the operation mode will change when the CPU issues a command to return to normal operation (RLBC command) to the CST in the mode. CPU
You can issue a command (SLBC command) to the CST in Master mode to shift to LB operation. At this time, the CST in Master mode is instructed to the station that should be the turning point.
CST in Master mode performs processing according to the stored loop configuration information.

以上の動作を具体的に図面を用いて説明する。 The above operation will be specifically explained using the drawings.

ここで、CPU1及び、CPU1接続CST8を例
にとつて説明する。CPU2,3、及びCST9,
10も同様である。
Here, the CPU 1 and the CPU 1-connected CST 8 will be explained as an example. CPU2, 3, and CST9,
The same applies to 10.

第4図にCST8のブロツク図を示す。CST8
は、マイクロプロセツサー8―1、マイクロプロ
グラムを内蔵する読出し専用メモリ(ROM)8
―2、書き込み可能なメモリ(RAM)8―3、
割込制御LSI(PICU)8―4、通信制御LSI
(HDLC)8―5、汎用入出力制御LSI(PPI)8
―6、タイマ(PTM)8―7、およびCPU1か
らの割込の内容を記憶する割込レジスタ8―9か
らなりこれらは共通BUS8―8にて接続され
る。
Figure 4 shows a block diagram of CST8. CST8
is a microprocessor 8-1 and a read-only memory (ROM) 8 containing a microprogram.
-2, Writable memory (RAM) 8-3,
Interrupt control LSI (PICU) 8-4, communication control LSI
(HDLC) 8-5, general-purpose input/output control LSI (PPI) 8
-6, a timer (PTM) 8-7, and an interrupt register 8-9 that stores the contents of an interrupt from the CPU 1, and these are connected by a common bus 8-8.

更に、データ伝送を促す、監視信号発生器8―
11からの監視信号とHDLL8―5からのデータ
信号のどちらかを選択するマルチプレクサ
(MPXB)8―12、マルチプレクサ(MPXB)
8―12により選択された信号を送信するか、ル
ープ上の信号をそのまま送信する(IDLE)かを
選択するマルチプレクサ(MPXA)8―17、お
よび逆方向のマルチプレクサ(MPXD)8―2
2、複数ループ全ての信号断を検出する検出器8
―15およびこれらマルチプレクサへ選択指令を
発するLOOP CONTROL8―14、信号受信回
路8―20,21、信号送信回路8―18,19
よりなる。又、接続計算機への報告用として、報
告レジスタ8―27がある。割込みレジスタ8―
9および報告レジスタ8―27は接続線80を介
してCPU1に接続されている。以上のような構
成を用いて、具体的な処理を、第5図から、第9
図を用いて説明する。
Furthermore, a supervisory signal generator 8-- which facilitates data transmission.
Multiplexer (MPXB) that selects either the monitoring signal from 11 or the data signal from HDLL 8-5 8-12, multiplexer (MPXB)
A multiplexer (MPXA) 8-17 that selects whether to transmit the signal selected by 8-12 or to transmit the signal on the loop as is (IDLE), and a reverse multiplexer (MPXD) 8-2.
2. Detector 8 that detects signal disconnection in all multiple loops
-15, LOOP CONTROL 8-14 that issues selection commands to these multiplexers, signal receiving circuits 8-20, 21, and signal transmitting circuits 8-18, 19.
It becomes more. There is also a report register 8-27 for reporting to the connected computers. Interrupt register 8-
9 and report register 8-27 are connected to CPU 1 via connection line 80. Using the above configuration, the specific processing is shown in FIGS. 5 to 9.
This will be explained using figures.

第5図は、CST8内の、CPU1からの指令又
は、CST8の電源ONにより起動される処理を示
す。まずCST8は、電源ON時は、無条件に、
IDLEモードへ移行するとともにIDLEモードを
RAM8―3へ記憶する。IDLEモードでは、自ら
はLoop11,12に対し、Pass状態へ移行す
る。これはLooP CTL8―14及びマルチプレク
サ8―17又は8―22により行なわれる。又、
CPU1からの指令が、AMSTER指令であつた場
合、自らはMASTERモードである事をRAM8―
3へ記憶し、Loop11(Normal Loop)へ監視
信号を送出するとともに監視信号一巡待ちタイマ
8―7を起動する。又、CPU1からの指令がリ
セツト(Reset)であつた場合、自らは、
MONITORモードへ移行し、Loop11,12に
対してはPASS状態へ移行する。更に、相手
MASTER CSTからの監視信号待ちタイマ8―
7を起動する。第6図は現用ループからの割込に
より起動される割込み処理の一例を示す。ここで
現用とは、Normal Loop運転中はLoop11,
Back Loop運転中はLoop12の事を言う。割込
みは、Loo11又は12からの受信はマルチプレ
クサ8―13を介して、HDLC8―5が受信し、
HDLC8―5からの割込が割込制御LS18―4
にてMPU8―1へ受信割込みが入る。この割込
により第6図に示す割込処理プログラムが起動さ
れる。この時、受信データが、監視信号であつた
場合、MONITOR CSTは監視信号待ちタイマ8
―7を再起動させる。又、この割込が、HDLC
LSI故障の時は、自CSTがMASTERの場合、
Loop11,12の管理が維持できないと判断
し、Loopに対しPass状態へ移行し、IDLEモード
へ移行する。更に、接続CPU1へ自LST8,
MASTER故障を報告レジスタ8―27へセツト
し報告する。
FIG. 5 shows a process in the CST 8 that is activated by a command from the CPU 1 or by turning on the power of the CST 8. First of all, when the power is turned on, CST8 unconditionally
At the same time as transitioning to IDLE mode,
Store in RAM8-3. In IDLE mode, it shifts to the Pass state for Loops 11 and 12. This is done by LooP CTL 8-14 and multiplexer 8-17 or 8-22. or,
If the command from CPU1 is the AMSTER command, RAM8-
3, and sends a monitoring signal to Loop 11 (Normal Loop), and starts a monitoring signal waiting timer 8-7. Also, if the command from CPU1 is reset, it will itself:
Transition to MONITOR mode, and transition to PASS state for Loops 11 and 12. Furthermore, the opponent
Monitoring signal wait timer 8 from MASTER CST
Start up 7. FIG. 6 shows an example of interrupt processing activated by an interrupt from the current loop. Here, current use means Loop11 during Normal Loop operation.
When driving Back Loop, refer to Loop 12. Interrupts received from Loo 11 or 12 are received by HDLC 8-5 via multiplexer 8-13,
Interrupts from HDLC8-5 are interrupt control LS18-4
A reception interrupt is input to MPU8-1. This interrupt starts the interrupt processing program shown in FIG. At this time, if the received data is a supervisory signal, MONITOR CST is activated by the supervisory signal wait timer 8.
-Restart 7. Also, this interrupt
In the event of an LSI failure, if the own CST is MASTER,
It is determined that the management of Loops 11 and 12 cannot be maintained, and the Loops are shifted to the Pass state and then to the IDLE mode. Furthermore, the own LST8 to the connected CPU1,
Sets and reports MASTER failure in report register 8-27.

第7図は、現用ループ11又は12の信号断の
チエツク処理の一例である。信号断のチエツクは
MASTER CSTのみにて行い、信号断は信号断
検出器8―15より検出し、汎用入出力制御LSI
のステータスへ反映させる事により検出する。信
号断がNormal運転中(Loop11)であつた場
合、現用ループをBack Loop(Loop12)へ切
換える。切換処理は、Loop CTL8―14の指令
によりマルチプレクサA8―17をしや断し、マ
ルチプレクサD8―22に対しマルチプレクサB
8―12からの信号をLoop12へ送出するよう
にする。更にBack Loop(BL)12に対し監視
信号を送出すると供に、Normal Loop故障を
CPU1へ報告する。信号断の時、Back Loop運
転中であつた場合、Loop11,12へ接続され
ているST5,6,7およびMST13,14,1
5に対し、Loop Back指令を送出し、Loop
Backモードへ移行する。更にBack Loop異常を
CPU1へ報告する。又、信号断が、Lood Back
運転中であつた場合、Loop11,12を管理で
きないと判断し、接続CPU1へ、自MASTER
CST Give upを報告する。第8図はCST内のタ
イムアウト処理の一例を示すもので、RAM8―
3記憶のCSTのモードがMONITORモードであ
つた時に、相手MASTERモードCSTからのPOL
信号を前もつて定めた一定時間内に受信しなかつ
た場合、本タイムアウトとなる。本タイムアウト
が発生した場合、相手MASTERモードCSTの故
障と判断し、CPU1へ割込により報告する。又
RAM8―3記憶のCSTモートがMASTERモード
であつた場合、自CST8が送出した監視信号が
ある一定時間内に、監視信号一巡待タイムアウト
となるが、本タイムアウトとなつた場合、自
MASTER CST故障をCPU1へ報告し、IPLEモ
ードへ移行する。第9図は、自CSTとCPUとの
交信手段が途絶えた場合の処理の一例である。本
例の場合、CPU1への報告がDMA(ダイレク
ト・メモリ・アクセス)にて行なわれた場合、
DMAエラーとなつた時自CSTと接続CPUとの交
信手段が途絶えたとしてRAM8―3内CSTモー
ドがMASTERモードであつた場合IDLEモードへ
移行し、Loopに対しては、PASS状態とする。
FIG. 7 shows an example of the process of checking for signal disconnection in the current loop 11 or 12. Check for signal interruption
Performed only by MASTER CST, signal disconnection is detected by signal disconnection detector 8-15, and general-purpose input/output control LSI
It is detected by reflecting it on the status. If the signal disconnection occurs during normal operation (Loop 11), the current loop is switched to Back Loop (Loop 12). In the switching process, multiplexer A8-17 is cut off by the command of Loop CTL8-14, and multiplexer B is switched to multiplexer D8-22.
Send the signal from 8-12 to Loop12. Furthermore, it sends a monitoring signal to Back Loop (BL) 12 and detects Normal Loop failure.
Report to CPU1. If Back Loop operation is in progress when the signal is cut off, ST5, 6, 7 and MST13, 14, 1 connected to Loop 11, 12
5, sends a Loop Back command to Loop
Shift to Back mode. Furthermore, Back Loop abnormality
Report to CPU1. Also, if the signal is cut off, it will be Load Back.
If it is running, it will be determined that Loops 11 and 12 cannot be managed, and the local MASTER will be sent to the connected CPU1.
Report CST Give up. Figure 8 shows an example of timeout processing within CST.
3. When the mode of the stored CST is MONITOR mode, POL from the other party's MASTER mode CST
If the signal is not received within a predetermined period of time, this timeout occurs. If this timeout occurs, it is determined that the other MASTER mode CST has failed, and is reported to CPU1 by interrupt. or
When the CST mote stored in RAM8-3 is in MASTER mode, the monitoring signal sent by its own CST8 will time out within a certain period of time, but if this timeout occurs, the self
Report MASTER CST failure to CPU1 and shift to IPLE mode. FIG. 9 is an example of processing when the means of communication between the own CST and the CPU is interrupted. In this example, if the report to CPU1 is performed using DMA (direct memory access),
When a DMA error occurs, the means of communication between the own CST and the connected CPU is interrupted, and if the CST mode in RAM 8-3 is MASTER mode, it shifts to IDLE mode, and for Loop, it becomes PASS state.

ループに接続されたI/O16〜18はそれぞ
れが別のCPUに占有される事が可能であるが、
ループに接続されている全I/Oを一括してある
CPUに占有させることも行なえる。これを行な
うためにはループを一括して占有しているCPU
から該ループ下の全I/Oに対してCONC・
FREEコマンドを発行し、新たにループを占有し
たいCPUから該ループの全I/Oに対して
CONC・RSVコマンドを発行する。このときルー
プがLB運転状態であり、I/Oがループから切
り離されていた状態であるとき該I/Oに対して
はCONC・RSVコマンドは届かないので、該I/
Oのみ新たにループを占有したCPUには占有さ
れないことになる。この不都合を防ぐため、
CPUは、MasterモードにあるCSTからの割り込
みにより報告される切り離されたI/Oがどれで
あつたかを記憶しておき、ループを通常運転に戻
したあと(MasterモードのCSTに対してRLB
(コマンドを発行したあと)該I/OにCONC・
RSVコマンドを発行する。このようにすること
により、ループの運転状態によらず、各CPU間
でループを一括占有、占有の切り換えが可能とな
る。
Each of the I/Os 16 to 18 connected to the loop can be occupied by a different CPU, but
All I/Os connected to the loop are grouped together.
It can also be used exclusively by the CPU. To do this, the CPU that occupies the loop all at once
CONC for all I/Os under the loop from
Issue the FREE command and perform all I/O of the loop from the CPU that wants to newly occupy the loop.
Issue CONC/RSV command. At this time, when the loop is in the LB operation state and the I/O is disconnected from the loop, the CONC/RSV command will not reach the I/O, so the I/O will not receive the CONC/RSV command.
Only O will not be occupied by the CPU that newly occupied the loop. To prevent this inconvenience,
The CPU remembers which I/Os were detached as reported by interrupts from the CST in Master mode, and after returning the loop to normal operation (RLB
(After issuing the command)
Issue an RSV command. By doing this, it becomes possible to switch between occupancy and occupancy of the loop at once between each CPU, regardless of the operating state of the loop.

さて、マルチコンピユータシステムにおいて
は、CPUの構成制御と言うことが行なわれる。
たとえば、第1図でCPU1,2,3で業務A,
B,Cをそれぞれ実行しているとして、業務Aが
システム全体にとつて重要な仕事であつたとする
と、CPU1が異常を生じてダウンした時には残
りのCPU2,3で業務B,Cを継続してもシス
テム全体として意味がないことがある。従つてこ
のような場合には、CPU2を有し3によつて
CPU1で行なわれていた業務Aを引き継がねば
ならない、また異常を生じたCPU1が占有して
いたりソースを全て解放して、他のCPU2,3
が処理を行なう上で、障害、外乱を与えないよう
にCPU1を停止せしめてやらねばならない。こ
のような処理をCPUの構成制御という。また、
CPUの異常がなくとも、システム運転の都合
上、計画的にあるCPUの動作を停止せしめるこ
と、CPU内で行なわれている業務内容の切り換
えを行なうこともある。これもCPUの構成制御
と言う。このような構成制御を行なうとき、
MasterモードのCSTが接続されているCPUが結
果として停止するような構成制御を行なうときに
は、他の生き残るCPUに接続されているCPUに
接続されているCSTをMasterモードとしなけれ
ばならない。なぜならば、接続されているCPU
が停止している状態では、MasterモードのCST
はループの異常を報告することができないし記憶
しているループの構成情報をCPUからの指示に
より更新することもできないからである。
Now, in a multi-computer system, something called CPU configuration control is performed.
For example, in Figure 1, CPUs 1, 2, and 3 perform task A,
Assuming that tasks B and C are being executed separately, and task A is an important task for the entire system, if CPU1 fails due to an error, the remaining CPUs 2 and 3 will continue tasks B and C. may also be meaningless for the system as a whole. Therefore, in such a case, if you have CPU2 and CPU3
It is necessary to take over the task A that was being performed on CPU1, and also to release all the sources that were occupied by CPU1 that caused the error, and transfer them to other CPUs2 and 3.
The CPU 1 must be stopped so as not to cause any disturbance or disturbance while the CPU 1 performs processing. This kind of processing is called CPU configuration control. Also,
Even if there is no abnormality in the CPU, the operation of a certain CPU may be stopped in a planned manner or the content of work being performed within the CPU may be changed due to system operation reasons. This is also called CPU configuration control. When performing such configuration control,
When performing configuration control that would result in the termination of a CPU connected to a CST in Master mode, the CST connected to a CPU connected to other surviving CPUs must be placed in Master mode. Because the connected CPU
When CST is stopped, CST in Master mode
This is because the CPU cannot report loop abnormalities and cannot update the stored loop configuration information based on instructions from the CPU.

また、MasterモードのCSTから該CSTが
Masterモードを維持できなくなつた由の連絡を
受けたCPUは、他のCPUの1つに対して、接続
されているCSTをMasterモードとするよう連絡
を出す。
Also, if the CST is changed from CST in Master mode,
When the CPU receives notification that it is no longer able to maintain Master mode, it sends a notification to one of the other CPUs to change the connected CST to Master mode.

CPUの構成制御に伴なうMasterモードのCST
の切り換は第10図のように行なう。第10図で
「CPUの切り離し」とは、対象CPUを停止せし
め、該CPUが占有していたりソースを解放する
処理を言う。「CPUの切り換え」とは、そのCPU
でそれまで行なわれていた業務を停止せしめ、該
業務が占有していたりソースを解放せしめ、新た
な業務を開始する処理を言う。「CPUの立上げ」
とは、それまで停止していたCPUを動作開始さ
せ、新たな業務を開始する処理を言う。CPUの
切り離し、立上げの場合の処理フローを、第11
図、第12図にそれぞれ記す。第12図におい
て、ループがCPUに接続されているか否かは、
たとえば第13図のごときテーブルをもつことに
よつて調べられる。第13図で、31は各CPU
から共通に参照できるCPU間共有メモリである
共通メモリGM(第1図の4)に格納しておく。
このテーブルはシステム全体のループバスの数だ
け(ループ1からループnまで)あり各ビツト
0,1,2……をCPUの番号に対応させてお
く、即ち、ループ2用のビツト2が1ならばルー
プ2はCPU#2のCPUに接続されており、0な
らばループ2はCPU#2のCPUには接続されて
いない事を示す。また、このテーブルは他の
CPUの下のCSTをMasterモードとするよう依頼
するときにも用いられる。ループに接続されてい
るCSTのうちどれがMasterモードにあるかを求
めるのにも第13図と同一の構造のテーブルを用
いる。但し、MasterモードCSTを管理する場
合、MasterモードのCSTを1で表わすと第13
図において、各ループ用のテーブルで1であるビ
ツトは各列に唯一つだけであることが、各ループ
とCPUの接続関係を示す場合と異なる。第14
図は各ループにMasterモードのCSTを設定処理
中か否かを示すものであり、同時に2つのCST
をMasterモードにすることがないようインター
ロツクをとるために用いられる。なお、これらの
テーブルを参照するときは、複数CPUから同時
に参照されないようインターロツクをとる必要が
あるのでこのテーブルをCPU間共通メモリであ
るGM4においた場合は、TEST and SET命令
等を用いてインターロツクをとる。
Master mode CST associated with CPU configuration control
The switching is performed as shown in FIG. In FIG. 10, "CPU separation" refers to the process of stopping the target CPU and releasing the resources occupied by the CPU. "CPU switching" means that the CPU
This is the process of stopping the business that was being executed up to that point, releasing the resources occupied by that business, and starting a new business. "Starting the CPU"
refers to the process of starting a previously stopped CPU and starting a new task. The processing flow for disconnecting and starting up the CPU is explained in the 11th chapter.
These are shown in Fig. 1 and Fig. 12, respectively. In Figure 12, whether the loop is connected to the CPU or not is determined by
For example, this can be checked by having a table as shown in FIG. In Figure 13, 31 is each CPU
It is stored in the common memory GM (4 in Figure 1), which is a shared memory between CPUs that can be commonly referenced from.
This table has as many loop buses as there are in the entire system (from loop 1 to loop n), and each bit 0, 1, 2, etc. corresponds to the CPU number. That is, if bit 2 for loop 2 is 1, then If it is 0, loop 2 is connected to CPU #2, and if it is 0, it means that loop 2 is not connected to CPU #2. Also, this table has other
It is also used when requesting that the CST under the CPU be set to Master mode. A table with the same structure as in Figure 13 is used to find out which of the CSTs connected to the loop is in Master mode. However, when managing the Master mode CST, if the Master mode CST is expressed as 1, the 13th
In the figure, there is only one bit in each column that is 1 in the table for each loop, which is different from the case where the connection relationship between each loop and the CPU is shown. 14th
The figure shows whether or not the Master mode CST is being set for each loop, and two CSTs can be set at the same time.
This is used to provide an interlock to prevent the device from entering Master mode. When referencing these tables, it is necessary to take an interlock so that multiple CPUs do not refer to them at the same time, so if this table is stored in GM4, which is the common memory between CPUs, it is necessary to interlock it using the TEST and SET command, etc. Take the lock.

次に、CSTの側からの報告によるCSTの構成
制御について、第15図、第16図に示す。な
お、第11図、第12図、第16図で、他CPU
にMasterモードを設定するよう連絡を出すと
き、連絡相手を決る方法は、たとえば第13図の
ループとCSTの接続情報から、ループに接続さ
れているCSTを探し、該CSTを接続している
CPUのうち、切り離し対象となつているCPU、
現に停止しているCPUを除いたものから1つを
任意に選び出すことによつて行なえる。これは第
1図の共通信号線19を用いて行う。なお、この
連絡は前述のように、1つのCPUを選び出して
から発行してもよいが、全CPUに連絡を出し、
連絡を受け取つたCPUが早いもの勝ちで、その
CPUに接続されているCSTをMasterモードとす
るようにしてもよい。但しその場合、現に
MasterモードであつたCSTを接続しているCPU
はこの連絡を無視しなくてはいけない。
Next, CST configuration control based on reports from the CST side is shown in FIGS. 15 and 16. In addition, in Figures 11, 12, and 16, other CPUs
When sending a message to set up Master mode on a computer, the method to determine the contact person is, for example, from the loop and CST connection information in Figure 13, find the CST connected to the loop, and connect that CST.
Among the CPUs, the CPU that is to be disconnected,
This can be done by arbitrarily selecting one of the CPUs excluding the currently stopped CPU. This is done using the common signal line 19 in FIG. Note that this notification may be issued after selecting one CPU as described above, but it is also possible to issue this notification after selecting one CPU, but it is also possible to issue the notification to all CPUs.
The CPU that received the message will win on a first-come, first-served basis.
The CST connected to the CPU may be set to Master mode. However, in that case,
CPU connected to CST in Master mode
must ignore this message.

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

このように、本発明によれば、複数CSTの構
成制御を、各CSTに接続された計算機が行い、
且つ各計算機は計算機の稼動開始時および停止時
についても、各計算機間で共通に使用する共通メ
モリに格納され、常時更新される構成制御情報を
参照して構成制御を行うので、確実なCSTの構
成制御が実現できる。
As described above, according to the present invention, configuration control of multiple CSTs is performed by a computer connected to each CST, and
In addition, each computer performs configuration control by referring to configuration control information that is stored in a common memory that is commonly used by each computer and is constantly updated, even when the computer starts and stops, so reliable CST can be achieved. Configuration control can be achieved.

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

第1図は本発明が適用されるマルチ計算機シス
テムの一実施例構成図、第2図は、CSTの構成
制御の遷移を示す図、第3図はループバスの運転
モードの遷移を示す図、第4図は、本発明に使用
されるCSTの一実施例ブロツク図、第5〜第9
図は第4図の動作説明用フローチヤート、第10
図は、CPUの構成制御に伴なうマスターモード
のCSTの切り換えを示す図、第11図、第12
図はそれぞれCPUの切り離し、立上げ時の処理
を示すフローチヤート、第13図、第14図はそ
れぞれ共通メモリに格納される構成制御情報の一
例を示す図、第15図、第16図はそれぞれ
CSTからの割込みによる構成制御の処理を示す
フローチヤートである。 1〜3…計算機、4…共通メモリ、8〜10…
コントロールステーシヨン、19…共通接続線。
FIG. 1 is a diagram showing the configuration of an embodiment of a multi-computer system to which the present invention is applied, FIG. 2 is a diagram showing the transition of configuration control of the CST, and FIG. 3 is a diagram showing the transition of the operation mode of the loop bus. Figure 4 is a block diagram of an embodiment of CST used in the present invention, and Figures 5 to 9.
The figure is a flowchart for explaining the operation in Figure 4, and Figure 10.
Figures 11 and 12 are diagrams showing the master mode CST switching associated with CPU configuration control.
The figures are flowcharts showing processing when disconnecting and starting up the CPU, respectively. Figures 13 and 14 are diagrams showing examples of configuration control information stored in the common memory, respectively. Figures 15 and 16 are diagrams showing examples of configuration control information stored in the common memory.
3 is a flowchart showing configuration control processing using an interrupt from CST. 1-3...Calculator, 4...Common memory, 8-10...
Control station, 19... common connection line.

Claims (1)

【特許請求の範囲】[Claims] 1 複数の計算機と、該複数の計算機に接続され
計算機間で共通に使用される共通メモリと、該複
数の計算機を接続する共通バスと、該共通バスに
接続され、該計算機によつて制御される複数の入
出力機器と、該共通バスに接続されるものであつ
て、同時には1つのみがマスターステーシヨンと
して共通バスの統括管理を行うように制御される
複数のコントロールステーシヨンを有するマルチ
計算機システムにおいて、各計算機と複数のコン
トロールステーシヨンを対応づけて接続し、各コ
ントロールステーシヨンは共通バスが正常に使用
されているか否かの状態信号を対応する計算機に
報告し、各計算機は、対応するコントロールステ
ーシヨンからの該状態信号および他計算機からの
指令にもとづき、該共通メモリに格納された構成
制御情報を参照し、該構成制御情報の更新と、対
応するコントロールステーシヨンへの構成制御指
令を出すようにし、計算機が稼動をはじめるとき
は、該計算機は、該共通メモリの構成制御情報を
参照して当該計算機が接続されている共通バス
に、共通バスの統括管理をするマスターのコント
ロールステーシヨンが存在しているか否かを調
べ、存在しない場合のみ当該計算機に接続された
コントロールステーシヨンに対してマスターのコ
ントロールステーシヨンになる指令を出し、計算
機が停止するときは、該計算機は、該共通メモリ
の構成制御情報を参照して、当該計算機に接続さ
れたコントロールステーシヨンがマスターになつ
ているか否かを調べ、マスターになつている場合
のみ、他計算機に対して、その計算機に接続され
たコントロールステーシヨンがマスターになるよ
うな指令を出すようにしたことを特徴とするマル
チ計算機システムにおけるコントロールステーシ
ヨン構成制御方式。
1 A plurality of computers, a common memory connected to the plurality of computers and used in common among the computers, a common bus connecting the plurality of computers, and a computer connected to the common bus and controlled by the computers. A multi-computer system having a plurality of input/output devices connected to the common bus and a plurality of control stations that are controlled so that only one of them acts as a master station and performs overall management of the common bus at a time. , each computer is associated with and connected to multiple control stations, each control station reports a status signal indicating whether the common bus is being used normally to the corresponding computer, and each computer communicates with the corresponding control station. Based on the status signal from the computer and instructions from other computers, refer to the configuration control information stored in the common memory, update the configuration control information, and issue a configuration control command to the corresponding control station; When a computer starts operating, the computer refers to the configuration control information of the common memory and determines whether there is a master control station on the common bus to which the computer is connected, which performs overall management of the common bus. If the computer does not exist, a command is issued to the control station connected to the computer to become the master control station, and when the computer stops, the computer refers to the configuration control information in the common memory. Check whether the control station connected to the computer in question is the master, and only if it is the master, the control station connected to that computer will be the master for other computers. A control station configuration control method in a multi-computer system characterized by issuing commands.
JP57170836A 1982-10-01 1982-10-01 Constitution controlling system of control station in multicomputer system Granted JPS5962967A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57170836A JPS5962967A (en) 1982-10-01 1982-10-01 Constitution controlling system of control station in multicomputer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57170836A JPS5962967A (en) 1982-10-01 1982-10-01 Constitution controlling system of control station in multicomputer system

Publications (2)

Publication Number Publication Date
JPS5962967A JPS5962967A (en) 1984-04-10
JPS6252907B2 true JPS6252907B2 (en) 1987-11-07

Family

ID=15912226

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57170836A Granted JPS5962967A (en) 1982-10-01 1982-10-01 Constitution controlling system of control station in multicomputer system

Country Status (1)

Country Link
JP (1) JPS5962967A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0437133U (en) * 1990-07-27 1992-03-27

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62208159A (en) * 1986-03-10 1987-09-12 Hitachi Ltd Constitutional information management system for computer system
JP3710649B2 (en) 1999-06-28 2005-10-26 富士通株式会社 Multiprocessor system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0437133U (en) * 1990-07-27 1992-03-27

Also Published As

Publication number Publication date
JPS5962967A (en) 1984-04-10

Similar Documents

Publication Publication Date Title
KR100557399B1 (en) A method of improving the availability of a computer clustering system through the use of a network medium link state function
US5784617A (en) Resource-capability-based method and system for handling service processor requests
US7467322B2 (en) Failover method in a cluster computer system
JP3988146B2 (en) Multi-node system, inter-node crossbar switch, node, switch program and node program
JPS6334494B2 (en)
JP3139884B2 (en) Multi-element processing system
JPS6252907B2 (en)
JPS5962968A (en) Constitution controlling system of control station in multicomputer system
US7137029B2 (en) Information processor
JP2000020336A (en) Duplex communication system
JPS59161743A (en) Constitution switching system
JP2937857B2 (en) Lock flag release method and method for common storage
JP2013254333A (en) Multiple system control system and control method therefor
JPH0458636A (en) Communication path duplicate control system
JPH04239831A (en) Inter processor backup system
JP3213016B2 (en) Multiplexing element control method
JPS63279646A (en) Automatic restart processing system for network management equipment
JPH05175980A (en) Inter-system cross connectible communication control system
JPS589444B2 (en) Shared input/output equipment control device
JPS6113627B2 (en)
JP3260435B2 (en) Information communication system
JPS62159242A (en) Automatic system switching system
JPS60134352A (en) Duplex bus control device
JPH0916425A (en) Information processing system
JPH0460750A (en) Cluster stop device