JPS58168155A - Recovery system in duplex system - Google Patents

Recovery system in duplex system

Info

Publication number
JPS58168155A
JPS58168155A JP57051594A JP5159482A JPS58168155A JP S58168155 A JPS58168155 A JP S58168155A JP 57051594 A JP57051594 A JP 57051594A JP 5159482 A JP5159482 A JP 5159482A JP S58168155 A JPS58168155 A JP S58168155A
Authority
JP
Japan
Prior art keywords
log
data
file
recovery
stored
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
Application number
JP57051594A
Other languages
Japanese (ja)
Other versions
JPS6221136B2 (en
Inventor
Shigeru Tanaka
茂 田中
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 JP57051594A priority Critical patent/JPS58168155A/en
Publication of JPS58168155A publication Critical patent/JPS58168155A/en
Publication of JPS6221136B2 publication Critical patent/JPS6221136B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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 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)
  • Hardware Redundancy (AREA)
  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To make the recovery of data set easy, by recording career log data on a portable storage medium after revision, and writing a special control log data on a log file after the start and end of the operation. CONSTITUTION:Log environment, job program and resource group are defined in an environment definition file CIRP1. A host computer H performs jobs by using resource groups A, B. The data after revision to the resource groups A, B are stored in a log file LOGP1 as carrier log data after revision. The log file LOGP1 is a file recording recovery data when a failure takes place in the resource groups A, B. Special control log data are written on the log file LOGP1 at the start and end of operation.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は、成る時間帯においてはlシステムとして動作
し、他の時間帯においては2システムとして動作するデ
ユープレックス・システムにおけるリカバリ方式に関す
るものである。
[Detailed Description of the Invention] [Technical Field of the Invention] The present invention relates to a recovery method in a duplex system that operates as one system during certain time periods and as two systems during other time periods. be.

〔従来技術と問題点〕[Conventional technology and problems]

デユープレックス・システムを運用する場合、昼間は1
システムとしてオンライン処理を行わせ、夜間は2シス
テムとし、各システムにそれぞれデータセットvanて
各システムにバッチ処理を行わせることが提案されてい
る。一般に、データセットの更新を行う際には、更新後
履歴ログデータを取得した後にデータセットテム更新ン
行っているが、このような手法を上記のようなデユープ
レックス・システムの運用に適用すると、lシステムの
場合には1個の更新後層!IIaグデータ・ファイルに
更新後ログデータが書込まれ、2システムの場合には各
システムが独自に更新後履歴四グファイルン持ち、対応
する更新後履歴ログデータ・フアイルに更新後履歴ログ
データを書込んでいる。
When operating a duplex system, one
It has been proposed to perform online processing as a system, have two systems at night, and have each system perform batch processing with each data set van. Generally, when updating a dataset, the dataset is updated after acquiring the post-update history log data, but if this method is applied to the operation of the duplex system as described above, , one updated layer in case of l system! Post-update log data is written to the IIa log data file, and in the case of two systems, each system has its own post-update history file and writes post-update history log data to the corresponding post-update history log data file. I'm here.

例えば2システムとじて動作しているとき艦、データセ
ットの異常もしくはデータセマト記銀媒体KIO障讐が
発生し、該当するデータセットtリカバリする場合、先
ずデユーブレマクス・システムのシステム構成Ylシス
テムとしてバックアップ・データファイルおよびlシス
テム時に堆得された更新後履歴ログデータ・ファイルン
用いてリカバリを行い、しかる後にデユーブレマクス・
システムのシステム構成ン2システムとし、各システム
が対応する更新後履歴ログデータ・ファイルY用いてリ
カバリを行うようにすることが必要であった。しかし、
このようなデユーブレマクス・システムにおけるリカバ
リ方式は、リカバリの手続が非常に面倒であるという欠
点を有している。
For example, when two systems are operating together, if an abnormality occurs in the ship, data set, or data storage medium KIO failure, and the corresponding data set is to be recovered, first the system configuration of the Dublemax system and the backup data as the system are recovered. Recovery is performed using the update history log data file that was collected during the file and the system, and then
It was necessary to have a system configuration of two systems, and each system to perform recovery using the corresponding updated history log data file Y. but,
The recovery method in such a deubremax system has the disadvantage that the recovery procedure is extremely troublesome.

〔発明の目的] 本発明は、上記の欠点ン除去するものであって、デユー
ブレマクス・システムにおけるデーター4cvトのリカ
バリY容易に行い得るようにしたデユープレックス・シ
ステムにおけるリカバリ方式を提供することY目的とし
ている・ 〔発明の構成〕 そしてそのため、本発明のデユープレックス・システム
におけるリカバリ方式は。
[Object of the Invention] The present invention eliminates the above-mentioned disadvantages and provides a recovery method for a duplex system that facilitates the recovery of 4CV of data in a duplex system. [Structure of the Invention] Therefore, the recovery method in the duplex system of the present invention is as follows.

た異なるログファイルに格納されるように運用されるデ
ユーブレマクス・システムにおいて、上記各時間帯の開
始時と終了時に正順性ン示jための制御ログデータンロ
グファイ次に格納すると共に、時間帯の員つでログファ
イルの更新後履歴ログデータを持ち運びできる記録媒体
に記録し、データセットのリカバリを行う際、当咳デー
タセットに関連せるVグツアイルもしくは記録媒体V 
IJカバリの入力源とするととytlf/#黴とするも
のである。
In a Dublemux system that is operated so that data is stored in different log files, the control log data is stored in the log file to indicate normal order at the start and end of each time period. When a person records the historical log data on a portable recording medium after updating the log file and performs data set recovery, the user records the historical log data on a portable storage medium after updating the log file, and then records the log data related to the cough data set or the storage medium V.
The input source for IJ recovery is ytlf/# mold.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明vWAmv参照しつつ説明する。 The present invention will be explained below with reference to vWAmv.

第1図ビi、轡はデユープレックス・システムの運用の
、1例Y示す図、第2図は更新後履歴ログデータの堆得
の1fllv示す図である。
FIGS. 1A and 1B are diagrams showing an example of the operation of a duplex system, and FIG. 2 is a diagram showing one example of the collection of updated history log data.

第11i1において、HとH′はホスト計算機、AとB
は資源群、LOGPlとLOGP2とLOGP2″はロ
グファイル、CIRPIとCI RP 2とCI RP
 2’は環境定義ファイルtそれぞれ示している。なお
ログファイルLOGP1.LOGP2およびLOGP2
’はDASD上に構成されている゛。
In the 11i1, H and H' are host computers, A and B
are resource groups, LOGPl, LOGP2, and LOGP2″ are log files, CIRPI, CI RP 2, and CI RP
2' indicates the environment definition file t. Note that the log file LOGP1. LOGP2 and LOGP2
' is configured on DASD.

第11EIビ)は、時間帯PIのときのシステム構成を
示すものである。環境定義ファイルCIRPIには1時
間帯P1におけるログ環境、業務プログラムおよび資源
群などが定義されている0時間帯PIでは図示のように
、ホスト計算機Hが資源群A、Bt用いて業務ン行って
いる。資源群A、Hに対する更新後データは、更新後層
jlaグデータとしてログファイルLOGPIに格納さ
れる。ログファイルは、資源群AとBK障害が発生した
場合のリカバリ用データY記録するファイルである。
The 11th EI B) shows the system configuration at time period PI. The environment definition file CIRPI defines the log environment, business program, resource group, etc. for the 1 time period P1. In the 0 time period PI, as shown in the figure, the host computer H performs business operations using the resource groups A and Bt. There is. The updated data for resource groups A and H are stored in the log file LOGPI as updated layer jlag data. The log file is a file that records data Y for recovery when a resource group A and BK failure occurs.

II1図ρJは、時間帯P2のときのシステム構成を示
すものである。時間帯P2では、デユープレックス・シ
ステムは2個の独立した動作する2システムとして運用
Yしてお・す、ホスト計算機Hは資源群AV用いて業務
Y行っており、ホスト計算機H′は資源群BY用いて業
務Y行っている。資源群AK対する更新後データは、更
新後履歴ログデータとしてログファイルのLOGP2に
格納され。
FIG. II1 ρJ shows the system configuration in time period P2. In time period P2, the duplex system is operating as two systems operating independently. The host computer H is performing business Y using the resource group AV, and the host computer H' is operating the resource group AV. I am doing work Y using group BY. The updated data for resource group AK is stored in LOGP2 of the log file as updated history log data.

資源群BK対する更新後データは、更新後履歴ログデー
タとしてログファイルLOGP2′に書込まれる。第1
図印は日中における資源群AとBY同時に処理するオン
ライン処堺を示しており、第1図p)は、夜間□、にお
ける資源群A、Bごとに分離Yしたデータを入力するバ
雫チ処即を表わしている。
The updated data for the resource group BK is written to the log file LOGP2' as updated history log data. 1st
The symbols in the figure indicate an online processing station that processes resource groups A and BY simultaneously during the day, and Figure 1 p) shows an online processing station that processes data separated by Y for each resource group A and B during the night. It represents the disposition.

第1図ビ)に続いて第1図(ロ)の運用1行った場合に
2けるリカバリ用のログデータは下記のようになる。 
 − 資源群A・・・・・・LOGPI+LOGP2資源群B
・・・・・・LOGP1+LOGP2’第2図は更新後
履歴ログデータ取得の1例を示す図である。第2図にお
いて、BPAとBPBはバックアップ・ファイル、LO
GPI−1とLOGP2−1とLOGPI−2とLOG
P2’−1はログファイル、LOGBPI−1とLOG
BP2−1とLOGBPI−2とLOGBP2’−1は
ログファイルにおケルバックアップ・ファイルンそれぞ
れ示している。なおシステムlはホスト計算機H側のシ
ステムであり、システム2はホスト計算機W側のシステ
ムである。
If operation 1 in Figure 1 (b) is performed following operation 1 in Figure 1 B), the log data for recovery in 2 will be as follows.
- Resource group A...LOGPI+LOGP2 resource group B
...LOGP1+LOGP2' FIG. 2 is a diagram showing an example of acquiring history log data after update. In Figure 2, BPA and BPB are backup files, LO
GPI-1 and LOGP2-1 and LOGPI-2 and LOG
P2'-1 is a log file, LOGBPI-1 and LOG
BP2-1, LOGBPI-2, and LOGBP2'-1 are shown in the log files as backup files, respectively. Note that system 1 is a system on the host computer H side, and system 2 is a system on the host computer W side.

また、ログ7アイ/kLOGP1−1.LOGP2−1
゜LOGPl−2およびLOGP2’−1はDASD上
に構成され、バックアップLOGBPI−1,LOGB
P2−1.LOGBPI−2、およびLOGBP2’−
1は磁気テープ上に構成されている。
Also, log7eye/kLOGP1-1. LOGP2-1
゜LOGPl-2 and LOGP2'-1 are configured on DASD, and backup LOGBPI-1, LOGB
P2-1. LOGBPI-2, and LOGBP2'-
1 is constructed on a magnetic tape.

第1回目の時間NPlの開始時において、資源群へのバ
ックアップ・データが取られバックアップ・ファイルB
PAK格納され、また、資##Bのバックアップデータ
が取られ、バックアップファイルBPHに格納される。
At the start of the first time NPl, backup data to the resource group is taken and backup file B is created.
PAK is stored, and backup data of resource ##B is also taken and stored in backup file BPH.

第1回目の時間帯PIにおける資源群A、Bに対する更
新後データは更新後履歴ログデータとしてログファイk
 LOGP 1−1に格納される。ログファイルLOG
Pl−1の更新後履歴ログデータは、適当なタイミング
、例えば時間帯PIの終了時点でバックアップ・7アイ
ルLOGBPI−IK格納される。バックアップ・ファ
イkLOGBP1−1、LOGBP2−1、・LOGB
PI−2は磁気テープ上に構成される。
The updated data for resource groups A and B in the first time period PI is stored in a log file k as updated history log data.
Stored in LOGP 1-1. Log file LOG
The updated history log data of Pl-1 is stored in the backup 7-aisle LOGBPI-IK at an appropriate timing, for example, at the end of the time period PI. Backup file kLOGBP1-1, LOGBP2-1, LOGB
PI-2 is constructed on magnetic tape.

第1回目の時間帯P2では、資源群Aの更新後データは
更新後ログデータとしてログファイルLOGP2−1に
格納され、資源群BK対する更新後データは更新後履歴
ログデータとしてログファイルLOGP2’−IK格納
される0例えば、時間帯P2の終了時点でログファイル
LOGP2−1の更新後履歴ログデータはバックアップ
LOGBP2−1に格納され、ログファイルLOGP2
’−1の更新後履歴ログデータはバックアップ・ファイ
ルLOGBP2’−IK格納される。
In the first time period P2, the updated data for resource group A is stored as updated log data in log file LOGP2-1, and the updated data for resource group BK is stored as updated history log data in log file LOGP2'-1. IK stored 0 For example, at the end of time period P2, the updated history log data of log file LOGP2-1 is stored in backup LOGBP2-1, and log file LOGP2
The updated history log data '-1 is stored in the backup file LOGBP2'-IK.

第2回目の時間帯P2では、資源群A、Hに対する更新
後データがログファイルPI−2に格納される。例えば
、第2回目の時間帯P2の終了時点でログファイルLO
GPl−2の更新後履歴ログデータはバックアップ[株
]ファイルLOGBPI−2に格納される。
In the second time period P2, the updated data for the resource groups A and H are stored in the log file PI-2. For example, at the end of the second time period P2, the log file LO
The updated history log data of GPL-2 is stored in the backup file LOGBPI-2.

第2図において1時刻i1でユーザ・ファイルに障害が
発生した場合におけるリカバリの入力資源は下記のよう
になる。
In FIG. 2, when a failure occurs in the user file at time i1, the input resources for recovery are as follows.

ファイル人 バックアップBPA+LOGPl−1又はLOGBPI
−1+LOGP2−1又は1,0GBP2−1+LOG
Pl−2又はLOGBPl−2フアイルB バックアップBPB+LOGP1−1又はLOGBPI
−1十LOGP2’−1又はLOGBP2乙l十LOG
Pl−2又はLOGBPI−2各ログフアイル内におい
てはログデータの正順性は保障ンされているが、運用の
切れ目では正順性は保障されていない。そこで、運用の
開始時と終了時に特別の制御ログデ:りを使用者の指示
によってログファイル上に書き出すことが出来るように
する。運用の切れ目での正順性チェックは制御ログデー
タの一致検査により行う、一致しない場合のリカバリの
決定は使用者に委ねる。リカバリはホスト計算機H又は
ホスト計算機H′のいずれか開方のみt使用して行われ
る。
File person backup BPA + LOGPl-1 or LOGBPI
-1+LOGP2-1 or 1,0GBP2-1+LOG
Pl-2 or LOGB Pl-2 file B Backup BPB + LOGP1-1 or LOGBPI
-10LOGP2'-1 or LOGBP210LOG
Although the normal order of log data is guaranteed within each log file of Pl-2 or LOGBPI-2, the normal order is not guaranteed at the end of operation. Therefore, special control log data can be written to a log file at the start and end of operation according to the user's instructions. Correctness is checked at the end of operation by checking the consistency of control log data, and if they do not match, the decision on recovery is left to the user. Recovery is performed using only either host computer H or host computer H'.

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

以上の説明から明らかなように、本発明によれば、各シ
ステムで取得された更新後履歴ログデータを最終的に持
ち運び可能な記録媒体に記録すると共に、運用の開始時
と終了時に%別の制御ログデータ音ログファイル上に書
き出すようにしているので、デユープレックス・システ
ムがたとえ昼間が1システムでオンラインの形態で運用
され、夜間が複数システムによるデータン分担するバッ
チ処理の形態で運用されるような場合においても、デー
タセットのりカバリを容易に行うことが出来る。
As is clear from the above description, according to the present invention, the post-update history log data acquired by each system is finally recorded on a portable recording medium, and the data is recorded by percentage at the start and end of operation. Since the control log data is written to the sound log file, even if a duplex system is operated in an online format with one system during the day, and in a batch processing format where data is shared among multiple systems at night. Even in such cases, data set recovery can be easily performed.

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

第1図げ)、伸)はデユープレックス・システムの運用
の1例を示す図、第2図は更新後履歴ログデータの取得
のINt’示す図である。 HとH′はホスト計算機、AとBは資源群、LOGPI
とLOGP2とLOGP2’はログファイル、CI R
PIとCIRP2とCI RP 2’は環境定義ファイ
ル、BPAとBPBはバックアップ・ファイル、LOG
PI−1とLOGP2−1とLOGPl−2とLOGP
2’−iはログファイル、LOGBPI−1とLOGB
P2−1 とLOGBPl−2とLOGBP2’−1は
ログファイルにオケるバックアップ・ファイル。 特許出願人  富士通株式会社 代理人弁理士  京 谷 四 部 情′ 1 図 (イ〕 うP 1 図(ロ)
Figures 1 and 2 are diagrams showing an example of the operation of a duplex system, and Figure 2 is a diagram showing INt' of acquisition of updated history log data. H and H' are host computers, A and B are resource groups, LOGPI
and LOGP2 and LOGP2' are log files, CI R
PI, CIRP2 and CI RP2' are environment definition files, BPA and BPB are backup files, LOG
PI-1 and LOGP2-1 and LOGP1-2 and LOGP
2'-i are log files, LOGBPI-1 and LOGB
P2-1, LOGBPl-2 and LOGBP2'-1 are backup files that can be used as log files. Patent Applicant: Fujitsu Ltd. Representative Patent Attorney Kyotani Shibujo' 1 Figure (A) Page 1 Figure (B)

Claims (1)

【特許請求の範囲】[Claims] た異なるログファイルに格納されるように運用されるデ
ユープレックス・システムにおいて、上記各時間帯の開
始時と終了時に正順性を示すための制御−ダデーメVロ
グファイルに格納すると共に、時間帯の終りでログファ
イルの更新後履歴ログデータを持ち運びできる記鍮謀体
に記会し、データセットのリカバIJ%−行5III%
轟賦データセットに関連せるログファイルもしくは記鍮
媒体vIJカバリの入力源とするととv4I徽とするデ
ユープレックス・システムにおけるリカバリ方式。
In a duplex system that is operated in such a way that data is stored in different log files, control for indicating normal order at the start and end of each time period is stored in the DADAME V log file, and the time period After updating the log file at the end of the log file, the history log data can be stored in a portable memory and the data set is recovered IJ% - Row 5III%
A recovery method in a duplex system that uses log files or recording media associated with a data set as an input source for V4I recovery.
JP57051594A 1982-03-30 1982-03-30 Recovery system in duplex system Granted JPS58168155A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57051594A JPS58168155A (en) 1982-03-30 1982-03-30 Recovery system in duplex system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57051594A JPS58168155A (en) 1982-03-30 1982-03-30 Recovery system in duplex system

Publications (2)

Publication Number Publication Date
JPS58168155A true JPS58168155A (en) 1983-10-04
JPS6221136B2 JPS6221136B2 (en) 1987-05-11

Family

ID=12891233

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57051594A Granted JPS58168155A (en) 1982-03-30 1982-03-30 Recovery system in duplex system

Country Status (1)

Country Link
JP (1) JPS58168155A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63291139A (en) * 1987-05-22 1988-11-29 Fujitsu Ltd System for collecting processing dynamic information of system
US5522037A (en) * 1993-09-20 1996-05-28 Fujitsu Limited Backup control apparatus and method of data processing system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63291139A (en) * 1987-05-22 1988-11-29 Fujitsu Ltd System for collecting processing dynamic information of 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
JPS6221136B2 (en) 1987-05-11

Similar Documents

Publication Publication Date Title
US20040044642A1 (en) Apparatus, method and program for managing database logs
CN115098299B (en) Backup method, disaster recovery method, device and equipment of virtual machine
CN111290881B (en) Data recovery method, device, equipment and storage medium
US6978354B1 (en) Method for creating a virtual data copy of a volume being restored
JPS58168155A (en) Recovery system in duplex system
JPS62224843A (en) Database medium content maintaining system
US20210303417A1 (en) Method and system for managing backup data
CN109189746B (en) Method, device, equipment and storage medium for realizing universal stream type Shuffle engine
JPH033046A (en) Log record control system
KR950003879B1 (en) System structure and its method to hold disk unit in common
JP2001188690A (en) Computer system and checkpoint information preserving method
JPS58200358A (en) File reprocessing and recovering method on disk base
JPH0290254A (en) Data input/output system
JPH06214856A (en) Data backup system
JPH0259837A (en) Data recovery processing system
JP2002251308A (en) Method for database backup management
JPH039449A (en) Electronic disk subsystem
JP2638451B2 (en) Information processing device
JP2677282B2 (en) File management system
JPS63196959A (en) Saving and restoring system for file
JPH08263349A (en) Data management system
JPH10171694A (en) Data backup method, data backup device, and information recording medium
JPH09244907A (en) Data restoration system
JPS58168165A (en) Recovery system in data base system
JPH0485635A (en) Forward recover/restoration system for data base file