JP2006330782A - Redundancy configuration system and method for immediate recovery when failure in first computer by use of second computer - Google Patents

Redundancy configuration system and method for immediate recovery when failure in first computer by use of second computer Download PDF

Info

Publication number
JP2006330782A
JP2006330782A JP2005148955A JP2005148955A JP2006330782A JP 2006330782 A JP2006330782 A JP 2006330782A JP 2005148955 A JP2005148955 A JP 2005148955A JP 2005148955 A JP2005148955 A JP 2005148955A JP 2006330782 A JP2006330782 A JP 2006330782A
Authority
JP
Japan
Prior art keywords
computer system
execution result
input message
business
storage means
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
JP2005148955A
Other languages
Japanese (ja)
Other versions
JP4716492B2 (en
Inventor
Tomohiko Saito
倫彦 斎藤
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.)
Nomura Research Institute Ltd
Original Assignee
Nomura Research Institute 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 Nomura Research Institute Ltd filed Critical Nomura Research Institute Ltd
Priority to JP2005148955A priority Critical patent/JP4716492B2/en
Publication of JP2006330782A publication Critical patent/JP2006330782A/en
Application granted granted Critical
Publication of JP4716492B2 publication Critical patent/JP4716492B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Hardware Redundancy (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To immediately perform switching from a regular system to a sub-system in a system having a redundancy configuration. <P>SOLUTION: A regular system business server 1 comprises a business processing part 13 receiving an input message and executing predetermined processing based on this input message; a business data storage part 14 storing execution result information of business processing; and a data transfer part 15 transferring execution result information stored in the business data storage part 14 to a sub-system business server 2. The sub-system business server 2 comprises an entry queue 22 receiving the same input message as in the business server 1 and storing it; a business data storage part 24 storing execution result information transferred from the business server 1; and a business processing part 23 executing the same processing as in the business server 1 based on the input message stored in the entry queue 22 and storing the execution result information in the business data storage part 24. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、冗長構成を有するシステムでのリカバリを高速に行うための技術に関し、特に、極めて短時間にリカバーするための技術に関する。   The present invention relates to a technique for performing high-speed recovery in a system having a redundant configuration, and particularly to a technique for recovering in a very short time.

コンピュータシステムの信頼性を向上するために、通常時に動作する正系のシステムの他、正系のシステムの障害時にこれをバックアップするための副系のシステムを備え、冗長性を有するシステムが構築されている。この場合、正系システムで障害が発生したときに速やかに副系システムで処理を開始するためには、正系システムの処理結果のデータを副系システムへ引き継ぐ必要がある。従って、多くの場合、正系及び副系システムが一つのデータベースを共有するか、または正系システムのデータを副系システムへ転送する形態がとられる。
特開平7−239799号公報
In order to improve the reliability of the computer system, in addition to the normal system that operates normally, a secondary system that backs up the main system in the event of a failure of the main system is built, and a redundant system is constructed. ing. In this case, in order to immediately start processing in the secondary system when a failure occurs in the primary system, it is necessary to transfer the processing result data of the primary system to the secondary system. Therefore, in many cases, the main system and the sub system share one database, or the data of the main system is transferred to the sub system.
JP-A-7-239799

例えば、大量のデータを高速で処理し、かつ、一時的なシステムダウンも許されないようなシステムの場合にも、システムの二重化が行われている。そして、このようなシステムでは、正系システムで障害が発生したときは、副系システムへ瞬時に(例えば、1秒程度)切り換えなければならない。   For example, even in the case of a system that processes a large amount of data at high speed and does not allow a temporary system down, the system is duplicated. In such a system, when a failure occurs in the primary system, the system must be switched instantaneously (for example, about 1 second) to the secondary system.

しかしながら、従来のようなデータの引き継ぎのやり方では、副系システムが共有データベースを利用できるようになるには時間がかかったりして、副系システムへの切り換えを瞬時に行うことはできない。   However, in the conventional method of taking over data, it takes time for the secondary system to be able to use the shared database, and switching to the secondary system cannot be performed instantaneously.

そこで、本発明の目的は、冗長構成を有するシステムにおいて、正系システムから副系システムへの切り換えを直ちに行うことである。   Therefore, an object of the present invention is to immediately switch from a primary system to a secondary system in a system having a redundant configuration.

本発明の一実施態様に従うシステムは、第1のコンピュータシステムと、前記第1のコンピュータシステムのバックアップをするための第2のコンピュータシステムとを有する冗長構成システムである。前記第1のコンピュータシステムは、入力メッセージを受信する第1の受信手段と、前記第1の受信手段が受信した入力メッセージに基づいて所定の処理を実行する処理手段と、前記処理手段による処理の実行結果情報を記憶する第1の実行結果記憶手段と、前記第1の実行結果記憶手段に記憶されている実行結果情報を、前記第2のコンピュータシステムへ転送する転送手段と、を備える。前記第2のコンピュータシステムは、前記第1のコンピュータシステムと同じ入力メッセージを受信する第2の受信手段と、前記第2の受信手段が受信した入力メッセージを記憶する第2の入力メッセージ記憶手段と、前記第1のコンピュータシステムから転送された実行結果情報を記憶する第2の実行結果記憶手段と、前記第1のコンピュータシステムの障害時に、前記第2の入力メッセージ記憶手段に記憶されている入力メッセージに基づいて前記第1のコンピュータシステムと同一の処理を実行し、その実行結果情報を前記第2の実行結果記憶手段に格納するリカバリ手段と、を備える。   A system according to an embodiment of the present invention is a redundant configuration system having a first computer system and a second computer system for backing up the first computer system. The first computer system includes a first receiving unit that receives an input message, a processing unit that executes a predetermined process based on the input message received by the first receiving unit, and a process performed by the processing unit. First execution result storage means for storing execution result information; and transfer means for transferring execution result information stored in the first execution result storage means to the second computer system. The second computer system includes second receiving means for receiving the same input message as the first computer system, and second input message storage means for storing the input message received by the second receiving means. A second execution result storage means for storing execution result information transferred from the first computer system; and an input stored in the second input message storage means in the event of a failure of the first computer system. Recovery means for executing the same processing as the first computer system based on the message and storing the execution result information in the second execution result storage means.

好適な実施形態では、前記第1のコンピュータシステムは、前記第1の受信手段が、それぞれの識別情報を含む複数の入力メッセージを順次受信する。そして、前記第1の実行結果記憶手段に記憶されている実行結果情報は、入力メッセージの識別情報と、当該識別情報の入力メッセージに基づいて実行された前記所定の処理の実行結果とが関連付けられていてもよい。そして、前記第2のコンピュータシステムは、前記第1のコンピュータシステムから転送された実行結果情報に含まれている入力メッセージの識別情報に基づいて、前記第2の入力メッセージ記憶手段に記憶されている情報を更新する手段をさらに備えていてもよい。   In a preferred embodiment, in the first computer system, the first receiving means sequentially receives a plurality of input messages including respective identification information. The execution result information stored in the first execution result storage means associates the identification information of the input message with the execution result of the predetermined process executed based on the input message of the identification information. It may be. And the said 2nd computer system is memorize | stored in the said 2nd input message memory | storage means based on the identification information of the input message contained in the execution result information transferred from the said 1st computer system A means for updating information may be further provided.

好適な実施形態では、前記第1のコンピュータシステムは、前記第1の受信手段が受信した入力メッセージを記憶する第1の入力メッセージ記憶手段をさらに備えてもよい。前記第2のコンピュータシステムは、前記第2の入力メッセージ記憶手段に格納が完了した入力メッセージの識別情報を、前記第1のコンピュータへ通知する手段をさらに備えてもよい。そして、前記第1のコンピュータシステムの処理手段は、前記第2のコンピュータから通知された入力メッセージの識別情報に基づいて、前記第1の入力メッセージ記憶手段から入力メッセージを取得して、前記所定の処理を実行するものでもよい。   In a preferred embodiment, the first computer system may further comprise first input message storage means for storing an input message received by the first reception means. The second computer system may further comprise means for notifying the first computer of identification information of an input message that has been stored in the second input message storage means. Then, the processing means of the first computer system acquires an input message from the first input message storage means based on the identification information of the input message notified from the second computer, and A process may be executed.

好適な実施形態では、前記第1のコンピュータシステムの前記処理手段は、入力メッセージに含まれる入力データのバリデーション処理を実行するものであってもよい。   In a preferred embodiment, the processing means of the first computer system may execute a validation process for input data included in an input message.

好適な実施形態では、前記第1のコンピュータシステムの転送手段は、前記第1のコンピュータシステムの処理手段とは非同期に前記実行結果情報の転送を行うようにしてもよい。   In a preferred embodiment, the transfer means of the first computer system may transfer the execution result information asynchronously with the processing means of the first computer system.

以下、本発明の一実施形態に係る冗長構成を備えたデータ処理システムについて、図面を参照しながら説明する。   Hereinafter, a data processing system having a redundant configuration according to an embodiment of the present invention will be described with reference to the drawings.

図1は、本実施形態に係るデータ処理システムの構成図である。   FIG. 1 is a configuration diagram of a data processing system according to the present embodiment.

本システムは、同図に示すように、データ送信装置5から送信された入力メッセージ7を受信して、これに基づいて所定の処理を実行する業務サーバ1,2を有する。業務サーバは、正系業務サーバ1と副系業務サーバ2とを有する冗長構成が採用されている。   As shown in the figure, this system includes business servers 1 and 2 that receive an input message 7 transmitted from a data transmission device 5 and execute a predetermined process based on the input message 7. The business server employs a redundant configuration having a primary business server 1 and a secondary business server 2.

正系業務サーバ1及び副系業務サーバ2は、いずれも例えば汎用的なコンピュータシステムにより構成され、以下に説明する各装置1,2内の個々の構成要素または機能は、例えば、コンピュータプログラムを実行することにより実現される。   Each of the primary business server 1 and the secondary business server 2 is configured by, for example, a general-purpose computer system, and each component or function in each device 1 and 2 described below executes, for example, a computer program It is realized by doing.

正系業務サーバ1は、データ送信装置5から送信された入力メッセージ7を受信する受信処理部10と、入力メッセージ7の処理結果をデータ送信装置5へ通知する応答送信部11と、受信した入力メッセージ7を蓄積するエントリーキュー12と、入力メッセージ7に基づいて所定の業務処理を実行する業務処理部13と、業務処理部13により生成された業務データを記憶する業務データ記憶部14と、業務データを副系業務サーバ2へ転送するデータ転送部15と、業務データを外部の装置に対して提供するための外部インタフェース部16とを有する。   The main business server 1 includes a reception processing unit 10 that receives the input message 7 transmitted from the data transmission device 5, a response transmission unit 11 that notifies the data transmission device 5 of the processing result of the input message 7, and the received input An entry queue 12 for storing messages 7, a business processing unit 13 for executing predetermined business processing based on the input message 7, a business data storage unit 14 for storing business data generated by the business processing unit 13, and a business A data transfer unit 15 that transfers data to the subordinate business server 2 and an external interface unit 16 that provides business data to an external device are included.

一方、副系業務サーバ2は、正系業務サーバ1で障害が発生したときのバックアップ用サーバであるから、正系業務サーバ1と同様の構成と、副系に固有の構成とを備える。すなわち、副系業務サーバ2は、入力メッセージ7を受信する受信処理部20と、業務処理部23での入力メッセージ7の処理結果をデータ送信装置5へ通知する応答送信部21と、受信した入力メッセージ7を蓄積するエントリーキュー22と、入力メッセージ7に基づいて所定の業務処理を実行する業務処理部23と、業務処理部23により生成された業務データを記憶する業務データ記憶部24と、正系業務サーバ1から転送された業務データを受信するデータ受信部25と、業務データを外部の装置に対して提供するための外部インタフェース部26と、エントリーキュー22内の入力メッセージ7を管理するエントリーキュー管理部27とを有する。   On the other hand, since the secondary business server 2 is a backup server when a failure occurs in the primary business server 1, it has a configuration similar to that of the primary business server 1 and a configuration unique to the secondary system. That is, the secondary business server 2 includes the reception processing unit 20 that receives the input message 7, the response transmission unit 21 that notifies the data transmission device 5 of the processing result of the input message 7 in the business processing unit 23, and the received input An entry queue 22 for storing messages 7, a business processing unit 23 for executing predetermined business processing based on the input message 7, a business data storage unit 24 for storing business data generated by the business processing unit 23, Data receiving unit 25 that receives business data transferred from the system business server 1, an external interface unit 26 for providing business data to an external device, and an entry that manages the input message 7 in the entry queue 22 And a queue management unit 27.

まず、上記の構成を備える正系及び副系業務サーバ1,2の正常時の処理について説明する。   First, normal processing of the primary and secondary business servers 1 and 2 having the above-described configuration will be described.

データ送信装置5から正系業務サーバ1及び副系業務サーバ2の両方に対して、複数の入力メッセージ7が順次送信される。正系業務サーバ1の受信処理部10及び副系業務サーバ2の受信処理部20は、それぞれ入力メッセージ7を受信して、それぞれのエントリーキュー12,22へ順次格納する。つまり、正系及び副系業務サーバ1,2のいずれもが同一の入力メッセージ7を受信する。ここで、各入力メッセージ7には、それぞれの入力メッセージを一意に識別するためのメッセージIDが含まれている。   A plurality of input messages 7 are sequentially transmitted from the data transmission device 5 to both the primary business server 1 and the secondary business server 2. The reception processing unit 10 of the primary business server 1 and the reception processing unit 20 of the secondary business server 2 receive the input message 7 and store them sequentially in the entry queues 12 and 22 respectively. That is, both the primary and secondary business servers 1 and 2 receive the same input message 7. Here, each input message 7 includes a message ID for uniquely identifying each input message.

図2に、エントリーキュー12,22のデータ構造を示す。すなわち、エントリーキュー12,22では、入力メッセージ51と、入力メッセージが読み出されたか否かを示す読み出しフラグ52とが対応付けて記憶されている。   FIG. 2 shows the data structure of the entry queues 12 and 22. That is, in the entry queues 12 and 22, an input message 51 and a read flag 52 indicating whether or not the input message has been read are stored in association with each other.

正系業務サーバ1では、業務処理部13がエントリーキュー12に格納されている入力メッセージ51を一つずつ読み出し、その読み出した入力メッセージ51に対応する読み出しフラグ52に読み出し済みを示すフラグをセットする。そして、業務処理部13は、読み出した入力メッセージ51について、所定の業務処理を実行する。ここで行う業務処理は、例えば、入力メッセージ51に含まれる入力データの属性、桁数などが予め定められた範囲であるか否かをチェックするバリデーション、あるいは入力データに基づく様々な業務処理、またはこれらの組み合わせなどでよい。   In the primary business server 1, the business processing unit 13 reads the input messages 51 stored in the entry queue 12 one by one, and sets a flag indicating that the data has been read in the read flag 52 corresponding to the read input message 51. . Then, the job processing unit 13 executes predetermined job processing on the read input message 51. The business process performed here is, for example, validation for checking whether the attribute and the number of digits of the input data included in the input message 51 are within a predetermined range, or various business processes based on the input data, or A combination of these may be used.

業務処理部13は、一つの入力メッセージ51に対して業務処理が完了すると、その業務処理により生成された業務データを業務データ記憶部14に格納する。このとき、業務処理部13は、業務処理が完了した入力メッセージ51に含まれているメッセージIDを応答送信部11へ通知する。   When the business process for one input message 51 is completed, the business processing unit 13 stores the business data generated by the business process in the business data storage unit 14. At this time, the business process unit 13 notifies the response transmission unit 11 of the message ID included in the input message 51 for which the business process has been completed.

応答送信部11は、業務処理部13からメッセージIDの通知を受けると、このメッセージIDの処理が正常終了したことを示す応答メッセージをデータ送信装置5へ通知する。   Upon receiving the message ID notification from the business processing unit 13, the response transmission unit 11 notifies the data transmission device 5 of a response message indicating that the processing of the message ID has been normally completed.

なお、受信処理部10、20と業務処理部13、23とはそれぞれ別スレッドで動作するようにしてもよい。これにより、受信処理部10、20と業務処理部13、23とは、互いに非同期で動作することができる。   Note that the reception processing units 10 and 20 and the business processing units 13 and 23 may operate in different threads. Thereby, the reception processing units 10 and 20 and the business processing units 13 and 23 can operate asynchronously with each other.

次に、図3に業務データ記憶部14,24のデータ構造を示す。すなわち、業務データ記憶部14,24には、メッセージID61と業務処理実行後の業務データ62とが対応付けられて記憶されている。   Next, FIG. 3 shows the data structure of the business data storage units 14 and 24. That is, in the business data storage units 14 and 24, the message ID 61 and the business data 62 after execution of business processing are stored in association with each other.

副系業務サーバ2の業務処理部23は、正系業務サーバ1の業務処理部13と同じ処理を実行することができる。しかし、正系業務サーバ1が正常に動作しているときには、業務処理部23は処理を実行しない。副系業務サーバ2の業務データ記憶部24には、以下のようにしてデータが蓄積される。   The business processing unit 23 of the secondary business server 2 can execute the same processing as the business processing unit 13 of the primary business server 1. However, when the main business server 1 is operating normally, the business processing unit 23 does not execute processing. Data is stored in the business data storage unit 24 of the secondary business server 2 as follows.

正系業務サーバ1のデータ転送部15は、業務データ記憶部14に格納されているメッセージID61及び業務データ62を取得して、副系業務サーバ2へ転送する。これは、正系業務サーバ1及び副系業務サーバ2が、業務データ記憶部14,24を共有しない構成となっているので、業務データ記憶部14,24に記憶されているデータを整合させる必要があるからである。このデータ転送処理は、業務処理部13の処理とは非同期に行うことができる。   The data transfer unit 15 of the primary business server 1 acquires the message ID 61 and the business data 62 stored in the business data storage unit 14 and transfers them to the secondary business server 2. This is because the primary business server 1 and the secondary business server 2 are configured not to share the business data storage units 14 and 24, so the data stored in the business data storage units 14 and 24 must be matched. Because there is. This data transfer processing can be performed asynchronously with the processing of the business processing unit 13.

本実施形態では、正系業務サーバ1及び副系業務サーバ2が業務データ記憶部14,24を共有していないし、かつ、正系業務サーバ1から副系業務サーバ2へのデータ転送も非同期でよいので、正系業務サーバ1の業務処理部13は、副系業務サーバ2の存在を意識せずに処理を実行することができ、処理の高速化が可能である。   In this embodiment, the primary business server 1 and the secondary business server 2 do not share the business data storage units 14 and 24, and data transfer from the primary business server 1 to the secondary business server 2 is also asynchronous. Therefore, the business processing unit 13 of the primary business server 1 can execute the processing without being aware of the presence of the secondary business server 2, and the processing speed can be increased.

副系業務サーバ2では、転送されてきた業務データをデータ受信部25が受信して、業務データ記憶部24へ格納する。さらに、データ受信部25が受信したデータのメッセージID61をエントリーキュー管理部27へ通知する。   In the secondary business server 2, the transferred business data is received by the data receiving unit 25 and stored in the business data storage unit 24. Further, the message ID 61 of the data received by the data reception unit 25 is notified to the entry queue management unit 27.

エントリーキュー管理部27は、転送されてきた業務データに含まれているメッセージID61に基づいて、エントリーキュー22に格納されている情報を更新する。例えば、エントリーキュー管理部27は、正系業務サーバ1から転送されてきたデータのメッセージID61と同一のメッセージIDの入力メッセージをエントリーキュー22から削除するか、あるいは、読み出しフラグ52に、読み出し済みを示すフラグを立てる。これにより、後述するリカバリ処理のときに、業務データ記憶部24にデータが記憶されていない入力メッセージの判別が可能である。   The entry queue management unit 27 updates the information stored in the entry queue 22 based on the message ID 61 included in the transferred business data. For example, the entry queue management unit 27 deletes the input message having the same message ID as the message ID 61 of the data transferred from the primary business server 1 from the entry queue 22 or indicates that the read flag 52 has been read out. Set a flag to indicate. Thereby, it is possible to determine an input message for which no data is stored in the business data storage unit 24 during a recovery process described later.

正系業務サーバ1の外部インタフェース部16は、図示しない外部システムが、業務データ記憶部14に格納されている業務データ62を参照可能にする。   The external interface unit 16 of the primary business server 1 allows an external system (not shown) to refer to the business data 62 stored in the business data storage unit 14.

副系業務サーバ2の外部インタフェース部26は、正系業務サーバ1の外部インタフェース部16と同様に、外部システムに業務データ記憶部24を参照させる。正系業務サーバ1が正常に動作しているときには参照を制限してもよい。   As with the external interface unit 16 of the primary business server 1, the external interface unit 26 of the secondary business server 2 makes the external system refer to the business data storage unit 24. Reference may be restricted when the primary business server 1 is operating normally.

以上に説明した正系業務サーバ1が正常に動作しているときの処理により、業務データ記憶部14に業務データが蓄積されていく。一方、副系業務サーバ2では、業務データ記憶部24に正系業務サーバ1で生成され、転送を受けた業務データが蓄積されるとともに、正系業務サーバ1からまだ転送を受けていない入力データに対応する入力メッセージ51がエントリーキュー22に残っている。正系業務サーバ1が正常動作している間は、このような状態が継続する。   The business data is accumulated in the business data storage unit 14 by the processing when the main business server 1 is operating normally as described above. On the other hand, in the secondary business server 2, business data generated and transferred by the primary business server 1 is stored in the business data storage unit 24 and input data that has not yet been transferred from the primary business server 1. The input message 51 corresponding to is left in the entry queue 22. Such a state continues while the main business server 1 is operating normally.

そして、正系業務サーバ1で何らかの障害が生じたときに、副系業務サーバ2が以下のような処理を実行してリカバーする。   When a failure occurs in the primary business server 1, the secondary business server 2 performs the following processing to recover.

すなわち、正系業務サーバ1で障害が発生すると、副系業務サーバ2にその旨が通知される。副系業務サーバ2は、この通知を受けると、業務処理部23が処理を開始する。例えば、業務処理部23は、エントリーキュー22から入力メッセージを取得して、業務処理部13と同じ入力処理を実行し、業務データ記憶部24に処理後のデータを格納する。   That is, when a failure occurs in the primary business server 1, the secondary business server 2 is notified to that effect. When receiving the notification, the subordinate business server 2 starts the processing by the business processing unit 23. For example, the business processing unit 23 acquires an input message from the entry queue 22, executes the same input processing as the business processing unit 13, and stores the processed data in the business data storage unit 24.

ここで、エントリーキュー22に残っている入力メッセージは、すべて未処理のものであるか、または未処理であるか否かの判別が可能であるので、処理済みデータを再度処理してしまうような時間のロスがない。   Here, since it is possible to determine whether all the input messages remaining in the entry queue 22 are unprocessed or unprocessed, the processed data is processed again. There is no loss of time.

さらには、副系業務サーバ2は、業務データ記憶部24を正系業務サーバ1と共有していない。このため、業務データ記憶部24をハードディスクなどの外部記憶装置上ではなく、副系業務サーバ2内のRAMなどのアクセス速度が速いメモリ上に実現することができる。従って、業務処理部23がリカバリのための処理を開始するタイミングも早くなり、正系業務サーバ1の障害発生から、極めて短時間でリカバリ処理を開始できる。   Further, the secondary business server 2 does not share the business data storage unit 24 with the primary business server 1. For this reason, the business data storage unit 24 can be realized not on an external storage device such as a hard disk but on a memory having a high access speed such as a RAM in the secondary business server 2. Therefore, the timing at which the business processing unit 23 starts the process for recovery is also accelerated, and the recovery process can be started in a very short time from the occurrence of a failure in the primary business server 1.

上述した本発明の実施形態は、本発明の説明のための例示であり、本発明の範囲をそれらの実施形態にのみ限定する趣旨ではない。当業者は、本発明の要旨を逸脱することなしに、他の様々な態様で本発明を実施することができる。   The above-described embodiments of the present invention are examples for explaining the present invention, and are not intended to limit the scope of the present invention only to those embodiments. Those skilled in the art can implement the present invention in various other modes without departing from the gist of the present invention.

例えば、業務データ記憶部14,24は、1つのテーブルで構成されていても、複数のテーブルで構成されていてもよい。複数テーブルの場合は、これらのテーブルの更新を1トランザクションとして扱う。   For example, the business data storage units 14 and 24 may be composed of one table or a plurality of tables. In the case of a plurality of tables, the update of these tables is handled as one transaction.

また、副系業務サーバ2の受信処理部20が、受信した入力メッセージ7のエントリーキュー22への格納が完了すると、その入力メッセージ7のメッセージIDを含む確認メッセージを生成して、正系業務サーバ1へ通知するようにしてもよい。この場合、正系業務サーバ1では、副系業務サーバ2から確認メッセージを受信すると、業務処理部13が、その確認メッセージに含まれているメッセージIDの入力メッセージ51をエントリーキュー12から読み出して所定の業務処理を実行する。   When the reception processing unit 20 of the secondary business server 2 completes the storage of the received input message 7 in the entry queue 22, it generates a confirmation message including the message ID of the input message 7, and the primary business server 1 may be notified. In this case, when the primary business server 1 receives the confirmation message from the secondary business server 2, the business processing unit 13 reads out the input message 51 of the message ID included in the confirmation message from the entry queue 12 and determines the predetermined message. Execute the business process.

本発明の一実施形態に係るデータ処理システムの構成図である。It is a block diagram of the data processing system which concerns on one Embodiment of this invention. エントリーキュー12,22のデータ構造の一例を示す図である。It is a figure which shows an example of the data structure of the entry queues 12 and 22. 業務データ記憶部14,24のデータ構造の一例を示す図である。4 is a diagram illustrating an example of a data structure of business data storage units 14 and 24. FIG.

符号の説明Explanation of symbols

1 正系業務サーバ
2 副系業務サーバ
5 データ送信装置
7 入力メッセージ
10,20 受信処理部
11,21 応答送信部
12,22 エントリーキュー
13,23 業務処理部
14,24 業務データ記憶部
15 データ転送部
16,26 外部インタフェース部
27 エントリーキュー管理部
DESCRIPTION OF SYMBOLS 1 Primary business server 2 Sub business server 5 Data transmission device 7 Input message 10, 20 Reception processing unit 11, 21 Response transmission unit 12, 22 Entry queue 13, 23 Business processing unit 14, 24 Business data storage unit 15 Data transfer Units 16, 26 external interface unit 27 entry queue management unit

Claims (4)

第1のコンピュータシステムと、前記第1のコンピュータシステムのバックアップをするための第2のコンピュータシステムとを有する冗長構成のシステムであって、
前記第1のコンピュータシステムは、
入力メッセージを受信する第1の受信手段と、
前記第1の受信手段が受信した入力メッセージに基づいて所定の処理を実行する処理手段と、
前記処理手段による処理の実行結果情報を記憶する第1の実行結果記憶手段と、
前記第1の実行結果記憶手段に記憶されている実行結果情報を、前記第2のコンピュータシステムへ転送する転送手段と、を備え、
前記第2のコンピュータシステムは、
前記第1のコンピュータシステムと同じ入力メッセージを受信する第2の受信手段と、
前記第2の受信手段が受信した入力メッセージを記憶する第2の入力メッセージ記憶手段と、
前記第1のコンピュータシステムから転送された実行結果情報を記憶する第2の実行結果記憶手段と、
前記第1のコンピュータシステムの障害時に、前記第2の入力メッセージ記憶手段に記憶されている入力メッセージに基づいて前記第1のコンピュータシステムと同一の処理を実行し、その実行結果情報を前記第2の実行結果記憶手段に格納するリカバリ手段と、を備えた冗長構成システム。
A redundant system having a first computer system and a second computer system for backing up the first computer system,
The first computer system includes:
First receiving means for receiving an input message;
Processing means for executing predetermined processing based on an input message received by the first receiving means;
First execution result storage means for storing execution result information of processing by the processing means;
Transfer means for transferring execution result information stored in the first execution result storage means to the second computer system,
The second computer system includes:
Second receiving means for receiving the same input message as the first computer system;
Second input message storage means for storing the input message received by the second receiving means;
Second execution result storage means for storing execution result information transferred from the first computer system;
In the event of a failure of the first computer system, the same processing as that of the first computer system is executed based on the input message stored in the second input message storage means, and the execution result information is sent to the second computer system. And a recovery means for storing in the execution result storage means.
前記第1のコンピュータシステムは、
前記第1の受信手段が、それぞれの識別情報を含む複数の入力メッセージを順次受信し、
前記第1の実行結果記憶手段に記憶されている実行結果情報は、入力メッセージの識別情報と、当該識別情報の入力メッセージに基づいて実行された前記所定の処理の実行結果とが関連付けられていて、
前記第2のコンピュータシステムは、
前記第1のコンピュータシステムから転送された実行結果情報に含まれている入力メッセージの識別情報に基づいて、前記第2の入力メッセージ記憶手段に記憶されている情報を更新する手段をさらに備える請求項1記載の冗長構成システム。
The first computer system includes:
The first receiving means sequentially receives a plurality of input messages each including identification information;
The execution result information stored in the first execution result storage means associates the identification information of the input message with the execution result of the predetermined process executed based on the input message of the identification information. ,
The second computer system includes:
The information processing apparatus further comprises means for updating information stored in the second input message storage means based on identification information of the input message included in the execution result information transferred from the first computer system. The redundant configuration system according to 1.
前記第1のコンピュータシステムの転送手段は、前記第1のコンピュータシステムの処理手段とは非同期に前記実行結果情報の転送を行う請求項1または2に記載の冗長構成システム。   The redundant configuration system according to claim 1 or 2, wherein the transfer unit of the first computer system transfers the execution result information asynchronously with the processing unit of the first computer system. 第1のコンピュータシステムに障害が発生したときに第2のコンピュータシステムが直ちにリカバーする方法であって、
前記第1のコンピュータシステム及び第2のコンピュータシステムが、入力メッセージを受信するステップと、
前記第2のコンピュータシステムが、受信した入力メッセージを前記第2のコンピュータシステムの入力メッセージ記憶手段に記憶するステップと、
前記第1のコンピュータシステムが、受信した入力メッセージに基づいて所定の処理を実行するステップと、
前記処理の実行結果情報を、前記第1のコンピュータシステムの第1の実行結果記憶手段に記憶するステップと、
前記第1の実行結果記憶手段に記憶されている実行結果情報を、前記第1のコンピュータシステムから前記第2のコンピュータシステムへ転送するステップと、
前記転送された実行結果情報を、前記第2のコンピュータシステムの第2の実行結果記憶手段に記憶するステップと、
前記第1のコンピュータシステムの障害時に、前記入力メッセージ記憶手段に記憶されている入力メッセージに基づいて前記第1のコンピュータシステムと同一の処理を実行し、その実行結果情報を前記第2の実行結果記憶手段に格納するステップと、を有する方法。
A method in which a second computer system immediately recovers when a failure occurs in a first computer system, comprising:
The first computer system and the second computer system receiving an input message;
The second computer system storing the received input message in an input message storage means of the second computer system;
The first computer system performing a predetermined process based on the received input message;
Storing the execution result information of the process in a first execution result storage means of the first computer system;
Transferring execution result information stored in the first execution result storage means from the first computer system to the second computer system;
Storing the transferred execution result information in a second execution result storage means of the second computer system;
When a failure occurs in the first computer system, the same processing as the first computer system is executed based on the input message stored in the input message storage means, and the execution result information is used as the second execution result. Storing in storage means.
JP2005148955A 2005-05-23 2005-05-23 Redundant configuration system and method for second computer system to immediately recover when first computer system fails Expired - Fee Related JP4716492B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005148955A JP4716492B2 (en) 2005-05-23 2005-05-23 Redundant configuration system and method for second computer system to immediately recover when first computer system fails

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005148955A JP4716492B2 (en) 2005-05-23 2005-05-23 Redundant configuration system and method for second computer system to immediately recover when first computer system fails

Publications (2)

Publication Number Publication Date
JP2006330782A true JP2006330782A (en) 2006-12-07
JP4716492B2 JP4716492B2 (en) 2011-07-06

Family

ID=37552444

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005148955A Expired - Fee Related JP4716492B2 (en) 2005-05-23 2005-05-23 Redundant configuration system and method for second computer system to immediately recover when first computer system fails

Country Status (1)

Country Link
JP (1) JP4716492B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009223780A (en) * 2008-03-18 2009-10-01 Hitachi Ltd Data replication method and data replication system
JP2009282791A (en) * 2008-05-22 2009-12-03 Nomura Research Institute Ltd Fault-tolerant business information system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH086910A (en) * 1994-06-23 1996-01-12 Hitachi Ltd Cluster type computer system
JPH0962526A (en) * 1995-08-28 1997-03-07 Fujitsu Ltd Fault resistant rpc system and method therefor
JPH0997237A (en) * 1995-09-29 1997-04-08 Nec Corp Input telegraphic message guaranteeing method for on-line transaction processing system
JPH1049418A (en) * 1996-08-02 1998-02-20 Nippon Telegr & Teleph Corp <Ntt> Method and device for reflecting journal data, and redundant constitution type computer system
JPH11296397A (en) * 1998-04-09 1999-10-29 Nec Software Ltd Received message recovery system in hot stand-by system and method therefor and recording medium for storing received message processing program
JP2001109642A (en) * 1999-10-08 2001-04-20 Toshiba Corp Cluster system and data copying method therefor
JP2003337717A (en) * 2002-05-22 2003-11-28 Nec Corp Fault recovery synchronizing system of online transaction process

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH086910A (en) * 1994-06-23 1996-01-12 Hitachi Ltd Cluster type computer system
JPH0962526A (en) * 1995-08-28 1997-03-07 Fujitsu Ltd Fault resistant rpc system and method therefor
JPH0997237A (en) * 1995-09-29 1997-04-08 Nec Corp Input telegraphic message guaranteeing method for on-line transaction processing system
JPH1049418A (en) * 1996-08-02 1998-02-20 Nippon Telegr & Teleph Corp <Ntt> Method and device for reflecting journal data, and redundant constitution type computer system
JPH11296397A (en) * 1998-04-09 1999-10-29 Nec Software Ltd Received message recovery system in hot stand-by system and method therefor and recording medium for storing received message processing program
JP2001109642A (en) * 1999-10-08 2001-04-20 Toshiba Corp Cluster system and data copying method therefor
JP2003337717A (en) * 2002-05-22 2003-11-28 Nec Corp Fault recovery synchronizing system of online transaction process

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009223780A (en) * 2008-03-18 2009-10-01 Hitachi Ltd Data replication method and data replication system
JP2009282791A (en) * 2008-05-22 2009-12-03 Nomura Research Institute Ltd Fault-tolerant business information system

Also Published As

Publication number Publication date
JP4716492B2 (en) 2011-07-06

Similar Documents

Publication Publication Date Title
CN100435101C (en) Apparatus and method for maintaining resource integrity in a software environment
CN101706802B (en) Method, device and sever for writing, modifying and restoring data
US20160085837A1 (en) Snapshot and replication of a multi-stream application on multiple hosts at near-sync frequency
US20060200829A1 (en) Duplicate message elimination during recovery when multiple threads are delivering messages from a message store to a destination queue
US20120011100A1 (en) Snapshot acquisition processing technique
US20080059738A1 (en) Maintaining consistency in a remote copy data storage system
CN107329859B (en) Data protection method and storage device
CN111198662B (en) Data storage method, device and computer readable storage medium
JP4491482B2 (en) Failure recovery method, computer, cluster system, management computer, and failure recovery program
EP3026574A1 (en) Affair processing method and device
CN114554593A (en) Data processing method and device
JP4716492B2 (en) Redundant configuration system and method for second computer system to immediately recover when first computer system fails
JP2005301436A (en) Cluster system and failure recovery method for it
US10169441B2 (en) Synchronous data replication in a content management system
JP2008033778A (en) Computer system, database restoration method, and database restoration program
US6978400B2 (en) Method, apparatus and computer program for reducing the amount of data checkpointed
JP4806382B2 (en) Redundant system
JP2006065440A (en) Process management system
CN106997305B (en) Transaction processing method and device
JP2004272318A (en) System changeover system, processing method therefor, and processing program therefor
JP5825655B2 (en) Replication system
JP2009098715A (en) Redundant system device, job execution method in redundant system device, and execution program
JP5792055B2 (en) Information processing device
CN114281607A (en) Task synchronization method, device, main and standby system and storage medium
JP2004086543A (en) Fault queue control method and its system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080226

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100215

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100713

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100902

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20101116

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110215

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20110221

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110323

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110328

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140408

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees