JPH02165344A - Hot stand-by system - Google Patents

Hot stand-by system

Info

Publication number
JPH02165344A
JPH02165344A JP32144088A JP32144088A JPH02165344A JP H02165344 A JPH02165344 A JP H02165344A JP 32144088 A JP32144088 A JP 32144088A JP 32144088 A JP32144088 A JP 32144088A JP H02165344 A JPH02165344 A JP H02165344A
Authority
JP
Japan
Prior art keywords
page
succeeding information
transfer
active
standby
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
JP32144088A
Other languages
Japanese (ja)
Inventor
Youji Kuise
杭瀬 洋司
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 JP32144088A priority Critical patent/JPH02165344A/en
Publication of JPH02165344A publication Critical patent/JPH02165344A/en
Pending legal-status Critical Current

Links

Landscapes

  • Hardware Redundancy (AREA)

Abstract

PURPOSE:To make it unnecessary to fully specifying individual succeeding information by a program by collectively securing succeeding information areas, and at the time of a current system check point, transferring a page in which the current system succeeding information area is changed to a waiting system. CONSTITUTION:When the current system generates a check point 11, a transfer means 12 refers writing flags 7 corresponding to respective pages for an operating system succeeding information area 3a and a user program succeeding information area 5a. The page set up to a written state is transferred to the page having the same address of a main storage 1b in the waiting system through a communication line 9. Consequently, it is unnecessary to fully specify individual succeeding information in the current system by a program and transfer it to the waiting system and the automation of succeeding information transfer and the minimization of transfer overhead can be attained.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明はポットスタンバイ方式に関し、特に二重化され
た電子計算機システムにおけるホットスタンバイ方式に
関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a pot standby system, and particularly to a hot standby system in a redundant computer system.

(従来の技術) 従来、この種のホ・yトスタンバイ方式は、現用系がチ
ェックポイントを発行した時、現用系の個々の引き継ぎ
情報を逐一プログラムで指定して待機系に転送していた
(Prior Art) Conventionally, in this type of hot standby system, when the active system issues a checkpoint, individual handover information of the active system is specified in a program one by one and transferred to the standby system.

(発明が解決しようとする課題) 上述した従来のホットスタンバイ方式は、現用系がチェ
ックポイントを発行した時、現用系の個々の引き継ぎ情
報を逐一プログラムで指定して待機系に転送しているの
で、転送のための命令プログラムに追加する必要があり
、プログラムサイズおよび実行命令数が増加する欠点が
ある。
(Problem to be Solved by the Invention) In the conventional hot standby method described above, when the active system issues a checkpoint, each piece of handover information in the active system is specified in a program and transferred to the standby system. , it is necessary to add instructions to the transfer program, which has the drawback of increasing the program size and the number of executed instructions.

また、引き継ぎ情報の変更があった部分のみの転送はで
きないという欠点がある。
Another drawback is that it is not possible to transfer only the portion of the handover information that has been changed.

(課題を解決するための手段) 本発明によるホットスタンバイ方式は、現用系および待
機系により二重化され、主記憶を構成する各ページに書
き込みがあったことを示す書き込みフラグを備えるシス
テムのホットスタンバイ方式において、前記現用系がチ
ェックポイントを発行した時、前記書き込みフラグが書
き込み状態に設定されている現用系のページを前記待機
系の主記憶の同一アドレスをもつページに転送する転送
手段と、全ての書き込みフラグを未書き込み状態に初期
化するフラグ初期化手段と、他系を監視し他系のシステ
ムダウンを検出する監視手段と、前記待機系が前記現用
系のシステムダウンを検出した時、前記待機系が前記現
用系のファイル、デバイス、回線等の復旧を行う復旧手
段と、前記待機系が前記現用系のシステムダウン直前の
チェックポイントの状態から前記現用系の処理を引き継
ぐ引き継ぎ手段とを有する。
(Means for Solving the Problem) The hot standby method according to the present invention is a hot standby method of a system that is redundant with an active system and a standby system, and is equipped with a write flag indicating that each page constituting the main memory has been written. , when the active system issues a checkpoint, a transfer means for transferring the page of the active system whose write flag is set to the write state to a page having the same address in the main memory of the standby system; a flag initializing means for initializing a write flag to an unwritten state; a monitoring means for monitoring another system and detecting a system down of the other system; The system has a recovery means for restoring the files, devices, lines, etc. of the active system, and the standby system has a takeover means for taking over the processing of the active system from the checkpoint state immediately before the system went down.

(実施例) 次に本発明について図面を参照して説明する。(Example) Next, the present invention will be explained with reference to the drawings.

第1図は本発明によるホットスタンバイ方式の構成を示
す図である。
FIG. 1 is a diagram showing the configuration of a hot standby system according to the present invention.

現用系および待機系には主記憶1aおよび1bを備え、
各主記憶はオペレーティングシステム。
The active system and standby system are provided with main memories 1a and 1b,
Each main memory is an operating system.

コード部2aと2b、オペレーティングシステム・引き
継ぎ情報領域3aと3b、ユーザプログラム・コード部
4aと4b、ユーザプログラム・引き継ぎ情報領域5a
と5b、作業領域6aと6bに分割されている。また、
書き込みフラグ7は、値0の場合、未書き込み状態を示
し、値1の場合、書き込み済み状態を示す、現用系およ
び待機系の処理はそれぞれ中央処理装置8aおよび8b
により行われる。
Code parts 2a and 2b, operating system/handover information areas 3a and 3b, user program code parts 4a and 4b, user program/handover information area 5a
and 5b, and work areas 6a and 6b. Also,
If the write flag 7 has a value of 0, it indicates an unwritten state, and if it has a value of 1, it indicates a written state.The active and standby systems are processed by the central processing units 8a and 8b, respectively.
This is done by

さて、現用系がチェックポイント11を発行した時には
、転送手段12にてオペレーティングシステム・引き継
ぎ情報領域3aとユーザプログラム・引き継ぎ・m報領
域5aの各ページに対応する書き込みフラグ7を参照し
、値1、すなわち書き込み済み状態に設定されているペ
ージが待機系の主記憶1bの同一アドレスをもつページ
に通信回線9を介して転送される。
Now, when the active system issues checkpoint 11, the transfer means 12 refers to the write flag 7 corresponding to each page of the operating system/handover information area 3a and the user program/handover/m-information area 5a, and sets the value to 1. That is, the page set to the written state is transferred via the communication line 9 to the page having the same address in the standby main memory 1b.

次に、フラグ初期化手段13において書き込みフラグ7
が値0すなわち未書き込み状態に初期化される。
Next, in the flag initialization means 13, the write flag 7 is
is initialized to a value of 0, that is, an unwritten state.

待機系では、監視手段14にて現用系のシステムダウン
を検出する。現用系のシステムダウンが検出されると、
復旧手段15は現用系のファイル10をロールパック等
により現用系のシステムダウン直前のチェックポイント
の状態まで復旧する。
In the standby system, the monitoring means 14 detects system failure in the active system. When the active system is detected to be down,
The recovery means 15 restores the current file 10 to the state of the checkpoint immediately before the current system went down by roll pack or the like.

次に、引き継ぎ手段16にて現用系のシステムダウン直
前のチェックポイントの状態から処理を引き継ぎ続行す
る。
Next, the handover means 16 takes over and continues processing from the checkpoint state immediately before the active system went down.

(発明の効果) 以上説明したように本発明は、引き継ぎ情報領域を一括
確保し、現用系のチェックポイント時、現用系の引き継
ぎ情報領域の変更があったページを待機系に転送するこ
とにより個々の引き継ぎ情報を逐一グロダラムで指定す
る必要がなく、引き継ぎ情報の変更があったページのみ
転送することができるので、引き継ぎ情報の転送の自動
化および転送のオーバヘッドを極小にすることができる
効果かある。
(Effects of the Invention) As explained above, the present invention secures the handover information area all at once, and at the time of checkpoint of the active system, transfers the page whose handover information area of the active system has been changed to the standby system, thereby individually securing the handover information area. There is no need to specify the handover information one by one using GLODARAM, and only the page where the handover information has been changed can be transferred, which has the effect of automating the transfer of handover information and minimizing the transfer overhead.

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

第1図は本発明によるホットスタンバイ方式の構成を示
す図である。 la、lb・・・主記憶、2a、2b・・・オペレーテ
ィングシステム・コード部、3a、3b・・・オペレー
ティングシステム・引き継ぎ情報領域、4a。 4b・・・ユーザプログラム・コード部、5a、5b・
・・ユーザプログラム・引き継ぎ情報領域、6a。 6b・・・作業領域、7・・・書き込みフラグ、8a8
b・・・中央処理装置、9・・・通信回線、10・・・
ファイル、11・・・チェックポイント、12・・・転
送手段、13・・・フラグ初期化手段、14・・・監視
手段、15・・・復旧手段、16・・・引き継ぎ手段。
FIG. 1 is a diagram showing the configuration of a hot standby system according to the present invention. la, lb...main memory, 2a, 2b...operating system code section, 3a, 3b...operating system/handover information area, 4a. 4b...User program code section, 5a, 5b.
...User program/transfer information area, 6a. 6b...Work area, 7...Write flag, 8a8
b...Central processing unit, 9...Communication line, 10...
File, 11... Checkpoint, 12... Transfer means, 13... Flag initialization means, 14... Monitoring means, 15... Recovery means, 16... Transfer means.

Claims (1)

【特許請求の範囲】[Claims] 現用系および待機系により二重化され、主記憶を構成す
る各ページに書き込みがあったことを示す書き込みフラ
グを備えるシステムのホットスタンバイ方式において、
前記現用系がチェックポイントを発行した時、前記書き
込みフラグが書き込み状態に設定されている現用系のペ
ージを前記待機系の主記憶の同一アドレスをもつページ
に転送する転送手段と、全ての書き込みフラグを未書き
込み状態に初期化するフラグ初期化手段と、他系を監視
し他系のシステムダウンを検出する監視手段と、前記待
機系が前記現用系のシステムダウンを検出した時、前記
待機系が前記現用系のファイル、デバイス、回線等の復
旧を行う復旧手段と、前記待機系が前記現用系のシステ
ムダウン直前のチェックポイントの状態から前記現用系
の処理を引き継ぐ引き継ぎ手段とを有することを特徴と
するホットスタンバイ方式。
In the hot standby system, the system is redundant with an active system and a standby system, and has a write flag indicating that each page that makes up the main memory has been written to.
a transfer means for transferring a page of the active system whose write flag is set to a write state to a page having the same address in the main memory of the standby system when the active system issues a checkpoint; and all write flags. a flag initialization means for initializing the active system to an unwritten state; a monitoring means for monitoring another system and detecting a system down of the other system; The system is characterized by comprising a recovery means for restoring files, devices, lines, etc. of the active system, and a takeover means for the standby system to take over processing of the active system from a checkpoint state immediately before the system went down. Hot standby method.
JP32144088A 1988-12-20 1988-12-20 Hot stand-by system Pending JPH02165344A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32144088A JPH02165344A (en) 1988-12-20 1988-12-20 Hot stand-by system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32144088A JPH02165344A (en) 1988-12-20 1988-12-20 Hot stand-by system

Publications (1)

Publication Number Publication Date
JPH02165344A true JPH02165344A (en) 1990-06-26

Family

ID=18132582

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32144088A Pending JPH02165344A (en) 1988-12-20 1988-12-20 Hot stand-by system

Country Status (1)

Country Link
JP (1) JPH02165344A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04233039A (en) * 1990-12-28 1992-08-21 Nec Commun Syst Ltd Data saving system
JP2000010949A (en) * 1998-06-19 2000-01-14 Nec Corp Relay type decentralized health check control system and method
JP2006285448A (en) * 2005-03-31 2006-10-19 Oki Electric Ind Co Ltd Redundant system
JP2012190150A (en) * 2011-03-09 2012-10-04 Nec Corp Fault tolerant system, memory control method, and program

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04233039A (en) * 1990-12-28 1992-08-21 Nec Commun Syst Ltd Data saving system
JP2000010949A (en) * 1998-06-19 2000-01-14 Nec Corp Relay type decentralized health check control system and method
JP2006285448A (en) * 2005-03-31 2006-10-19 Oki Electric Ind Co Ltd Redundant system
US7770062B2 (en) 2005-03-31 2010-08-03 Oki Electric Industry Co., Ltd. Redundancy system having synchronization function and synchronization method for redundancy system
JP2012190150A (en) * 2011-03-09 2012-10-04 Nec Corp Fault tolerant system, memory control method, and program

Similar Documents

Publication Publication Date Title
JPH02165344A (en) Hot stand-by system
JPS6184765A (en) Microprocessor system
JP2772052B2 (en) Resource information inheritance processing method
JP2002108640A (en) Duplex system, single processor system and sub-board
JP2004070456A (en) Data backup method, data backup device, and information processing unit
JP4146045B2 (en) Electronic computer
JPH0448256B2 (en)
JP2527964B2 (en) Backup system initial startup control method
JPH0554141B2 (en)
JP3709050B2 (en) Data update system
JPS63149748A (en) Storage device
JPS61296461A (en) Message guarantee system between on-line jobs
JPH11175106A (en) Duplex computer device
JPH07287694A (en) Multiplex processing system and memory synchronous control method
JPS63314647A (en) Saving/restoring system for task run environment
JPH04264625A (en) Register control system
JPH039449A (en) Electronic disk subsystem
JPS629459A (en) Common memory copy system
JPH0337731A (en) Trouble processing system for online transaction processing system
JPH04256134A (en) Duplex system recovery method
JPH01226032A (en) Data saving/reconstituting system at check point restart
JPH02123426A (en) Microprocessor
JPH02122350A (en) Memory write protection system
JPS62286140A (en) Controller for substitute memory area
JPS61249153A (en) Data processor