JPH02113352A - File recovery system for multiple system - Google Patents

File recovery system for multiple system

Info

Publication number
JPH02113352A
JPH02113352A JP63266687A JP26668788A JPH02113352A JP H02113352 A JPH02113352 A JP H02113352A JP 63266687 A JP63266687 A JP 63266687A JP 26668788 A JP26668788 A JP 26668788A JP H02113352 A JPH02113352 A JP H02113352A
Authority
JP
Japan
Prior art keywords
file
attribute
cpu
copy
copy attribute
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
JP63266687A
Other languages
Japanese (ja)
Inventor
Shuji Omura
大村 周二
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.)
PFU Ltd
Original Assignee
PFU 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 PFU Ltd filed Critical PFU Ltd
Priority to JP63266687A priority Critical patent/JPH02113352A/en
Publication of JPH02113352A publication Critical patent/JPH02113352A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To easily recovery a file of the multiple system by eliminating hardware common use by the providing the file with a copy attribute and a time stamp. CONSTITUTION:The file 3 is provided with the attribute flag 4 consisting of the copy attribute and time stamp and the flag is transferred and stored on a disk device (external storage device) 1 of a CPU whose copy attribute is on. If trouble occurs to one CPU, the copy attribute is referred to and the system is recovered with the file having the latest time stamp obtained from the CPU having the same file. Consequently, the multiple system is structured without having any common-use file and the recovery is easily made.

Description

【発明の詳細な説明】 [概要〕 本発明は、多重化システムにおけるファイル復旧方式に
おいて、共通部を設けてファイルを共有する際の当該共
通部の信顛性の向上が必須となることによる複雑性など
の問題を解決するため、ファイルにコピーの要否を表す
コピー属性および更新した時刻を表すタイムスタンプを
持たせ、障害発生時にコピー属性を参照して同じファイ
ルを持つCPUから取り寄せたタイムスタンプのうち最
新のファイルによって復旧することにより、ハード的な
共用を無くして多重化システムにおけるファイルを復旧
し得るようにしたものである。
[Detailed Description of the Invention] [Summary] The present invention provides a file recovery method in a multiplexed system that solves the problem of complexity due to the necessity of improving the reliability of the common section when sharing files by providing a common section. In order to solve problems such as readiness, a file has a copy attribute that indicates whether copying is necessary and a timestamp that indicates the time it was updated, and when a failure occurs, a timestamp is obtained from the CPU that has the same file by referring to the copy attribute. By restoring using the latest file, it is possible to eliminate the need for hardware sharing and restore files in a multiplexed system.

〔産業上の利用分野〕[Industrial application field]

本発明は、多重化システムにおけるファイル復旧方式に
関するものである。
The present invention relates to a file recovery method in a multiplex system.

〔従来の技術と発明が解決しようとする課題〕従来、計
X機システムの停止が重大な損失につながるために二重
化、更に多重化システムが採用されている。この多重化
システムを構築するために、複数のCPUから1つの共
通ファイルをアクセスするようにしたのでは、当該共通
ファイルの信鎖性の向上が必須となってしまうという問
題がある。また、個別ファイルを共有ファイルとして使
用すると、特に復旧して再度システムに組み込む際に効
率的に行い難いという問題がある。
[Prior Art and Problems to be Solved by the Invention] Conventionally, a duplex or multiplex system has been adopted because the stoppage of a total of X machine systems would lead to serious losses. If one common file is accessed by a plurality of CPUs in order to construct this multiplexed system, there is a problem in that it becomes essential to improve the reliability of the common file. Furthermore, when individual files are used as shared files, there is a problem in that it is difficult to efficiently restore and reinstall the files into the system.

本発明は、ファイルにコピー属性およびタイムスタンプ
を持たせ、障害発生時に当該コピー属性およびタイムス
タンプを参照して最新のファイルによって復旧し、ハー
ド的な共用を無くして多重化システムにおけるファイル
の復旧を容易に行い得るようにすることを目的としてい
る。
The present invention provides files with copy attributes and timestamps, and when a failure occurs, refers to the copy attributes and timestamps and recovers with the latest file, thereby eliminating the need for hardware sharing and recovering files in a multiplexed system. The aim is to make it easy to do.

〔課題を解決する手段〕[Means to solve problems]

第1図を参照して課題を解決する手段を説明する。 Means for solving the problem will be explained with reference to FIG.

第1図において、ディスク装置1は、ファイル3および
属性フラグ4を保存するものである。
In FIG. 1, a disk device 1 stores a file 3 and an attribute flag 4. As shown in FIG.

属性フラグ4は、ファイル3のコピーの要否を表すコピ
ー属性、およびファイルの更新した時刻を表すタイムス
タンプから構成され、ファイル3に保持させるものであ
る。
The attribute flag 4 is made up of a copy attribute indicating whether copying of the file 3 is necessary and a timestamp indicating the time when the file was updated, and is held in the file 3.

〔作用〕[Effect]

本発明は、第1図に示すように、ファイル3にコピー属
性およびタイムスタンプからなる属性フラグ4を持たせ
、このコピー属性がオンのCPUのディスク装置(外部
記憶装置)lに転送して保存し、いずれかのCPUに障
害が発生した場合などに、コピー属性を参照して同一の
ファイルを持つCPUから取り寄せたタイムスタンプの
うら最新のもののファイルによって復旧するようにして
いる。
As shown in FIG. 1, the present invention provides a file 3 with an attribute flag 4 consisting of a copy attribute and a timestamp, and transfers this copy attribute to a disk device (external storage device) l of a CPU for which the copy attribute is on and saves it. However, if a failure occurs in one of the CPUs, the copy attribute is referenced to restore the file using the latest time stamp obtained from the CPU that has the same file.

従って、共通ファイルを持つことなく多重化システムを
構築することが可能となると共に、復旧を容易に行うこ
とが可能となる。
Therefore, it is possible to construct a multiplex system without having common files, and it is also possible to perform recovery easily.

〔実施例〕〔Example〕

次に、第1図および第2図を用いて本発明の1実施例の
構成および動作を順次詳細に説明する。
Next, the configuration and operation of one embodiment of the present invention will be explained in detail using FIGS. 1 and 2.

第1図(イ)において、ディスク装置1は、CPU#1
、CPU2#、CPU#3・・・などに1妾続されるも
のであって、ファイル(A、B、C・・・N)3を保存
するものである。ファイル3は、属性Flag (属性
フラグ)4を持っている。
In FIG. 1(a), the disk device 1 has CPU#1
, CPU2#, CPU#3, etc., and stores files (A, B, C...N)3. File 3 has attribute Flag (attribute flag) 4.

この属性フラグ4は、各CPU#1、CPU#2、CP
U#3・・・に対応づけたコピー属性、およびファイル
3を作成(あるいは最新の更新)した時刻であるTim
eスタンプ(タイムスタンプ)から構成されている。こ
の属性Flag4は、共用する必要のあるファイル3に
ついてのみ持たせ、多重化を図るようにしている。
This attribute flag 4 is for each CPU#1, CPU#2, CP
Copy attributes associated with U#3... and Tim, which is the time when file 3 was created (or latest updated)
It consists of e-stamps (time stamps). This attribute Flag4 is provided only for the file 3 that needs to be shared in order to facilitate multiplexing.

第1図(ロ)において、CPU#i CPU#2、CP
U#3・・・は、処理を行う中央処理装置である。
In FIG. 1 (b), CPU#i CPU#2, CP
U#3... is a central processing unit that performs processing.

LANf、II′4nアダプタ2は、LAN7!l<持
つ一斉同報、グループ同報などの機能によって、属性フ
ラグ4がオンのCPUにファイル3および属性フラグ4
を転送などするものである。
LANf, II'4n adapter 2 is LAN7! l< Due to functions such as simultaneous broadcasting and group broadcasting, file 3 and attribute flag 4 are sent to the CPU with attribute flag 4 on.
It is used to transfer etc.

次に、第1図(ロ)を参照して本実施例の構成の動作を
説明する。
Next, the operation of the configuration of this embodiment will be explained with reference to FIG. 1(b).

第1図(ロ)において、■は、Fi leの作成時にC
opy属性を決定する。これは、実行系のCPU#1が
ファイル3の作成時に第1図(イ)属性フラグ4のコピ
ー属性のいずれをオンにしてファイルを転送する必要が
あるか否がを決定することを意味している。
In Figure 1 (b), ■ indicates C when creating File.
Determine the opy attribute. This means that when creating file 3, CPU #1 on the execution system determines which of the copy attributes in attribute flag 4 in Figure 1 (a) should be turned on to transfer the file. ing.

■は、運用に入り、Fi Isの変更の必要が生じる。(2) goes into operation, and it becomes necessary to change Fi Is.

■は、自系(実行系)のFile (データと属性Fl
agのTimeスタンプ)を更新する。これにより、フ
ァイル3および属性FIag4が実行系のディスク装置
lに保存される。
■ is the File (data and attributes Fl) of the own system (execution system)
ag's Time stamp). As a result, the file 3 and the attribute FIag4 are saved in the active disk device l.

■”は、更に、待機系にも、属性F1ag4のコピー属
性のオンのものにファイル3および属性FIag4を転
送する。
■'' further transfers file 3 and attribute FIag4 to the standby system with the copy attribute of attribute F1ag4 set to ON.

■゛は、ファイル3および属性Flag4の転送を受け
た待機系が自己のディスク装置工に保存する。
(2) The standby system that received the transfer of file 3 and attribute Flag 4 saves it in its own disk device.

以上の処理によって、通常の運用中にファイル3が作成
あるいは更新された場合、実行系のディスク装置1に保
存されると共にコピー属性がオンの待機系のCPUに転
送されてディスク装置1に保存される。
Through the above processing, when file 3 is created or updated during normal operation, it is saved in the active disk device 1, transferred to the standby CPU with the copy attribute on, and saved in the disk device 1. Ru.

次に、第2図を用いて実行系故障時の復旧方法について
説明する。
Next, a recovery method when an execution system failure occurs will be explained using FIG.

第2図において、■は、実行系のCPU#lに故障が発
生し、待機系のCPU#2が実行系に切り換えられた様
子を示す。
In FIG. 2, ■ indicates that a failure has occurred in the active system CPU #1, and the standby system CPU #2 has been switched to the active system.

■は、新しく実行系となったCPU#2が、ファイル3
が持つ属性FIag4のC0PY属性を参照して、オン
となっている同じファイルを持つcpuを探す。
In ■, CPU #2, which has become the new execution system, uses file 3.
Refers to the C0PY attribute of attribute FIag4 and searches for a CPU that has the same file that is turned on.

■は、■で判明したCPU系から、ファイルの属性Fl
ag4のTimeスタンプを収集する。
■ is the file attribute Fl from the CPU system found in ■.
Collect ag4 Time stamps.

■は、■で同一ファイルのT i m eスタンプの収
集を行い、新しい実行系のファイルのT i m eス
タンプが最も新しければ、自系のデータ(ファイル3)
を元に復旧を行う(自系のファイル3を他の該当CPU
に転送して最新のファイル3にする)。
■ collects Time stamps of the same file in ■, and if the Time stamp of the new executable file is the newest, the self-system data (file 3) is collected.
(Restore file 3 of own system to other applicable CPU)
(to make it the latest file 3).

■は、もし他系に最新のデータ(ファイル3)があれば
、それをLAN経由で入手し、このデータを元に自系お
よび該当他系CPUに転送して最新のファイル3にする
。この際、最新データ(ファイル3)を持つCPU系が
複数あれば、一番優先順位の低いCPUからデータを入
手し、極力負荷の平均化を図るようにする。
(2) If the other system has the latest data (file 3), it is obtained via the LAN, and based on this data, it is transferred to the CPU of the own system and the corresponding other system to create the latest file 3. At this time, if there are multiple CPU systems that have the latest data (file 3), the data is obtained from the CPU with the lowest priority to try to average the load as much as possible.

以上の処理によって、実行系のCPUに故障が発生して
も、待機系のCPUが属性フラグ(コピー属性およびタ
イムスタンプ)を取り寄せて、最新のファイルに復旧す
るようにしている。
Through the above processing, even if a failure occurs in the active CPU, the standby CPU retrieves the attribute flags (copy attributes and timestamps) and restores the latest file.

尚、待機系に障害が発生した場合には、その待機系を無
視するようにしている。
Note that if a failure occurs in the standby system, the standby system is ignored.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明によれば、ファイル3に属
性フラグ(コピー属性、タイムスタンプ)4を持たせて
コピー属性がオンのCPUのディスク装置1に保存し、
障害が発生した場合に、これら属性フラグ4を参照して
最新のファイル3に復旧する構成を採用しているため、
共通ファイルなどを持−り必要がなく、多重化システム
を容易に構築することができると共に、故障発生時に容
易に最新のファイル(データ)に復旧することができる
As explained above, according to the present invention, the file 3 is given the attribute flag (copy attribute, time stamp) 4 and saved in the disk device 1 of the CPU with the copy attribute on,
If a failure occurs, we use a configuration that refers to these attribute flags 4 and restores to the latest file 3.
There is no need to have a common file, a multiplexed system can be easily constructed, and the latest file (data) can be easily restored in the event of a failure.

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

第1図は本発明の1実施例構成図、第2図は本発明に係
わる実行系故障時の復旧方法を表す。 図中、lはディスク装置、3はファイル、4は属性Fl
ag (コピー属性+タイムスタンプ)を表す。 特許出願人  株式会社ビーエフニー
FIG. 1 is a block diagram of one embodiment of the present invention, and FIG. 2 shows a recovery method in the event of an execution system failure according to the present invention. In the figure, l is a disk device, 3 is a file, and 4 is an attribute Fl.
ag (copy attribute + timestamp). Patent applicant: BFN Co., Ltd.

Claims (1)

【特許請求の範囲】 多重化システムにおけるファイル復旧方式において、 通信路を介して接続された複数のCPUにファイルを保
存する外部記憶装置をそれぞれ持たせ、これら複数のC
PUに対応づけてファイルのコピーの要否を表すコピー
属性および更新した時刻であるタイムスタンプを当該フ
ァイルに持たせ、コピー属性がオンのCPUに対してコ
ピー属性およびタイムスタンプを持たせたファイルを転
送して外部記憶装置に保存させ、いずれかのCPUに障
害が発生した場合などに、コピー属性を参照して同じフ
ァイルを持つCPUから取り寄せたタイムスタンプのう
ちの最新のファイルによって復旧するように構成したこ
とを特徴とする多重化システムのファイル復旧方式。
[Claims] In a file recovery method in a multiplex system, a plurality of CPUs connected via a communication path are each provided with an external storage device for storing files, and these plural CPUs are
The file has a copy attribute indicating whether the file needs to be copied and a timestamp indicating the updated time in association with the PU, and the file with the copy attribute and timestamp is sent to a CPU with the copy attribute on. If a file is transferred and saved to an external storage device, and one of the CPUs fails, the file will be recovered using the latest timestamp obtained from the CPU that has the same file by referring to the copy attribute. A file recovery method for a multiplexed system characterized by the following configuration.
JP63266687A 1988-10-22 1988-10-22 File recovery system for multiple system Pending JPH02113352A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63266687A JPH02113352A (en) 1988-10-22 1988-10-22 File recovery system for multiple system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63266687A JPH02113352A (en) 1988-10-22 1988-10-22 File recovery system for multiple system

Publications (1)

Publication Number Publication Date
JPH02113352A true JPH02113352A (en) 1990-04-25

Family

ID=17434301

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63266687A Pending JPH02113352A (en) 1988-10-22 1988-10-22 File recovery system for multiple system

Country Status (1)

Country Link
JP (1) JPH02113352A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08161272A (en) * 1994-11-30 1996-06-21 Nec Corp Local input/output controlling method in cluster coupled multiprocessor system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08161272A (en) * 1994-11-30 1996-06-21 Nec Corp Local input/output controlling method in cluster coupled multiprocessor system

Similar Documents

Publication Publication Date Title
JP7090744B2 (en) Distributed database cluster system and data synchronization method
Borg et al. Fault tolerance under UNIX
Borg et al. A message system supporting fault tolerance
US6934877B2 (en) Data backup/recovery system
EP0143125A2 (en) Computer system
Haskin et al. Recovery management in QuickSilver
US5157663A (en) Fault tolerant computer system
JP2505928B2 (en) Checkpoint mechanism for fault tolerant systems
JP4204769B2 (en) System and method for handling failover
US5764903A (en) High availability network disk mirroring system
US20140244578A1 (en) Highly available main memory database system, operating method and uses thereof
CA2290289C (en) Cluster node distress signal
US8856091B2 (en) Method and apparatus for sequencing transactions globally in distributed database cluster
Kim Highly available systems for database applications
JP2008059583A (en) Cluster system, method for backing up replica in cluster system, and program product
WO2007028248A1 (en) Method and apparatus for sequencing transactions globally in a distributed database cluster
DE69311797T2 (en) FAULT-TOLERANT COMPUTER SYSTEM WITH DEVICE FOR PROCESSING EXTERNAL EVENTS
EP1209569A1 (en) Data backup/recovery system
US6594735B1 (en) High availability computing system
US6393503B2 (en) Efficient transfer of data and events between processes and between processes and drivers in a parallel, fault tolerant message based operating system
EP0987630A3 (en) Resilience in a multi-computer system
JP5154843B2 (en) Cluster system, computer, and failure recovery method
JPH02113352A (en) File recovery system for multiple system
CN101448028A (en) Method for protecting continuous data, device and system thereof
CN112069160B (en) CAP-based data cleaning synchronization method