JPH0581103A - System for restoring duplexing film - Google Patents

System for restoring duplexing film

Info

Publication number
JPH0581103A
JPH0581103A JP3239123A JP23912391A JPH0581103A JP H0581103 A JPH0581103 A JP H0581103A JP 3239123 A JP3239123 A JP 3239123A JP 23912391 A JP23912391 A JP 23912391A JP H0581103 A JPH0581103 A JP H0581103A
Authority
JP
Japan
Prior art keywords
file
input
output
business
request
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
JP3239123A
Other languages
Japanese (ja)
Inventor
Yasuharu Ito
靖治 伊藤
Tatsuya Miyashita
達也 宮下
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 Solution Innovators Ltd
Original Assignee
NEC Solution Innovators 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 NEC Solution Innovators Ltd filed Critical NEC Solution Innovators Ltd
Priority to JP3239123A priority Critical patent/JPH0581103A/en
Publication of JPH0581103A publication Critical patent/JPH0581103A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To execute restoration to a duplexing file without stopping a system and also interfering with job when one of the files becomes interference. CONSTITUTION:When file restoration request is executed from a console 1, a file input/output processing 3 is started and a file control table 4 is used so that all the files dealt in a job processing 2 are copied from the normal file to the fault file and restored to the duplexing file. When the job processing 2 requests the input/output of the file during file restoration, the file input/output processing 3 executes reading from the normal file at the time of input request and executes writing in the 1-system disk file 5 and 2-system disk file 6 at the time of output request.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、二重化ファイル復旧方
式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a duplicated file recovery system.

【0002】[0002]

【従来の技術】従来、ファイルの二重化されたシステム
において、片方のファイルが障害となった時に、二重化
ファイルへ復旧する場合は、システムを停止し、復旧を
行う必要があった。
2. Description of the Related Art Conventionally, in a file duplication system, when one of the files becomes a failure, it is necessary to stop the system and perform the restoration to restore the duplication file.

【0003】[0003]

【発明が解決しようとする課題】この従来の二重化ファ
イル復旧方式では、システムで片方のファイルが障害と
なった場合、そのファイルを復旧するためには、システ
ムを保守状態にする必要があり、業務を停止しなければ
ならないという問題点があった。また、ファイル容量が
大きいと復旧するのに多大な時間を要し、業務に支障を
きたした。
In this conventional duplex file recovery method, when one file fails in the system, it is necessary to put the system into a maintenance state in order to recover that file. There was a problem that I had to stop. Also, if the file size is large, it takes a lot of time to recover, which hinders business.

【0004】[0004]

【課題を解決するための手段】本発明の二重化ファイル
復旧方式は、業務で取り扱う全ファイルについて、1系
ファイル名と2系ファイル名の対応表を格納しているフ
ァイル管理テーブルと、システム内の業務を取り扱う業
務処理と、ファイルの入出力および複写を行うファイル
入出力処理とを有し、該ファイル入出力処理は、2系フ
ァイルの障害が修復されてシステムに組込む場合に、前
記ファイル管理テーブルに従って1系ファイルから2系
ファイルにレコードを書き込んでいき、この時に前記業
務処理から入力要求があれば前記1系ファイルからデー
タを読み込み、また前記業務処理から出力要求があれば
前記1系ファイルおよび2系ファイルにデータ書き込む
ことを特徴とする。
A duplicated file recovery system of the present invention is a file management table storing a correspondence table of 1-system file names and 2-system file names for all files handled by a business, and a file management table in the system. The file management table has business processing for handling business and file input / output processing for inputting / outputting and copying files, and the file input / output processing is performed when the failure of the 2nd system file is repaired and incorporated into the system. According to the above, records are written from the 1st system file to the 2nd system file. At this time, if there is an input request from the business process, data is read from the 1st system file, and if there is an output request from the business process, the 1st system file and The feature is that the data is written in the 2 system file.

【0005】[0005]

【実施例】次に、本発明について図面参照して説明す
る。図1には、本発明の一実施構成例を示し、図2に
は、本発明のファイルの複写方式を示し、図3には、本
発明におけるファイル管理テーブルの構成例を示す。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings. FIG. 1 shows a configuration example of an embodiment of the present invention, FIG. 2 shows a file copying method of the present invention, and FIG. 3 shows a configuration example of a file management table in the present invention.

【0006】通常、ファイルの二重化されたシステムで
は、ファイルに格納するデータが業務処理2で発生した
場合は、ファイル入出力処理3に業務データとファイル
の格納レコード位置を渡して、書き込み要求をする。
Normally, in a file duplication system, when the data to be stored in the file occurs in the business process 2, the business data and the storage record position of the file are passed to the file input / output process 3 and a write request is issued. ..

【0007】ファイル入出力処理3では、業務処理2の
指示に従い、1系ディスクファイル5と、2系ディスク
ファイル6の両方のディスクファイルに業務データを書
き込む。また、業務処理2で必要な業務データが発生し
た場合は、ファイル入出力処理3にファイル読み込み位
置を渡して、読み込み要求をする。ファイル入出力処理
3では、業務処理2の指示に従い、1系ディスクファイ
ル5より業務データを読み込み、業務処理2に渡す。
In the file input / output processing 3, the business data is written to both the 1-system disk file 5 and the 2-system disk file 6 according to the instruction of the business processing 2. When necessary business data is generated in the business process 2, the file read position is passed to the file input / output process 3 to make a read request. In the file input / output processing 3, business data is read from the 1-system disk file 5 according to the instruction of the business processing 2 and passed to the business processing 2.

【0008】ファイルの二重化運用を行っている時に、
2系ディスクファイル6で障害が発生した場合は、1系
ディスクファイル5のみで業務データの書き込みまたは
読み込みを行い、2系ディスクファイル6は、システム
から切り離す。以下の例では、2系ディスクファイル6
がシステムから切り離された後に、2系ディスクファイ
ル6の障害が修復され、システムに組込む準備が整った
時の処理について説明する。
When the file duplication operation is performed,
When a failure occurs in the second system disk file 6, the business data is written or read only in the first system disk file 5, and the second system disk file 6 is separated from the system. In the following example, 2 system disk file 6
A description will be given of a process when the failure of the 2nd system disk file 6 is repaired after being disconnected from the system and the system is ready for incorporation into the system.

【0009】2系ディスクファイル6の組込み要求がコ
ンソール1から入力されるとファイル入出力処理3が起
動される。ファイル入出力処理3では、ファイル管理テ
ーブル4が管理している全ファイルについて、1系ディ
スクファイル5から2系ディスクファイル6への複写を
行う。ファイル管理テーブル4には、図2に示すよう
に、業務処理2で使用する全ファイルについて、1系デ
ィスクファイル名および2系ディスクファイル名が格納
されている。
When a request for incorporating the second system disk file 6 is input from the console 1, the file input / output processing 3 is started. In the file input / output processing 3, all files managed by the file management table 4 are copied from the 1-system disk file 5 to the 2-system disk file 6. As shown in FIG. 2, the file management table 4 stores a 1-system disk file name and a 2-system disk file name for all files used in the business process 2.

【0010】複写は、図3に示すように、ファイル管理
テーブル4の先頭に登録されている1系ディスクファイ
ル名について、先頭レコードから順次読み込み、2系デ
ィスクファイル名の先頭レコードから順次書き込んでい
く。この時、一定レコード数複写する毎に業務データの
入出力要求の有無を確認し、入力要求があれば、1系デ
ィスクファイル5より業務データを読み込み、業務処理
2に渡す。出力要求があれば、業務データを1系ディス
クァイル5と、2系ディスクファイル6にそれぞれ書き
込む。業務データの入出力が完了したならば、再度要求
をチェックして、無ければ、1系ディスクファイル5か
ら2系ディスクファイル6への複写を再開する。
As for copying, as shown in FIG. 3, the 1st system disk file name registered at the beginning of the file management table 4 is sequentially read from the first record, and the 2nd system disk file name is sequentially written from the first record. .. At this time, every time a certain number of records are copied, it is confirmed whether or not there is an input / output request for business data. If there is an input request, the business data is read from the 1-system disk file 5 and passed to the business process 2. If there is an output request, the business data is written to the 1st system disk file 5 and the 2nd system disk file 6, respectively. When the input / output of the business data is completed, the request is checked again, and if there is not, the copying from the 1-system disk file 5 to the 2-system disk file 6 is restarted.

【0011】この様にして、最終レコードまで複写が終
わったら、ファイル管理テーブル4上の次のファイルを
上記の要領で次々に複写し、全ファイルの複写が完了し
た時点で1系ディスクファイル5と2系ディスクファイ
ル6が同一化される。
In this way, when the copying to the final record is completed, the next files on the file management table 4 are copied one after another in the above manner, and when the copying of all the files is completed, the 1-system disk file 5 The 2nd system disk file 6 is made identical.

【0012】また、複写途中で、業務データも両系のデ
ィスクファイルに書き込みしているため、矛盾が発生す
ることもない。
Moreover, since the business data is also written in the disk files of both systems during the copying, no contradiction occurs.

【0013】[0013]

【発明の効果】以上のように本発明は、システム稼働中
に二重化ディスクの復旧を行う際に、システムを停止せ
ず、なおかつ業務に支障を与えることなく復旧を行うこ
とができる。
As described above, according to the present invention, when the redundant disk is restored while the system is in operation, the system can be restored without stopping the system and without hindering the business.

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

【図1】本発明の一実施構成例を示す。FIG. 1 shows an exemplary configuration of an embodiment of the present invention.

【図2】ファイル複写の方式を示す。FIG. 2 shows a method of file copying.

【図3】本発明におけるファイル管理テーブルの構成例
を示す。
FIG. 3 shows a configuration example of a file management table in the present invention.

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

1 コンソール 2 業務処理 3 ファイル入出力処理 4 ファイル管理テーブル 5 1系ディスクファイル 6 2系ディスクファイル 1 Console 2 Business process 3 File input / output process 4 File management table 5 1-system disk file 6 2-system disk file

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 業務で取り扱う全ファイルについて、1
系ファイル名と2系ファイル名の対応表を格納している
ファイル管理テーブルと、 システム内の業務を取り扱う業務処理と、 ファイルの入出力および複写を行うファイル入出力処理
とを有し、 該ファイル入出力処理は、2系ファイルの障害が修復さ
れてシステムに組込む場合に、前記ファイル管理テーブ
ルに従って1系ファイルから2系ファイルにレコードを
書き込んでいき、この時に前記業務処理から入力要求が
あれば前記1系ファイルからデータを読み込み、また前
記業務処理から出力要求があれば前記1系ファイルおよ
び2系ファイルにデータを書き込むことを特徴とする二
重化ファイル復旧方式。
1. For all files handled in business, 1
A file management table that stores a correspondence table between system file names and system 2 file names, business processing that handles business in the system, and file input / output processing that performs file input / output and copying. In the input / output processing, when the failure of the system 2 file is repaired and incorporated into the system, a record is written from the system 1 file to the system 2 file according to the file management table. A duplicated file recovery system characterized by reading data from the 1-system file and writing data to the 1-system file and the 2-system file when an output request is issued from the business process.
JP3239123A 1991-09-19 1991-09-19 System for restoring duplexing film Pending JPH0581103A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3239123A JPH0581103A (en) 1991-09-19 1991-09-19 System for restoring duplexing film

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3239123A JPH0581103A (en) 1991-09-19 1991-09-19 System for restoring duplexing film

Publications (1)

Publication Number Publication Date
JPH0581103A true JPH0581103A (en) 1993-04-02

Family

ID=17040135

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3239123A Pending JPH0581103A (en) 1991-09-19 1991-09-19 System for restoring duplexing film

Country Status (1)

Country Link
JP (1) JPH0581103A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009116783A (en) * 2007-11-09 2009-05-28 Hitachi Ltd Storage system for restoring data stored in failed storage device
GB2580566B (en) * 2018-06-16 2023-02-01 Shanghai Townew Intelligent Tech Co Ltd Heat fusing devices, smart trash receptacle and methods for controlling heat fusing temperature

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009116783A (en) * 2007-11-09 2009-05-28 Hitachi Ltd Storage system for restoring data stored in failed storage device
US8522071B2 (en) 2007-11-09 2013-08-27 Hitachi, Ltd. Storage system for restoring data stored in failed storage device
US8762768B2 (en) 2007-11-09 2014-06-24 Hitachi, Ltd. Storage system for restoring data stored in failed storage device
GB2580566B (en) * 2018-06-16 2023-02-01 Shanghai Townew Intelligent Tech Co Ltd Heat fusing devices, smart trash receptacle and methods for controlling heat fusing temperature

Similar Documents

Publication Publication Date Title
US6883112B2 (en) Storage device, backup and fault tolerant redundant method and computer program code of plurality storage devices
JPH0581103A (en) System for restoring duplexing film
JPH03111928A (en) Substitutive system for storage device
JPH0962586A (en) Information processor and data processing method for this processor
CN107402850B (en) Redundancy method and device for database data files
JPH06124169A (en) Duplex systematized optical disk device and automatic i/o error restoring method
JP3090182B2 (en) Alternative sector registration method
JP2712819B2 (en) Dynamic copy control method for duplicated files
JP2666426B2 (en) Duplex auxiliary storage device
JPH07281933A (en) Computer system
JP2746102B2 (en) One point backup method of business data file in case of magnetic disk device failure
JP3463696B2 (en) Online garbage collection processing method
JPS6167153A (en) Partial trouble recovery processing system of direct access storage device
JPH04141751A (en) Fault recovery system for mass storage medium
JPS63262737A (en) Data base updating and recording processing method
JP2806342B2 (en) Database failure recovery method and device
JPH07160651A (en) Backup mode for system data
JPH0713830A (en) Dual disk control system
JPS6154526A (en) File copy system
JPH06149641A (en) On-line backup and fault recovery system
JP2004199116A (en) Division back-up/restoration application system
JPH04169945A (en) File restoring method
JPH036752A (en) Duplexing system for file system
JPH02168346A (en) Information processing device
JPH03131943A (en) Fault managing system in file duplexing processing system