JP2003203004A - Database management method for dual system and the dual system - Google Patents

Database management method for dual system and the dual system

Info

Publication number
JP2003203004A
JP2003203004A JP2002001294A JP2002001294A JP2003203004A JP 2003203004 A JP2003203004 A JP 2003203004A JP 2002001294 A JP2002001294 A JP 2002001294A JP 2002001294 A JP2002001294 A JP 2002001294A JP 2003203004 A JP2003203004 A JP 2003203004A
Authority
JP
Japan
Prior art keywords
database
management
management system
write
managed device
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
JP2002001294A
Other languages
Japanese (ja)
Inventor
Masayoshi Kimura
匡良 木村
Mitsuru Kato
満 加藤
Kiyoshi Okada
潔 岡田
Masahito Kojima
雅人 小島
Koji Yokochi
晃司 横地
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.)
Oki Electric Industry Co Ltd
Oki Networks Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
Oki Networks Co 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 Oki Electric Industry Co Ltd, Oki Networks Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP2002001294A priority Critical patent/JP2003203004A/en
Publication of JP2003203004A publication Critical patent/JP2003203004A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To provide a technique capable of matching database of both lines without feeling the conditions of another line by updating the databases of both the lines without any communication between management systems. <P>SOLUTION: A master database 13 is provided for a management target 1. If data writing to the database 23 occurs in the management system 2 of a self line, the writing data is first written to the master database 13 and then written on the database 23 of the self line. The management target 1, after writing data to the master database 13, transmits a change notice including the writing data to a database 33 of another line to write the writing data to the database of another line. At the time of restoration time, the database is restored based on the master database 13 to match the databases 23, 33 of both the lines. <P>COPYRIGHT: (C)2003,JPO

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、2重化された管理
システムにおけるデータベース管理の方法に関するもの
である。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a database management method in a dual management system.

【0002】[0002]

【従来の技術】従来の管理システム2重化方式としては
以下の2つが挙げられる。 1.デュプレックス構成 管理システムは現用系、予備系で構成され、通常は現用
系のみを使用する。現用系でデータベースの更新が発生
した場合はその情報をその都度、又は定期的に予備系に
反映させる。現用系に障害が発生した場合は、予備系を
現用系に切り替える。 2.デュアル構成 管理システムは両系とも現用系として構成され、どちら
の系も使用することが可能である。どちらかの系でデー
タベースの更新が発生した場合は、そのデータをリアル
タイムに他系に反映させる。すなわち、自系のデータベ
ースに書き込んだ後に他系の管理システムに送信して他
系のデータベースに書き込みを行っている。片系に障害
が発生した場合は、正常な他系で業務を継続し、障害の
発生した系が障害から回復したときは、他系のデータベ
ースに基づき整合処理を行って両系のデータベースを一
致させ、業務を再開する。
2. Description of the Related Art There are the following two conventional management system duplication methods. 1. The duplex configuration management system consists of an active system and a standby system, and normally uses only the active system. When the database is updated in the active system, the information is reflected in the standby system each time or periodically. When a failure occurs in the active system, the standby system is switched to the active system. 2. Both systems of the dual configuration management system are configured as the active system, and either system can be used. When a database update occurs in either system, the data is reflected in the other system in real time. That is, after writing to the database of the own system, it is transmitted to the management system of the other system to write to the database of the other system. When a failure occurs in one system, work is continued in the normal other system, and when the failed system recovers from the failure, a matching process is performed based on the database of the other system to match the databases of both systems. And resume business.

【0003】[0003]

【発明が解決しようとする課題】上記従来のデュプレッ
クス構成においては、現用系障害時に予備系を現用系に
切り替える処理手順が必要であるため、障害発生から切
り替え完了までの間はシステムが停止状態となってしま
う問題がある。
In the above-mentioned conventional duplex configuration, since a processing procedure for switching the standby system to the active system is required when the active system fails, the system is in a stopped state from the failure occurrence to the completion of switching. There is a problem that becomes.

【0004】また、デュアル構成においては、両系運用
のため片系障害時においてもシステムが停止状態となる
ことはないが、片系運用状態からの復旧時には以下の問
題がある。 1.他系障害を他系との通信断で認識した場合、他系ダ
ウンによるものなのか、単に通信異常によるものなのか
の判断が不可能である。従って、通信異常が発生した場
合は、両系が他系を障害と認識してしまうことになる。
デュアル構成の場合、他系障害を認識した場合、他系へ
の情報の反映は行わずに各系が独立して自系のデータベ
ースを更新しながらシステムの稼働を続けるため、通信
異常の復旧による整合処理を行う際に、両系の情報とも
更新されている可能性がある。この場合、整合処理によ
り完全に両系のデータベース更新を反映させるのは困難
である。
Further, in the dual configuration, the system does not become in a stopped state even when a single system fails due to the operation of both systems, but there are the following problems when the system is restored from the single system operation state. 1. When the failure of the other system is recognized by the disconnection of the communication with the other system, it is impossible to determine whether the other system is down or simply the communication is abnormal. Therefore, when a communication error occurs, both systems will recognize the other system as a failure.
In the case of dual configuration, when another system failure is recognized, each system independently updates the database of its own system without reflecting the information to the other system and continues to operate the system. When performing the matching process, the information of both systems may have been updated. In this case, it is difficult to completely reflect the database updates of both systems by the matching process.

【0005】このようなことから、デュアル構成を採用
して片系障害時のシステム停止を回避しながらも、管理
システム間での通信を行わずに両系のデータベースを更
新するようにして、他系の状態を意識せずに両系のデー
タベースを整合させることが可能な2重化システムにお
けるデータベース管理方法及び2重化システムの開発が
望まれていた。
From the above, the dual configuration is adopted to avoid the system stop at the time of one system failure, but the databases of both systems are updated without communication between the management systems. It has been desired to develop a database management method and a duplication system in a duplication system that can match the databases of both systems without being aware of the state of the system.

【0006】[0006]

【課題を解決するための手段】本発明に係る2重化シス
テムにおけるデータベース管理方法は、管理対象装置
と、管理対象装置に接続され各々データベースを備えた
2重化された管理システムとで構成される2重化システ
ムにおけるデータベース管理方法であって、管理対象装
置にマスタデータベースを設け、自系の管理システムに
おいてデータベースへの書き込みが発生した場合、書き
込みデータをまず管理対象装置に設けたマスタデータベ
ースに書き込み、その後で自系のデータベースに書き込
むとともに、管理対象装置から他系の管理システムに対
して書き込みデータを含む変更通知を送信して他系のデ
ータベースに書き込むようにし、データベースの整合が
必要な場合には、管理対象装置のマスタデータベースに
基づいてデータベースを復旧することで両系のデータベ
ースを整合させるものである。
A database management method in a duplicated system according to the present invention comprises a device to be managed and a duplicated management system connected to the device to be managed and each provided with a database. This is a database management method in a duplicated system in which a master database is provided in the managed device, and when writing to the database occurs in the management system of its own system, the write data is first written to the master database provided in the managed device. When writing, and then writing to the own system's database, the managed device sends a change notification containing the write data to the other system's management system to write to the other system's database, and the database consistency is required. Database based on the master database of the managed device. It is intended to match both system database by recovering.

【0007】本発明においては、管理対象装置にマスタ
データベースを設ける。そして、自系の管理システムで
データベースに対するデータ書き込みが発生した場合、
その書き込みデータをまずマスタデータベースに書き込
み、その後、自系のデータベースに書き込む。管理対象
装置は、マスタデータベースにデータを書き込んだ後、
他系のデータベースに書き込みデータを含む変更通知を
送信することで他系のデータベースに書き込みデータを
書き込む。すなわち、管理システム間でデータ送受を行
うことなく両系のデータベースを更新する(一致させ
る)。そして、復旧時にはマスタデータベースに基づい
てデータベースの復旧を行い、両系のデータベースを整
合させる。
In the present invention, a master database is provided in the managed device. Then, if data writing to the database occurs in your own management system,
The write data is first written in the master database, and then written in its own database. The managed device writes the data to the master database,
The write data is written to the database of the other system by transmitting a change notification including the write data to the database of the other system. That is, the databases of both systems are updated (matched) without transmitting / receiving data between the management systems. Then, at the time of restoration, the database is restored based on the master database, and the databases of both systems are matched.

【0008】[0008]

【発明の実施の形態】図1は本発明の一実施の形態の2
重化システムの構成を示すブロック図である。この2重
化システム100は任意の独立した装置群である管理対
象1(図には1台のみを示している)と装置監視機能を
有する管理システム2,3からなる。管理対象1は通信
制御部11、データ処理部12、マスタデータベース1
3から構成される。管理システム2,3はそれぞれが独
立に動作するデュアルシステムであり、それぞれ通信制
御部21,31、データ処理部22,32、データべ−
ス23,33から構成される。管理対象1と管理システ
ム2間、管理対象1と管理システム2間は通信制御部2
1,31によってリアルタイムな通信が可能となってい
る。なお、従来と異なり、管理システム2,3間は接続
されておらず、管理システム2,3間のデータの送受は
行われない構成となっている。このように構成された2
重化システム100は、具体的には例えば高い信頼性が
要求される電話交換システムに適用され、この適用例の
場合、管理対象1に相当する交換機を、管理システム
2,3によって管理することになる。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows a second embodiment of the present invention.
It is a block diagram which shows the structure of a duplication system. The duplication system 100 includes a management target 1 (only one device is shown in the drawing) which is an arbitrary independent device group, and management systems 2 and 3 having a device monitoring function. Managed object 1 is communication control unit 11, data processing unit 12, master database 1
It consists of 3. The management systems 2 and 3 are dual systems that operate independently of each other, and include communication control units 21 and 31, data processing units 22 and 32, and data bases, respectively.
It is composed of slots 23 and 33. The communication control unit 2 is provided between the management target 1 and the management system 2 and between the management target 1 and the management system 2.
1, 31 enable real-time communication. Unlike the conventional system, the management systems 2 and 3 are not connected to each other, and data is not transmitted / received between the management systems 2 and 3. 2 configured in this way
The duplication system 100 is specifically applied to, for example, a telephone exchange system that requires high reliability. In the case of this application example, the exchanges corresponding to the managed object 1 are managed by the management systems 2 and 3. Become.

【0009】図2は本発明の一実施の形態の2重化シス
テムにおけるデータベース書き込み処理フローを示す図
である。最初に、図2の書き込み処理のデータベース書
き込み処理フローについて説明する。管理システム2の
データ処理部22にデータベース書き込みが発生した場
合、データ処理部22は、その書き込みデータを内部に
一時保持し(S1)、通信制御部21を経由して管理対
象1の通信制御部11へその書き込みデータを書き込み
要求メッセージとして送信する(S2)。管理対象1の
データ処理部12は通信制御部11が受信したメッセー
ジより事象の判定を行う。ここでは書き込み要求と判定
され、マスタデータベース13に書き込みを行う(S
3)と共に、書き込み結果を書き込み応答として通信制
御部11を経由して管理システム2の通信制御部21に
送信する(S4)。
FIG. 2 is a diagram showing a database write processing flow in the duplex system according to the embodiment of the present invention. First, the database write processing flow of the write processing of FIG. 2 will be described. When a database write occurs in the data processing unit 22 of the management system 2, the data processing unit 22 temporarily holds the write data inside (S1), and the communication control unit of the management target 1 via the communication control unit 21. The write data is sent to 11 as a write request message (S2). The data processing unit 12 of the management target 1 determines an event from the message received by the communication control unit 11. Here, it is determined to be a write request, and writing is performed in the master database 13 (S
At the same time, the write result is sent as a write response to the communication control unit 21 of the management system 2 via the communication control unit 11 (S4).

【0010】管理システム2は、通信制御部21にて書
き込み応答を受け取ると、内部に一時保持していた書き
込みデータをデータベース23に書き込み(S5)、そ
の一時保持していた書き込みデータを削除する(S
6)。
When the communication control unit 21 receives the write response, the management system 2 writes the internally stored write data in the database 23 (S5) and deletes the temporarily stored write data (S5). S
6).

【0011】一方、管理対象1のデータ処理部12は、
管理システム2に書き込み応答を送信した後、管理シス
テム3に対して通信制御部11を経由して管理システム
3の通信制御部31へ書き込みデータを含む変更通知を
送信する(S7)。
On the other hand, the data processing unit 12 of the management target 1
After transmitting the write response to the management system 2, the management system 3 transmits the change notification including the write data to the communication control unit 31 of the management system 3 via the communication control unit 11 (S7).

【0012】管理システム3のデータ処理部32は、管
理対象1から通信制御部31を介して変更通知を受信す
ると、当該変更通知に含まれる書き込みデータをデータ
ベース33に書き込む(S8)。
When the data processing unit 32 of the management system 3 receives the change notification from the management target 1 via the communication control unit 31, it writes the write data included in the change notification into the database 33 (S8).

【0013】同様に管理システム3のデータ処理部32
にデータベース書き込みが発生した場合には、管理シス
テム2のデータ処理部22にデータベース書き込みが発
生した場合と逆の方向でメッセージの送信および、デー
タベースの書き込みを行う。
Similarly, the data processing unit 32 of the management system 3
If a database write occurs, the data processing unit 22 of the management system 2 transmits a message and writes the database in the opposite direction to the case where the database write occurs.

【0014】ところで、本発明の2重化システム1はデ
ュアル構成を採用しており、その特性上、両管理システ
ム2,3においてほぼ同時に自系のデータベース書き込
み処理が発生し、管理対象1に対して同時に書き込み要
求が送信される場合が起こりえる。この場合、この2重
化システム1では、何れか一方の書き込み要求を先に受
け付け、図2のステップS6まで行ってからもう一方の
書き込み要求を受け付け、ステップS3からステップS
6の処理を行う。従って、管理システム2,3間のデー
タベース23,33に差異が生じず、整合性を維持する
ことができるようになっている。
By the way, the duplex system 1 of the present invention adopts a dual configuration. Due to its characteristic, both management systems 2 and 3 simultaneously perform their own database write processing, and the management target 1 is processed. It is possible that write requests are sent simultaneously. In this case, in the duplex system 1, one of the write requests is accepted first, the step S6 of FIG. 2 is performed, and the other write request is accepted, and the steps S3 to S are performed.
The process of 6 is performed. Therefore, there is no difference in the databases 23 and 33 between the management systems 2 and 3, and the consistency can be maintained.

【0015】このように、本実施の形態の2重化システ
ムでは、データ書き込みが発生した場合、従来のように
管理システム2,3間で書き込みデータを転送して両系
のデータベース23,33を一致させるのではなく、他
系とのデータ転送は全く行わず、管理対象1に対して書
き込みデータを送信してまずマスタデータベース13に
記憶させ、その後で管理対象1から書き込み発生元の管
理システム、該書き込み発生元に対向する系の管理シス
テムに対してそれぞれ書き込み応答、書き込みデータを
含む変更通知を送信することによって両系のデータベー
ス23,33を更新するようにしている。このため、従
来のように他系の管理システムとの「通信遮断」という
概念がなく、他系を意識することなく、ダウンした系が
独立して管理対象1のマスタデータベース13を参照し
て、データベースを復旧することが可能となる。以下、
データベース復旧に係る整合処理の流れを図3を参照し
ながら説明する。
As described above, in the duplex system of this embodiment, when data writing occurs, the write data is transferred between the management systems 2 and 3 and the databases 23 and 33 of both systems are stored as in the conventional case. Instead of matching, the data transfer with other system is not performed at all, the write data is transmitted to the management target 1 and stored in the master database 13 first, and then the management system of the write generation source from the management target 1, By transmitting a write response and a change notification including write data to the management system of the system facing the write source, the databases 23 and 33 of both systems are updated. Therefore, there is no concept of "communication cutoff" with the management system of another system as in the past, and the downed system independently refers to the master database 13 of the management target 1 without being aware of the other system, It is possible to recover the database. Less than,
The flow of the matching process related to database restoration will be described with reference to FIG.

【0016】図3はデータベース整合処理フローを示す
図である。例えば管理システム2がダウンし、データベ
ース23を復旧してデータベース33との整合を図る必
要がある場合、データ処理部22は、管理システム2の
通信制御部21を経由して管理対象1の通信制御部11
に整合要求メッセージを送信する(S11)。管理対象
1のデータ処理部12は、通信制御部11が受信したメ
ッセージより事象の判定を行い、ここでは整合要求と判
定し、マスタデータベース13から全データを読み出し
(S12)、その読み出したデータを整合応答として通
信制御部11を経由して管理システム2の通信制御部2
1に送信する(S13)。管理システム2のデータ処理
部22は通信制御部21で受信したデータを確認し(S
14)、管理システム2のデータベース23に書き込む
(S15)。これにより、データベース23がマスタデ
ータベース13に基づいて復旧され、データベース2
2,23が最新のデータに整合される。
FIG. 3 is a diagram showing a database matching processing flow. For example, when the management system 2 goes down and the database 23 needs to be restored to match the database 33, the data processing unit 22 controls the communication control of the management target 1 via the communication control unit 21 of the management system 2. Part 11
A matching request message is transmitted to (S11). The data processing unit 12 of the management target 1 determines an event from the message received by the communication control unit 11, determines that it is a matching request here, reads all data from the master database 13 (S12), and reads the read data. As a matching response, the communication control unit 2 of the management system 2 is passed via the communication control unit 11.
1 (S13). The data processing unit 22 of the management system 2 confirms the data received by the communication control unit 21 (S
14), writing to the database 23 of the management system 2 (S15). As a result, the database 23 is restored based on the master database 13, and the database 2
2, 23 are matched to the latest data.

【0017】また、管理システム3のデータベース33
をデータベース22と整合させる場合は、管理システム
2のデータ処理部22が管理システム2の通信制御部2
1を経由して管理対象1の通信制御部11に整合要求メ
ッセージを送信する。管理対象1のデータ処理部12
は、通信制御部11が受け取ったメッセージより事象の
判定を行い、ここでは整合要求と判定し、マスタデータ
ベース13から全データを読み出し、その読み出したデ
ータを通信制御部11を経由して管理システム3の通信
制御部31に送信する。管理システム3のデータ処理部
32は管理システム3の通信制御部31が受け取ったデ
ータを確認し、管理システム3のデータベース33に書
き込む。
Further, the database 33 of the management system 3
When the data is matched with the database 22, the data processing unit 22 of the management system 2 causes the communication control unit 2 of the management system 2 to
The matching request message is transmitted to the communication control unit 11 of the management target 1 via 1. Data processing unit 12 of management target 1
Judges an event from the message received by the communication control unit 11, judges that it is a matching request here, reads all data from the master database 13, and sends the read data via the communication control unit 11 to the management system 3. To the communication control unit 31. The data processing unit 32 of the management system 3 confirms the data received by the communication control unit 31 of the management system 3 and writes it in the database 33 of the management system 3.

【0018】なお、図1には、上記の説明を簡単にする
ために、管理対象1、管理システム2,3に、それぞれ
データベースを1つずつ備えた場合を例示して説明して
きたが、実際にはそれぞれ複数(なお、管理対象1、管
理システム2,3それぞれに設けられるデータベース数
は同数である)備えられており、ステップS14では、
全データベースのデータが受信できているかを確認して
いる。受信できていない場合は、ステップS11に戻
り、その受信できなかったデータベースについて整合要
求を管理対象1に送信することになる。つまり、データ
ベースの整合を行う場合には、全データベースについて
一挙に行うようになっている。
In order to simplify the above description, FIG. 1 illustrates an example in which the managed object 1 and the management systems 2 and 3 each have one database, but in practice, A plurality of databases (the number of databases provided in each of the management target 1 and the management systems 2 and 3 is the same), and in step S14,
Confirm that the data of all databases can be received. If it has not been received, the process returns to step S11, and the matching request is transmitted to the management target 1 for the database that could not be received. In other words, when performing database matching, all databases are adapted at once.

【0019】次に、データベース読み出し処理の流れを
図を参照しながら説明する。図4はデータベース読み出
し処理フローを示す図である。管理システム2のデータ
処理部22にデータベース読み出しが必要な場合には、
管理システム2のデータ処理部22がデータベース23
を読み込む(S21)。同様に、管理システム3のデー
タ処理部32にデータベース読み出しが必要な場合に
は、管理システム3のデータ処理部32がデータベース
33を読み込む。
Next, the flow of the database reading process will be described with reference to the drawings. FIG. 4 is a diagram showing a database read processing flow. When the data processing unit 22 of the management system 2 needs to read the database,
The data processing unit 22 of the management system 2 uses the database 23.
Is read (S21). Similarly, when the data processing unit 32 of the management system 3 needs to read the database, the data processing unit 32 of the management system 3 reads the database 33.

【0020】本実施の形態によれば、管理対象1にマス
タデータベース13を設け、管理システム2,3のデー
タベース23,33に書き込み処理が発生した場合、ま
ず最初にマスタデータベース13に書き込みを行い、そ
の後、管理対象1から各管理システム2,3へのデータ
送信(書き込み応答、変更通知)に基づき管理システム
2,3のデータベース23,33への書き込みを行うよ
うにしたことにより以下の効果が期待できる。
According to the present embodiment, when the master database 13 is provided in the management target 1 and the writing processing occurs in the databases 23 and 33 of the management systems 2 and 3, the master database 13 is written first, After that, the following effects are expected by performing writing to the databases 23 and 33 of the management systems 2 and 3 based on data transmission (write response, change notification) from the management target 1 to each management system 2 and 3. it can.

【0021】管理対象1のマスタデータベース13をマ
スタのデータベースとすることで、管理システム2,3
の起動時および管理システム2,3が片系運用などの特
殊な場合からの障害復旧時には、その復旧を行う管理シ
ステムが、マスタデータベース13からデータを取得す
ることで、自系のデータベースを他系のデータベースに
一致させることが可能となる。すなわち、他系の状態を
意識せずにマスタデータベース13に基づいて自系のデ
ータベースを復旧することにより両系のデータベースを
最新情報に一致させることが可能である。
By using the master database 13 of the management target 1 as a master database, the management systems 2 and 3
When starting up and when the management system 2 or 3 recovers from a special case such as single system operation, the management system performing the recovery acquires data from the master database 13 It is possible to match the database of. That is, it is possible to bring the databases of both systems into agreement with the latest information by restoring the databases of its own system based on the master database 13 without being aware of the states of the other systems.

【0022】また、両管理システム2,3においてほぼ
同時に自系のデータベース書き込み処理が発生し、管理
対象1に対して同時に書き込み要求が送信された場合、
管理対象1は、何れか一方の書き込み要求を先に受け付
け、図2のステップS6まで行ってからもう一方の書き
込み要求を受け付け、ステップS3からステップS6の
処理を行ので、管理システム2,3間のデータベース2
3,33に差異が生じず、整合性を維持することができ
る。
In addition, when the management system 1 and the management system 1 simultaneously write their own databases and write requests are sent to the management target 1 at the same time,
The management target 1 receives one of the write requests first, performs the processing up to step S6 in FIG. 2 and then receives the other write request, and performs the processing from step S3 to step S6. Database 2
There is no difference between 3 and 33, and the consistency can be maintained.

【0023】また、データベース更新時には管理対象1
のマスタデータベース13を更新し、そして、管理対象
1からの変更通知によって他系の管理システムのデータ
ベースを更新するようにしているため、従来行われてい
たデータベース更新に係る管理システム2,3間の通信
が不要となり、他系の管理システムの状態にかかわら
ず、各管理システム2,3がそれぞれ独立して管理対象
1の管理を続けることが可能となる。また、データベー
ス更新時の管理システム2,3間の通信が不要となるこ
とから、通信コストを削減することも可能となる。
When the database is updated, the management target 1
The master database 13 is updated, and the database of the other management system is updated by the change notification from the management target 1. Communication is not required, and the management systems 2 and 3 can continue to manage the management target 1 independently of each other regardless of the states of the management systems of other systems. Further, since communication between the management systems 2 and 3 at the time of updating the database becomes unnecessary, it is possible to reduce communication cost.

【0024】また、従来、管理システムにデータベース
を設けず、管理対象にのみマスタとなるデータベースを
設けるようにした技術があるが、この従来技術において
データベースの読み出しを行う場合、管理対象に設けた
マスタデータベースから読み出す必要があるためレスポ
ンスが悪い。これに対し、本発明では管理システムにも
データベースを設けるようにしたため、読み出し時には
管理システムのデータベースを使用でき、読み出し時間
を短縮することができる。また、従来技術の項で説明し
た既存のデュアル構成のシステムと比較すれば、本発明
は、既存システムにおけるデータベース読み出し速度と
変わらないデータベース読み出し速度を維持しつつ上記
効果を奏することが可能となり、非常に有益な技術であ
ると言える。
Conventionally, there is a technique in which a database is not provided in a management system, but a database serving as a master is provided only in a management target. In this conventional technique, when a database is read, the master provided in the management target is used. The response is bad because it needs to be read from the database. On the other hand, in the present invention, since the database is also provided in the management system, the database of the management system can be used during reading, and the reading time can be shortened. Further, as compared with the existing dual configuration system described in the section of the prior art, the present invention can achieve the above effect while maintaining the database read speed which is the same as the database read speed in the existing system. It can be said that this is a useful technique.

【0025】なお、上記では、管理システムを2重化し
た場合を例に示して説明したが、管理システムは他系の
管理システムの動作状況について意識することなくデー
タベースアクセスを行えるため、管理対象1側の管理シ
ステム接続可能数を増やすことで、2重化以上の多重化
が可能である。
In the above description, the case where the management system is duplicated has been described as an example, but since the management system can access the database without being aware of the operating status of the management systems of other systems, the management target 1 By increasing the number of connectable management systems on the side, it is possible to multiplex more than double.

【0026】[0026]

【発明の効果】以上詳細に説明したように、本発明によ
れば、管理対象装置にマスタデータベースを設け、デー
タベースの書き込みが発生した場合、その書き込みデー
タをまずマスタデータベースに書き込み、その後で各管
理システム間でデータ送受を行うことなく両系のデータ
ベースを更新するようにしたので、復旧時にはマスタデ
ータベースに基づいてデータベースを復旧することによ
り、他系の状態を意識せずに両系のデータベースの整合
が可能となる。
As described in detail above, according to the present invention, a master database is provided in a device to be managed, and when a database write occurs, the write data is first written in the master database and then each management is performed. Since the databases of both systems are updated without transmitting / receiving data between the systems, the database of both systems can be matched without being aware of the status of other systems by restoring the database based on the master database at the time of restoration. Is possible.

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

【図1】本発明の一実施の形態の2重化システムの構成
を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a duplex system according to an embodiment of the present invention.

【図2】データベース書き込み処理フローを示す図であ
る。
FIG. 2 is a diagram showing a database write processing flow.

【図3】データベース整合処理フローを示す図である。FIG. 3 is a diagram showing a database matching processing flow.

【図4】データベース読み出し処理フローを示す図であ
る。
FIG. 4 is a diagram showing a database read processing flow.

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

1 管理対象 2,3 管理システム 12,32 データ処理部 13 マスタデータベース 23,33 データベース 1 management target A few management systems 12,32 Data processing unit 13 Master database 23,33 database

───────────────────────────────────────────────────── フロントページの続き (72)発明者 加藤 満 東京都港区虎ノ門1丁目7番12号 沖通信 システム株式会社内 (72)発明者 岡田 潔 東京都港区虎ノ門1丁目7番12号 沖通信 システム株式会社内 (72)発明者 小島 雅人 東京都港区虎ノ門1丁目7番12号 沖通信 システム株式会社内 (72)発明者 横地 晃司 東京都港区虎ノ門1丁目7番12号 沖通信 システム株式会社内 Fターム(参考) 5B034 AA01 BB01 DD05 DD06 5B082 DE03    ─────────────────────────────────────────────────── ─── Continued front page    (72) Inventor Mitsuru Kato             1-7-12 Toranomon, Minato-ku, Tokyo Oki Communication             System Co., Ltd. (72) Inventor Kiyoshi Okada             1-7-12 Toranomon, Minato-ku, Tokyo Oki Communication             System Co., Ltd. (72) Inventor Masato Kojima             1-7-12 Toranomon, Minato-ku, Tokyo Oki Communication             System Co., Ltd. (72) Inventor Koji Yokochi             1-7-12 Toranomon, Minato-ku, Tokyo Oki Communication             System Co., Ltd. F term (reference) 5B034 AA01 BB01 DD05 DD06                 5B082 DE03

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 管理対象装置と、該管理対象装置に接続
され各々データベースを備えた2重化された管理システ
ムとで構成される2重化システムにおけるデータベース
管理方法であって、 前記管理対象装置にマスタデータベースを設け、自系の
管理システムにおいてデータベースへの書き込みが発生
した場合、書き込みデータをまず前記管理対象装置に設
けた前記マスタデータベースに書き込み、その後で自系
のデータベースに書き込むとともに、前記管理対象装置
から他系の管理システムに対して書き込みデータを含む
変更通知を送信して他系のデータベースに書き込むよう
にし、データベースの整合が必要な場合には、前記管理
対象装置のマスタデータベースに基づいてデータベース
を復旧することで両系のデータベースを整合させること
を特徴とする2重化システムにおけるデータベース管理
方法。
1. A database management method in a duplicated system comprising a managed device and a duplicated management system connected to the managed device and provided with a database, respectively. If a master database is installed in the management system and writing to the database occurs in the management system of the own system, write data is first written to the master database provided in the managed device, and then written to the database of the own system, and the management is performed. When the target device sends a change notification containing write data to the management system of other system and writes it in the database of other system, and when the database consistency is required, it is based on the master database of the managed device. Restoring the database ensures that both databases are consistent. Database management method in a duplex system according to claim.
【請求項2】 管理対象装置と、該管理対象装置に接続
され各々データベースを備えた2重化された管理システ
ムとで構成される2重化システムであって、 管理対象装置は、管理システムから受信した書き込みデ
ータを記憶するマスタデータベースと、 管理システムから受信した書き込みデータを前記マスタ
データベースに書き込む手段と、 前記マスタデータベースに前記書き込みデータを書き込
んだ書き込み結果を書き込みデータ送信元の管理システ
ムに送信するとともに、前記送信元に対向する管理シス
テムに前記書き込みデータを含む変更通知を送信する手
段と、 管理システムからの整合要求に基づいて前記マスタデー
タベース内の全データを読み出して返信する手段とを備
え、 管理システムは、自系のデータベースへの書き込みが発
生した場合にその書き込みデータを一時保持する手段
と、 前記一時保持した前記書き込みデータを管理対象装置に
送信する手段と、 管理対象装置から受信した書き込み結果に基づき、前記
一時保持した書き込みデータを自系のデータベースに書
き込む手段と、 管理対象装置から変更通知を受信した場合、該変更通知
に含まれる書き込みデータを自系のデータベースへ書き
込む手段と、 自系のデータベースを他系のデータベースと整合させる
必要がある場合、管理対象装置に整合要求を送信し、こ
の整合要求に基づく管理対象装置からのデータに基づい
て前記自系のデータベースを復旧し、他系のデータベー
スと整合させる手段とを備えたことを特徴とする2重化
システム。
2. A duplicated system comprising a managed device and a duplicated management system connected to the managed device and each having a database, wherein the managed device is a management system A master database for storing the received write data, a unit for writing the write data received from the management system to the master database, and a write result of writing the write data in the master database to the management system of the write data transmission source. Along with, a means for transmitting a change notification including the write data to a management system facing the transmission source, and means for reading out and returning all data in the master database based on a matching request from the management system, The management system can write to its own database Means for temporarily holding the write data when it occurs, a means for transmitting the temporarily held write data to the managed device, and a means for storing the temporarily held write data based on the write result received from the managed device. A means for writing to the system's database and a means for writing the write data included in the change notification to the own system's database when the change notification is received from the managed device, and the own system's database must be matched with the databases of other systems If there is, a means for transmitting a matching request to the managed device, restoring the database of the own system based on the data from the managed device based on the matching request, and matching with the database of the other system are provided. Duplex system characterized by.
JP2002001294A 2002-01-08 2002-01-08 Database management method for dual system and the dual system Pending JP2003203004A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002001294A JP2003203004A (en) 2002-01-08 2002-01-08 Database management method for dual system and the dual system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002001294A JP2003203004A (en) 2002-01-08 2002-01-08 Database management method for dual system and the dual system

Publications (1)

Publication Number Publication Date
JP2003203004A true JP2003203004A (en) 2003-07-18

Family

ID=27641459

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002001294A Pending JP2003203004A (en) 2002-01-08 2002-01-08 Database management method for dual system and the dual system

Country Status (1)

Country Link
JP (1) JP2003203004A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009211273A (en) * 2008-03-03 2009-09-17 Oki Electric Ind Co Ltd File exchange device and file exchange method in information communication system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009211273A (en) * 2008-03-03 2009-09-17 Oki Electric Ind Co Ltd File exchange device and file exchange method in information communication system

Similar Documents

Publication Publication Date Title
JP3968207B2 (en) Data multiplexing method and data multiplexing system
JP2576847B2 (en) Storage control device and related method
CN100591031C (en) Methods and apparatus for implementing a high availability fibre channel switch
US7565572B2 (en) Method for rolling back from snapshot with log
JP2894676B2 (en) Asynchronous remote copy system and asynchronous remote copy method
US7600087B2 (en) Distributed remote copy system
EP1111509B1 (en) Apparatus for enabling independent access to replicated data
US20060085610A1 (en) Computer system
JP2006277205A (en) Storage system and its control method and control program
JPH086910A (en) Cluster type computer system
CN112052127B (en) Data synchronization method and device for dual-computer hot standby environment
JP2003330781A (en) Data multiple guarantee method
JPH1115604A (en) Data multiplex method
JPH1049418A (en) Method and device for reflecting journal data, and redundant constitution type computer system
JP2003203004A (en) Database management method for dual system and the dual system
CN113297134B (en) Data processing system, data processing method and device, and electronic device
JP2001154896A (en) Computer and method for updating file
JP4131621B2 (en) Distributed mirrored disk system
JP4721057B2 (en) Data management system, data management method, and data management program
JP2004272884A (en) Data synchronization system after remote copy suspension in multiple remote storage
US20080072001A1 (en) System, Method and Computer Program Product for Copying Data
JPH11345139A (en) Non-stop type duplex system
JP2004192482A (en) Cluster computer system for specifying backup and cluster storage system
JP3254886B2 (en) Duplicated database system and operation method of the duplicated database system
JPH07262033A (en) Duplex database system and operation thereof