JP2003006011A - Method for taking over journal merge - Google Patents

Method for taking over journal merge

Info

Publication number
JP2003006011A
JP2003006011A JP2001189435A JP2001189435A JP2003006011A JP 2003006011 A JP2003006011 A JP 2003006011A JP 2001189435 A JP2001189435 A JP 2001189435A JP 2001189435 A JP2001189435 A JP 2001189435A JP 2003006011 A JP2003006011 A JP 2003006011A
Authority
JP
Japan
Prior art keywords
journal
data processing
data
processing system
merge
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
JP2001189435A
Other languages
Japanese (ja)
Inventor
Masaru Tsukagoshi
賢 塚越
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2001189435A priority Critical patent/JP2003006011A/en
Publication of JP2003006011A publication Critical patent/JP2003006011A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To obtain continuous results in the following batch works even when transaction processings of a user are performed among a plurality of data processing systems. SOLUTION: The respective journals of processors (a), b are stored in journal data sets 11, 13, both journals are merged in a journal merge part 71 and stored in a data base 14. In the case of switch of control from a data processing system A1 at a transiting origin to a system B2 at a transiting destination, operating environment information and unprocessed journals (for example, the journal of the data processor b) which are not merged are stored in a take-over data set 15, they are transmitted to a take-over data base 25 of the system B2 at the transiting destination, pieces of the operating environment information of systems A, B are combined together, merge between journals of the unprocessed journal and a processor d at the transiting destination corresponding to the processor (a) at the transiting origin is performed and merge of journals of processors c, d at the transiting destination is performed after completion of the unprocessed journal in a journal merge part 81 of the system B2.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、2つのデータ処理
システム間でユーザのトランザクション処理を移行する
運用において複数のそれぞれ対応するデータ処理装置ご
とに取得されたジャーナルの連続性を実現するためのジ
ャーナルマージ引継ぎ方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a journal for realizing continuity of journals acquired for each of a plurality of corresponding data processing devices in an operation of migrating a user's transaction processing between two data processing systems. Regarding the merge takeover method.

【0002】[0002]

【従来の技術】従来、2つのデータ処理システムを切替
えてユーザのトランザクション処理を継続するシステム
は、銀行、証券等の金融オンラインシステムなどで災害
対策を目的に構築されており、データベースを多重化し
て遠隔地に置き、稼動中のデータ処理システムから待機
中のデータ処理システムへデータベースの更新情報を送
信して待機中のデータ処理システムでもほぼ同時にデー
タベースを更新することによりデータベースの更新を常
に同期させておき、稼動中のデータ処理システムが障害
発生時に待機中のデータ処理システムにユーザのトラン
ザクション処理を交代し業務を継続する方式がある。こ
の場合、データ処理システムの交代後は、後工程となる
ユーザ固有のバッチ業務処理(以後、バッチ業務と呼称)
も交代先で実行することになるが、バッチ業務はシステ
ムの交代前後で連続した一連の処理とする必要がある。
しかし、バッチ業務の入力となる各データ処理装置によ
り取得されたジャーナルの一連性を実現する方策はない
ためデータ処理システムは無停止であっても、データ処
理システムの交代によりバッチ業務の一連性が継続でき
ない。
2. Description of the Related Art Conventionally, a system for switching between two data processing systems to continue user transaction processing has been constructed for the purpose of disaster prevention in financial online systems such as banks and securities. It is placed in a remote place and the database update information is sent from the active data processing system to the standby data processing system, and the standby data processing system updates the database almost at the same time so that the database updates are always synchronized. In other words, there is a method in which an active data processing system replaces a user's transaction processing with a standby data processing system when a failure occurs and continues business. In this case, after changing the data processing system, user-specific batch job processing (hereinafter referred to as batch job) that is a post-process
Will also be executed at the replacement destination, but batch work must be a continuous series of processes before and after the system replacement.
However, even if the data processing system is non-stop, there is no way to realize the series of journals acquired by each data processing device that is the input of the batch job. I can't continue.

【0003】[0003]

【発明が解決しようとする課題】従来の技術では、デー
タ処理システム間でオンライントランザクション処理を
移行する場合、移行元は稼動中の全てのデータ処理装置
を停止し、停止が確認された時点で後続する移行先のデ
ータ処理装置を起動させる必要がある。この場合、デー
タ処理システム間のジャーナルマージ処理では異なるシ
ステムで移行できる手段が無いが、後続するバッチ業務
は、マージジャーナルを入力とするので、バッチ業務も
移行先と移行元で連続性を確保することについての記載
はない。本発明の目的は、データ処理システム間でオン
ライントランザクション処理を移行する場合に、移行先
と移行元でバッチ業務の連続性を確保することにある。
In the prior art, when migrating online transaction processing between data processing systems, the migration source stops all the data processing devices that are in operation, and when the stop is confirmed, the subsequent processing is continued. It is necessary to activate the data processing device of the migration destination. In this case, there is no means for migration in a different system in journal merge processing between data processing systems, but since the subsequent batch job uses the merge journal as input, the batch job also ensures continuity between the migration destination and the migration source. There is no description about that. An object of the present invention is to ensure the continuity of batch operations between a migration destination and a migration source when migrating online transaction processing between data processing systems.

【0004】[0004]

【課題を解決するための手段】上記課題を解決するた
め、本発明は、オンライントランザクション処理部と共
用監視部を有する複数のデータ処理装置と、該各データ
処理装置により参照、更新される共用データベースと、
該各データ処理装置が出力するログ情報(以後、ジャー
ナルと呼称)を格納するデータセット(以後、ジャーナ
ルデータセットと呼称)と、該各ジャーナルデータセッ
トからジャーナルを取得し時系列順にマージして出力す
るジャーナルマージ部を有する第1と第2のデータ処理
システムを備え、該第1のデータ処理システムのデータ
ベースの更新情報を第2のデータ処理システムへ転送
し、この更新情報をもとに該第2のデータ処理システム
のデータベースを更新することによりデータ処理システ
ム間でデータベースの内容を常に一致させ、該第1のデ
ータ処理システムのデータ処理装置の停止を契機として
該第2のデータ処理システムにトランザクション処理を
移行することにより異なるデータ処理システム間で連続
したオンライントランザクション処理を行うオンライン
トランザクション処理システムにおけるジャーナルマー
ジ引継ぎ方法であり、第1のデータ処理システムのジャ
ーナルマージ部が稼動する環境情報をデータセット(以
後、引継ぎデータセットと呼称)に格納し、この引継ぎ
データセットの内容を前記トランザクション処理の移行
時に第2のデータ処理システムの引継ぎデータセットへ
転送し、転送完了後に起動する該第2のデータ処理シス
テムのジャーナルマージ部は、転送元と転送先の稼動環
境と刷り合わせを行い、それぞれのデータ処理装置で取
得されたジャーナルを時系列順にマージするようにして
いる。また、第1のデータ処理システムのデータ処理装
置の停止を契機として第2のデータ処理システムにトラ
ンザクション処理を移行するとき、ジャーナルマージ部
でマージされてないジャーナル(以後、未処理ジャーナ
ルと呼称)がいずれかのジャーナルデータセットにある
とき、ジャーナルマージ部により未処理ジャーナルを引
継ぎデータセットに格納し、この引継ぎデータセットの
内容をトランザクション処理の移行時に第2のデータ処
理システムの引継ぎデータセットへ転送し、第2のデー
タ処理システムの起動後、第2のデータ処理システムの
ジャーナルマージ部は、未処理ジャーナルを出力してい
ない方の第1のデータ処理システムのデータ処理装置の
トランザクション処理を引き継いでいる第2のデータ処
理システムのデータ処理装置が出力するジャーナルと、
引継ぎデータセットに転送された未処理ジャーナルを入
力してマージし、未処理ジャーナルの入力終了後、未処
理ジャーナルを出力していない方の第1のデータ処理シ
ステムのデータ処理装置のトランザクション処理を引き
継いでいる第2のデータ処理システムのデータ処理装置
が出力するジャーナルと、未処理ジャーナルを出力して
いる方の第1のデータ処理システムのデータ処理装置の
トランザクション処理を引き継いでいる第2のデータ処
理システムのデータ処理装置が出力するジャーナルを入
力してマージするようにしている。
In order to solve the above problems, the present invention provides a plurality of data processing devices having an online transaction processing unit and a shared monitoring unit, and a shared database referred to and updated by each of the data processing devices. When,
A data set (hereinafter referred to as a journal data set) that stores log information (hereinafter referred to as a journal) output by each data processing device, and a journal is acquired from each journal data set and merged and output in chronological order And a second data processing system having a journal merging unit for transferring the update information of the database of the first data processing system to the second data processing system, and based on this update information, the first data processing system is transferred to the second data processing system. By updating the database of the second data processing system, the contents of the database are always matched between the data processing systems, and the transaction to the second data processing system is triggered by the stop of the data processing device of the first data processing system. By transferring processing, continuous online transactions between different data processing systems are possible. This is a journal merge takeover method in an online transaction processing system that performs transaction processing, in which environment information for operating the journal merge section of the first data processing system is stored in a dataset (hereinafter referred to as a takeover dataset) The contents of the set are transferred to the takeover data set of the second data processing system at the time of the transition of the transaction processing, and the journal merge unit of the second data processing system activated after the transfer is completed is the operating environment of the transfer source and the transfer destination. The journals acquired by the respective data processing devices are merged in chronological order. Further, when the transaction processing is transferred to the second data processing system triggered by the stop of the data processing device of the first data processing system, a journal that has not been merged by the journal merge unit (hereinafter referred to as an unprocessed journal) If there is any journal data set, the journal merge unit stores the unprocessed journal in the takeover data set, and the contents of this takeover data set are transferred to the takeover data set of the second data processing system at the time of transaction processing transition. After the activation of the second data processing system, the journal merging unit of the second data processing system takes over the transaction processing of the data processing device of the first data processing system which has not output the unprocessed journal. Data processing of the second data processing system And the journal that location is output,
After inputting the unprocessed journal transferred to the takeover data set and merging, the transaction processing of the data processing unit of the first data processing system that has not output the unprocessed journal is taken over after the input of the unprocessed journal is completed. The second data processing that inherits the transaction processing of the data processing apparatus of the second data processing system that is output and the transaction processing of the data processing apparatus of the first data processing system that outputs the unprocessed journal The journal output by the data processor of the system is input and merged.

【0005】[0005]

【発明の実施の形態】まず、本発明について、その概略
的説明を図5を参照して行う。図5について説明する前
に図4について説明する。図4は、従来のデータ処理シ
ステム間でのオンライントランザクション処理の移行を
概略的に示す。移行元のシステムAは稼動中の全てのデ
ータ処理装置a、bを停止し、停止が確認された時点で
後続する移行先のシステムBのデータ処理装置c、dを
起動させる。この場合、移行元のシステムAでのジャー
ナルマージ処理で処理されなかったデータ処理装置aま
たはbのジャーナルが有った場合、移行元のシステムA
から移行先のシステムBへ、この処理されなかったジャ
ーナルを移すことはしていない。このため、移行元と移
行先のマージジャーナルには連続性がなく、マージジャ
ーナルを入力とする移行元と移行先のバッジ業務にも連
続性がなくなる。
DESCRIPTION OF THE PREFERRED EMBODIMENTS First, the present invention will be outlined with reference to FIG. Before explaining FIG. 5, FIG. 4 will be described. FIG. 4 schematically illustrates the migration of online transaction processing between conventional data processing systems. The source system A stops all the operating data processing devices a and b, and when the stop is confirmed, the subsequent data processing devices c and d of the target system B are activated. In this case, if there is a journal of the data processing device a or b that has not been processed in the journal merge process in the migration source system A, the migration source system A
Does not transfer the unprocessed journal from the system B to the transfer destination system B. For this reason, there is no continuity between the migration source and the migration destination merge journal, and there is also no continuity between the migration source and migration destination badge operations that use the merge journal as an input.

【0006】次に、図5について説明する。データ処理
システム(システムA)では、複数のデータ処理装置a、
bが稼動しているためデータ処理装置xのジャーナルマ
ージ処理はa、bのジャーナルを入力する(5-1)。デー
タ処理システムを移行する場合、移行元の複数のデータ
処理装置a、bうち1系統aが停止したらデータ処理装
置aの稼動環境情報を移行先へ引継ぐため転送元引継ぎ
データセットに格納する。停止した移行元のデータ処理
装置a以外のデータ処理装置bでジャーナルマージ処理
が行われていない未処理のジャーナルが残っている場
合、前記の引継ぎデータセット及び未処理ジャーナルを
移行先へ引継ぐため引継ぎデータセットに格納する(5-
2)。移行元の全てのデータ処理装置が停止し、移行元の
未処理のジャーナルの格納が終了後、データ処理装置x
のジャーナルマージ処理は停止する。その後、データ処
理装置xは引継ぎデータセット(未処理ジャーナルが有
る場合は、これを含む)を別個に移行先の転送先引継ぎ
データセットへデータ送信処理し、移行先のデータ処理
装置yは、データ受信処理により、転送先引継ぎデータ
セットに引継ぎデータセット、及び未処理ジャーナルを
格納する。(5-3)。
Next, FIG. 5 will be described. In the data processing system (system A), a plurality of data processing devices a,
Since b is operating, the journal merge processing of the data processing device x inputs the journals a and b (5-1). When migrating the data processing system, if one system a of the plurality of data processing devices a and b of the migration source is stopped, the operating environment information of the data processing device a is stored in the transfer source takeover data set to be inherited to the migration destination. If there is an unprocessed journal that has not been subjected to journal merge processing in the data processing device b other than the stopped migration source data processing device a, it is taken over to take over the above-mentioned takeover data set and unprocessed journal to the migration destination. Store in dataset (5-
2). After all the data processing devices of the migration source have stopped and the unprocessed journals of the migration source have been stored, the data processing device x
The journal merge process of is stopped. Thereafter, the data processing device x separately processes the takeover data set (including the unprocessed journal, if any) to the transfer destination takeover data set of the migration destination, and the data processing device y of the migration destination performs the data transmission process. By the receiving process, the transfer data set and the unprocessed journal are stored in the transfer destination transfer data set. (5-3).

【0007】データ処理装置yのジャーナルマージ処理
は、移行先より引継ぎデータセットのデータ転送が完了
後起動し、引継ぎデータセットよりの情報をもとに移行
元のデータ処理装置a、bから取得したジャーナルと対
応する移行先のデータ処理装置c、dから取得したジャ
ーナルが一連のものであるように設定の刷り合わせを行
う。移行元で未処理のジャーナルがある場合、移行元の
停止中データ処理装置bに対応する移行先のデータ処理
装置dの稼動環境情報を切替えて、引継ぎデータセット
から未処理ジャーナルを入力し、データ処理装置cのジ
ャーナルとのジャーナルマージ処理を続ける(5-4)。未
処理ジャーナルが終了すると、システムA側のジャーナ
ルはすべて入力したことになるため、未処理ジャーナル
からの入力を停止し、システムBのデータ処理装置cよ
りのジャーナルを入力する。(5-5) データ処理装置cより入力したジャーナルにより、対応
する移行先のデータ処理装置dのジャーナルを検出する
と、稼動環境情報をデータ処理装置dに切替えてジャー
ナルを入力しジャーナルマージ処理を続けることにより
達成する(5-6)。
The journal merge process of the data processing device y is started after the data transfer of the takeover data set from the migration destination is completed, and is acquired from the data processing devices a and b of the migration source based on the information from the takeover data set. The settings are reprinted so that the journals acquired from the data processing devices c and d of the transfer destination corresponding to the journals are a series. If there is an unprocessed journal at the migration source, the operating environment information of the migration-destination data processing device d corresponding to the migration-source stopped data processing device b is switched, and the unprocessed journal is input from the takeover data set. The journal merge processing with the journal of the processing device c is continued (5-4). When the unprocessed journal ends, all the journals on the system A side have been input, so the input from the unprocessed journal is stopped and the journal from the data processing device c of system B is input. (5-5) When the journal of the corresponding migration destination data processing device d is detected by the journal input from the data processing device c, the operating environment information is switched to the data processing device d and the journal is input to continue the journal merge process. Achieve by (5-6).

【0008】次に、実施例を図1、図2、図3により説
明する。図1は、異なるデータ処理システム間でジャー
ナルをマージするジャーナルマージ引継ぎ方式を示す実
施例である。移行元のデータ処理システムA(1)と移行
先のデータ処理システムB(2)とによりオンライントラ
ンザクション処理システムが構成される。移行元のデー
タ処理システムA(1)は、それぞれオンライントランザ
クション処理部(32,42)、及びオンライン共用監視部(3
1,41)よりなる2つのデータ処理装置a、b(3,4)と、
ジャーナルマージ部(71)、及びデータ転送送信部(72)よ
りなるデータ処理装置x(7)より構成される。オンライ
ン共用監視部(31,41)は、モニターデータセット(10)を
介して複数のオンライントランザクション処理部(32,4
2)で処理したトランザクションの時系列を監視し、処理
済みトランザクションのデータ処理装置a、b間での相
対的な時系列順序を確定後、該当するトランザクション
の時系列情報としてをオンライントランザクション処理
部(32,42)に返す。オンライントランザクション処理部
(32,42)は、処理済みトランザクションの時系列情報を
ジャーナルに付加してデータ処理装置a、b(3,4)のオ
ンラインジャーナルデータセット(11,13)へそれぞれ出
力する。また、オンライン共用監視部(31,41)は、複数
のオンライントランザクション処理部(32,42)が、共用
データベース(12)をアクセスする場合の排他処理を行う
ためのロック情報を管理する。なお、複数のデータ処理
装置が、ブロック単位に排他制御を行いながら共用デー
タ資源(共用データベース)をアクセスする方式として
は、例えば、特開昭57-64850号公報、及び特開昭57-648
61号公報に示されるように、複数のホストコンピュータ
間を通信装置で結合し、ロック情報をやり取りするもの
が知られているので、排他制御に関する説明は省略す
る。
Next, an embodiment will be described with reference to FIGS. 1, 2 and 3. FIG. 1 is an embodiment showing a journal merge takeover method for merging journals between different data processing systems. The migration source data processing system A (1) and the migration destination data processing system B (2) constitute an online transaction processing system. The data processing system A (1) of the migration source has an online transaction processing unit (32, 42) and an online shared monitoring unit (3), respectively.
Two data processing devices a, b (3, 4) consisting of 1, 41),
It is composed of a data processing device x (7) including a journal merge section (71) and a data transfer transmission section (72). The online shared monitoring unit (31, 41) is connected to a plurality of online transaction processing units (32, 4) via the monitor data set (10).
After observing the time series of the transactions processed in 2) and establishing the relative time series order of the processed transactions between the data processing devices a and b, the online transaction processing unit ( 32, 42). Online transaction processing unit
(32, 42) adds the time-series information of the processed transaction to the journal and outputs it to the online journal data sets (11, 13) of the data processing devices a, b (3, 4), respectively. Further, the online sharing monitoring section (31, 41) manages lock information for performing exclusive processing when the plurality of online transaction processing sections (32, 42) access the shared database (12). A method in which a plurality of data processing devices access a shared data resource (shared database) while performing exclusive control in block units is disclosed in, for example, Japanese Patent Laid-Open No. 57-64850 and Japanese Patent Laid-Open No. 57-648.
As disclosed in Japanese Patent Laid-Open No. 61-61, it is known that a plurality of host computers are connected by a communication device to exchange lock information, and a description of exclusive control will be omitted.

【0009】ジャーナルマージ部(71)は、データ処理装
置a、b(3,4)が出力したオンラインジャーナルデータ
セット(11,13)のジャーナルを入力しジャーナル中の時
系列情報を元にしてトランザクション単位にジャーナル
をマージし、マージ結果をマージジャーナルデータセッ
ト(14)に出力する。複数のデータ処理装置間でデータベ
ースを共用したシステムが取得したジャーナルをマージ
する処理の方式としては特開昭63-201846公報が知られ
ているのでマージ処理方式に関する説明は省略する。マ
ージジャーナルデータセット(14)に取得されたマージジ
ャーナルは、後工程にて情報系の業務処理等、ユーザ固
有のバッチ業務処理の入力情報となる。また、共用デー
タベースが破損した際のデータベース回復処理にも利用
される。引継ぎデータセット(15)は、ジャーナルマージ
部(71)が稼動するデータ処理システムA(1)の環境情報
を移行先へ連絡するため、移行作業用の環境情報を格納
する。
The journal merging unit (71) inputs the journals of the online journal data sets (11, 13) output by the data processing devices a, b (3, 4) and makes transactions based on the time series information in the journals. Merge journals in units and output the merged result to merge journal data set (14). JP-A-63-201846 is known as a method of merging journals acquired by a system in which a database is shared by a plurality of data processing devices, and therefore a description of the merge processing method will be omitted. The merge journal acquired in the merge journal data set (14) becomes input information for user-specific batch business processing, such as information system business processing, in a subsequent process. It is also used for database recovery processing when the shared database is damaged. The takeover data set (15) stores the environmental information for the migration work in order to notify the migration destination of the environmental information of the data processing system A (1) in which the journal merge section (71) operates.

【0010】図9に引継ぎデータセットのフォーマット
を示す。引継ぎデータセットは引継ぎ情報と未処理ジャ
ーナルにより構成されるが未処理ジャーナルは他のデー
タセットに格納する場合も考えられるので無い場合もあ
る。引継ぎ情報に格納する移行作業用の環境情報は、デ
ータ処理装置数(9-1)、データ処理装置識別ID(9-2)、デ
ータ処理装置構成情報(9-3-1〜9-3-n)、ジャーナルマー
ジ部引継ぎ情報(9-4)で構成する。データ処理装置数(9-
1)は移行元のデータ処理システムを構成しデータベース
を共用する設定を行ったデータ処理装置の数を格納す
る。データ処理装置識別ID(9-2)は、移行元のデータ処
理装置に設定した識別情報であり、各データ処理装置の
オンライン共用監視部に設定した順番に格納する。デー
タ処理装置のオンライン構成情報(9-3-1〜9-3-n)は、シ
ステムの移行に必要な各データ処理装置のオンライン構
成情報であり、移行先のジャーナルマージ部はこの情報
によりオンライン構成の確認と刷り合わせを行う。デー
タ処理装置構成情報の格納順序は、データ処理装置識別
IDの順番と一致する。ジャーナルマージ部引継ぎ情報(9
-4)は、ジャーナルマージ部の動作状態を移行先のジャ
ーナルマージ部で再現するための稼動環境情報を格納す
る。未処理ジャーナルにより構成されるが未処理ジャー
ナルを格納するための未処理ジャーナル用の他のデータ
セットが備えられていない場合には、引継ぎデータセッ
トに未処理ジャーナルが格納される。
FIG. 9 shows the format of the takeover data set. The takeover data set is composed of takeover information and an unprocessed journal, but the unprocessed journal may not be stored in another data set and may not exist. The environment information for migration work stored in the takeover information includes the number of data processing devices (9-1), data processing device identification ID (9-2), and data processing device configuration information (9-3-1 to 9-3- n), the journal merge section takeover information (9-4). Number of data processing devices (9-
1) stores the number of data processing devices that configure the migration source data processing system and are set to share the database. The data processing device identification ID (9-2) is identification information set in the migration source data processing device, and is stored in the order set in the online shared monitoring unit of each data processing device. The online configuration information of the data processing device (9-3-1 to 9-3-n) is the online configuration information of each data processing device required for system migration, and the migration destination journal merge section can Check the composition and reprint. The storage order of the data processing device configuration information is the data processing device identification.
Match the order of IDs. Journal merge section takeover information (9
-4) stores operating environment information for reproducing the operation state of the journal merge unit in the migration destination journal merge unit. The unprocessed journal is stored in the takeover data set if the unprocessed journal is not provided with another data set for the unprocessed journal for storing the unprocessed journal.

【0011】移行先のデータ処理システムB(2)は、移
行元のデータ処理システムA(1)と等価でありデータ処
理装置c、d(5,6)のオンライントランザクション処理
部(52,62)、及びオンライン共用監視部(51,61)と、ジ
ャーナルマージ部(81)、及びデータ転送受信部(82)より
なるデータ処理装置y(8)より構成され、それぞれのオ
ンライントランザクション処理部では共用データベース
(22)にアクセスを行い結果をジャーナルとして記録しオ
ンラインジャーナルデータセット(21,23)へ出力する。
ジャーナルマージ部(81)は、オンラインジャーナルデー
タセット(21,23)のジャーナルを入力しマージ結果をマ
ージジャーナルデータセット(24)に出力する。また、ジ
ャーナルマージ部(81)は移行元の環境情報を引継ぎデー
タセット(25)より入力する。
The data processing system B (2) of the migration destination is equivalent to the data processing system A (1) of the migration source, and the online transaction processing units (52, 62) of the data processing devices c, d (5, 6). , And an online shared monitoring unit (51, 61), a journal merge unit (81), and a data transfer receiving unit (82), and a data processing device y (8). Each online transaction processing unit has a shared database.
Access (22), record the result as a journal, and output it to the online journal dataset (21, 23).
The journal merge unit (81) inputs the journals of the online journal datasets (21, 23) and outputs the merge result to the merge journal dataset (24). Further, the journal merge section (81) inputs the migration source environment information from the takeover data set (25).

【0012】移行元のデータ処理システムA(1)が稼動
中は、移行先のデータ処理システムB(2)をバックアッ
プシステムとして稼動させ共用データベース(22)に対し
て移行元と同じ更新を行う。このため、移行元の共用デ
ータベース(12)が更新されるとデータベース更新情報送
信部(33,43)により更新内容を反映情報として移行先へ
送信し反映情報を移行先のデータベース更新情報受信部
(53,63)で受信すると更新内容を移行先のバックアップ
システムでデータベースに反映する。バックアップシス
テムは、データ処理装置(5,6)のオンライントランザク
ション処理部(52,62)によりデータベース更新情報受信
部(53,63)により反映情報を受信するとデータベースの
更新トランザクションを起動して共用データベース(22)
を更新することにより実現する。ただし、移行元稼動時
のバックアップ制御方式は本特許の論旨ではないので詳
細は省略する。
When the data processing system A (1) of the migration source is in operation, the data processing system B (2) of the migration destination is operated as a backup system to update the shared database (22) the same as the migration source. Therefore, when the migration source shared database (12) is updated, the database update information transmission unit (33, 43) transmits the updated content to the migration destination as reflection information and the reflection information is transmitted to the migration destination database update information reception unit.
When received at (53, 63), the updated contents are reflected in the database at the backup system at the migration destination. The backup system activates the database update transaction when the online transaction processor (52, 62) of the data processor (5, 6) receives the reflection information by the database update information receiver (53, 63), and the shared database ( twenty two)
It is realized by updating. However, the backup control method at the time of operation of the migration source is not the subject of this patent, and thus its details are omitted.

【0013】移行元データ処理システムA(1)を終了し
移行先データ処理システムB(2)へ制御を切替える場
合、移行元のジャーナルマージ部(71)の終了時に稼動環
境情報を引継ぎデータセット(15)に格納するように予め
指示する必要がある。稼動環境情報は、ジャーナルマー
ジ処理を継続するために必要な移行元の各データ処理装
置a,b(3,4)の構成定義情報とジャーナルマージ部(7
1)の状態情報で構成される。ジャーナルマージ部(71)
は、入力したジャーナルのファイル終端情報によりオン
ライントランザクション処理部(32,42)の停止を検知す
る必要があるためデータ処理装置a,b(3,4)が実際に
停止する以前にデータ処理システム移行を指示する必要
がある。データ処理システムの移行をジャーナルマージ
部(71)に指示する方法の例を以下に示す。データ処理装
置a,b(3,4)が実際に停止する以前にデータ処理シス
テム移行コマンドをデータ処理装置x(7)のシステムコ
ンソール装置よりジャーナルマージ部(71)に投入し、オ
ンライントランザクション処理部(32,42)の停止を検知
したらデータ処理システム移行を開始する方式。ジャー
ナルマージ部(71)を起動する前にデータ処理システムの
移行を行うことが判っている場合、ジャーナルマージ部
の起動と処理方式を指示する制御文によりデータ処理シ
ステム移行を指定する方式。オンライントランザクショ
ン処理部(32,42)に対してジャーナルマージ部のデータ
処理システム間の移行を指示するコマンドを投入し、ジ
ャーナルの情報としてオンラインジャーナルデータセッ
トに格納し、このジャーナルをジャーナルマージ部が入
力する事によりデータ処理システム移行を指示する方式
がある。
When the migration source data processing system A (1) is terminated and control is switched to the migration destination data processing system B (2), the operating environment information is taken over by the inherited data set ( It is necessary to instruct in advance to store it in 15). The operating environment information includes the configuration definition information of each of the data processing devices a, b (3, 4) of the migration source, which is necessary for continuing the journal merge process, and the journal merge unit (7
It is composed of the status information of 1). Journal merge department (71)
Is required to detect the stop of the online transaction processing unit (32, 42) by the input file end information of the journal, so that the data processing system shifts before the data processing devices a, b (3, 4) actually stop. Need to tell. An example of a method of instructing the journal merge unit (71) to shift the data processing system is shown below. Before the data processing devices a, b (3, 4) actually stop, the data processing system migration command is input from the system console device of the data processing device x (7) to the journal merge unit (71) to make the online transaction processing unit. A method that starts the data processing system migration when the stop of (32, 42) is detected. When it is known that the data processing system is to be migrated before the journal merge unit (71) is started, a method for designating the data processing system transfer by a control statement instructing the start and processing method of the journal merge unit. A command is issued to the online transaction processing part (32, 42) to instruct the migration between the data processing systems of the journal merge part, it is stored in the online journal data set as journal information, and this journal is input by the journal merge part. There is a method of instructing the data processing system migration by doing so.

【0014】図6にデータ処理システム移行元の終了処
理についてのフローチャートを示す。移行元のジャーナ
ルマージ部がデータ処理システム移行を指示され、移行
元のオンライントランザクション処理部が停止してか
ら、移行先データ処理システムの対応するオンライント
ランザクション処理部でトランザクションを処理する場
合(図1)、ジャーナル入力(6-1)を行い、その結果ジャ
ーナルの終端判定(6-2)で、終端を検知していなければ
入力したジャーナルをマージ処理(6-3)し、マージ結果
をマージジャーナルデータセットに出力(6-4)して次の
ジャーナルを入力(6-1)する。ジャーナルの終端判定(6-
2)で、ジャーナルの終端を検知した場合、オンライント
ランザクション部は既に停止しているのでジャーナルマ
ージのデータ処理システム間で移行する指示(6-5)が有
ったか判定を行い、移行の指示がなければジャーナルの
終端を検知したオンラインジャーナルデータセットより
の入力を停止(6-6)して、他のデータ処理装置のオンラ
インジャーナルデータセットより次のジャーナルを入力
(6-1)する。ジャーナルマージ部をデータ処理システム
間で移行する指示(6-5)があったら、ジャーナルマージ
の稼動環境情報を引継ぎデータセットに格納(6-7)し、
全てのオンラインジャーナルデータセットで終端を検知
(6-8)したか確認する。未入力のジャーナルがある場
合、オンラインジャーナルデータセットの終端に達して
いないので未処理ジャーナルの出力を行うため、オンラ
インジャーナルデータセット(図の場合、データ処理装
置bのオンラインジャーナルデータセットとしている)
のジャーナルを入力(6-9)する。この、ジャーナル入力
(6-9)でも終端を検知(6-10)したか判定し、ジャーナル
の終端を検知していなければ未処理ジャーナルを転送元
引継ぎデータセットに出.力(6-11)する。ジャーナルの
終端を検知した場合は、そのデータセットよりの入力を
停止(6-12)して他のデータ処理装置のオンラインジャー
ナルデータセットより次のジャーナルを入力(6-9)を続
ける。全てのオンラインジャーナルデータセットで終端
を検知(6-8)した場合、データ転送送信部の起動(6-13)
を指示してジャーナルマージ部を停止(6-14)する。
FIG. 6 shows a flowchart of the ending process of the data processing system transfer source. When the journal merge unit of the migration source is instructed to migrate the data processing system and the online transaction processing unit of the migration source stops, and then the transaction is processed by the corresponding online transaction processing unit of the migration destination data processing system (Fig. 1) Enter the journal (6-1), and as a result, if the end of the journal is judged (6-2) and the end is not detected, the input journal is merged (6-3) and the merge result is merged journal data. Output (6-4) to the set and input (6-1) the next journal. Journal end judgment (6-
If the end of the journal is detected in 2), the online transaction part has already stopped, so it is judged whether there is an instruction (6-5) to transfer between the journal merge data processing systems, and the transfer instruction is issued. If not, stop the input from the online journal data set that detected the end of the journal (6-6) and input the next journal from the online journal data set of another data processing device.
Do (6-1). If there is an instruction (6-5) to migrate the journal merge section between data processing systems, store the journal merge operating environment information in the takeover data set (6-7),
Detect end of all online journal datasets
(6-8) Check if you did. If there is a journal that has not been input, the unprocessed journal is output because the end of the online journal data set has not been reached, so the online journal data set (in the figure, it is the online journal data set of the data processing device b).
Enter the journal of (6-9). This, journal input
Also in (6-9), it is judged whether the end is detected (6-10). If the end of the journal is not detected, an unprocessed journal is output to the transfer source takeover data set. Power (6-11). When the end of the journal is detected, the input from that data set is stopped (6-12) and the next journal is input (6-9) from the online journal data set of another data processing device. When the end is detected in all online journal data sets (6-8), the data transfer transmission unit is started (6-13)
To stop the journal merge section (6-14).

【0015】図7にデータ転送送信部のフローチャート
を示す。移行元のジャーナルマージ部でデータ転送送信
部が起動されると、初期化処理(7-1)を行い回線を確立
(7-2)し、移行先のデータ転送受信部を起動(7-3)する。
引継ぎデータセットの内容を移行先の引継ぎデータセッ
トへデータ転送するため、引継ぎデータセットから引継
ぎ情報を入力(7-4)し、データセットの終了を検知(7-5)
するまで送信(7-6)を行う。引継ぎ情報を送信し終えた
ら未処理ジャーナルがあるか確認(7-7)して、未処理ジ
ャーナルがあれば送信先を確認(7-8)後、引継ぎデータ
セットから未処理ジャーナルを入力(7-9)し、データセ
ットの終了を検知(7-10)するまで送信(7-11)を行う。引
継ぎデータセットの未処理ジャーナルの終端を検知(7-1
0)したか、又は未処理ジャーナルがない(7-7)場合、回
線を切断(7-12)して終了処理(7-13)を行いデータ転送を
終わる。
FIG. 7 shows a flowchart of the data transfer / transmission unit. When the data transfer / transmission unit is activated in the migration source journal merge unit, initialization processing (7-1) is performed to establish a line.
Then, (7-2), and the data transfer receiving unit of the migration destination is activated (7-3).
In order to transfer the contents of the takeover data set to the destination takeover data set, input the takeover information from the takeover data set (7-4) and detect the end of the data set (7-5)
Send (7-6) until you do. After sending the takeover information, check whether there is an unprocessed journal (7-7), and if there is an unprocessed journal, check the destination (7-8), and then enter the unprocessed journal from the taken over data set (7 -9) and transmit (7-11) until the end of the data set is detected (7-10). Detects the end of unprocessed journals in the takeover data set (7-1
If 0) or there is no unprocessed journal (7-7), the line is disconnected (7-12) and the termination processing (7-13) is performed to end the data transfer.

【0016】移行先データ処理システムのジャーナルマ
ージ部は、移行元より引継ぎデータセットのデータ転送
が行われて移行先の引継ぎデータセットに格納され、デ
ータ転送が完了後、データ転送受信部により起動し、引
継ぎデータセットより稼動環境情報を読込み、移行先の
稼動中のオンライントランザクション処理部から取得し
た稼動環境情報と突合せを行う。移行元のオンライン共
用監視部の定義順と移行先のオンライン共用監視部の定
義順が一致するように刷り合わせてジャーナルを継続す
るオンライントランザクション処理部を決定する。例え
ば、データ処理システムA(1)でオンライン共用監視部
(31,41)の定義順がデータ処理装置a(3)、データ処理
装置b(4)の順番であり、データ処理システムB(2)のオ
ンライン共用監視部(61,51)の定義順がデータ処理装置
d(6)、データ処理装置c(5)の順番であればデータ処理
装置a(3)をデータ処理装置d(6)へ、及びデータ処理装
置b(4)をデータ処理装置c(5)が対応するオンラインで
あると認識する。
The journal merging unit of the migration destination data processing system is transferred from the migration source to the data of the inherited data set and stored in the inherited data set of the migration destination, and is activated by the data transfer receiving unit after the data transfer is completed. , Read the operating environment information from the takeover data set, and compare it with the operating environment information acquired from the online transaction processing unit in operation at the migration destination. The online transaction processing unit that continues the journal is determined by imprinting so that the definition order of the migration source online sharing monitoring unit and the definition order of the migration destination online sharing monitoring unit match. For example, in the data processing system A (1), the online shared monitoring unit
The definition order of (31, 41) is the order of the data processing device a (3) and the data processing device b (4), and the definition order of the online shared monitoring unit (61, 51) of the data processing system B (2) is In the order of the data processing device d (6) and the data processing device c (5), the data processing device a (3) is replaced by the data processing device d (6) and the data processing device b (4) is replaced by the data processing device c. Recognize that (5) is the corresponding online.

【0017】図8にデータ処理システム移行先ジャーナ
ルマージ部の開始処理についてのフローチャートを示
す。移行先のデータ処理システムで移行元よりジャーナ
ルマージ処理を継続する運用では、引継ぎデータセット
に転送されている移行元ジャーナルマージ部の引継ぎ情
報があるか確認(8-1)する。引継ぎ情報がないか、又は
ジャーナルマージ処理起動の制御文で引継ぎデータセッ
トが指定されていない場合は、最初のジャーナルマージ
処理であると認識し初回マージ処理(8-2)を行いすべて
の環境情報を初期化する。引継ぎデータセットが指定さ
れ引継ぎ情報がある場合は、引継ぎ情報を入力(8-3)す
る。移行元のオンライントランザクション処理部に対応
する移行先のオンライントランザクション処理部が稼動
中でジャーナルが取得されているか確認(8-4)し、引継
ぎデータセットより入力した移行元のオンライントラン
ザクション処理部に対応する移行先のオンライントラン
ザクション処理部の稼動情報を刷り合わせる(8-5)。引
継ぎデータセットに移行元の未処理ジャーナルがあるか
確認(8-6)し、未処理ジャーナルがない場合、開始処理
を終了する。この後は、移行先のオンライントランザク
ション処理部より取得したジャーナルでマージ処理を継
続する。
FIG. 8 shows a flowchart of the start processing of the data processing system migration destination journal merge section. In the operation of continuing the journal merge processing from the migration source in the migration destination data processing system, it is confirmed whether there is the handover information of the migration source journal merge part transferred to the handover data set (8-1). If there is no takeover information or no takeover data set is specified in the control statement for activating the journal merge process, it is recognized as the first journal merge process and the first merge process (8-2) is performed and all the environmental information To initialize. If the takeover data set is specified and there is takeover information, enter the takeover information (8-3). Corresponds to the online transaction processing part of the migration source The online transaction processing part of the migration destination corresponds to the online transaction processing part of the migration source input from the takeover data set (8-4). Print the operation information of the online transaction processing part of the migration destination (8-5). Check whether there is an unprocessed journal of the migration source in the takeover data set (8-6). If there is no unprocessed journal, start processing ends. After that, the merge processing is continued with the journal acquired from the migration destination online transaction processing unit.

【0018】移行元の未処理ジャーナル確認(8-6)で未
処理ジャーナルがある場合、引継ぎデータセットに転送
されている未処理ジャーナルを入力(8-7)する。未処理
ジャーナルの入力においてデータの終了、又は未処理ジ
ャーナルの終端を検知(8-8)した場合は、移行元のオン
ライントランザクション処理が停止したと認識し、該当
するオンライントランザクション処理よりの未処理ジャ
ーナル入力を停止(8-9)し、対応する移行先のオンライ
ントランザクション処理部を確認し、稼動環境情報を刷
合わせて移行先オンライントランザクション処理のジャ
ーナルが入力できるように設定(8-10)して開始処理を終
了する。
If there is an unprocessed journal in the migration source unprocessed journal confirmation (8-6), the unprocessed journal transferred to the takeover data set is input (8-7). When the end of the data or the end of the unprocessed journal is detected in the input of the unprocessed journal (8-8), it is recognized that the online transaction process of the migration source has stopped and the unprocessed journal from the corresponding online transaction process Stop the input (8-9), check the corresponding online transaction processing part of the migration destination, collate the operating environment information and set it so that the journal of the migration destination online transaction processing can be input (8-10). The start process ends.

【0019】未処理ジャーナルの終端を検知(8-8)せ
ず、未処理ジャーナルを正常に入力(8-8)した場合、マ
ージする移行先の稼動中オンライントランザクション処
理で取得したジャーナルを稼動中処理装置のジャーナル
データセットから入力(8-11)する。稼動中オンライント
ランザクション処理で取得したジャーナルの入力におい
てデータの終了、又はジャーナルの終端を検知(8-12)し
た場合は、移行先のオンライントランザクション処理が
停止したと認識し、該当するオンライントランザクショ
ン処理よりのジャーナル入力を停止(8-13)する。このと
き、未処理ジャーナルを含むすべてのオンライントラン
ザクション処理が停止(8-14)した場合、ジャーナルマー
ジ処理の終了処理(8-15)を行いジャーナルマージ部を終
了する。未処理ジャーナルと稼動中オンライントランザ
クション処理で取得したジャーナルが正常に入力されて
いればマージ処理(8-16)しマージジャーナルをマージジ
ャーナルデータセットに出力(8-17)後、未処理ジャーナ
ルの入力(8-7)へ戻る。以上を全オンラインの移行が完
了するまで繰り返すことにより達成する。
When the end of the unprocessed journal is not detected (8-8) and the unprocessed journal is normally input (8-8), the journal acquired by the online transaction process of the migration destination to be merged is operating Input (8-11) from the processor journal data set. When the end of the data or the end of the journal is detected in the input of the journal acquired by the online transaction processing during operation (8-12), it is recognized that the migration destination online transaction processing has stopped, and the corresponding online transaction processing Stop the journal input of (8-13). At this time, if all the online transaction processing including the unprocessed journal has stopped (8-14), the end processing of the journal merge processing (8-15) is performed and the journal merge unit is ended. If the unprocessed journal and the journal acquired in the online transaction process in operation are input correctly, merge processing (8-16) is performed, the merge journal is output to the merge journal data set (8-17), and the unprocessed journal is input. Return to (8-7). This is achieved by repeating the above until all online migration is completed.

【0020】次に、第2の実施例を図2により説明す
る。図1で示す実施例のうち未処理ジャーナルの格納先
を引継ぎデータセット(15)とは分けて、未処理ジャーナ
ルデータセット(16)を設定し、引継ぎデータセット(15)
と同様に移行先のデータ処理システムB(2)にある未処
理ジャーナルデータセット(26)に対してジャーナルマー
ジ部(71)がデータ転送送信部b(73)を起動することによ
り、データ転送の送信を行う。移行先のデータ処理装置
y(8)は、データ転送受信部b(83)で未処理ジャーナル
を受信し、転送元と対応する未処理ジャーナルデータセ
ット(26)に格納する。移行先のジャーナルマージ部(81)
は、引継ぎデータセット(25)から未処理ジャーナルを入
力する代わりに未処理ジャーナルデータセット(26)より
入力する。これにより移行先へのジャーナルマージ処理
引継ぎ情報のデータ転送を並行に行えるため、移行先の
ジャーナルマージ処理を起動するための待ち時間を短縮
できる。
Next, a second embodiment will be described with reference to FIG. In the embodiment shown in FIG. 1, the storage destination of the unprocessed journal is separated from the takeover data set (15), the unprocessed journal data set (16) is set, and the takeover data set (15) is set.
Similarly, the journal merge unit (71) activates the data transfer transmission unit b (73) for the unprocessed journal data set (26) in the transfer destination data processing system B (2), and Send. The data processing device y (8) of the transfer destination receives the unprocessed journal at the data transfer receiving unit b (83) and stores it in the unprocessed journal data set (26) corresponding to the transfer source. Journal merge department of migration destination (81)
Input from the unprocessed journal data set (26) instead of inputting the unprocessed journal from the takeover data set (25). As a result, since the data transfer of the journal merge process takeover information to the migration destination can be performed in parallel, the waiting time for starting the journal merge process of the migration destination can be shortened.

【0021】次に、第3の実施例を図3により説明す
る。図2で示す実施例のうち未処理ジャーナルの格納先
をデータ処理装置a(3)の未処理ジャーナルは未処理ジ
ャーナルデータセットa(16)へ、またデータ処理装置b
(4)の未処理ジャーナルは未処理ジャーナルデータセッ
トb(17)にデータ処理装置ごとに分けて格納し、引継ぎ
データセット(15)と同様に移行先のデータ処理システム
B(2)にある未処理ジャーナルデータセットa、b(26,
27)に対してデータ転送の送信を行う。また、移行先の
ジャーナルマージ部(81)は、未処理ジャーナルデータセ
ットa、b(26,27)より入力する。これにより、データ
処理装置の数が更に増えた場合に入力ジャーナルを並行
に複写することでジャーナルマージ処理の移行に要する
処理時間を短縮できる。また、ほかの使い方としては、
未処理ジャーナルが予想以上に大きく指定した未処理ジ
ャーナルデータセットのみでは格納できない場合に予備
のデータセットとして割当てることにより未処理ジャー
ナルデータセットのオーバーフローによる移行不可能状
態を回避することができる。
Next, a third embodiment will be described with reference to FIG. In the embodiment shown in FIG. 2, the unprocessed journals are stored in the unprocessed journals of the data processing device a (3) as unprocessed journal data sets a (16), and the data processing device b is processed.
The unprocessed journal of (4) is stored separately in the unprocessed journal data set b (17) for each data processing device, and is stored in the data processing system B (2) of the migration destination similarly to the takeover data set (15). Processing journal data set a, b (26,
Send data transfer to 27). Further, the journal merge unit (81) of the transfer destination inputs from the unprocessed journal data sets a and b (26, 27). As a result, when the number of data processing devices further increases, the input journals are copied in parallel, whereby the processing time required for the transition of the journal merge processing can be shortened. Also, as another usage,
When the unprocessed journal cannot be stored only with the specified unprocessed journal data set larger than expected, by allocating it as a spare data set, it is possible to avoid the unmovable state due to the overflow of the unprocessed journal data set.

【0022】[0022]

【発明の効果】以上説明したとおり本発明によれば、複
数のデータ処理システム間においてユーザのトランザク
ション処理を行った場合であっても、後続するバッチ業
務においてシステムの中断を意識せずに連続した結果を
得ることができるという効果がある。
As described above, according to the present invention, even when a user's transaction processing is performed between a plurality of data processing systems, the subsequent batch jobs are continuously performed without being aware of the interruption of the system. There is an effect that the result can be obtained.

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

【図1】データ処理システムが異なるデータ処理装置間
でジャーナルをマージするジャーナルマージ引継ぎ方式
の第1の実施例を示す図である。
FIG. 1 is a diagram showing a first embodiment of a journal merge takeover method for merging journals between data processing devices having different data processing systems.

【図2】ジャーナルマージ引継ぎ方式の第2の実施例を
示す図である。
FIG. 2 is a diagram showing a second embodiment of the journal merge takeover method.

【図3】ジャーナルマージ引継ぎ方式の第3の実施例を
示す図である。
FIG. 3 is a diagram showing a third embodiment of the journal merge takeover method.

【図4】従来のデータ処理システム間でのオンライント
ランザクション処理の移行を概略的に示す図である。
FIG. 4 is a diagram schematically showing migration of online transaction processing between conventional data processing systems.

【図5】本発明について概略的説明をするための図であ
る。
FIG. 5 is a diagram for schematically explaining the present invention.

【図6】データ処理システム移行元の終了処理のフロー
チャートを示す図である。
FIG. 6 is a diagram showing a flowchart of termination processing of a data processing system migration source.

【図7】データ転送送信部の処理のフローチャートを示
す図である。
FIG. 7 is a diagram showing a flowchart of processing of a data transfer / transmission unit.

【図8】データ処理システム移行先ジャーナルマージ部
の開始処理のフローチャートを示す図である。
FIG. 8 is a diagram illustrating a flowchart of a start process of a data processing system migration destination journal merge unit.

【図9】引継ぎ情報データセットの内容を示す図であ
る。
FIG. 9 is a diagram showing the contents of a takeover information data set.

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

1、2 データ処理システム 3、4、5、6、7、8 データ処理装置 10、20 モニターデータセット 11、13、21、23 オンラインジャーナルデータ
セット 12、22 共用データベース 14、24 マージジャーナルデータセット 15、25 引継ぎデータセット 16、17、26、27 未処理ジャーナルデータセッ
ト 31、41、51、61 オンライン共用監視部 32、42、52、62 オンライントランザクション
処理部 33、43 データベース更新情報送信部 53、63 データベース更新情報受信部 71、81 ジャーナルマージ部 72、73、74 データ転送送信部 82、83、84 データ転送受信部
1, 2 Data processing system 3, 4, 5, 6, 7, 8 Data processing device 10, 20 Monitor data set 11, 13, 21, 23 Online journal data set 12, 22 Shared database 14, 24 Merge journal data set 15 , 25 Takeover data set 16, 17, 26, 27 Unprocessed journal data set 31, 41, 51, 61 Online shared monitoring unit 32, 42, 52, 62 Online transaction processing unit 33, 43 Database update information transmission unit 53, 63 Database update information receiver 71, 81 Journal merger 72, 73, 74 Data transfer transmitter 82, 83, 84 Data transfer receiver

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 オンライントランザクション処理部と共
用監視部を有する複数のデータ処理装置と、該各データ
処理装置により参照、更新される共用データベースと、
該各データ処理装置が出力するログ情報(以後、ジャー
ナルと呼称)を格納するデータセット(以後、ジャーナ
ルデータセットと呼称)と、該各ジャーナルデータセッ
トからジャーナルを取得し時系列順にマージして出力す
るジャーナルマージ部を有する第1と第2のデータ処理
システムを備え、 該第1のデータ処理システムのデータベースの更新情報
を第2のデータ処理システムへ転送し、この更新情報を
もとに該第2のデータ処理システムのデータベースを更
新することによりデータ処理システム間でデータベース
の内容を常に一致させ、該第1のデータ処理システムの
データ処理装置の停止を契機として該第2のデータ処理
システムにトランザクション処理を移行することにより
異なるデータ処理システム間で連続したオンライントラ
ンザクション処理を行うオンライントランザクション処
理システムにおいて、 前記第1のデータ処理システムのジャーナルマージ部が
稼動する環境情報をデータセット(以後、引継ぎデータ
セットと呼称)に格納し、この引継ぎデータセットの内
容を前記トランザクション処理の移行時に前記第2のデ
ータ処理システムの引継ぎデータセットへ転送し、転送
完了後に起動する該第2のデータ処理システムのジャー
ナルマージ部は、転送元と転送先の稼動環境と刷り合わ
せを行い、それぞれのデータ処理装置で取得されたジャ
ーナルを時系列順にマージすることを特徴とするジャー
ナルマージ引継ぎ方法。
1. A plurality of data processing devices having an online transaction processing part and a shared monitoring part, and a shared database which is referred to and updated by each of the data processing devices.
A data set (hereinafter referred to as a journal data set) that stores log information (hereinafter referred to as a journal) output by each data processing device, and a journal is acquired from each journal data set and merged and output in chronological order And a second data processing system having a journal merging unit for transferring the update information of the database of the first data processing system to the second data processing system. By updating the database of the second data processing system, the contents of the database are always matched between the data processing systems, and the transaction to the second data processing system is triggered by the stop of the data processing device of the first data processing system. By transferring processing, continuous online transactions between different data processing systems are possible. In an online transaction processing system for performing a transaction processing, environment information for operating the journal merge section of the first data processing system is stored in a data set (hereinafter referred to as a takeover data set), and the contents of the takeover data set are The journal merge unit of the second data processing system, which is transferred to the takeover data set of the second data processing system at the time of transition of the transaction processing and is activated after the transfer is completed, reconciles the operating environments of the transfer source and the transfer destination with each other. A method for taking over a merged journal, characterized in that the journals acquired by the respective data processing devices are merged in chronological order.
【請求項2】 請求項1記載のジャーナルマージ引継ぎ
方法において、該第1のデータ処理システムのデータ処
理装置の停止を契機として該第2のデータ処理システム
にトランザクション処理を移行するとき、 前記ジャーナルマージ部でマージされてないジャーナル
(以後、未処理ジャーナルと呼称)がいずれかの前記ジ
ャーナルデータセットにあるとき、該ジャーナルマージ
部により該未処理ジャーナルを前記引継ぎデータセット
に格納し、この引継ぎデータセットの内容を前記トラン
ザクション処理の移行時に前記第2のデータ処理システ
ムの引継ぎデータセットへ転送し、 前記第2のデータ処理システムの起動後、該第2のデー
タ処理システムのジャーナルマージ部は、該未処理ジャ
ーナルを出力していない方の前記第1のデータ処理シス
テムのデータ処理装置のトランザクション処理を引き継
いでいる該第2のデータ処理システムのデータ処理装置
が出力するジャーナルと、引継ぎデータセットに転送さ
れた未処理ジャーナルを入力してマージし、 該未処理ジャーナルの入力終了後、該未処理ジャーナル
を出力していない方の前記第1のデータ処理システムの
データ処理装置のトランザクション処理を引き継いでい
る該第2のデータ処理システムのデータ処理装置が出力
するジャーナルと、該未処理ジャーナルを出力している
方の前記第1のデータ処理システムのデータ処理装置の
トランザクション処理を引き継いでいる該第2のデータ
処理システムのデータ処理装置が出力するジャーナルを
入力してマージすることを特徴とするジャーナルマージ
引継ぎ方法。
2. The journal merge takeover method according to claim 1, wherein when the transaction processing is transferred to the second data processing system triggered by the stop of the data processing device of the first data processing system, the journal merge When there is a journal that has not been merged by a copy unit (hereinafter referred to as an unprocessed journal) in any of the journal data sets, the unprocessed journal is stored in the inherited data set by the journal merge unit, and this inherited data set is stored. Is transferred to the takeover data set of the second data processing system at the time of transition of the transaction processing, and after the second data processing system is started, the journal merge unit of the second data processing system The first data processing of the person who has not output the processing journal The journal output by the data processing device of the second data processing system that inherits the transaction processing of the system data processing device and the unprocessed journal transferred to the inherited data set are input and merged, and the unprocessed journal And the journal output by the data processing device of the second data processing system that has taken over the transaction processing of the data processing device of the first data processing system that has not output the unprocessed journal. , Merging by inputting the journal output by the data processing device of the second data processing system that is taking over the transaction processing of the data processing device of the first data processing system that outputs the unprocessed journal A method for taking over a journal merge, which is characterized by:
【請求項3】 請求項2記載のジャーナルマージ引継ぎ
方法において、 前記第1のデータ処理システムと第2のデータ処理シス
テムのそれぞれに未処理ジャーナルデータセットを設
け、 前記未処理ジャーナルを前記引継ぎデータセットに換え
て該未処理ジャーナルデータセットに格納することを特
徴とするジャーナルマージ引継ぎ方法。
3. The journal merge takeover method according to claim 2, wherein an unprocessed journal data set is provided in each of the first data processing system and the second data processing system, and the unprocessed journal is used as the inherited data set. In place of the above, the journal merge takeover method is characterized by storing in the unprocessed journal data set.
【請求項4】 請求項2記載のジャーナルマージ引継ぎ
方法において、 前記第1のデータ処理システムと第2のデータ処理シス
テムにそれぞれの前記各データ処理装置対応に未処理ジ
ャーナルデータセットを設け、 該各データ処理装置に係る未処理ジャーナルを前記引継
ぎデータセットに換えて該各データ処理装置に対応する
未処理ジャーナルデータセットに格納することを特徴と
するジャーナルマージ引継ぎ方法。
4. The journal merge takeover method according to claim 2, wherein the first data processing system and the second data processing system are provided with unprocessed journal data sets corresponding to the respective data processing devices. A journal merge takeover method, wherein an unprocessed journal related to a data processing device is replaced with the taken over data set and stored in an unprocessed journal data set corresponding to each data processing device.
【請求項5】 移行元のデータ処理システムの2台のデ
ータ処理装置が出力するジャーナルを格納する各データ
処理装置対応の各ジャーナルデータセットからジャーナ
ルを読み込みマージし、マージ結果をマージジャーナル
データセットに格納する機能と、 一方のデータ処理装置の停止によりマージ対象となるジ
ャーナルがなくマージされない未処理ジャーナルを引継
ぎデータセットに格納する機能と、 引継ぎデータセット格納された未処理ジャーナルを移行
先のデータ処理システムに転送する機能をコンピュータ
に実現させるためのプログラム。
5. A journal is read and merged from each journal data set corresponding to each data processing device that stores a journal output by two data processing devices of the migration source data processing system, and the merge result is merged into a merge journal data set. A function to store, an unprocessed journal that is not merged because there is no journal to be merged due to the stop of one data processing device, and a function to store the unprocessed journal stored in the inherited data set to the destination data processing A program that causes a computer to perform the function of transferring to the system.
【請求項6】 移行先のデータ処理システムの2台のデ
ータ処理装置が出力するジャーナルを格納する各データ
処理装置対応の各ジャーナルデータセットからジャーナ
ルを読み込みマージし、マージ結果をマージジャーナル
データセットに格納する機能と、 移行元のデータ処理システムから転送され引継ぎデータ
セットに格納された移行元のデータ処理システムにおけ
る未処理ジャーナルと、該未処理ジャーナルを出力して
いない方の前記移行元のデータ処理システムのデータ処
理装置の処理を引き継いでいる該移行先のデータ処理シ
ステムのデータ処理装置が出力するジャーナルを読み込
みマージし、マージ結果をマージジャーナルデータセッ
トに格納する機能をコンピュータに実現させるためのプ
ログラム。
6. The journal is read from each journal data set corresponding to each data processing device storing the journals output by the two data processing devices of the migration destination data processing system, and merged, and the merged result is merged into a merge journal data set. Storage function, unprocessed journal in the migration source data processing system transferred from the migration source data processing system and stored in the takeover data set, and the migration source data processing that does not output the unprocessed journal A program for causing a computer to realize a function of reading and merging a journal output by the data processing device of the migration destination data processing system that inherits the processing of the system data processing device and storing the merged result in a merge journal data set. .
JP2001189435A 2001-06-22 2001-06-22 Method for taking over journal merge Pending JP2003006011A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001189435A JP2003006011A (en) 2001-06-22 2001-06-22 Method for taking over journal merge

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001189435A JP2003006011A (en) 2001-06-22 2001-06-22 Method for taking over journal merge

Publications (1)

Publication Number Publication Date
JP2003006011A true JP2003006011A (en) 2003-01-10

Family

ID=19028354

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001189435A Pending JP2003006011A (en) 2001-06-22 2001-06-22 Method for taking over journal merge

Country Status (1)

Country Link
JP (1) JP2003006011A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006133999A (en) * 2004-11-04 2006-05-25 Ns Solutions Corp Data processor, data processing method and its program
JP2007226347A (en) * 2006-02-21 2007-09-06 Hitachi Ltd Computer system, management device for computer system, and data recovery management method
JP2010079526A (en) * 2008-09-25 2010-04-08 Hitachi Ltd Computer system and method for managing hierarchy of journal
JP2010527087A (en) * 2007-05-21 2010-08-05 エヌエイチエヌ コーポレーション Data replication method and system in database management system (DBMS)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006133999A (en) * 2004-11-04 2006-05-25 Ns Solutions Corp Data processor, data processing method and its program
JP4704736B2 (en) * 2004-11-04 2011-06-22 新日鉄ソリューションズ株式会社 Data processing apparatus, data processing method and program thereof
JP2007226347A (en) * 2006-02-21 2007-09-06 Hitachi Ltd Computer system, management device for computer system, and data recovery management method
JP2010527087A (en) * 2007-05-21 2010-08-05 エヌエイチエヌ コーポレーション Data replication method and system in database management system (DBMS)
US8874512B2 (en) 2007-05-21 2014-10-28 Nhn Business Platform Corporation Data replication method and system for database management system
JP2010079526A (en) * 2008-09-25 2010-04-08 Hitachi Ltd Computer system and method for managing hierarchy of journal

Similar Documents

Publication Publication Date Title
CN100435101C (en) Apparatus and method for maintaining resource integrity in a software environment
US10394672B2 (en) Cluster availability management
US7383264B2 (en) Data control method for duplicating data between computer systems
EP1860559A2 (en) Storage system and method of producing recovery volume
US20080178041A1 (en) Data processing system and copy processing method thereof
JP5090022B2 (en) Computer system, access control method, and management computer
JP2010128644A (en) Failure restoration method, program and management server
JP4462697B2 (en) Storage controller
JP4289056B2 (en) Data duplication control method between computer systems
JP2003006011A (en) Method for taking over journal merge
JP6905321B2 (en) Data management systems, data management devices, devices, data management methods, and programs
JP5707409B2 (en) calculator
JP4305007B2 (en) System switching system, processing method therefor, and processing program therefor
CN1979567A (en) Image processing apparatus, charge management device connection device, charge management program product and charge management method
JP2012185546A (en) Computer system, virtual environment migration method, and virtual environment migration program
JP2503663B2 (en) Hot standby system
JP7315214B2 (en) loosely coupled system
JP6036690B2 (en) Distributed execution system and distributed program execution method
JP2666426B2 (en) Duplex auxiliary storage device
JP2629415B2 (en) A business process switching method in a mutual standby system
CN117667469A (en) Control method and device
JPH0528138A (en) Document editing system
JPH03105632A (en) Mutual stand-by system
JP2004078746A (en) Control method of storage system, storage system, and storage apparatus
JPH0622021B2 (en) Dynamic reconfiguration system for multiplexed shared file memory

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20040318