JPS63223837A - Queued spare type duplex processor system - Google Patents
Queued spare type duplex processor systemInfo
- Publication number
- JPS63223837A JPS63223837A JP62057680A JP5768087A JPS63223837A JP S63223837 A JPS63223837 A JP S63223837A JP 62057680 A JP62057680 A JP 62057680A JP 5768087 A JP5768087 A JP 5768087A JP S63223837 A JPS63223837 A JP S63223837A
- Authority
- JP
- Japan
- Prior art keywords
- memory device
- processor
- standby
- shared memory
- test
- 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
Links
- 238000012360 testing method Methods 0.000 claims abstract description 37
- 238000012545 processing Methods 0.000 claims abstract description 20
- 238000012790 confirmation Methods 0.000 claims abstract description 14
- 230000009977 dual effect Effects 0.000 claims description 6
- 238000000034 method Methods 0.000 description 6
- 230000001360 synchronised effect Effects 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 125000001246 bromo group Chemical group Br* 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
Landscapes
- Hardware Redundancy (AREA)
- Multi Processors (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は待機予備方式二重化プロセッサシステムに関し
、特に待機系プロセッサのプログラム格納用メモリ装置
の試験と系切替方式の改良に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a standby standby type dual processor system, and more particularly to testing of a memory device for storing a program of a standby processor and improvement of a system switching system.
従来、プロセッサを二重化する方式としては、マイクロ
命令レベルで同期照合を行なう同期運転方式と、両系か
らアクセスできる共有メモリまたは共有ディスクで現用
系と予備系とを接続した待機予備方式とが知られている
が、前者の同期運転方式はマイクロ命令実行レベルの同
期照合を行なう為にハードウェア構成が複雑になり、ま
た片系に汎用のCPUを利用できないという問題点があ
る。従って、そのような問題を無視し得ないシステムで
は後者の待機予備方式が専ら利用されてい〔発明が解決
しようとする問題点〕
ところで、従来の待機予備方式の二重化プロセッサシス
テムにおいては、両系のプロセッサのプログラム格納用
メモリ装置にIPL(初期プログラムロード)によって
外部記憶装置や上位装置からのダウン・ラインロードで
プログラムをロードし、現用系にてオンライン処理など
の実際の業務を行なっている期間中、予備系のプロセッ
サの各種メモリ装置の正常性確認試験が行なわれる。そ
して、この正常性確認試験において、プログラム格納用
メモリ装置の試験が行なわれた際、従来はメモリ内容が
試験で書換えられたままとなっていた。このため、系切
替時には、あらためて外部記憶装置等からプログラムを
プログラム格納用メモリ装置にロードする必要があり、
ロードすべきプログラムが大容量化する最近の傾向と相
俟って、系切替に伴うサービス中断時間が増大するとい
う欠点があった。Traditionally, methods for duplicating processors include a synchronous operation method that performs synchronous verification at the microinstruction level, and a standby method that connects the active system and standby system with a shared memory or shared disk that can be accessed from both systems. However, the former synchronous operation method has the problem that the hardware configuration is complicated due to synchronous verification at the microinstruction execution level, and that a general-purpose CPU cannot be used in one system. Therefore, in a system where such a problem cannot be ignored, the latter standby system is exclusively used. During the period when a program is loaded into the processor's program storage memory device by IPL (initial program load) by down line loading from an external storage device or host device, and actual work such as online processing is performed in the active system. , tests are conducted to confirm the normality of various memory devices of the backup processor. In this normality confirmation test, when a program storage memory device is tested, conventionally the memory contents remain rewritten during the test. Therefore, when switching systems, it is necessary to reload the program from an external storage device etc. to the program storage memory device.
Coupled with the recent trend of increasing the capacity of programs to be loaded, there has been a drawback in that service interruption time associated with system switching increases.
本発明はこのような従来の欠点を解決したちので、その
目的は、予備系プロセッサのメモリ装置の正常性確認試
験によってプログラム格納用メモリ装置の内容が書換え
られたままにならないようにして、速やかな系の切替え
を可能とすることにある。The present invention has solved such conventional drawbacks, and its purpose is to prevent the contents of the program storage memory device from being rewritten during the normality confirmation test of the memory device of the standby processor, and to quickly update the memory device. The objective is to enable easy system switching.
本発明は上記目的を達成するために、一方のプロセッサ
を現用系とし、他方のプロセッサを予備系として待機さ
せる待機予備方式二重化プロセッサシステムにおいて、
二重化されているが二重書きしない両系からアクセスで
きる共有メモリ装置を有し、
予備系のプロセッサにおけるプログラム格納用メモリ装
置の正常性確認試験は、試験対象エリアの内容を前記二
重化された共有メモリ装置のうち待機側の共有メモリ装
置に退避した後行なうと共に、該試験対象エリアの正常
性確認試験終了時に前記退避された内容を前記共有メモ
リ装置から前記プログラム格納用メモリ装置に復元する
ように構成され、
系切替時、前記予備系のプロセッサは、前記二重化され
た共有メモリ装置のうち前記現用系のプロセッサが元使
用していた側の共有メモリ装置を使用して処理の続行を
試みるように構成されている。In order to achieve the above object, the present invention provides a standby/standby type dual processor system in which one processor is used as the active system and the other processor is on standby as the standby system, in which access is possible from both systems which are duplexed but do not have dual writing. The processor has a shared memory device, and the normality confirmation test of the program storage memory device in the standby processor is performed after the contents of the test target area are saved to the standby shared memory device among the duplicated shared memory devices. and the saved contents are restored from the shared memory device to the program storage memory device upon completion of the normality confirmation test of the test target area, and at the time of system switching, the backup system processor The processor is configured to attempt to continue processing by using the shared memory device originally used by the active processor among the duplicated shared memory devices.
二重化された共有メモリ装置は例えばオンライン・トラ
ンザクション・データ格納用に使用され、予備系のプロ
セッサにおけるプログラム格納用メモリ装置の正常性確
認試験は、試験対象エリアの内容を上記共有メモリ装置
のうちの待機側の共有メモリ装置を使って退避、復元し
ながら行なわれ、系切替時は、現用系のプロセッサが使
用していた共有メモリ装置を使ってオンライン処理など
の処理の続行が試みられる。Duplicated shared memory devices are used, for example, to store online transaction data, and when testing the normality of a program storage memory device in a standby processor, the contents of the test target area are transferred to one of the shared memory devices. This is done while saving and restoring using the shared memory device on the side, and when switching systems, an attempt is made to continue processing such as online processing using the shared memory device used by the active processor.
次に本発明の実施例について図面を参照して説明する。 Next, embodiments of the present invention will be described with reference to the drawings.
第1図は本発明の実施例のブロック図であり、1及び2
は各々プロセッサで、一方がオンライン運用中は他方は
予備系として待機している。また3及び4はCPU、5
及び6はプログラム格納用メモリ装置、7及び8はトラ
ンザクションデータ格納用で各々両系からアクセスでき
る共有メモリ装置である。なお、9及び10はバスであ
る。FIG. 1 is a block diagram of an embodiment of the present invention.
are each a processor, and while one is in online operation, the other is on standby as a standby system. Also, 3 and 4 are CPUs, 5
and 6 are memory devices for storing programs, and 7 and 8 are shared memory devices for storing transaction data that can be accessed from both systems. Note that 9 and 10 are buses.
第1図において、各プロセッサ1,2中のプログラム格
納用メモリ装置5,6への[PLは、図示しない外部記
憶装置や上位装置からのダウン・ラインロードにより同
時に行なわれる。そして、ブロモ・7す1が現用系とす
ると、そのCPU3はプログラム格納用メモリ装置5に
格納されたプログラムに従い、共有メモリ装置7をオン
ライン・トランザクション・データ格納用メモリとして
オンライン処理を行なう。このとき、共有メモリ装置8
は共有メモリ装置7の予備装置として待機しているが、
内容の二重書きは行なわれない。In FIG. 1, PL to program storage memory devices 5 and 6 in each processor 1 and 2 is performed simultaneously by down line loading from an external storage device or host device (not shown). When Bromo 7S 1 is the active system, its CPU 3 performs online processing according to the program stored in the program storage memory device 5, using the shared memory device 7 as an online transaction data storage memory. At this time, the shared memory device 8
is on standby as a spare device for the shared memory device 7,
Duplication of content will not occur.
プロセッサ2は予備系として待機しており、その待機中
、プロセッサl側の指示の下に待機側CPU4によりメ
モリ装置などのハードウェアの正常性確認試験(ヘルス
チェック)が行なわれ、その結果がプロセッサ1へ報告
される。Processor 2 is on standby as a standby system, and while it is on standby, the standby CPU 4 performs a health check on hardware such as memory devices under instructions from processor I, and the results are sent to the processor. Reported to 1.
ところで、プログラム格納用メモリ装置6はROM部と
RAM部とから構成されるが、上記CPU4によるプロ
グラム格納用メモリ装置6のRAM部の正常性確認試験
においては、試験対象エリアの書換えが行なわれる。そ
こで、本実施例では、プロセッサ2はプログラム格納用
メモリ装置6のRAM部の正常性確認試験を行なう場合
、例えば第2図のフローチャートに示すように、その試
験対象エリアの内容を待機側の共有メモリ装置8に退避
しくSL)、その後その試験対象エリアの試験を行ない
(S2)、試験終了後に共有メモリ装置8に退避してい
た内容に基づいて試験対象エリアの内容を復元する(S
3)。これによって、従来のようにプログラム格納用メ
モリ装W6の内容が正常性確認試験で壊されることがな
くなる。なお、共有メモリ装置8の正常性確認試験も行
なわれるが、共有メモリ装置8はオンライン処理に関係
しないので、単純に書換え試験が行なえる。Incidentally, the program storage memory device 6 is composed of a ROM section and a RAM section, and in the normality confirmation test of the RAM section of the program storage memory device 6 by the CPU 4, the test target area is rewritten. Therefore, in this embodiment, when the processor 2 performs a normality confirmation test on the RAM section of the program storage memory device 6, the contents of the test area are shared with the standby side as shown in the flowchart of FIG. The contents of the test area are saved to the memory device 8 (SL), then the test area is tested (S2), and after the test is finished, the contents of the test area are restored based on the contents saved to the shared memory device 8 (S
3). This prevents the contents of the program storage memory device W6 from being destroyed by the normality confirmation test as in the conventional case. Note that a normality confirmation test for the shared memory device 8 is also performed, but since the shared memory device 8 is not involved in online processing, a simple rewriting test can be performed.
さて、オンライン系のプロセッサ1に障害が発生して公
知のようにプロセッサ2側へスイッチ・オーバーしたと
き、プロセッサ2のCPU4.プログラム格納用メモリ
装置6および現オンライン側の共有メモリ装置7を使用
してオンライン処理の続行が試みられる。そして、この
メモリ再開が失敗したときのみ、プログラム格納用メモ
リ装置6へ再びIPLを行ない、オンライン処理は共有
メモリ装置8を用いて行なわれる。Now, when a failure occurs in the online system processor 1 and a switchover is made to the processor 2 side as is well known, the CPU 4 . An attempt is made to continue the online processing using the program storage memory device 6 and the currently online shared memory device 7. Then, only when this memory restart fails, the program storage memory device 6 is IPLed again, and online processing is performed using the shared memory device 8.
第3図は、スイッチ・オーバ一時にプロセッサ2で行な
われる処理例を示すフローチャートである。プロセッサ
2は必要な情報と共に系切替が指示されると、プログラ
ム格納用メモリ装置6のRAM部の正常性確認試験が現
在行なわれており、その為試験対象エリアの復元が必要
か否かを判別しく5ll) 、必要でなければステップ
S13へ進むが、必要であれば共有メモリ装置8に退避
した内容に基づいてプログラム格納用メモリ装置6の試
験対象エリアを復元する(S12) 、そして、オンラ
イン処理実行に必要な各部の初期設定処理を行なった後
(313) 、現オンライン側の共有メモリ装置7を使
用してオンライン処理の続行を試みる(514)。この
試行によってメモリ再開が成功したときはそのまま共有
メモリ装置7を使用したオンライン処理を続行するが、
メモリ再開が失敗したときは、プログラム格納用メモリ
装置6への再IPLを行ない(S16) 、オンライン
処理実行に必要な各部の初期設定処理を行なった後(3
17)、共有メモリ装置8を使用したオンライン処理の
実行を行なう。FIG. 3 is a flowchart showing an example of processing performed by the processor 2 at the time of switchover. When the processor 2 is instructed to switch systems along with the necessary information, it determines whether or not the normality confirmation test of the RAM section of the program storage memory device 6 is currently being performed, and therefore it is necessary to restore the test area. If necessary, the process proceeds to step S13, but if necessary, the test area of the program storage memory device 6 is restored based on the contents saved in the shared memory device 8 (S12), and online processing is performed. After performing the initial setting processing of each part necessary for execution (313), an attempt is made to continue the online processing using the shared memory device 7 on the current online side (514). If the memory is successfully restarted through this trial, online processing using the shared memory device 7 continues.
If the memory restart fails, the program storage memory device 6 is re-IPLed (S16), and after performing the initial setting process of each part necessary for online processing execution (S16).
17) Execute online processing using the shared memory device 8.
以上説明したように、本発明は、二重書きしない共有メ
モリ装置の一つをプログラム格納用メモリ装置の正常性
確認試験時の退避エリアとして使用することにより、ハ
ードウェアの正常性確認を得ながら系切替時のサービス
中断時間を最小限にすることができる効果がある。As explained above, the present invention uses one of the shared memory devices that does not allow double writing as an evacuation area during the normality confirmation test of the program storage memory device, thereby confirming the normality of the hardware. This has the effect of minimizing service interruption time during system switching.
第1図は本発明の実施例のブロック図、第2図はプロセ
ッサ2の試験処理例の流れ図および、
第3図はプロセッサ2の待機系から現用系への切替え時
処理の一例を示す流れ図である。
図において、1.2・・・プロセッサ、3,4・・・C
PU、5.6・・・プログラム格納用メモリ装置、7゜
8・・・共有メモリ装置、9.lO・・・バス。FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is a flowchart of an example of test processing of processor 2, and FIG. 3 is a flowchart of an example of processing when switching from standby system to active system of processor 2. be. In the figure, 1.2...processor, 3,4...C
PU, 5.6... Memory device for storing programs, 7゜8... Shared memory device, 9. lO... bus.
Claims (1)
備系として待機させる待機予備方式二重化プロセッサシ
ステムにおいて、 二重化されているが二重書きしない両系からアクセスで
きる共有メモリ装置を有し、 予備系のプロセッサにおけるプログラム格納用メモリ装
置の正常性確認試験は、試験対象エリアの内容を前記二
重化された共有メモリ装置のうち待機側の共有メモリ装
置に退避した後行なうと共に、該試験対象エリアの正常
性確認試験終了時に前記退避された内容を前記共有メモ
リ装置から前記プログラム格納用メモリ装置に復元する
ように構成され、 系切替時、前記予備系のプロセッサは、前記二重化され
た共有メモリ装置のうち前記現用系のプロセッサが元使
用していた側の共有メモリ装置を使用して処理の続行を
試みるように構成されたことを特徴とする待機予備方式
二重化プロセッサシステム。[Scope of Claims] In a standby/standby type dual processor system in which one processor is used as an active system and the other processor is on standby as a standby system, there is provided a shared memory device that can be accessed from both systems that are duplexed but do not have dual writing. However, the normality confirmation test of the program storage memory device in the standby processor is performed after the contents of the test target area are saved to the standby shared memory device of the duplexed shared memory devices, and the test target area is The evacuated contents are restored from the shared memory device to the program storage memory device upon completion of the area normality confirmation test, and when switching systems, the standby processor is configured to restore the saved contents from the shared memory device to the program storage memory device. 1. A standby and backup dual processor system, characterized in that the active processor of the device attempts to continue processing using the shared memory device that was originally used.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62057680A JPS63223837A (en) | 1987-03-12 | 1987-03-12 | Queued spare type duplex processor system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62057680A JPS63223837A (en) | 1987-03-12 | 1987-03-12 | Queued spare type duplex processor system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS63223837A true JPS63223837A (en) | 1988-09-19 |
Family
ID=13062643
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP62057680A Pending JPS63223837A (en) | 1987-03-12 | 1987-03-12 | Queued spare type duplex processor system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS63223837A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011065528A (en) * | 2009-09-18 | 2011-03-31 | Toyota Motor Corp | Multiprocessor system |
-
1987
- 1987-03-12 JP JP62057680A patent/JPS63223837A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011065528A (en) * | 2009-09-18 | 2011-03-31 | Toyota Motor Corp | Multiprocessor system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR920003497B1 (en) | Access loss processing system and its protection method | |
JP2552651B2 (en) | Reconfigurable dual processor system | |
US7831857B2 (en) | Method and system for recovering from operating system crash or failure | |
US4941087A (en) | System for bumpless changeover between active units and backup units by establishing rollback points and logging write and read operations | |
US7627781B2 (en) | System and method for establishing a spare processor for recovering from loss of lockstep in a boot processor | |
US20050102603A1 (en) | In-service raid mirror reconfiguring | |
US6654880B1 (en) | Method and apparatus for reducing system down time by restarting system using a primary memory before dumping contents of a standby memory to external storage | |
JPS63223837A (en) | Queued spare type duplex processor system | |
US7624302B2 (en) | System and method for switching the role of boot processor to a spare processor responsive to detection of loss of lockstep in a boot processor | |
JPH0962499A (en) | Program file update device | |
JP3332098B2 (en) | Redundant processor unit | |
JPS59180897A (en) | Double structure system of battery back-up memory | |
JP2922981B2 (en) | Task execution continuation method | |
JP3102381B2 (en) | Task debugging device, task debugging method, and recording medium therefor | |
JP2624106B2 (en) | Automatic verification method of backup file in exchange system | |
JPH0812620B2 (en) | Information processing system | |
JPH01217656A (en) | Initial program loading system | |
JPS63282852A (en) | Backup system diagnosis method in duplex processing system | |
JPH07200282A (en) | Non-interruption program update system | |
JPH03262038A (en) | Fault recovering system for data processor | |
JPH035832A (en) | System for processing fault of information processor | |
JPS62197828A (en) | Microprogram loading confirmation system | |
JPH02213964A (en) | Memory copying method | |
JPH0293953A (en) | Duplex information processor | |
JPH10187355A (en) | Disk control system |