JPH07262033A - Duplex database system and operation thereof - Google Patents

Duplex database system and operation thereof

Info

Publication number
JPH07262033A
JPH07262033A JP6052393A JP5239394A JPH07262033A JP H07262033 A JPH07262033 A JP H07262033A JP 6052393 A JP6052393 A JP 6052393A JP 5239394 A JP5239394 A JP 5239394A JP H07262033 A JPH07262033 A JP H07262033A
Authority
JP
Japan
Prior art keywords
data processing
processing device
transmission line
data
database system
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.)
Withdrawn
Application number
JP6052393A
Other languages
Japanese (ja)
Inventor
Tetsuo Ishikawa
徹男 石川
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.)
Fuji Electric Co Ltd
Fuji Facom Corp
Original Assignee
Fuji Electric Co Ltd
Fuji Facom 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 Fuji Electric Co Ltd, Fuji Facom Corp filed Critical Fuji Electric Co Ltd
Priority to JP6052393A priority Critical patent/JPH07262033A/en
Publication of JPH07262033A publication Critical patent/JPH07262033A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Hardware Redundancy (AREA)

Abstract

PURPOSE:To suppress the increase of a CPU load at the time of occurring or recovering the fault of an active system data processor by improving the reliability of a transmission line and enabling a hard disk device to be exchanged online by duplexing an SCSI bus. CONSTITUTION:This duplex database system provided with a LAN 2 to which a computer is connected and in which data are transmitted/received from a process, duplexed data processors 51 and 52 connected to the LAN 2, and duplexed hard disk devices 34 and 35 shared by CPU 313 and 323 of the data processors 51 and 52 is provided with duplexed SCSI buses 33 and 36 connected to the data processors 51 and 52 and switches 37 and 38 for controlling the connection of the SCSI buses 33 and 36 and hard disk devices 34 and 35. By controlling the switches 37 and 38, the CPU 313 and 323 control the connecting state of the SCSI buses 33 and 36 and the hard disk devices 34 and 35.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、データベースシステム
として用いられる二重化データ処理装置の高信頼化に関
するもので、特に中央処理装置及びハードディスク装置
の二重化に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a highly reliable dual data processor used as a database system, and more particularly to a dual central processing unit and hard disk drive.

【0002】[0002]

【従来の技術】計算機を利用し、各コントローラからリ
アルタイムで集められた各種のデータは、計算機が利用
し易いデータフォーマット、例えば、ある時刻毎に整理
されたアラーム情報付きデータに纏め、計算機はこの纏
まったデータ群を一括読み込むことにより、計算機の余
計な負荷を削り、計算機の効率的な運用が行われる。こ
の様な重要なデータベースシステムに、二重化データベ
ースシステムが用いられている。
2. Description of the Related Art Various kinds of data collected from each controller in real time by using a computer are summarized in a data format which is easy for the computer to use, for example, data with alarm information arranged at a certain time. By reading the collected data group at once, unnecessary load on the computer can be reduced and the computer can be operated efficiently. A dual database system is used for such an important database system.

【0003】図6に従来技術の二重化データベースシス
テムを示す。図6において、1は計算機、2は第1伝送
路であり、ここではローカルエリアネットワーク(LAN)
(以下、第1伝送路を LANと略称する)が使用されてい
る。3は二重化データベースシステム、41〜4Nはコント
ローラである。二重化データベースシステム3は、二重
化されたデータ処理装置31,32 と、両データ処理装置3
1, 32からのデータを伝送し、ここではSCSI(Small Comp
uter System Interface) バス33で示される第2伝送路
(以下、第2伝送路をSCSIバスと略称する)と、二重化
されたハードディスク装置34,35 から構成される。
FIG. 6 shows a prior art dual database system. In FIG. 6, reference numeral 1 is a computer, and 2 is a first transmission line. Here, a local area network (LAN) is used.
(Hereinafter, the first transmission line is abbreviated as LAN). 3 is a duplicated database system, and 41 to 4N are controllers. The duplicated database system 3 includes duplicated data processing devices 31, 32 and both data processing devices 3
Transmits data from 1, 32, and here SCSI (Small Comp
computer system interface) A second transmission line indicated by a bus 33 (hereinafter, the second transmission line is abbreviated as a SCSI bus) and dual hard disk devices 34, 35.

【0004】図6において、二重化データベースシステ
ム3は、複数のコントローラ41〜4NよりLAN 2経由で送
信されたプロセスデータを、計算機の扱い易いデータに
変換し、ハードディスク装置34,35 に格納する。そし
て、計算機1よりデータ要求があれば、LAN 2経由でデ
ータを送信する。図7に、図6のデータ処理装置31,32
の詳細を示す。図7において311,321 はLAN 2に接続さ
れる LANアダプタであり、312,322 はデータ処理装置3
1,32 の内部システムバスであり、313,323 は中央処理
装置(以下、中央処理装置を CPUと略称する)であり、
314,324 はメモリであり、315,325 は上記 CPU上に搭載
されているSCSIインタフェースであり、このSCSIインタ
フェース315,325 を介してSCSIバス33が接続される。31
6,326 はローカルバスである。
In FIG. 6, the dual database system 3 converts process data transmitted from a plurality of controllers 41 to 4N via LAN 2 into data that can be easily handled by a computer and stores the data in hard disk devices 34 and 35. Then, if there is a data request from the computer 1, the data is transmitted via the LAN 2. FIG. 7 shows the data processing device 31, 32 of FIG.
Shows the details of. In FIG. 7, 311,321 are LAN adapters connected to LAN 2, and 312,322 are data processing devices 3.
1,32 are internal system buses, 313,323 are central processing units (hereinafter, the central processing unit is abbreviated as CPU),
Reference numerals 314 and 324 are memories, 315 and 325 are SCSI interfaces mounted on the CPU, and the SCSI bus 33 is connected via the SCSI interfaces 315 and 325. 31
6,326 is a local bus.

【0005】図7において、LAN 2より送信されてきた
データは、LAN アダプタ311,321 で受信し、データ処理
装置31,32 内のシステムバス312,322 経由でメモリ314,
324に格納される。CPU 313,323 はこのデータを加工す
る。図7において、データ処理装置31,32 とハードディ
スク装置34,35 は二重化されており、以下、特に断らな
ければ、データ処理装置31を稼働系、データ処理装置32
を待機系とし、また、ハードディスク装置34を稼働系、
ハードディスク装置35を待機系として説明する。
In FIG. 7, data transmitted from LAN 2 is received by LAN adapters 311, 321, and memory 314, 32 via system buses 312, 322 in data processing devices 31, 32.
Stored in 324. The CPU 313, 323 processes this data. In FIG. 7, the data processing devices 31 and 32 and the hard disk devices 34 and 35 are duplicated, and hereinafter, unless otherwise specified, the data processing device 31 is the operating system and the data processing device 32.
Is the standby system, and the hard disk device 34 is the operating system.
The hard disk device 35 will be described as a standby system.

【0006】稼働系データ処理装置31のCPU 313 は、メ
モリ314 からローカルバス316 を経由し、SCSIバス33経
由でハードディスク装置34,35 に上記加工されたデータ
を格納する。計算機1よりデータ要求があれば、CPU313
は、稼働系のハードディスク装置34よりメモリ314 にデ
ータを読み出し、LAN アダプタ311 にデータの送信を依
頼する。
The CPU 313 of the operating system data processing device 31 stores the processed data in the hard disk devices 34 and 35 from the memory 314 via the local bus 316 and the SCSI bus 33. If there is a data request from computer 1, CPU313
Reads the data from the hard disk device 34 of the operating system into the memory 314 and requests the LAN adapter 311 to transmit the data.

【0007】次に、データ処理装置31に故障が発生する
と、この故障は図示が省略されているCPU 間の第3伝送
路によってデータ処理装置32に通知され、データ処理装
置32がその処理を肩代わりする。また、ハードディスク
装置34,35 に対するデータの書き込みは、稼働側のCPU3
13 が両方のハードディスク装置34,35 に同一データを
書き込み、ハードディスク装置からのデータの読み出し
は、稼働系のハードディスク装置34からのみデータの読
み出しを行う。
Next, when a failure occurs in the data processing device 31, this failure is notified to the data processing device 32 by the third transmission line between the CPUs (not shown), and the data processing device 32 takes over the processing. To do. Also, writing data to the hard disk drives 34, 35 is done by the CPU3 on the operating side.
13 writes the same data to both hard disk devices 34 and 35, and when reading data from the hard disk device, data is read only from the active hard disk device 34.

【0008】[0008]

【発明が解決しようとする課題】この様な従来技術の二
重化データベースシステムには次の問題がある。 (1) 第2伝送路であるSCSIバスが二重化されていないた
め、SCSIバス線路に故障が発生するとシステムダウンと
なる。 (2) ハードディスク装置の故障時に良品と交換する場合
に、オンライン交換ができず、システム停止をしなけれ
ばならず、システムの稼働率が低下する。
The above-mentioned conventional dual database system has the following problems. (1) Since the SCSI bus that is the second transmission line is not duplicated, if a failure occurs in the SCSI bus line, the system will go down. (2) When a hard disk drive fails and is replaced with a non-defective product, online replacement cannot be performed and the system must be stopped, resulting in a decrease in system operation rate.

【0009】(3) 稼働系データ処理装置の故障時に、待
機系データ処理装置がこのデータ処理を引き継ぐ場合、
間違のない引き継ぎを行うために、稼働系側のCPU はハ
ードディスク装置へのデータ書き込み時に、待機系側の
CPU にも同一データを送信しているため、CPU の負荷が
増え、システム性能を低下させる。 (4) データ処理装置の一方が故障から回復し、二重化デ
ータベースシステムとして再スタートさせる時に、待機
系側のCPU の処理を稼働系側のCPU に同期化させること
が必要となり、一時的に稼働系側のCPU の負荷が増大
し、システムの性能を低下させる。
(3) When the standby data processing device takes over this data processing when the operating data processing device fails,
In order to perform a correct takeover, the CPU on the operating system side does not operate on the standby system side when writing data to the hard disk drive.
Since the same data is also sent to the CPU, the load on the CPU increases and system performance deteriorates. (4) When one of the data processing devices recovers from a failure and is restarted as a redundant database system, it is necessary to synchronize the processing of the standby side CPU with the operating side CPU. The load on the side CPU will increase, and the system performance will decline.

【0010】本発明は上記の点にかんがみてなされたも
のであり、その目的は前記した課題を解決して、第2伝
送路であるSCSIバスを二重化し、第2伝送路の故障に対
する信頼性を向上させ、ハードディスク装置の故障時の
オンライン交換を可能とし、稼働系データ処理装置の故
障時の対応や、データ処理装置が故障から回復し二重化
データベースシステムとして再スタート時のために、稼
働系のCPU と待機系のCPU との等値化や同期化を図るた
め、稼働系データ処理装置のCPU の負荷が増加するのを
抑制した二重化データベースシステムおよびその二重化
データベースシステムの運用方法を提供することにあ
る。
The present invention has been made in view of the above points, and an object thereof is to solve the above-mentioned problems and to make a SCSI bus, which is a second transmission line, redundant so as to improve reliability against a failure of the second transmission line. It is possible to perform online replacement when a hard disk device fails and to respond when the operating data processing device fails, or when the data processing device recovers from the failure and restarts as a redundant database system. To provide a dual database system that suppresses an increase in the CPU load of the active data processing device and an operating method for the dual database system in order to equalize and synchronize the CPU and the standby CPU. is there.

【0011】[0011]

【課題を解決するための手段】上記目的を達成するため
に、第1の発明においては、計算機が接続され、プロセ
スからデータが送受信される第1伝送路と、この第1伝
送路に接続され、二重化されたデータ処理装置と、この
データ処理装置の各中央処理装置が共有利用する二重化
されたハードデスク装置と、を備えた二重化データベー
スシステムにおいて、データ処理装置に接続される二重
化された第2伝送路と、この二重化された第2伝送路と
二重化されたハードデスク装置との間の接続を制御する
スイッチと、を備え、データ処理装置の中央処理装置
は、スイッチを制御して、第2伝送路とハードデスク装
置との接続状態を制御するものとする。
In order to achieve the above object, in the first invention, a computer is connected, and a first transmission line through which data is transmitted and received from a process and a first transmission line are connected. A duplicated data processing device, and a duplicated hard disk device shared by the central processing units of the data processing device, wherein a duplicated second data processing device is connected to the data processing device. The central processing unit of the data processing device controls the switch to provide a second transmission line and a switch that controls a connection between the second transmission line and the hard disk device that are duplicated. It is assumed that the connection state between the transmission line and the hard disk device is controlled.

【0012】また、第2の発明においては、スイッチ
は、発光素子と MOSトランジスタとからなる光スイッチ
素子であり、 MOSトランジスタが発光素子の非通電時に
開路状態で、通電時に閉路する光スイッチ素子と、 MOS
トランジスタが発光素子の非通電時に閉路状態で、通電
時に開路する光スイッチ素子と、からなり、発光素子の
非通電、通電の制御により、ハードデスク装置の接続
を、二重化された第2伝送路の内、一方の第2伝送路か
ら他方の第2伝送路にプッシュプルに切り替えるものと
する。
Further, in the second invention, the switch is an optical switch element comprising a light emitting element and a MOS transistor, and the MOS transistor is in an open state when the light emitting element is not energized and is closed when the light emitting element is energized. , MOS
The transistor is composed of an optical switch element which is closed when the light emitting element is not energized and is opened when energized. By controlling the deenergization and energization of the light emitting element, the hard disk device is connected to the duplicated second transmission line. Among them, the push-pull is switched from the one second transmission line to the other second transmission line.

【0013】また、第3の発明においては、スイッチ
は、発光素子と MOSトランジスタとからなる光スイッチ
素子であり、 MOSトランジスタが発光素子の非通電時に
開路状態で、通電時に閉路する光スイッチ素子と、 MOS
トランジスタが発光素子の非通電時に閉路状態で、通電
時に開路する光スイッチ素子と、からなり、発光素子の
非通電、通電の制御により、ハードデスク装置の接続
を、二重化された第2伝送路の双方から切り離すものと
する。
Further, in the third invention, the switch is an optical switch element comprising a light emitting element and a MOS transistor, and the MOS transistor is in an open state when the light emitting element is not energized and is closed when the light emitting element is energized. , MOS
The transistor is composed of an optical switch element which is closed when the light emitting element is not energized and is opened when energized. By controlling the deenergization and energization of the light emitting element, the hard disk device is connected to the duplicated second transmission line. It should be separated from both sides.

【0014】また、第4の発明においては、計算機が接
続され、プロセスからデータが送受信される第1伝送路
と、この第1伝送路に接続され、二重化されたデータ処
理装置と、このデータ処理装置の各中央処理装置が共有
利用する二重化されたハードデスク装置と、を備えた二
重化データベースシステムの運用方法において、データ
処理装置に接続される二重化された第2伝送路と、この
二重化された第2伝送路と二重化されたハードデスク装
置との間の接続を制御するスイッチと、データ処理装置
の中央処理装置間のデータ交信を行う二重化された第3
伝送路と、を備え、中央処理装置は、スイッチを制御し
て、第2伝送路とハードデスク装置との接続状態を制御
し、データ処理装置は、一方のデータ処理装置を稼働系
とし、他方のデータ処理装置を待機系とし、各中央処理
装置は、同一プログラムを実行し、ハードデスク装置へ
のデータの書き込みは、稼働系の中央処理装置のみが書
き込みを行い、書き込みのファイル単位毎に有するファ
イル更新番号を更新し、中央処理装置間では、第3伝送
路を介して、タスクの起動/完了毎に、実行タスク番号
を交換するものとする。
According to a fourth aspect of the present invention, a computer is connected to the first transmission line through which data is transmitted and received from a process, a redundant data processing device connected to the first transmission line, and the data processing unit. In a method of operating a duplicated database system including a duplicated hard desk device shared by each central processing unit of the device, a duplicated second transmission line connected to the data processing device and the duplicated second transmission line. A switch for controlling the connection between the two transmission lines and the duplicated hard disk device and a duplicated third for communicating data between the central processing unit of the data processing unit.
The central processing unit controls the switch to control the connection state between the second transmission line and the hard disk device, and the data processing unit uses one of the data processing units as an active system and the other one. The central processing unit executes the same program, and the writing of data to the hard disk unit is performed only by the central processing unit of the operating system, and each data processing unit has a file unit for writing. The file update number is updated, and the execution task numbers are exchanged between the central processing units each time the task is activated / completed via the third transmission line.

【0015】また、第5の発明においては、稼働系デー
タ処理装置が故障し、待機系データ処理装置に切り替え
るとき、待機系データ処理装置の中央処理装置は、第3
伝送路を介して受信した実行タスク番号列を基にハード
デスク装置のファイルに書き込まれた最後のファイル更
新番号をチェックし、このファイルが正常に書き込まれ
ているときはこの最後の更新番号の次の更新番号から、
また、最後のファイル更新番号のファイルが途中まで書
き込まれているときはこの最後の更新番号からファイル
の更新を行うものとする。
According to the fifth aspect of the invention, when the operating data processing device fails and is switched to the standby data processing device, the central processing device of the standby data processing device is the third processing device.
The last file update number written in the file of the hard disk drive is checked based on the execution task number string received via the transmission path, and when this file is written normally, the file next to this last update number is checked. From the update number of
Further, when the file with the last file update number is written halfway, the file is updated from this last update number.

【0016】また、第6の発明においては、故障から回
復したデータ処理装置を待機系として二重化データ処理
装置に組み込むとき、待機系データ処理装置のプログラ
ムをローディング終了後、稼働系データ処理装置の中央
処理装置は、一時、データ処理を中断し、第3伝送路を
介して稼働系データ処理装置の主記憶装置のデータを待
機系データ処理装置にコピーし、待機系データ処理装置
の中央処理装置に実行開始タスク番号を通知することに
より、二重化データベースシステムを再スタートさせる
ものとする。
According to the sixth aspect of the invention, when the data processing device recovered from the failure is incorporated into the redundant data processing device as a standby system, after the loading of the program of the standby system data processing device, the central part of the operating system data processing device is completed. The processing device temporarily suspends data processing, copies the data in the main storage device of the operating data processing device to the standby data processing device via the third transmission line, and transfers the data to the central processing device of the standby data processing device. The dual database system shall be restarted by notifying the execution start task number.

【0017】また、第7の発明においては、実行開始タ
スク番号を通知するタイミングとして、稼働系データ処
理装置の負荷が最小で、かつ、稼働系データ処理装置か
ら待機系データ処理装置への主記憶装置のデータのコピ
ー量が最小となるタイミングを稼働系データ処理装置の
中央処理装置が選択するものとする。
Further, in the seventh aspect of the invention, the timing of notifying the execution start task number is such that the load on the active data processing device is minimum and the main storage from the active data processing device to the standby data processing device. It is assumed that the central processing unit of the operating system data processing unit selects the timing when the data copy amount of the unit becomes the minimum.

【0018】[0018]

【作用】上記構成により、本発明においては、 (1) 第2伝送路SCSIバスを二重化すると共に、SCSIバス
とハードディスク装置間に半導体スイッチを設け、この
半導体スイッチを、二重化されたデータ処理装置の稼働
系・待機系の両CPU により制御できるようにした。そし
て、ハードディスク装置がどちらかのSCSIバスに接続さ
れるか、もしくは、どちらにも接続されない状態が作れ
るよう構成し、SCSIバスの二重化と、ハードディスク装
置のオンライン交換を可能にした。
According to the present invention having the above structure, (1) the second transmission path SCSI bus is duplicated, and a semiconductor switch is provided between the SCSI bus and the hard disk device. Controlled by both active and standby CPUs. The hard disk drive was configured so that it could be connected to either SCSI bus or not connected to either SCSI bus, making it possible to duplicate the SCSI bus and replace the hard disk drive online.

【0019】(2) 二重化データベースシステムが二重化
システムとして動作中に、稼働系側のCPU と待機系側の
CPU との間で、ハンドシェーク情報と、実行開始/完了
のタスク番号と、を交換すると共に、稼働系側のCPU が
ハードディスク装置にデータを書き込む際に、ファイル
単位にファイル更新番号を書き込むようにした。この結
果、データ処理を引き継ぐ待機系側のCPU は、稼働系側
のCPU から受信したタスク番号列によって、稼働系側の
CPU が最後に書き込むことになっていたファイルを知
り、実際にハードディスク装置のデータを読み、このフ
ァイルのファイル更新番号をチェックし、処理を引き継
ぐべきポイントが確認できるようにした。
(2) While the redundant database system is operating as a redundant system, the CPU on the operating system side and the standby system side
The handshake information and the task number of execution start / completion are exchanged with the CPU, and the file update number is written in file units when the operating CPU writes data to the hard disk drive. . As a result, the standby side CPU that takes over the data processing uses the task number sequence received from the active side CPU
I knew the file that the CPU was supposed to write at the end, actually read the data on the hard disk drive, checked the file update number of this file, and made it possible to confirm the point at which processing should be taken over.

【0020】この結果、二重化システムとして動作中の
二重化データベースシステムにおいて、稼働系側のCPU
がハードディスク装置にデータを書き込むときに、待機
系側のCPU に同一データを送信する必要が無くなり、稼
働系側のCPU の負荷が軽減され、システム性能の低下を
防ぐことができる。 (3) また、データ処理装置の一方が故障から回復し、二
重化データベースシステムとして再スタートさせると
き、待機系側のCPU の処理を稼働系側のCPU に同期させ
るため、同期化するタイミングを上述の実行開始のタス
ク番号の通知によって行うと共に、同期化のための稼働
系側のCPU の負荷が最小になるように、通知のタイミン
グを選ぶようにしたので、同期化時に、一時的にシステ
ム性能が低下することを防ぐことができる。
As a result, in the redundant database system operating as the redundant system, the CPU on the operating system side
When writing data to the hard disk device, it is not necessary to send the same data to the CPU on the standby side, the load on the CPU on the operating side is reduced, and system performance can be prevented from decreasing. (3) Also, when one of the data processing devices recovers from a failure and is restarted as a duplicated database system, the processing of the standby side CPU is synchronized with the operating side CPU. This is done by notifying the task number of the start of execution, and the notification timing is selected so that the load on the CPU of the operating system for synchronization is minimized. It can be prevented from falling.

【0021】[0021]

【実施例】図1は本発明による一実施例の二重化データ
ベースシステムのブロック回路図、図2は切り替えスイ
ッチ回路部分の詳細図、図3は第二の実施例の二重化デ
ータベースシステムのブロック回路図、図4はオペレー
ティングシステム(OS)の動作を説明する説明図、図5
は一実施例としてのタスク番号の構成図であり、図6、
図7に対応する同一機能部材には同じ符号が付してあ
る。
FIG. 1 is a block circuit diagram of a dual database system according to an embodiment of the present invention, FIG. 2 is a detailed view of a changeover switch circuit portion, and FIG. 3 is a block circuit diagram of a dual database system according to a second embodiment. FIG. 4 is an explanatory diagram for explaining the operation of the operating system (OS), and FIG.
FIG. 6 is a configuration diagram of task numbers as an example, and FIG.
The same functional members corresponding to FIG. 7 are denoted by the same reference numerals.

【0022】図1は、データ処理装置51,52 の詳細を示
し、従来技術で説明した図7に示されるブロック回路図
に、DO 317,327と、SCSIインタフェース318,328 と、切
り替えスイッチ37,38 と、切り替えスイッチの制御信号
線39,40 と、が追加されている。第一の実施例の切替え
スイッチ部の詳細を図2に示す。図2において、SW1 〜
SW4 は、発光素子と MOSトランジスタとからなる光スイ
ッチ素子であり、通称フォトモスリレーと呼ばれるもの
である。図2の実施例では4個だけを図示しているが、
実際にはSCSIバス33,36 の1信号線当たり1個のフォト
モスリレーを使用する。SCSIバス33,36 には合計18本の
信号線があるので、実際にはSW1 〜SW4 としてそれぞれ
18個、合計72個のフォトモスリレーを使用する。
FIG. 1 shows the details of the data processing devices 51, 52. In the block circuit diagram shown in FIG. 7 explained in the prior art, DO 317, 327, SCSI interfaces 318, 328, changeover switches 37, 38, and changeover switches 37, 38 are selected. The switch control signal lines 39 and 40 are added. The details of the changeover switch unit of the first embodiment are shown in FIG. In FIG. 2, SW1 ~
SW4 is an optical switch element consisting of a light emitting element and a MOS transistor, and is commonly called a photomos relay. Although only four are shown in the embodiment of FIG. 2,
Actually, one photomos relay is used for each signal line of the SCSI buses 33 and 36. Since the SCSI buses 33 and 36 have a total of 18 signal lines, they are actually SW1-SW4.
A total of 72 photo mos relays will be used.

【0023】二重化されたSCSIバス33,36 において、シ
ステムのデフォルト設定でSCSIバス33を稼働系、SCSIバ
ス36を待機系とすれば、SW1,SW3 の合計36個のフォトモ
スリレーはノーマリオン、SW2,SW4 の合計36個のフォト
モスリレーはノーマリオフ動作の光スイッチ素子を使用
する。これらの特性のフォトモスリレーは、例えば、MO
Sトランジスタとして、デプレッション型の MOSトラン
ジスタ及びエンハンスメント型の MOSトランジスタを用
いて、発光素子が非通電時に導通状態(ノーマリオ
ン)、或いは、発光素子が非通電時に開路状態(ノーマ
リオフ)を構成することができる。
In the redundant SCSI buses 33, 36, if the SCSI bus 33 is set as an active system and the SCSI bus 36 is set as a standby system in the system default settings, a total of 36 photomos relays of SW1 and SW3 are normally on, A total of 36 photomos relays of SW2 and SW4 use normally-off optical switch elements. Photomos relays with these characteristics are, for example, MO
A depletion type MOS transistor and an enhancement type MOS transistor can be used as the S-transistor to form a conductive state (normally on) when the light emitting element is not energized or an open state (normally off) when the light emitting element is not energized. it can.

【0024】切り替えスイッチの制御信号線39,40 は、
それぞれ4本の信号線CTL1〜CTL4が用意されており、切
り替えスイッチ部で図示されるように、ワイヤードオア
の接続が行われる。そして、この4本の信号線の1本で
前述の18個のフォトモスリレーをドライブする。CPU 31
3,323 のDO 317,327には、図2に示すドライバTR1,TR2
が用意され、(R1,R2 は電流制限抵抗)1個のドライバ
で18個のフォトモスリレーをドライブする。DO 317,3
27には、それぞれ4個のドライバが実装され、稼働系の
CPU のみがドライブできる。
The control signal lines 39 and 40 of the changeover switch are
Four signal lines CTL1 to CTL4 are prepared respectively, and wired OR connection is performed as shown in the changeover switch section. Then, one of these four signal lines drives the 18 photomos relays described above. CPU 31
DO 317,327 of 3,323 has drivers TR1, TR2 shown in FIG.
Is prepared (R1 and R2 are current limiting resistors) and one driver drives 18 photomos relays. DO 317,3
Four drivers are mounted on each 27,
Only CPU can drive.

【0025】上記構成において、二重化されたSCSIバス
33,36 の切替えは次のように行う。今、33を稼働系、36
を待機系とすれば、通常の運転状態では、SW1,SW3 の合
計36個のフォトモスリレーはノーマリオン、SW2,SW4 の
合計36個のフォトモスリレーはノーマリオフなので、ハ
ードディスク装置34,35 は、共にSCSIバス33に接続され
た状態で動作する。この時、CTL1〜CTL4の制御ラインは
すべて非ドライブ状態であり、フォトモスリレーの電流
はすべてオフとなっている。これは、消費電力の低減と
共にフォトモスリレーの長寿命化につながる。
In the above configuration, a dual SCSI bus
Switching between 33 and 36 is done as follows. Now, 33 is in operation, 36
As a standby system, in the normal operating state, the total 36 photo MOS relays of SW1 and SW3 are normally on, and the total 36 photo MOS relays of SW2 and SW4 are normally off, so the hard disk drives 34 and 35 are Both operate while connected to the SCSI bus 33. At this time, the control lines of CTL1 to CTL4 are all in the non-driving state, and the current of the photomos relay is all off. This leads to a reduction in power consumption and a longer life of the photoMOS relay.

【0026】この状態で、図1のSCSIインタフェース31
5,325 、SCSIバス(ケーブル)33、もしくはハードディ
スク装置34,35 のSCSIインタフェースのいずれかに異常
が発生すると、稼働系のCPU はハードディスク装置34,3
5 の双方をアクセスできなくなる。このような場合は、
まず、ハードディスク装置34をSCSIバス33から切離し、
正常に復帰するかどうかチェックする。次にハードディ
スク装置35をSCSIバス33から切離し、正常に復帰するか
どうかチェックする。いずれにおいても正常に復帰しな
い場合は、SCSIバス33からSCSIバス36に切り換える。
In this state, the SCSI interface 31 of FIG.
If any of the 5,325, SCSI bus (cable) 33, or the SCSI interface of the hard disk drive 34,35 fails, the CPU in the operating system will use the hard disk drive 34,3.
Both sides of 5 become inaccessible. In this case,
First, disconnect the hard disk drive 34 from the SCSI bus 33,
Check if it returns to normal. Next, the hard disk device 35 is disconnected from the SCSI bus 33, and it is checked whether or not it returns to normal. If neither returns to normal, the SCSI bus 33 is switched to the SCSI bus 36.

【0027】ハードディスク装置34をSCSIバス33から切
離すには、制御信号線CTL1をドライブする。また、ハー
ドディスク装置35をSCSIバス33から切離すには、制御信
号線CTL3をドライブする。また、SCSIバスを切り換える
には、制御信号線CTL1〜CTL4のすべてをドライブすれば
よい。このとき、SW1,SW3 の36個のフォトモスリレーは
すべてオフ、SW2,SW4 の36個のフォトモスリレーはすべ
てオンとなる。
To disconnect the hard disk device 34 from the SCSI bus 33, the control signal line CTL1 is driven. Further, to disconnect the hard disk device 35 from the SCSI bus 33, the control signal line CTL3 is driven. To switch the SCSI bus, all the control signal lines CTL1 to CTL4 should be driven. At this time, all 36 photomos relays of SW1 and SW3 are off, and all 36 photomos relays of SW2 and SW4 are on.

【0028】図1における2本のSCSIバス33,36 の終端
処理については、特願平5-159310ハードディスクシステ
ムで提案中の方法により、各SCSIバス毎に、CPU ボード
のSCSIインタフェース315,325 、318,328 への接続コネ
クタ上に終端抵抗を実装し、CPU 313,323 とハードディ
スク装置34,35 の双方からダイオードを介して直流電源
を供給する。この結果、例えば、CPU のSCSIインタフェ
ース側の電源電圧喪失などに対しても、SCSIバスを正常
な動作電圧範囲に維持することができる。
Regarding the termination processing of the two SCSI buses 33, 36 in FIG. 1, the SCSI interfaces 315, 325, 318, 328 of the CPU board are arranged for each SCSI bus by the method proposed in Japanese Patent Application No. 5-159310. A terminating resistor is mounted on the connection connector of and the DC power is supplied from both the CPU 313, 323 and the hard disk drive 34, 35 through the diode. As a result, the SCSI bus can be maintained in the normal operating voltage range even if the power supply voltage on the SCSI interface side of the CPU is lost, for example.

【0029】ハードディスク装置のオンライン交換は、
ハードディスク装置34又はハードディスク装置35をSCSI
バス33,36 の双方から切り離した状態で行う。ハードデ
ィスクの切り離し方法は前述した如く、例えば、ハード
ディスク装置34をSCSIバス33から切離すときは、制御信
号線CTL1をドライブし、また、ハードディスク装置35を
SCSIバス33から切離すには、制御信号線CTL3をドライブ
すればよい。
Online replacement of the hard disk drive
SCSI hard disk device 34 or hard disk device 35
This is done with both buses 33 and 36 disconnected. The hard disk disconnection method is as described above. For example, when disconnecting the hard disk device 34 from the SCSI bus 33, the control signal line CTL1 is driven, and the hard disk device 35 is disconnected.
To disconnect from the SCSI bus 33, drive the control signal line CTL3.

【0030】本発明の第二の実施例を図3に示す。図3
は、データ処理装置53,54 の他実施例の詳細を示し、図
1に示したブロック回路図に、第3の伝送路であるCPU
間通信チャネル319,329 と、二重化されたCPU 間通信線
路330,331 が追加されている。図3では、CPU 間通信チ
ャネルは、システムバス312,322 上に搭載しているが、
これはCPU 313,323 の負荷を軽減するためであり、CPU
313,323 の能力が許せば、CPU 313,323 上に搭載しても
よい。
A second embodiment of the present invention is shown in FIG. Figure 3
Shows details of another embodiment of the data processing devices 53 and 54, and in the block circuit diagram shown in FIG.
The inter-communication channels 319 and 329 and the redundant inter-CPU communication lines 330 and 331 are added. In Fig. 3, the inter-CPU communication channel is installed on the system buses 312 and 322.
This is to reduce the load on the CPU 313,323.
If the capacity of 313,323 permits, it may be mounted on CPU 313,323.

【0031】図3において、データ処理装置53,54 では
次のような処理が実行される。第1伝送路2(LAN) 経由
でLAN アダプタ311,321 が受信したデータは、システム
バス312,322 経由でメモリ314,324 に格納される。稼働
系・待機系のCPU 313,323 はこのデータを加工するが、
稼働系のCPU 313 だけがローカルバス316 、SCSIインタ
フェース315,318 、SCSIバス33,36 を経由して、切り替
えスイッチ37,38 で稼働系側のSCSIバスの選択を得て、
上述の加工されたデータがハードディスク装置34、35に
書き込まれる。LAN 2経由で計算機1よりデータ要求が
あれば、稼働系のCPU 313 は稼働側のハードディスク装
置34よりデータをメモリ314 に読み出し、LAN アダプタ
311 に送信を依頼する。
In FIG. 3, the data processing devices 53 and 54 perform the following processing. The data received by the LAN adapters 311 and 321 via the first transmission line 2 (LAN) is stored in the memories 314 and 324 via the system buses 312 and 322. The active and standby CPUs 313 and 323 process this data,
Only the active CPU 313 gets the selection of the active SCSI bus with the changeover switches 37, 38 via the local bus 316, SCSI interfaces 315, 318, and SCSI buses 33, 36.
The processed data is written in the hard disk devices 34 and 35. If there is a data request from the computer 1 via LAN 2, the active CPU 313 reads the data from the hard disk device 34 on the active side into the memory 314, and the LAN adapter
Ask 311 to send.

【0032】二重化されたデータ処理装置53,54 は、CP
U 間通信チャネル319,329 を通して通信を行うが、今、
データ処理装置53を稼働系、データ処理装置54を待機系
とすると、データ処理装置53,54 のCPU 313,323 は同一
のプログラムを実行し、ある時間遅れで同一の処理を行
っている。ここで、ある時間遅れとはオペレーティング
システムがタスクを起動する時間の差を意味し、それは
せいぜい10ms〜数10ms程度である。
The redundant data processing devices 53 and 54 are connected to the CP
Communicate through U-to-U communication channels 319 and 329, but now
When the data processing device 53 is an active system and the data processing device 54 is a standby system, the CPUs 313 and 323 of the data processing devices 53 and 54 execute the same program and perform the same processing with a certain time delay. Here, a certain time delay means a difference in time when the operating system activates a task, which is about 10 ms to several tens of ms at most.

【0033】このように同期して動作している、二重化
されたデータ処理装置53,54 間において、CPU 313,323
のオペレーティングシステムがタスクを起動し、タスク
からオペレーティングシステムに処理が返される毎に実
行されたタスク番号が、CPU間通信チャネルを通して通
知される。この時のオペレーティングシステムの動作を
図4に、通知されるタスク番号の例を図5に示す。
CPUs 313 and 323 are provided between the duplicated data processing devices 53 and 54 which operate in synchronization with each other as described above.
The operating system starts the task, and the task number executed each time the task returns processing to the operating system is notified via the inter-CPU communication channel. The operation of the operating system at this time is shown in FIG. 4, and an example of the notified task number is shown in FIG.

【0034】これとは異なるタイミングで、稼働・待機
両系のCPU 313,323 間でハンドシェイク信号も通知され
る。ハンドシェイク信号とは、データ処理装置53,54 が
正常に動作中であることを相互に通知するための信号
で、相手側のメモリの特定領域を、例えば、16進数でX'
55', X'AA'と一定周期で相互に書き換え、書き換えが実
行されている間は、相手側のデータ処理装置を正常とみ
なすように使用する。
At a timing different from this, a handshake signal is also notified between the CPUs 313 and 323 of both operating and standby systems. The handshake signal is a signal for mutually notifying that the data processing devices 53 and 54 are operating normally. For example, a hexadecimal X '
55 'and X'AA' are rewritten to each other at a constant cycle, and while the rewriting is being executed, the data processing device on the other side is regarded as normal.

【0035】二重化データベースシステムが動作中にお
いて、ハードディスク装置34,35 にデータを書き込む処
理は、稼働系側のCPU 313 だけであるが、稼働系側のCP
U313は、このとき、書き換えたファイルに対して、ファ
イル更新番号を更新する。即ち、すべてのファイルに
は、ファイル更新番号を書き込む位置(アドレス)が指
定されている。
While the redundant database system is operating, the process of writing data to the hard disk devices 34 and 35 is performed only by the CPU 313 on the operating system side, but the CP on the operating system side is
At this time, U313 updates the file update number for the rewritten file. That is, the position (address) where the file update number is written is designated for all the files.

【0036】このような二重化データベースシステムが
動作中において、稼働系側のデータ処理装置53が動作不
可能になると、まず、ハンドシェイク信号の更新が中断
される。待機系側のCPU 323 がこれを検出し、稼働系側
のCPU 313 から処理を引き継ぐ。待機系側のCPU 323
は、それまで受信していたタスク番号列を調査し、稼働
系側のCPU 313 の処理がどこまで処理されて中断された
か、を知ることができる。待機系側のCPU 323 は、更
に、中断されたタスク番号から、稼働側のCPU 313が最
後に書き換えようとしていたファイルを知り、ハードデ
ィスク装置34のデータを読んで、前述のファイル更新番
号をチェックする。このデータが待機系側のCPU 323 の
ファイル更新番号と一致すれば、それは正常に書き込ま
れたものとみなし、その次からのファイルを更新すれば
よい。
When the data processing device 53 on the operating side becomes inoperable while the dual database system is operating, the update of the handshake signal is interrupted first. The standby system side CPU 323 detects this and takes over the processing from the operating system side CPU 313. Standby CPU 323
Can investigate the task number string received up to that point and know to what extent the processing of the CPU 313 on the active side has been processed and interrupted. The CPU 323 on the standby side further knows the file that the operating CPU 313 was about to rewrite from the interrupted task number, reads the data in the hard disk device 34, and checks the above-mentioned file update number. . If this data matches the file update number of the CPU 323 on the standby system side, it is considered that the data was written normally, and the next file can be updated.

【0037】ここで、待機系側と稼働系側とのCPU 313,
323 で同一処理が行なわれており、待機系側のCPU 323
にも、ハードディスク装置には書き込まれないが、稼働
系側と同一のファイル更新情報が作成される。そしてこ
のファイル更新情報は、稼働系側の書き込み完了(タス
クの完了)通知を受信するまでは待機系側のCPU 323は
クリアしないようになっている。
Here, the CPU 313 on the standby system side and the CPU 313 on the operating system side,
The same processing is performed by 323, and CPU 323 on the standby system side
Also, although not written to the hard disk device, the same file update information as the operating system side is created. The CPU 323 on the standby side does not clear this file update information until the writing completion (task completion) notification on the operating side is received.

【0038】データ処理装置が二重化され、同期して動
作中に稼働系側53が故障し、待機系側54が処理を引き継
ぐ方法について説明したが、次に、故障から回復したデ
ータ処理装置をシングルで動作中の稼働系に同期させる
方法について説明する。データベースシステムの構成は
図3と同様である。今、データ処理装置54を故障から回
復した系とすれば、データ処理装置54のCPU 323 は、ま
ず、ハードディスク装置34よりプログラムローディング
を行う。その後、CPU 間通信チャネル、LAN アダプタの
初期設定を行い、稼働中のCPU 313 との同期が取れるよ
うな状態になると、稼働中のCPU 313 に故障からの回復
を通知し、稼働中のCPU 313 からの通信待ちの状態とな
る。
A method has been described in which the data processing device is duplicated and the operating system side 53 fails during synchronous operation, and the standby system side 54 takes over the processing. The method for synchronizing with the operating system that is running will be explained. The structure of the database system is the same as in FIG. Now, assuming that the data processing device 54 is a system recovered from a failure, the CPU 323 of the data processing device 54 first loads a program from the hard disk device 34. After that, the initial setting of the communication channel between CPUs and LAN adapter is performed, and when it becomes the state that can be synchronized with the CPU 313 in operation, the CPU 313 in operation is notified of the recovery from the failure, and the CPU 313 in operation is informed. Waiting for communication from.

【0039】稼働中のCPU 313 はこれに対して、直ちに
応答はしない。即ち、同期をとるための処理が最小とな
るタイミングで応答する。これは、稼働中のCPU 313 が
データの加工、加工したデータのハードディスク34,35
への書き込みを終了し、LANアダプタ311 からのデータ
受信待ちで、アイドル状態になるタイミングである。稼
働中のCPU 313 は、この時点で通常の処理を中断し、同
期処理に入る。稼働中のCPU 313 は待機中のCPU 323 に
対して、待機中のCPU 323 が再スタートするのに必要な
主記憶装置の情報を通知すると共に、前記の処理(LANア
ダプタよりデータを受信する) を行うタスク番号の起動
を通知する。稼働中のCPU 313 は、この後、待機中のCP
U 323 の起動タスク番号受信完了通知を受けて、処理を
再開する。待機中のCPU 323 は、起動タスク番号受信完
了通知を発信後、直ちに処理を開始する。
The active CPU 313 does not immediately respond to this. That is, the response is made at the timing when the processing for synchronizing is minimized. This is because the CPU 313 in operation processes the data, and the processed data hard disks 34, 35
It is the timing to enter the idle state after finishing the writing to and waiting for the data reception from the LAN adapter 311. The CPU 313 in operation interrupts normal processing at this point and starts synchronous processing. The CPU 313 in operation notifies the waiting CPU 323 of the information of the main memory required for the waiting CPU 323 to restart, and the above processing (receives data from the LAN adapter) Notify the activation of the task number to perform. The running CPU 313 will then wait for the waiting CP.
Upon receiving the notification that the U 323 startup task number has been received, the processing is restarted. The CPU 323 on standby starts processing immediately after transmitting the notification of completion of reception of the starting task number.

【0040】このような同期処理を行えば、稼働中のCP
U 313 から待機中のCPU 323 に対して、稼働中のCPU 31
3 のLAN アダプタ311 からの受信データあるいは加工中
のデータそのものをコピーする必要は無くなり、同期の
ための稼働中のCPU 313 の負荷を最小限に抑えることが
できる。
If such synchronization processing is performed, the CP in operation
U 313 to CPU 323 waiting, while CPU 31 running
There is no need to copy the received data from the LAN adapter 311 of 3 or the data itself being processed, and the load on the CPU 313 in operation for synchronization can be minimized.

【0041】[0041]

【発明の効果】以上述べたように本発明の構成によれ
ば、第2伝送路であるSCSIバスを二重化し、SCSIバスと
ハードディスク装置間に半導体スイッチを設け、この半
導体スイッチを二重化されたデータ処理装置の稼働系・
待機系の両CPU により制御できるようにした。この結
果、第2伝送路の故障に対する信頼性を向上させ、ハー
ドディスク装置の故障に対しても、オンライン交換を可
能とすることができる。
As described above, according to the configuration of the present invention, the SCSI bus that is the second transmission path is duplicated, a semiconductor switch is provided between the SCSI bus and the hard disk device, and this semiconductor switch is duplicated. Operating system of processing equipment
Enabled to be controlled by both standby CPUs. As a result, it is possible to improve the reliability with respect to the failure of the second transmission line and to enable online replacement even with the failure of the hard disk device.

【0042】また、稼働系側のCPU と待機系側のCPU 間
で、ハンドシェーク情報と、実行開始/完了のタスク番
号と、を交換し、稼働系側のCPU がハードディスク装置
にデータを書き込む際に、ファイル単位にファイル更新
番号を書き込むようにした。さらに、待機系側のCPU
は、受信したタスク番号列より、稼働系側のCPU が最後
に書き込むファイルを知り、ハードディスク装置のデー
タを読み、このファイルのファイル更新番号をチェック
し、処理を引き継ぐべきポイントが確認できるようにし
た。この結果、稼働系側のCPU がハードディスク装置に
データを書き込むとき、待機系側のCPU に同一データを
送信する必要が無くなり、稼働系側のCPUの負荷が軽減
され、システム性能の低下を防ぐことができる。
Also, handshake information and execution start / completion task numbers are exchanged between the active CPU and the standby CPU, and when the active CPU writes data to the hard disk device. , The file update number is written for each file. In addition, the standby CPU
Knows the last file written by the CPU on the operating system side from the received task number string, reads the data on the hard disk device, checks the file update number of this file, and can confirm the point to take over processing . As a result, when the operating system CPU writes data to the hard disk device, it is not necessary to send the same data to the standby system side CPU, which reduces the load on the operating system side CPU and prevents system performance degradation. You can

【0043】また、データ処理装置の一方が故障から回
復し、二重化データベースシステムとして再スタートさ
せるとき、待機系側のCPU の処理を稼働系側のCPU に同
期させるため、同期化するタイミングを上述の実行開始
のタスク番号の通知によって行うと共に、同期化のため
の稼働系側のCPU の負荷が最小になるように、通知のタ
イミングを選ぶようにしたので、同期化時に、一時的に
システム性能が低下することを防ぐことができる。
When one of the data processing devices recovers from a failure and is restarted as a duplicated database system, the processing of the CPU on the standby system side is synchronized with the CPU on the operating system side. This is done by notifying the task number of the start of execution, and the notification timing is selected so that the load on the CPU of the operating system for synchronization is minimized. It can be prevented from falling.

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

【図1】本発明による一実施例の二重化データベースシ
ステムのブロック回路図
FIG. 1 is a block circuit diagram of a dual database system according to an embodiment of the present invention.

【図2】切り替えスイッチ回路部分の詳細図FIG. 2 is a detailed diagram of a changeover switch circuit portion.

【図3】第二の実施例の二重化データベースシステムの
ブロック回路図
FIG. 3 is a block circuit diagram of a duplicate database system according to a second embodiment.

【図4】オペレーティングシステム(OS)の動作を説明
する説明図
FIG. 4 is an explanatory diagram explaining the operation of the operating system (OS).

【図5】一実施例としてのタスク番号の構成図FIG. 5 is a configuration diagram of task numbers as an example.

【図6】従来技術の二重化データベースシステムのシス
テム構成図
FIG. 6 is a system configuration diagram of a conventional dual database system.

【図7】従来技術の二重化データベースシステムのブロ
ック回路図
FIG. 7 is a block circuit diagram of a prior art dual database system.

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

1 計算機 2 LAN 3 データベースシステム 31,32 、51〜54 データ処理装置 33,36 SCSIバス 34,35 ハードディスク装置 37,38 切替えスイッチ 39,40 切替えスイッチの制御信号線 311,321 LAN アダプタ 312,322 システムバス 313,323 CPU 314,324 メモリ 315,325,318,328 SCSIインタフェース 316,326 ローカルバス 317,327 DO 319,329 CPU 間通信チャネル 330,331 CPU 間通信線路 SW1 〜SW4 光スイッチ素子 1 Computer 2 LAN 3 Database system 31,32, 51 to 54 Data processing device 33,36 SCSI bus 34,35 Hard disk device 37,38 Changeover switch 39,40 Changeover control signal line 311,321 LAN adapter 312,322 System bus 313,323 CPU 314,324 Memory 315,325,318,328 SCSI interface 316,326 Local bus 317,327 DO 319,329 CPU communication channel 330,331 CPU communication line SW1 to SW4 Optical switch element

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】計算機が接続され、プロセスからデータが
送受信される第1伝送路と、この第1伝送路に接続さ
れ、二重化されたデータ処理装置と、このデータ処理装
置の各中央処理装置が共有利用する二重化されたハード
デスク装置と、を備えた二重化データベースシステムに
おいて、 前記データ処理装置に接続される二重化された第2伝送
路と、 この二重化された第2伝送路と前記二重化されたハード
デスク装置との間の接続を制御するスイッチと、を備
え、 前記データ処理装置の中央処理装置は、前記スイッチを
制御して、前記第2伝送路と前記ハードデスク装置との
接続状態を制御する、 ことを特徴とするデータベースシステム。
1. A first transmission line to which a computer is connected and data is transmitted and received from a process, a duplicated data processing device connected to the first transmission line, and each central processing unit of the data processing device. In a dual database system including a dual hard desk device for shared use, a dual second transmission line connected to the data processing device, the dual second transmission line, and the dual hardware are provided. A switch for controlling a connection with the desk device, wherein the central processing unit of the data processing device controls the switch to control a connection state between the second transmission line and the hard desk device. , A database system characterized by the following.
【請求項2】請求項1に記載のデータベースシステムに
おいて、 スイッチは、 発光素子と MOSトランジスタとからなる光スイッチ素子
であり、 MOSトランジスタが発光素子の非通電時に開路状態で、
通電時に閉路する光スイッチ素子と、 MOSトランジスタが発光素子の非通電時に閉路状態で、
通電時に開路する光スイッチ素子と、 からなり、発光素子の非通電、通電の制御により、前記
ハードデスク装置の接続を、前記二重化された第2伝送
路の内、一方の第2伝送路から他方の第2伝送路にプッ
シュプルに切り替える、 ことを特徴とするデータベースシステム。
2. The database system according to claim 1, wherein the switch is an optical switch element including a light emitting element and a MOS transistor, and the MOS transistor is in an open state when the light emitting element is not energized,
An optical switch element that closes when energized and a MOS transistor that is closed when the light emitting element is not energized,
An optical switch element which is opened when energized, and the connection of the hard disk device is controlled from one second transmission path to the other of the duplicated second transmission paths by controlling non-energization and energization of the light emitting element. The database system is characterized in that push-pull is switched to the second transmission line of.
【請求項3】請求項1に記載のデータベースシステムに
おいて、 スイッチは、 発光素子と MOSトランジスタとからなる光スイッチ素子
であり、 MOSトランジスタが発光素子の非通電時に開路状態で、
通電時に閉路する光スイッチ素子と、 MOSトランジスタが発光素子の非通電時に閉路状態で、
通電時に開路する光スイッチ素子と、 からなり、発光素子の非通電、通電の制御により、前記
ハードデスク装置の接続を、前記二重化された第2伝送
路の双方から切り離す、 ことを特徴とするデータベースシステム。
3. The database system according to claim 1, wherein the switch is an optical switch element including a light emitting element and a MOS transistor, and the MOS transistor is in an open state when the light emitting element is not energized,
An optical switch element that closes when energized and a MOS transistor that is closed when the light emitting element is not energized,
An optical switch element which is opened when energized, and the connection of the hard disk device is disconnected from both of the duplicated second transmission path by controlling non-energization and energization of the light emitting element. system.
【請求項4】計算機が接続され、プロセスからデータが
送受信される第1伝送路と、この第1伝送路に接続さ
れ、二重化されたデータ処理装置と、このデータ処理装
置の各中央処理装置が共有利用する二重化されたハード
デスク装置と、を備えた二重化データベースシステムの
運用方法において、 前記データ処理装置に接続される二重化された第2伝送
路と、この二重化された第2伝送路と前記二重化された
ハードデスク装置との間の接続を制御するスイッチと、
前記データ処理装置の中央処理装置間のデータ交信を行
う二重化された第3伝送路と、を備え、 前記中央処理装置は、前記スイッチを制御して、前記第
2伝送路と前記ハードデスク装置との接続状態を制御
し、 前記データ処理装置は、一方のデータ処理装置を稼働系
とし、他方のデータ処理装置を待機系とし、各中央処理
装置は、同一プログラムを実行し、 前記ハードデスク装置へのデータの書き込みは、 稼働系の中央処理装置のみが書き込みを行い、 書き込みのファイル単位毎に有するファイル更新番号を
更新し、 中央処理装置間では、前記第3伝送路を介して、タスク
の起動/完了毎に、実行タスク番号を交換する、 ことを特徴とする二重化データベースシステムの運用方
法。
4. A first transmission line to which a computer is connected and data is transmitted and received from a process, a duplicated data processing device connected to the first transmission line, and each central processing unit of the data processing device. In a method of operating a duplicated database system including a duplicated hard desk device for shared use, a duplicated second transmission line connected to the data processing device, the duplicated second transmission line, and the duplication A switch for controlling the connection between the hard disk device and
A duplexed third transmission line for performing data communication between the central processing units of the data processing unit, wherein the central processing unit controls the switch to connect the second transmission line and the hard disk device. The data processing device controls one of the data processing devices as an active system and the other data processing device as a standby system, and each central processing device executes the same program to the hard disk device. Data is written only by the active central processing unit, updating the file update number for each file unit written, and between the central processing units, the task is activated via the third transmission line. / A method of operating a dual database system, characterized in that the execution task number is exchanged each time the process is completed.
【請求項5】請求項4に記載の二重化データベースシス
テムの運用方法において、稼働系データ処理装置が故障
し、待機系データ処理装置に切り替えるとき、 待機系データ処理装置の中央処理装置は、 前記第3伝送路を介して、受信した実行タスク番号列を
基に、前記ハードデスク装置のファイルに書き込まれた
最後のファイル更新番号をチェックし、このファイルが
正常に書き込まれているときは、この最後の更新番号の
次の更新番号から、また、最後のファイル更新番号のフ
ァイルが途中まで書き込まれているときは、この最後の
更新番号から、ファイルの更新を行う、 ことを特徴とする二重化データベースシステムの運用方
法。
5. The method of operating a dual database system according to claim 4, wherein when the operating data processing device fails and is switched to the standby data processing device, the central processing device of the standby data processing device is 3 The last file update number written in the file of the hard disk device is checked based on the received execution task number string via the transmission line. If this file is written normally, this last file update number is checked. The database system is characterized in that the file is updated from the update number next to the update number, or when the file with the last file update number is written halfway, from this last update number. Operating method.
【請求項6】請求項4に記載の二重化データベースシス
テムの運用方法において、故障から回復したデータ処理
装置を待機系として二重化データ処理装置に組み込むと
き、待機系データ処理装置のプログラムをローディング
終了後、 稼働系データ処理装置の中央処理装置は、 一時、データ処理を中断し、 前記第3伝送路を介して、稼働系データ処理装置の主記
憶装置のデータを待機系データ処理装置にコピーし、 待機系データ処理装置の中央処理装置に、前記実行開始
タスク番号を通知することにより、二重化データベース
システムを再スタートさせる、 ことを特徴とする二重化データベースシステムの運用方
法。
6. The method of operating a dual database system according to claim 4, wherein when the data processing device recovered from the failure is incorporated into the dual data processing device as a standby system, after loading the program of the standby system data processing device, The central processing unit of the operating data processing device temporarily suspends data processing, copies the data in the main storage device of the operating data processing device to the standby data processing device via the third transmission line, and waits. A method for operating a dual database system, comprising restarting the dual database system by notifying the central processing unit of the system data processing unit of the execution start task number.
【請求項7】請求項6に記載の二重化データベースシス
テムの運用方法において、前記実行開始タスク番号を通
知するタイミングとして、 稼働系データ処理装置の負荷が最小で、かつ、稼働系デ
ータ処理装置から待機系データ処理装置への主記憶装置
のデータのコピー量が最小となるタイミングを稼働系デ
ータ処理装置の中央処理装置が選択する、 ことを特徴とする二重化データベースシステムの運用方
法。
7. The method of operating a dual database system according to claim 6, wherein the timing of notifying the execution start task number is such that the load on the active data processing device is minimum and the active data processing device is on standby. A method for operating a dual database system, wherein the central processing unit of the operating system data processing unit selects the timing at which the amount of data in the main storage unit copied to the system data processing unit is minimized.
JP6052393A 1994-03-24 1994-03-24 Duplex database system and operation thereof Withdrawn JPH07262033A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6052393A JPH07262033A (en) 1994-03-24 1994-03-24 Duplex database system and operation thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6052393A JPH07262033A (en) 1994-03-24 1994-03-24 Duplex database system and operation thereof

Publications (1)

Publication Number Publication Date
JPH07262033A true JPH07262033A (en) 1995-10-13

Family

ID=12913563

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6052393A Withdrawn JPH07262033A (en) 1994-03-24 1994-03-24 Duplex database system and operation thereof

Country Status (1)

Country Link
JP (1) JPH07262033A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09232998A (en) * 1996-02-20 1997-09-05 Oki Electric Ind Co Ltd Double redundant system and exchange system for information processing
US6038681A (en) * 1996-09-04 2000-03-14 Nec Corporation Multi-array disk apparatus
KR100319782B1 (en) * 1999-12-23 2002-01-09 오길록 Method of maintaining the consistent data access on a storage in processors duplex-controlled, sharing the storage physically
JP2002014879A (en) * 2000-06-30 2002-01-18 Mitsubishi Electric Corp Multiplexed computer system
US7836249B2 (en) 1999-02-02 2010-11-16 Hitachi, Ltd. Disk subsystem

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09232998A (en) * 1996-02-20 1997-09-05 Oki Electric Ind Co Ltd Double redundant system and exchange system for information processing
US6038681A (en) * 1996-09-04 2000-03-14 Nec Corporation Multi-array disk apparatus
US7836249B2 (en) 1999-02-02 2010-11-16 Hitachi, Ltd. Disk subsystem
US8234437B2 (en) 1999-02-02 2012-07-31 Hitachi, Ltd. Disk subsystem
US8554979B2 (en) 1999-02-02 2013-10-08 Hitachi, Ltd. Disk subsystem
US8949503B2 (en) 1999-02-02 2015-02-03 Hitachi, Ltd. Disk subsystem
KR100319782B1 (en) * 1999-12-23 2002-01-09 오길록 Method of maintaining the consistent data access on a storage in processors duplex-controlled, sharing the storage physically
JP2002014879A (en) * 2000-06-30 2002-01-18 Mitsubishi Electric Corp Multiplexed computer system

Similar Documents

Publication Publication Date Title
US5812748A (en) Method for improving recovery performance from hardware and software errors in a fault-tolerant computer system
US6978347B2 (en) Method and apparatus for re-synchronizing paired volumes via communication line
US7058731B2 (en) Failover and data migration using data replication
JP3992427B2 (en) File system
US20060236050A1 (en) Computer system, computer, and remote copy processing method
JP4341571B2 (en) Storage device system, control method therefor, and control program
JPH08335144A (en) External storage device
JPH08115281A (en) Information processing system and communication service board
US20040267903A1 (en) Storage system, backup system, and backup method
JPH07262033A (en) Duplex database system and operation thereof
JP2002123406A (en) High reliability system
JP3254886B2 (en) Duplicated database system and operation method of the duplicated database system
WO1995000906A1 (en) Method for improving disk mirroring error recovery in a computer system including an alternate communication path
JP2953639B2 (en) Backup device and method thereof
JP3448197B2 (en) Information processing device
JPH06139028A (en) Disk control system
JPH04268643A (en) Information processing system
JPH09146853A (en) Duplex computer and fault system restoration method therefor
JP3363579B2 (en) Monitoring device and monitoring system
JPH11265361A (en) Multicomputer system, communication processor, transaction processing system, method for transferring operation of transaction processing system, and recording medium recording transaction processing system operation transferring program
JP2002007220A (en) Multiple memory system
JP3260435B2 (en) Information communication system
JP3411309B2 (en) Multicast communication system
JPH10289122A (en) High-speed changeover system for inter-system shared disk in hot standby system
JP2002182994A (en) Information processing system and transfer control method using it

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees