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
JPS6161420B2 - - Google Patents
[go: Go Back, main page]

JPS6161420B2 - - Google Patents

Info

Publication number
JPS6161420B2
JPS6161420B2 JP55103292A JP10329280A JPS6161420B2 JP S6161420 B2 JPS6161420 B2 JP S6161420B2 JP 55103292 A JP55103292 A JP 55103292A JP 10329280 A JP10329280 A JP 10329280A JP S6161420 B2 JPS6161420 B2 JP S6161420B2
Authority
JP
Japan
Prior art keywords
file
processing
recovery processing
flag
access processing
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
Application number
JP55103292A
Other languages
Japanese (ja)
Other versions
JPS5727346A (en
Inventor
Michio Hashimoto
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP10329280A priority Critical patent/JPS5727346A/en
Publication of JPS5727346A publication Critical patent/JPS5727346A/en
Publication of JPS6161420B2 publication Critical patent/JPS6161420B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operations
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1435Saving, restoring, recovering or retrying at system level using file system or storage system metadata

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Library & Information 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)
  • Hardware Redundancy (AREA)

Description

【発明の詳細な説明】 本発明は、2重化フアイル障害時復旧処理方
式、特にフアイル・アクセス処理部とフアイル復
旧処理部との間で交信処理を確実に行なわさせ、
オンライン処理中にもフアイル・アクセス処理と
フアイル復旧処理とを時分割的に実行せしめ得る
ようにした2重化フアイル障害時復旧処理方式に
関するものである。以下フアイルとは、処理の対
象となるデータのまとまりであり、データセツ
ト、ボリユーム等アクセスの対象すべてを指す。
DETAILED DESCRIPTION OF THE INVENTION The present invention provides a duplex file failure recovery processing method, in particular, a method for reliably performing communication processing between a file access processing section and a file recovery processing section;
The present invention relates to a duplex file failure recovery processing method that allows file access processing and file recovery processing to be executed in a time-sharing manner even during online processing. Hereinafter, a file is a collection of data to be processed, and refers to all objects to be accessed, such as data sets and volumes.

従来からオンライン処理システムにおいては、
障害発生時に対処すべくフアイルを2重化し、フ
アイル・アクセスに当つて2つのフアイルに夫々
アクセスすることが行なわれる。
Traditionally, in online processing systems,
In order to cope with the occurrence of a failure, files are duplicated, and two files are accessed individually when accessing a file.

このようなシステムにおいて、2重化されたフ
アイルのうち一方に障害が発生すると、障害フア
イルを交換した上で、健全側のフアイルの内容を
コピーする復旧処理が行なわれる。このような場
合、従来フアイル復旧処理のためにフアイル・ア
クセスが中断されることとなる。
In such a system, when a failure occurs in one of the duplicated files, the failed file is replaced and a recovery process is performed in which the contents of the healthy file are copied. In such a case, file access would conventionally be interrupted for file recovery processing.

本発明は、上記の点を解決することを目的とし
ており、フアイル・アクセス処理部とフアイル復
旧処理部との間での交信を確実に行なわせ、互に
相手方の待機状態をチエツクしつつ1単位分毎の
処理を時分割処理によつてフアイル復旧を行なわ
せることを目的としている。そしてそのため、本
発明の2重化フアイル障害時復旧処理方式は本願
特許請求の範囲の欄記載の特徴をもつよう構成さ
れる。以下図面を参照しつつ説明する。
The purpose of the present invention is to solve the above-mentioned problems, by ensuring communication between the file access processing section and the file recovery processing section, and by mutually checking the standby status of the other party. The purpose of this system is to perform file recovery by time-sharing processing on a minute-by-minute basis. Therefore, the duplex file failure recovery processing method of the present invention is configured to have the features described in the claims section of the present application. This will be explained below with reference to the drawings.

図は本発明の一実施例構成を示す。図中の符号
1はコントロール部であつてフアイル・アクセス
要求やフアイル復旧要求を受取りフアイル・アク
セス処理とフアイル復旧処理を実行せしめるも
の、2はフアイル・アクセス処理部であつて2重
化されたフアイルに対してアクセス処理を実行す
るもの、3はフアイル復旧処理部であつていずれ
か一方のフアイルに障害が生じた際に交換された
未記入のフアイルに対して健全側のフアイルの内
容を1ブロツクずつコピーする処理を行なうもの
を表わしている。
The figure shows the configuration of an embodiment of the present invention. Reference numeral 1 in the figure is a control unit that receives file access requests and file recovery requests and executes file access processing and file recovery processing, and 2 is a file access processing unit that handles duplicated files. 3 is a file recovery processing unit that executes access processing for the file, and 3 is a file recovery processing unit that extracts one block of the contents of the healthy file for the blank file that was replaced when a failure occurred in one of the files. This represents a process that performs copying process.

また4−1は障害となつたフアイル、4−1′
は交換された未記入フアイル、4−2は健全側の
フアイルであつて現在までの処理結果の情報が保
持されているもの、5はフアイル復旧処理終了信
号であつてフアイル・アクセス処理部がアクセス
処理待機中にある際にフアイル復旧処理部3が1
ブロツク分の復旧処理を終了した段階でこの終了
をフアイル・アクセス処理部2に対して通知する
信号、6はフアイル・アクセス処理終了信号であ
つてフアイル復旧処理部3が復旧処理待機中であ
る際にフアイル・アクセス処理部2が1ブロツク
分のアクセス処理を終了した段階でこの終了をフ
アイル復旧処理部3に対して通知する信号を表わ
している。
Also, 4-1 is the file that caused the problem, 4-1'
4-2 is the replaced blank file, 4-2 is the healthy file that holds information on the processing results up to now, and 5 is the file recovery processing completion signal, which is accessed by the file access processing unit. When the file recovery processing unit 3 is waiting for processing, the file recovery processing unit 3
A signal to notify the file access processing section 2 of the completion of the recovery processing for a block. 6 is a file access processing end signal, which is sent when the file recovery processing section 3 is waiting for the recovery processing. This represents a signal that notifies the file recovery processing section 3 of the completion of the access processing for one block when the file access processing section 2 has finished the access processing for one block.

更に7はフアイル・アクセス中フラグA、8は
フアイル復旧処理待機中フラグB、9はフアイル
復旧処理中フラグC、10はフアイル・アクセス
処理待機中フラグDを表わしている。
Further, 7 represents a file accessing flag A, 8 a file recovery processing standby flag B, 9 a file recovery processing flag C, and 10 a file access processing standby flag D.

以下、本発明におけるフアイル・アクセス処理
部2とフアイル復旧処理部3との間でのフラグ
7,8,9,10と信号5,6の交信とについて
説明する。
The communication of flags 7, 8, 9, 10 and signals 5, 6 between file access processing section 2 and file recovery processing section 3 in the present invention will be explained below.

(1) フアイル・アクセス処理部2において、アク
セス処理の必要性が生じると、フアイル復旧処
理中フラグCが立つているか否かを調べる。
(1) When the need for access processing arises in the file access processing unit 2, it is checked whether the file recovery processing flag C is set.

(2) そして該フラグCが立つていなければ、フア
イル復旧処理が行なわれていないことから、フ
アイル・アクセス処理部2は、フアイル・アク
セス中フラグAを立ててフアイル・アクセス処
理に入る。
(2) If the flag C is not set, it means that the file recovery process is not being performed, so the file access processing unit 2 sets the file accessing flag A and enters the file access process.

(3) フラグCが立つていた場合、フアイル復旧処
理部3がフアイル復旧処理を実行中であること
から、フアイル・アクセス処理部2はフアイ
ル・アクセス処理待機中フラグDを立てた上
で、フアイル・アクセス処理を開始せず、フア
イル復旧処理部3からのフアイル復旧処理終了
信号5の到来をまつ。該信号5が到来すると上
記処理(2)と同様にフラグAを立てて、アクセス
処理に入る。
(3) If flag C is set, the file recovery processing unit 3 is executing the file recovery process, so the file access processing unit 2 sets the file access processing waiting flag D, and then restores the file. - Wait for the arrival of the file restoration processing end signal 5 from the file restoration processing section 3 without starting the access processing. When the signal 5 arrives, the flag A is set as in the above process (2) and the access process begins.

(4) フアイル・アクセス処理部2は、アクセス処
理を開始して1ブロツク分の処理が終了したと
きにフアイル復旧処理待機中フラグBが立つて
いることを検出すると、フアイル・アクセス処
理終了信号6を通知する。
(4) When the file access processing unit 2 starts the access processing and detects that the file recovery processing standby flag B is set when the processing for one block is completed, it sends the file access processing completion signal 6. Notify.

(5) 上記と逆にフアイル復旧処理部3において、
フアイル復旧処理がコントロール部1から依頼
されると、フアイル復旧処理開始に先立つて、
フアイル・アクセス中フラグAが立つているか
否かを調べる。
(5) Contrary to the above, in the file recovery processing section 3,
When file recovery processing is requested from the control unit 1, prior to starting the file recovery processing,
Check whether the file access flag A is set.

(6) そしてフラグAが立つていなければ、フアイ
ル・アクセス処理が行なわれていないことか
ら、フアイル復旧処理部3はフアイル復旧処理
中フラグCを立てて、フアイル復旧処理に入
る。
(6) If the flag A is not set, it means that the file access process is not being performed, so the file recovery processing unit 3 sets the file recovery process flag C and enters the file recovery process.

(7) フラグAが立つていた場合、フアイル・アク
セス処理部2がフアイル・アクセス処理を実行
中であることから、フアイル復旧処理部3はフ
アイル復旧処理待機中フラグBを立てた上で、
フアイル復旧処理を開始せず、フアイル・アク
セス処理部2からのフアイル・アクセス処理終
了信号6の到来を待つ。該信号6が到来すると
上記処理(6)と同様にフラグCを立てて、アクセ
ス処理に入る。
(7) If flag A is set, the file access processing unit 2 is executing file access processing, so the file recovery processing unit 3 sets flag B for waiting for file recovery processing, and then
It waits for the arrival of the file access processing end signal 6 from the file access processing section 2 without starting the file recovery processing. When the signal 6 arrives, the flag C is set in the same way as in the process (6) above, and the access process begins.

(8) フアイル復旧処理部3は、アクセス復旧処理
を開始して1ブロツク分の処理が終了したとき
にフアイル・アクセス処理待機中フラグDが立
つていることを検出すると、フアイル復旧処理
終了信号5を通知する。
(8) When the file recovery processing unit 3 starts the access recovery process and detects that the file access process standby flag D is set when the process for one block is completed, it sends the file recovery process end signal 5. Notify.

以上説明した如く、本発明によれば、フアイ
ル・アクセス処理部2とフアイル復旧処理部3と
の間でフラグの確認と信号の交信とを行なつて、
自己の処理を1単位づつ実行するようにしてお
り、システムがオンライン処理中においても、フ
アイル復旧処理を実行することが可能となる。
As explained above, according to the present invention, flag confirmation and signal communication are performed between the file access processing section 2 and the file recovery processing section 3.
Since the system executes its own processing one unit at a time, it is possible to execute file recovery processing even when the system is performing online processing.

なお、コピーを記録しつつある側のフアイル4
−1′においては、少なくとも、既にコピーし終
えた範囲についてのアクセス時にフアイル・アク
セス処理部2によつてフアイル4−2と同様にア
クセスされることは言うまでもない。
In addition, file 4 on the side where the copy is being recorded
It goes without saying that file 4-1' is accessed by the file access processing unit 2 in the same way as file 4-2, at least when accessing the range that has already been copied.

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

図は本発明の一実施例構成を示す。 図中、1はコントロール部、2はフアイル・ア
クセス処理部、3はフアイル復旧処理部、4はフ
アイル、5,6は夫々信号、7,8,9,10は
夫々フラグを表わす。
The figure shows the configuration of an embodiment of the present invention. In the figure, 1 is a control section, 2 is a file access processing section, 3 is a file recovery processing section, 4 is a file, 5 and 6 are signals, and 7, 8, 9, and 10 are flags, respectively.

Claims (1)

【特許請求の範囲】[Claims] 1 処理に対応した結果を格納するフアイルを2
重化してもうけ、該2重化された夫々のフアイル
に対して同一情報をリードおよび/またはライト
するフアイル制御システムにおいて、上記2重化
されたフアイルに対してアクセスするフアイル・
アクセス処理部をそなえると共に、フアイルの1
つにおいて障害が生じた際に交換された未記入フ
アイルに対して健全側のフアイルから当該健全側
のフアイルの内容をコピーする処理を実行するフ
アイル復旧処理部をもうけ、上記フアイル・アク
セス処理部と上記フアイル復旧処理部との間に、
(i)フアイル・アクセス処理部がフアイル・アクセ
ス中においてセツトし、かつフアイル復旧処理部
がフアイル復旧処理を実行しようとするときセツ
トの有無をチエツクしてセツトされている場合に
フアイル復旧処理の開始を待つフアイル・アクセ
ス中フラグA、(ii)フアイル復旧処理部が、上記フ
アイル・アクセス中フラグAがセツトされている
ことを検出した際にセツトして、フアイル復旧処
理待機中を通知するフアイル復旧処理待機中フラ
グB、(iii)フアイル復旧処理部が、上記フアイル・
アクセス中フラグAがセツトされていないことを
検出して、フアイル復旧処理を開始したときセツ
トし、かつフアイル・アクセス処理部が、フアイ
ル・アクセス処理を実行しようとするときセツト
の有無をチエツクして、セツトされている場合に
フアイル・アクセス処理の開始を待つフアイル復
旧処理中フラグC、および(iv)フアイル・アクセス
処理部が、上記フアイル復旧処理中フラグCがセ
ツトされていることを検出した際にセツトして、
フアイル・アクセス処理待機中を通知するフアイ
ル・アクセス処理待機中フラグDを用意し、かつ
(v)上記フアイル復旧処理待機中フラグBがセツト
されている状態で上記フアイル・アクセス処理部
が1単位分のフアイル・アクセス処理を実行し終
つたとき次の単位のフアイル・アクセス処理を中
止して上記フアイル復旧処理部に通知するフアイ
ル・アクセス処理終了信号、および(vi)上記フアイ
ル・アクセス処理待機中フラグDがセツトされて
いる状態で上記フアイル復旧処理部が1単位分の
フアイル復旧処理を実行し終つたとき次の単位の
フアイル復旧処理を中止して上記フアイル・アク
セス処理部に通信するフアイル復旧処理終了信号
を交信するようにしてなり、上記フアイル・アク
セス処理部と上記フアイル復旧処理部とが夫々互
に相手方の待機状態をチエツクしつつ1単位分毎
の処理を時分割で処理するようにしたことを特徴
とする2重化フアイル障害時復旧処理方式。
1. Save the file that stores the results corresponding to the processing to 2.
In a file control system that reads and/or writes the same information to each of the duplicated files, a file that accesses the duplicated file is
It is equipped with an access processing section and one of the files.
A file recovery processing unit is provided that executes processing to copy the contents of a healthy file to a blank file that was replaced when a failure occurred in the other system, and the file access processing unit and Between the above file recovery processing section,
(i) The file access processing unit sets it while accessing a file, and when the file recovery processing unit attempts to execute file recovery processing, it checks whether it is set and starts file recovery processing if it is set. (ii) A file recovery processing unit that sets the file accessing flag A when it detects that the file accessing flag A is set to notify that it is waiting for file recovery processing. Processing standby flag B, (iii) The file recovery processing unit
It is set when it detects that the accessing flag A is not set and starts file recovery processing, and the file access processing unit checks whether it is set when it attempts to execute file access processing. , and (iv) when the file access processing unit detects that the file recovery processing flag C is set, it waits for the start of file access processing if it is set. Set it to
Prepare a file access processing waiting flag D to notify that file access processing is waiting, and
(v) When the file access processing unit finishes executing one unit of file access processing while the file recovery processing standby flag B is set, it cancels the next unit of file access processing. and (vi) the file access processing standby flag D is set, and the file recovery processing section performs one unit of file recovery processing. When the execution is completed, the next unit of file recovery processing is stopped and a file recovery processing end signal is communicated to the file access processing section, so that the file access processing section and the file recovery processing section communicate with each other. 1. A method for recovering from a duplex file failure, characterized in that each device checks the standby state of the other and performs processing in units of time in a time-sharing manner.
JP10329280A 1980-07-28 1980-07-28 Restoration processing system at fault of doubling file Granted JPS5727346A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10329280A JPS5727346A (en) 1980-07-28 1980-07-28 Restoration processing system at fault of doubling file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10329280A JPS5727346A (en) 1980-07-28 1980-07-28 Restoration processing system at fault of doubling file

Publications (2)

Publication Number Publication Date
JPS5727346A JPS5727346A (en) 1982-02-13
JPS6161420B2 true JPS6161420B2 (en) 1986-12-25

Family

ID=14350205

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10329280A Granted JPS5727346A (en) 1980-07-28 1980-07-28 Restoration processing system at fault of doubling file

Country Status (1)

Country Link
JP (1) JPS5727346A (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60184865A (en) * 1984-03-05 1985-09-20 Seiko Epson Corp Electric thermal transfer recording device
JPH0776946B2 (en) * 1987-01-21 1995-08-16 日本電気株式会社 Multiple-write file subsystem
JPH02300830A (en) * 1989-05-15 1990-12-13 Nec Corp Multiplexing filing device
JP5924117B2 (en) * 2012-05-17 2016-05-25 富士通株式会社 Computer, data storage method, data storage program, and information processing system

Also Published As

Publication number Publication date
JPS5727346A (en) 1982-02-13

Similar Documents

Publication Publication Date Title
KR19990082867A (en) Method and apparatus for correct and complete transactions in a fault tolerant distributed database system
JPH02287858A (en) Restarting system for distributed processing system
JP2006309506A (en) Remote copy processing method, program and apparatus
JPS6161420B2 (en)
JP2003114768A (en) External storage device control method
JPH0659958A (en) File writing processing system
CN120723541B (en) Rollback method of double-activity high-availability snapshot and electronic equipment
JPS62135038A (en) Data communications system for slave processor
JP2650134B2 (en) Duplication volume recovery processor
JP2629330B2 (en) Data update commit processing method
JPS6370974A (en) Recovery processing system for duplex volume
JP3503287B2 (en) Data server
JPH0635781A (en) Recorded data on-line recovery device
JP3253321B2 (en) Synchronization confirmation processing method for database access
JPH0342741A (en) Updating system for distributed data base in inter-host communication
JPS6175934A (en) Inter-central processor communication system for duplex system
JPS6167153A (en) Partial trouble recovery processing system of direct access storage device
JPS6360414B2 (en)
JPS6197755A (en) Data base system
JPH03196341A (en) Data synchronization managing system in on-line system
JP3033586B2 (en) Information processing system
JPS63262737A (en) Data base updating and recording processing method
JPH05181613A (en) Information processor
JPS6250938A (en) Recovering system for main memory resident data base
JPH0330033A (en) File copying processor