JPS62210552A - File recovery system - Google Patents

File recovery system

Info

Publication number
JPS62210552A
JPS62210552A JP61052935A JP5293586A JPS62210552A JP S62210552 A JPS62210552 A JP S62210552A JP 61052935 A JP61052935 A JP 61052935A JP 5293586 A JP5293586 A JP 5293586A JP S62210552 A JPS62210552 A JP S62210552A
Authority
JP
Japan
Prior art keywords
file
user
group
failure
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.)
Pending
Application number
JP61052935A
Other languages
Japanese (ja)
Inventor
Takenobu Nakatsuka
中塚 武信
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 JP61052935A priority Critical patent/JPS62210552A/en
Publication of JPS62210552A publication Critical patent/JPS62210552A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To attain a file recovery process in a short time, by performing a file rollback process using a journal before updating. CONSTITUTION:A user process group 10, when accessing a user file group 20, informs an access to a file recovery controller 40, and the controller 40 accumulates the journal before updating at a journal file group before updating 30. On completing an operation by the process group 10, it is informed to a system failure deciding part 50, and it is decided whether a system program failure is generated or not in a completion process. When the failure is generated, a file recovery process 60 is generated by the deciding part 50, then a process to be recovered is indicated. The process 60 rollbacks the file group using the file group 30 regarding an indicated process.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明はファイルリカバリ方式に関し、特にプロセスの
終了処理でシステムプログラムの障害が発生しなことを
検出してファイルリカバリプロセスを生成し、生成され
たファイルリカバリプロセスがシステム制御テーブルを
参照しないで更新前ジャーナルだけを使用して未完了の
ファイルロールパック処理を行うファイルリカバリ方式
に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a file recovery method, and in particular detects that a system program failure has occurred during process termination processing and generates a file recovery process. The present invention relates to a file recovery method in which a file recovery process performs incomplete file roll pack processing using only a pre-update journal without referring to a system control table.

(従来の技術) 従来、プロセスの終了処理で発生するシステムプログラ
ムの障害時には、システム障害の範囲を拡大させないた
めに、以降の7ァイルロールパッり処理を含めた続行す
べき処理を省略し、障害が発生したプロセスをシステム
から切離してシステム全体の信頼性を向上させ、更新後
ジャーナルを用いて上記省略されたファイルリカバリ処
理を行う方式が公知であった。
(Prior art) Conventionally, when a system program failure occurs during process termination processing, in order to prevent the scope of the system failure from expanding, the subsequent processing that should be continued, including the seven-file roll-up process, is omitted, and the failure occurs. A known method is to improve the reliability of the entire system by separating the process in which the error occurred from the system, and to perform the omitted file recovery process using the updated journal.

(発明が解決しようとする問題点) 上述した従来のファイルリカバリ方式は、ファイルリカ
バリ処理時にリカバリすべきファイルのアクセス中に、
すべてのプロセスを停止させ、更新後ジャーナルを用い
て業務の開始時点からりカバリを開始する必要があるた
め、ファイルリカバリ処理に長時間がかかるという欠点
がある。
(Problems to be Solved by the Invention) In the conventional file recovery method described above, while accessing the file to be recovered during file recovery processing,
This method has the disadvantage that file recovery processing takes a long time because it is necessary to stop all processes and use the updated journal to start recovery from the start of the business.

本発明の目的は、プロセスの終了処理で発生するシステ
ムプログラム障害時に障害が発生したプロセスをシステ
ムから切離し、システム全体の信頼性を向上させるとと
もに、新しく生成されたプロセスがシステムプログラム
障害の原因となったシステム制御テーブルやプロセス固
有の情報を参照しないでファイルをリカバリすることに
より上記欠点を除去し、短時間でファイルリカバリ処理
を実行できるように構成したりカバリ方式を提供するこ
とにある。
An object of the present invention is to isolate the faulty process from the system when a system program fault occurs during process termination processing, improve the reliability of the entire system, and prevent the newly created process from causing the system program fault. The object of the present invention is to provide a configuration and a recovery method that eliminates the above drawbacks by recovering files without referring to system control tables or process-specific information, and allows file recovery processing to be executed in a short time.

(問題点を解決するための手段) 本発明によるファイルリカバリ方式は、ユーザプロセス
群が記憶装置の同一のユーザファイル群をアクセスしな
がら、プロセス障害に備えてファイルを更新する前の更
新前ジャーナルをファイルリカバリ制御器を介して更新
前ジャーナルファイル群に蓄積しておき、デッドロック
の発生やプロセスが異常終了したときに蓄積しておいた
更新前ジャーナルを用いてファイルをロールパックする
ように構成した計算機システムのファイルリカバリ方式
であって、第1の処理手段と第2の処理手段とを具備し
て構成したものである。
(Means for Solving the Problems) The file recovery method according to the present invention allows a group of user processes to access the same group of user files in a storage device, while maintaining a pre-update journal before updating a file in preparation for a process failure. The file is configured to be accumulated in a group of pre-update journal files via a file recovery controller, and when a deadlock occurs or a process terminates abnormally, the accumulated pre-update journal is used to roll pack the file. This is a file recovery method for a computer system, and is configured to include a first processing means and a second processing means.

第1の処理手段は、プロセスの終了処理でシステムプロ
グラムの障害が発生したことを検出してファイルリカバ
リプロセスを生成するとともに障害プロセスを消滅させ
、ファイルリカバリプロセスに障害プロセスの識別子を
通知するためのものである。
The first processing means detects that a failure has occurred in a system program during process termination processing, generates a file recovery process, eliminates the failed process, and notifies the file recovery process of an identifier of the failed process. It is something.

第2の処理手段は、生成されたファイルリカバリプロセ
スがシステム制御テーブルを参照しないで、通知された
障害プロセスの識別子をもとに更新前ジャーナルファイ
ル群を探して障害プロセス用の更新前ジャーナルファイ
ルを見付は出し、更新前ジャーナルだけを使用してファ
イルクールパック処理を行うためのものである。
The second processing means is that the generated file recovery process searches for a group of pre-update journal files based on the notified failed process identifier and creates a pre-update journal file for the failed process without referring to the system control table. This is for file cool pack processing using only the pre-update journal with a heading.

(実施例) 次に、図面を参照して本発明を説明する。(Example) Next, the present invention will be explained with reference to the drawings.

第1図は、本発明によるファイルリカバリ方式を実現す
る一実施例の概念を示すブロック図である。第1図にお
いて、lOはユーザプロセス群、20flユ一ザプロセ
ス群10がアクセスするユーザファイル群、3Gは更新
前ジャーナルを蓄積するための更新前ジャーナルファイ
ル群、4Gは更新前ジャーナルを更新前ジャーナルファ
イル群30に蓄積したり、あるいは更新前ジャーナルを
用いてユーザファイル群20のコールバック処理を行う
ためのファイルリカバリ制御器、50はユーザプロセス
群lOか終了処理時にシステムプログラム障害になった
か否かを判定するためのシステム障害判定部、60はシ
ステム障害判定部50により生成され、且つ、更新前ジ
ャーナルを用いユーザプロセス群lOはユーザファイル
群20をアクセスするときに、ファイルリカバリ制御器
40に対してアクセスを通知し、ファイルリカバリ制御
器40は更新前ジャーナルヲ東新前ジャーナルファイル
群30に蓄積する。ユーザプロセス群lOが終了すると
、システム障害判定部50に通知され、終了処理でシス
テムプログラム障害が発生したか否かが判定される。シ
ステムプログラム障害が発生していると、システム障害
判定部5Gによってファイルリカバリプロセス60か生
成され、リカバリすべきプロセスが指示される。
FIG. 1 is a block diagram showing the concept of an embodiment of the file recovery method according to the present invention. In FIG. 1, IO is a user process group, 20fl is a user file group accessed by the user process group 10, 3G is a pre-update journal file group for storing pre-update journals, and 4G is a pre-update journal. A file recovery controller for accumulating in the file group 30 or performing callback processing for the user file group 20 using the pre-update journal; 50 indicates whether a system program failure occurred during the user process group IO or termination processing; A system failure determination unit 60 is generated by the system failure determination unit 50, and when the user process group IO accesses the user file group 20 using the pre-update journal, The file recovery controller 40 stores the unupdated journal in the updated journal file group 30. When the user process group IO is terminated, the system failure determination unit 50 is notified, and it is determined in the termination process whether or not a system program failure has occurred. When a system program failure occurs, the system failure determination unit 5G generates a file recovery process 60 and instructs the process to be recovered.

ファイルリカバリプロセス60は、指示されたプロセス
に関して更新前ジャーナルファイル群30を用い、ユー
ザファイル群20t−ロールパックスるように構成され
ている。
The file recovery process 60 is configured to use the pre-update journal file group 30 for the instructed process and roll-pax the user file group 20t.

第2図は、本発明によるファイルリカバリ方式を実現す
る一実施例を詳細に示すブロック図であシ、第1図と同
等部分は同一符号により示しである。
FIG. 2 is a block diagram showing in detail an embodiment of the file recovery method according to the present invention, and parts equivalent to those in FIG. 1 are designated by the same reference numerals.

第2図において、llへ13はそれぞれユーザプロセス
、21〜23はそれぞれユーザファイル、31〜33は
それぞれfi新前ジャーナル、41は制御テーブル部、
42はリカバリ実行部、O1d対象プロセス選別部、6
2はプロセス状態判定部、63はリカバリ実行部、64
は資源解放部である。
In FIG. 2, 13 is a user process, 21-23 are user files, 31-33 are new journals, 41 is a control table section,
42 is a recovery execution unit, O1d target process selection unit, 6
2 is a process state determination unit, 63 is a recovery execution unit, 64
is the Resource Liberation Department.

@2図において、ユーザプロセス群lOのナカのユーザ
プロセス1l−13は、ユーザファイル群20のなかの
ユーザファイル21〜23をアクセスするとき、ファイ
ルリカバリ制御器40のなかのりカバリ実行部42に対
して上記アクセスを通知し、リカバリ実行部42はユー
ザファイル21〜230更新前ジヤーナルを更新前ジャ
ーナルファイル31〜33に蓄積するとともに、制御テ
ーブル部41にも管理情報を登録する。
In Figure @2, when the user process 1l-13 in the user process group 1O accesses the user files 21 to 23 in the user file group 20, it sends a message to the recovery execution unit 42 in the file recovery controller 40. The recovery execution unit 42 notifies the user of the access, and stores the pre-update journals of the user files 21 to 230 in the pre-update journal files 31 to 33, and also registers the management information in the control table unit 41.

ユーザプロセス11−13からファイルのロールパック
要求が送出されると、ファイルリカバリ制御器lOのな
かのリカバリ実行部42が制御テーブル部41と更新前
ジャーナルファイル31〜33のなかの更新前ジャーナ
ルとを用いて、ユーザファイル21〜23をロールパッ
クする。
When a file roll pack request is sent from the user process 11-13, the recovery execution unit 42 in the file recovery controller 1O retrieves the control table unit 41 and the pre-update journals in the pre-update journal files 31-33. rollpack the user files 21 to 23 using

ユーザプロセス11−13の実行が終了すると、システ
ム障害判定部50に上記終了が通知され、プロセスの終
了処理でシステムプログラム障害が発生したか否かが判
定される。システムプログラム障害が発生していると、
システム障害判定部50がファイルリカバリプロセスS
Oを生成し、リカバリすべきプロセス′を指示してファ
イルリカ/<IJ処理を委託する。その後、ユーザプロ
セス11−13はシステムから切離される。
When the execution of the user processes 11-13 is completed, the system failure determining unit 50 is notified of the termination, and it is determined whether a system program failure has occurred in the process termination process. If a system program failure occurs,
The system failure determination unit 50 performs the file recovery process S
0, instructs the process to be recovered, and entrusts the file recovery/<IJ processing. Thereafter, user processes 11-13 are disconnected from the system.

ファイルリカバリプロセス60は、対象プロセス選別部
61で指示されたプロセス、例えばプロセス11が使用
していた更新前ジャーナルファイル31を見付は出す。
The file recovery process 60 finds the pre-update journal file 31 used by the process instructed by the target process selection unit 61, for example, the process 11.

プロセス状態判定部62がユーザプロセス11が正常に
終了すべきものであるとき、または異常終了すべきもの
でろるときに、システムプログラムに障害が発生したか
否かを判定し、リカバリ実行部63を起動するか否かを
決定する。
When the user process 11 should terminate normally or should terminate abnormally, the process status determination unit 62 determines whether a failure has occurred in the system program and starts the recovery execution unit 63. Determine whether or not.

プロセス11が異常終了すべきであったときにはりカバ
リ実行部63が起動され、制御テーブル部41を参照せ
ずに更新前ジャーナルファイル31を用いてユーザファ
イル21t−ロールパックする。その後、資源解放部6
4はユーザプロセス1’lによシ使用されていたシステ
ム資源を解放して、すべての処理を終了する。ま之、プ
ロセス11が正常すべきものであったときには、リカバ
リ実行部63は起動されず、資源解放部64がユーザプ
ロセス11によって使用されていたシステム資源を解放
して、すべての処理t−終了させる。
When the process 11 should have terminated abnormally, the recovery execution unit 63 is activated and roll packs the user file 21t using the pre-update journal file 31 without referring to the control table unit 41. After that, Resource Release Department 6
Step 4 releases the system resources used by the user process 1'l and ends all processing. However, when the process 11 should be normal, the recovery execution unit 63 is not activated, and the resource release unit 64 releases the system resources used by the user process 11 and terminates all processing. .

次に、第8図の概略フローを参照して動作概要を説明す
る。
Next, an overview of the operation will be explained with reference to the schematic flow shown in FIG.

ユーザプロセスがユーザファイルをアクセスするとき、
更新前ジャーナルファイルに更新前ジャーナルの蓄積ス
テップ100が実行部れる。ユーザプロセスが終了する
と、システムプログラム障害の判定ステップ110が実
行され、障害がなければユーザプロセスの消滅ステップ
l 20 iL実行される。
When a user process accesses a user file,
The pre-update journal storage step 100 is executed in the pre-update journal file. When the user process is terminated, a system program failure determination step 110 is executed, and if there is no failure, a user process termination step l 20 iL is executed.

もし、システムプログラムの障害か発生していれば、フ
ァイルリカバリプロセスの生成ステップ130が実行さ
れ、ユーザプロセスの消滅ステップ140が実行される
。一方、生成されたファイルリカバリプロセスは更新前
ジャーナルファイルの確保ステップ160を実行して、
ユーザプロセスの終了状態の判定ステップ160を実行
する。
If a system program failure has occurred, a file recovery process generation step 130 is executed, and a user process deletion step 140 is executed. On the other hand, the generated file recovery process executes the step 160 of securing the journal file before update,
A step 160 of determining the termination status of the user process is executed.

ユーザプロセスが正常終了すべきであった場合には、シ
ステム資源の解放ステップ12(l実行して終了する。
If the user process should have terminated normally, execute step 12 (l) of releasing system resources and terminate.

もし、ユーザプロセスが異常終了すヘキであった場合に
は、ユーザファイルのロールパックステップ17(l実
行し、システム資源の解放ステップ180を実行して終
了する。
If the user process is about to terminate abnormally, the user file role pack step 17 (1) is executed, the system resource release step 180 is executed, and the process ends.

(発明の効果) 以上説明し念ように本発明は、プロセスの終了処理で発
生するシステムプログラム障害時に障害が発生したプロ
セスをシステムから切離し、システム全体の信頼性を向
上させるとともに、新しく生成されたプロセスがシステ
ムプログラム障害の原因となったシステム制御テーブル
やプロセス固有の情報を参照しないでファイルをリカバ
リすることにより、再びシステムプログラム障害が発生
する可能性を低下させるとともに、更V[後ジャーナル
を用いるよりも更新前ジャーナル金柑いてリカバリする
方かジャーナル量か少なくすむため、リカバリ時間を短
縮することができるという効果がるる。
(Effects of the Invention) As explained above, the present invention isolates the faulty process from the system when a system program fault occurs during process termination processing, improves the reliability of the entire system, and By recovering the file without referring to the system control table or process-specific information that caused the system program failure, the process reduces the possibility that the system program failure will occur again, and also reduces the possibility that the system program failure will occur again. The effect is that the recovery time can be shortened, since the amount of journals required for recovery is smaller than that of the journal before the update.

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

m1図は、本発明によるファイルリカバリ方式を実現す
る一実施例の概念を示すブロック図である。 第2図は、本発明によるファイルリカバリ方式を実現す
る一実施例を詳細に示すブロック図でるる。 第8図は、第2図の動作概要を示す概略フローチャート
である。 lO・S11ユ一ザプロセス群 11A−13・@−ユーザプロセス 20・・・ユーザファイル群 21〜23・―・ユーザファイル 30・・・更新前ジャーナル群 31〜33・・・更新前ジャーナル 40・・・ファイルリカバリ制御器 41@・曇制御テーブル部 42・・・リカバリ実行部 50・争・システム障害判定部 60・・・ファイルリカバリプロセス 61・・・対象プロセス選別部 62・拳・プロセス状態判定部 63・・・リカバリ実行部 64・・・資源解放部
FIG. m1 is a block diagram showing the concept of an embodiment for realizing the file recovery method according to the present invention. FIG. 2 is a block diagram showing in detail an embodiment of the file recovery method according to the present invention. FIG. 8 is a schematic flowchart showing an outline of the operation of FIG. 2. lO・S11 User process group 11A-13 @-User process 20...User file group 21-23...User file 30...Pre-update journal group 31-33...Pre-update journal 40.・File recovery controller 41@・Cloud control table unit 42 ・Recovery execution unit 50 ・Dispute/System failure determination unit 60 ・File recovery process 61 ・Target process selection unit 62 ・Fist/Process status determination Section 63...Recovery execution section 64...Resource release section

Claims (1)

【特許請求の範囲】[Claims] ユーザプロセス群が記憶装置の同一のユーザファイル群
をアクセスしながら、プロセス障害に備えてファイルを
更新する前の更新前ジャーナルをファイルリカバリ制御
器を介して更新前ジャーナルファイル群に蓄積しておき
、デッドロックの発生やプロセスが異常終了したときに
蓄積しておいた前記更新前ジャーナルを用いてファイル
をロールバックするように構成した計算機システムのフ
ァイルリカバリ方式であって、プロセスの終了処理シス
テムプログラムの障害が発生したことを検出してファイ
ルリカバリプロセスを生成するとともに障害プロセスを
消滅させ、前記ファイルリカバリプロセスに障害プロセ
スの識別子を通知するための第1の処理手段と、前記生
成されたファイルリカバリプロセスがシステム制御テー
ブルを参照しないで、前記通知された障害プロセスの識
別子をもとに前記更新前ジャーナルファイル群を探して
障害プロセス用の前記更新前ジャーナルファイルを見付
け出し、前記更新前ジャーナルだけを使用して前記ファ
イルロールパック処理を行うための第2の処理手段とを
具備して構成したことを特徴とするファイルリカバリ方
式。
While a user process group accesses the same user file group in a storage device, a pre-update journal before updating the file is accumulated in a pre-update journal file group via a file recovery controller in preparation for a process failure; A file recovery method for a computer system configured to roll back a file using the accumulated pre-update journal when a deadlock occurs or a process terminates abnormally. a first processing means for detecting the occurrence of a failure, generating a file recovery process, extinguishing the failure process, and notifying the file recovery process of an identifier of the failure process; and the generated file recovery process; searches the pre-update journal files based on the notified failed process identifier without referring to the system control table, finds the pre-update journal file for the failed process, and uses only the pre-update journal. and a second processing means for performing the file roll pack processing.
JP61052935A 1986-03-11 1986-03-11 File recovery system Pending JPS62210552A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61052935A JPS62210552A (en) 1986-03-11 1986-03-11 File recovery system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61052935A JPS62210552A (en) 1986-03-11 1986-03-11 File recovery system

Publications (1)

Publication Number Publication Date
JPS62210552A true JPS62210552A (en) 1987-09-16

Family

ID=12928715

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61052935A Pending JPS62210552A (en) 1986-03-11 1986-03-11 File recovery system

Country Status (1)

Country Link
JP (1) JPS62210552A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010140065A (en) * 2008-12-09 2010-06-24 Fujitsu Ltd Storage apparatus, restore method, and restore program
JP2012508919A (en) * 2008-11-14 2012-04-12 インターナショナル・ビジネス・マシーンズ・コーポレーション Application restore point

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5856142A (en) * 1981-09-30 1983-04-02 Fujitsu Ltd Display control system
JPS58103052A (en) * 1981-12-16 1983-06-18 Toshiba Corp Automatic data gathering system
JPS6037503A (en) * 1983-08-10 1985-02-26 Ricoh Co Ltd Light guide element

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5856142A (en) * 1981-09-30 1983-04-02 Fujitsu Ltd Display control system
JPS58103052A (en) * 1981-12-16 1983-06-18 Toshiba Corp Automatic data gathering system
JPS6037503A (en) * 1983-08-10 1985-02-26 Ricoh Co Ltd Light guide element

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012508919A (en) * 2008-11-14 2012-04-12 インターナショナル・ビジネス・マシーンズ・コーポレーション Application restore point
JP2010140065A (en) * 2008-12-09 2010-06-24 Fujitsu Ltd Storage apparatus, restore method, and restore program

Similar Documents

Publication Publication Date Title
JP4321705B2 (en) Apparatus and storage system for controlling acquisition of snapshot
US10915412B2 (en) System and method for live migration of a virtual machine
JP4483342B2 (en) System recovery method
EP0249061B1 (en) Job interrupt at predetermined boundary for enhanced recovery
JP3200661B2 (en) Client / server system
JP5021929B2 (en) Computer system, storage system, management computer, and backup management method
JP2785998B2 (en) Computer system
CN111309524A (en) Distributed storage system fault recovery method, device, terminal and storage medium
JPS62210552A (en) File recovery system
JP3022768B2 (en) Virtual computer system
JP2003006018A (en) System, method for restoring processing request, client device and server device
CN111427718A (en) File backup method, recovery method and device
JPH09218840A (en) Information processing method, device therefor and information processing system
CN115904621B (en) Method and device for maintaining host of super fusion system
JP2853527B2 (en) Automatic file failure recovery system
JP2677240B2 (en) Automatic restart processor for AIN system
CN115269556A (en) Database fault processing method, device, equipment and storage medium
JPH05100935A (en) Data base managing system
JP2022080615A (en) Information processing device, arrangement method, and program
CN117201489A (en) Cloud node recovery method, device, equipment and medium based on double-node cluster
JPH10275133A (en) Reexecution processing method for process
JP2000315190A (en) Job recovery system
JPS597982B2 (en) Restart method in case of system failure of computer system
JP2001084234A (en) On-line processing system
CN113656146A (en) Method, device and equipment for loading data during starting of virtual machine and storage medium