Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3260433B2 - Failure recovery computer system - Google Patents
[go: Go Back, main page]

JP3260433B2 - Failure recovery computer system - Google Patents

Failure recovery computer system

Info

Publication number
JP3260433B2
JP3260433B2 JP21873592A JP21873592A JP3260433B2 JP 3260433 B2 JP3260433 B2 JP 3260433B2 JP 21873592 A JP21873592 A JP 21873592A JP 21873592 A JP21873592 A JP 21873592A JP 3260433 B2 JP3260433 B2 JP 3260433B2
Authority
JP
Japan
Prior art keywords
generation
computer system
generations
mmu
external storage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP21873592A
Other languages
Japanese (ja)
Other versions
JPH0652053A (en
Inventor
俊雄 菊池
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
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

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

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 method in which, when an abnormality occurs in information processing by a computer, a retry is automatically performed from a past checkpoint.

【0002】[0002]

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

【0003】図8は上記公報に示されたロールバック方
式を説明するもので、世代更新の考え方を示し、ロール
バックデータは、破壊されることがないように補助記憶
領域(ファイル)に格納され、世代管理が行われる。
FIG. 8 explains the rollback method disclosed in the above publication, and shows the concept of generation update. 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. 8 (a), a rollback point update process (steps 81 and 83) and an application program execution process (steps 82 and 84) are performed in chronological order. If an error occurs during the execution process (steps 82 and 84), the process returns to the immediately preceding rollback point (steps 81 and 83) and the rollback data execution process (steps 82 and 84)
To recover from the abnormal state.

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

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

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

【0008】一方、新世代(85,88)のデータが実
行処理されると、その後のデータは現世代(87,9
1)となるが、エラーが発生すると、直前のロールバッ
クポイントに戻り異常時復元処理を行う。即ち、図中破
線矢印で示す如く、2世代管理の場合には、ファイルの
前世代86を新世代85として主記憶に転記し、このコ
ピーされた新世代85のデータを実行する。
On the other hand, when data of the new generation (85, 88) is executed, the subsequent data is stored in the current generation (87, 9).
However, if an error occurs, the process returns to the immediately preceding rollback point and performs the abnormal time restoration process. That is, in the case of the two-generation management, as shown by the dashed arrow in the figure, the previous generation 86 of the file is transferred to the main storage 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 last two generations 90 on the file are set as the new previous generation 89, and the old previous generation 89 is created.
Is transferred to the main memory to obtain a new new generation 88. in short,
The process of returning the rollback data to one generation is performed.

【0010】また、図8に示す世代更新の実現方式の一
つとして、上記公報には、MMU(Memory Ma
pping Unit)を用いた世代更新方式が示され
ている。
[0010] As one of the generation updating methods shown in FIG. 8, the above publication discloses an MMU (Memory Ma).
3 shows a generation update method using Pping Unit (pping Unit).

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

【0012】図9において、更新直前のMMU変換マッ
プの論理ページ番号「x」の内容としては、主記憶部の
物理ページ番号「a」の書込フラグ領域にフラグが設定
され、格納データに変更のあったことが示されている。
In FIG. 9, as a content of the logical page number “x” of the MMU conversion map immediately before updating, a flag is set in the write flag area of the physical page number “a” in the main storage unit, and the content is 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 n generations (old and current generations) at the time of updating is set to the (n + 1) th generation (new and current generations), and the contents of the physical page number “a” are used as rollback data as file pages. The data is transcribed to the area of the number “u”, and the file page number “u” is set as the nth generation (new previous generation). Note that the flag is reset at an appropriate time after the transcription.

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

【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 system is returned to there once, and the processing is restarted from there. R
All-Back-Point. Conventional M
The management method by the MU allows the MMU to manage multiple generations, and if an error occurs, performs an error process such as hardware switching, returns the contents of the MMU to one generation, and automatically resumes from the previous rollback point I was able to do it.

【0016】[0016]

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

【0018】[0018]

【課題を解決するための手段】上記目的を達成するため
に、本発明の請求項1に係る故障回復型計算機システム
は、MMU(メモリマネジメントユニット)に世代管理
を持たせたロールバックポイント方式の故障回復型計算
機システムにおいて、仮想記憶アドレスと実記憶アドレ
スとの変換を複数世代に分けて管理するMMU変換方式
により世代管理を実現する際、各世代毎にあらかじめ使
用する外部記憶装置を決めておき、n世代でのロールア
ウト時、当該ロールバック情報を将来の世代用として他
の外部記憶装置にも同時に書き込むことを特徴とするも
のである。
In order to achieve the above object, a fault recovery type computer system according to the first aspect of the present invention uses a rollback point system in which an MMU (memory management unit) has generation management. Oite the fault recovery type computer system, virtual memory addresses and real memory addresses
MMU conversion method that manages conversion to and from multiple generations
When realizing generation management by using
Determine the external storage device to be used, and
At the time of out, the rollback information is used for future generations.
The data is also written to the external storage device at the same time .

【0019】また、本発明の請求項2に係る故障回復型
計算機システムは、n個(n>1:整数)の外部記憶装
置を有し、MMU(メモリマネジメントユニット)に世
代管理を持たせたロールバックポイント方式の故障回復
型計算機システムにおいて、ロールバックポイントでの
世代更新時に前記外部記憶装置を切り替えて連続する世
代間で異なる外部記憶装置を使用させ、現世代とそのn
世代前までとの差を、外部記憶装置の各ページの各世代
間の変更の有無として記憶することを特徴とする。
A fault recovery type according to claim 2 of the present invention.
The computer system has n (n> 1: integer) external storage devices.
With a memory management unit (MMU)
Recovery of Rollback Point Method with Cost Management
Type computer system, at the rollback point
Switching the external storage device at generation update
Different external storage devices are used for different generations.
The difference from the previous generation is calculated for each page of the external storage device.
It is characterized in that it is stored as the presence or absence of a change between the two.

【0020】[0020]

【0021】[0021]

【0022】[0022]

【0023】[0023]

【0024】また、請求項に係る故障回復型計算機シ
ステムは、請求項記載の故障回復型計算機システムに
おいて、3世代のMMU世代管理でn−1、n−2世代
の各世代間内容が同一の場合、n−2世代の外部記憶装
置側からn−2世代のページ内容をロールインすること
を特徴とするものである。
Further, fault recovery type computer system according to claim 3, in claim 1, wherein the fault recovery type computer system, each intergenerational content of 3 n-1 in generation of MMU generation management, n-2 Generation If they are the same, the page content of the n-2 generation is rolled in from the side of the n-2 generation external storage device.

【0025】また、請求項に係る故障回復型計算機シ
ステムは、請求項記載の故障回復型計算機システムに
おいて、MMU世代管理の際、外部記憶装置の各ページ
の前後の2世代間の変更状況を記憶することを特徴とす
るものである。
Further, fault recovery type computer system according to claim 4 is the fault recovery type computer system according to claim 1, when the MMU generation management, each page of the external storage device
The change status between two generations before and after is stored.

【0026】また、請求項に係る故障回復型計算機シ
ステムは請求項記載の故障回復型計算機システムにお
いて、請求項2記載の故障回復型計算機システムにおい
て、n世代でのロールアウト時、当該ロールバック情報
を将来の世代用として他の外部記憶装置にも同時に書き
込むことを特徴とするものである。
Further, the fault recovery type computer system according to claim 4 is the fault recovery type computer system according to claim 2 and the fault recovery type computer system according to claim 2.
The rollback information at the time of rollout in n generations
To another external storage device for future generations at the same time.
It is characterized in that

【0027】さらに、請求項に係る故障回復型計算機
システムは、請求項1または2記載の故障回復型計算機
システムにおいて、MMUハードウェアには現世代の仮
想アドレスと実アドレスとの変換機構のみを持たせ、旧
世代のMMUマッピング情報は外部記憶装置に保管して
おき、異常発生時のロールバック処理にはこれをMMU
ハードにロードすることを特徴とするものである。
Further, the fault recovery type computer system according to claim 5 is the fault recovery type computer system according to claim 1 or 2, wherein the MMU hardware includes only a conversion mechanism between a current generation virtual address and a real address. The MMU mapping information of the old generation is stored in an external storage device, and is used for rollback processing when an error occurs.
It is characterized by being loaded on 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ハードを削減する。
According to the present invention, the following operation is achieved by adopting the above configuration. 1) According to the first aspect, the required capacity of the external storage device is reduced. 2) According to claim 2, continuity of processing is maintained even if disks used in the n generation and the n + 1 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 amount of transfer to the external storage device related to the rollback point process is reduced. 6) According to the sixth aspect, the operation is the same as that of the fifth aspect. 7) According to the seventh aspect, the load on the external storage device can be made uniform and the reliability can be improved. 8) According to claim 8, the processing at the rollback point is facilitated. 9) According to the ninth aspect, the operation is the same as that of the eighth aspect. 10) According to claim 10, MMU hardware is reduced.

【0029】[0029]

【実施例】以下、本発明の実施例を図に基づいて説明す
る。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment 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 an external storage device, each generation is distributed and accumulated on a plurality of disks instead of placing all of the plurality of generations on a working system of a conventional external storage device. FIG. 1 shows an embodiment in which the capacity is reduced and two-generation management is performed.

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

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

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

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

【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 the generation are saved to the disk used in the generation, and the software register at the rollback point is rewritten. It is necessary to write all the contents, work contents, status information, and the contents state of the program and the like on the disk. At the same time, the next generation process is assigned to a different next disk. Therefore, at the time of generation update, it is necessary to ensure that the internal state used for the nth generation is carried over to the next disk. is there.

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

【0037】図3において、n世代とは、今迄処理して
来た世代であり、n+1世代とはこのロールバックポイ
ント後の次の世代のことである。
In FIG. 3, the n generation is the generation that has been processed so far, and the n + 1 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 the n generations have been written and the contents of the page are different from the (n-1) th generation. When the write flag of each page in the main storage unit in FIG. 9 is rolled out (including the rollout at the rollback point), and the writing is performed, the “change flag” of this MMU conversion map is changed. The presence indicates that the page is different between the n generation and the n-1 generation.

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

【0040】図3におけるロールバックポイントの処理
では、まずn世代で使用したMMU現用マップから実ア
ドレスが主記憶部上にある内容でかつ図9の書込「有」
のページの内容をディスク#1にロールアウトして対応
するMMU仮想アドレスの「変更有無」フラグを変更
「有」とする。この主記憶部の退逃処理が全て完了した
後、この現用MMUマップもディスク#1にセーブして
内部状態のディスク#1へのセーブを完了する。
In the process of the rollback point in FIG. 3, first, the real address is the content in the main storage unit from the MMU working map used in the nth generation and the write “YES” in FIG.
Is rolled out to the disk # 1, and the “change presence / absence” flag of the corresponding MMU virtual address is changed to “present”. After all the evacuation processing of the main storage unit is completed, the current MMU map is also saved in the disk # 1, and the saving to the disk # 1 in the internal state 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 n generation, and the disk # 2 is used for the n-1 generation and is used as a backup for the n generation. Conversely, in the next n + 1 generation, disk # 2 is used and disk # 1 is backed up. At this time, disk # 2 needs to take over the final internal state of n generations and proceed with 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 alternately used / reserved, pages of n generations that have no change can be used as they are at the start of the (n + 1) generation for the (n-1) 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) th generation is the same as this, and The n + 1 generation may use the page at address x of disk # 2, and if the MMU map is updated, disk # 2
There is no need to transfer between # 1 and # 2.

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

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

【0045】そのため、図4の実施例では、MMU変換
マップを拡張しn世代はどのディスクに内容が存在する
か識別できる様にして、当初はn−1世代でのディスク
とそのアドレスとして例えばディスク#2アドレスUを
指定しておき、ロールイン時はそのn−1世代のディス
ク#2のUよりロードし、更にそのページが主記憶部で
不用となったロールアウト時、初めてn世代でのディス
ク#1のアドレスUにストアする様にしたものである。
For this reason, in the embodiment shown in FIG. 4, the MMU conversion map is extended so that the n generations can identify which disk has the contents, so that the disk of the n-1 generation and the disk address as the address at the beginning, for example, The # 2 address U is designated, and when the roll-in is performed, the disk is loaded from the U of the disk # 2 of the (n-1) th generation. The data is stored at the address U of the disk # 1.

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

【0047】はn世代での当初のMMUマップの内容
を、はロールイン直後の状態を、はメモリに書込が
あった場合でロールアウト処理の内で一度変更「有」を
反映したものを、はロールアウト処理後の状態をそれ
ぞれ示している。
Represents the contents of the initial MMU map in n generations, represents the state immediately after roll-in, and represents the state in which data has been written into the memory and which reflects the once changed "Yes" in the roll-out processing. , Indicate the state after the rollout process.

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

【0049】また、ロールアウト時は、の様にn世代
用としてディスク#1のUに書き込むと共に並行して、
n+1世代用としてディスク#2のxにも書き込んでお
く。
At the time of roll-out, the data is written to U of disk # 1 for n generations and
It is also written in x of 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 a disk of the (n + 1) th generation (V of disk # 2 in this case) is specified as unchanged.

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

【0052】次に、3世代管理の実施例を図6に示す。Next, an embodiment of three-generation management is shown in FIG.

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

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

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

【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. It has the effect of being able to do so.

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

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

【図1】本発明のロールバック方式の基本概念図であ
る。
FIG. 1 is a basic conceptual diagram of a rollback method according to 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 a rollback point process according to the present invention.

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

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

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

【図7】3世代管理において初めてロールインする時n
−2世代側からロードする実施例を示す説明図である。
FIG. 7 is a diagram illustrating a first roll-in in three generation management.
FIG. 3 is an explanatory diagram showing an embodiment in which loading is performed from the -2 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 a conventional rollback point update process.

【符号の説明】[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 (6)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 MMU(メモリマネジメントユニット)
に世代管理を持たせたロールバックポイント方式の故障
回復型計算機システムにおいて、 仮想記憶アドレスと実記憶アドレスとの変換を複数世代
に分けて管理するMMU変換方式により世代管理を実現
する際、各世代毎にあらかじめ使用する外部記憶装置
決めておき、n世代でのロールアウト時、当該ロールバ
ック情報を将来の世代用として他の外部記憶装置にも同
時に書き込むことを特徴とする故障回復型計算機システ
ム。
1. An MMU (Memory Management Unit)
In a failure-recovery computer system using a rollback point system with generation management, the generation management by the MMU conversion system that manages the conversion between virtual storage addresses and real storage addresses by dividing them into multiple generations. The external storage device to be used is determined in advance for each roll, and when rolling out in n generations,
Data to other external storage devices for future generations.
A failure recovery type computer system characterized by writing at times .
【請求項2】 n個(n>1:整数)の外部記憶装置を
有し、MMU(メモリマネジメントユニット)に世代管
理を持たせたロールバックポイント方式の故障回復型計
算機システムにおいて、 ロールバックポイントでの世代更新時に前記外部記憶装
置を切り替えて連続する世代間で異なる外部記憶装置を
使用させ、 現世代とそのn世代前までとの差を、外部記憶装置の各
ページの各世代間の変更の有無として記憶することを特
徴とする故障回復型計算機システム。
(2)n (n> 1: integer) external storage devices
Generation management in MMU (memory management unit)
Recovery type meter with rollback point method
In the computer system, When the generation is updated at the rollback point, the external storage
Switch the storage device to use a different external storage device between successive generations.
Let me use The difference between the current generation and the previous n generations is
It is especially important to memorize whether the page has changed between generations.
Failure recovery type computer system.
【請求項3】 請求項記載の故障回復型計算機システ
ムにおいて、3世代のMMU世代管理でn−1、n−2
世代の各世代間内容が同一の場合、n−2世代の外部記
憶装置側からn−2世代のページ内容をロールインする
ことを特徴とする故障回復型計算機システム。
3. The fault recovery type computer system according to claim 1 , wherein n-1 and n-2 are managed by three generations of MMU generation management.
A failure recovery type computer system characterized in that, when the contents between the generations are the same, the page contents of the n-2 generation are rolled in from the external storage device of the n-2 generation.
【請求項4】 請求項記載の故障回復型計算機システ
ムにおいて、MMU世代管理の際、外部記憶装置の各ペ
ージの前後の2世代間の変更状況を記憶することを特徴
とする故障回復型計算機システム。
4. The fault recovery type computer system according to claim 1 , wherein each memory of the external storage device is managed during MMU generation management.
A failure recovery type computer system characterized by storing a change status between two generations before and after a page .
【請求項5】 請求項2記載の故障回復型計算機システ
ムにおいて、n世代でのロールアウト時、当該ロールバ
ック情報を将来の世代用として他の外部記憶装置にも同
時に書き込むことを特徴とする故障回復型計算機システ
ム。
5. A fault recovery type computer system according to claim 2.
When the rollout in n generations
Data to other external storage devices for future generations.
Recovery type computer system characterized by writing at the time
M
【請求項6】 請求項1または2記載の故障回復型計算
機システムにおいて、MMUハードウェアには現世代の
仮想アドレスと実アドレスとの変換機構のみを持たせ、
旧世代のMMUマッピング情報は外部記憶装置に保管し
ておき、異常発生時のロールバック処理にはこれをMM
Uハードにロードすることを特徴とする故障回復型計算
機システム。
6. The fault recovery type computer system according to claim 1, wherein the MMU hardware has only a translation mechanism between a current generation virtual address and a real address.
The MMU mapping information of the old generation is stored in an external storage device, and is used for rollback processing when an error occurs.
A fault recovery type computer system loaded on U hardware.
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 JPH0652053A (en) 1994-02-25
JP3260433B2 true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09270161A (en) * 1996-01-31 1997-10-14 Mitsubishi Electric Corp Storage device and recording medium cartridge

Also Published As

Publication number Publication date
JPH0652053A (en) 1994-02-25

Similar Documents

Publication Publication Date Title
US5325519A (en) Fault tolerant computer with archival rollback capabilities
Landau The checkpoint mechanism in KeyKOS
JP3260433B2 (en) Failure recovery computer system
CN101206595A (en) Method for disk snapshot by snapshot pointer
JP2513060B2 (en) Failure recovery type computer
JP3070453B2 (en) Memory failure recovery method and recovery system for computer system
KR100365891B1 (en) Backup/recovery Apparatus and method for non-log processing of real-time main memory database system
JPS62245348A (en) Method and device for updating data base
JPH0744440A (en) Data save device
JP3822449B2 (en) Stack saving method, stack saving program, and highly reliable computer system
JP2001188690A (en) Computer system and checkpoint information storage method
JPH04184641A (en) Data base restoring system
JPH10240620A (en) Computer system and checkpoint image storage method in the system
JPS62297948A (en) Database failure recovery method
JPH04141751A (en) Fault recovery system for mass storage medium
JPH04209044A (en) Data base control system
JP3667703B2 (en) Error correction control circuit
JPS63262737A (en) Data base updating and recording processing method
JP3463696B2 (en) Online garbage collection processing method
JPH0259837A (en) Data recovery processing system
JP4161362B2 (en) Computer system having data recovery function and data recovery method
JPH07261989A (en) Control program recovery method
JPH01125631A (en) System fault recovering system
JPH09212400A (en) File system with fault tolerance
JPH0417040A (en) Method for managing program of decentralized processing system

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