JPH10320255A - Input/output device controller and method for check point/rollback type computer - Google Patents

Input/output device controller and method for check point/rollback type computer

Info

Publication number
JPH10320255A
JPH10320255A JP9126772A JP12677297A JPH10320255A JP H10320255 A JPH10320255 A JP H10320255A JP 9126772 A JP9126772 A JP 9126772A JP 12677297 A JP12677297 A JP 12677297A JP H10320255 A JPH10320255 A JP H10320255A
Authority
JP
Japan
Prior art keywords
data
checkpoint
management table
storage device
secondary 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.)
Pending
Application number
JP9126772A
Other languages
Japanese (ja)
Inventor
Kuniyasu Shimizu
邦保 清水
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP9126772A priority Critical patent/JPH10320255A/en
Publication of JPH10320255A publication Critical patent/JPH10320255A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide an I/O device controller and a method for a check point/ rollback type computer capable of preventing the issue of an I/O request to a disk from being delayed. SOLUTION: Since a computer system 10 connected to hard disks 11, 12 having partitions A, B and consisting of a processor 15, a main memory 13, a control table 14, and a disk controller 16 can issue an I/O request to a secondary storage device without waiting for a check point and distribute access frequency to respective disk drives 11, 12, the performance of the system at normal processing time can be improved.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、定期的にチェック
ポイントを採取しながら処理を進めシステムに障害が発
生した場合には、直前に採取したチェックポイント時点
にシステムの状態を戻して処理を再実行することによ
り、システムの一時故障を回避するチェックポイント−
ロールバック方式機構を有し、二次記憶装置との間でデ
ータの格納、読み出しを行うような計算機システムにお
ける入出力制御方法の故障回復方法、即ちチェックポイ
ント/ロールバック方式の計算機における入出力装置制
御方法、及びこの方法を用いたチェックポイント/ロー
ルバック方式の計算機における入出力装置制御装置、及
び方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a process in which a checkpoint is periodically collected and processing is performed. Checkpoint to avoid temporary system failure by executing
A failure recovery method of an input / output control method in a computer system having a rollback mechanism and storing and reading data from / to a secondary storage device, that is, an input / output device in a checkpoint / rollback computer The present invention relates to a control method, an input / output device control device in a checkpoint / rollback type computer using the method, and a method.

【0002】[0002]

【従来の技術】従来、定期的にチェックポイントを採取
しながら処理を進め、システムに障害が発生した場合に
は、直前に採取したチェックポイント時点にシステムの
状態を戻し(ロールバック)、処理を再実行することに
よって、システムの一時故障を回避するようなチェック
ポイント/ロールバック方式機構を有して、二次記憶装
置との間でデータの格納/読み出しを行うような計算機
システムにおいては、障害発生によるロールバックの後
でも、メインメモリやプロセッサなどの状態とI/O装
置(ディスクの内容など)との整合性を保証する必要が
ある。このため、通常チェックポイント−ロールバック
方式においては、プログラムからのI/Oリクエストは
次回のチェックポイント取得によって発行が確定した後
にディスクに対して発行するものであった。
2. Description of the Related Art Conventionally, processing is performed while periodically collecting checkpoints, and when a failure occurs in the system, the state of the system is returned (rolled back) to the time of the immediately preceding checkpoint, and processing is performed. In a computer system which has a checkpoint / rollback mechanism for avoiding a temporary failure of the system by re-executing and storing / reading data with / from a secondary storage device, Even after the rollback due to the occurrence, it is necessary to guarantee the consistency between the state of the main memory and the processor and the I / O device (such as the contents of the disk). For this reason, in the normal checkpoint-rollback method, an I / O request from a program is issued to a disk after the issuance is determined by the next checkpoint acquisition.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上述の
入出力制御方法においては、少なくとも入出力装置の状
態を変更する(書き込む)ようなリクエストに関して
は、次回のチェックポイント採取処理以降に発行を遅延
することになり、更に次回のチェックポイント処理時以
降にチェックポイント時点まで遅延したリクエストをま
とめて発行するため、チェックポイント−ロールバック
方式によって高信頼化を図る計算機システムの性能を劣
化させる一要因となっていた。
However, in the above input / output control method, issuance of at least a request to change (write) the state of the input / output device is delayed after the next checkpoint collection process. In other words, since the requests delayed until the checkpoint point are issued after the next checkpoint processing, the checkpoint-rollback method degrades the performance of the computer system for achieving high reliability. I was

【0004】そこで本発明は上記事情を考慮して成され
たもので、上記不具合を解消し、ディスクに対するI/
Oリクエストの発行を遅延しないようなチェックポイン
ト/ロールバック方式の計算機における入出力装置制御
方法、及びこの方法を用いたチェックポイント/ロール
バック方式の計算機における入出力装置制御装置、及び
方法を提供することを目的とする。
Accordingly, the present invention has been made in view of the above circumstances, and solves the above-mentioned disadvantages, and provides an I / O for a disk.
An input / output device control method for a checkpoint / rollback computer that does not delay the issuance of an O request, and an input / output device control device and method for a checkpoint / rollback computer using this method are provided. The purpose is to:

【0005】[0005]

【課題を解決するための手段】本発明は上記目的を達成
するため、定期的にチェックポイントを採取しながら処
理を進めシステムに障害が発生した場合には直前に採取
したチェックポイント時点にシステムの状態を戻すロー
ルバックを行い、処理を再実行することにより、システ
ムの一時故障を回避するチェックポイント−ロールバッ
ク方式機構を有し、二次記憶装置との間でデータの格
納、読み出しを行うような計算機システムにおいて、一
つのデータに関して上記二次記憶装置上で複数のデータ
ブロックを割り当て上記複数のデータブロックのうちい
ずれが最後のチェックポイント時点の状態であるチェッ
クポイントイメージであるか及び最新の状態であるかを
記録する管理テーブルをもつ手段と、上記二次記憶装置
へのデータの書き込み要求を受け付けたときは上記管理
テーブルの参照により受け取ったデータに対して上記二
次記憶装置の上で対応する複数のデータブロックのうち
チェックポイントイメージではないデータブロックを選
択し、選択したデータブロックがチェックポイントイメ
ージではなく且つ最新のデータブロックあることを示す
情報を上記管理テーブルに記録し選択したデータブロッ
クにデータを書き込む手段と、上記二次記憶装置からの
データの読み出し要求が発生したときは上記管理テーブ
ルの参照により要求されたデータに対して上記二次記憶
装置上で対応する複数のデータブロックのうち上記管理
テーブルにおいて最新のデータブロックと指定されてい
るデータブロックからデータを読み出す手段と、チェッ
クポイント処理の際には上記管理テーブルの参照により
すべてのデータに関して上記二次記憶装置の上で対応す
る複数のデータブロックのうち最新のデータブロックで
あると登録されているブロックが最新であり且つチェッ
クポイントイメージであることを上記管理テーブルに登
録する手段と、システムを最新のチェックポイントの状
態に戻して処理を再開する際には上記管理テーブルの参
照によりすべてのデータに関して二次記憶装置の上で対
応する複数のデータブロックのうちチェックポイントイ
メージであると登録されているブロックがチェックポイ
ントイメージであり且つ最新であることを上記管理テー
ブルに登録する手段とを具備することを特徴とするチェ
ックポイント/ロールバック方式の計算機における入出
力装置制御装置にある。そして、このような構成によれ
ば、チェックポイント−ロールバック方式の計算機シス
テムにおいて、二次記憶装置に対するI/Oリクエスト
をチェックポイントを待たずに発行することができ、さ
らにアクセスの頻度を各ディスクドライブに分散させる
ことができるため、通常処理時のシステムの性能を向上
することができる。
According to the present invention, in order to achieve the above-mentioned object, the processing is performed while periodically collecting checkpoints, and when a failure occurs in the system, the system is reset to the time of the immediately preceding checkpoint. It has a checkpoint-rollback mechanism to avoid temporary system failure by performing a rollback to return the state and re-executing the process, and stores and reads data to and from the secondary storage device. In a computer system, a plurality of data blocks are allocated for one piece of data on the secondary storage device, and which of the plurality of data blocks is a checkpoint image at the time of the last checkpoint and the latest state Means having a management table for recording whether or not the data is written to the secondary storage device. When the request is received, a data block that is not a checkpoint image is selected from a plurality of data blocks corresponding to the data received by referring to the management table on the secondary storage device, and the selected data block is Means for recording, in the management table, information indicating that there is a latest data block, not a checkpoint image, and for writing data to the selected data block; and a means for reading data from the secondary storage device, Means for reading data from the data block designated as the latest data block in the management table among the plurality of data blocks corresponding to the data requested by referring to the management table on the secondary storage device; When processing points, the above management table In the above-mentioned management, it is determined that the block registered as the latest data block among the plurality of data blocks corresponding to all data on the secondary storage device by referring to the data is the latest and is a checkpoint image. Means for registering in the table, and when the system is returned to the latest checkpoint state and processing is resumed, referring to the above-mentioned management table, for all data, of a plurality of corresponding data blocks on the secondary storage device Means for registering in the management table that a block registered as a checkpoint image is a checkpoint image and the latest one in the management table. In the output device controller. According to such a configuration, in a checkpoint-rollback computer system, an I / O request to a secondary storage device can be issued without waiting for a checkpoint, and the frequency of access can be reduced by each disk. Since the data can be distributed to the drives, the performance of the system during normal processing can be improved.

【0006】又、本発明は上記目的を達成するため、定
期的にチェックポイントを採取しながら処理を進めシス
テムに障害が発生した場合には直前に採取したチェック
ポイント時点にシステムの状態を戻すロールバックで処
理を再実行することによって、システムの一時故障を回
避するようなチェックポイント−ロールバック方式機構
を持っていて二次記憶装置との間でデータの格納、読み
出しを行うような計算機システムにおいて、一つのデー
タに関して二次記憶装置上で二つのデータブロックを割
り当て上記二つのデータブロックのいずれが最後のチェ
ックポイント時点の状態であるチェックポイントイメー
ジであるか及び最新の状態であるかを記録する管理テー
ブルを持つ手段と、前記二次記憶装置へのデータの書き
込み要求を受け付けたときは上記管理テーブルの参照に
より受け取ったデータに対して二次記憶装置の上で対応
する二つのデータブロックのうちチェックポイントイメ
ージではないデータブロックを選択し、選択したデータ
ブロックがチェックポイントイメージではなく且つ最新
のデータブロックあることを示す情報を上記管理テーブ
ルに記録し、選択したデータブロックにデータを書き込
む手段と、前記二次記憶装置からのデータの読み出し要
求が発生したときは上記管理テーブルの参照により要求
されたデータに対して二次記憶装置上で対応する二つの
データブロックのうち上記管理テーブルにおいて最新の
データブロックと指定されているデータブロックからデ
ータを読み出す手段と、チェックポイント処理の際には
上記管理テーブルの参照によりすべてのデータに関して
二次記憶装置の上で対応する二つのデータブロックのう
ち最新のデータブロックであると登録されているブロッ
クが最新であり且つチェックポイントイメージであるこ
とを上記管理テーブルに登録する手段と、システムを最
新のチェックポイントの状態に戻して処理を再開する際
には上記管理テーブルの参照によりすべてのデータに関
して二次記憶装置の上で対応する二つのデータブロック
のうちチェックポイントイメージであると登録されてい
るブロックがチェックポイントイメージであり且つ最新
であることを上記管理テーブルに登録する手段とを具備
することを特徴とするチェックポイント/ロールバック
方式の計算機における入出力装置制御装置 にある。
In order to achieve the above object, according to the present invention, a process is carried out while periodically collecting checkpoints, and when a failure occurs in the system, the state of the system is returned to the immediately preceding checkpoint. In a computer system that has a checkpoint-rollback mechanism that avoids a temporary failure of the system by re-executing the process in the back, and stores and reads data to and from the secondary storage device. Allocate two data blocks on the secondary storage device for one data, and record which of the two data blocks is the checkpoint image which is the state at the time of the last checkpoint and which is the latest state Means having a management table, and a request to write data to the secondary storage device When the data block received from the management table is referred to, a data block that is not a checkpoint image is selected from two corresponding data blocks on the secondary storage device, and the selected data block is a checkpoint image. Means for writing data indicating that there is no newest data block in the management table, and writing data to the selected data block; and when a request to read data from the secondary storage device occurs, Means for reading data from the data block designated as the latest data block in the management table among the two data blocks corresponding to the data requested by reference on the secondary storage device; To all of the Means for registering in the management table that the block registered as the latest data block among the two corresponding data blocks on the secondary storage device is the latest and is a checkpoint image. When the system is returned to the state of the latest checkpoint and processing is resumed, it is determined that the data is the checkpoint image of the corresponding two data blocks on the secondary storage device with respect to all data by referring to the management table. Means for registering, in the management table, that the registered block is a checkpoint image and the latest one, in the input / output device control device in the checkpoint / rollback type computer. .

【0007】そして、このような構成によれば、二次記
憶装置に対するI/Oリクエストをチェックポイントを
待たずに発行することができるため、通常処理時のシス
テムの性能を向上することができる。
According to such a configuration, since an I / O request to the secondary storage device can be issued without waiting for a checkpoint, the performance of the system during normal processing can be improved.

【0008】更に、本発明は上記目的を達成するため、
定期的にチェックポイントを採取しながら処理を進めシ
ステムに障害が発生した場合には直前に採取したチェッ
クポイント時点にシステムの状態を戻すロールバックを
行い処理を再実行することによってシステムの一時故障
を回避するようなチェックポイント−ロールバック方式
機構を持っていて、二次記憶装置との間でデータの格
納、読み出しを行うような計算機システムにおいて、一
つのデータに関して二次記憶装置に属する一つの記憶媒
体の中に複数のデータブロックを割り当て上記複数のデ
ータブロックのうちいずれが最後のチェックポイント時
点の状態であるチェックポイントイメージであるか及び
最新の状態であるかを記録する管理テーブルを持つ手段
と、前記二次記憶装置へのデータの書き込み要求を受け
付けたときは上記管理テーブルの参照により受け取った
データに対して二次記憶装置に属するある記憶媒体上で
対応する複数のデータブロックのうちチェックポイント
イメージではないデータブロックを選択し、選択したデ
ータブロックがチェックポイントイメージではなく、且
つ最新のデータブロックあることを示す情報を上記管理
テーブルに記録し、選択したデータブロックにデータを
書き込む手段と、前記二次記憶装置からのデータの読み
出し要求が発生したときは上記管理テーブルの参照によ
り要求されたデータに対して二次記憶装置に属するある
記憶媒体上で対応する複数のデータブロックのうち上記
管理テーブルにおいて最新のデータブロックと指定され
ているデータブロックからデータを読み出す手段と、チ
ェックポイント処理の際にはすべてのデータに関して二
次記憶装置に属するある記憶媒体上で対応する複数のデ
ータブロックのうち最新のデータブロックが最新であり
且つチェックポイントイメージであることを上記管理テ
ーブルに登録する手段と、システムを最新のチェックポ
イントの状態に戻して処理を再開する際には上記管理テ
ーブルの参照によりすべてのデータに関して二次記憶装
置に属するある記憶媒体上で対応する複数データブロッ
クのうちチェックポイントイメージであるブロックが最
新であり且つチェックポイントイメージであることを上
記管理テーブルに登録する手段とを具備することを特徴
とするチェックポイント/ロールバック方式の計算機に
おける入出力装置制御装置にある。
[0008] Further, the present invention achieves the above object,
If a failure occurs in the system while the process is being performed while periodically collecting checkpoints, a rollback that returns the system status to the time of the immediately preceding checkpoint is performed and the process is re-executed. In a computer system that has a checkpoint-rollback mechanism to avoid and store and read data to and from a secondary storage device, one storage device belongs to the secondary storage device for one data item. Means for allocating a plurality of data blocks in the medium and having a management table for recording which of the plurality of data blocks is the checkpoint image at the time of the last checkpoint and which is the latest state; When a request to write data to the secondary storage device is received, A data block that is not a checkpoint image is selected from a plurality of corresponding data blocks on a storage medium belonging to the secondary storage device for data received by referring to the table, and the selected data block is not a checkpoint image. Means for recording the latest data block in the management table and writing data to the selected data block; and when a request to read data from the secondary storage device occurs, Means for reading data from the data block designated as the latest data block in the management table among the plurality of data blocks corresponding to the data requested by reference on a certain storage medium belonging to the secondary storage device, During checkpoint processing, all Means for registering in the management table that the latest data block among the corresponding data blocks on a certain storage medium belonging to the secondary storage device is the latest and is a checkpoint image; When the processing is resumed by returning to the check point state, the block which is the check point image among the plurality of data blocks corresponding to all data on a certain storage medium belonging to the secondary storage device by referring to the management table Means for registering the latest and the checkpoint image in the management table in the above-mentioned management table.

【0009】そして、このような構成によれば、RAI
Dなどによる性能向上およびフォールトトレラント機能
を損なうことなく、通常処理時のシステムの性能を向上
することができる。
According to such a configuration, the RAI
The performance of the system during normal processing can be improved without impairing the performance and the fault-tolerant function due to D or the like.

【0010】[0010]

【発明の実施の形態】以下、図面を参照して本発明の一
実施の形態を説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

【0011】図1はシステム構成を示す図であり、図示
するように、計算機システム10には二つのハードディ
スク11,12上に同様にアドレシングされた二つのパ
ーティションA及びBを持ち、メインメモリ13上に管
理テーブル14が設けられている。
FIG. 1 is a diagram showing a system configuration. As shown, a computer system 10 has two partitions A and B similarly addressed on two hard disks 11 and 12, Is provided with a management table 14.

【0012】管理テーブル14の各行は夫々のデータに
対してパーティションA及びパーティションBにおいて
割り当てられているデータブロックの状態を示してい
る。データブロックの状態が「CN」の場合は、このデ
ータブロックがチェックポイントイメージ(最終チェッ
クポイントの状態)であり、且つ最新であることを示し
ている。データブロックの状態が「C0」の場合は、こ
のデータブロックがチェックポイントイメージであり、
且つ最新ではないことを示している。データブロックの
状態が「ON」の場合は、データブロックの状態がチェ
ックポイントイメージではなく、且つ最新であることを
示している。データブロックの状態が「00」の場合
は、データブロックの状態がチェックポイントイメージ
ではなく、且つ最新ではないことを示している。
Each row of the management table 14 indicates the state of a data block allocated to each data in the partition A and the partition B. When the state of the data block is “CN”, it indicates that this data block is a checkpoint image (state of the last checkpoint) and is the latest. When the state of the data block is “C0”, this data block is a checkpoint image,
And it is not up to date. When the state of the data block is “ON”, it indicates that the state of the data block is not the checkpoint image and is the latest. When the state of the data block is “00”, it indicates that the state of the data block is not a checkpoint image and is not the latest.

【0013】管理テーブル14は初期状態において、A
パーティションの各データブロックがチェックポイント
イメージであり、且つ最新であるとする(図2参照)。
The management table 14 stores A
It is assumed that each data block of the partition is a checkpoint image and is up-to-date (see FIG. 2).

【0014】あるデータブロックXに対して読み出し要
求が発生した場合、管理テーブル14においてそのデー
タブロックXに関する行のうち、最新(N)がマークさ
れているパーティションの該当するデータブロックから
データを読み出す(図3のフローチャート参照)。図2
であればAパーティション(図3のステップS32)、
図4であればBパーティション(図3のステップS3
3)。
When a read request is issued for a certain data block X, data is read from a corresponding data block of a partition marked as latest (N) in a row related to the data block X in the management table 14 ( 3). FIG.
If so, partition A (step S32 in FIG. 3),
In the case of FIG. 4, the B partition (step S3 in FIG. 3)
3).

【0015】あるデータブロックXに対して書き込み要
求が発生した場合、管理テーブルにおいてそのデータブ
ロックXに関してチェックポイントイメージ(C)がマ
ークされていないパーティションを選択し、該当するデ
ータブロックにデータを書き出す(図5のフローチャー
ト参照)。図2であればBパーティション、図4でもB
パーティション。このとき、図2では書き込みを行った
Bパーティションに最新がマークされていないため、A
パーティションの最新マークを消去して、Bパーティシ
ョンが最新であることをマークする。図4では書き込み
をおこなったBパーティションは書き込みを行う以前か
ら最新がマークされていたため、テーブルに変更はな
い。
When a write request is issued to a certain data block X, a partition in which the checkpoint image (C) is not marked for the data block X in the management table is selected and data is written to the corresponding data block ( 5). In the case of FIG. 2, the B partition is used.
partition. At this time, in FIG. 2, since the latest is not marked in the B partition where the writing is performed,
Erase the latest mark on the partition to mark the B partition as current. In FIG. 4, the B partition on which the writing has been performed is marked with the latest before the writing is performed, so that there is no change in the table.

【0016】チェックポイント時(図6のフローチャー
ト参照)には、管理テーブル14の各行について、チェ
ックポイントイメージがマークされているパーティショ
ンと最新であることがマークされているパーティション
が異なる場合は、チェックポイントイメージがマークさ
れているパーティションのチェックポイントイメージマ
ークを消し、最新がマークされているパーティションに
最新且つチェックポイントイメージをマークする。
At the time of a checkpoint (refer to the flowchart of FIG. 6), for each row of the management table 14, if the partition where the checkpoint image is marked is different from the partition where the latest is marked, the checkpoint Turn off the checkpoint image mark of the partition where the image is marked, and mark the partition with the latest mark with the latest and checkpoint image.

【0017】ロールバック時には(図7のフローチャー
ト参照)、管理テーブル14の各行について、チェック
ポイントイメージがマークされているパーティションと
最新であることがマークされているパーティションが異
なる場合は、最新がマークされているパーティションの
最新マークを消去し、チェックポイントがマークされて
いるパーティションにチェックポイントイメージ且つ最
新をマークする。
At the time of rollback (refer to the flowchart of FIG. 7), for each row of the management table 14, if the partition where the checkpoint image is marked is different from the partition where the latest is marked, the latest is marked. The latest mark of the current partition is erased, and the partition marked with the checkpoint is marked with the checkpoint image and the latest.

【0018】システムのシャットダウン時には、次回の
ブート時のために管理テーブル14を不揮発性記憶領域
に格納したのちにシステムをシャットダウンするか、或
いは管理テーブル14の各行について、最新マークのあ
るパーティションとチェックポイントイメージマークの
あるパーティションが異なる場合には最新マークのパー
ティションからチェックポイントイメージマークのパー
ティションにデータをコピーして、パーティションAと
パーティションBの内容の整合性をとった後にシステム
をシャットダウンする。
When the system is shut down, the system is shut down after storing the management table 14 in the non-volatile storage area for the next boot, or the partition with the latest mark and the check point are checked for each row of the management table 14. If the partition with the image mark is different, the data is copied from the partition with the latest mark to the partition with the checkpoint image mark, and after the contents of the partitions A and B are made consistent, the system is shut down.

【0019】次に管理テーブル更新の例を示す。Next, an example of updating the management table will be described.

【0020】管理テーブルが図2の状態で二次記憶装置
のブロックXに対して読み出し要求が発生した場合、管
理テーブル14においてパーティションAのブロックX
の状態は「CN」(チェックポイントイメージであり、
且つ最新)であるため、「N」(最新)がマークされて
いるパーティションAのブロックXからデータを読み出
す。この時点ではパーティションAのブロックXがチェ
ックポイントイメージであり、且つ最新である(図8参
照)。
When a read request is issued to the block X of the secondary storage device with the management table shown in FIG.
State is "CN" (checkpoint image,
Therefore, data is read from the block X of the partition A marked “N” (latest). At this point, block X of partition A is the checkpoint image and is the latest (see FIG. 8).

【0021】その後、ブロックXに対して書き込み要求
が発生した場合、管理テーブル14においてパーティシ
ョンAのブロックXの状態は「CN」であるため、パー
ティションAのブロックXの状態を「C0」、パーティ
ションBのブロックXの状態を「0N」に変更し、デー
タをパーティションBのブロックXに書き込む。この時
点で、ブロックXのチェックポイントイメージはパーテ
ィションAにあり、ブロックXの最新データはパーティ
ションBにある(図9参照)。
Thereafter, when a write request is issued to the block X, the state of the block X of the partition A is "CN" in the management table 14, so that the state of the block X of the partition A is "C0" and the state of the partition B is "C0". Is changed to “0N”, and data is written to the block X of the partition B. At this point, the checkpoint image of block X is in partition A and the latest data of block X is in partition B (see FIG. 9).

【0022】更にブロックXに対して読み出し要求が発
生した場合には、管理テーブルにおいてパーティション
AのブロックXの状態は「C0」であるため、パーティ
ションBのブロックXから読み出すことになり、これは
ブロックXの最新データである(図10参照)。
Further, when a read request is issued for block X, since the state of block X of partition A is "C0" in the management table, data is read from block X of partition B. X is the latest data (see FIG. 10).

【0023】この状態で、障害の発生などにより、シス
テムを最後のチェックポイントの状態に戻した場合、管
理テーブル14の各行ついて、チェックポイントイメー
ジであると登録されているブロックを最新であり、且つ
チェックポイントイメージであると登録する。ブロック
XについてはパーティションAのブロックXの状態が
「CN」となり、パーティションBのブロックXの状態
は「00」となる(図11参照)。
In this state, when the system is returned to the state of the last checkpoint due to the occurrence of a failure or the like, the block registered as the checkpoint image in each row of the management table 14 is updated, and Register as a checkpoint image. As for the block X, the state of the block X of the partition A becomes “CN”, and the state of the block X of the partition B becomes “00” (see FIG. 11).

【0024】従って、このあと発生したブロックXへの
読み出し要求は最新かつチェックポイントイメージであ
るパーティションAから読み出されることになり、ブロ
ックXへの書き込み要求が発生した場合にはパーティシ
ョンAのチェックポイントイメージを残したままパーテ
ィションBのブロックXへ書き込まれる。ここで、パー
ティションBのブロックXが最新の状態であるとマーク
されるため、これ以降のブロックXに対する読み出しは
パーティションBから行われる(図12参照)。
Therefore, a read request to the block X generated thereafter is read from the partition A which is the latest and the checkpoint image. When a write request to the block X is generated, the checkpoint image of the partition A is generated. Is written to the block X of the partition B while leaving Here, since the block X of the partition B is marked as the latest state, the subsequent reading of the block X is performed from the partition B (see FIG. 12).

【0025】この状態でチェックポイントが採取された
場合は、ブロックXに関して最新であるパーティション
BのブロックXが、最新であり、且つ新たなチェックポ
イントイメージであることを管理テーブル上に記録する
ことにより、引き続きI/O処理を継続することができ
る(図13参照)。
When a checkpoint is taken in this state, the fact that the block X of the partition B that is the latest with respect to the block X is the latest and is a new checkpoint image is recorded on the management table. Then, the I / O processing can be continued (see FIG. 13).

【0026】本実施の形態により、チェックポイント−
ロールバック方式の計算機システムにおいても、二次記
憶装置に対するI/Oリクエストをチェックポイントを
待たずに発行することができる。
According to the present embodiment, the checkpoint
Even in a rollback computer system, an I / O request to a secondary storage device can be issued without waiting for a checkpoint.

【0027】尚、管理テーブル14は障害発生時にロー
ルバックするメモリ上においてもよく、この場合チェッ
クポイント処理においてテーブル更新後の状態をメイン
メモリのチェックポイントイメージとすればロールバッ
ク時の管理テーブルの再構成が不要となる。
It should be noted that the management table 14 may be provided on a memory which is rolled back when a failure occurs. In this case, if the state after updating the table is used as a checkpoint image of the main memory in the checkpoint processing, the management table is re-read at the time of rollback. No configuration is required.

【0028】又、本発明は上記実施の形態に限定される
ものではなく、チェックポイント−ロールバック方式に
より高信頼化を図る計算機システムのデータ処理装置に
関する入出力制御方式に利用可能であることは勿論であ
る。
The present invention is not limited to the above-described embodiment, but can be applied to an input / output control method for a data processing device of a computer system which achieves high reliability by a checkpoint-rollback method. Of course.

【0029】[0029]

【発明の効果】以上詳記したように本発明によれば、デ
ィスクに対するI/Oリクエストの発行を遅延しないよ
うなチェックポイント/ロールバック方式の計算機にお
ける入出力装置制御方式を提供可能できるものである。
As described above in detail, according to the present invention, it is possible to provide an input / output device control system in a checkpoint / rollback computer which does not delay the issue of I / O requests to a disk. is there.

【0030】即ち、本発明によれば、チェックポイント
−ロールバック方式の計算機システムにおいて、二次記
憶装置に対するI/Oリクエストをチェックポイントを
待たずに発行することができ、さらにアクセスの頻度を
各ディスクドライブに分散させることができるため、通
常処理時のシステムの性能を向上することができる。
又、本発明によれば、チェックポイント−ロールバック
方式の計算機システムにおいて、二次記憶装置に対する
I/Oリクエストをチェックポイントを待たずに発行す
ることができるため、通常処理時のシステムの性能を向
上することができる。
That is, according to the present invention, in a checkpoint-rollback computer system, an I / O request to a secondary storage device can be issued without waiting for a checkpoint, and the frequency of access can be reduced by each time. Since the data can be distributed to the disk drives, the performance of the system during normal processing can be improved.
Further, according to the present invention, in a checkpoint-rollback computer system, an I / O request to a secondary storage device can be issued without waiting for a checkpoint, so that the performance of the system during normal processing is reduced. Can be improved.

【0031】更に、本発明によれば、チェックポイント
−ロールバック方式の計算機システムにおいて、RAI
Dなどによる性能向上およびフォールトトレラント機能
を損なうことなく、通常処理時のシステムの性能を向上
することができる。
Further, according to the present invention, in a checkpoint-rollback computer system, the RAI
The performance of the system during normal processing can be improved without impairing the performance and the fault-tolerant function due to D or the like.

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

【図1】本発明の一実施の形態に係わるシステムの構成
を示す図。
FIG. 1 is a diagram showing a configuration of a system according to an embodiment of the present invention.

【図2】同実施の形態に係わり、データ管理ブロック管
理テーブルを示す図。
FIG. 2 is a diagram showing a data management block management table according to the embodiment;

【図3】同実施の形態に係わり、読み出し処理関するフ
ローチャート。
FIG. 3 is a flowchart relating to a reading process according to the embodiment;

【図4】同実施の形態に係わり、図2とは異なる状態の
データ管理ブロック管理テーブルを示す図。
FIG. 4 is a diagram showing a data management block management table in a state different from that of FIG. 2 according to the embodiment;

【図5】同実施の形態に係わり、書き込み処理関するフ
ローチャート。
FIG. 5 is a flowchart related to a write process according to the embodiment;

【図6】同実施の形態に係わり、チェックポイント処理
に関するフローチャート。
FIG. 6 is a flowchart related to a checkpoint process according to the embodiment;

【図7】同実施の形態に係わり、ロールバック処理に関
するフローチャート。
FIG. 7 is a flowchart regarding a rollback process according to the embodiment;

【図8】同実施の形態に係わり、図4とは異なる状態の
データ管理ブロック管理テーブルを示す図。
FIG. 8 is a diagram showing a data management block management table in a different state from that of FIG. 4 according to the embodiment;

【図9】同実施の形態に係わり、図8とは異なる状態の
データ管理ブロック管理テーブルを示す図。
FIG. 9 is a diagram showing a data management block management table in a different state from that of FIG. 8 according to the embodiment;

【図10】同実施の形態に係わり、図9とは異なる状態
のデータ管理ブロック管理テーブルを示す図。
FIG. 10 is a diagram showing a data management block management table in a state different from that of FIG. 9 according to the embodiment;

【図11】同実施の形態に係わり、図10とは異なる状
態のデータ管理ブロック管理テーブルを示す図。
FIG. 11 is a diagram showing a data management block management table in a different state from FIG. 10 according to the embodiment;

【図12】同実施の形態に係わり、図11とは異なる状
態のデータ管理ブロック管理テーブルを示す図。
FIG. 12 is a diagram showing a data management block management table in a state different from that of FIG. 11 according to the embodiment;

【図13】同実施の形態に係わり、図12とは異なる状
態のデータ管理ブロック管理テーブルを示す図。
FIG. 13 is a diagram showing a data management block management table in a different state from that of FIG. 12 according to the embodiment;

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

10…計算機システム 11…ハードディスク 12…ハードディスク 13…メインメモリ 14…管理テーブル 10 Computer System 11 Hard Disk 12 Hard Disk 13 Main Memory 14 Management Table

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 定期的にチェックポイントを採取しなが
ら処理を進め、システムに障害が発生した場合には、直
前に採取したチェックポイント時点にシステムの状態を
戻すロールバックを行い、処理を再実行することによ
り、システムの一時故障を回避するチェックポイント−
ロールバック方式機構を有し、二次記憶装置との間でデ
ータの格納、読み出しを行うような計算機システムにお
いて、 一つのデータに関して上記二次記憶装置上で複数のデー
タブロックを割り当て、上記複数のデータブロックのう
ちいずれが最後のチェックポイント時点の状態であるチ
ェックポイントイメージであるか、及び最新の状態であ
るかを記録する管理テーブルをもつ手段と、 上記二次記憶装置へのデータの書き込み要求を受け付け
たときは、上記管理テーブルの参照により、受け取った
データに対して上記二次記憶装置の上で対応する複数の
データブロックのうち、チェックポイントイメージでは
ないデータブロックを選択し、選択したデータブロック
がチェックポイントイメージではなく、且つ最新のデー
タブロックあることを示す情報を上記管理テーブルに記
録し、選択したデータブロックにデータを書き込む手段
と、 上記二次記憶装置からのデータの読み出し要求が発生し
たときは、上記管理テーブルの参照により、要求された
データに対して上記二次記憶装置上で対応する複数のデ
ータブロックのうち、上記管理テーブルにおいて最新の
データブロックと指定されているデータブロックからデ
ータを読み出す手段と、 チェックポイント処理の際には、上記管理テーブルの参
照により、すべてのデータに関して上記二次記憶装置の
上で対応する複数のデータブロックのうち、最新のデー
タブロックであると登録されているブロックが最新であ
り、且つチェックポイントイメージであることを上記管
理テーブルに登録する手段と、 システムを最新のチェックポイントの状態に戻して処理
を再開する際には、上記管理テーブルの参照により、す
べてのデータに関して二次記憶装置の上で対応する複数
のデータブロックのうち、チェックポイントイメージで
あると登録されているブロックがチェックポイントイメ
ージであり、且つ最新であることを上記管理テーブルに
登録する手段とを具備することを特徴とするチェックポ
イント/ロールバック方式の計算機における入出力装置
制御装置。
1. A process is performed while periodically collecting checkpoints. If a failure occurs in the system, rollback is performed to return the state of the system to the point of the checkpoint collected immediately before, and the process is executed again. Checkpoint to avoid temporary system failure
In a computer system having a rollback mechanism and storing and reading data to and from a secondary storage device, a plurality of data blocks are allocated on the secondary storage device for one data, and Means having a management table for recording which of the data blocks is the checkpoint image at the time of the last checkpoint and the latest state; and a request for writing data to the secondary storage device Is received, a data block that is not a checkpoint image is selected from a plurality of data blocks corresponding to the received data on the secondary storage device by referring to the management table, and the selected data is The block is not a checkpoint image and the latest data block Means for recording the information shown in the management table and writing data to the selected data block; and when a request to read data from the secondary storage device occurs, by referring to the management table, Means for reading data from the data block designated as the latest data block in the management table among the plurality of data blocks corresponding on the secondary storage device; By referring to the table, of the plurality of data blocks corresponding to all data on the secondary storage device, the block registered as the latest data block is the latest and is a checkpoint image To register the system in the above management table, When the processing is resumed by returning to the state of the data block, by referring to the management table, all the data are registered as a checkpoint image among a plurality of corresponding data blocks on the secondary storage device. A means for registering in the management table that the block being used is a checkpoint image and is up-to-date in the management table.
【請求項2】 定期的にチェックポイントを採取しなが
ら処理を進め、システムに障害が発生した場合には、直
前に採取したチェックポイント時点にシステムの状態を
戻すロールバックにより、チェックポイントの状態から
処理を再実行することによって、システムの一時故障を
回避するようなチェックポイント−ロールバック方式機
構をもっていて、二次記憶装置との間でデータの格納、
読み出しを行うような計算機システムにおいて、 一つのデータに関して二次記憶装置上で二つのデータブ
ロックを割り当て、上記二つのデータブロックのいずれ
が最後のチェックポイント時点の状態であるチェックポ
イントイメージであるか、及び最新の状態であるかを記
録する管理テーブルを持つ手段と、 前記二次記憶装置へのデータの書き込み要求を受け付け
たときは、上記管理テーブルの参照により、受け取った
データに対して二次記憶装置の上で対応する二つのデー
タブロックのうち、チェックポイントイメージではない
データブロックを選択し、選択したデータブロックがチ
ェックポイントイメージではなく、且つ最新のデータブ
ロックあることを示す情報を、上記管理テーブルに記録
し、選択したデータブロックにデータを書き込む手段
と、 前記二次記憶装置からのデータの読み出し要求が発生し
たときは、上記管理テーブルの参照により、要求された
データに対して二次記憶装置上で対応する二つのデータ
ブロックのうち、上記管理テーブルにおいて最新のデー
タブロックと指定されているデータブロックからデータ
を読み出す手段と、 チェックポイント処理の際には、上記管理テーブルの参
照により、すべてのデータに関して二次記憶装置の上で
対応する二つのデータブロックのうち、最新のデータブ
ロックであると登録されているブロックが最新であり、
且つチェックポイントイメージであることを上記管理テ
ーブルに登録する手段と、 システムを最新のチェックポイントの状態に戻して処理
を再開する際には、上記管理テーブルの参照により、す
べてのデータに関して二次記憶装置の上で対応する二つ
のデータブロックのうち、チェックポイントイメージで
あると登録されているブロックがチェックポイントイメ
ージであり、且つ最新であることを上記管理テーブルに
登録する手段とを具備することを特徴とするチェックポ
イント/ロールバック方式の計算機における入出力装置
制御装置。
2. The process proceeds while periodically collecting checkpoints, and when a failure occurs in the system, the state of the system is returned to the time of the checkpoint collected immediately before by a rollback to change the state of the checkpoint. It has a checkpoint-rollback mechanism that avoids a temporary failure of the system by re-executing the processing, and stores data with the secondary storage device.
In a computer system that performs reading, two data blocks are allocated on a secondary storage device for one data, and which of the two data blocks is the checkpoint image in the state at the time of the last checkpoint, And means having a management table for recording whether the data is in the latest state, and when a request to write data to the secondary storage device is received, by referring to the management table, secondary storage is performed on the received data. A data block that is not a checkpoint image is selected from two corresponding data blocks on the device, and information indicating that the selected data block is not a checkpoint image and that there is a latest data block is stored in the management table. And write the data to the selected data block. Means for reading the data from the secondary storage device, when a request for reading data from the secondary storage device occurs, by referring to the management table, of the two data blocks corresponding to the requested data on the secondary storage device, Means for reading data from the data block designated as the latest data block in the management table; and, at the time of checkpoint processing, by referring to the management table, all data is handled on the secondary storage device. Of the two data blocks, the block registered as the latest data block is the latest,
Means for registering a checkpoint image in the management table; and when the system is returned to the latest checkpoint state and processing is resumed, secondary storage is performed for all data by referring to the management table. Means for registering in the management table that a block registered as a checkpoint image among two corresponding data blocks on the apparatus is a checkpoint image and is up-to-date. An input / output device control device in a checkpoint / rollback type computer, which is a feature of the computer.
【請求項3】 定期的にチェックポイントを採取しなが
ら処理を進め、システムに障害が発生した場合には、直
前に採取したチェックポイント時点にシステムの状態を
戻すロールバックを行い、処理を再実行することによっ
て、システムの一時故障を回避するようなチェックポイ
ント−ロールバック方式機構をもっていて、二次記憶装
置との間でデータの格納、読み出しを行うような計算機
システムにおいて、 一つのデータに関して二次記憶装置に属する一つの記憶
媒体の中に複数のデータブロックを割り当て、上記複数
のデータブロックのうちいずれが最後のチェックポイン
ト時点の状態であるチェックポイントイメージである
か、及び最新の状態であるかを記録する管理テーブルを
持つ手段と、 前記二次記憶装置へのデータの書き込み要求を受け付け
たときは、上記管理テーブルの参照により、受け取った
データに対して二次記憶装置に属するある記憶媒体上で
対応する複数のデータブロックのうち、チェックポイン
トイメージではないデータブロックを選択し、選択した
データブロックがチェックポイントイメージではなく、
且つ最新のデータブロックあることを示す情報を、上記
管理テーブルに記録し、選択したデータブロックにデー
タを書き込む手段と、 前記二次記憶装置からのデータの読み出し要求が発生し
たときは、上記管理テーブルの参照により、要求された
データに対して二次記憶装置に属するある記憶媒体上で
対応する複数のデータブロックのうち、上記管理テーブ
ルにおいて最新のデータブロックと指定されているデー
タブロックからデータを読み出す手段と、 チェックポ
イント処理の際には、すべてのデータに関して二次記憶
装置に属するある記憶媒体上で対応する複数のデータブ
ロックのうち、最新のデータブロックであると登録され
ているブロックが最新であり、且つチェックポイントイ
メージであることを上記管理テーブルに登録する手段
と、 システムを最新のチェックポイントの状態に戻して処理
を再開する際には、上記管理テーブルの参照により、す
べてのデータに関して二次記憶装置に属するある記憶媒
体上で対応する複数データブロックのうち、チェックポ
イントイメージであるト登録されているブロックが最新
であり、且つチェックポイントイメージであることを上
記管理テーブルに登録する手段とを具備することを特徴
とするチェックポイント/ロールバック方式の計算機に
おける入出力装置制御装置。
3. A process is performed while periodically collecting checkpoints. If a failure occurs in the system, rollback is performed to return the state of the system to the checkpoint collected immediately before, and the process is executed again. In a computer system that has a checkpoint-rollback mechanism that avoids a temporary failure of the system and stores and reads data to and from a secondary storage device, A plurality of data blocks are allocated in one storage medium belonging to the storage device, and which of the plurality of data blocks is the checkpoint image that is the state at the time of the last checkpoint and whether it is the latest state Means for storing a management table for recording the data, and writing of data to the secondary storage device is required. Is received, a data block that is not a checkpoint image is selected from a plurality of data blocks corresponding to a received data on a certain storage medium belonging to a secondary storage device by referring to the management table, The selected data block is not a checkpoint image,
Means for recording information indicating that there is the latest data block in the management table, and writing data in the selected data block; and when a request to read data from the secondary storage device has occurred, the management table Of the plurality of data blocks corresponding to the requested data on a certain storage medium belonging to the secondary storage device, from the data block designated as the latest data block in the management table. Means and, at the time of the checkpoint process, of a plurality of data blocks corresponding to all data on a storage medium belonging to a secondary storage device, a block registered as the latest data block is the latest one. To register in the management table that there is a checkpoint image When the system is returned to the state of the latest checkpoint and processing is resumed, by referring to the management table, all data are output from a plurality of corresponding data blocks on a storage medium belonging to the secondary storage device. Means for registering in the management table that the block registered as a checkpoint image is the latest and is a checkpoint image in the management table. I / O device controller.
【請求項4】 定期的にチェックポイントを採取しなが
ら処理を進め、システムに障害が発生した場合には、直
前に採取したチェックポイント時点にシステムの状態を
戻すロールバックを行い、処理を再実行することによ
り、システムの一時故障を回避するチェックポイント−
ロールバック方式機構を有し、二次記憶装置との間でデ
ータの格納、読み出しを行うような計算機システムにお
いて、一つのデータに関して上記二次記憶装置上で複数
のデータブロックを割り当て、 上記複数のデータブロックのうちいずれが最後のチェッ
クポイント時点の状態であるチェックポイントイメージ
であるか、及び最新の状態であるかを記録する管理テー
ブルを持ち、 上記二次記憶装置へのデータの書き込み要求を受け付け
たときは、上記管理テーブルの参照により、受け取った
データに対して上記二次記憶装置の上で対応する複数の
データブロックのうち、チェックポイントイメージでは
ないデータブロックを選択し、 選択したデータブロックがチェックポイントイメージで
はなく、且つ最新のデータブロックあることを示す情報
を上記管理テーブルに記録し、 選択したデータブロックにデータを書き込み、 上記二次記憶装置からのデータの読み出し要求が発生し
たときは、上記管理テーブルの参照により、要求された
データに対して上記二次記憶装置上で対応する複数のデ
ータブロックのうち、上記管理テーブルにおいて最新の
データブロックと指定されているデータブロックからデ
ータを読み出し、 チェックポイント処理の際には、上記管理テーブルの参
照により、すべてのデータに関して上記二次記憶装置の
上で対応する複数のデータブロックのうち、最新のデー
タブロックであると登録されているブロックが最新であ
り、且つチェックポイントイメージであることを上記管
理テーブルに登録し、 システムを最新のチェックポイントの状態に戻して処理
を再開する際には、上記管理テーブルの参照により、す
べてのデータに関して二次記憶装置の上で対応する複数
のデータブロックのうち、チェックポイントイメージで
あると登録されているブロックがチェックポイントイメ
ージであり、且つ最新であることを上記管理テーブルに
登録するようにしたことを特徴とするチェックポイント
/ロールバック方式の計算機における入出力装置制御方
法。
4. A process is performed while periodically collecting checkpoints. If a failure occurs in the system, a rollback is performed to return the state of the system to the time of the checkpoint collected immediately before, and the process is executed again. Checkpoint to avoid temporary system failure
In a computer system having a rollback mechanism and storing and reading data with a secondary storage device, a plurality of data blocks are allocated on the secondary storage device for one data, and It has a management table that records which of the data blocks is the checkpoint image at the time of the last checkpoint and the latest state, and accepts a request to write data to the secondary storage device When a data block that is not a checkpoint image is selected from a plurality of data blocks corresponding to the received data on the secondary storage device by referring to the management table, Indicates that it is not a checkpoint image and that there is the latest data block The information is recorded in the management table, the data is written in the selected data block, and when a request to read data from the secondary storage device occurs, the requested data is referred to by referring to the management table. Of the plurality of data blocks corresponding on the secondary storage device, data is read from the data block designated as the latest data block in the management table, and at the time of checkpoint processing, by referring to the management table, Of the plurality of data blocks corresponding to all data on the secondary storage device, the management table indicates that the block registered as the latest data block is the latest and is a checkpoint image. Register, return the system to the latest checkpoint, and restart the process. In doing so, by referring to the management table, a block registered as a checkpoint image among a plurality of data blocks corresponding to all data on the secondary storage device is a checkpoint image, An input / output device control method in a checkpoint / rollback system computer, wherein the latest information is registered in the management table.
【請求項5】 定期的にチェックポイントを採取しなが
ら処理を進め、システムに障害が発生した場合には、直
前に採取したチェックポイント時点にシステムの状態を
戻すロールバックで、処理を再実行することによって、
システムの一時故障を回避するようなチェックポイント
−ロールバック方式機構をもっていて、二次記憶装置と
の間でデータの格納、読み出しを行うような計算機シス
テムにおいて、 一つのデータに関して二次記憶装置上で二つのデータブ
ロックを割り当て、 上記二つのデータブロックのいずれが最後のチェックポ
イント時点の状態であるチェックポイントイメージであ
るか、及び最新の状態であるかを記録する管理テーブル
を持ち、 前記二次記憶装置へのデータの書き込み要求を受け付け
たときは、上記管理テーブルの参照により、受け取った
データに対して二次記憶装置の上で対応する二つのデー
タブロックのうち、チェックポイントイメージではない
データブロックを選択し、 選択したデータブロックがチェックポイントイメージで
はなく、且つ最新のデータブロックあることを示す情報
を、上記管理テーブルに記録し、 選択したデータブロックにデータを書き込み、 前記二次記憶装置からのデータの読み出し要求が発生し
たときは、上記管理テーブルの参照により、要求された
データに対して二次記憶装置上で対応する二つのデータ
ブロックのうち、上記管理テーブルにおいて最新のデー
タブロックと指定されているデータブロックからデータ
を読み出し、 チェックポイント処理の際には、上記管理テーブルの参
照により、すべてのデータに関して二次記憶装置の上で
対応する二つのデータブロックのうち、最新のデータブ
ロックであると登録されているブロックが最新であり、
且つチェックポイントイメージであることを上記管理テ
ーブルに登録し、 システムを最新のチェックポイントの状態に戻して処理
を再開する際には、上記管理テーブルの参照により、す
べてのデータに関して二次記憶装置の上で対応する二つ
のデータブロックのうち、チェックポイントイメージで
あると登録されているブロックがチェックポイントイメ
ージであり、且つ最新であることを上記管理テーブルに
登録するようにしたことを特徴とするチェックポイント
/ロールバック方式の計算機における入出力装置制御方
法。
5. The process proceeds while periodically collecting checkpoints. If a failure occurs in the system, the process is re-executed by a rollback that returns the state of the system to the point of the checkpoint collected immediately before. By
In a computer system that has a checkpoint-rollback mechanism that avoids a temporary failure of the system and that stores and reads data to and from the secondary storage device, one data is stored on the secondary storage device. Allocating two data blocks, having a management table for recording which of the two data blocks is the checkpoint image at the time of the last checkpoint and which is the latest state, the secondary storage When a request to write data to the device is received, by referring to the management table, a data block that is not a checkpoint image among two data blocks corresponding to the received data on the secondary storage device. Select the selected data block as a checkpoint image And information indicating that there is a newest data block is recorded in the management table, data is written to the selected data block, and when a data read request from the secondary storage device occurs, the management is performed. From the two data blocks corresponding to the requested data on the secondary storage device by referring to the table, the data is read from the data block designated as the latest data block in the management table, and checkpoint processing is performed. At this time, by referring to the management table, the block registered as the latest data block among the two data blocks corresponding to all data on the secondary storage device is the latest,
In addition, when the system is registered as a checkpoint image in the management table, and the system is returned to the latest checkpoint state and processing is resumed, all data are referred to the secondary storage device by referring to the management table. A check characterized in that, among the two data blocks corresponding to the above, the block registered as a checkpoint image is a checkpoint image and the latest is registered in the management table. An input / output device control method in a point / rollback computer.
【請求項6】 定期的にチェックポイントを採取しなが
ら処理を進め、システムに障害が発生した場合には、直
前に採取したチェックポイント時点にシステムの状態を
戻すロールバックを行い、処理を再実行することによっ
て、システムの一時故障を回避するようなチェックポイ
ント−ロールバック方式機構をもっていて、二次記憶装
置との間でデータの格納、読み出しを行うような計算機
システムにおいて、 一つのデータに関して二次記憶装置に属する一つの記憶
媒体の中に複数のデータブロックを割り当て、 上記複数のデータブロックのうちいずれが最後のチェッ
クポイント時点の状態であるチェックポイントイメージ
であるか、及び最新の状態であるかを記録する管理テー
ブルを持ち、 前記二次記憶装置へのデータの書き込み要求を受け付け
たときは、上記管理テーブルの参照により、受け取った
データに対して二次記憶装置に属するある記憶媒体上で
対応する複数のデータブロックのうち、チェックポイン
トイメージではないデータブロックを選択し、 選択したデータブロックがチェックポイントイメージで
はなく、且つ最新のデータブロックあることを示す情報
を、上記管理テーブルに記録し、 選択したデータブロックにデータを書き込み、 前記二次記憶装置からのデータの読み出し要求が発生し
たときは、上記管理テーブルの参照により、要求された
データに対して二次記憶装置に属するある記憶媒体上で
対応する複数のデータブロックのうち、上記管理テーブ
ルにおいて最新のデータブロックと指定されているデー
タブロックからデータを読み出し、 チェックポイント処理の際には、すべてのデータに関し
て二次記憶装置に属するある記憶媒体上で対応する複数
のデータブロックのうち、最新のデータブロックが最新
であり、且つチェックポイントイメージであることを上
記管理テーブルに登録し、 システムを最新のチェックポイントの状態に戻して処理
を再開する際には、上記管理テーブルの参照により、す
べてのデータに関して二次記憶装置に属するある記憶媒
体上で対応する複数データブロックのうち、チェックポ
イントイメージであるブロックが最新であり、且つチェ
ックポイントイメージであることを上記管理テーブルに
登録するようにしたことを特徴とするチェックポイント
/ロールバック方式の計算機における入出力装置制御方
法。
6. A process is performed while periodically collecting checkpoints. If a failure occurs in the system, rollback is performed to return the state of the system to the point of the checkpoint collected immediately before, and the process is executed again. In a computer system that has a checkpoint-rollback mechanism that avoids a temporary failure of the system and stores and reads data to and from a secondary storage device, A plurality of data blocks are allocated in one storage medium belonging to the storage device, and which of the plurality of data blocks is the checkpoint image at the time of the last checkpoint and whether it is the latest state A management table for recording data, and receives a request to write data to the secondary storage device. When the data block is selected, a data block that is not a checkpoint image is selected from a plurality of data blocks corresponding to a received data on a certain storage medium belonging to a secondary storage device by referring to the management table, Information indicating that the selected data block is not a checkpoint image and is the latest data block is recorded in the management table, data is written in the selected data block, and a data read request from the secondary storage device is issued. Is generated, by referring to the management table, the latest data block is designated in the management table among the plurality of data blocks corresponding to the requested data on a certain storage medium belonging to the secondary storage device. Data from the data block At the time of the point processing, the management unit determines that the latest data block is the latest one and is a checkpoint image among a plurality of corresponding data blocks on a certain storage medium belonging to the secondary storage device for all data. When the data is registered in the table and the system is returned to the state of the latest checkpoint and processing is restarted, referring to the management table, all data corresponding to a plurality of data on a certain storage medium belonging to the secondary storage device are read. Input / output device control in a checkpoint / rollback system computer, wherein the block which is the checkpoint image among the blocks is the latest and is registered in the management table as a checkpoint image. Method.
JP9126772A 1997-05-16 1997-05-16 Input/output device controller and method for check point/rollback type computer Pending JPH10320255A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9126772A JPH10320255A (en) 1997-05-16 1997-05-16 Input/output device controller and method for check point/rollback type computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9126772A JPH10320255A (en) 1997-05-16 1997-05-16 Input/output device controller and method for check point/rollback type computer

Publications (1)

Publication Number Publication Date
JPH10320255A true JPH10320255A (en) 1998-12-04

Family

ID=14943557

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9126772A Pending JPH10320255A (en) 1997-05-16 1997-05-16 Input/output device controller and method for check point/rollback type computer

Country Status (1)

Country Link
JP (1) JPH10320255A (en)

Similar Documents

Publication Publication Date Title
US6557073B1 (en) Storage apparatus having a virtual storage area
JP3197382B2 (en) Method and system for incremental time zero backup copy of data
JP2557172B2 (en) Method and system for secondary file status polling in a time zero backup copy process
US7472139B2 (en) Database recovery method applying update journal and database log
CN1331063C (en) On-line data backup method based on data volume snapshot
US7533298B2 (en) Write journaling using battery backed cache
JP2718031B2 (en) History information acquisition method
JP2643070B2 (en) Method and system for simultaneous access during backup / copy of data
JPH0823841B2 (en) Data processing system and method
JP4163298B2 (en) Method of writing data to storage system
KR100238925B1 (en) A recoverable disk control system with a non-volatile memory
US6553509B1 (en) Log record parsing for a distributed log on a disk array data storage system
JP2002123421A (en) Remapping control method for flash memory and structure for flash memory therefor
US20060224639A1 (en) Backup system, program and backup method
KR20080053878A (en) Data storage device, method of rearranging data and recording medium therefor
US7401102B2 (en) Management of global counters in transactions
US9244849B2 (en) Storage control apparatus, storage system and method
US6854038B2 (en) Global status journaling in NVS
JPH0816881B2 (en) Database update method
JP5341062B2 (en) Method and system for identifying data processed by a data storage system
JPH10320255A (en) Input/output device controller and method for check point/rollback type computer
JP2006338731A (en) Data write method
JPH0973372A (en) Method and device for storage control
JP3614886B2 (en) File system
JPH04170625A (en) File recovery processing system