JP2005242652A - Computer backup system and computer backup method - Google Patents

Computer backup system and computer backup method Download PDF

Info

Publication number
JP2005242652A
JP2005242652A JP2004051418A JP2004051418A JP2005242652A JP 2005242652 A JP2005242652 A JP 2005242652A JP 2004051418 A JP2004051418 A JP 2004051418A JP 2004051418 A JP2004051418 A JP 2004051418A JP 2005242652 A JP2005242652 A JP 2005242652A
Authority
JP
Japan
Prior art keywords
backup
update
computer
master data
unit
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
JP2004051418A
Other languages
Japanese (ja)
Inventor
Toru Nishibe
徹 西部
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2004051418A priority Critical patent/JP2005242652A/en
Publication of JP2005242652A publication Critical patent/JP2005242652A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a computer backup system that can prevent a stop of computer processing, reduce the frequency of large volume data transmission to a backup computer and reduce a load on the backup computer. <P>SOLUTION: A transmission part 12d transmits update information in a storage 12 to a storage 22 in a predetermined period and transmits a master DB in the storage 12 to the storage 22 in a period other than the predetermined period. A backup master file update part 22e, if a computer system 1 fails in the predetermined period, updates the master DB transmitted from the transmission part 12d according to the update information transmitted from the transmission part 12d and later updates the master DB according to update command information, or if the computer system 1 fails in the period other than the predetermined period, updates the master DB transmitted from the transmission part 12d according to update command information. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、コンピュータバックアップシステムおよびコンピュータバックアップ方法に関する。   The present invention relates to a computer backup system and a computer backup method.

従来、コンピュータの故障により生じる不具合を防止するための対策が提案されている。   Conventionally, measures have been proposed for preventing problems caused by computer failures.

特許文献1(特開平3−271923号公報)には、コンピュータシステムによって処理されたデータを記録するマスタディスクと、バックアップ用データを記録するサブディスクとを備えた障害対応処理付き磁気ディスク装置が記載されている。   Patent Document 1 (Japanese Patent Application Laid-Open No. 3-271923) describes a magnetic disk device with a failure handling process, which includes a master disk for recording data processed by a computer system and a sub disk for recording backup data. Has been.

特許文献1に記載の磁気ディスク装置を主要記録媒体として使用するコンピュータシステムは、マスタディスクに障害が発生した場合、サブディスクに記録されているバックアップデータを利用してデータの復旧を行うことが可能となる。   A computer system using the magnetic disk device described in Patent Document 1 as a main recording medium can recover data by using backup data recorded on a sub disk when a failure occurs in a master disk. It becomes.

しかしながら、特許文献1に記載の磁気ディスク装置では、磁気ディスク装置を使用するコンピュータシステム自体に障害が発生すると、コンピュータによる処理が停止してしまうという問題が生じてしまう。   However, in the magnetic disk device described in Patent Document 1, when a failure occurs in the computer system itself that uses the magnetic disk device, there is a problem that processing by the computer stops.

特許文献2(特開2001−297011号公報)および特許文献3(特開平6−95943号公報)には、処理を実行しているコンピュータに障害が発生してもコンピュータによる処理が停止してしまうことを防止するコンピュータシステムが記載されている。   In Patent Document 2 (Japanese Patent Laid-Open No. 2001-297011) and Patent Document 3 (Japanese Patent Laid-Open No. 6-95943), even if a computer executing the process fails, the processing by the computer stops. A computer system for preventing this is described.

特許文献2には、現用系コンピュータと、現用系コンピュータと同一のハードウェアおよび同一のソフトウェアとを備えた待機系コンピュータとからなる無停止ジョブシステムが記載されている。   Patent Document 2 describes a non-stop job system comprising an active computer and a standby computer having the same hardware and the same software as the active computer.

具体的には、現行系コンピュータは、現行系コンピュータがジョブを実行するごとに生成する処理データを自己に記憶する。待機系コンピュータは現行系コンピュータに記憶された処理データをコピーし、コピーした処理データを自己に記憶する。したがって、待機系コンピュータは現行系コンピュータのバックアップデータを記憶する。現行系コンピュータに障害が発生すると、ジョブを実行するコンピュータが、現行系コンピュータから待機系コンピュータに切り替わる。   Specifically, the current computer stores processing data generated every time the current computer executes a job. The standby computer copies the processing data stored in the current computer and stores the copied processing data in itself. Therefore, the standby computer stores the backup data of the current computer. When a failure occurs in the current computer, the computer that executes the job is switched from the current computer to the standby computer.

特許文献3には、主コンピュータと、主コンピュータと通信回線を介して接続されたバックアップ用のコンピュータとを含むコンピュータバックアップシステムが記載されている。   Patent Document 3 describes a computer backup system including a main computer and a backup computer connected to the main computer via a communication line.

具体的には、主コンピュータは、自己に格納している業務用マスタファイルの更新内容のみを示す更新ジャーナルファイルをバックアップ用のコンピュータに送信する。バックアップ用のコンピュータは、更新ジャーナルファイルを受け付けるたびに、更新ジャーナルファイルに基づいて自己に内蔵している業務用マスタファイルを更新する。したがって、バックアップ用のコンピュータは主コンピュータの業務用マスタファイルのバックアップデータを記憶することになる。主コンピュータに障害が発生すると、主コンピュータの代わりにバックアップ用のコンピュータが処理を実行する。
特開平3−271923号公報 特開2001−297011号公報 特開平6−95943号公報
Specifically, the main computer transmits an update journal file indicating only the update contents of the business master file stored therein to the backup computer. Each time a backup computer receives an update journal file, the backup computer updates the business master file built in itself based on the update journal file. Therefore, the backup computer stores the backup data of the business master file of the main computer. When a failure occurs in the main computer, the backup computer executes processing instead of the main computer.
JP-A-3-271923 JP 2001-297011 A Japanese Patent Laid-Open No. 6-95943

特許文献1に記載の磁気ディスク装置では、磁気ディスク装置を使用するコンピュータシステムに障害が発生すると、コンピュータによる処理が停止してしまうという問題が生じてしまう。   In the magnetic disk device described in Patent Document 1, when a failure occurs in a computer system that uses the magnetic disk device, there is a problem that processing by the computer stops.

特許文献2に記載の無停止ジョブシステムおよび特許文献3に記載のコンピュータバックアップシステムでは、一方のコンピュータに障害が発生しても他方のコンピュータが処理を継続して実行するため、コンピュータによる処理が停止してしまうという問題を回避することが可能となる。   In the non-stop job system described in Patent Literature 2 and the computer backup system described in Patent Literature 3, even if a failure occurs in one computer, the other computer continues to execute the processing, so the processing by the computer is stopped. This makes it possible to avoid the problem of enduring.

しかしながら、特許文献2に記載の無停止ジョブシステムでは、現行系コンピュータはジョブを実行するごとに処理データを待機系コンピュータに送信するため、待機系コンピュータに一度に送信するバックアップデータのデータ量が常に大きくなってしまうという問題が生じてしまう。   However, in the non-stop job system described in Patent Document 2, since the current computer transmits processing data to the standby computer every time a job is executed, the amount of backup data transmitted to the standby computer at all times is always constant. The problem of becoming larger arises.

また、特許文献3に記載のコンピュータバックアップシステムでは、バックアップ用のコンピュータは、更新ジャーナルファイルを受け付けるたびに、自己に内蔵している業務用マスタファイルを更新しなければならず、バックアップ用のコンピュータの負荷が大きくなってしまうという問題が生じてしまう。   Further, in the computer backup system described in Patent Document 3, every time an update journal file is received, the backup computer must update the business master file built in the backup computer file. The problem that the load becomes large arises.

本発明の目的は、コンピュータによる処理が停止することなく、バックアップ用コンピュータにデータ量の大きいバックアップ用データを送信する頻度を低くし、かつ、バックアップ用コンピュータの負荷を少なくすることが可能なコンピュータバックアップシステムおよびコンピュータバックアップ方法を提供することである。   An object of the present invention is to provide a computer backup capable of reducing the frequency of transmitting backup data having a large amount of data to the backup computer without reducing processing by the computer and reducing the load on the backup computer. A system and computer backup method is provided.

上記の目的を達成するために、本発明のコンピュータバックアップシステムは、主コンピュータと、前記主コンピュータに障害が発生した際に該主コンピュータが行う処理を実行するバックアップ用コンピュータと、前記主コンピュータおよびバックアップ用コンピュータへの入力を行なう入力用端末とを含むコンピュータバックアップシステムにおいて、前記主コンピュータは、マスタデータを格納するマスタデータ格納部と、前記入力用端末からの前記マスタデータ格納部に格納されたマスタデータを更新する旨の更新指示情報を所定の期間内でのみ受け付け、受け付けた更新指示情報に基づいて該マスタデータを更新するマスタデータ更新部と、前記マスタデータ更新部によって更新されたマスタデータの更新部分のみを示す更新情報を格納する更新情報格納部と、前記所定の期間内では前記更新情報格納部に格納された更新情報を前記バックアップ用コンピュータに送信し、前記所定の期間と異なる期間内では前記マスタデータ格納部に格納されたマスタデータを前記バックアップ用コンピュータに送信する送信部とを含み、前記バックアップ用コンピュータは、前記送信部から送信された更新情報をバックアップ更新情報として格納するバックアップ更新情報格納部と、前記送信部から送信されたマスタデータをバックアップマスタデータとして格納するバックアップマスタデータ格納部と、前記主コンピュータの障害を検出する障害検出部と、前記所定の期間内に前記障害検出部によって前記主コンピュータの障害が検出された際には、前記バックアップ更新情報格納部に格納されたバックアップ更新情報に基づいて前記バックアップマスタデータ格納部に格納されたバックアップマスタデータを更新し、その後、前記更新指示情報を受け付けると、受け付けた更新指示情報に基づいて該バックアップマスタデータを更新し、前記所定の期間と異なる期間内に前記障害検出部によって前記主コンピュータの障害が検出された際には、前記更新指示情報の受け付けを行い、受け付けた更新指示情報に基づいて前記バックアップマスタデータ格納部に格納されたバックアップマスタデータを更新するバックアップマスタデータ更新部とを含むことを特徴とする。   In order to achieve the above object, a computer backup system of the present invention includes a main computer, a backup computer that executes processing performed by the main computer when a failure occurs in the main computer, the main computer, and the backup In a computer backup system including an input terminal for performing input to a computer, the main computer includes a master data storage unit for storing master data and a master data stored in the master data storage unit from the input terminal. Update instruction information for updating data is received only within a predetermined period, a master data update unit that updates the master data based on the received update instruction information, and a master data update unit updated by the master data update unit Update information showing only the update part An update information storage unit to be stored, and update information stored in the update information storage unit within the predetermined period is transmitted to the backup computer and stored in the master data storage unit within a period different from the predetermined period A transmission unit that transmits the master data to the backup computer, wherein the backup computer stores the update information transmitted from the transmission unit as backup update information, and the transmission unit The master data transmitted from the backup master data storage unit for storing the master data as backup master data, the failure detection unit for detecting a failure of the main computer, and the failure detection unit within the predetermined period of time, the failure detection unit When detected, the backup update information is stored. Update the backup master data stored in the backup master data storage unit based on the backup update information stored in the backup update data, and then receive the update instruction information, the backup master data is updated based on the received update instruction information When the failure detection unit detects a failure of the main computer within a period different from the predetermined period, the update instruction information is received, and the backup master is based on the received update instruction information. And a backup master data update unit that updates the backup master data stored in the data storage unit.

また、本発明のコンピュータバックアップ方法は、主コンピュータと、前記主コンピュータに障害が発生した際に該主コンピュータが行う処理を実行するバックアップ用コンピュータと、前記主コンピュータおよびバックアップ用コンピュータへの入力を行なう入力用端末とを含むコンピュータバックアップシステムが行うコンピュータバックアップ方法であって、前記主コンピュータは、マスタデータを格納するマスタデータ格納部と、更新情報格納部とを含み、前記バックアップ用コンピュータは、バックアップ更新情報格納部と、バックアップマスタデータ格納部とを含み、前記主コンピュータが前記入力用端末からの前記マスタデータ格納部に格納されたマスタデータを更新する旨の更新指示情報を所定の期間内でのみ受け付け、受け付けた更新指示情報に基づいて該マスタデータを更新するマスタデータ更新ステップと、前記マスタデータ更新ステップで更新されたマスタデータの更新部分のみを示す更新情報を前記更新情報格納部に格納する更新情報格納ステップと、前記所定の期間内では前記更新情報格納部に格納された更新情報を前記バックアップ用コンピュータに送信し、前記所定の期間と異なる期間内では前記マスタデータ格納部に格納されたマスタデータを前記バックアップ用コンピュータに送信する送信ステップと、前記送信ステップで送信された更新情報をバックアップ更新情報として前記バックアップ更新情報格納部に格納するバックアップ更新情報格納ステップと、前記送信ステップで送信されたマスタデータをバックアップマスタデータとして前記バックアップマスタデータ格納部に格納するバックアップマスタデータ格納ステップと、前記主コンピュータの障害を検出する障害検出ステップと、前記所定の期間内に前記障害検出ステップで前記主コンピュータの障害が検出された際には、前記バックアップ更新情報格納部に格納されたバックアップ更新情報に基づいて前記バックアップマスタデータ格納部に格納されたバックアップマスタデータを更新し、その後、前記更新指示情報を受け付け、受け付けた更新指示情報に基づいて該バックアップマスタデータを更新し、前記所定の期間と異なる期間内に前記障害検出ステップで前記主コンピュータの障害が検出された際には、前記更新指示情報の受け付けを行い、受け付けた更新指示情報に基づいて前記バックアップマスタデータ格納部に格納されたバックアップマスタデータを更新するバックアップマスタデータ更新ステップとを含む。   Further, the computer backup method of the present invention performs input to the main computer, a backup computer that executes processing performed by the main computer when a failure occurs in the main computer, and the main computer and the backup computer. A computer backup method performed by a computer backup system including an input terminal, wherein the main computer includes a master data storage unit that stores master data and an update information storage unit, and the backup computer includes backup update Update instruction information that includes an information storage unit and a backup master data storage unit, and that the main computer updates master data stored in the master data storage unit from the input terminal only within a predetermined period Acceptance A master data update step for updating the master data based on the attached update instruction information, and update information for storing in the update information storage unit update information indicating only an update portion of the master data updated in the master data update step And storing the update information stored in the update information storage unit within the predetermined period to the backup computer, and master data stored in the master data storage unit within a period different from the predetermined period Transmitting to the backup computer, the backup update information storing step storing the update information transmitted in the transmission step as backup update information in the backup update information storage unit, and the master transmitted in the transmission step Before data as backup master data A backup master data storage step for storing in the backup master data storage unit; a failure detection step for detecting a failure of the main computer; and a failure of the main computer detected by the failure detection step within the predetermined period Updates the backup master data stored in the backup master data storage unit based on the backup update information stored in the backup update information storage unit, then receives the update instruction information, The backup master data is updated based on the update instruction information when the failure detection step detects a failure of the main computer within a period different from the predetermined period. Based on the information of the backup master data A backup master data update step for updating the backup master data stored in the storage unit.

上記の発明によれば、主コンピュータは、更新指示情報を受け付ける所定の期間内では更新情報をバックアップ用コンピュータに送信し、所定の期間と異なる期間内ではマスタデータをバックアップ用コンピュータに送信する。   According to the above invention, the main computer transmits the update information to the backup computer within a predetermined period for receiving the update instruction information, and transmits the master data to the backup computer within a period different from the predetermined period.

更新情報はマスタデータの更新部分のみを示す情報であるため、更新情報のデータ量はマスタデータのデータ量より少ない。したがって、マスタデータを更新するたびに更新後のマスタデータをバックアップ用コンピュータに送信する場合に比べて、データ量の多いデータをバックアップ用コンピュータに送信する頻度を少なくすることが可能となる。   Since the update information is information indicating only the update portion of the master data, the data amount of the update information is smaller than the data amount of the master data. Therefore, it is possible to reduce the frequency of transmitting data having a large amount of data to the backup computer as compared to the case where the updated master data is transmitted to the backup computer every time the master data is updated.

また、更新指示情報を受け付けていない期間ではマスタデータが更新されないため、主コンピュータは更新指示情報を受け付けていない期間ではマスタデータを少なくとも1回送信するだけで、バックアップ用コンピュータに最新のマスタデータを提供することが可能となる。したがって、データ量の多いデータをバックアップ用コンピュータに送信する頻度を少なくすることが可能となる。   In addition, since the master data is not updated during the period when the update instruction information is not received, the main computer transmits the master data at least once during the period when the update instruction information is not received, so that the latest master data is transmitted to the backup computer. It becomes possible to provide. Therefore, it is possible to reduce the frequency of transmitting data with a large amount of data to the backup computer.

バックアップ用コンピュータは、所定の期間と異なる期間内に障害検出部によって主コンピュータの障害が検出された際には、更新指示情報の受け付けを行い、受け付けた更新指示情報に基づいてバックアップマスタデータを更新する。このため、バックアップ用コンピュータは、所定の期間と異なる期間内に障害検出部によって主コンピュータの障害が検出された際には、バックアップ用更新情報に基づくバックアップマスタデータの更新を行う必要がないため、バックアップ用コンピュータの負荷が軽減される。   The backup computer accepts update instruction information when the failure detection unit detects a failure of the main computer within a period different from a predetermined period, and updates the backup master data based on the received update instruction information. To do. Therefore, the backup computer does not need to update the backup master data based on the backup update information when a failure of the main computer is detected by the failure detection unit within a period different from the predetermined period. The load on the backup computer is reduced.

また、上記コンピュータバックアップシステムにおいて、前記主コンピュータは、主サーバと、第1の記憶装置とを含み、前記主サーバは、前記送信部の動作を制御する送信動作制御部と、前記マスタデータ更新部とを含み、前記第1の記憶装置は、前記マスタデータ格納部と、前記更新情報格納部と、前記送信部とを含み、前記バックアップ用コンピュータは、バックアップ用サーバと、第2の記憶装置とを含み、前記バックアップ用サーバは、前記障害検出部と、前記障害検出部の検出結果に基づいて前記バックアップマスタデータ更新部の動作を制御する更新動作制御部とを含み、前記第2の記憶装置は、前記バックアップ更新情報格納部と、前記バックアップマスタデータ格納部と、前記バックアップマスタデータ更新部とを含むことが望ましい。   In the computer backup system, the main computer includes a main server and a first storage device. The main server includes a transmission operation control unit that controls the operation of the transmission unit, and the master data update unit. The first storage device includes the master data storage unit, the update information storage unit, and the transmission unit, and the backup computer includes a backup server, a second storage device, and the like. The backup server includes the failure detection unit, and an update operation control unit that controls the operation of the backup master data update unit based on a detection result of the failure detection unit, and the second storage device Includes the backup update information storage unit, the backup master data storage unit, and the backup master data update unit. It is desirable

上記の発明によれば、更新情報の送信、マスタデータの送信、バックアップマスタデータの更新が、主サーバとバックアップ用サーバの制御に基づいて、第1および第2の記憶装置によって行われる。したがって、主サーバとバックアップ用サーバによって、コンピュータバックアップシステムの動作を一元的に管理でき、主コンピュータのデータとバックアップ用コンピュータのデータとの不整合を防止し、バックアップ動作の自動化が図れる。   According to the above invention, transmission of update information, transmission of master data, and update of backup master data are performed by the first and second storage devices based on the control of the main server and the backup server. Therefore, the operation of the computer backup system can be centrally managed by the main server and the backup server, the inconsistency between the data of the main computer and the data of the backup computer can be prevented, and the backup operation can be automated.

また、第1の記憶装置が情報の送信を行うので、情報送信専用のコンピュータおよび情報送信用のアプリケーションを用いる必要がなくなる。また、システム改造時の情報送信専用のコンピュータおよび情報送信用のアプリケーションのテストを不要にでき、システムテスト工数を大幅に削減することが可能となる、
また、上記コンピュータバックアップシステムにおいて、前記主サーバは、前記主コンピュータの障害を検出する主コンピュータ障害検出部と、前記主コンピュータ障害検出部によって検出された主コンピュータの障害を前記バックアップ用コンピュータに送信する障害検出送信部とをさらに含み、前記更新動作制御部は、前記所定の期間内に前記障害検出送信部から前記主コンピュータの障害が送信された際には、前記バックアップ更新情報格納部に格納されたバックアップ更新情報に基づいて前記バックアップマスタデータ格納部に格納されたバックアップマスタデータを更新し、その後、前記更新指示情報を受け付け、受け付けた更新指示情報に基づいて該バックアップマスタデータを更新し、前記所定の期間と異なる期間内に前記障害検出送信部から前記主コンピュータの障害が送信された際には、前記更新指示情報の受け付けを行い、受け付けた更新指示情報に基づいて前記バックアップマスタデータ格納部に格納されたバックアップマスタデータを更新するように、前記バックアップマスタデータ更新部を制御することが望ましい。
Further, since the first storage device transmits information, it is not necessary to use a computer dedicated to information transmission and an application for information transmission. In addition, it is possible to eliminate the need for testing information transmission computers and information transmission applications when the system is modified, and the system test man-hours can be greatly reduced.
In the computer backup system, the main server transmits a main computer failure detection unit that detects a failure of the main computer, and a failure of the main computer detected by the main computer failure detection unit to the backup computer. A failure detection transmission unit, and the update operation control unit is stored in the backup update information storage unit when a failure of the main computer is transmitted from the failure detection transmission unit within the predetermined period. Updating the backup master data stored in the backup master data storage unit based on the backup update information, and then receiving the update instruction information, updating the backup master data based on the received update instruction information, The failure is within a period different from the predetermined period. When a failure of the main computer is transmitted from the detection transmission unit, the update instruction information is received, and the backup master data stored in the backup master data storage unit is updated based on the received update instruction information Thus, it is desirable to control the backup master data update unit.

上記の発明によれば、主コンピュータは、自己の障害をバックアップ用コンピュータに通知でき、バックアップ用コンピュータは、主コンピュータから主コンピュータの障害の通知を受けた際に、主コンピュータが行っていた処理を引き継ぐことが可能となる。   According to the above invention, the main computer can notify the backup computer of its own failure, and the backup computer performs the processing performed by the main computer when receiving the notification of the failure of the main computer from the main computer. It becomes possible to take over.

また、上記コンピュータバックアップシステムにおいて、前記主コンピュータ障害検出部は、前記主サーバと前記第1の記憶装置およびマスタデータのそれぞれのエラー情報を自己に登録しておき、前記主サーバと前記第1の記憶装置およびマスタデータのそれぞれで発生するエラーが、登録済みのエラー情報に該当する場合、前記主コンピュータの障害を検出することが望ましい。   In the computer backup system, the main computer failure detection unit registers the error information of the main server, the first storage device, and the master data with each other, and the main server and the first When an error that occurs in each of the storage device and the master data corresponds to registered error information, it is desirable to detect a failure of the main computer.

また、上記コンピュータバックアップ方法において、前記障害検出ステップは、前記主コンピュータと前記マスタデータ格納部と前記更新情報格納部のそれぞれのエラーが、登録部に予め登録されたエラー情報に該当する場合、前記主コンピュータの障害を検出することが望ましい。   Further, in the computer backup method, the failure detection step includes a case where each error of the main computer, the master data storage unit, and the update information storage unit corresponds to error information registered in advance in a registration unit, It is desirable to detect a failure of the primary computer.

上記の発明によれば、複数の観点のそれぞれ(例えば、主サーバと第1の記憶装置およびマスタデータのそれぞれ)でエラーのチェックが行える。このため、特定障害に対してきめの細かいコンピュータの切り替わりを行うことが可能となる。   According to the above invention, an error can be checked from each of a plurality of viewpoints (for example, the main server, the first storage device, and the master data). For this reason, it becomes possible to perform fine-grained switching of computers for a specific failure.

本発明によれば、主コンピュータは、更新指示情報を受け付ける所定の期間内では更新情報をバックアップ用コンピュータに送信し、所定の期間と異なる期間内ではマスタデータをバックアップ用コンピュータに送信する。このため、マスタデータを更新するたびに更新後のマスタデータをバックアップ用コンピュータに送信する場合に比べて、データ量の多いデータをバックアップ用コンピュータに送信する頻度を少なくすることが可能となる。   According to the present invention, the main computer transmits the update information to the backup computer within a predetermined period for receiving the update instruction information, and transmits the master data to the backup computer within a period different from the predetermined period. For this reason, it is possible to reduce the frequency of transmitting data having a large amount of data to the backup computer as compared to the case where the updated master data is transmitted to the backup computer every time the master data is updated.

また、更新指示情報を受け付けていない期間ではマスタデータが更新されないため、主コンピュータは更新指示情報を受け付けていない期間ではマスタデータを少なくとも1回送信するだけで、バックアップ用コンピュータに最新のマスタデータを提供することが可能となる。したがって、データ量の多いデータをバックアップ用コンピュータに送信する頻度を少なくすることが可能となる。   In addition, since the master data is not updated during the period when the update instruction information is not received, the main computer transmits the master data at least once during the period when the update instruction information is not received, so that the latest master data is transmitted to the backup computer. It becomes possible to provide. Therefore, it is possible to reduce the frequency of transmitting data with a large amount of data to the backup computer.

バックアップ用コンピュータは、所定の期間と異なる期間内に障害検出部によって主コンピュータの障害が検出された際には、バックアップ用更新情報に基づくバックアップマスタデータの更新を行う必要がないため、バックアップ用コンピュータの負荷が軽減される。   The backup computer does not need to update the backup master data based on the backup update information when a failure of the main computer is detected by the failure detection unit within a period different from the predetermined period. The load of is reduced.

以下、本発明の一実施例を図面を参照して説明する。   Hereinafter, an embodiment of the present invention will be described with reference to the drawings.

図1は、本発明の一実施例のコンピュータバックアップシステムを示したブロック図である。   FIG. 1 is a block diagram showing a computer backup system according to an embodiment of the present invention.

図1において、コンピュータバックアップシステムは、主コンピュータとしての本番系コンピュータシステム1と、コンピュータシステム1のバックアップ用コンピュータとしての遠隔地待機系コンピュータシステム2とを含む。   In FIG. 1, the computer backup system includes a production computer system 1 as a main computer and a remote standby computer system 2 as a backup computer of the computer system 1.

コンピュータシステム1は、主サーバとしてのサーバ11と、第1の記憶装置としてのストレージ12とを含む。サーバ11は、サーバ11の動作を規定するプログラムを記憶するメモリ(不図示)と、サーバ11内のメモリに記憶されたプログラムを実行することによって種々の機能を実行するコンピュータ(不図示)とを含む。   The computer system 1 includes a server 11 as a main server and a storage 12 as a first storage device. The server 11 includes a memory (not shown) that stores a program that defines the operation of the server 11, and a computer (not shown) that executes various functions by executing the program stored in the memory in the server 11. Including.

サーバ11は、運用管理サブシステム11aと、操作部11bと、出力部11cとを含む。なお、運用管理サブシステム11aは、サーバ11内のコンピュータがサーバ11内のメモリに記憶されたプログラムを実行することによって実現される。   The server 11 includes an operation management subsystem 11a, an operation unit 11b, and an output unit 11c. The operation management subsystem 11a is realized by a computer in the server 11 executing a program stored in a memory in the server 11.

運用管理サブシステム11aは、動作制御部11a1と、マスタデータ更新部11a2と、受付部11a3と、主コンピュータ障害検出部11a4と、障害検出送信部11a5と、内部時計11a6とを含む。   The operation management subsystem 11a includes an operation control unit 11a1, a master data update unit 11a2, a reception unit 11a3, a main computer failure detection unit 11a4, a failure detection transmission unit 11a5, and an internal clock 11a6.

ストレージ12は、標準ディスク12aと、複製ボリュームディスク12bと、ディスク同期部12cと、送信部12dとを含む。標準ディスク12aは、マスタDB格納部12a1と、更新ジャーナル格納部12a2とを含む。複製ボリュームディスク12bは、マスタDB格納部12b1と、更新ジャーナル格納部12b2とを含む。ディスク同期部12cは、標準ディスク12aと複製ボリュームディスク12bとを瞬時に接続し、複製ボリュームディスク12bの格納内容を標準ディスク12aの格納内容と等しくする(同期する)こと、および、標準ディスク12aと複製ボリュームディスク12bとを瞬時に切り離すことが可能である。   The storage 12 includes a standard disk 12a, a duplicate volume disk 12b, a disk synchronization unit 12c, and a transmission unit 12d. The standard disk 12a includes a master DB storage unit 12a1 and an update journal storage unit 12a2. The duplicate volume disk 12b includes a master DB storage unit 12b1 and an update journal storage unit 12b2. The disk synchronization unit 12c instantly connects the standard disk 12a and the duplicate volume disk 12b, makes the stored contents of the duplicate volume disk 12b equal (synchronizes) with the stored contents of the standard disk 12a, and the standard disk 12a. The duplicate volume disk 12b can be instantaneously disconnected.

コンピュータシステム2は、バックアップ用サーバとしてのサーバ21と、第2の記憶装置としてのストレージ22とを含む。サーバ21は、サーバ21の動作を規定するプログラムを記憶するメモリ(不図示)と、サーバ21内のメモリに記憶されたプログラムを実行することによって種々の機能を実行するコンピュータ(不図示)とを含む。   The computer system 2 includes a server 21 as a backup server and a storage 22 as a second storage device. The server 21 includes a memory (not shown) that stores a program that defines the operation of the server 21, and a computer (not shown) that executes various functions by executing the program stored in the memory in the server 21. Including.

サーバ21は、運用管理サブシステム21aと、操作部21bとを含む。なお、運用管理サブシステム21aは、サーバ21内のコンピュータがサーバ21内のメモリに記憶されたプログラムを実行することによって実現される。   The server 21 includes an operation management subsystem 21a and an operation unit 21b. The operation management subsystem 21a is realized by a computer in the server 21 executing a program stored in a memory in the server 21.

運用管理サブシステム21aは、障害検出部21a1と、動作制御部21a2と、受付部21a3と、内部時計21a4とを含む。   The operation management subsystem 21a includes a failure detection unit 21a1, an operation control unit 21a2, a reception unit 21a3, and an internal clock 21a4.

ストレージ22は、標準ディスク22aと、複製ボリュームディスク22bと、ディスク同期部22cと、受信部22dと、バックアップマスタデータ更新部22eとを含む。標準ディスク22aは、マスタDB格納部22a1と、更新ジャーナル格納部22a2とを含む。複製ボリュームディスク22bは、マスタDB格納部22b1と、更新ジャーナル格納部22b2とを含む。   The storage 22 includes a standard disk 22a, a duplicate volume disk 22b, a disk synchronization unit 22c, a reception unit 22d, and a backup master data update unit 22e. The standard disk 22a includes a master DB storage unit 22a1 and an update journal storage unit 22a2. The duplicate volume disk 22b includes a master DB storage unit 22b1 and an update journal storage unit 22b2.

サーバ11は、WAN等の通信回線を介してサーバ21と接続する。また、ストレージ12は、WAN等の通信回線を介してストレージ22と接続する。   The server 11 is connected to the server 21 via a communication line such as WAN. The storage 12 is connected to the storage 22 via a communication line such as WAN.

運用管理サブシステム11aと運用管理サブシステム21aとはサーバ11のヘルスチェック機能を有している。運用管理サブシステム11aは自己の障害時に他系切り替え指示を出力する機能を有し、運用管理サブシステム21aは自系への切り替え機能を有している。   The operation management subsystem 11 a and the operation management subsystem 21 a have a health check function of the server 11. The operation management subsystem 11a has a function of outputting an instruction for switching to another system in the event of a failure of itself, and the operation management subsystem 21a has a function of switching to the own system.

マスタDB格納部12a1は、マスタデータとしてのマスタデータベース(マスタDB)を格納する。   The master DB storage unit 12a1 stores a master database (master DB) as master data.

キーボードなどの操作部11bは、ユーザからの入力を受け付ける。   The operation unit 11b such as a keyboard receives input from the user.

例えば、操作部11bは、ユーザの操作によって入力される更新指示情報を受け付ける。また、操作部11bは、サーバ11が更新指示情報を受け付ける期間を示す期間情報を受け付ける。   For example, the operation unit 11b receives update instruction information input by a user operation. In addition, the operation unit 11b receives period information indicating a period in which the server 11 receives update instruction information.

受付部11a3は、操作部11bに入力された更新指示情報および期間情報とを受け付ける。また、受付部11a3は、サーバ11と通信回線を介して接続された入力用端末3から入力される更新指示情報および期間情報とを受け付ける。   The reception unit 11a3 receives the update instruction information and the period information input to the operation unit 11b. The receiving unit 11a3 receives update instruction information and period information input from the input terminal 3 connected to the server 11 via a communication line.

なお、受付部11a3が受け付ける更新指示情報は、マスタDB格納部12a1に格納されたマスタDBを更新するための更新指示情報である。また、サーバ11が更新指示情報を受け付ける期間は、ユーザが操作部11bまたは入力用端末3を操作することによって任意に設定される。   The update instruction information received by the receiving unit 11a3 is update instruction information for updating the master DB stored in the master DB storage unit 12a1. The period during which the server 11 receives the update instruction information is arbitrarily set by the user operating the operation unit 11b or the input terminal 3.

マスタデータ更新部11a2は、内部時計11a6の計時時刻が受付部11a3によって受け付けられた期間情報によって示される期間内の場合、受付部11a3が受け付けた更新指示情報を受け付け、受け付けた更新指示情報に基づいてマスタDB格納部12a1に格納されているマスタDBを更新する。   When the time measured by the internal clock 11a6 is within the period indicated by the period information received by the reception unit 11a3, the master data update unit 11a2 receives the update instruction information received by the reception unit 11a3 and is based on the received update instruction information. The master DB stored in the master DB storage unit 12a1 is updated.

さらに、マスタデータ更新部11a2は、マスタDB格納部12a1に格納されているマスタDBを更新した際、更新されたマスタDBの更新部分のみ示した更新情報(以下「更新ジャーナルファイル」と称する。)を更新ジャーナル格納部12a2に格納する。   Furthermore, when the master data update unit 11a2 updates the master DB stored in the master DB storage unit 12a1, update information (hereinafter referred to as “update journal file”) showing only the updated part of the updated master DB. Is stored in the update journal storage unit 12a2.

動作制御部11a1は、内部時計11a6の計時時刻が受付部11a3によって受け付けた期間情報によって示される期間内の場合、更新ジャーナル格納部12a2に格納されている更新ジャーナルファイルと同じ更新ジャーナルファイルが更新ジャーナル格納部12b2に格納されるように、ディスク同期部12cを動作させる。例えば、動作制御部11a1は、API(Application Program Interface)コマンドをディスク同期部12cに送信することによって、ディスク同期部12cを動作させる。   When the time measured by the internal clock 11a6 is within the period indicated by the period information received by the receiving unit 11a3, the operation control unit 11a1 determines that the same update journal file as the update journal file stored in the update journal storage unit 12a2 The disk synchronization unit 12c is operated so as to be stored in the storage unit 12b2. For example, the operation control unit 11a1 operates the disk synchronization unit 12c by transmitting an API (Application Program Interface) command to the disk synchronization unit 12c.

また、動作制御部11a1は、内部時計11a6の計時時刻が受付部11a3によって受け付けた期間情報によって示される期間内の場合、更新ジャーナル格納部12b2に格納されている更新ジャーナルファイルと同じ更新ジャーナルファイルが更新ジャーナル格納部22b2に格納されるように、送信部12dを動作させる。例えば、動作制御部11a1は、APIコマンドを送信部12dに送信することによって、送信部12dを動作させる。   Further, when the time measured by the internal clock 11a6 is within the period indicated by the period information received by the receiving unit 11a3, the operation control unit 11a1 has the same update journal file as the update journal file stored in the update journal storage unit 12b2. The transmission unit 12d is operated so as to be stored in the update journal storage unit 22b2. For example, the operation control unit 11a1 operates the transmission unit 12d by transmitting an API command to the transmission unit 12d.

送信部12dは、動作制御部11a1の制御により、内部時計11a6の計時時刻が受付部11a3によって受け付けた期間情報によって示される期間内の場合、受信部22dを介して更新ジャーナル格納部12b2と更新ジャーナル格納部22b2とを接続し、受付部11a3によって受け付けた期間情報によって示される期間内に更新ジャーナル格納部12b2に格納された更新ジャーナルファイルをストレージ22に送信する。   When the time measured by the internal clock 11a6 is within the period indicated by the period information received by the receiving unit 11a3 under the control of the operation control unit 11a1, the transmitting unit 12d and the update journal storage unit 12b2 and the updating journal are received via the receiving unit 22d. The storage unit 22b2 is connected, and the update journal file stored in the update journal storage unit 12b2 is transmitted to the storage 22 within the period indicated by the period information received by the reception unit 11a3.

例えば、更新ジャーナル格納部12b2および更新ジャーナル格納が複数の格納用トラックを有し、これら格納用トラックに更新ジャーナルファイルを格納している場合、送信部12dは、更新ジャーナル格納部12b2の格納されている更新ジャーナルファイルの中で、更新ジャーナル格納部22b2に格納されていない更新ジャーナルファイルを、格納用トラック単位でストレージ22に転送する。   For example, when the update journal storage unit 12b2 and the update journal storage have a plurality of storage tracks, and the update journal file is stored in these storage tracks, the transmission unit 12d stores the update journal storage unit 12b2. The update journal file that is not stored in the update journal storage unit 22b2 is transferred to the storage 22 in units of storage tracks.

したがって、更新ジャーナルファイルの転送をストレージ12が有する機能によって実現でき、更新ジャーナルファイルの転送の際に、送信専用のコンピュータおよび送信用のアプリケーションを用いる必要がなくなる。よって、業務改造時のシステムテスト工数を大幅に削減することが可能となる。   Therefore, the transfer journal file can be transferred by the function of the storage 12, and it is not necessary to use a transmission-dedicated computer and a transmission application when transferring the update journal file. Therefore, it is possible to greatly reduce the man-hours for system testing at the time of business modification.

なお、送信部12dは、動作制御部11a1の制御により、内部時計11a6の計時時刻が受付部11a3によって受け付けた期間情報によって示される期間内の場合、マスタDB格納部12b1とマスタDB格納部22b1との接続を断つ。   The transmission unit 12d controls the master DB storage unit 12b1 and the master DB storage unit 22b1 when the time measured by the internal clock 11a6 is within the period indicated by the period information received by the reception unit 11a3 under the control of the operation control unit 11a1. Disconnect the.

ディスク同期部22cは、更新ボリューム格納部22b2に格納されている更新ジャーナルファイルと同じ更新ジャーナルファイルが更新ジャーナル格納部22a2に格納されるように動作する。   The disk synchronization unit 22c operates so that the same update journal file as the update journal file stored in the update volume storage unit 22b2 is stored in the update journal storage unit 22a2.

また、動作制御部11a1は、内部時計11a6の計時時刻が受付部11a3によって受け付けた期間情報によって示される期間外の場合、マスタDB格納部12a1に格納されているマスタDBと同じマスタDBがマスタDB格納部12b1に格納されるように、ディスク同期部12cを動作させる。例えば、動作制御部11a1は、APIコマンドをディスク同期部12cに送信することによって、ディスク同期部12cを動作させる。   Further, when the time measured by the internal clock 11a6 is outside the period indicated by the period information received by the receiving unit 11a3, the operation control unit 11a1 determines that the same master DB as the master DB stored in the master DB storage unit 12a1 is the master DB. The disk synchronization unit 12c is operated so as to be stored in the storage unit 12b1. For example, the operation control unit 11a1 operates the disk synchronization unit 12c by transmitting an API command to the disk synchronization unit 12c.

なお、動作制御部11a1は、マスタDB格納部12a1に格納されているマスタDBと同じマスタDBがマスタDB格納部12b1に格納されるようにディスク同期部12cを動作させた後、更新ジャーナル格納部12a2に格納されている更新ジャーナルファイルをクリヤすることが望ましい。   The operation control unit 11a1 operates the disk synchronization unit 12c so that the same master DB as the master DB stored in the master DB storage unit 12a1 is stored in the master DB storage unit 12b1, and then the update journal storage unit It is desirable to clear the update journal file stored in 12a2.

また、動作制御部11a1は、内部時計11a6の計時時刻が受付部11a3によって受け付けた期間情報によって示される期間外の場合、マスタDB格納部12b1に格納されているマスタDBと同じマスタDBがマスタDB格納部22b1に格納されるように、送信部12dを動作させる。例えば、動作制御部11a1は、APIコマンドを送信部12dに送信することによって、送信部12dを動作させる。   Further, when the time measured by the internal clock 11a6 is outside the period indicated by the period information received by the receiving unit 11a3, the operation control unit 11a1 determines that the same master DB as the master DB stored in the master DB storage unit 12b1 is the master DB. The transmission unit 12d is operated so as to be stored in the storage unit 22b1. For example, the operation control unit 11a1 operates the transmission unit 12d by transmitting an API command to the transmission unit 12d.

送信部12dは、動作制御部11a1の制御により、内部時計11a6の計時時刻が受付部11a3によって受け付けた期間情報によって示される期間外の場合、受信部22dを介してマスタDB格納部12b1とマスタDB格納部22b1とを接続し、マスタDB格納部12b1に格納されたマスタDBをストレージ22に送信する。   The transmission unit 12d controls the master DB storage unit 12b1 and the master DB via the reception unit 22d when the time measured by the internal clock 11a6 is outside the period indicated by the period information received by the reception unit 11a3 under the control of the operation control unit 11a1. The storage unit 22b1 is connected, and the master DB stored in the master DB storage unit 12b1 is transmitted to the storage 22.

なお、送信部12dは、動作制御部11a1の制御により、内部時計11a6の計時時刻が受付部11a3によって受け付けた期間情報によって示される期間外の場合、更新ジャーナル格納部12b2と更新ジャーナル格納部22b2との接続を断つ。   The transmission unit 12d controls the update journal storage unit 12b2 and the update journal storage unit 22b2 when the time measured by the internal clock 11a6 is outside the period indicated by the period information received by the reception unit 11a3 under the control of the operation control unit 11a1. Disconnect the.

ディスク同期部22cは、マスタDB格納部22b1に格納されているマスタDBと同じマスタDBがマスタDB格納部22a1に格納されるように動作する。   The disk synchronization unit 22c operates so that the same master DB as the master DB stored in the master DB storage unit 22b1 is stored in the master DB storage unit 22a1.

主コンピュータ障害検出部11a4は、コンピュータシステム1の障害を検出する。例えば、主コンピュータ障害検出部11a4は、サーバレベル、ストレージレベル、DBレベルのそれぞれで特有のエラー情報を事前に主コンピュータ障害検出部11a4に登録しておく。主コンピュータ障害検出部11a4はサーバレベル、ストレージレベル、DBレベルのそれぞれのレベルでのエラーログ情報を取得監視し、事前に登録しておいたエラー情報と同じエラーログ情報が出現した際に、コンピュータシステム1に障害が発生したことを検出する。   The main computer failure detection unit 11a4 detects a failure of the computer system 1. For example, the main computer failure detection unit 11a4 registers error information specific to each of the server level, storage level, and DB level in the main computer failure detection unit 11a4 in advance. The main computer failure detection unit 11a4 acquires and monitors error log information at each of the server level, the storage level, and the DB level, and when the same error log information as the error information registered in advance appears, the computer The system 1 detects that a failure has occurred.

障害検出送信部11a5は、出力部11cを介して、主コンピュータ障害検出部11a4によって検出されたコンピュータシステム1の障害をサーバ21に送信する。さらに言えば、障害検出送信部11a5は、主コンピュータ障害検出部11a4によってコンピュータシステム1の障害が検出された際に、サーバ21がサーバ11にかわって処理を実行するように指示する切り替わり指示をサーバ21に送信する。   The failure detection transmission unit 11a5 transmits the failure of the computer system 1 detected by the main computer failure detection unit 11a4 to the server 21 via the output unit 11c. Furthermore, the failure detection transmission unit 11a5 provides a switching instruction that instructs the server 21 to execute processing on behalf of the server 11 when a failure of the computer system 1 is detected by the main computer failure detection unit 11a4. To 21.

なお、出力部11cは、受付部11a3によって受け付けられた期間情報をサーバ21に送信する。   The output unit 11c transmits the period information received by the receiving unit 11a3 to the server 21.

障害検出部21a1は、コンピュータシステム1の障害を検出する。   The failure detection unit 21a1 detects a failure in the computer system 1.

動作制御部21a2は、サーバ11から供給された期間情報によって示される期間内に障害検出部21a1によってコンピュータシステム1の障害が検出された際には、更新ジャーナル格納部22a2に格納された更新ジャーナルファイルに基づいてマスタDB格納部22a1に格納されたマスタDBを更新する。この更新により、マスタDB格納部22a1に格納されたマスタDBは最新の状態になる。その後、動作制御部21a2は、入力用端末3等から受付部21a3を介して供給される更新指示情報を受け付け、受け付けた更新指示情報に基づいてマスタDBを更新する。   When the failure detection unit 21a1 detects a failure in the computer system 1 within the period indicated by the period information supplied from the server 11, the operation control unit 21a2 updates the update journal file stored in the update journal storage unit 22a2. Based on the above, the master DB stored in the master DB storage unit 22a1 is updated. By this update, the master DB stored in the master DB storage unit 22a1 becomes the latest state. Thereafter, the operation control unit 21a2 receives update instruction information supplied from the input terminal 3 or the like via the reception unit 21a3, and updates the master DB based on the received update instruction information.

また、動作制御部21a2は、サーバ11から供給された期間情報によって示される期間外に障害検出部21a1によってコンピュータシステム1の障害が検出された際には、入力用端末3等から受付部21a3を介して供給される更新指示情報を受け付け、受け付けた更新指示情報に基づいてマスタDBを更新する。   In addition, when the failure detection unit 21a1 detects a failure in the computer system 1 outside the period indicated by the period information supplied from the server 11, the operation control unit 21a2 receives the reception unit 21a3 from the input terminal 3 or the like. The update instruction information supplied via the master DB is received, and the master DB is updated based on the received update instruction information.

また、動作制御部21a2は、サーバ11から供給された期間情報によって示される期間内にサーバ11からコンピュータシステム1の障害が送信された際には、更新ジャーナル格納部22a2に格納された更新ジャーナルファイルに基づいてマスタDB格納部22a1に格納されたマスタDBを更新する。この更新により、マスタDB格納部22a1に格納されたマスタDBは最新の状態になる。その後、動作制御部21a2は、入力用端末3等から受付部21a3を介して供給される更新指示情報を受け付け、受け付けた更新指示情報に基づいてマスタDBを更新する。   The operation control unit 21a2 also updates the update journal file stored in the update journal storage unit 22a2 when a failure of the computer system 1 is transmitted from the server 11 within the period indicated by the period information supplied from the server 11. Based on the above, the master DB stored in the master DB storage unit 22a1 is updated. By this update, the master DB stored in the master DB storage unit 22a1 becomes the latest state. Thereafter, the operation control unit 21a2 receives update instruction information supplied from the input terminal 3 or the like via the reception unit 21a3, and updates the master DB based on the received update instruction information.

また、動作制御部21a2は、サーバ11から供給された期間情報によって示される期間外にサーバ11からコンピュータシステム1の障害が送信された際には、入力用端末3等から受付部21a3を介して供給される更新指示情報を受け付け、受け付けた更新指示情報に基づいてマスタDBを更新する。   In addition, when the failure of the computer system 1 is transmitted from the server 11 outside the period indicated by the period information supplied from the server 11, the operation control unit 21 a 2 receives from the input terminal 3 or the like via the reception unit 21 a 3. The supplied update instruction information is received, and the master DB is updated based on the received update instruction information.

次に、動作を説明する。   Next, the operation will be described.

なお、期間情報によって設定された期間は、コンピュータシステム1が入力用端末3と接続されているオンライン期間に設定されているものとする。   It is assumed that the period set by the period information is set to an online period in which the computer system 1 is connected to the input terminal 3.

まず、コンピュータシステム1に障害が発生していない場合のオンライン期間の動作を説明する。   First, the operation during the online period when no failure has occurred in the computer system 1 will be described.

マスタファイル更新部11a2は、内部時計11a6の計時時刻が受付部11a3によって受け付けられた期間情報によって示される期間内の場合、受付部11a3が受け付けた更新指示情報を受け付け、受け付けた更新指示情報に基づいてマスタDB格納部12a1に格納されているマスタDBを更新する。   When the measured time of the internal clock 11a6 is within the period indicated by the period information received by the receiving unit 11a3, the master file update unit 11a2 receives the update instruction information received by the receiving unit 11a3, and based on the received update instruction information The master DB stored in the master DB storage unit 12a1 is updated.

さらに、マスタファイル更新部11a2は、マスタDB格納部12a1に格納されているマスタDBを更新した際、更新されたマスタDBの更新部分のみを示した更新ジャーナルファイルを更新ジャーナル格納部12a2に順次格納する。   Furthermore, when the master file update unit 11a2 updates the master DB stored in the master DB storage unit 12a1, the update journal file indicating only the updated part of the updated master DB is sequentially stored in the update journal storage unit 12a2. To do.

動作制御部11a1は、内部時計11a6の計時時刻が受付部11a3によって受け付けた期間情報によって示される期間内の場合、更新ジャーナル格納部12a2に格納されている更新ジャーナルファイルと同じ更新ジャーナルファイルが更新ジャーナル格納部12b2に格納されるように、ディスク同期部12cを動作させる。例えば、動作制御部11a1は、ディスク同期部12cに対してAPIコマンドを発行することによって、ディスク同期部12cを動作させる。   When the time measured by the internal clock 11a6 is within the period indicated by the period information received by the receiving unit 11a3, the operation control unit 11a1 determines that the same update journal file as the update journal file stored in the update journal storage unit 12a2 The disk synchronization unit 12c is operated so as to be stored in the storage unit 12b2. For example, the operation control unit 11a1 operates the disk synchronization unit 12c by issuing an API command to the disk synchronization unit 12c.

また、動作制御部11a1は、内部時計11a6の計時時刻が受付部11a3によって受け付けた期間情報によって示される期間内の場合、更新ジャーナル格納部12b2に格納されている更新ジャーナルファイルと同じ更新ジャーナルファイルが更新ジャーナル格納部22b2に格納されるように、送信部12dを動作させる。例えば、動作制御部11a1は、送信部12dに対してAPIコマンドを発行することによって、送信部12dを動作させる。   Further, when the time measured by the internal clock 11a6 is within the period indicated by the period information received by the receiving unit 11a3, the operation control unit 11a1 has the same update journal file as the update journal file stored in the update journal storage unit 12b2. The transmission unit 12d is operated so as to be stored in the update journal storage unit 22b2. For example, the operation control unit 11a1 operates the transmission unit 12d by issuing an API command to the transmission unit 12d.

ディスク同期部22cは、更新ボリューム格納部22b2に格納されている更新ジャーナルファイルと同じ更新ジャーナルファイルが更新ジャーナル格納部22a2に格納されるように動作する。   The disk synchronization unit 22c operates so that the same update journal file as the update journal file stored in the update volume storage unit 22b2 is stored in the update journal storage unit 22a2.

したがって、コンピュータシステム1に障害が発生していない場合のオンライン期間では、更新ジャーナル格納部12a2の格納内容と、更新ジャーナル格納部12b2の格納内容と、更新ジャーナル格納部22b2の格納内容と、更新ジャーナル格納部22a2の格納内容とは同じになる。   Therefore, in the online period when no failure has occurred in the computer system 1, the stored content of the update journal storage unit 12a2, the stored content of the update journal storage unit 12b2, the stored content of the update journal storage unit 22b2, and the update journal The contents stored in the storage unit 22a2 are the same.

次に、コンピュータシステム1に障害が発生していない場合の非オンライン期間(例えば、夜間)の動作を説明する。   Next, the operation during a non-online period (for example, at night) when no failure has occurred in the computer system 1 will be described.

マスタデータ更新部11a2は、内部時計11a6の計時時刻が受付部11a3によって受け付けた期間情報によって示される期間外の場合、受付部11a3より供給される更新指示情報を受け付けない。よって、この期間内は、マスタDB格納部12a1に格納されたマスタDBは更新されない。   When the time measured by the internal clock 11a6 is outside the period indicated by the period information received by the receiving unit 11a3, the master data updating unit 11a2 does not receive the update instruction information supplied from the receiving unit 11a3. Therefore, the master DB stored in the master DB storage unit 12a1 is not updated during this period.

動作制御部11a1は、内部時計11a6の計時時刻が受付部11a3によって受け付けた期間情報によって示される期間外になると直ちに、マスタDB格納部12a1に格納されているマスタDBと同じマスタDBがマスタDB格納部12b1に格納されるように、ディスク同期部12cを動作させる。例えば、動作制御部11a1は、ディスク同期部12cに対してAPIコマンドを発行することによって、ディスク同期部12cを動作させる。   The operation control unit 11a1 stores the same master DB as the master DB stored in the master DB storage unit 12a1 as soon as the time measured by the internal clock 11a6 is outside the period indicated by the period information received by the reception unit 11a3. The disk synchronization unit 12c is operated so as to be stored in the unit 12b1. For example, the operation control unit 11a1 operates the disk synchronization unit 12c by issuing an API command to the disk synchronization unit 12c.

また、動作制御部11a1は、内部時計11a6の計時時刻が受付部11a3によって受け付けた期間情報によって示される期間外になると直ちに、マスタDB格納部12b1に格納されているマスタDBと同じマスタDBがマスタDB格納部22b1に格納されるように、送信部12dを動作させる。動作制御部11a1は、送信部12dに対してAPIコマンドを発行することによって、送信部12dを動作させる。   Further, as soon as the time measured by the internal clock 11a6 is outside the period indicated by the period information received by the receiving unit 11a3, the operation control unit 11a1 acquires the same master DB as the master DB stored in the master DB storage unit 12b1. The transmission unit 12d is operated so as to be stored in the DB storage unit 22b1. The operation control unit 11a1 operates the transmission unit 12d by issuing an API command to the transmission unit 12d.

したがって、コンピュータシステム1に障害が発生していない場合の非オンライン期間では、マスタDB格納部12a1の格納内容と、マスタDB格納部12b1の格納内容と、マスタDB格納部22b1の格納内容と、マスタDB格納部22a1の格納内容とは同じになる。   Therefore, in the non-online period when no failure has occurred in the computer system 1, the stored content of the master DB storage unit 12a1, the stored content of the master DB storage unit 12b1, the stored content of the master DB storage unit 22b1, and the master The stored contents of the DB storage unit 22a1 are the same.

その後、動作制御部11a1は、更新ジャーナル格納部12aに格納されている更新ジャーナルファイルをクリヤする。   Thereafter, the operation control unit 11a1 clears the update journal file stored in the update journal storage unit 12a.

なお、送信部12dは、内部時計11a6の計時時刻が受付部11a3によって受け付けた期間情報によって示される期間外の間に1回だけマスタDBをストレージ22に送信することが望ましい。この場合、内部時計11a6の計時時刻が受付部11a3によって受け付けた期間情報によって示される期間外の間、マスタDBは更新されないので、この間にマスタDBを少なくとも1回ストレージに送信すれば、ストレージ22に最新のマスタDBを提供することが可能になるためである。したがって、データ量の多いマスタDBをバックアップ用コンピュータに送信する頻度を少なくすることが可能となる。   Note that the transmission unit 12d desirably transmits the master DB to the storage 22 only once during the time period outside the period indicated by the period information received by the reception unit 11a3. In this case, since the master DB is not updated while the time measured by the internal clock 11a6 is outside the period indicated by the period information received by the receiving unit 11a3, if the master DB is transmitted to the storage at least once during this period, This is because the latest master DB can be provided. Therefore, it is possible to reduce the frequency of transmitting the master DB having a large amount of data to the backup computer.

次に、オンライン期間内でコンピュータシステム1に障害が発生した場合の動作を説明する。   Next, an operation when a failure occurs in the computer system 1 within the online period will be described.

サーバ11から供給された期間情報によって示される期間内に障害検出部21a1によってコンピュータシステム1の障害が検出された際には、動作制御部21a2は、サーバ21を本番系のサーバに切り替える。   When a failure of the computer system 1 is detected by the failure detection unit 21a1 within the period indicated by the period information supplied from the server 11, the operation control unit 21a2 switches the server 21 to a production server.

さらに、動作制御部21a2は、更新ジャーナル格納部22a2に格納された更新ジャーナルファイルに基づいてマスタDB格納部22a1に格納されたマスタDBを更新する。その後、動作制御部21a2は、入力用端末3等から受付部21a3を介して供給される更新指示情報を受け付け、受け付けた更新指示情報に基づいてマスタDBを更新する。   Further, the operation control unit 21a2 updates the master DB stored in the master DB storage unit 22a1 based on the update journal file stored in the update journal storage unit 22a2. Thereafter, the operation control unit 21a2 receives update instruction information supplied from the input terminal 3 or the like via the reception unit 21a3, and updates the master DB based on the received update instruction information.

また、サーバ11から供給された期間情報によって示される期間内にサーバ11からコンピュータシステム1の障害が送信された際には、動作制御部21a2は、サーバ21を本番系のサーバに切り替える。   When a failure of the computer system 1 is transmitted from the server 11 within the period indicated by the period information supplied from the server 11, the operation control unit 21 a 2 switches the server 21 to a production server.

さらに、動作制御部21a2は、更新ジャーナル格納部22a2に格納された更新ジャーナルファイルに基づいてマスタDB格納部22a1に格納されたマスタDBを更新する。その後、動作制御部21a2は、入力用端末3等から受付部21a3を介して供給される更新指示情報を受け付け、受け付けた更新指示情報に基づいてマスタDBを更新する。   Further, the operation control unit 21a2 updates the master DB stored in the master DB storage unit 22a1 based on the update journal file stored in the update journal storage unit 22a2. Thereafter, the operation control unit 21a2 receives update instruction information supplied from the input terminal 3 or the like via the reception unit 21a3, and updates the master DB based on the received update instruction information.

次に、非オンライン期間内でコンピュータシステム1に障害が発生した場合の動作を説明する。   Next, an operation when a failure occurs in the computer system 1 within the non-online period will be described.

サーバ11から供給された期間情報によって示される期間外(非オンライン期間)に障害検出部21a1によってコンピュータシステム1の障害が検出された際には、動作制御部21a2は、サーバ21を本番系のサーバに切り替える。さらに、動作制御部21a2は、サーバ11から供給された期間情報によって示される期間になると、入力用端末3等から受付部21a3を介して供給される更新指示情報を受け付け、受け付けた更新指示情報に基づいてマスタDB格納部22a1に格納されているマスタDBを更新する。   When a failure of the computer system 1 is detected by the failure detection unit 21a1 outside the period indicated by the period information supplied from the server 11 (non-online period), the operation control unit 21a2 sets the server 21 as a production server Switch to. Furthermore, when the period indicated by the period information supplied from the server 11 is reached, the operation control unit 21a2 receives the update instruction information supplied from the input terminal 3 or the like via the reception unit 21a3, and the received update instruction information Based on this, the master DB stored in the master DB storage unit 22a1 is updated.

また、サーバ11から供給された期間情報によって示される期間外にサーバ11からコンピュータシステム1の障害が送信された際には、動作制御部21a2は、サーバ21を本番系のサーバに切り替える。さらに、動作制御部21a2は、サーバ11から供給された期間情報によって示される期間になると、入力用端末3等から受付部21a3を介して供給される更新指示情報を受け付け、受け付けた更新指示情報に基づいてマスタDB格納部22a1に格納されているマスタDBを更新する。   Further, when a failure of the computer system 1 is transmitted from the server 11 outside the period indicated by the period information supplied from the server 11, the operation control unit 21a2 switches the server 21 to a production server. Furthermore, when the period indicated by the period information supplied from the server 11 is reached, the operation control unit 21a2 receives the update instruction information supplied from the input terminal 3 or the like via the reception unit 21a3, and the received update instruction information Based on this, the master DB stored in the master DB storage unit 22a1 is updated.

コンピュータシステム2は、非オンライン期間内でコンピュータシステム1に障害が発生した場合、更新ジャーナルファイルに基づくマスタDBの更新を行う必要がないため、コンピュータシステム2の負荷が軽減される。   The computer system 2 does not need to update the master DB based on the update journal file when a failure occurs in the computer system 1 within the non-online period, so the load on the computer system 2 is reduced.

本実施例によれば、以下のような効果を奏する。   According to the present embodiment, the following effects can be obtained.

第1の効果は、遠隔地間での本番切り替えのためのストレージ間レベルでのデータの同期化の制御と、サーバ間レベルでの制御と、DBレベルでのリカバリ処理(更新ジャーナルファイルを用いたマスタDBの更新)とを、運用管理サブシステムにおいて一元管理することができる。ストレージレベル、サーバレベル、DBレベルでのデータの同期化とリカバリ処理を一元的に管理実施することで、データの不整合を防ぎ、自動的に対応することができる。   The first effect is that control of data synchronization at the level between storages for production switching between remote locations, control at the level between servers, and recovery processing at the DB level (using an update journal file) Master DB update) can be centrally managed in the operation management subsystem. By centrally managing the data synchronization and recovery processing at the storage level, server level, and DB level, data inconsistency can be prevented and automatically handled.

第2の効果は、運用管理者の障害対処訓練および教育が簡易化可能なことである。その理由は、コンピュータバックアップシステムが自動的にバックアップ処理を行うため、事前に運用管理者がストレージ技術やDB技術、サーバ業務技術を多くの工数をかけて習得しなくても、ある程度の技術を習得していれば本コンピュータバックアップシステムに対応可能となるためである。   The second effect is that it is possible to simplify trouble handling training and education for the operation manager. The reason is that the computer backup system automatically performs backup processing, so even if the operation administrator does not have to master storage technology, DB technology, and server business technology in advance, it will acquire a certain level of technology. This is because the computer backup system can be supported.

第3の効果は、運用管理サブシステムにおいて、サーバレベル、ストレージレベル、DBレベルでのきめ細かい特定障害に対して、本番系切り替わり処理を行うことが可能となる。その理由は、サーバ間において特定障害時には、他系サーバに対して本番系に切り替わるように指示を行い、それによりストレージレベル、DBレベルにおいても本番系に自動的に切り替わり、さらに、運用管理サブシステムにおいて、サーバレベルやストレージレベル、DBレベルでの特有エラー情報を事前登録しておき、おのおののレベルでのエラーログ情報を取得監視することで、該当エラーを検知した場合に、他系サーバに対してネットワーク経由で系切り替わり指示を行うからである。   The third effect is that the production system switching process can be performed for detailed specific failures at the server level, storage level, and DB level in the operation management subsystem. The reason is that in the event of a specific failure between servers, the other server is instructed to switch to the production system, which automatically switches to the production system at the storage level and DB level, and the operation management subsystem. In this case, the specific error information at the server level, storage level, and DB level is registered in advance, and the error log information at each level is acquired and monitored. This is because the system switching instruction is issued via the network.

第4の効果は、ストレージ12とストレージ22との間のデータの転送をストレージ12およびストレージ22とが有する機能によって実現できる。したがって、ストレージ間のデータ転送の際に、送信専用のコンピュータおよび送信用のアプリケーションを用いる必要がなくなる。よって、業務改造時のシステムテスト工数を大幅に削減することが可能となる。   The fourth effect can be realized by the functions of the storage 12 and the storage 22 for transferring data between the storage 12 and the storage 22. Therefore, it is not necessary to use a transmission-dedicated computer and a transmission application when transferring data between storages. Therefore, it is possible to greatly reduce the man-hours for system testing at the time of business modification.

第5の効果は、コンピュータによる処理が停止することなく、バックアップ用コンピュータにデータ量の大きいバックアップ用データを送信する頻度を低くし、かつ、バックアップ用コンピュータの負荷を少なくすることが可能になることである。   The fifth effect is that the frequency of transmitting backup data with a large amount of data to the backup computer can be reduced and the load on the backup computer can be reduced without stopping the processing by the computer. It is.

以上説明した実施例において、図示した構成は単なる一例であって、本発明はその構成に限定されるものではない。   In the embodiment described above, the illustrated configuration is merely an example, and the present invention is not limited to the configuration.

例えば、コンピュータシステム1に、主コンピュータ障害検知部および障害検出送信部とを設けなくてもよい。   For example, the computer system 1 may not include the main computer failure detection unit and the failure detection transmission unit.

また、コンピュータシステム1が復旧した際、ストレージ22からストレージ12にデータを戻すようにしてもよい。この場合も、ストレイジの機能によりデータの転送を行うことが可能となる。   Further, when the computer system 1 is restored, data may be returned from the storage 22 to the storage 12. In this case as well, data can be transferred by the storage function.

本発明の一実施例のコンピュータバックアップシステムを示したブロック図である。It is the block diagram which showed the computer backup system of one Example of this invention.

符号の説明Explanation of symbols

1 コンピュータシステム
11 サーバ
11a 運用管理サブシステム
11a1 動作制御部
11a2 マスタファイル更新部
11a3 受付部
11a4 主コンピュータ障害検出部
11a5 障害検出送信部
11a6 内部時計
11b 操作部
11c 出力部
12 ストレージ
12a 標準ディスク
12a1 マスタDB格納部
12a2 更新ジャーナル格納部
12b 複製ボリュームディスク
12b1 マスタDB格納部
12b2 更新ジャーナル格納部
12c ディスク同期部
12d 送信部
2 コンピュータシステム
21 サーバ
21a 運用管理サブシステム
21a1 障害検出部
21a2 動作制御部
21a3 受付部
21a4 内部時計
21b 操作部
22 ストレージ
22a 標準ディスク
22a1 マスタDB格納部
22a2 更新ジャーナル格納部
22b 複製ボリュームディスク
22b1 マスタDB格納部
22b2 更新ジャーナル格納部
22c ディスク同期部
22d 受信部
22e バックアップマスタファイル更新部
DESCRIPTION OF SYMBOLS 1 Computer system 11 Server 11a Operation management subsystem 11a1 Operation control part 11a2 Master file update part 11a3 Reception part 11a4 Main computer failure detection part 11a5 Failure detection transmission part 11a6 Internal clock 11b Operation part 11c Output part 12 Storage 12a Standard disk 12a1 Master DB Storage unit 12a2 Update journal storage unit 12b Replica volume disk 12b1 Master DB storage unit 12b2 Update journal storage unit 12c Disk synchronization unit 12d Transmission unit 2 Computer system 21 Server 21a Operation management subsystem 21a1 Failure detection unit 21a2 Operation control unit 21a3 Accepting unit 21a4 Internal clock 21b Operation unit 22 Storage 22a Standard disk 22a1 Master DB storage unit 22a2 Update journal Part 22b copy volume disc 22b1 master DB storage section 22b2 update journal storage unit 22c disk synchronization portion 22d receiving portion 22e backup master file updater

Claims (6)

主コンピュータと、前記主コンピュータに障害が発生した際に該主コンピュータが行う処理を実行するバックアップ用コンピュータと、前記主コンピュータおよびバックアップ用コンピュータへの入力を行なう入力用端末とを含むコンピュータバックアップシステムにおいて、
前記主コンピュータは、
マスタデータを格納するマスタデータ格納部と、
前記入力用端末からの前記マスタデータ格納部に格納されたマスタデータを更新する旨の更新指示情報を所定の期間内でのみ受け付け、受け付けた更新指示情報に基づいて該マスタデータを更新するマスタデータ更新部と、
前記マスタデータ更新部によって更新されたマスタデータの更新部分のみを示す更新情報を格納する更新情報格納部と、
前記所定の期間内では前記更新情報格納部に格納された更新情報を前記バックアップ用コンピュータに送信し、前記所定の期間と異なる期間内では前記マスタデータ格納部に格納されたマスタデータを前記バックアップ用コンピュータに送信する送信部とを含み、
前記バックアップ用コンピュータは、
前記送信部から送信された更新情報をバックアップ更新情報として格納するバックアップ更新情報格納部と、
前記送信部から送信されたマスタデータをバックアップマスタデータとして格納するバックアップマスタデータ格納部と、
前記主コンピュータの障害を検出する障害検出部と、
前記所定の期間内に前記障害検出部によって前記主コンピュータの障害が検出された際には、前記バックアップ更新情報格納部に格納されたバックアップ更新情報に基づいて前記バックアップマスタデータ格納部に格納されたバックアップマスタデータを更新し、その後、前記更新指示情報を受け付けると、受け付けた更新指示情報に基づいて該バックアップマスタデータを更新し、前記所定の期間と異なる期間内に前記障害検出部によって前記主コンピュータの障害が検出された際には、前記更新指示情報の受け付けを行い、受け付けた更新指示情報に基づいて前記バックアップマスタデータ格納部に格納されたバックアップマスタデータを更新するバックアップマスタデータ更新部とを含むことを特徴とするコンピュータバックアップシステム。
In a computer backup system comprising: a main computer; a backup computer that executes processing performed by the main computer when a failure occurs in the main computer; and an input terminal that performs input to the main computer and the backup computer ,
The main computer is
A master data storage for storing master data;
Master data for receiving update instruction information for updating the master data stored in the master data storage unit from the input terminal only within a predetermined period and updating the master data based on the received update instruction information Update section,
An update information storage unit for storing update information indicating only an update part of the master data updated by the master data update unit;
The update information stored in the update information storage unit is transmitted to the backup computer within the predetermined period, and the master data stored in the master data storage unit is transmitted to the backup computer within a period different from the predetermined period. A transmission unit for transmitting to a computer,
The backup computer is:
A backup update information storage unit that stores the update information transmitted from the transmission unit as backup update information;
A backup master data storage unit for storing the master data transmitted from the transmission unit as backup master data;
A failure detection unit for detecting a failure of the main computer;
When a failure of the main computer is detected by the failure detection unit within the predetermined period, the failure is stored in the backup master data storage unit based on the backup update information stored in the backup update information storage unit When the backup master data is updated and then the update instruction information is received, the backup master data is updated based on the received update instruction information, and the failure detection unit performs the main computer within a period different from the predetermined period. A backup master data update unit that receives the update instruction information and updates the backup master data stored in the backup master data storage unit based on the received update instruction information. Including a computer backup system Temu.
請求項1に記載のコンピュータバックアップシステムにおいて、
前記主コンピュータは、主サーバと、第1の記憶装置とを含み、
前記主サーバは、前記送信部の動作を制御する送信動作制御部と、前記マスタデータ更新部とを含み、
前記第1の記憶装置は、前記マスタデータ格納部と、前記更新情報格納部と、前記送信部とを含み、
前記バックアップ用コンピュータは、バックアップ用サーバと、第2の記憶装置とを含み、
前記バックアップ用サーバは、前記障害検出部と、前記障害検出部の検出結果に基づいて前記バックアップマスタデータ更新部の動作を制御する更新動作制御部とを含み、
前記第2の記憶装置は、前記バックアップ更新情報格納部と、前記バックアップマスタデータ格納部と、前記バックアップマスタデータ更新部とを含む、コンピュータバックアップシステム。
The computer backup system according to claim 1,
The main computer includes a main server and a first storage device,
The main server includes a transmission operation control unit that controls the operation of the transmission unit, and the master data update unit,
The first storage device includes the master data storage unit, the update information storage unit, and the transmission unit,
The backup computer includes a backup server and a second storage device,
The backup server includes the failure detection unit, and an update operation control unit that controls the operation of the backup master data update unit based on a detection result of the failure detection unit,
The computer storage system, wherein the second storage device includes the backup update information storage unit, the backup master data storage unit, and the backup master data update unit.
請求項2に記載のコンピュータバックアップシステムにおいて、
前記主サーバは、
前記主コンピュータの障害を検出する主コンピュータ障害検出部と、
前記主コンピュータ障害検出部によって検出された主コンピュータの障害を前記バックアップ用コンピュータに送信する障害検出送信部とをさらに含み、
前記更新動作制御部は、前記所定の期間内に前記障害検出送信部から前記主コンピュータの障害が送信された際には、前記バックアップ更新情報格納部に格納されたバックアップ更新情報に基づいて前記バックアップマスタデータ格納部に格納されたバックアップマスタデータを更新し、その後、前記更新指示情報を受け付け、受け付けた更新指示情報に基づいて該バックアップマスタデータを更新し、前記所定の期間と異なる期間内に前記障害検出送信部から前記主コンピュータの障害が送信された際には、前記更新指示情報の受け付けを行い、受け付けた更新指示情報に基づいて前記バックアップマスタデータ格納部に格納されたバックアップマスタデータを更新するように、前記バックアップマスタデータ更新部を制御する、コンピュータバックアップシステム。
The computer backup system according to claim 2,
The main server is
A main computer failure detection unit for detecting a failure of the main computer;
A failure detection transmission unit that transmits a failure of the main computer detected by the main computer failure detection unit to the backup computer;
The update operation control unit, when a failure of the main computer is transmitted from the failure detection transmission unit within the predetermined period, the backup operation information based on the backup update information stored in the backup update information storage unit Update the backup master data stored in the master data storage unit, then receive the update instruction information, update the backup master data based on the received update instruction information, and within the period different from the predetermined period When a failure of the main computer is transmitted from the failure detection transmission unit, the update instruction information is received, and the backup master data stored in the backup master data storage unit is updated based on the received update instruction information The computer that controls the backup master data update unit Data backup system.
請求項3に記載のコンピュータバックアップシステムにおいて、
前記主コンピュータ障害検出部は、前記主サーバと前記第1の記憶装置およびマスタデータのそれぞれのエラー情報を自己に登録しておき、前記主サーバと前記第1の記憶装置およびマスタデータのそれぞれで発生するエラーが、登録済みのエラー情報に該当する場合、前記主コンピュータの障害を検出する、コンピュータバックアップシステム。
The computer backup system according to claim 3,
The main computer failure detection unit registers error information of each of the main server, the first storage device, and the master data, and stores the error information in each of the main server, the first storage device, and the master data. A computer backup system for detecting a failure of the main computer when an error that occurs corresponds to registered error information.
主コンピュータと、前記主コンピュータに障害が発生した際に該主コンピュータが行う処理を実行するバックアップ用コンピュータと、前記主コンピュータおよびバックアップ用コンピュータへの入力を行なう入力用端末とを含むコンピュータバックアップシステムが行うコンピュータバックアップ方法であって、
前記主コンピュータは、マスタデータを格納するマスタデータ格納部と、更新情報格納部とを含み、前記バックアップ用コンピュータは、バックアップ更新情報格納部と、バックアップマスタデータ格納部とを含み、
前記主コンピュータが前記入力用端末からの前記マスタデータ格納部に格納されたマスタデータを更新する旨の更新指示情報を所定の期間内でのみ受け付け、受け付けた更新指示情報に基づいて該マスタデータを更新するマスタデータ更新ステップと、
前記マスタデータ更新ステップで更新されたマスタデータの更新部分のみを示す更新情報を前記更新情報格納部に格納する更新情報格納ステップと、
前記所定の期間内では前記更新情報格納部に格納された更新情報を前記バックアップ用コンピュータに送信し、前記所定の期間と異なる期間内では前記マスタデータ格納部に格納されたマスタデータを前記バックアップ用コンピュータに送信する送信ステップと、
前記送信ステップで送信された更新情報をバックアップ更新情報として前記バックアップ更新情報格納部に格納するバックアップ更新情報格納ステップと、
前記送信ステップで送信されたマスタデータをバックアップマスタデータとして前記バックアップマスタデータ格納部に格納するバックアップマスタデータ格納ステップと、
前記主コンピュータの障害を検出する障害検出ステップと、
前記所定の期間内に前記障害検出ステップで前記主コンピュータの障害が検出された際には、前記バックアップ更新情報格納部に格納されたバックアップ更新情報に基づいて前記バックアップマスタデータ格納部に格納されたバックアップマスタデータを更新し、その後、前記更新指示情報を受け付け、受け付けた更新指示情報に基づいて該バックアップマスタデータを更新し、前記所定の期間と異なる期間内に前記障害検出ステップで前記主コンピュータの障害が検出された際には、前記更新指示情報の受け付けを行い、受け付けた更新指示情報に基づいて前記バックアップマスタデータ格納部に格納されたバックアップマスタデータを更新するバックアップマスタデータ更新ステップとを含むコンピュータバックアップ方法。
A computer backup system including a main computer, a backup computer that executes processing performed by the main computer when a failure occurs in the main computer, and an input terminal that inputs data to the main computer and the backup computer A computer backup method to perform,
The main computer includes a master data storage unit that stores master data and an update information storage unit, and the backup computer includes a backup update information storage unit and a backup master data storage unit,
The main computer receives update instruction information for updating the master data stored in the master data storage unit from the input terminal only within a predetermined period, and the master data is received based on the received update instruction information. A master data update step to be updated;
An update information storage step of storing update information indicating only an update part of the master data updated in the master data update step in the update information storage unit;
The update information stored in the update information storage unit is transmitted to the backup computer within the predetermined period, and the master data stored in the master data storage unit is transmitted to the backup computer within a period different from the predetermined period. A sending step for sending to a computer;
A backup update information storage step of storing the update information transmitted in the transmission step in the backup update information storage unit as backup update information;
A backup master data storage step of storing the master data transmitted in the transmission step in the backup master data storage unit as backup master data;
A failure detection step of detecting a failure of the main computer;
When a failure of the main computer is detected in the failure detection step within the predetermined period, the failure is stored in the backup master data storage unit based on the backup update information stored in the backup update information storage unit Update the backup master data, then receive the update instruction information, update the backup master data based on the received update instruction information, and in the failure detection step within the period different from the predetermined period, the main computer A backup master data update step of receiving the update instruction information when a failure is detected, and updating the backup master data stored in the backup master data storage unit based on the received update instruction information Computer backup method.
請求項5に記載のコンピュータバックアップ方法において、
前記障害検出ステップは、前記主コンピュータと前記マスタデータ格納部と前記更新情報格納部のそれぞれのエラーが、登録部に予め登録されたエラー情報に該当する場合、前記主コンピュータの障害を検出する、コンピュータバックアップ方法。
The computer backup method according to claim 5, wherein
The failure detection step detects a failure of the main computer when errors in the main computer, the master data storage unit, and the update information storage unit correspond to error information registered in advance in a registration unit, Computer backup method.
JP2004051418A 2004-02-26 2004-02-26 Computer backup system and computer backup method Pending JP2005242652A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004051418A JP2005242652A (en) 2004-02-26 2004-02-26 Computer backup system and computer backup method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004051418A JP2005242652A (en) 2004-02-26 2004-02-26 Computer backup system and computer backup method

Publications (1)

Publication Number Publication Date
JP2005242652A true JP2005242652A (en) 2005-09-08

Family

ID=35024332

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004051418A Pending JP2005242652A (en) 2004-02-26 2004-02-26 Computer backup system and computer backup method

Country Status (1)

Country Link
JP (1) JP2005242652A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015153285A (en) * 2014-02-18 2015-08-24 日本電信電話株式会社 Redundancy database system, database device, and master changing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015153285A (en) * 2014-02-18 2015-08-24 日本電信電話株式会社 Redundancy database system, database device, and master changing method

Similar Documents

Publication Publication Date Title
US9785521B2 (en) Fault tolerant architecture for distributed computing systems
US7958210B2 (en) Update management method and update management unit
US9569480B2 (en) Method and system for stateful recovery and self-healing
US7698391B2 (en) Performing a provisioning operation associated with a software application on a subset of the nodes on which the software application is to operate
US20080281959A1 (en) Managing addition and removal of nodes in a network
KR20110044858A (en) Maintain data indetermination in data servers across data centers
WO2020172425A1 (en) System and method for self-healing in decentralized model building for machine learning using blockchain
JP5444178B2 (en) Backup / restore processing device, backup / restore processing method and program
CN111327467A (en) Server system, disaster recovery backup method thereof and related equipment
CN110865907B (en) Method and system for providing service redundancy between master server and slave server
US20120036496A1 (en) Plug-in based high availability application management framework (amf)
EP4086758A1 (en) Software update on legacy system without application disruption
US8700750B2 (en) Web deployment functions and interfaces
JP5699658B2 (en) Standby computer, cluster system, service providing method and program
CN112732492A (en) Extraction backup method and system based on cloud database
JP2005242652A (en) Computer backup system and computer backup method
US20120191645A1 (en) Information processing apparatus and database system
KR101750601B1 (en) Cluster management method and data storage system for watching state and changing form of cluster having fault tolerance
JP2007328595A (en) Server system, and synchronization method for the system
JP2009098715A (en) Redundant system device, job execution method in redundant system device, and execution program
KR102294048B1 (en) Method and system for replicating blockchain application service
JPWO2007116467A1 (en) Volume management apparatus and volume management method
JP2017228007A (en) Service continuation device, service continuation method and program
CN117493308A (en) Table-based database cluster parameter configuration method and machine-readable storage medium
Zimba et al. Failure Free Cloud Computing Architectures

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20060207