[go: up one dir, main page]

JPH0652053A - Fail safe type computer system - Google Patents

Fail safe type computer system

Info

Publication number
JPH0652053A
JPH0652053A JP4218735A JP21873592A JPH0652053A JP H0652053 A JPH0652053 A JP H0652053A JP 4218735 A JP4218735 A JP 4218735A JP 21873592 A JP21873592 A JP 21873592A JP H0652053 A JPH0652053 A JP H0652053A
Authority
JP
Japan
Prior art keywords
generation
computer system
failure recovery
mmu
storage device
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.)
Granted
Application number
JP4218735A
Other languages
Japanese (ja)
Other versions
JP3260433B2 (en
Inventor
Toshio Kikuchi
俊雄 菊池
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 JP21873592A priority Critical patent/JP3260433B2/en
Publication of JPH0652053A publication Critical patent/JPH0652053A/en
Application granted granted Critical
Publication of JP3260433B2 publication Critical patent/JP3260433B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Retry When Errors Occur (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Memory System Of A Hierarchy Structure (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To reduce the memory capacity of an external memory device by accumulating roll-back information by distributing to the external memory device at every generation, and also switching the external memory device simultaneously when the generation is updated at a roll-back point. CONSTITUTION:The roll-back and restart of processing can be performed by using a disk of either generation in the past even when a fault occurs in one disk by switching the disk to be designated by a memory managing unit(MHO) at every roll-back point and deciding the disk to be used at every generation. In such a case, a virtual address instructed by an EPU 1 is changed to a real address by MMO hardware 2, and the read/write of the EPU 1 on a main storage part 3 is performed. Also, when no virtual address exists on the main storage part 3, a page fault occurs, and the unrequired content of the main storage part 3 is saved once to the disk similarly as an ordinary virtual storage system, and the content of an instructed virtual address is loaded from the disk.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、コンピュータでの情報
処理において、異常が発生したとき自動的に過去のチェ
ックポイントから再試行するロールバック方式を採用す
る故障回復型計算機システムに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a failure recovery type computer system which employs a rollback system for automatically retrying from a past checkpoint when an abnormality occurs in computer information processing.

【0002】[0002]

【従来の技術】従来、ロールバックポイントを持つ計算
機システムとして、例えば特開平3−265951号公
報に示すものがある。
2. Description of the Related Art Conventionally, as a computer system having a rollback point, for example, there is one shown in Japanese Patent Laid-Open No. 3-265951.

【0003】図8は上記公報に示されたロールバック方
式を説明するもので、世代更新の考え方を示し、ロール
バックデータは、破壊されることがないように補助記憶
領域(ファイル)に格納され、世代管理が行われる。
FIG. 8 illustrates the rollback method disclosed in the above publication, showing the concept of generation update, in which rollback data is stored in an auxiliary storage area (file) so as not to be destroyed. , Generation management is performed.

【0004】図8 (a)に示すように、ロールバックポ
イントの更新処理(ステップ81、同83)と応用プロ
グラムの実行処理(ステップ82、同84)とが時系列
的に行われ、応用プログラムの実行処理過程(ステップ
82、同84)でエラーが発生すると、その直前のロー
ルバックポイント(ステップ81、同83)に戻り、ロ
ールバックデータの実行処理(ステップ82、同84)
をし、異常状態からの復帰を図る。
As shown in FIG. 8A, the rollback point update processing (steps 81 and 83) and the application program execution processing (steps 82 and 84) are performed in time series, and the application program is executed. If an error occurs in the execution processing process (steps 82 and 84), the process returns to the rollback point (steps 81 and 83) immediately before that and the rollback data execution processing (steps 82 and 84).
To recover from the abnormal condition.

【0005】ここに、ロールバックポイントの更新と
は、ロールバックポイントにおいてロールバックデータ
の世代交代を行うことであり、例えば図8 (b)に示す
如くに行われる。
The update of the rollback point is to change the generation of rollback data at the rollback point, and is performed as shown in FIG. 8B, for example.

【0006】応用プログラムの実行過程でロールバック
ポイントが検出されると、図中実線の矢印で示すよう
に、その時点の最新データである新世代(85,88)
を前世代(86,89)のロールバックデータとしてフ
ァイルへ転記し、プログラムは次のロールバックポイン
トに向かって進行する。異常が発生しなければ、以上の
手順によって、ロールバックポイントごとに世代を1世
代宛古くする更新処理を行う。
When the rollback point is detected during the execution of the application program, the new generation (85, 88), which is the latest data at that time, is indicated by the solid line arrow in the figure.
Is transferred to the file as rollback data of the previous generation (86, 89), and the program proceeds toward the next rollback point. If no abnormality has occurred, the update process for making the generation one generation old for each rollback point is performed by the above procedure.

【0007】このようにして、2世代(新世代85、前
世代86)や3世代(新世代88、前世代89、前々世
代90)の如く複数世代の更新が行われ、ロールバック
データ(新世代86、同89、前々世代90等)が形成
される。
In this way, a plurality of generations such as the second generation (new generation 85, previous generation 86) and the third generation (new generation 88, previous generation 89, previous generation 90) are updated, and rollback data ( New generations 86, 89, 90 before last, etc.) are formed.

【0008】一方、新世代(85,88)のデータが実
行処理されると、その後のデータは現世代(87,9
1)となるが、エラーが発生すると、直前のロールバッ
クポイントに戻り異常時復元処理を行う。即ち、図中破
線矢印で示す如く、2世代管理の場合には、ファイルの
前世代86を新世代85として主記憶に転記し、このコ
ピーされた新世代85のデータを実行する。
On the other hand, when the data of the new generation (85, 88) is executed, the subsequent data is processed by the current generation (87, 9).
1) However, when an error occurs, the process returns to the immediately preceding rollback point and the restoration processing at the time of abnormality is performed. That is, as indicated by the broken line arrow in the figure, in the case of two-generation management, the previous generation 86 of the file is transferred to the main memory as the new generation 85, and the copied data of the new generation 85 is executed.

【0009】また、3世代管理の場合には、ファイル上
の前々世代90を新の前世代89とし、旧の前世代89
を主記憶上に転記し新の新世代88とする。要するに、
ロールバックデータを1世代宛戻す処理をするのであ
る。
In the case of three-generation management, the pre-previous generation 90 on the file is the new pre-generation 89 and the old pre-generation 89.
Is transferred to the main memory as a new new generation 88. in short,
The process of returning the rollback data to the first generation is performed.

【0010】また、図8に示す世代更新の実現方式の一
つとして、上記公報には、MMU(Memory Ma
pping Unit)を用いた世代更新方式が示され
ている。
Further, as one of the methods for realizing the generation update shown in FIG. 8, the above-mentioned publication discloses MMU (Memory Ma).
A generation update method using the Pipping Unit) is shown.

【0011】図9はこのMMUを用いた世代更新方式を
示すもので、1つの論理ページ番号「x」における更新
処理を示してある。
FIG. 9 shows a generation updating method using this MMU, and shows an updating process for one logical page number "x".

【0012】図9において、更新直前のMMU変換マッ
プの論理ページ番号「x」の内容としては、主記憶部の
物理ページ番号「a」の書込フラグ領域にフラグが設定
され、格納データに変更のあったことが示されている。
In FIG. 9, as the contents of the logical page number "x" of the MMU conversion map immediately before the update, a flag is set in the write flag area of the physical page number "a" of the main storage unit and changed to the stored data. It is shown that there was.

【0013】そこで、更新時のn世代(旧現世代)の物
理ページ番号「a」をn+1世代(新現世代)とすると
ともに、その物理ページ番号「a」の内容をロールバッ
クデータとしてファイルページ番号「u」の領域に転記
し、ファイルページ番号「u」をn世代(新前世代)と
して設定する。なお、フラグは転記後の適宜時点でリセ
ットしておく。
Therefore, the physical page number "a" of the nth generation (old current generation) at the time of updating is set to the n + 1th generation (new current generation), and the contents of the physical page number "a" are used as rollback data for the file page. The file page number "u" is set as the nth generation (new previous generation) by transcribing to the area of the number "u". The flag is reset at an appropriate time after the transfer.

【0014】ところで、仮想記憶方式では基本的にディ
スク等外部記憶装置にソフトウェア全体の記憶内容が仮
想アドレスに対応して置かれ、主記憶部ではその一部が
実記憶として外部記憶装置よりコピーしてロードされ
(Roll−In)、不要時に再度外部記憶装置に戻す
(Roll−Out)ことが基本である。MMUはこの
仮想記憶のアドレスに示す情報が外部記憶装置や主記憶
部のいずれかのどこにあるかを示す変換テーブル機構で
ある。
By the way, in the virtual storage system, basically, the storage contents of the entire software are placed in an external storage device such as a disk in correspondence with a virtual address, and a part of the main storage unit is copied from the external storage device as an actual storage. Basically, it is loaded (Roll-In) and returned to the external storage device (Roll-Out) when unnecessary. The MMU is a conversion table mechanism that indicates where in the external storage device or the main storage unit the information indicated by the virtual storage address is located.

【0015】ロールバックポイントによる世代管理で
は、異常発生時に備えて処理の過程に適当なチェックポ
イントを置き、異常発生時は、そこに一度戻り、そこか
ら処理を再開する方式とし、そのチェックポイントをR
oll−Back−Pointと称していた。従来のM
MUによる管理方式はMMUに複数世代を管理させ、も
し異常が生じた場合はハードウェアの切り換え等異常処
理を行った上でMMUの内容を一世代戻し、自動的に前
のロールバックポイントから再開できる様にしていた。
In the generation management based on the rollback point, an appropriate checkpoint is set in the process of processing in preparation for the occurrence of an abnormality, and when an abnormality occurs, the method is to return to that point and restart the processing from that point. R
It was called "oll-Back-Point". Conventional M
The MU-based management method allows the MMU to manage multiple generations, and if an error occurs, the contents of the MMU are returned by one generation after performing error processing such as hardware switching and automatically restarting from the previous rollback point. I was able to do it.

【0016】[0016]

【発明が解決しようとする課題】しかしながら、上述し
た従来のMMUによる管理方式では、外部記憶装置も冗
長構成を取り、3世代管理の場合、1つの仮想ページに
対して、3世代×2台=6ページ分の外部記憶装置を必
要とし、6倍の記憶容量を必要とするため、その改善が
望まれていた。
However, in the above-mentioned conventional MMU-based management method, the external storage device also has a redundant configuration, and in the case of 3-generation management, 3 generations × 2 units = one virtual page = Since an external storage device for 6 pages is required and a storage capacity of 6 times is required, improvement thereof has been desired.

【0017】本発明は、上述した点に鑑みなされたもの
で、MMUに世代管理を持たせたロールバックポイント
方式の故障回復型計算機システムにおいて、外部記憶装
置の記憶容量の削減を図ることができる故障回復型計算
機システムを得ることを目的とする。
The present invention has been made in view of the above points, and can reduce the storage capacity of an external storage device in a failure recovery type computer system of a rollback point system in which an MMU has generation management. The purpose is to obtain a failure recovery computer system.

【0018】[0018]

【課題を解決するための手段】上記目的を達成するため
に、本発明の請求項1に係る故障回復型計算機システム
は、MMU(メモリマネジメントユニット)に世代管理
を持たせたロールバックポイント方式の故障回復型計算
機システムにおいて、ロールバック情報を各世代毎に外
部記憶装置に分散蓄積し、ロールバックポイントでの世
代更新時に外部記憶装置も同時に切り換えることを特徴
とするものである。
In order to achieve the above object, a failure recovery computer system according to claim 1 of the present invention is a rollback point system in which an MMU (memory management unit) has generation management. In a failure recovery type computer system, rollback information is distributed and accumulated in an external storage device for each generation, and the external storage device is also switched at the same time when a generation is updated at a rollback point.

【0019】また、請求項2に係る故障回復型計算機シ
ステムは、請求項1記載の故障回復型計算機システムに
おいて、ロールバックポイント処理での世代更新時に、
前n−1世代終了時から現n世代の間で変更されたペー
ジの内容のみを、次のn+1世代で使用する外部記憶装
置に送付し、それに基づいて次のn+1世代の処理を行
うことにより、n世代とn+1世代で使用するDISK
が異なっていても処理の連続性を維持することを特徴と
するものである。
A failure recovery type computer system according to a second aspect is the failure recovery type computer system according to the first aspect, when the generation is updated in rollback point processing,
By sending only the contents of the page changed from the end of the previous n-1 generation to the current n generation to the external storage device used in the next n + 1 generation, and performing the processing of the next n + 1 generation based on that. , DISK used in the nth generation and the n + 1th generation
The feature is that the continuity of the treatment is maintained even if the values are different.

【0020】また、請求項3に係る故障回復型計算機シ
ステムは、MMU(メモリマネジメントユニット)に世
代管理を持たせたロールバックポイント方式の故障回復
型計算機システムにおいて、仮想記憶アドレスと実記憶
アドレスとの変換を複数世代に分けて管理するMMU変
換方式により世代管理を実現する際、各世代毎にあらか
じめ使用ディスクを決めておくことを特徴とするもので
ある。
A failure recovery type computer system according to a third aspect is a rollback point type failure recovery type computer system in which an MMU (memory management unit) has generation management. When the generation management is realized by the MMU conversion method in which the conversion is divided into a plurality of generations and managed, a disk to be used is determined in advance for each generation.

【0021】また、請求項4に係る故障回復型計算機シ
ステムは、請求項3記載の故障回復型計算機システムに
おいて、現世代の変換マップのみをハードウェアのMM
U変換機構に置き、これ以外の過去旧世代等のMMU変
換情報は外部記憶装置に保管することを特徴とするもの
である。
A failure recovery type computer system according to a fourth aspect is the failure recovery type computer system according to the third aspect, wherein only the conversion map of the current generation is stored in the hardware MM.
It is characterized in that it is placed in the U conversion mechanism, and MMU conversion information other than this, such as past and old generations, is stored in an external storage device.

【0022】また、請求項5に係る故障回復型計算機シ
ステムは、請求項3記載の故障回復型計算機システムに
おいて、n世代MMU変換情報の当初はn−1世代の外
部記憶装置のn−1世代終了時のページを指定してお
き、そのページへの初めてのロールイン時のみここより
ロードすることとし、その後のロールアウト時にはn世
代側の外部記憶装置にストアすることを特徴とするもの
である。
A failure recovery computer system according to a fifth aspect of the present invention is the failure recovery computer system according to the third aspect, wherein the nth generation MMU conversion information is initially n-1 generation of the external storage device n-1 generation. The page at the end is specified, and the page is loaded from here only when the page is rolled in for the first time, and it is stored in the external storage device of the nth generation at the time of subsequent rollout. .

【0023】また、請求項6に係る故障回復型計算機シ
ステムは、請求項3記載の故障回復型計算機システムに
おいて、n世代でのロールアウト時、他の外部記憶装置
にも将来の世代(n+1世代等)用として同時に書き込
むことを特徴とするものである。
According to a sixth aspect of the present invention, there is provided a failure recovery type computer system according to the third aspect, wherein in the failure recovery type computer system, at the time of rollout in the nth generation, another external storage device also has a future generation (n + 1th generation). Etc.) for simultaneous writing.

【0024】また、請求項7に係る故障回復型計算機シ
ステムは、請求項3記載の故障回復型計算機システムに
おいて、3世代のMMU世代管理でn−1、n−2世代
の各世代間内容が同一の場合、n−2世代の外部記憶装
置側からn−2世代のページ内容をロールインすること
を特徴とするものである。
According to a seventh aspect of the present invention, there is provided a failure recovery type computer system according to the third aspect, wherein in the failure recovery type computer system, contents between n-1 and n-2 generations are generated in the MMU generation management of three generations. In the case of the same, the n-2 generation page contents are rolled in from the n-2 generation external storage device side.

【0025】また、請求項8に係る故障回復型計算機シ
ステムは、請求項3記載の故障回復型計算機システムに
おいて、MMU世代管理の際、外部記憶装置の各ページ
の各世代間の変更有無を、n/n−1、n−1/n−2
の様に前段の2世代間の変更状況を記憶することを特徴
とするものである。
Further, the failure recovery type computer system according to claim 8 is the failure recovery type computer system according to claim 3, wherein during the MMU generation management, whether or not there is a change between generations of each page of the external storage device, n / n-1, n-1 / n-2
As described above, the change status between the two previous generations is stored.

【0026】また、請求項9に係る故障回復型計算機シ
ステムは請求項3記載の故障回復型計算機システムにお
いて、MMU世代管理の際、外部記憶装置の各ページの
各世代間の変更の有無をn/n−1、n/n−2の様に
n世代との差としてその変更状況を記憶することを特徴
とするものである。
According to a ninth aspect of the present invention, there is provided the failure recovery type computer system according to the third aspect, wherein in the MMU generation management, whether or not there is a change between generations of each page of the external storage device is determined. It is characterized in that the change status is stored as a difference from the nth generation, such as / n-1 and n / n-2.

【0027】さらに、請求項10に係る故障回復型計算
機システムは、請求項3記載の故障回復型計算機システ
ムにおいて、MMUハードウェアには現世代の仮想アド
レスと実アドレスとの変換機構のみを持たせ、旧世代の
MMUマッピング情報は外部記憶装置に保管しておき、
異常発生時のロールバック処理にはこれをMMUハード
にロードすることを特徴とするものである。
Furthermore, the failure recovery type computer system according to a tenth aspect is the failure recovery type computer system according to the third aspect, wherein the MMU hardware has only a conversion mechanism between the current generation virtual address and the real address. , The old generation MMU mapping information is stored in an external storage device,
The rollback process when an abnormality occurs is characterized by loading this into the MMU hardware.

【0028】[0028]

【作用】上記構成を採用することにより、各請求項によ
れば次のように作用する。 1)請求項1によれば、所要外部記憶装置の容量を低減
する。 2)請求項2によれば、n世代とn+1世代で使用する
ディスクが異なっていても処理の連続性を維持する。 3)請求項3によれば、MMU管理情報量を削減する。 4)請求項4によれば、MMUのハードウェア量を削減
する。 5)請求項5によれば、ロールバックポイント処理に係
る外部記憶装置への転送量を削減する。 6)請求項6によれば、請求項5と同様に作用する。 7)請求項7によれば、外部記憶装置の負荷の均一化や
信頼性向上が図れる。 8)請求項8によれば、ロールバックポイントでの処理
を容易にする。 9)請求項9によれば、請求項8と同様に作用する。 10)請求項10によれば、MMUハードを削減する。
By adopting the above-mentioned structure, according to each claim, it operates as follows. 1) According to claim 1, the capacity of the required external storage device is reduced. 2) According to claim 2, processing continuity is maintained even if the disks used in the nth generation and the n + 1th generation are different. 3) According to claim 3, the amount of MMU management information is reduced. 4) According to claim 4, the amount of hardware of the MMU is reduced. 5) According to claim 5, the transfer amount to the external storage device related to the rollback point process is reduced. 6) According to claim 6, the same operation as that of claim 5 is exerted. 7) According to claim 7, the load on the external storage device can be made uniform and the reliability can be improved. 8) According to claim 8, the process at the rollback point is facilitated. 9) According to claim 9, the same action as that of claim 8 is exerted. 10) According to claim 10, the MMU hardware is reduced.

【0029】[0029]

【実施例】以下、本発明の実施例を図に基づいて説明す
る。
Embodiments of the present invention will be described below with reference to the drawings.

【0030】本発明は、外部記憶装置の記憶容量の削減
を図るため、従来の外部記憶装置の現用系に全ての複数
世代を置くのでなく、各世代を複数ディスクに分散・蓄
積し、所要ディスク容量を低減するもので、2世代管理
の場合の実施例を図1に示す。
According to the present invention, in order to reduce the storage capacity of the external storage device, each generation is distributed / stored in a plurality of disks, instead of placing all the plurality of generations in the active system of the conventional external storage device, and the required disks are stored. FIG. 1 shows an embodiment in the case of the second generation management for reducing the capacity.

【0031】この図1に示す様に、ロールバックポイン
ト毎に、MMUで指定するディスクを切り換え、各世代
毎に使用ディスクを決めておくことにより1台のディス
クが故障しても過去いずれかの世代のディスクを使用し
て、処理の引き戻し(ロールバック)と再開を可能とし
たものである。
As shown in FIG. 1, the disks designated by the MMU are switched for each rollback point, and the disks to be used are determined for each generation. Using generation disks, processing can be pulled back (rollback) and restarted.

【0032】図2はそのハードウェア構成図を示す。す
なわち、本実施例は、冗長化構成の計算機システムの適
用例を示すもので、この故障回復型計算機は、EPU
1、MMUハード2、主記憶部3、外部記憶装置制御部
4、及び主系・冗長管理部5を基本的に備えており、E
PU1から指示された仮想アドレスはMMUハード2に
より実アドレスに変換され、主記憶部3に対するEPU
1の読み出し及び書き込みが行われる。
FIG. 2 shows a hardware configuration diagram thereof. That is, this embodiment shows an application example of a computer system having a redundant configuration, and this failure recovery computer is an EPU.
1, the MMU hardware 2, the main storage unit 3, the external storage device control unit 4, and the main system / redundancy management unit 5 are basically provided.
The virtual address designated by the PU 1 is converted into a real address by the MMU hardware 2, and the EPU for the main memory 3 is converted.
1 is read and written.

【0033】また、ここでは仮想記憶方式であるから、
EPU1から指定された仮想アドレスが主記憶部3に無
い場合はページフォルトとなり、通常の仮想記憶方式と
同様に、不要な主記憶部3内容を一度ディスクに退逃さ
せ(ロールアウト)、指定された仮想アドレスの内容を
ディスクからロードして来る(ロールイン)ことにな
る。
Since the virtual memory system is used here,
If the virtual address designated by the EPU 1 does not exist in the main memory unit 3, a page fault will occur, and as with the normal virtual memory system, unnecessary contents of the main memory unit 3 will be temporarily escaped to the disk (roll out) and designated. The contents of the virtual address will be loaded from the disk (roll-in).

【0034】なお、図2のMMUハード2は現世代の仮
実変換機構のみでも良く、旧世代のMMU内容はディス
ク内に退逃しておき、異常発生時のロールバック処理の
時点で初めてMMUハード2にロードする方式としてM
MUハード2を削減することも可能である。
Note that the MMU hardware 2 of FIG. 2 may have only the current-generation provisional-to-actual conversion mechanism. The contents of the old-generation MMU are escaped to the disk, and the MMU hardware is not processed until the rollback processing at the time of an abnormality occurs. M as a method to load 2
It is also possible to reduce the MU hardware 2.

【0035】通常の各世代の処理が終了した後における
ロールバックポイントの処理では、その世代で変更され
たページの内容をその世代で使用していたディスクに退
逃し、ロールバックポイントにおけるソフトウェアのレ
ジスタ内容、ワーク内容、ステータス情報、プログラム
等の内容状態を全てディスクに書き込んでおく必要があ
る。また、同時に、次の世代の処理は異なる次のディス
クにて担当させるため、世代更新時は今までのn世代で
使用して来た内部状態が次のディスクにも引き継がれる
様にする必要がある。
In the processing of the rollback point after the normal processing of each generation is completed, the contents of the page changed in that generation are escaped to the disk used in that generation, and the software register at the rollback point is registered. It is necessary to write all contents such as contents, work contents, status information, and programs to the disc. At the same time, since the processing of the next generation is handled by a different next disk, it is necessary to ensure that the internal state used in the previous n generations is inherited to the next disk when updating the generation. is there.

【0036】この内部状態の引き継ぎを削減するため、
各世代間に渡ってプログラム部分は通常変化しないこと
や、各世代間でも変化は極く一部分のみであるという性
質を用いて、現世代と過去の世代とを各ページ単位で比
較し、変更があるページのみディスク間もしくは主記憶
部より次世代のディスクに転送するロールバックポイン
ト処理方式を図3に示す。
In order to reduce the inheritance of this internal state,
By using the property that the program part does not normally change between generations, and that there is only a small change between generations, the current generation and the past generation are compared on a page-by-page basis. FIG. 3 shows a rollback point processing method in which only a certain page is transferred between disks or from the main memory to the next-generation disk.

【0037】図3において、n世代とは、今迄処理して
来た世代であり、n+1世代とはこのロールバックポイ
ント後の次の世代のことである。
In FIG. 3, the nth generation is the generation that has been processed so far, and the n + 1th generation is the next generation after this rollback point.

【0038】図3に示すMMU変換マップにおいて、変
更の有無とは、n世代において書込等があり、そのペー
ジの内容がn−1世代と異なっているかどうかを示した
ものである。図9の主記憶部の各ページの書込フラグが
ロールアウト時(ロールバックポイントでのロールアウ
トも含め)、書込有となっていた場合、このMMU変換
マップの「変更有無フラグ」を変更有とすることによ
り、そのページがn世代とn−1世代とで異なっている
ことを示すものである。
In the MMU conversion map shown in FIG. 3, the presence / absence of change indicates whether or not there is writing in the nth generation and the content of the page is different from the n-1th generation. When the write flag of each page in the main memory unit of FIG. 9 is write enabled at the time of rollout (including rollout at the rollback point), the “change flag” of this MMU conversion map is changed. By setting it, it means that the page is different between the nth generation and the n-1th generation.

【0039】また、MMU変換マップは、現用のみMM
Uハードに置かれており、バックアップ側のMMU情報
は図2のMMU退逃領域に世代管理されながら退逃・保
管されている。
In the MMU conversion map, only the current MM is used.
The MMU information on the backup side is placed in the U hardware and is escaped / stored while being generationally managed in the MMU escape area of FIG.

【0040】図3におけるロールバックポイントの処理
では、まずn世代で使用したMMU現用マップから実ア
ドレスが主記憶部上にある内容でかつ図9の書込「有」
のページの内容をディスク#1にロールアウトして対応
するMMU仮想アドレスの「変更有無」フラグを変更
「有」とする。この主記憶部の退逃処理が全て完了した
後、この現用MMUマップもディスク#1にセーブして
内部状態のディスク#1へのセーブを完了する。
In the processing of the rollback point in FIG. 3, first, from the MMU working map used in the nth generation, the real address is the content in the main memory and the write "YES" in FIG.
The content of the page is rolled out to the disk # 1 and the "changed or not" flag of the corresponding MMU virtual address is changed to "present". After all the escape processing of the main memory is completed, this working MMU map is also saved in the disk # 1 and the saving in the internal state disk # 1 is completed.

【0041】次に、n+1世代を始める準備であるが、
この図3の例ではn世代はディスク#1が使用され、デ
ィスク#2はn−1世代で使用されてn世代ではバック
アップとされていた。次のn+1世代では逆にディスク
#2が使用され、ディスク#1はバックアップとなる
が、このとき、ディスク#2はn世代の最終の内部状態
を引き継いで処理を進める必要がある。
Next, in preparation for starting the n + 1 generation,
In the example of FIG. 3, the disk # 1 is used for the nth generation, the disk # 2 is used for the n−1th generation, and the disk is backed up for the nth generation. In the next n + 1 generation, on the contrary, the disk # 2 is used and the disk # 1 is used as a backup. At this time, the disk # 2 needs to take over the final internal state of the n generation and proceed with the processing.

【0042】ところで、この実施例ではディスク#1、
#2は交互に現用/予備となるので、n世代で変更が無
いページはn−1世代のものがn+1世代のスタート時
にそのまま使用することが可能である。例えば、図3で
はn世代で使用したディスク#1のアドレスYのページ
内容に変更が無ければこれに相当するn−1世代のディ
スク#2のアドレスxのページ内容とこれとは同一であ
り、n+1世代はディスク#2アドレスxのページを使
用すれば良く、MMUマップの更新を行えばディスク#
1と#2の間で転送する必要はない。
By the way, in this embodiment, the disk # 1,
Since # 2 is used / spare alternately, pages of the nth generation that have no change can be used as they are at the start of the n + 1th generation. For example, in FIG. 3, if there is no change in the page content of the address Y of the disk # 1 used in the nth generation, the page content of the address x of the disk # 2 of the n-1 generation corresponding to this is the same, For the n + 1 generation, it is sufficient to use the page of the disk # 2 address x, and if the MMU map is updated, the disk #
There is no need to transfer between 1 and # 2.

【0043】従って、この図3の例ではMMU変換マッ
プの「変更有無」フラグの内変更「有」のページ部分の
み、ディスク#1や主記憶部からディスク#2へ転送す
れば良く、これにより転送量の削減が可能となる。
Therefore, in the example of FIG. 3, only the page portion of "changed" in the "changed" flag of the MMU conversion map needs to be transferred from the disk # 1 or the main memory to the disk # 2. It is possible to reduce the transfer amount.

【0044】上述した図3の実施例はロールバックポイ
ントの処理時にその世代で書き込みがあったページの内
容を次世代のディスクに転送する方式であったが、図4
に示す実施例は、ロールバックポイント処理時に変更あ
った部分を全て転送するのでは無く、ロールイン時に初
めてその内容がどこにあるかを識別してそこからロード
し、ロールバックポイント処理時のデータ転送量を削減
し高速化を図るものである。
The above-described embodiment of FIG. 3 is a method of transferring the contents of the page written in the generation at the time of processing the rollback point to the next-generation disk.
The example shown in does not transfer all the changed parts at the time of rollback point processing, but at the time of roll-in, first identifies where the content is and loads it from there, and transfers the data at the time of rollback point processing. The amount is reduced and the speed is increased.

【0045】そのため、図4の実施例では、MMU変換
マップを拡張しn世代はどのディスクに内容が存在する
か識別できる様にして、当初はn−1世代でのディスク
とそのアドレスとして例えばディスク#2アドレスUを
指定しておき、ロールイン時はそのn−1世代のディス
ク#2のUよりロードし、更にそのページが主記憶部で
不用となったロールアウト時、初めてn世代でのディス
ク#1のアドレスUにストアする様にしたものである。
Therefore, in the embodiment shown in FIG. 4, the MMU conversion map is expanded so that it is possible to identify which disk has contents in the n-th generation. # 2 address U is specified, at the time of roll-in, it is loaded from the disk U of n-1 generation of disk # 2, and at the time of roll-out when the page is no longer needed in the main memory, it will be the first time in n generation The data is stored in the address U of the disk # 1.

【0046】なお、この図4で〜は時間の流れを示
している。
It is to be noted that in FIG. 4, ~ indicates the flow of time.

【0047】はn世代での当初のMMUマップの内容
を、はロールイン直後の状態を、はメモリに書込が
あった場合でロールアウト処理の内で一度変更「有」を
反映したものを、はロールアウト処理後の状態をそれ
ぞれ示している。
Indicates the contents of the original MMU map in the n-th generation, indicates the state immediately after roll-in, and indicates the change once in the roll-out process when there is a write in the memory. , Indicate the states after the roll-out processing.

【0048】また、図5の実施例は図3のロールバック
ポイントでの処理で図4と同様にディスク間の転送を不
用とする実施例で、ロールアウト時将来の世代のディス
クにも同時に書き込んでしまうものである。つまり、図
5のn世代での当初のMMU内容はn−1世代と異な
っているときは既にn世代でのディスクであるディスク
#1のwに書き込まれており、→でのロールイン時
はこのディスク#1のwより主記憶部に読み込む。
The embodiment of FIG. 5 is an embodiment in which transfer between disks is not required in the processing at the rollback point of FIG. 3 as in the case of FIG. 4, and data is simultaneously written to disks of future generations during rollout. It is something that ends up. That is, when the initial MMU contents in the nth generation in FIG. 5 are different from the n-1th generation, they are already written in w of the disk # 1 which is the disk in the nth generation, and at the time of roll-in at →, The main memory is read from w of this disk # 1.

【0049】また、ロールアウト時は、の様にn世代
用としてディスク#1のUに書き込むと共に並行して、
n+1世代用としてディスク#2のxにも書き込んでお
く。
At the time of rollout, the data is written in U of the disk # 1 for the nth generation as in
It is also written in x of the disk # 2 for the n + 1 generation.

【0050】なお、n+1世代用のMMU内容は、当初
未定としておくか又は変更されないとしてn+1世代で
のディスク(ここではディスク#2のV)を指定してお
く。
The contents of the MMU for the n + 1-th generation are initially undecided, or the disk for the n + 1-th generation (here, V of the disk # 2) is designated because it is not changed.

【0051】これにより、各世代の初めにはMMUに常
にその世代で使用するディスクにMMUデータが準備さ
れることになり、効率化が図られる。
As a result, at the beginning of each generation, the MMU is always prepared with the MMU data on the disk used in that generation, thus improving efficiency.

【0052】次に、3世代管理の実施例を図6に示す。Next, FIG. 6 shows an example of the third generation management.

【0053】この実施例ではMMUにn世代とn−1世
代、n−1世代とn−2世代との差異情報を持たせてい
る。
In this embodiment, the MMU is provided with the difference information between the nth generation and the n-1th generation, and the n-1th generation and the n-2th generation.

【0054】また、n世代とn−2世代との間に変更
(差異)が無ければ、図4の実施例でのn−1世代から
ロードする代りに、図7の様にn−2世代の(この例で
はディスク#1)からロードすることにし、可能な限
り、バックアップディスクを使用しない様にしてディス
ク異常時の回復性を高めたものである。
If there is no change (difference) between the nth generation and the n-2th generation, instead of loading from the n-1th generation in the embodiment of FIG. 4, the n-2th generation as shown in FIG. (In this example, the disk # 1 is loaded), and the backup disk is not used as much as possible to improve the recoverability in the event of a disk failure.

【0055】なお、図7において、各世代間の差異はn
世代との差としてMMUに保持されロールイン時の処理
を容易にしている。
In FIG. 7, the difference between the generations is n.
It is held in the MMU as a difference from the generation to facilitate the roll-in process.

【0056】[0056]

【発明の効果】以上のように、本発明によれば、従来の
ロールバックポイント方式における外部記憶装置への各
世代の退逃情報の冗長性削減により、外部記憶装置の所
要容量の低減を図ることができるという効果を奏する。
As described above, according to the present invention, the required capacity of the external storage device is reduced by reducing the redundancy of the escape information of each generation to the external storage device in the conventional rollback point system. There is an effect that can be.

【0057】また、外部記憶装置への書き込み・読み出
し量の削減により、システムの高速化や応答性改善を図
ることができるという効果を奏する。
Further, by reducing the amount of writing / reading to / from the external storage device, there is an effect that the speed of the system and the responsiveness can be improved.

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

【図1】本発明のロールバック方式の基本概念図であ
る。
FIG. 1 is a basic conceptual diagram of a rollback system of the present invention.

【図2】本発明のハードウェアの一実施例による構成図
である。
FIG. 2 is a configuration diagram according to an embodiment of hardware of the present invention.

【図3】本発明のロールバックポイント処理の概念図で
ある。
FIG. 3 is a conceptual diagram of rollback point processing of the present invention.

【図4】本発明により初めてロールインする時n−1世
代側ディスクよりロードしロールバックポイント処理を
低減した説明図である。
FIG. 4 is an explanatory diagram in which roll-back point processing is reduced by loading from an n-1 generation side disk when rolling in for the first time according to the present invention.

【図5】本発明のロールアウト時n+1世代側ディスク
にも書き込みロールバックポイント処理を低減した説明
図である。
FIG. 5 is an explanatory diagram in which the write rollback point processing is reduced even in the n + 1-generation side disk at the time of rollout of the present invention.

【図6】3世代管理の実施例の説明図である。FIG. 6 is an explanatory diagram of an example of 3-generation management.

【図7】3世代管理において初めてロールインする時n
−2世代側からロードする実施例を示す説明図である。
FIG. 7: When n rolls in for the first time in 3 generation management
It is explanatory drawing which shows the Example loaded from the -2nd generation side.

【図8】応用プログラムで実現される従来のロールバッ
ク方式の説明図である。
FIG. 8 is an explanatory diagram of a conventional rollback method realized by an application program.

【図9】従来のロールバックポイント更新処理の説明図
である。
FIG. 9 is an explanatory diagram of conventional rollback point update processing.

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

1a,1b EPU 2a,2b MMUハード 3a,3b 主記憶部 4a,4b 外部記憶装置制御部 1a, 1b EPU 2a, 2b MMU hardware 3a, 3b Main storage unit 4a, 4b External storage device control unit

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】 MMU(メモリマネジメントユニット)
に世代管理を持たせたロールバックポイント方式の故障
回復型計算機システムにおいて、ロールバック情報を各
世代毎に外部記憶装置に分散蓄積し、ロールバックポイ
ントでの世代更新時に外部記憶装置も同時に切り換える
ことを特徴とする故障回復型計算機システム。
1. An MMU (memory management unit)
In a rollback point failure recovery type computer system that has generation management for each generation, rollback information is distributed and stored in the external storage device for each generation, and the external storage device is switched at the same time when the generation is updated at the rollback point. Failure recovery type computer system.
【請求項2】 請求項1記載の故障回復型計算機システ
ムにおいて、ロールバックポイント処理での世代更新時
に、前n−1世代終了時から現n世代の間で変更された
ページの内容のみを、次のn+1世代で使用する外部記
憶装置に送付し、それに基づいて次のn+1世代の処理
を行うことにより、n世代とn+1世代で使用するDI
SKが異なっていても処理の連続性を維持することを特
徴とする故障回復型計算機システム。
2. The failure recovery computer system according to claim 1, wherein when a generation is updated in rollback point processing, only the contents of the page changed between the end of the previous n-1 generation and the current n generation, The DI used in the nth and n + 1th generations is sent to the external storage device used in the next n + 1th generation, and the processing of the next n + 1th generation is performed based on the DI.
A failure recovery computer system characterized by maintaining processing continuity even if SKs are different.
【請求項3】 MMU(メモリマネジメントユニット)
に世代管理を持たせたロールバックポイント方式の故障
回復型計算機システムにおいて、仮想記憶アドレスと実
記憶アドレスとの変換を複数世代に分けて管理するMM
U変換方式により世代管理を実現する際、各世代毎にあ
らかじめ使用ディスクを決めておくことを特徴とする故
障回復型計算機システム。
3. An MMU (memory management unit)
In a rollback point failure recovery type computer system having generation management in each, an MM that manages conversion of virtual memory addresses and real memory addresses by dividing into multiple generations
A failure recovery type computer system characterized in that a disk to be used is determined in advance for each generation when the generation management is realized by the U conversion method.
【請求項4】 請求項3記載の故障回復型計算機システ
ムにおいて、現世代の変換マップのみをハードウェアの
MMU変換機構に置き、これ以外の過去旧世代等のMM
U変換情報は外部記憶装置に保管することを特徴とする
故障回復型計算機システム。
4. The failure recovery computer system according to claim 3, wherein only the conversion map of the current generation is placed in the MMU conversion mechanism of the hardware, and the other MMs of the past and old generations etc.
A failure recovery type computer system characterized in that U conversion information is stored in an external storage device.
【請求項5】 請求項3記載の故障回復型計算機システ
ムにおいて、n世代MMU変換情報の当初はn−1世代
の外部記憶装置のn−1世代終了時のページを指定して
おき、そのページへの初めてのロールイン時のみここよ
りロードすることとし、その後のロールアウト時にはn
世代側の外部記憶装置にストアすることを特徴とする故
障回復型計算機システム。
5. The failure recovery computer system according to claim 3, wherein at the beginning of the n-th generation MMU conversion information, a page at the end of the n-1 generation of the n-1 generation external storage device is designated, and the page is designated. Load from here only at the first roll-in to n
A failure recovery type computer system characterized by storing in an external storage device on the generation side.
【請求項6】 請求項3記載の故障回復型計算機システ
ムにおいて、n世代でのロールアウト時、他の外部記憶
装置にも将来の世代(n+1世代等)用として同時に書
き込むことを特徴とする故障回復型計算機システム。
6. The failure recovery type computer system according to claim 3, wherein at the time of rollout in the nth generation, it is simultaneously written in another external storage device for future generations (n + 1 generation etc.). Recovery computer system.
【請求項7】 請求項3記載の故障回復型計算機システ
ムにおいて、3世代のMMU世代管理でn−1、n−2
世代の各世代間内容が同一の場合、n−2世代の外部記
憶装置側からn−2世代のページ内容をロールインする
ことを特徴とする故障回復型計算機システム。
7. The failure recovery computer system according to claim 3, wherein n-1 and n-2 are used for MMU generation management of three generations.
A failure recovery computer system characterized in that, when the contents of each generation are the same, the page contents of the (n-2) th generation are rolled in from the external storage device side.
【請求項8】 請求項3記載の故障回復型計算機システ
ムにおいて、MMU世代管理の際、外部記憶装置の各ペ
ージの各世代間の変更有無を、n/n−1、n−1/n
−2の様に前後の2世代間の変更状況を記憶することを
特徴とする故障回復型計算機システム。
8. The failure recovery computer system according to claim 3, wherein during MMU generation management, it is determined whether or not there is a change between generations of each page of the external storage device, n / n-1, n-1 / n.
-2, a failure recovery type computer system characterized by storing the change status between two generations before and after.
【請求項9】 請求項3記載の故障回復型計算機システ
ムにおいて、MMU世代管理の際、外部記憶装置の各ペ
ージの各世代間の変更の有無を、n/n−1、n/n−
2の様にn世代との差としてその変更状況を記憶するこ
とを特徴とする故障回復型計算機システム。
9. The failure recovery computer system according to claim 3, wherein when managing the MMU generation, whether or not there is a change between generations of each page of the external storage device is determined as n / n-1, n / n-.
A failure recovery type computer system characterized in that the change status is stored as a difference from the nth generation as in 2.
【請求項10】 請求項3記載の故障回復型計算機シス
テムにおいて、MMUハードウェアには現世代の仮想ア
ドレスと実アドレスとの変換機構のみを持たせ、旧世代
のMMUマッピング情報は外部記憶装置に保管してお
き、異常発生時のロールバック処理にはこれをMMUハ
ードにロードすることを特徴とする故障回復型計算機シ
ステム。
10. The failure recovery computer system according to claim 3, wherein the MMU hardware has only a conversion mechanism between the current-generation virtual address and the real address, and the old-generation MMU mapping information is stored in an external storage device. A failure-recovery type computer system that is stored and loaded into the MMU hardware for rollback processing when an abnormality occurs.
JP21873592A 1992-07-27 1992-07-27 Failure recovery computer system Expired - Fee Related JP3260433B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21873592A JP3260433B2 (en) 1992-07-27 1992-07-27 Failure recovery computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21873592A JP3260433B2 (en) 1992-07-27 1992-07-27 Failure recovery computer system

Publications (2)

Publication Number Publication Date
JPH0652053A true JPH0652053A (en) 1994-02-25
JP3260433B2 JP3260433B2 (en) 2002-02-25

Family

ID=16724617

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21873592A Expired - Fee Related JP3260433B2 (en) 1992-07-27 1992-07-27 Failure recovery computer system

Country Status (1)

Country Link
JP (1) JP3260433B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5956207A (en) * 1996-01-31 1999-09-21 Mitsubishi Denki Kabushiki Kaisha Storage device and recording medium cartridge

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5956207A (en) * 1996-01-31 1999-09-21 Mitsubishi Denki Kabushiki Kaisha Storage device and recording medium cartridge
US5959804A (en) * 1996-01-31 1999-09-28 Mitsubishi Denki Kabushiki Kaisha Storage device and recording medium cartridge

Also Published As

Publication number Publication date
JP3260433B2 (en) 2002-02-25

Similar Documents

Publication Publication Date Title
EP0608344B1 (en) System for backing-up data for rollback
US5974426A (en) Device and method for data recovery in a file system
US7107486B2 (en) Restore method for backup
US6883112B2 (en) Storage device, backup and fault tolerant redundant method and computer program code of plurality storage devices
KR100204027B1 (en) Database recovery apparatus and method using nonvolatile memory
JP4248510B2 (en) Computer system, disk device, and data update control method
KR20170054767A (en) Database management system and method for modifying and recovering data the same
JP3136258B2 (en) Disk update log recording method
US6108671A (en) Virtual database space system and computer-readable recording medium recorded with database program
JP2513060B2 (en) Failure recovery type computer
JPH0652053A (en) Fail safe type computer system
JPH0981464A (en) Memory fault recovering method of computer system and recovering system
CN118466862B (en) Data storage method, product, device and medium
EP0881570A1 (en) Database recovery system
US7890798B1 (en) Computer cluster with second-node instance of application having access to state snapshot of first-node instance of application
JP2631185B2 (en) Database backup method
JP3822449B2 (en) Stack saving method, stack saving program, and highly reliable computer system
JP3463696B2 (en) Online garbage collection processing method
JPH04218842A (en) Reexecution method for program
JPS59180897A (en) Double structure system of battery back-up memory
JPH01125631A (en) System fault recovering system
JPH09212400A (en) File system provided with fault resistance
JPS62297948A (en) Recovery system for fault of data base
JPH04141751A (en) Fault recovery system for mass storage medium
JPS63262737A (en) Database update record processing method

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071214

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081214

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091214

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091214

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101214

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees