JPH07120296B2 - Error control method in hot standby system - Google Patents

Error control method in hot standby system

Info

Publication number
JPH07120296B2
JPH07120296B2 JP5158286A JP15828693A JPH07120296B2 JP H07120296 B2 JPH07120296 B2 JP H07120296B2 JP 5158286 A JP5158286 A JP 5158286A JP 15828693 A JP15828693 A JP 15828693A JP H07120296 B2 JPH07120296 B2 JP H07120296B2
Authority
JP
Japan
Prior art keywords
error
processor
standby system
instruction
holding means
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP5158286A
Other languages
Japanese (ja)
Other versions
JPH0713792A (en
Inventor
義則 山本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
Nippon Electric Co 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP5158286A priority Critical patent/JPH07120296B2/en
Publication of JPH0713792A publication Critical patent/JPH0713792A/en
Publication of JPH07120296B2 publication Critical patent/JPH07120296B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Retry When Errors Occur (AREA)
  • Hardware Redundancy (AREA)
  • Multi Processors (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、複数のマルチプロセッ
サシステムからなるホットスタンバイシステムにおける
エラー制御方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an error control system in a hot standby system composed of a plurality of multiprocessor systems.

【0002】[0002]

【従来の技術】従来のこの種のエラー制御方式は、命令
再試行可能な障害が発生した場合には、マルチプロセッ
サシステムが具備しているプロセッサリリーフ機能によ
りエラーが回避され、そのまま継続運転が可能なように
行い、障害が発生したプロセッサはシステムから切り離
すようにしている。
2. Description of the Related Art In the conventional error control system of this kind, when a failure in which an instruction can be retried occurs, an error is avoided by a processor relief function of a multiprocessor system, and continuous operation is possible as it is. In this way, the failed processor is disconnected from the system.

【0003】[0003]

【発明が解決しようとする課題】上述した従来のホット
スタンバイシステムにおけるエラー制御方式では、現用
系システムにおいて系切換の対象となるような障害が発
生し、系切換が行われ待機系が現用系として運用されて
いる場合にも、命令再試行可能な障害が発生した場合に
はプロセッサリリーフ機能により、障害の発生した論理
装置が切離されてしまうため、システムの運用上、性能
的にシステムダウンと等価の状態となってしまう場合が
あり、著しくシステムの信頼性を低下させるという問題
点があった。
In the error control method in the above-mentioned conventional hot standby system, a failure occurs which is a target of system switching in the active system, system switching is performed, and the standby system becomes the active system. Even if the system is operating, if a failure that can be retried by an instruction occurs, the processor relief function disconnects the failed logical unit. There is a problem in that they may be in an equivalent state, which significantly reduces the reliability of the system.

【0004】[0004]

【課題を解決するための手段】本発明のエラー制御方式
は、複数のマルチプロセッサシステムが相互に接続さ
れ、各々が現用系または待機系として運用されるホット
スタンバイシステムにおけるエラー制御方式において、
前記マルチプロセッサシステムを構成する各プロセッサ
が、現用系か待機系かを示す情報を保持する系モード保
持手段と、命令再試行可能なエラー発生時に前記プロセ
ッサの内容を他の正常なプロセッサへ移送し処理を引継
ぐ手段とを含み、前記プロセッサの1つにおいて、命令
再試行可能なエラーが発生した場合に、前記系モード保
持手段の内容が“待機系モード”の場合には、前記エラ
ーが発生したプロセッサにて命令再試行を行い、“現用
系モードの場合には、前記エラーが発生したプロセッサ
の内容を他の正常なプロセッサへ移送して処理を継続す
ることを特徴とする。
The error control method of the present invention is an error control method in a hot standby system in which a plurality of multiprocessor systems are mutually connected and each is operated as an active system or a standby system.
Each processor constituting the multiprocessor system holds a system mode holding means for holding information indicating whether it is an active system or a standby system, and transfers the contents of the processor to another normal processor when an instruction retryable error occurs. In the case where an instruction retryable error has occurred in one of the processors, including the means for taking over the processing, if the content of the system mode holding means is "standby system mode", the error has occurred. The processor retries the instruction, and "in the active mode, the contents of the processor in which the error has occurred are transferred to another normal processor to continue the processing.

【0005】[0005]

【実施例】次に、本発明について図面を参照して説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings.

【0006】本発明の第1の実施例を示す図1を参照す
ると、本実施例は、2つのマルチプロセッサシステム1
と2から成り、両者はシステム間結合パス3で結合され
ていて、マルチプロセッサシステム1が現用系、マルチ
プロセッサシステム2が待機系として運用されるホット
スタンバイシステムである。
Referring to FIG. 1 showing a first embodiment of the present invention, the present embodiment shows a two multiprocessor system 1
2 are connected by an inter-system connection path 3, and the multiprocessor system 1 is a hot standby system in which the multiprocessor system 1 is operated as an active system and the multiprocessor system 2 is operated as a standby system.

【0007】マルチプロセッサシステム1,2は、各々
2個の論理装置(以降CPUと記す)から成り、現用系
のマルチプロセッサシステム1においては、CPU1
0,11、待機系のマルチプロセッサシステム2におい
てはCPU20,21から構成されている。また、12
と22はシステム全体を制御するOS、13と23はそ
れぞれCPU10,11及びCPU20,21とのCP
U間結合パスである。
Each of the multiprocessor systems 1 and 2 is composed of two logical units (hereinafter referred to as CPU), and in the active multiprocessor system 1, the CPU 1
In the multiprocessor system 2 of 0 and 11, the standby system, the CPU 20 and 21 are included. Also, 12
And 22 are OSs that control the entire system, 13 and 23 are CPs of the CPUs 10 and 11 and the CPUs 20 and 21, respectively.
It is a U-to-U connection path.

【0008】CPU20は、演算全体の制御を行う演算
部200,エラー検出を行うエラー検出203,エラー
の内容を判断し周知の技術であるプロセッサリリーフ機
能を行うエラー制御部201,立ち上げ時にOSからセ
ットされ“現用系”か“待機系”かの情報を保持する系
モード保持手段204とから構成されている。他のCP
U10,11および21も同様な構成である。従ってマ
ルチプロセッサシステム内の動作については、便宜上、
CPU20と21を使用して、現用系と待機系両方の動
作を説明することにする。
The CPU 20 has an arithmetic unit 200 for controlling the entire arithmetic operation, an error detection 203 for detecting an error, an error control unit 201 for judging the contents of the error and performing a processor relief function which is a well-known technique, and an OS at the time of startup. The system mode holding means 204 holds the information about the set "active system" or "standby system". Other CP
U10, 11 and 21 have the same configuration. Therefore, regarding the operation in the multiprocessor system,
The operations of both the active system and the standby system will be described using the CPUs 20 and 21.

【0009】また、システムが通常有しているI/O系
装置に関しては特に図には示していないが、ファイル装
置,回線装置等を有しており、その一部はホットスタン
バイシステムとして共用されている。
Although not shown in the figure, I / O system devices which the system normally has are provided with file devices, line devices, etc., some of which are commonly used as a hot standby system. ing.

【0010】本実施例におけるエラー制御は、以下のよ
うにして行われる。
The error control in this embodiment is performed as follows.

【0011】CPU20にてエラーが発生すると、エラ
ー検出部203にて検出された後、エラー制御部201
にその旨が通知される。エラー制御部201は通知され
たエラーが命令再試行可能かを判定し、かつ系モード保
持手段202より系モードを読出す。
When an error occurs in the CPU 20, it is detected by the error detection unit 203 and then the error control unit 201.
Will be notified to that effect. The error control unit 201 determines whether the notified error is an instruction retry, and reads the system mode from the system mode holding unit 202.

【0012】系モード保持手段202には、システム立
ち上げ時に“現用系モード”か“待機系モード”かを示
す情報が保持されている。今、読出した結果“現用系モ
ード”であれば、プロセッサリリーフ機能により、CP
U間結合パス23を経由して必要な情報が一方のCPU
20より他のCPU21へと読出され、前CPU20の
処理がそのまま引継がれ運転がそのまま継続される。し
かし、“待機系モード”であった場合には、エラー制御
部201は、プロセッサリリーフ機能を使用せず、演算
部200に対して命令再試行を行うよう指示し、運用を
継続させるよう制御する。
The system mode holding means 202 holds information indicating "active system mode" or "standby system mode" when the system is started up. If the read result is the "current system mode", the processor relief function causes the CP
The information required via the U-to-U connection path 23 is one CPU
The data is read from the CPU 20 to the other CPU 21, the processing of the previous CPU 20 is taken over as it is, and the operation is continued as it is. However, in the case of the “standby system mode”, the error control unit 201 does not use the processor relief function, but instructs the arithmetic unit 200 to retry the instruction and controls to continue the operation. .

【0013】次に、現用系のマルチプロセッサシステム
1に対して、系切換の対象となる障害が発生すると、シ
ステム間結合パス3を経由し待機系のマルチプロセッサ
システム2のOS22に対しダウン通知が行われる。O
S22は、マルチプロセッサシステム1と共用する資源
を組込み、リカバリ処理を行い、マルチプロセッサシス
テム1の処理を引継ぎ、現用系としてシステムの運転を
再開する。この時、エラー制御部201,211に対し
て、OS22より現用系がダウンした旨が通知される。
Next, when a failure that is the target of system switching occurs in the active multiprocessor system 1, a down notification is sent to the OS 22 of the standby multiprocessor system 2 via the intersystem coupling path 3. Done. O
In S22, the resources shared with the multiprocessor system 1 are incorporated, recovery processing is performed, the processing of the multiprocessor system 1 is taken over, and the system operation is resumed as the active system. At this time, the OS 22 notifies the error control units 201 and 211 that the active system is down.

【0014】この状態でマルチプロセッサシステム2が
運用されていて、CPU20にエラーが発生すると、前
述のようなマルチプロセッサシステム内のエラー処理が
行われることになる。いま、系モード保持手段202に
は“待機系モード”が設定されているため、エラー制御
部201はプロセッサリリーフ機能を使用せず、演算部
200に対して命令再試行を行うよう指示する。
When the multiprocessor system 2 is operated in this state and an error occurs in the CPU 20, the error processing in the multiprocessor system as described above is performed. Now, since the "standby system mode" is set in the system mode holding means 202, the error control unit 201 does not use the processor relief function but instructs the arithmetic unit 200 to retry the instruction.

【0015】本発明の第2の実施例を示す図2を参照す
ると、本実施例は第1の実施例に、刻時し、一定時間毎
に信号を出力するタイマ回路207,217と、上記一
定時間内のエラー回数をカウントするエラー回数カウン
ト手段204,214と、一定時間内のエラー回数のス
レッシュルド値を保持するスレッシュルド値保持手段2
05,215と、エラー回数カウント手段204,21
4とスレッシュルド値保持手段205,215との内容
の大小を判定する監視手段206,216とが付加され
ている。
Referring to FIG. 2 showing a second embodiment of the present invention, the present embodiment is different from the first embodiment in that timer circuits 207 and 217 for clocking and outputting a signal at fixed time intervals are provided. Error number counting means 204, 214 for counting the number of errors within a fixed time, and threshold value holding means 2 for holding a threshold value for the number of errors within a fixed time
05, 215 and error number counting means 204, 21
4 and threshold value holding means 205, 215 and monitoring means 206, 216 for judging the magnitude of the contents are added.

【0016】本実施例においては、現用系のマルチプロ
セッサシステム1において、系ダウンとなる障害が発生
し、待機系のマルチプロセッサシステム2が現用系とし
て運用されるようになったときのエラー制御が第1の実
施例と異なる。
In the present embodiment, error control is performed when an active system failure occurs in the active multiprocessor system 1 and the standby multiprocessor system 2 is operated as the active system. Different from the first embodiment.

【0017】すなわち、現現用系(待機系0)のCPU
20において、エラーが発生した場合、エラー検出部2
03によりエラーが検出されると、エラー制御部201
にその旨が通知され、エラー制御部201はエラーが命
令再試行可能かを判定し、さらに系モード保持手段20
2の内容を読出す。系モード保持手段の内容は“待機系
モード”であるから、以下のようにエラー制御する。
That is, the CPU of the active system (standby system 0)
If an error occurs in 20, the error detection unit 2
When an error is detected by 03, the error control unit 201
Is notified to that effect, the error control unit 201 determines whether the error is an instruction retry, and further, the system mode holding unit 20.
Read the contents of 2. Since the content of the system mode holding means is the "standby system mode", error control is performed as follows.

【0018】先ず、エラー制御部201は、監視手段2
06から通知があったか否かのチェックを行う。監視手
段206は、スレッシュルド値保持手段205とエラー
回数カウント手段204の内容を読出し、その大小を比
較しており、エラー回数カウント手段204の内容の方
が大きい場合には、エラーが頻発していると判断しその
旨をエラー制御部201へ通知する。
First, the error control unit 201 includes the monitoring means 2
It is checked whether or not there is a notification from 06. The monitoring means 206 reads the contents of the threshold value holding means 205 and the error number counting means 204 and compares the contents. If the content of the error number counting means 204 is larger, errors frequently occur. It is determined that the error is present and the error control unit 201 is notified of that fact.

【0019】エラー制御部201は、監視手段206か
ら通知が何もなかった場合には、エラーが頻発していな
いと判断し、演算部200に対して命令再試行を指示
し、CPU20にてそのまま処理を継続する。しかし、
監視手段206より通知があった場合にはプロセッサリ
リーフ機能により、CPU20の処理をCPU21にて
引続いて継続運用を行う。
If there is no notification from the monitoring means 206, the error control unit 201 determines that an error does not occur frequently, instructs the operation unit 200 to retry the instruction, and the CPU 20 directly. Continue processing. But,
When notified by the monitoring unit 206, the processor relief function causes the CPU 21 to continue the operation of the CPU 20.

【0020】本実施例によると、待機系が現用系として
運用されている状態においても、再試行可能なエラーが
発生しても、エラー制御として直ちにプロセッサリリー
フを行わずに、エラーを回復するため、ホットスタンバ
イシステム運用として、より高性能かつ高信頼性なシス
テムを実現できるという効果がある。
According to the present embodiment, even when the standby system is operated as the active system, even if an error that can be retried occurs, the error is not immediately corrected by the processor as error control, but the error is recovered. As a hot standby system operation, there is an effect that a system with higher performance and higher reliability can be realized.

【0021】[0021]

【発明の効果】以上説明したように、本発明は、運用上
システム負荷が大となるようなホットスタンバイシステ
ムにおいて、現用系がダウンし、待機系が現用系として
運用された状態において、さらに再試行可能なエラーが
発生した場合に、エラーが発生したプロセッサで命令再
試行を行うようにしたことにより、高性能かつ高信頼性
なシステムを実現できるという効果がある。
As described above, according to the present invention, in a hot standby system in which the system load is heavy in operation, the active system goes down and the standby system is operated as the active system, and the When a trialable error occurs, the processor in which the error has occurred performs the instruction retry, so that there is an effect that a high-performance and highly reliable system can be realized.

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

【図1】本発明の第1の実施例のシステム構成図であ
る。
FIG. 1 is a system configuration diagram of a first embodiment of the present invention.

【図2】本発明の第2の実施例のシステム構成図であ
る。
FIG. 2 is a system configuration diagram of a second embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1,2 マルチプロセッサシステム 3 システム間結合パス 10,11,20,21 CPU 13,23 CPU間結合パス 12,22 オペレーティングシステム 200,210 演算部 201,211 エラー制御部 202,212 系モード保持手段 203,213 エラー検出部 204,214 エラー回数カウント手段 205,215 スレッシュルド値保持手段 206,216 監視手段 207,217 タイマ回路 1, 2 multiprocessor system 3 system coupling path 10, 11, 20, 21 CPU 13, 23 CPU coupling path 12, 22 operating system 200, 210 arithmetic unit 201, 211 error control unit 202, 212 system mode holding means 203 , 213 Error detection section 204, 214 Error number counting means 205, 215 Threshold value holding means 206, 216 Monitoring means 207, 217 Timer circuit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 複数のマルチプロセッサシステムが相互
に接続され、各々が現用系または待機系として運用され
るホットスタンバイシステムにおけるエラー制御方式に
おいて、 前記マルチプロセッサシステムを構成する各プロセッサ
が、現用系か待機系かを示す情報を保持する系モード保
持手段と、命令再試行可能なエラー発生時に前記プロセ
ッサの内容を他の正常なプロセッサへ移送し処理を引継
ぐ手段とを含み、 前記プロセッサの1つにおいて、命令再試行可能なエラ
ーが発生した場合に、前記系モード保持手段の内容が
“待機系モード”の場合には、前記エラーが発生したプ
ロセッサにて命令再試行を行い、“現用系モードの場合
には、前記エラーが発生したプロセッサの内容を他の正
常なプロセッサへ移送して処理を継続することを特徴と
するホットスタンバイシステムにおけるエラー制御方
式。
1. An error control method in a hot standby system in which a plurality of multiprocessor systems are connected to each other and each is operated as an active system or a standby system, wherein each processor forming the multiprocessor system is an active system. One of the processors includes a system mode holding means for holding information indicating a standby system, and a means for transferring the contents of the processor to another normal processor when an error in which an instruction can be retried occurs and taking over the processing. If an error that can be retried by an instruction occurs, and the content of the system mode holding means is "standby system mode", the processor in which the error has occurred retries the instruction and In this case, transfer the contents of the processor in which the error occurred to another normal processor and continue the processing. Error control method in hot standby system to butterflies.
【請求項2】 前記マルチプロセッサシステムの各プロ
セッサに、タイマ回路と、該タイマ回路が出力する一定
時間毎のエラー発生回数をカウントするエラー回数カウ
ント手段と、前記一定時間内のエラー発生回数の上限値
を保持するスレッシュルド値保持手段と、前記エラー回
数カウント手段とスレッシュルド値保持手段との内容の
大小比較する監視手段とを付加し、 前記プロセッサの1つにおいて、命令再試行可能なエラ
ーが発生した場合、前記系モード保持手段の内容が“待
機系モード”で、かつ前記エラー回数カウント手段の内
容が前記スレッシュルド値保持手段の内容より小の場合
にのみ、前記エラーが発生したプロセッサにて命令再試
行を行い、前記以外の場合には、前記エラーが発生した
プロセッサの内容を前記他の正常なプロセッサへ移送
し、処理を継続することを特徴とした請求項1記載のホ
ットスタンバイシステムにおけるエラー制御方式。
2. A timer circuit for each processor of the multiprocessor system, an error number counting means for counting the number of error occurrences output by the timer circuit at a constant time, and an upper limit of the number of error occurrences within the constant time. A threshold value holding means for holding a value, and a monitoring means for comparing the contents of the error number counting means and the threshold value holding means are added, and in one of the processors, an instruction retryable error occurs. When the error occurs, the processor in which the error has occurred only when the content of the system mode holding means is the "standby system mode" and the content of the error number counting means is smaller than the content of the threshold value holding means. And retry the instruction.In other cases, the contents of the processor in which the error has occurred are returned to the other normal process. Transferred to processor, the error control method in hot standby system of claim 1 wherein characterized in that to continue processing.
JP5158286A 1993-06-29 1993-06-29 Error control method in hot standby system Expired - Lifetime JPH07120296B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5158286A JPH07120296B2 (en) 1993-06-29 1993-06-29 Error control method in hot standby system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5158286A JPH07120296B2 (en) 1993-06-29 1993-06-29 Error control method in hot standby system

Publications (2)

Publication Number Publication Date
JPH0713792A JPH0713792A (en) 1995-01-17
JPH07120296B2 true JPH07120296B2 (en) 1995-12-20

Family

ID=15668283

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5158286A Expired - Lifetime JPH07120296B2 (en) 1993-06-29 1993-06-29 Error control method in hot standby system

Country Status (1)

Country Link
JP (1) JPH07120296B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101562543B (en) 2009-05-25 2013-07-31 阿里巴巴集团控股有限公司 Cache data processing method and processing system and device thereof
JP2012083992A (en) * 2010-10-13 2012-04-26 Nec Computertechno Ltd Data failure processing apparatus and data failure processing method

Also Published As

Publication number Publication date
JPH0713792A (en) 1995-01-17

Similar Documents

Publication Publication Date Title
US7370232B2 (en) Method and apparatus for recovery from loss of lock step
EP1078317B1 (en) Method for switching between multiple system processors
US6622263B1 (en) Method and apparatus for achieving system-directed checkpointing without specialized hardware assistance
US6209051B1 (en) Method for switching between multiple system hosts
JP5392594B2 (en) Virtual machine redundancy system, computer system, virtual machine redundancy method, and program
JP2000105756A (en) Method and device for detecting fault of decentralized application in network and recovering the fault according to extent of specified replication
US5742851A (en) Information processing system having function to detect fault in external bus
JPH07120296B2 (en) Error control method in hot standby system
JPH0652130A (en) Multiprocessor system
JPH05224964A (en) Bus abnormality information system
JP2001175545A (en) Server system, fault diagnosing method, and recording medium
JP2815730B2 (en) Adapters and computer systems
JPS6128141B2 (en)
JP3107104B2 (en) Standby redundancy method
JP4597484B2 (en) Compound computer system
JPH05289896A (en) Fault tolerant computer
JPS62296264A (en) Control system for structure of data processing system
JPH05265790A (en) Microprocessor device
JPS6341943A (en) Error restoring system for logic unit
JPS622334B2 (en)
JPS60251443A (en) Backup device of programmable controller
JPH10275090A (en) Duplexing system for basic processor
JPS6143739B2 (en)
JPH1049395A (en) Fault recovery system for exclusive control processing system
JPH09146853A (en) Duplex computer and fault system restoration method therefor

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19960625