JPH10312364A - Information processor and exclusive control flag management system - Google Patents

Information processor and exclusive control flag management system

Info

Publication number
JPH10312364A
JPH10312364A JP12384997A JP12384997A JPH10312364A JP H10312364 A JPH10312364 A JP H10312364A JP 12384997 A JP12384997 A JP 12384997A JP 12384997 A JP12384997 A JP 12384997A JP H10312364 A JPH10312364 A JP H10312364A
Authority
JP
Japan
Prior art keywords
node
processor
exclusive control
control flag
inter
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
JP12384997A
Other languages
Japanese (ja)
Inventor
Hiroomi Shimizu
弘臣 清水
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Computertechno Ltd
Original Assignee
NEC Computertechno 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 NEC Computertechno Ltd filed Critical NEC Computertechno Ltd
Priority to JP12384997A priority Critical patent/JPH10312364A/en
Publication of JPH10312364A publication Critical patent/JPH10312364A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Abstract

PROBLEM TO BE SOLVED: To speedily reset the state of exclusive control over a common resource by clearing an exclusive control flag set by a processor which is disable to access the exclusive control flag. SOLUTION: If trouble occurs to some node, all processors included in this node are disable to access the exclusive control flag 1. At this time, a converting means 11 refers to a node-processor correspondence table 10 with the node ID of the node where the trouble has occurred and takes the processor IDs of the processors included in the node out in order. A discriminating means 12 compares the processor IDs taken out by the converting means 11 with the ID2 of a processor in exclusive control to know whether or not they match each other. A clearing means 13 clears the exclusive control flag 1 corresponding to the processor ID2 of the processor in exclusive control when the match between the processor IDs is discriminated.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、情報処理装置にお
ける排他制御フラグ管理方式とこの情報処理装置に関
し、特に複数のプロセッサを含んだノードをノード間接
続装置によって接続したクラスタ構成を取る情報処理装
置中に障害が発生した場合の排他制御フラグのクリア方
式を備える排他制御フラグ管理方式とこの情報処理装置
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an exclusive control flag management method in an information processing apparatus and an information processing apparatus, and more particularly to an information processing apparatus having a cluster configuration in which nodes including a plurality of processors are connected by an inter-node connecting device. The present invention relates to an exclusive control flag management method including a method for clearing an exclusive control flag when a failure occurs during processing, and an information processing apparatus.

【0002】[0002]

【従来の技術】近年、情報処理装置における高速化要求
に応えるために、複数のプロセッサを備えるマルチプロ
セッサ構成の情報処理装置が開発されている。また、よ
りいっそうの高速化要求に応えるために、複数のプロセ
ッサを束ねたノードと呼ばれる構成単位を、さらにノー
ド間接続装置によって接続したクラスタ構成をとる情報
処理装置が開発されている。
2. Description of the Related Art In recent years, an information processing apparatus having a multiprocessor configuration including a plurality of processors has been developed in order to respond to a demand for higher speed in the information processing apparatus. Further, in order to respond to the demand for higher speed, an information processing apparatus has been developed which has a cluster configuration in which a configuration unit called a node in which a plurality of processors are bundled is further connected by an inter-node connection device.

【0003】複数のプロセッサ間で、共有リソースに対
するアクセスを行う場合、排他制御フラグを用いてプロ
セッサ間で排他制御を行う方法が良く知られている。
[0003] When accessing a shared resource among a plurality of processors, a method of performing exclusive control between processors using an exclusive control flag is well known.

【0004】排他制御フラグによる排他制御は次のよう
に行われる。
The exclusive control using the exclusive control flag is performed as follows.

【0005】複数のプロセッサを結合する共有メモリ方
式では、1つのプロセッサが共有メモリに書き込み読出
中は他のプロセッサが当該共有メモリに働かないように
排他フラグを立てて働きかけを禁止する。ここで、共有
メモリである共有リソースに対応した排他制御フラグが
設けられる。共有リソースに対するアクセス権を得よう
とするプロセッサは、排他制御フラグに対してセット処
理を行う。この時、排他制御フラグがセットされていな
ければ、プロセッサによるセット処理は成功し、当該プ
ロセッサは共有リソースのアクセス権を得ることが出来
る。排他制御フラグが既に他のプロセッサによってセッ
トされていたならば、セット処理は失敗し、プロセッサ
は共有リソースに対するアクセス権を得ることは出来な
い。
[0005] In a shared memory system in which a plurality of processors are connected, an exclusive flag is set so that one processor does not work on the shared memory while one processor is writing or reading the shared memory, and the work is prohibited. Here, an exclusive control flag corresponding to a shared resource that is a shared memory is provided. A processor that intends to obtain an access right to a shared resource performs a set process on an exclusive control flag. At this time, if the exclusive control flag has not been set, the set processing by the processor is successful, and the processor can obtain the access right to the shared resource. If the exclusive control flag has already been set by another processor, the set process fails, and the processor cannot gain access to the shared resource.

【0006】排他制御フラグを使用する場合、あるプロ
セッサが排他フラグをセットした状態において、当該プ
ロセッサに障害が発生した場合、排他制御フラグのリセ
ットが不可能となり、共有リソースに対する排他状態が
解除されないという問題が存在する。
When the exclusive control flag is used, when a certain processor sets the exclusive flag and a failure occurs in the processor, the exclusive control flag cannot be reset and the exclusive state of the shared resource is not released. The problem exists.

【0007】本問題を解決するための従来の技術として
は、たとえばウォッチドックタイマによって排他制御フ
ラグを監視する技術や、特開平05−158781号公
報に「共有メモリ方式における排他フラグ管理装置」と
して述べられるような技術が存在した。
As a conventional technique for solving this problem, for example, a technique of monitoring an exclusive control flag using a watchdog timer or a technique described in Japanese Patent Application Laid-Open No. 05-158781 as an "exclusive flag management apparatus in a shared memory system". There were technologies that could be used.

【0008】ウォッチドックタイマを用いた排他フラグ
管理装置は、排他フラグがセットされている時間をウオ
ッチドックタイマにより監視し、一定時間を越えて排他
フラグがセットされ続けている場合には、強制的に排他
フラグをリセットするものである。
The exclusion flag management device using a watchdog timer monitors the time during which the exclusion flag is set by the watchdog timer, and if the exclusion flag is set for more than a predetermined time, the exclusion flag is forcibly set. To reset the exclusive flag.

【0009】また、特開平05−158781号公報の
「共有メモリ方式における排他フラグ管理装置」は、以
下のような排他制御フラグ管理装置を構成する。複数の
計算機により共有される共有メモリ装置上に設けられた
排他フラグのセット・リセットを管理する排他フラグ管
理装置において、当該排他制御フラグと、排他制御フラ
グをセットしたプロセッサIDを記録する記録手段と、
前記プロセッサのいずれかに障害が発生したとき、その
プロセッサIDと、前記記録手段に記録されたプロセッ
サIDとを照合する照合手段と、照合の結果、両者のプ
ロセッサIDが一致したとき、前記排他フラグを強制的
にクリアするクリア手段とを持つ。これらの手段によ
り、プロセッサに障害が発生した場合に、当該プロセッ
サによってセットされた排他制御フラグをクリアする。
The "exclusive flag management device in the shared memory system" of Japanese Patent Application Laid-Open No. 05-158781 constitutes the following exclusive control flag management device. An exclusive flag management device that manages setting and resetting of an exclusive flag provided on a shared memory device shared by a plurality of computers; and a recording unit that records the exclusive control flag and a processor ID that sets the exclusive control flag. ,
When a failure occurs in any of the processors, a matching unit that matches the processor ID with the processor ID recorded in the recording unit; and when the two matching processor IDs match as a result of the matching, the exclusive flag is set. And a clearing means for forcing clearing. With these means, when a failure occurs in a processor, the exclusive control flag set by the processor is cleared.

【0010】[0010]

【発明が解決しようとする課題】本発明が解決しようと
する課題は以下のようなものである。
The problem to be solved by the present invention is as follows.

【0011】第1に、従来の技術において、複数のプロ
セッサ間で、共有リソースに対する排他制御を排他フラ
グを用いて行う場合、あるプロセッサが排他フラグをセ
ットした状態において障害が発生した場合、排他制御フ
ラグのリセットが不可能となるために共有リソースに対
する排他制御状態が解除されないという課題が存在し
た。
First, in the prior art, when exclusive control is performed on a shared resource among a plurality of processors using an exclusive flag, when a failure occurs while a certain processor sets the exclusive flag, exclusive control is performed. There is a problem that the exclusive control state for the shared resource is not released because the flag cannot be reset.

【0012】第2にウォッチドックタイマによって排他
制御フラグを監視する方式では、排他制御フラグが継続
してセットされうる最大の時間以上の監視時間を経てか
らでなければ排他制御フラグをリセットし得ないという
問題点があった。
Second, in the method of monitoring the exclusive control flag by the watchdog timer, the exclusive control flag can be reset only after a monitoring time longer than the maximum time that the exclusive control flag can be set continuously. There was a problem.

【0013】第3に、特開平05−158731号公報
の「共有メモリ方式における排他フラグ管理装置」で記
述されている技術は、前記第1の問題点の回避するにあ
たり、プロセッサに障害が発生した場合には有効である
が、クラスタ構成を取る情報処理装置において、ノード
単位の障害によって排他制御中のプロセッサを含むノー
ドからの排他制御フラグに対するアクセスが不可能とな
った場合に対応が出来ないという問題点が存在した。ま
た、クラスタ構成を取る情報処理装置において、ノード
間を接続するノード間接続装置中の障害によってアクセ
ス経路が切断され、排他制御中のプロセッサを含む複数
のノードからの排他制御フラグに対するアクセスが不可
能となった場合にも対応が出来ないという問題点が存在
した。
Third, in the technique described in "Exclusive flag management device in shared memory system" in Japanese Patent Laid-Open No. 05-158731, a failure has occurred in a processor in order to avoid the first problem. This is effective in the case where the information processing apparatus having the cluster configuration cannot handle the case where the node including the processor under the exclusive control cannot access the exclusive control flag due to the failure in the node unit. There was a problem. Also, in an information processing apparatus having a cluster configuration, an access path is disconnected due to a failure in an inter-node connecting device that connects nodes, and it is not possible to access an exclusive control flag from a plurality of nodes including a processor under exclusive control. However, there was a problem that it was not possible to respond to the case.

【0014】[発明の目的]本発明の目的は、クラスタ
構成を取る情報処理装置において、複数のプロセッサ間
で共有リソースに対する排他制御を排他制御フラグを用
いて行う場合において、排他制御中のプロセッサに障害
が発生した場合に加え、障害によって排他制御中のプロ
セッサを含むノードからの排他制御フラグに対するアク
セスが不可能となった場合、また、ノード間を接続する
アクセス経路の障害によって、排他制御中のプロセッサ
を含む複数のノードからの排他制御フラグに対するアク
セスが不可能となった場合においても、排他制御フラグ
へのアクセスが不可能となったプロセッサによってセッ
トされた排他制御フラグをクリアすることにより、共有
リソースに対する排他制御状態を速やかに解除すること
を可能とすることである。
[Object of the Invention] An object of the present invention is to provide an information processing apparatus having a cluster configuration in a case where exclusive control of a shared resource is performed among a plurality of processors using an exclusive control flag. In addition to the case where a failure occurs, access to the exclusive control flag from the node including the processor under exclusive control due to the failure becomes impossible, and the failure of the access path connecting the nodes Even if access to the exclusive control flag from multiple nodes including the processor becomes impossible, the exclusive control flag set by the processor that cannot access the exclusive control flag is cleared to enable sharing. To be able to immediately release the exclusive control status for resources A.

【0015】[0015]

【課題を解決するための手段】本発明は、上記目的のた
め、以下のように、図面を用いて説明する。
The present invention will be described with reference to the drawings as follows for the above object.

【0016】本発明の排他制御フラグ管理方式は、図1
を参照して、排他制御フラグ1と、排他制御フラグ1を
セットしたプロセッサのプロセッサIDを示す排他制御
中プロセッサID2と、ノードに付与されたノードID
とノード内に含まれるプロセッサのプロセッサIDとの
対応を記述したノード−プロセッサ対応テーブル10
と、ノードに障害が発生した場合、前記ノード−プロセ
ッサ対応テーブル10を参照し、ノードIDをプロセッ
サIDに変換する変換手段11と、前記変換手段11の
出力するプロセッサIDと前記排他制御中プロセッサI
D2とを比較し、一致するか否かを識別する識別手段1
2と、前記識別手段12によってプロセッサIDの一致
が識別されたならば、排他制御フラグ1をクリアするク
リア手段13とを有することを特徴とする。
The exclusive control flag management method of the present invention is shown in FIG.
, An exclusive control flag 1, an exclusive control processor ID2 indicating the processor ID of the processor that has set the exclusive control flag 1, and a node ID assigned to the node.
Node-processor correspondence table 10 describing the correspondence between the ID and the processor ID of the processor included in the node
A conversion means 11 for converting a node ID to a processor ID by referring to the node-processor correspondence table 10 when a failure occurs in a node; a processor ID output from the conversion means 11;
Identification means 1 for comparing with D2 to determine whether they match
2 and a clearing unit 13 for clearing the exclusive control flag 1 when the matching of the processor ID is identified by the identifying unit 12.

【0017】また、本発明の排他制御フラグ管理方式
は、図2を参照して、排他制御フラグ1と、排他制御フ
ラグ1をセットしたプロセッサのプロセッサIDを示す
排他制御中プロセッサID2と、ノードとノード間接続
装置間、およびノード間接続装置とノード間接続装置間
のアクセス経路に付与されたアクセス経路IDと、当該
アクセス経路を経由して排他制御フラグに対してアクセ
スを行うプロセッサのプロセッサIDとの対応を記述し
たアクセス経路−プロセッサ対応テーブル20と、アク
セス経路に障害が発生した場合、前記アクセス経路−プ
ロセッサ対応テーブル20を参照し、アクセス経路ID
をプロセッサIDに変換する変換手段11と、前記変換
手段11の出力するプロセッサIDと前記排他制御中プ
ロセッサID2とを比較し、一致するか否かを識別する
識別手段12と、前記識別手段12によってプロセッサ
IDの一致が識別されたならば、排他制御フラグ1をク
リアするクリア手段13とを有する。
Referring to FIG. 2, the exclusive control flag management method of the present invention refers to an exclusive control flag 1, an exclusive-controlling processor ID2 indicating the processor ID of the processor that has set the exclusive control flag 1, and a node. An access path ID assigned to an access path between the inter-node connection devices and between the inter-node connection device and the inter-node connection device; and a processor ID of a processor that accesses the exclusive control flag via the access path. The access path-processor correspondence table 20 describing the correspondence of the access path and the access path-processor correspondence table 20 when a failure occurs in the access path.
To a processor ID, an identification unit 12 for comparing the processor ID output from the conversion unit 11 with the processor ID2 under exclusive control, and identifying whether or not they match each other. Clearing means 13 for clearing the exclusive control flag 1 when a match between the processor IDs is identified.

【0018】さらに、本発明の排他制御フラグ管理方式
は、図3を参照して、プロセッサIDを、プロセッサが
含まれるノードのノードIDを格納するノードIDフィ
ールド30と、ノード内のプロセッサを識別可能なノー
ド内識別フィールド31とから定義し、排他制御フラグ
1と、排他制御フラグ1をセットしたプロセッサのプロ
セッサIDを示す排他制御中プロセッサID2と、ノー
ドに障害が発生した場合、ノードIDと、排他制御中プ
ロセッサID2のノードIDフィールドとを比較し、一
致するか否かを識別するノード識別手段32と、前記ノ
ード識別手段32によってプロセッサIDの一致が識別
されたならば、排他制御フラグ1をクリアするクリア手
段13とを有する。
Further, referring to FIG. 3, the exclusive control flag management method of the present invention can identify the processor ID, the node ID field 30 storing the node ID of the node including the processor, and the processor in the node. The exclusive control flag 1, the exclusive control processor ID 2 indicating the processor ID of the processor that has set the exclusive control flag 1, the node ID when the node has failed, and the exclusive ID The node ID field of the processor ID 2 being controlled is compared with the node ID field, and a node identification means 32 for identifying whether or not the processor ID 2 is coincident with the node ID field. Clearing means 13 for performing the operation.

【0019】また、本発明の排他制御フラグ管理方式
は、図4を参照して、プロセッサIDを、プロセッサが
含まれるノードのノードIDを格納するノードIDフィ
ールド30と、ノード内のプロセッサを識別可能なノー
ド内識別フィールド31とから定義し、排他制御フラグ
1と、排他制御フラグ1をセットしたプロセッサのプロ
セッサIDを示す排他制御中プロセッサID2と、ノー
ド−ノード間接続装置間、およびノード間接続装置−ノ
ード間接続装置間のアクセス経路に付与されたアクセス
経路IDと、当該アクセス経路を経由して排他制御フラ
グに対してアクセスを行うノードのノードIDとの対応
を記述したアクセス経路−ノード対応テーブル40と、
アクセス経路に障害が発生した場合、前記アクセス経路
−ノード対応テーブル40を参照し、アクセス経路ID
をノードIDに変換する変換手段11と、前記変換手段
11の出力するノードIDと、排他制御中プロセッサI
D2のノードIDフィールドとを比較し、一致するか否
かを識別するノード識別手段32と、前記ノード識別手
段32によってプロセッサIDの一致が識別されたなら
ば、排他制御フラグ1をクリアするクリア手段13とを
有する。
Referring to FIG. 4, the exclusive control flag management method according to the present invention is capable of identifying a processor ID, a node ID field 30 for storing a node ID of a node including a processor, and a processor in the node. , An exclusive control flag 1, an exclusive control processor ID 2 indicating the processor ID of the processor that has set the exclusive control flag 1, a node-to-node connection device, and an inter-node connection device. An access path that describes an association between an access path ID assigned to an access path between inter-node connecting devices and a node ID of a node that accesses the exclusive control flag via the access path; 40,
When a failure occurs in the access route, the access route-node correspondence table 40 is referred to, and the access route ID is referred to.
To a node ID, a node ID output from the conversion unit 11, and a processor I under exclusive control.
A node identification unit 32 that compares the node ID field of D2 with the node ID to determine whether they match, and a clearing unit that clears the exclusive control flag 1 if the node identification unit 32 identifies a match of the processor ID. 13.

【0020】また、複数のプロセッサから構成されるノ
ードと、複数のノード間を接続するノード間接続装置か
らなるクラスタ構成の情報処理装置において、前記プロ
セッサIDとこれに対応する排他制御フラグと、前記ノ
ードのノードIDと前記プロセッサIDとを対とするノ
ード−プロセッサ対応テーブルを参照し、前記ノードI
Dを前記プロセッサIDに変換する変換手段と、前記変
換手段の出力するプロセッサIDと排他制御中のプロセ
ッサIDとを比較して識別する識別手段と、前記識別手
段によって前記プロセッサIDの一致が識別されたなら
ば、排他制御フラグをクリアするクリア手段と、を備
え、前記プロセッサに障害が発生した場合に、前記ノー
ドに含まれる全てのプロセッサのセットされた排他制御
フラグをクリアすることを特徴とする。
Further, in an information processing apparatus having a cluster configuration including a node including a plurality of processors and an inter-node connecting device for connecting the plurality of nodes, the processor ID, an exclusive control flag corresponding to the processor ID, Referring to a node-processor correspondence table in which the node ID of the node and the processor ID are paired,
Conversion means for converting D into the processor ID, identification means for comparing the processor ID output from the conversion means with the processor ID under exclusive control, and identification of the processor ID by the identification means. Clearing means for clearing an exclusive control flag, wherein when a failure occurs in the processor, the set exclusive control flags of all processors included in the node are cleared. .

【0021】[作用]上記発明特定事項による本発明
は、以下のような作用を有している。
[Operation] The present invention according to the above-mentioned invention-specifying matter has the following operation.

【0022】図1を参照して、プロセッサによって共有
リソースの共有メモリ内に排他制御フラグ1がセットさ
れた場合、同時にセットを行ったプロセッサのプロセッ
サIDが排他制御中プロセッサID2として記録され
る。
Referring to FIG. 1, when the exclusive control flag 1 is set in the shared memory of the shared resource by the processor, the processor ID of the processor that has been set at the same time is recorded as the processor ID 2 under exclusive control.

【0023】あるノードに障害が発生した場合、当該ノ
ードに含まれる全てのプロセッサからの排他制御フラグ
1へのアクセスが不可能となる。この時変換手段11
は、障害となったノードのノードIDによってノード−
プロセッサ対応テーブル10を参照し、当該ノードに含
まれるプロセッサのプロセッサIDを順次取り出す。
When a failure occurs in a certain node, it becomes impossible for all processors included in the node to access the exclusive control flag 1. At this time, the conversion means 11
Is determined by the node ID of the failed node.
Referring to the processor correspondence table 10, the processor IDs of the processors included in the node are sequentially extracted.

【0024】識別手段12は、変換手段11によって取
り出されたプロセッサIDと排他制御中プロセッサID
2との比較を行い、一致するか否かの識別を行う。
The identification means 12 stores the processor ID extracted by the conversion means 11 and the processor ID under exclusive control.
2 is compared, and whether or not they match is identified.

【0025】クリア手段13は、識別手段12によって
プロセッサIDの一致が識別されたならば、排他制御中
プロセッサID2に対応する排他制御フラグ1をクリア
する。
The clearing means 13 clears the exclusive control flag 1 corresponding to the processor ID 2 under exclusive control when the identification means 12 identifies the coincidence of the processor IDs.

【0026】次に、図2を参照して、プロセッサによっ
て排他制御フラグ1がセットされた場合、同時にセット
を行ったプロセッサのプロセッサIDが排他制御中プロ
セッサID2として記録される。
Next, referring to FIG. 2, when the exclusive control flag 1 is set by the processor, the processor ID of the processor that set the processor at the same time is recorded as the exclusive control processor ID2.

【0027】ノード−ノード間接続装置間、あるいはノ
ード間接続装置−ノード間接続装置間のあるアクセス経
路に障害が発生した場合、当該アクセス経路を経由して
排他制御フラグ1へのアクセスを行う全てのプロセッサ
からのアクセスが不可能となる。この時変換手段11
は、障害となったアクセス経路のアクセス経路IDによ
ってアクセス経路−プロセッサ対応テーブル20を参照
し、当該アクセス経路を経由して排他制御フラグへのア
クセスを行うプロセッサのプロセッサIDを順次取り出
す。
When a failure occurs in a certain access path between the node-to-node connection device or between the node-to-node connection device, all access to the exclusive control flag 1 via the access path is performed. Access from other processors becomes impossible. At this time, the conversion means 11
Refers to the access path-processor correspondence table 20 based on the access path ID of the failed access path, and sequentially extracts the processor IDs of the processors that access the exclusive control flag via the access path.

【0028】識別手段12は、変換手段11によって取
り出されたプロセッサIDと排他制御中プロセッサID
2との比較を行い、一致するか否かの識別を行う。
The identification means 12 is provided with a processor ID extracted by the conversion means 11 and an exclusive control processor ID.
2 is compared, and whether or not they match is identified.

【0029】クリア手段13は、識別手段12によって
プロセッサIDの一致が識別されたならば、排他制御中
プロセッサID2に対応する排他制御フラグ1をクリア
する。
The clearing means 13 clears the exclusive control flag 1 corresponding to the processor ID2 under exclusive control when the identification means 12 identifies the coincidence of the processor IDs.

【0030】更に、図3を参照して、プロセッサIDを
ノードIDフィールド30とノード内識別フィールドと
から構成することにより、プロセッサID中のノードI
Dフィールド30を参照することにより、そのプロセッ
サIDを持つプロセッサが含まれるノードを特定するこ
とが可能となる。
Further, referring to FIG. 3, by forming the processor ID from the node ID field 30 and the in-node identification field, the node ID in the processor ID
By referring to the D field 30, a node including a processor having the processor ID can be specified.

【0031】プロセッサによって排他制御フラグ1がセ
ットされた場合、同時にセットを行ったプロセッサのプ
ロセッサIDが排他制御中プロセッサID2として記録
される。
When the exclusive control flag 1 is set by the processor, the processor ID of the processor that set the exclusive control flag at the same time is recorded as the exclusive control processor ID 2.

【0032】ここで、あるノードに障害が発生した場
合、当該ノードに含まれる全てのプロセッサからの排他
制御フラグ1へのアクセスが不可能となる。この時ノー
ド識別手段32は、障害となったノードのノードID
と、排他制御中プロセッサID2のノードIDフィール
ド30との比較を行い、一致するか否かの識別を行う。
Here, when a failure occurs in a certain node, it becomes impossible to access the exclusive control flag 1 from all processors included in the node. At this time, the node identification means 32 outputs the node ID of the failed node.
Is compared with the node ID field 30 of the processor ID2 under exclusive control to determine whether they match.

【0033】クリア手段13は、ノード識別手段32に
よってノードIDの一致が識別されたならば、排他制御
中プロセッサID2に対応する排他制御フラグ1をクリ
アする。
The clearing means 13 clears the exclusive control flag 1 corresponding to the processor ID 2 under exclusive control when the node identification means 32 identifies the coincidence of the node IDs.

【0034】また、図4を参照して、排他制御フラグ1
と共に排他制御中プロセッサID2をノードIDフィー
ルド30とノード内識別フィールド31とから構成する
ことにより、プロセッサID2中のノードIDフィール
ド30を参照することにより、そのプロセッサID2を
持つプロセッサが含まれるノードを特定することが可能
となる。
Referring to FIG. 4, exclusive control flag 1
In addition, by configuring the processor ID2 under exclusive control from the node ID field 30 and the in-node identification field 31, the node including the processor having the processor ID2 is specified by referring to the node ID field 30 in the processor ID2. It is possible to do.

【0035】プロセッサによって排他制御フラグ1がセ
ットされた場合、同時にセットを行ったプロセッサのプ
ロセッサIDが排他制御中プロセッサID2として記録
される。
When the exclusive control flag 1 is set by the processor, the processor ID of the processor that set the exclusive control flag at the same time is recorded as the processor ID 2 under exclusive control.

【0036】ノード−ノード間接続装置間、あるいはノ
ード間接続装置−ノード間接続装置間のあるアクセス経
路に障害が発生した場合、当該アクセス経路を経由して
排他制御フラグ1へのアクセスを行う全てのノードから
のアクセスが不可能となる。この時変換手段11は、障
害となったアクセス経路のアクセス経路IDによってア
クセス経路−ノード対応テーブル40を参照し、当該ア
クセス経路を経由して排他制御フラグへのアクセスを行
うノードのノードIDを順次取り出す。
When a failure occurs in a certain access path between the node-to-node connection device or between the node-to-node connection device, all access to the exclusive control flag 1 via the access path is performed. Access from this node becomes impossible. At this time, the conversion unit 11 refers to the access route-node correspondence table 40 based on the access route ID of the failed access route, and sequentially determines the node IDs of the nodes that access the exclusive control flag via the access route. Take out.

【0037】ノード識別手段32は、変換手段11によ
って取り出されたノードIDと、排他制御中プロセッサ
ID2のノードIDフィールド30との比較を行い、一
致するか否かの識別を行う。
The node identification means 32 compares the node ID extracted by the conversion means 11 with the node ID field 30 of the processor ID2 under exclusive control, and identifies whether they match.

【0038】クリア手段13は、ノード識別手段32に
よってノードIDの一致が識別されたならば、排他制御
中プロセッサID2に対応する排他制御フラグ1をクリ
アする。
The clearing means 13 clears the exclusive control flag 1 corresponding to the processor ID 2 under exclusive control when the node identification means 32 identifies the coincidence of the node IDs.

【0039】また、大規模なクラスタ構成の情報処理装
置では、いずれかのプロセッサに障害が発生して当該プ
ロセッサによる排他制御フラグをクリアするために、プ
ロセッサのプロセッサIDとこれに対応する排他制御フ
ラグとを対とする記憶手段から当該障害を発生したプロ
セッサの排他制御フラグをクリアする。即ち、ノードの
ノードIDとプロセッサIDとを対とするノード−プロ
セッサ対応テーブルを参照して、障害を発生したプロセ
ッサのノードを検出し、当該プロセッサIDと排他制御
中のプロセッサIDとを比較して識別し、プロセッサI
Dの一致が識別されたならば、排他制御フラグをクリア
する。
In an information processing apparatus having a large-scale cluster configuration, a processor ID of a processor and an exclusive control flag corresponding to the processor ID are set in order to clear an exclusive control flag by one of the processors due to a failure. The exclusive control flag of the processor in which the failure has occurred is cleared from the storage means paired with the above. That is, by referring to the node-processor correspondence table in which the node ID of the node and the processor ID are paired, the node of the failed processor is detected, and the processor ID is compared with the processor ID under exclusive control. Identifying the processor I
If a match of D is identified, the exclusive control flag is cleared.

【0040】[0040]

【発明の実施の形態】以下に、本発明の実施形態を、図
面を参照しつつ詳細に説明する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0041】[第1の実施形態]図5に第1の実施形態
におけるクラスタ構成を取る情報処理装置の全体構成を
示す。複数のプロセッサ50は、プロセッサ間接続網5
1によって相互に接続される。この構成単位をノード5
2と呼び、複数台のノード52をさらにノード間接続装
置53によって接続することで、クラスタ構成による大
規模マルチプロセッサシステムが実現される。
[First Embodiment] FIG. 5 shows the entire configuration of an information processing apparatus having a cluster configuration according to the first embodiment. The plurality of processors 50 are connected to the inter-processor connection network 5.
1 interconnected. This structural unit is called node 5
2, a plurality of nodes 52 are further connected by an inter-node connecting device 53, whereby a large-scale multiprocessor system with a cluster configuration is realized.

【0042】ノード間接続装置53上の全てのノード5
2からアクセス可能な位置に共有リソースである共有メ
モリ3内の排他制御フラグ1が実装される。また、ある
ノード内のプロセッサ10…1nに障害が発生した場
合、プロセッサ間接続網51によって検知され、アクセ
ス経路を通してノード間接続装置53に通知され、ノー
ド間接続装置53内の障害処理制御回路6に障害通知が
なされる。
All nodes 5 on the inter-node connecting device 53
The exclusive control flag 1 in the shared memory 3, which is a shared resource, is mounted at a position accessible from the server 2. In addition, when a failure occurs in any of the processors 10... 1n in a certain node, the failure is detected by the inter-processor connection network 51 and notified to the inter-node connection device 53 through an access path. Is notified of the failure.

【0043】図1に本実施形態における排他制御フラグ
管理方式の構成例を示す。本実施形態は、排他制御フラ
グ1、および排他制御中プロセッサID2を実現するメ
モリ3と、プロセッサ10…1nからの排他制御アクセ
ス要求を制御する排他制御フラグアクセス制御回路5、
およびそれらを接続するバス4を含む。ここで、排他制
御中プロセッサID2は排他制御フラグ1の値が”1”
のときは文字どおり排他制御中であるプロセッサIDで
あるが、排他制御フラグ1の値が”0”のときは単なる
プロセッサIDを示している。
FIG. 1 shows an example of the configuration of the exclusive control flag management method in this embodiment. In the present embodiment, the memory 3 that realizes the exclusive control flag 1 and the processor ID 2 under the exclusive control, the exclusive control flag access control circuit 5 that controls the exclusive control access request from the processors 10.
And a bus 4 connecting them. Here, the value of the exclusive control flag 1 of the processor ID2 under exclusive control is "1".
Is the processor ID under exclusive control, but when the value of the exclusive control flag 1 is "0", it indicates a simple processor ID.

【0044】また、障害情報を受け付ける障害処理制御
回路6、メモリ3上の複数ワード構成の排他制御フラグ
1に対するアクセスを行うメモリアクセス回路7を含
む。また、本実施形態の特徴であるところのノード−プ
ロセッサ対応テーブル10、変換手段11、識別手段1
2、およびクリア手段13を含む。
Further, it includes a fault processing control circuit 6 for receiving fault information and a memory access circuit 7 for accessing the exclusive control flag 1 having a plurality of words on the memory 3. Further, a node-processor correspondence table 10, a conversion unit 11, and an identification unit 1 which are features of the present embodiment.
2 and clearing means 13.

【0045】図7にノード−プロセッサ対応テーブル1
0、変換手段11の構成例のブロック図を示す。
FIG. 7 shows a node-processor correspondence table 1.
0, a block diagram of a configuration example of the conversion means 11 is shown.

【0046】ノード−プロセッサ対応テーブル10は、
メモリA70およびメモリB71から構成される。メモ
リA70はノードIDによってアドレスされ、それぞれ
のノードに対応したメモリB開始アドレスを格納する。
メモリB71はエンドビット72とプロセッサID73
の2つのフィールドから構成され、メモリA70上のメ
モリB開始アドレスで指定されるアドレスから、エンド
ビット72に“1”がセットされたアドレスまでの領域
に、それぞれのノードに対応したプロセッサID73を
格納する。
The node-processor correspondence table 10
It comprises a memory A70 and a memory B71. The memory A 70 is addressed by the node ID and stores a memory B start address corresponding to each node.
The memory B 71 has an end bit 72 and a processor ID 73
The processor ID 73 corresponding to each node is stored in the area from the address specified by the memory B start address on the memory A 70 to the address where the end bit 72 is set to “1”. I do.

【0047】変換手段11は制御回路74、参照キーレ
ジスタ75、カウンタ76、および参照結果レジスタ7
7から構成される。ノードIDによる参照を行う場合、
ノードIDは参照キーレジスタ75に格納され、ノード
−プロセッサ対応テーブル10のメモリA70がアクセ
スされる。読み出されたメモリB開始アドレスはカウン
タ76に格納され、メモリBがアクセスされ、エンドビ
ット72とプロセッサID73が読み出される。読み出
されたプロセッサID73は参照結果レジスタ77に格
納され、識別手段12に出力される。この時、エンドビ
ット72が“1”であったならば、現アドレスがノード
に対応した領域の最終位置であると判断される。エンド
ビット72が“1”でなかったならば、領域は継続して
いるものと判断され、制御回路74からの指示によりカ
ウンタ76のインクリメントが行われる。図7中、+1
でこの制御回路74による動作を示す。
The conversion means 11 includes a control circuit 74, a reference key register 75, a counter 76, and a reference result register 7.
7 is comprised. When referencing by node ID,
The node ID is stored in the reference key register 75, and the memory A70 of the node-processor correspondence table 10 is accessed. The read memory B start address is stored in the counter 76, the memory B is accessed, and the end bit 72 and the processor ID 73 are read. The read processor ID 73 is stored in the reference result register 77 and output to the identification unit 12. At this time, if the end bit 72 is "1", it is determined that the current address is the last position of the area corresponding to the node. If the end bit 72 is not "1", it is determined that the area is continued, and the counter 76 is incremented by an instruction from the control circuit 74. In FIG. 7, +1
The operation of the control circuit 74 is shown in FIG.

【0048】図8に識別手段12およびリセットするク
リア手段13の構成例のブロック図を示す。
FIG. 8 is a block diagram showing a configuration example of the identification means 12 and the clear means 13 for resetting.

【0049】識別手段12は、比較レジスタA80、比
較レジスタB81、アドレス保持レジスタ82、比較器
83から構成される。比較レジスタA80は変換手段1
1の参照結果レジスタ77から出力されるプロセッサI
D73を格納する。比較レジスタB81はメモリアクセ
ス回路7によってメモリ3から読み出された排他制御中
プロセッサID2を格納する。アドレス保持レジスタ8
2は比較レジスタB81中の排他制御中プロセッサID
2のメモリ3中のアドレスを保持する。比較器83は比
較レジスタA80と比較レジスタB81の値の比較を行
い、比較の結果が一致であったならば、排他制御フラグ
1はクリア不可能と識別される。
The identification means 12 comprises a comparison register A 80, a comparison register B 81, an address holding register 82, and a comparator 83. The comparison register A80 is a conversion unit 1
1 output from the reference result register 77
D73 is stored. The comparison register B81 stores the exclusive control processor ID2 read from the memory 3 by the memory access circuit 7. Address holding register 8
2 is the processor ID under exclusive control in the comparison register B81.
2 holds the address in the memory 3. The comparator 83 compares the values of the comparison register A80 and the comparison register B81, and if the result of the comparison is a match, the exclusive control flag 1 is identified as unclearable.

【0050】クリア手段13は、書き込み制御回路84
とアドレスレジスタ85とから構成される。書き込み制
御回路84はメモリ3に対して、アドレスレジスタ85
の値をアドレスとし、“0”をライトデータとして書き
込みを行う。
The clear means 13 includes a write control circuit 84
And an address register 85. The write control circuit 84 sends an address register 85 to the memory 3.
Is written as an address and "0" is written as write data.

【0051】次に、本実施形態における本発明の動作を
説明する。
Next, the operation of the present invention in this embodiment will be described.

【0052】複数のノード52中のあるノードにおいて
障害が発生した場合、ノード障害情報がアクセス経路を
通してノード間接続装置53内の障害処理制御回路6に
通知される。障害処理制御回路6によって障害処理が開
始され、変換手段11に対して障害となったノードのノ
ードIDが出力される。また、メモリアクセス回路7が
起動され、メモリ3の全アドレスから、排他制御中プロ
セッサID2が順次読み出される。
When a failure occurs in a certain node among the plurality of nodes 52, node failure information is notified to the failure processing control circuit 6 in the inter-node connecting device 53 via an access path. The failure processing is started by the failure processing control circuit 6, and the node ID of the failed node is output to the conversion means 11. Further, the memory access circuit 7 is activated, and the processor ID2 under exclusive control is sequentially read from all the addresses of the memory 3.

【0053】変換手段11によって障害処理制御回路6
から出力されたノードIDを参照キーとしたノード−プ
ロセッサIDテーブル10の参照が行われ、当該ノード
配下のプロセッサのプロセッサIDが読み出され、識別
手段12に対して障害によりアクセス不能となったプロ
セッサのプロセッサIDとして出力される。
The fault processing control circuit 6 is converted by the conversion means 11.
The node-processor ID table 10 is referred to using the node ID output from the node as a reference key, the processor ID of the processor under the node is read, and the processor which has become inaccessible to the identification means 12 due to a failure is identified. Is output as the processor ID.

【0054】識別手段12によって、変換手段11から
出力されたプロセッサIDと、メモリアクセス回路7か
ら出力される排他制御中プロセッサID2との比較が行
われ、比較結果が一致であったならば、クリア手段13
に対して当該アドレスに対する排他制御フラグのクリア
が指示される。
The identification means 12 compares the processor ID output from the conversion means 11 with the processor ID2 under exclusive control output from the memory access circuit 7, and if the comparison result indicates a match, clears. Mean 13
Is instructed to clear the exclusive control flag for the address.

【0055】クリア手段13によって当該アドレスの排
他制御フラグ1への“0”の書き込みが行われ、クリア
が行われる。
The clearing means 13 writes "0" into the exclusive control flag 1 of the address to clear the address.

【0056】あるプロセッサIDに対して、全ての排他
制御中プロセッサID2の識別が終了した場合、プロセ
ッサIDが障害となったノードに含まれる最後のプロセ
ッサIDであった場合に障害処理は終了となる。一方、
障害プロセッサIDが最後のプロセッサIDでは無かっ
た場合には、交換手段11によって次プロセッサIDの
取り出しが行われると共に、再度メモリアクセス回路7
が起動され、処理が継続される。
If the identification of all of the processor IDs 2 under exclusive control is completed for a certain processor ID, and if the processor ID is the last processor ID included in the failed node, the failure processing ends. . on the other hand,
If the faulty processor ID is not the last processor ID, the replacement unit 11 takes out the next processor ID, and again executes the memory access circuit 7.
Is started, and the process is continued.

【0057】上記の一連の動作により、あるノードにお
いて障害が発生した場合、当該ノードに含まれる全ての
プロセッサによってセットされた排他制御フラグ1に対
するクリア処理が実現される。
According to the above series of operations, when a failure occurs in a certain node, a clearing process for the exclusive control flag 1 set by all the processors included in the node is realized.

【0058】[第2の実施形態]図6に第2の実施形態
におけるクラスタ構成を取る情報処理装置の全体構成を
示す。
[Second Embodiment] FIG. 6 shows the overall configuration of an information processing apparatus having a cluster configuration according to the second embodiment.

【0059】第1の実施形態における全体構成(図5)
はノード間接続装置53が1つであったのに対し、本実
施形態では複数のノード間接続装置53によってノード
間が接続される。その結果、アクセス経路としてノード
−ノード間接続装置間のアクセス経路54に加え、ノー
ド間接続装置53−ノード間接続装置53間のアクセス
経路A60が存在する。図6ではアクセス経路A60は
1つの例を示しているが、複数である場合を想定してい
る。このようなノード間接続装置−ノード間接続装置間
のアクセス経路A60に障害が発生した場合、複数のノ
ード52に含まれるプロセッサから排他制御フラグ1に
対するアクセスが不可能となる。図6の例では、アクセ
ス経路60に障害が発生した場合、ノード3、ノード
4、ノード5からの排他制御フラグ1へのアクセスが不
可能となる。ノード3、ノード4、ノード5に接続され
ている各アクセス経路3〜5に障害が発生した場合に
は、第1の実施形態で説明した動作が実行される。
Overall Configuration in First Embodiment (FIG. 5)
In the present embodiment, the nodes are connected by a plurality of inter-node connecting devices 53, whereas the number of inter-node connecting devices 53 is one. As a result, an access path A60 between the internode connection device 53 and the internode connection device 53 exists as an access route in addition to the access path 54 between the node and the node connection device. FIG. 6 shows one example of the access route A60, but it is assumed that there is a plurality of access routes. When a failure occurs in such an access path A60 between the inter-node connecting devices, the processors included in the plurality of nodes 52 cannot access the exclusive control flag 1. In the example of FIG. 6, when a failure occurs in the access route 60, access to the exclusive control flag 1 from the nodes 3, 4, and 5 becomes impossible. When a failure occurs in each of the access paths 3 to 5 connected to the nodes 3, 4, and 5, the operation described in the first embodiment is performed.

【0060】図2に第2の実施形態における排他制御フ
ラグ管理方式の構成例を示す。
FIG. 2 shows an example of the configuration of the exclusive control flag management method according to the second embodiment.

【0061】アクセス経路60における障害に対応する
ため、第2の実施形態においては、第1の実施形態のノ
ード−プロセッサ対応テーブル10に変えて、アクセス
経路−プロセッサ対応テーブル20を備える。そのほか
の構成は第1の実施形態と同一である。
In order to cope with a failure in the access path 60, the second embodiment includes an access path-processor correspondence table 20 instead of the node-processor correspondence table 10 of the first embodiment. Other configurations are the same as those of the first embodiment.

【0062】アクセス経路−プロセッサ対応テーブル2
0は、第1の実施形態のノード−プロセッサ対応テーブ
ル10がノードIDと、ノードIDに対応するノードに
含まれるプロセッサのプロセッサIDとの対応関係が記
述されていたのに対し、アクセス経路に与えられたアク
セス経路IDと、当該アクセス経路を経由して排他制御
フラグに対してアクセスを行うプロセッサのプロセッサ
IDとの対応関係が記述される。
Access path-processor correspondence table 2
0 is given to the access path while the node-processor correspondence table 10 of the first embodiment describes the correspondence between the node ID and the processor ID of the processor included in the node corresponding to the node ID. The correspondence between the given access path ID and the processor ID of the processor that accesses the exclusive control flag via the access path is described.

【0063】次に、第2の実施形態における本発明の動
作を説明する。
Next, the operation of the present invention in the second embodiment will be described.

【0064】アクセス経路60に障害が発生した場合、
変換手段11によって、障害処理制御回路6から受信し
たアクセス経路IDを参照キーとしたアクセス経路−プ
ロセッサ対応テーブル20の参照が行われ、当該アクセ
ス経路を経由して排他制御フラグ1に対するアクセスを
行うプロセッサのプロセッサIDが読み出され、識別手
段12に対して出力される。メモリアクセス回路7では
メモリ3内の排他制御フラグ1内の動作中であったプロ
セッサを排他制御中プロセッサID2から読出し、識別
手段12で読み出された障害発生のアクセス経路障害情
報からのプロセッサと比較して、一致しておれば、クリ
ア手段13により、排他制御フラグ1の”1”を”0”
に変換してクリアする。
When a failure occurs in the access route 60,
The conversion unit 11 refers to the access path-processor correspondence table 20 using the access path ID received from the failure processing control circuit 6 as a reference key, and accesses the exclusive control flag 1 via the access path. Is read and output to the identification means 12. The memory access circuit 7 reads the operating processor in the exclusive control flag 1 in the memory 3 from the processor under exclusive control ID2 and compares it with the processor read from the faulty access path fault information read by the identification means 12. Then, if they match, the clearing unit 13 changes “1” of the exclusive control flag 1 to “0”.
Convert to and clear.

【0065】なお、その他の動作は第1の実施形態で説
明した動作と同様である。
The other operation is the same as the operation described in the first embodiment.

【0066】[第3の実施形態]第3の実施形態は、第
1の実施形態で実施される情報処理装置と同一の情報処
理装置(図5)において実施される。
[Third Embodiment] The third embodiment is implemented in the same information processing apparatus (FIG. 5) as the information processing apparatus implemented in the first embodiment.

【0067】図3に第3の実施形態における排他制御フ
ラグ管理方式の構成例を示す。本実施形態においては、
メモリ3内の排他制御フラグ1に対応する排他制御中プ
ロセッサID2であるプロセッサIDは2つのフィール
ドを持ったビット列として定義される。プロセッサID
は、当該プロセッサが含まれるノードを識別可能なノー
ドIDフィールド30と、そのノードに含まれるプロセ
ッサの中から当該プロセッサを識別可能とするノード内
識別フィールド31とから構成されるものとする。本構
造を持ったプロセッサIDとした場合、プロセッサID
中のノードIDフィールドを参照することにより、当該
プロセッサIDを持つプロセッサの含まれるノードのノ
ードIDを得ることが可能となる。
FIG. 3 shows a configuration example of an exclusive control flag management method according to the third embodiment. In the present embodiment,
The processor ID that is the processor ID2 under exclusive control corresponding to the exclusive control flag 1 in the memory 3 is defined as a bit string having two fields. Processor ID
Is composed of a node ID field 30 capable of identifying a node including the processor, and an intra-node identification field 31 capable of identifying the processor among processors included in the node. If the processor ID has this structure, the processor ID
By referring to the inside node ID field, the node ID of the node including the processor having the processor ID can be obtained.

【0068】また第1の実施形態が図7に示したノード
−プロセッサ対応テーブル10、変換手段11および識
別手段12を持つのに対し、第3の実施形態において
は、ノード−プロセッサ対応テーブル10にノードID
をプロセッサIDと共に格納しており、変換手段11内
の参照キーレジスタ75にノードIDとプロセッサID
を対としたプロセッサIDが入力され、ノード識別手段
32に障害を発生したノードIDと、メモリアクセス回
路7からの排他制御中プロセッサIDを入力される。
While the first embodiment has the node-processor correspondence table 10, the conversion means 11, and the identification means 12 shown in FIG. 7, in the third embodiment, the node-processor correspondence table 10 Node ID
Is stored together with the processor ID, and the node ID and the processor ID are stored in the reference key register 75 in the conversion means 11.
Are input, and the node ID in which the failure has occurred in the node identification means 32 and the processor ID under exclusive control from the memory access circuit 7 are input.

【0069】図9にノード識別手段32の構成例を示
す。ノード識別手段32は、比較レジスタA90、比較
レジスタB91、アドレス保持レジスタ92、比較器9
3から構成される。比較レジスタA90はノードIDを
格納する。比較レジスタB91はメモリアクセス回路7
から出力される排他制御中プロセッサID2を格納し、
クリア手段13にノードIDフィールド30のみを出力
する。アドレス保持レジスタ92はメモリアクセス回路
7から出力される比較レジスタB91中の排他制御中プ
ロセッサID2のメモリ3中のアドレスを保持する。比
較器93は比較レジスタA91と、比較レジスタB92
の出力するノードIDフィールドの比較を行う。
FIG. 9 shows a configuration example of the node identification means 32. The node identification means 32 includes a comparison register A90, a comparison register B91, an address holding register 92, a comparator 9
3 The comparison register A90 stores the node ID. The comparison register B91 is a memory access circuit 7
The exclusive control processor ID2 output from the
Only the node ID field 30 is output to the clear unit 13. The address holding register 92 holds the address in the memory 3 of the processor under exclusive control ID2 in the comparison register B91 output from the memory access circuit 7. The comparator 93 includes a comparison register A91 and a comparison register B92.
Are compared with each other in the node ID field.

【0070】次に、第3の実施形態ににおける本発明の
動作を説明する。ノードに障害が発生した場合、ノード
識別手段32によって、障害処理制御回路6が出力した
ノードIDと、メモリアクセス回路7から出力される排
他制御中プロセッサID2のノード識別フィールド30
との比較が行われ、ノード識別フィールド30の比較結
果が一致であったならば、クリア手段13に対して当該
アドレスに対するノードIDフィールド30とノード内
識別フィールド31と対の関係の排他制御フラグ1を”
1”から”0”に切り換えるように、メモリ30に対し
てクリアが指示される。
Next, the operation of the present invention in the third embodiment will be described. When a failure occurs in the node, the node ID output by the failure processing control circuit 6 and the node identification field 30 of the exclusive control processor ID 2 output from the memory access circuit 7 are output by the node identification means 32.
Is compared, and if the comparison result in the node identification field 30 indicates a match, the clear means 13 sends an exclusive control flag 1 indicating the paired relationship between the node ID field 30 and the intra-node identification field 31 for the address. "
The clear is instructed to the memory 30 so as to switch from “1” to “0”.

【0071】その他の動作は第1の実施形態と同様であ
る。
The other operations are the same as in the first embodiment.

【0072】[第4の実施形態]第4の実施形態は、第
2の実施形態の実施される情報処理装置と同一の情報処
理装置(図6)において、即ち複数のノード間接続装置
を備えたクラスタ構成の情報処理装置によって実施され
る。
[Fourth Embodiment] In a fourth embodiment, the same information processing apparatus (FIG. 6) as the information processing apparatus according to the second embodiment is provided, that is, a plurality of inter-node connection devices are provided. This is performed by an information processing apparatus having a cluster configuration.

【0073】図4に第4の実施形態における排他制御フ
ラグ管理方式の構成例を示す。本実施形態は、第1の実
施形態において、ノード−プロセッサ対応テーブル10
をアクセス経路−ノード対応テーブル40で置き換え、
また、識別手段12を第3の実施形態におけるノード識
別手段32に置き換えた構成を取る。
FIG. 4 shows a configuration example of an exclusive control flag management method according to the fourth embodiment. This embodiment is different from the first embodiment in that the node-processor correspondence table 10
Is replaced with the access route-node correspondence table 40,
Further, a configuration is adopted in which the identification means 12 is replaced with the node identification means 32 in the third embodiment.

【0074】アクセス経路−ノード対応テーブル40
は、図6のような大規模なクラスタ構成の情報処理装置
において、アクセス経路と、当該アクセス経路に障害が
発生した場合、排他制御フラグに対するアクセスが不可
能となるノードとの対応関係が記述される。図6の例で
は、ノード−ノード間接続装置間のアクセス経路54に
対しては、それぞれが接続するノードが記述され、ノー
ド間接続装置−ノード間接続装置間のアクセス経路60
に対しては、ノード3、ノード4、ノード5の3ノード
が記述される。
Access route-node correspondence table 40
In the information processing apparatus having a large-scale cluster configuration as shown in FIG. 6, a correspondence between an access path and a node that cannot access the exclusive control flag when a failure occurs in the access path is described. You. In the example of FIG. 6, the nodes to be connected to each other are described for the access path 54 between the node-to-node connecting device, and the access path 60 between the node-to-node connecting device-to-node connecting device
, Three nodes of node 3, node 4, and node 5 are described.

【0075】次に、第4の実施形態における本発明の動
作を説明する。アクセス経路に障害が発生した場合、変
換手段11によって、障害処理制御回路6から受信した
アクセス経路IDを参照キーとしたアクセス経路−ノー
ド対応テーブル40の参照が行われ、当該アクセス経路
IDを経由して排他制御フラグに対するアクセスを行う
ノードのノードIDが読み出され、ノード識別手段32
に対して出力される。
Next, the operation of the present invention in the fourth embodiment will be described. When a failure occurs in the access path, the conversion means 11 refers to the access path-node correspondence table 40 using the access path ID received from the failure processing control circuit 6 as a reference key, and passes through the access path ID. The node ID of the node that accesses the exclusive control flag is read out by the
Is output to

【0076】第3の実施形態の場合と同様に、ノード識
別手段32によって、変換手段11から出力されるノー
ドIDと、メモリアクセス回路7から出力される排他制
御中プロセッサID2のノード識別フィールド30との
比較が行われ、ノード識別フィールド30の比較結果が
一致であったならば、クリア手段13に対して当該アド
レスのノード識別フィールド30に対する排他制御フラ
グ1のクリアが指示される。
As in the case of the third embodiment, the node ID output from the conversion means 11 and the node ID field 30 of the exclusive-controlling processor ID 2 output from the memory access circuit 7 are output by the node identification means 32. Is performed, and if the comparison result in the node identification field 30 is a match, the clearing unit 13 is instructed to clear the exclusive control flag 1 for the node identification field 30 of the address.

【0077】その他の動作は第1の実施形態と同様であ
る。
Other operations are the same as those of the first embodiment.

【0078】[第5の実施形態]図10に第5の実施形
態の構成を示す。上記各実施形態とは異なり、ノード1
00は、プロセッサ110とメモリ114を搭載する複
数のノード100〜10nと、各ノード間を接続するノ
ード間接続装置120とを持ち、かつプロセッサ110
上にメモリ資源管理手段112を持つ情報処理装置にお
いて、ノード間接続装置120上に各ノード上のプロセ
ッサ110からアクセス可能な共有レジスタ123を持
つ構成を備えている。このような情報処理装置におい
て、各ノード100〜10nのメモリ資源管理手段11
2は共有レジスタ123を用いてノード間にまたがるメ
モリ資源114の確保/解放処理を行うことが可能とな
る。
[Fifth Embodiment] FIG. 10 shows the configuration of a fifth embodiment. Unlike the above embodiments, the node 1
00 has a plurality of nodes 100 to 10n each including a processor 110 and a memory 114, and an inter-node connection device 120 for connecting the nodes.
The information processing apparatus having the memory resource management means 112 above has a configuration in which a shared register 123 accessible from the processor 110 on each node is provided on the inter-node connection device 120. In such an information processing apparatus, the memory resource management unit 11 of each of the nodes 100 to 10n
2 can perform the process of securing / releasing the memory resource 114 across the nodes using the shared register 123.

【0079】しかし、あるノード100〜10nのメモ
リ資源管理手段114が共有レジスタ123上でメモリ
資源114を確保している時点で、当該ノード−ノード
間接続装置120間に接続障害が発生し、システムから
当該ノードが切り放された場合、共有レジスタ123上
の確保情報はリセット不可能となり、接続障害ノードに
よって確保されたメモリ114のリソース資源は再利用
不可能となってしまう。
However, when the memory resource management means 114 of one of the nodes 100 to 10n secures the memory resource 114 on the shared register 123, a connection failure occurs between the node-to-node connection device 120 and the system When the node is disconnected from the node, the secured information on the shared register 123 cannot be reset, and the resource resources of the memory 114 secured by the connection failure node cannot be reused.

【0080】情報処置装置中のノード間接続装置120
に接続障害検出手段121と障害情報通知手段122
を、また、バスで接続された診断処理装置130中に障
害情報中継手段131を、各ノードのプロセッサ上に障
害情報受信手段111を、メモリ資源管理手段112中
に障害ノード資源解放手段113を持ち、接続障害の発
生時に、接続障害ノード以外のノード上のメモリ資源管
理手段112に対して共有レジスタ123が無効となっ
たことを通知し、かつ接続障害のノードに確保されたメ
モリ資源を解放することを可能とする。
The inter-node connection device 120 in the information processing device
Connection failure detecting means 121 and failure information notifying means 122
The fault information relay means 131 is provided in the diagnostic processor 130 connected by the bus, the fault information receiving means 111 is provided on the processor of each node, and the fault node resource releasing means 113 is provided in the memory resource management means 112. When a connection failure occurs, the memory resource management unit 112 on a node other than the connection failure node is notified of the invalidation of the shared register 123, and the memory resource secured in the node having the connection failure is released. To make things possible.

【0081】プロセッサ110とメモリ114を搭載す
る複数のノード100〜10nと、各ノード間を接続す
るノード間接続装置120と、ノード100〜10n及
びノード間接続装置120と接続する診断処理装置13
0とを持ち、かつプロセッサ110上にメモリ資源管理
手段112を持ち、かつノード間接続装置120上に各
ノード上のプロセッサ110からアクセス可能な共有レ
ジスタ123を持つ情報処理装置において、ノード10
0〜10n上に接続障害検出手段121と障害情報通知
手段122を、診断処理装置130上に障害情報中継手
段131を、プロセッサ110上に障害情報受信手段1
11を、メモリ資源管理手段112中に障害ノード資源
解放手段113を持つ。
A plurality of nodes 100 to 10 n on which the processor 110 and the memory 114 are mounted, an inter-node connecting device 120 connecting between the nodes, and a diagnostic processing device 13 connecting to the nodes 100 to 10 n and the inter-node connecting device 120
0, and a memory resource management unit 112 on the processor 110, and a shared register 123 accessible from the processor 110 on each node on the internode connecting device 120,
0-10n, the fault information notifying means 122, the fault information relay means 131 on the diagnostic processing device 130, and the fault information receiving means 1 on the processor 110.
11 has a failed node resource release unit 113 in the memory resource management unit 112.

【0082】情報処理装置を構成するあるノード−ノー
ド間接続装置間に接続障害が発生した場合、当該ノード
はシステムから切り放される。これ以降、接続障害ノー
ドからノード間接続装置120中の共有レジスタ123
はアクセス不能となり、正常なメモリ資源管理は実行不
可能となる。
When a connection failure occurs between a certain node-node connection device constituting the information processing device, the node is disconnected from the system. After this, the shared register 123 in the node-to-node connection device 120 changes from the connection failure node.
Becomes inaccessible, and normal memory resource management becomes impossible.

【0083】接続障害ノードの切り放し時、接続障害ノ
ードは接続障害検出手段121によって接続障害を検出
し、障害情報通知手段122によって診断処理装置13
0に対して障害情報を通知する。診断処理装置130は
障害情報中継手段131によって接続障害ノード以外の
各ノードに対して障害情報を通知する。
At the time of disconnection of the connection failure node, the connection failure node detects a connection failure by the connection failure detecting means 121, and the diagnostic processing unit 13 by the failure information notifying means 122.
0 is notified of failure information. The diagnostic processing device 130 notifies the failure information relay unit 131 of failure information to each node other than the connection failure node.

【0084】各ノード100〜10nのプロセッサ11
0の障害情報受信手段111は障害情報を受信したなら
ば、メモリ資源管理手段112に対して接続障害の発生
を通知する。
Processor 11 of each of nodes 100 to 10n
When the fault information receiving means 111 receives the fault information, it notifies the memory resource managing means 112 of the occurrence of the connection fault.

【0085】メモリ資源管理手段112は、接続障害の
発生を通知されることにより正常なメモリ資源管理の実
行不可能を判定し、障害ノード資源解放手段113によ
って接続障害ノードによって確保されているメモリ資源
を解放する。同時に、共有レジスタ123上の情報は無
効と判断される。
The memory resource management means 112 determines that the normal memory resource management cannot be executed by being notified of the occurrence of the connection failure, and the memory resource secured by the failed connection node by the failed node resource release means 113. To release. At the same time, the information on the shared register 123 is determined to be invalid.

【0086】以上の動作により、接続障害が発生したノ
ード100〜10nによって確保されたメモリ資源の再
利用が可能となる。
By the above operation, the memory resources secured by the nodes 100 to 10n in which the connection failure has occurred can be reused.

【0087】本実施形態では、ノード100〜10n構
成は第1乃至第4の実施形態とは異なり、またノード間
接続装置120と診断処理装置130と各ノードから使
用可能なメモリ114とをノード間接続装置63内に含
めても、本実施形態と同様に動作することは勿論であ
る。
In this embodiment, the configuration of the nodes 100 to 10n is different from those of the first to fourth embodiments, and the inter-node connecting device 120, the diagnostic processing device 130, and the memory 114 usable from each node are connected to each other. Of course, even when included in the connection device 63, the same operation as in the present embodiment is performed.

【0088】[0088]

【発明の効果】以上に説明したように、本発明により、
複数のプロセッサから構成されるノードと、複数のノー
ド間を接続するノード間接続装置からなるクラスタ構成
の情報処理装置、あるいは複数のノード間を、複数のノ
ード間接続装置によって接続するクラスタ構成の情報処
理装置において、障害によって排他制御中のプロセッサ
を含むノードからの排他制御フラグに対するアクセスが
不可能となった場合に、排他制御フラグへのアクセスが
不可能となったプロセッサによってセットされた排他制
御フラグをクリアすることにより、共有リソースに対す
る排他制御状態を解除することが可能となる。
As described above, according to the present invention,
Information processing apparatus having a cluster configuration including a node composed of a plurality of processors and an inter-node connection device connecting the plurality of nodes, or information on a cluster configuration connecting a plurality of nodes through a plurality of inter-node connection devices In the processing device, when access to the exclusive control flag from the node including the processor under exclusive control becomes impossible due to a failure, the exclusive control flag set by the processor that cannot access the exclusive control flag. , The exclusive control state for the shared resource can be released.

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

【図1】本発明による実施形態の概略ブロック図であ
る。
FIG. 1 is a schematic block diagram of an embodiment according to the present invention.

【図2】本発明による実施形態の概略ブロック図であ
る。
FIG. 2 is a schematic block diagram of an embodiment according to the present invention.

【図3】本発明による実施形態の概略ブロック図であ
る。
FIG. 3 is a schematic block diagram of an embodiment according to the present invention.

【図4】本発明による実施形態の概略ブロック図であ
る。
FIG. 4 is a schematic block diagram of an embodiment according to the present invention.

【図5】本発明による実施形態のクラスタ構成による情
報処理装置の概略ブロック図である。
FIG. 5 is a schematic block diagram of an information processing apparatus having a cluster configuration according to an embodiment of the present invention.

【図6】本発明による実施形態のクラスタ構成による情
報処理装置の概略ブロック図である。
FIG. 6 is a schematic block diagram of an information processing apparatus having a cluster configuration according to an embodiment of the present invention.

【図7】本発明による実施形態のノード−プロセッサ対
応テーブルと変換手段との概略ブロック図である。
FIG. 7 is a schematic block diagram of a node-processor correspondence table and a conversion unit of the embodiment according to the present invention.

【図8】本発明による実施形態の識別手段とクリア手段
との概略ブロック図である。
FIG. 8 is a schematic block diagram of an identification unit and a clear unit of the embodiment according to the present invention.

【図9】本発明による実施形態の識別手段の概略ブロッ
ク図である。
FIG. 9 is a schematic block diagram of an identification unit of an embodiment according to the present invention.

【図10】本発明による実施形態の概略ブロック図であ
る。
FIG. 10 is a schematic block diagram of an embodiment according to the present invention.

【符号の説明】 1 排他制御フラグ 2 排他制御中プロセッサID 3 メモリ 4 バス 5 排他制御アクセス制御回路 6 障害処理制御回路 7 メモリアクセス回路 10 ノード−プロセッサ対応テーブル 11 変換手段 12 識別手段 13 クリア手段 20 アクセス経路−プロセッサ対応テーブル 30 ノードIDフィールド 31 ノード内識別フィールド 32 ノード識別手段 40 アクセス経路−ノード対応テーブル 90,91 比較レジスタ 123 共有レジスタ 130 診断処理装置[Description of Signs] 1 Exclusive control flag 2 Processor ID under exclusive control 3 Memory 4 Bus 5 Exclusive control access control circuit 6 Fault processing control circuit 7 Memory access circuit 10 Node-processor correspondence table 11 Conversion means 12 Identification means 13 Clear means 20 Access route-processor correspondence table 30 Node ID field 31 Intra-node identification field 32 Node identification means 40 Access route-node correspondence table 90, 91 Comparison register 123 Shared register 130 Diagnostic processing device

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 複数のプロセッサから構成されるノード
と、複数のノード間を接続するノード間接続装置からな
るクラスタ構成の情報処理装置において、 前記プロセッサIDとこれに対応する排他制御フラグ
と、 前記ノードのノードIDと前記プロセッサIDとを対と
するノード−プロセッサ対応テーブルを参照し、前記ノ
ードIDを前記プロセッサIDに変換する変換手段と、 前記変換手段の出力するプロセッサIDと排他制御中の
プロセッサIDとを比較して識別する識別手段と、 前記識別手段によって前記プロセッサIDの一致が識別
されたならば、排他制御フラグをクリアするクリア手段
と、を備え、 前記プロセッサに障害が発生した場合に、前記ノードに
含まれる全てのプロセッサのセットされた排他制御フラ
グをクリアすることを特徴とする情報処理装置。
1. An information processing apparatus having a cluster configuration including a node including a plurality of processors and an inter-node connecting device for connecting the plurality of nodes, wherein the processor ID, an exclusive control flag corresponding to the processor ID, A conversion unit for converting the node ID into the processor ID by referring to a node-processor correspondence table in which the node ID of the node and the processor ID are paired, and a processor under exclusive control of the processor ID output by the conversion unit ID means for comparing the ID with an ID, and clearing means for clearing an exclusive control flag if a match of the processor ID is identified by the identifying means. Clearing the set exclusive control flags of all the processors included in the node. The information processing apparatus according to claim.
【請求項2】 複数のプロセッサから構成されるノード
と、複数のノード間を接続するノード間接続装置からな
るクラスタ構成の情報処理装置において、 前記プロセッサIDとこれに対応する排他制御フラグ
と、 前記ノードのノードIDと前記プロセッサIDとを対と
するノード−プロセッサ対応テーブルを参照し、前記ノ
ードIDを前記プロセッサIDに変換する変換手段と、 前記変換手段の出力するプロセッサIDと排他制御中の
プロセッサIDとを比較して識別する識別手段と、 前記識別手段によって前記プロセッサIDの一致が識別
されたならば、排他制御フラグをクリアするクリア手段
と、を備え、 前記ノードに障害が発生した場合に、前記ノードに含ま
れる全てのプロセッサのセットされた排他制御フラグを
クリアすることを特徴とする情報処理装置。
2. An information processing apparatus having a cluster configuration including a node including a plurality of processors and an inter-node connecting device connecting the plurality of nodes, wherein the processor ID, an exclusive control flag corresponding to the processor ID, A conversion unit for converting the node ID into the processor ID by referring to a node-processor correspondence table in which the node ID of the node and the processor ID are paired, and a processor under exclusive control of the processor ID output by the conversion unit ID means for comparing the IDs with each other, and clearing means for clearing an exclusive control flag if a match of the processor ID is identified by the identifying means. Clearing the set exclusive control flags of all the processors included in the node. Information processing apparatus according to symptoms.
【請求項3】 複数のプロセッサから構成されるノード
と、複数のノード間を接続するノード間接続装置からな
り、前記ノード間接続装置上に排他制御フラグを設け前
記プロセッサ間の排他制御を行うクラスタ構成の情報処
理装置の排他制御フラグ管理方式において、 排他制御フラグと対となる排他制御フラグをセットした
プロセッサのプロセッサIDを示す排他制御中プロセッ
サIDを格納する記憶手段と、 前記ノードに付与されたノードIDと前記ノード内に含
まれる前記プロセッサのプロセッサIDとの対応を記述
したノード−プロセッサ対応テーブルを格納する記憶手
段と、 前記ノードに障害が発生した場合、前記ノード−プロセ
ッサ対応テーブルを参照し、前記ノードIDを前記プロ
セッサIDに変換する変換手段と、 前記変換手段の出力する前記プロセッサIDと前記排他
制御中プロセッサIDとを比較し、一致するか否かを識
別する識別手段と、 前記識別手段によって前記プロセッサIDの一致が識別
されたならば、前記排他制御フラグをクリアするクリア
手段と、を有し、前記ノードに障害が発生した場合に、
前記ノードに含まれる全ての前記プロセッサがセットし
た前記排他制御フラグをクリアすることを可能とする排
他制御フラグ管理方式。
3. A cluster comprising a node composed of a plurality of processors and an inter-node connecting device connecting the plurality of nodes, wherein an exclusive control flag is provided on the inter-node connecting device to perform exclusive control between the processors. In the exclusive control flag management method of the information processing apparatus having the configuration, a storage means for storing an exclusive control processor ID indicating a processor ID of a processor which sets the exclusive control flag paired with the exclusive control flag; Storage means for storing a node-processor correspondence table describing a correspondence between a node ID and a processor ID of the processor included in the node; and, when a failure occurs in the node, referencing the node-processor correspondence table. Conversion means for converting the node ID into the processor ID; An identification means for comparing the processor ID output from the stage with the processor ID under exclusive control and identifying whether or not the processor ID is identical; and Clearing means for clearing a flag, and when a failure occurs in the node,
An exclusive control flag management method that enables the exclusive control flags set by all the processors included in the node to be cleared.
【請求項4】 複数のプロセッサから構成されるノード
と、複数のノード間を複数のノード間接続装置によって
接続し、前記ノード間接続装置の一つの上に排他制御フ
ラグを設け、前記プロセッサ間の排他制御を行うクラス
タ構成の情報処理装置の排他制御フラグ管理方式におい
て、 前記排他制御フラグと、前記排他制御フラグをセットし
たプロセッサのプロセッサIDを示す排他制御中プロセ
ッサIDと、 前記ノードとの前記ノード間接続装置間、および前記ノ
ード間接続装置とノード間接続装置間のアクセス経路に
付与されたアクセス経路IDと、当該アクセス経路を経
由して前記排他制御フラグに対してアクセスを行う前記
プロセッサのプロセッサIDとの対応を記述したアクセ
ス経路−プロセッサ対応テーブルと、 前記アクセス経路に障害が発生した場合、前記アクセス
経路−プロセッサ対応テーブルを参照し、前記アクセス
経路IDを前記プロセッサIDに変換する変換手段と、 前記変換手段の出力する前記プロセッサIDと前記排他
制御中プロセッサIDとを比較し、一致するか否かを識
別する識別手段と、 前記識別手段によって前記プロセッサIDの一致が識別
されたならば、前記排他制御フラグをクリアするクリア
手段と、を有し、前記アクセス経路に障害が発生した場
合に、当該アクセス経路を経由して前記排他制御フラグ
にアクセスを行う全てのプロセッサがセットした排他制
御フラグをクリアすることを可能とする排他制御フラグ
管理方式。
4. A node comprising a plurality of processors and a plurality of nodes are connected by a plurality of inter-node connecting devices, an exclusive control flag is provided on one of the inter-node connecting devices, and In an exclusive control flag management method for an information processing apparatus having a cluster configuration that performs exclusive control, the exclusive control flag, an exclusive control processor ID indicating a processor ID of a processor that has set the exclusive control flag, and the node with the node Path IDs assigned to access paths between the interconnecting devices and between the inter-node connecting device and the inter-node connecting device, and the processor of the processor that accesses the exclusive control flag via the access route An access path-processor correspondence table describing correspondence with an ID, and the access path When a failure occurs, the conversion unit refers to the access path-processor correspondence table and converts the access path ID to the processor ID. The processor ID output by the conversion unit and the exclusive control processor ID And an identification unit for identifying whether or not they match each other, and a clearing unit for clearing the exclusive control flag if the identification unit identifies the match of the processor ID, An exclusive control flag management method that enables all processors that access the exclusive control flag via the access path to clear the exclusive control flag that has been set when a failure occurs.
【請求項5】 複数のプロセッサから構成されるノード
と、複数のノード間を接続するノード間接続装置からな
り、ノード間接続装置上に排他制御フラグを設け、プロ
セッサ間の排他制御を行うクラスタ構成の情報処理装置
の排他制御フラグ管理方式において、 前記プロセッサのプロセッサIDを、前記プロセッサが
含まれる前記ノードのノードIDを格納するノードID
フィールドと、前記ノード内のプロセッサを識別可能な
ノード内識別フィールドとを対として格納する記憶手段
と、 前記排他制御フラグと、前記排他制御フラグをセットし
た前記プロセッサのプロセッサIDを示す排他制御中プ
ロセッサIDと、 前記ノードに障害が発生した場合、前記ノードIDと、
前記排他制御中プロセッサIDの前記ノードIDフィー
ルドとを比較し、一致するか否かを識別するノード識別
手段と、 前記ノード識別手段によって前記ノードIDの一致が識
別されたならば、前記排他制御フラグをクリアするクリ
ア手段と、を有し、前記ノードに障害が発生した場合
に、前記ノードに含まれる全ての前記プロセッサがセッ
トした前記排他制御フラグをクリアすることを可能とす
る排他制御フラグ管理方式。
5. A cluster configuration comprising a node composed of a plurality of processors and an inter-node connecting device for connecting the plurality of nodes, wherein an exclusive control flag is provided on the inter-node connecting device to perform exclusive control between the processors. An exclusive control flag management method for an information processing apparatus according to claim 1, wherein a processor ID of said processor is a node ID for storing a node ID of said node including said processor.
Storage means for storing, as a pair, a field and an in-node identification field capable of identifying a processor in the node; an exclusive control processor indicating the processor ID of the processor that has set the exclusive control flag and the exclusive control flag An ID, and if the node fails, the node ID;
A node identification unit that compares the node ID field of the processor ID under the exclusive control and determines whether or not the node ID field matches the node ID field; Clearing means for clearing the exclusive control flag, wherein when a failure occurs in the node, the exclusive control flag set by all the processors included in the node can be cleared. .
【請求項6】 複数のプロセッサから構成されるノード
と、複数のノード間を複数のノード間接続装置によって
接続し、ノード間接続装置の一つの上に排他制御フラグ
を設け、プロセッサ間の排他制御を行うクラスタ構成の
情報処理装置の排他制御フラグ管理方式において、 前記プロセッサのプロセッサIDを、前記プロセッサが
含まれる前記ノードのノードIDを格納するノードID
フィールドと、前記ノード内の前記プロセッサを識別可
能なノード内識別フィールドとに含めて格納した記憶手
段と、 前記排他制御フラグと、前記排他制御フラグをセットし
た前記プロセッサのプロセッサIDを示す排他制御中プ
ロセッサIDと、 前記ノードと前記ノード間接続装置間、および前記ノー
ド間接続装置と他の前記ノード間接続装置間のアクセス
経路に付与されたアクセス経路IDと、当該アクセス経
路を経由して前記排他制御フラグに対してアクセスを行
う前記ノードのノードIDとの対応を記述したアクセス
経路−ノード対応テーブルと、 前記アクセス経路に障害が発生した場合、前記アクセス
経路−ノード対応テーブルを参照し、前記アクセス経路
IDを前記ノードIDに変換する変換手段と、 前記変換手段の出力する前記ノードIDと、前記排他制
御中プロセッサIDの前記ノードIDフィールドとを比
較し、一致するか否かを識別するノード識別手段と、 前記ノード識別手段によって前記ノードIDの一致が識
別されたならば、前記排他制御フラグをクリアするクリ
ア手段と、を有し、前記アクセス経路に障害が発生した
場合に、当該アクセス経路を経由して前記排他制御フラ
グにアクセスを行う全ての前記ノードに含まれる前記プ
ロセッサがセットした前記排他制御フラグをクリアする
ことを可能とする情報処理装置の排他制御フラグ管理方
式。
6. A node comprising a plurality of processors and a plurality of nodes are connected by a plurality of inter-node connecting devices, an exclusive control flag is provided on one of the inter-node connecting devices, and an exclusive control between processors is provided. In the exclusive control flag management method for an information processing apparatus having a cluster configuration, a processor ID of the processor is set as a node ID storing a node ID of the node including the processor.
A field, a storage unit that stores the processor in the node in a node identification field capable of identifying the processor, the exclusive control flag, and an exclusive control indicating the processor ID of the processor that has set the exclusive control flag. A processor ID, an access path ID assigned to an access path between the node and the inter-node connection device, and an access path between the inter-node connection device and another inter-node connection device, and the exclusion via the access path. The access path-node correspondence table describing the correspondence between the node and the node ID of the node that accesses the control flag, and if a failure occurs in the access path, the access path-node correspondence table is referred to, and the access is performed. Conversion means for converting a path ID into the node ID, and an output from the conversion means A node identification unit that compares the node ID with the node ID field of the exclusive-controlling processor ID and determines whether or not the node ID matches each other; Clearing means for clearing the exclusive control flag, wherein when a failure occurs in the access path, the node is included in all the nodes that access the exclusive control flag via the access path. An exclusive control flag management method for an information processing apparatus that enables the exclusive control flag set by a processor to be cleared.
JP12384997A 1997-05-14 1997-05-14 Information processor and exclusive control flag management system Pending JPH10312364A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12384997A JPH10312364A (en) 1997-05-14 1997-05-14 Information processor and exclusive control flag management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12384997A JPH10312364A (en) 1997-05-14 1997-05-14 Information processor and exclusive control flag management system

Publications (1)

Publication Number Publication Date
JPH10312364A true JPH10312364A (en) 1998-11-24

Family

ID=14870926

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12384997A Pending JPH10312364A (en) 1997-05-14 1997-05-14 Information processor and exclusive control flag management system

Country Status (1)

Country Link
JP (1) JPH10312364A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001297072A (en) * 2000-03-09 2001-10-26 Dell Products Lp System and method for managing storage resource in clustered computer processing environment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001297072A (en) * 2000-03-09 2001-10-26 Dell Products Lp System and method for managing storage resource in clustered computer processing environment

Similar Documents

Publication Publication Date Title
JP4107083B2 (en) High-availability disk controller, its failure handling method, and high-availability disk subsystem
JP5102901B2 (en) Method and system for maintaining data integrity between multiple data servers across a data center
US7313717B2 (en) Error management
CN101582787B (en) Double-computer backup system and backup method
US7853767B2 (en) Dual writing device and its control method
US8286031B2 (en) Highly reliable storage system and internal network thereof
US20040221198A1 (en) Automatic error diagnosis
WO2021027481A1 (en) Fault processing method, apparatus, computer device, storage medium and storage system
JP2003131900A (en) Server system operation management method
CN106843749A (en) Write request processing method, device and equipment
JP2002323987A (en) Method and system for eliminating duplicate reported errors in logically partitioned multiprocessing system
US20020186711A1 (en) Fault containment and error handling in a partitioned system with shared resources
JP4106014B2 (en) Communication method and program in multi-node data processing system including at least one non-volatile data storage device
CN117411840A (en) Link failure processing method, device, equipment, storage medium and program product
KR100323255B1 (en) Job taking-over system
JPS6375963A (en) System recovery method
CN116340045A (en) Database exception processing method, device, equipment and computer-readable storage medium
US5517616A (en) Multi-processor computer system with system monitoring by each processor and exchange of system status information between individual processors
JPH10312364A (en) Information processor and exclusive control flag management system
US12386854B2 (en) Data synchronization method and apparatus
JP2001195377A (en) Isolation judgment system, management method therefor and recording medium
CN115913908B (en) A dual-node DSC cluster fault switching method, system, device and medium
JPH1027115A (en) Fault information sampling circuit for computer system
TW200307200A (en) Multiple fault location in a series of devices
JP6551024B2 (en) INFORMATION PROCESSING SYSTEM, INFORMATION PROCESSING METHOD, INFORMATION PROCESSING PROGRAM, AND INFORMATION PROCESSING APPARATUS