JPS58166459A - Recovery system - Google Patents
Recovery systemInfo
- Publication number
- JPS58166459A JPS58166459A JP57049432A JP4943282A JPS58166459A JP S58166459 A JPS58166459 A JP S58166459A JP 57049432 A JP57049432 A JP 57049432A JP 4943282 A JP4943282 A JP 4943282A JP S58166459 A JPS58166459 A JP S58166459A
- Authority
- JP
- Japan
- Prior art keywords
- data
- log
- data set
- log data
- recovery
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
【発明の詳細な説明】
〔発明の技術分野〕
本発明は、ソートされたログ・データを入力してリカバ
リを高速で行うようにしたリカバリ方式%式%
〔従来技術と問題点〕
デーメ七9ト障書時のりカバリはバ會り・アップ・デー
タによる復元とバック・アップ作成以後の更新wkログ
・データによる実更新代行により行う、従来技術におい
ては、更新後ログ・データを取得した願書に処11t−
行つ【いたので、リカバリ時にパラフチリング機能を導
入しても入出力に多大の時間を畳し【いた。[Detailed Description of the Invention] [Technical Field of the Invention] The present invention relates to a recovery method % type% in which sorted log data is input and recovery is performed at high speed. [Prior Art and Problems] Deme 79 Recovery in the event of a failure is performed by restoration using backup data and actual update using update log data after backup creation. Place 11t-
Because of this, even if I introduced the paramter ring function during recovery, it took a lot of time for input/output.
本発明は、上記の欠点を除去するものであって。 The present invention obviates the above-mentioned drawbacks.
リカバリY高遭で行い得るようになったリカバリ方式を
提供することl目的としている。The purpose of this paper is to provide a recovery method that can be used in recovery situations.
そしてそのため、本発明のリカバリ方式は、データセッ
トのりカバリ音データセットのバッタアップ−ファイル
及び更新後ログ・データな格納する更新後ログ・データ
・ファイルを使用して行うリカバリ方式において、デー
タセットのりカバリを行う際、上記更新後ログ・データ
・ファイルのログ・データlデー!・セット毎罠分離し
、データセット毎に分離されたログ・データ音ブロック
順にソートし、データセット毎にソートされたソート・
ログ・データを使用してデータセットのりカバリを行う
ことt特徴とするものである。Therefore, in the recovery method of the present invention, in the recovery method using the updated log data file that stores the backup file of the data set recovery sound data set and the updated log data file, the data set repair sound data set is When performing recovery, log data of the above-mentioned updated log data file!・Separate the traps for each set, sort the log data separated in the order of the sound blocks, and sort the data for each data set.
A feature of the present invention is that data set recovery is performed using log data.
以下、本発明′IV:実施例を#照しつつ賎明する。 The present invention 'IV' will be explained below with reference to Examples.
第1図は応用プログラムとログ・データとの関係奮示す
図、第2図は媒体障害を考慮した運用方法Y説明するた
めの図、第3図は本発明による高速リカバリの1実施例
の処理70−Y示1ものである。Fig. 1 is a diagram showing the relationship between application programs and log data, Fig. 2 is a diagram to explain the operation method that takes media failure into account, and Fig. 3 is a process of one embodiment of high-speed recovery according to the present invention. 70-Y.
第1図において、lは応用プログラム、24tAIM制
御部、3は履歴ログ・ファイル、4−1ないし4−5は
履歴ログ・ファイルのバックアップ、AIないLANお
よびBlないしBMはユーザ・データセットtそれぞれ
示している。また、■、■。In FIG. 1, l is an application program, 24tAIM control unit, 3 is a history log file, 4-1 to 4-5 are backups of the history log file, AI/LAN and Bl to BM are user data sets t, respectively. It shows. Also, ■, ■.
■は処理の順序Y示している。■ indicates the processing order Y.
応用プログラムlからデータセットAIの参照畳求があ
ると、AI制御部2は指定されたデータaY応用プログ
ラムlK渡す、この場合、AIM制御IS2はデータ・
ベース管嬰部であると考えて良い、応用プログラムlは
データ&Y&’に更新する。When there is a reference request for the data set AI from the application program l, the AI control unit 2 passes the specified data aY to the application program lK. In this case, the AIM control IS2
The application program l, which can be considered as the base control section, updates data &Y&'.
応用プログラムlがデータセットAIへの書出しV畳求
すると、AIM制御部3は更新データ&’Yデータ・セ
ットAI K書込む前に履歴ログ・ファイル3に更新デ
ータa′Y更新後ログ・データとして書込む、履歴ログ
・ファイル3に更新データalt書込んだ優、AIM制
御部2は更新データa′をデータセットAI K書込む
。When the application program l requests writing V to the data set AI, the AIM control unit 3 writes the updated data a'Y to the history log file 3 before writing the updated data &'Y data set AI K. After writing the update data alt to the history log file 3, the AIM control unit 2 writes the update data a' to the data set AIK.
更triログ・データは履歴ファイル3にブロック単位
で順番に書込まれる。履歴ログ・ファイル3が一杯にな
ると、その内容はバックアップ用の磁気テープにコピー
され、その履歴ログ・ファイル3は循環使用される0図
において履歴ログ・ファイル3の中にrNO=4Jと書
かれているが、これは履歴ログ・ファイルのバックアッ
プが既に3回とられ、履歴ログ・ファイル3が第4回目
の使用であることを示している。他も同様である。また
、図において、バックアップ4−1の中K rNO=1
」と1入されているが、これはこのバックアップが第1
回目のものであることを示している。Further tri-log data is sequentially written to the history file 3 in block units. When history log file 3 becomes full, its contents are copied to backup magnetic tape, and rNO=4J is written in history log file 3 in Figure 0, where history log file 3 is used in circulation. This indicates that the history log file has already been backed up three times, and history log file 3 is being used for the fourth time. The same applies to others. In addition, in the figure, K rNO=1 in backup 4-1
” is entered as 1, but this means that this backup is the first one.
This shows that it is the second time.
鮪2図は媒体障害を考慮した運用方法とりカバリta明
するものである。第2図において、TAIないしTAN
およびTBIないしTBMはユーザ・データセットのバ
ックアップ1示している。なお、第1図と同一符号は同
一物を示している。Figure 2 explains the operating method and recovery method that takes media failure into consideration. In Figure 2, TAI or TAN
and TBI or TBM indicate backup 1 of the user data set. Note that the same reference numerals as in FIG. 1 indicate the same parts.
媒体障害に備え、応用プログラムlの処理の開始に先立
って、ユーザ・データセットA1.・・・AN。In preparation for a media failure, user data set A1. ...AN.
Bl、・・・BMのバックアップTAI、・・・TAN
、TBIないしTBMが取られる0時刻lにおいてデー
タセラ)AIK障害が発生した場合には以下の手順によ
りリカバリを行う。Bl, ... BM backup TAI, ... TAN
If an AIK failure occurs at time l when TBI or TBM is taken, recovery is performed using the following procedure.
0) バックアップTAIVロードし、データセットA
I!初期状態にする。0) Load backup TAIV and save data set A
I! Set to initial state.
(ロン・履歴ログ・ファイルのバックアップ4−1ない
し4−5及び履歴ログ・ファイル3からデータセットA
IK関する有効ログ・データを抽出し、データセットA
I/更新し【書き出す。(Backup of historical log files 4-1 to 4-5 and historical log file 3 to dataset A)
Extract valid log data related to IK and create dataset A.
I/Update [write out]
第3図は本発明による高速リカバリの1実施例の処理フ
ロー奮示すものである。第3図において、5と6はソー
ト・−グ・ファイルYそれぞれ示している・なお、箒1
図と同一符号は同一物を示している。FIG. 3 shows the processing flow of one embodiment of high-speed recovery according to the present invention. In Fig. 3, 5 and 6 indicate the sorting file Y. In addition, broom 1
The same reference numerals as in the figures indicate the same parts.
データセット^1に障害が発生し、媒体は正常媒体Kf
1mされているものとする。先ず最初にログ・データの
ソート処、lJが行われ、次いでリカバリ処理が行われ
る。ログ・データのソート処理は下記のようにして行わ
れる。A failure has occurred in dataset ^1, and the medium is normal medium Kf
It is assumed that the distance is 1m. First, log data sorting processing and lJ are performed, and then recovery processing is performed. The log data sorting process is performed as follows.
■ 履歴ログ・ファイルのパックアラ7’4−1ないし
4−5からログ・データ’i’READする。■ READ the log data 'i' from the history log file packer 7'4-1 or 4-5.
■ READしたログ・データ音データ・セット群単位
に分離する。即ち、データセラ) AI毎、・・・f−
/−kW)AN毎、データセット81毎、・・・f−1
にットBM11に分離する。このとき、同一ブロックに
対するログ・データは最終結果を生成するものだけを残
す。■ Separate the read log data into sound data set groups. (i.e., Data Sera) For each AI,...f-
/-kW) for each AN, for each data set 81,...f-1
Separate into BM11. At this time, only the log data for the same block that generates the final result is left.
■ ブロックNOK従ってデータセット内のログ・デー
タのソート/マージを行う・
■ データセット缶内でのソート/マージが全データセ
ットに対して行われたならば、ソート・ログ・データケ
ソート・ログ・ファイル5.6にWRITEする。■ Block NOK Therefore, sort/merge the log data in the dataset. ■ If the sort/merge in the dataset can is done for all datasets, sort, log, data, sort, log - WRITE to file 5.6.
上記のようなログ・データのソート処理が行われた後、
下記のようなリカバリ処理が行われる。After the log data is sorted as described above,
The following recovery process is performed.
■′ バックアップ・デーメTAIY読出し、これをデ
ータセットAIK書き出す。■' Read the backup data TAIY and write it to the data set AIK.
■′ソート・ログ・ファイル5および履歴ログ・ファイ
ル3の中からデータセットA1に関する有効データのみ
Y読出し、データセラ) AIの更新1行う。(2) Read only valid data related to dataset A1 from sort log file 5 and history log file 3, and perform AI update 1 (Data Sera).
■′ 更新したデータのデータセラ)AIへの沓き出し
t行う、書き出し1行う際、出力媒体のIO特性を生か
し、トラック群、シリンダ群単位に出力する。■' When updating the updated data to the AI, take advantage of the IO characteristics of the output medium and output it in units of track groups and cylinder groups.
以上の説明から明らかなように、本発明によれば従来方
式に比し、リカバリを効率良く短時間で行うことが可能
となる。As is clear from the above description, according to the present invention, recovery can be performed more efficiently and in a shorter time than in the conventional method.
第1図は応用プログラムとログ・データとの関係を示す
図、第2図は媒体障りn’考躍した運用方法Y説明する
ための図、第3図は本発明による高速リカバリの1!I
!施例の処理フローを示すものである・
l・・・応用プログラム、2・・・AIM制御部、3・
・・履歴ログ・ファイル、4−1と4−5・・・履歴ロ
グ・ファイルのバックアップ、AIないし、にNおよび
BlないしBM ・・・ユーザ・データセット、TAI
ないしTANおよびTBIないしTBM・・・ユーザ・
データセットのバックアップ、5と6・・・ソート・ロ
グ・ファイル。
特許出願人 富士通株式会社
代理人弁理士 京 谷 四 部Fig. 1 is a diagram showing the relationship between application programs and log data, Fig. 2 is a diagram to explain the operation method in which media failure n' has been developed, and Fig. 3 is a diagram showing 1! of high-speed recovery according to the present invention. I
! This shows the processing flow of the example. l...Application program, 2...AIM control unit, 3.
...History log files, 4-1 and 4-5...Backup of history log files, AI or N and Bl or BM...User dataset, TAI
or TAN and TBI or TBM...User
Dataset backups, 5 and 6... sort log files. Patent Applicant: Fujitsu Limited Representative Patent Attorney Yotsube Kyotani
Claims (1)
プ・ファイル及び更新後ログ・データ奮格納する更新後
ログ・データ・ファイルを使用して行うリカバリ方式に
おい文、データセットのリカバリを行う際、上記更新後
ログ−データ・ファイルのログ・データをデータ・セッ
ト毎に分離し、データセット毎に分離されたログ・デー
タをブロック順にノートし、データセット毎にソートさ
れたソート・ログ・データを使用し【データセットのり
カバリな行うことを特徴とするりカバリ方式。[Claims] Data set recovery, data set recovery!
When recovering a data set using the recovery method that uses the updated log data file that stores the updated log data file and the updated log data file, the log data of the updated log data file is Separate each data set, note the separated log data for each data set in block order, and use the sorted log data sorted for each data set. Suri Kabari method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP57049432A JPS58166459A (en) | 1982-03-27 | 1982-03-27 | Recovery system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP57049432A JPS58166459A (en) | 1982-03-27 | 1982-03-27 | Recovery system |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS58166459A true JPS58166459A (en) | 1983-10-01 |
JPH0241052B2 JPH0241052B2 (en) | 1990-09-14 |
Family
ID=12830939
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP57049432A Granted JPS58166459A (en) | 1982-03-27 | 1982-03-27 | Recovery system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS58166459A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS62147544A (en) * | 1985-12-20 | 1987-07-01 | Nec Corp | Roll-back processing system |
US4977536A (en) * | 1984-12-10 | 1990-12-11 | Canon Kabushiki Kaisha | Document processor |
US5522037A (en) * | 1993-09-20 | 1996-05-28 | Fujitsu Limited | Backup control apparatus and method of data processing system |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5233443A (en) * | 1975-09-10 | 1977-03-14 | Hitachi Ltd | System down restoring system |
-
1982
- 1982-03-27 JP JP57049432A patent/JPS58166459A/en active Granted
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5233443A (en) * | 1975-09-10 | 1977-03-14 | Hitachi Ltd | System down restoring system |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4977536A (en) * | 1984-12-10 | 1990-12-11 | Canon Kabushiki Kaisha | Document processor |
JPS62147544A (en) * | 1985-12-20 | 1987-07-01 | Nec Corp | Roll-back processing system |
US5522037A (en) * | 1993-09-20 | 1996-05-28 | Fujitsu Limited | Backup control apparatus and method of data processing system |
Also Published As
Publication number | Publication date |
---|---|
JPH0241052B2 (en) | 1990-09-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6401178B1 (en) | Data processing method and apparatus for enabling independent access to replicated data | |
US7634594B1 (en) | System and method for identifying block-level write operations to be transferred to a secondary site during replication | |
JP4422016B2 (en) | Method and apparatus for creating a virtual data copy | |
JP2001216185A (en) | Data restoration method for information procession system and disk sub-system | |
US7360048B2 (en) | Storage system with multiple copy targeting and disk failure protection | |
JP2003131817A (en) | Method and system for migration of data in raid logical drive migration | |
US20080016130A1 (en) | Apparatus, system, and method for concurrent storage to an active data file storage pool, copy pool, and next pool | |
JP2005018233A (en) | Method for backing up data recorded in virtual storage medium, and backup device for data recorded in virtual storage medium | |
US7093090B1 (en) | Method for creating a virtual data copy of a volume being restored | |
US9804926B1 (en) | Cataloging file system-level changes to a source storage between image backups of the source storage | |
JP4225378B2 (en) | Replication apparatus, replication method, replication program, block identification information acquisition program, and recording medium | |
JP2003140981A (en) | Backup administration method and storage control device used for the method | |
JPS5975349A (en) | File recovering system in double write storing system | |
JPS58166459A (en) | Recovery system | |
JPS62224843A (en) | Database medium content maintaining system | |
JPH033046A (en) | Log record control system | |
JP3090182B2 (en) | Alternative sector registration method | |
JP2000122970A (en) | Processor executing transaction processing on data made into lot and processing method | |
JPS6167153A (en) | Partial trouble recovery processing system of direct access storage device | |
JPS63262737A (en) | Data base updating and recording processing method | |
JPH0330033A (en) | File copying processor | |
US20070260816A1 (en) | RAID management apparatus, RAID management method, and computer product | |
CN116431067A (en) | Disc changing method, device and medium for distributed storage system | |
JPS60142445A (en) | Recovery processing system of resident data file | |
JPH01125631A (en) | System fault recovering system |