JPH0354639A - Duplex control system - Google Patents

Duplex control system

Info

Publication number
JPH0354639A
JPH0354639A JP1189899A JP18989989A JPH0354639A JP H0354639 A JPH0354639 A JP H0354639A JP 1189899 A JP1189899 A JP 1189899A JP 18989989 A JP18989989 A JP 18989989A JP H0354639 A JPH0354639 A JP H0354639A
Authority
JP
Japan
Prior art keywords
standby
main device
main
old
program
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
JP1189899A
Other languages
Japanese (ja)
Inventor
Keiko Akagawa
赤川 恵子
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
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP1189899A priority Critical patent/JPH0354639A/en
Publication of JPH0354639A publication Critical patent/JPH0354639A/en
Pending legal-status Critical Current

Links

Landscapes

  • Hardware Redundancy (AREA)

Abstract

PURPOSE:To easily obtain the detail information of a fault in an old main device by making the old main device start the run of a fault detecting program when switching between a main device and a standby spare device is performed. CONSTITUTION:A central processing unit in a device in which the display contents of operating state display parts 11 and 21 represent the main device out of central processing units 12 and 22 executes a program to operate the device as the main device, and the central processing unit on the other side executes the fault detecting program. When the fault occurs in the main device, the standby spare device executes the program being executed by the main device successively. Also, by performing the switching between the main device and the standby spare device, the old main device starts the execution of the fault detecting program. Thereby, it is possible to quickly collect the detail information of the old main device, and also, to immediately operate the device as a new standby spare device when the fault is restored.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は主装置と待機予備装置とから構威されるシステ
ムに於いて、主懺置と待機予備装置との切り換えを行な
う二重化制御方式に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a redundant control method for switching between the main standby unit and the standby standby unit in a system composed of the main unit and the standby standby unit. .

〔従来の技術〕[Conventional technology]

2個の装置の一方を主装置として、他方を待機予備装置
として同期運転させ、主装置には当該二重化装置の主た
る業務にかかるプログラムを実行させ、待機予備装置に
は自装置に於ける故障の有無の検出及び故障検出時に於
けるその詳細情報の収集を行なう故障検出プログラムを
実行させ、待機予備装置に故障が発生していない状況即
ち前記故障検出プログラムが故障を検出していない状況
で主装置に障害が発生した場合、主装置と待機予v1装
置とを切り換え、旧待機予備装置に旧主装置が実行して
いたプログラムをmaして実行させるといった二重化制
御方式がある.そして、この種の従来の二重化制御方式
では、主装置に障害が発生して切り換えを行なった後は
、旧主装置は停止状態に入るようになっていた。
One of the two devices is operated synchronously as the main device and the other as a standby backup device, the main device executes a program related to the main task of the duplexing device, and the standby backup device is configured to detect failures in its own device. A failure detection program that detects the presence or absence of a failure and collects detailed information when a failure is detected is executed, and the main unit There is a redundant control method in which when a failure occurs in the main device, the main device and the standby v1 device are switched, and the old standby device is made to execute the program that was being executed by the old main device. In this type of conventional duplex control system, after a fault occurs in the main device and switching is performed, the old main device enters a stopped state.

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

上述したように、従来は主装置と待機予備装置との切り
換えを行なった場合、旧主装置が停止状態に入るように
なっていたため、その旧主装置の障害の詳細情報を得る
ことが難しいという問題があった。また、その主装置の
障害が一時的なものであって回復している場合に新たな
待機予備装置として速やかに動作させることができない
という問題もあった. 本発明の目的は、主装置に障害が発生することにより主
装置と待機予備装置との切り換えを行なった場合、旧主
装置の障害の詳細情報を速やかに収集することができる
と共に、障害が回復していれば新たな待機予備装置とし
て速やかに動作させることができる二重化制御方式を提
供することにある。
As mentioned above, conventionally, when switching between the main unit and the standby standby unit, the old main unit would go into a stopped state, making it difficult to obtain detailed information about the failure of the old main unit. There was a problem. Another problem was that even if the failure of the main unit was temporary and it had recovered, it could not be quickly activated as a new standby unit. An object of the present invention is to quickly collect detailed information on the failure of the old main device when switching between the main device and a standby standby device due to a failure in the main device, and to enable recovery from the failure. The object of the present invention is to provide a redundant control system that can quickly operate the device as a new standby backup device.

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

本発明は上記目的を達戒するため、 2個の装置の一方を主装置.他方を待機予備装置として
同期運転させ、主装置の障害発生時に主装置と待機予備
装置とを切り換え、旧主装置で実行されていたプログラ
ムを新たに主装置となった旧待機予備装置に!!続して
実行させる二重化制御方式に於いて、 主装置と待機予備装置との切り換え時、旧主装置に故障
検出プログラムを実行させる.〔作 用〕 主装置に障害が発生した場合、待機予備装置は主装置が
実行していたプログラムをm続して実行する.また、主
装置と待機予備装置との切り換えが行なわれることによ
り、旧主装置は故障検出プログラムの実行を開始させる
。
In order to achieve the above object, the present invention makes one of the two devices a main device. The other side is operated synchronously as a standby standby unit, and when a failure occurs in the main unit, the main unit and standby standby unit are switched, and the program that was being executed on the old main unit is now transferred to the old standby standby unit that has become the main unit! ! In the redundant control method that continues to run, when switching between the main unit and the standby standby unit, the old main unit executes a failure detection program. [Operation] If a failure occurs in the main unit, the standby spare unit continues to execute the program that was being executed by the main unit. Further, by switching between the main device and the standby spare device, the old main device starts executing the failure detection program.

〔実施例〕〔Example〕

次に本発明の実施例について図面を参照して詳細に説明
する. 第1は本発明の実施例のブロック図であり、装置lと装
置2とから構威されている.装Wl,2の内の一方は主
装置として動作し、他方は待機予備装置として動作する
.装置1.2は自装置が主装置であるか待機予備装置で
あるかを示す情報及び自装置が同期運転中であるか非同
期運転中であるかを示す情報を表示する運転状態表示部
11.21と、中央処理装置(CPU)12.22と、
メインメモリ (MM>1 3.2 3とを含んでいる
.中央処理装置12.22は自装置1.2内の運転状態
表示部11.21の表示が主装置で、且つ同期運転中を
あることを示している場合は自装置1.2内のメインメ
モリ13.23に信号線14.24を介してデータを書
き込む際、信号線32.33を介して他装置2.1のメ
インメモリ23,13にも同一のデータを書き込む.ま
た、中央処理装置12.22は信号線31を介して互い
に通信可能になっている.メインメモリ13.23には
主装置と待機予備装置との切り換え時のみに使用が許可
される二重化制御用使用領域15、25が設けられてい
る.また、メインメモリ13.23の予め定められた領
域には装1jl,2を主装置として動作させるためのプ
ログラム及び自装置に於ける故障の有無を検出し、故障
を検出した場合にはその詳細情報を収集するための故障
検出プログラムが格納されており、中央処理装置l2,
22の内、運転状態表示部11.21の表示内容が主装
置を示している装置内の中央処理装置は装置を主装置と
して動作させるためのプログラムを実行しており、他方
の中央処理装置は故障検出プログラムを実行している. 第2図は第1図に示した本発明の実施例の処理例を示し
た流れ図であり、以下各図を参照して動作を説明する. 今、装置l内の運転状態表示部IIが主装置で且つ同期
運転中であることを表示し、装置2内の運転状態表示部
21が待機予備装置で且つ同期運転中であることを表示
しているとする,運転状態表示部11が主装置で同期運
転中であることを表示している装置(主装置)1内の中
央処理装置12はメインメモリ13に格納されている、
装置を主装置として動作させるプログラムを実行してお
り、運転状態表示部21が待機予{III装置で同期運
転中であることを示している装置(待機予備装i!!)
 2内の中央処理装置22はメインメモリ23に格納さ
れている故am出プログラムを実行している. この状態で、主装置1に障害が発生すると、主装置I内
の中央処理装置12は第2図の流れ図に示すように、先
ず、プログラムカウンタ等のレジスタの現在の内容をメ
インメモリ23の二重化制御用使用領域25に書き込み
(ステソプS11)、次いで信号線31を介して待機予
備装置2に故障検出プログラムを停止させるための停止
信号を送出する(ステップS12).その後、中央処理
装置12は運転状態表示部1lの表示を主装置から待機
予(l!装置に切り換え(ステップS13)、故障検出
プログラムの実行を開始する(ステップSl4〉. 待機予備装置2内の中央処理装置22は信号線31を介
して停止信号を受信すると(ステップS2l)、先ず、
故障検出プログラムの走行を停止させ(ステップS22
)、次いで、メインメモリ23の二重化制御用使用領域
25に格納されているレジスタの内容を自中央処理装置
22内のレジスタに設定し(ステップS23)、その後
、運転状態表示部21の表示を待機予備装置から主装置
に切り換え(ステップS24>、プログラムカウンタの
示すアドレスから装置を主装置として動作させるための
プログラムの実行を開始する(ステソブ325). 〔発明の効果〕 以上説明したように、本発明は、主装置と待機予備装置
との切り換えを行なう際、旧主装置に故障検出プログラ
ムの走行を開始させるようにしたものであるので、旧主
装置の障害の詳細情報を容易に得ることが可能となると
共に、切り換えの原因となった障害が一時的な故障であ
る場合は旧主装置を速やかに待機予備装置として動作さ
せることが可能になる効果がある。
Next, embodiments of the present invention will be described in detail with reference to the drawings. The first is a block diagram of an embodiment of the present invention, which is composed of a device 1 and a device 2. One of the devices Wl,2 operates as a main device, and the other operates as a standby backup device. The device 1.2 has an operation status display unit 11.2 that displays information indicating whether the device is the main device or a standby backup device and information indicating whether the device is in synchronous operation or asynchronous operation. 21, central processing unit (CPU) 12.22,
The main memory (MM>1 3.2 3) is included in the central processing unit 12.22. When writing data to the main memory 13.23 of the own device 1.2 via the signal line 14.24, the data is written to the main memory 23 of the other device 2.1 via the signal line 32.33. , 13. Also, the central processing units 12.22 can communicate with each other via the signal line 31.The main memory 13.23 stores data when switching between the main unit and the standby spare unit. Duplex control use areas 15 and 25 are provided, which are permitted to be used only by devices 1jl and 2.Furthermore, in a predetermined area of the main memory 13.23, programs and programs for operating devices 1jl and 2 as main devices are provided. A failure detection program for detecting the presence or absence of a failure in the own device and collecting detailed information when a failure is detected is stored, and the central processing unit l2,
22, the central processing unit in the device whose display content on the operating status display section 11.21 indicates the main device is executing a program for operating the device as the main device, and the other central processing unit is A fault detection program is running. FIG. 2 is a flowchart showing a processing example of the embodiment of the present invention shown in FIG. 1, and the operation will be explained below with reference to each figure. Now, the operating status display section II in device 1 indicates that it is the main device and is in synchronous operation, and the operating state display section 21 in device 2 indicates that it is a standby standby device and is in synchronous operation. The central processing unit 12 in the device (main device) 1 whose operation status display unit 11 indicates that the main device is in synchronous operation is stored in the main memory 13.
The device is running a program that operates the device as the main device, and the operating status display unit 21 indicates that it is in synchronous operation with the standby pre-equipment III device (standby pre-installation i!!)
The central processing unit 22 in the main memory 23 executes the am output program stored in the main memory 23. In this state, if a failure occurs in the main device 1, the central processing unit 12 in the main device I first stores the current contents of registers such as the program counter in the main memory 23, as shown in the flowchart of FIG. It is written in the control use area 25 (step S11), and then a stop signal for stopping the failure detection program is sent to the standby spare device 2 via the signal line 31 (step S12). Thereafter, the central processing unit 12 switches the display on the operating status display section 1l from the main device to the standby standby (l! device) (step S13), and starts executing the failure detection program (step Sl4>. When the central processing unit 22 receives the stop signal via the signal line 31 (step S2l), first,
The failure detection program stops running (step S22).
), then sets the contents of the register stored in the redundant control usage area 25 of the main memory 23 in the register in the own central processing unit 22 (step S23), and then waits for the display on the operating status display section 21. The spare device is switched to the main device (step S24>, and the execution of the program for operating the device as the main device is started from the address indicated by the program counter (STEP 325). [Effects of the Invention] As explained above, the present invention The invention causes the old main unit to start running a failure detection program when switching between the main unit and the standby standby unit, so detailed information on failures in the old main unit can be easily obtained. In addition, if the failure that caused the switching is a temporary failure, the old main device can be quickly operated as a standby backup device.

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

第1図は本発明の実施例のブロック図及び、第2図は実
施例の処理例を示す流れ図である。 図に於いて、 1.2・・・装置 11.21・・・運転状態表示部 12.22・・・中央処理装置(C P U)13.2
3・・・メインメモリ (MM)14,24.31〜3
3・・・信号線 15.25・・・二重化制御用使用領域.本発明の実施
例のブロック図 男1 口 実冷例の処理刊を示″¥’/Rが図 弟2図
FIG. 1 is a block diagram of an embodiment of the present invention, and FIG. 2 is a flowchart showing a processing example of the embodiment. In the figure, 1.2... Device 11.21... Operating status display section 12.22... Central processing unit (CPU) 13.2
3... Main memory (MM) 14, 24. 31-3
3... Signal line 15.25... Area used for redundant control. Block diagram of the embodiment of the present invention Male 1 Shows the processing issue of the pretext cold example

Claims (1)

【特許請求の範囲】 2個の装置の一方を主装置、他方を待機予備装置として
同期運転させ、主装置の障害発生時に主装置と待機予備
装置とを切り換え、旧主装置で実行されていたプログラ
ムを新たに主装置となった旧待機予備装置に継続して実
行させる二重化制御方式に於いて、 主装置と待機予備装置との切り換え時、旧主装置に故障
検出プログラムを実行させることを特徴とする二重化制
御方式。
[Claims] One of the two devices is operated synchronously as the main device and the other as a standby standby device, and when a failure occurs in the main device, the main device and the standby standby device are switched, and the system that was executed by the old main device is In a redundant control method in which the program is continuously executed in the old standby spare device that has become the new main device, the feature is that when switching between the main device and the standby spare device, the old main device is made to execute a failure detection program. A redundant control method.
JP1189899A 1989-07-21 1989-07-21 Duplex control system Pending JPH0354639A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1189899A JPH0354639A (en) 1989-07-21 1989-07-21 Duplex control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1189899A JPH0354639A (en) 1989-07-21 1989-07-21 Duplex control system

Publications (1)

Publication Number Publication Date
JPH0354639A true JPH0354639A (en) 1991-03-08

Family

ID=16249057

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1189899A Pending JPH0354639A (en) 1989-07-21 1989-07-21 Duplex control system

Country Status (1)

Country Link
JP (1) JPH0354639A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06220516A (en) * 1993-01-28 1994-08-09 Nippon Steel Corp Converter furnace top analyzer automatic switching method and converter gas analyzer
JPH07200334A (en) * 1993-12-29 1995-08-04 Nec Corp Duplicate synchronization operation system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06220516A (en) * 1993-01-28 1994-08-09 Nippon Steel Corp Converter furnace top analyzer automatic switching method and converter gas analyzer
JPH07200334A (en) * 1993-12-29 1995-08-04 Nec Corp Duplicate synchronization operation system

Similar Documents

Publication Publication Date Title
JP2505928B2 (en) Checkpoint mechanism for fault tolerant systems
JP3481737B2 (en) Dump collection device and dump collection method
JPS6375963A (en) System recovery method
JPH03149629A (en) Memory testing system
JPH03266131A (en) Power source state decision system for multiple system
KR19990057809A (en) Error prevention system
JPS6095663A (en) Automatic switching device of dual type magnetic disk device
JP2776815B2 (en) Failure recovery method for multiprocessor system
JPH0754947B2 (en) Standby system monitoring method
JPH04328646A (en) Fault information collecting system
JPH0395634A (en) Restart control system for computer system
JP2922981B2 (en) Task execution continuation method
JPS62115555A (en) Managing method for duplexing auxiliary storage device of computer system
JPS62284440A (en) Software resource maintenance system for terminal equipment
JPH07200334A (en) Duplicate synchronization operation system
JPH1021148A (en) Redundant system
KR100675136B1 (en) Operating system-based redundancy method using MM
JPH03271835A (en) Duplexing system diagnostic system
JPH05342076A (en) Dual writing filing device
JPH06348421A (en) Control system for dynamic switching of duplex device at generation of fault in extended memory mechanism
JPH02220542A (en) Automatic double fault recovery method in multi-processor exchange
JPS634210B2 (en)
JPS61245260A (en) Semiconductor memory device
JPH10254723A (en) Redundant computer system
JPH04268929A (en) Duplicated processor system