JPH1173278A - Slave built-in time shortening method for duplex computer system - Google Patents

Slave built-in time shortening method for duplex computer system

Info

Publication number
JPH1173278A
JPH1173278A JP9249563A JP24956397A JPH1173278A JP H1173278 A JPH1173278 A JP H1173278A JP 9249563 A JP9249563 A JP 9249563A JP 24956397 A JP24956397 A JP 24956397A JP H1173278 A JPH1173278 A JP H1173278A
Authority
JP
Japan
Prior art keywords
computer
data
storage device
slave
master
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
JP9249563A
Other languages
Japanese (ja)
Inventor
Kozo Hayashiguchi
弘三 林口
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 JP9249563A priority Critical patent/JPH1173278A/en
Publication of JPH1173278A publication Critical patent/JPH1173278A/en
Pending legal-status Critical Current

Links

Landscapes

  • Hardware Redundancy (AREA)
  • Multi Processors (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a slave built-in method for duplex computer system capable of speeding up a slave built-in processing, and shortening the temporary stopping time of the processing of a master system computer inevitable for the slave built-in processing. SOLUTION: This method is provided with two disk devices 1 and 2 to which access can be performed from master system and slave system computers M0 and S0. The master system is connected through an inter-system communication path to the salve system. At the time of copying data on the memory of the master system to the slave system, the data are divided into plural data blocks, and the master system computer M0 alternately writes the divided data blocks in the two disk devices 1 and 2, and the slave system computer S0 alternately reads the data blocks written by the master system from the disk devices 1 and 2, and develops the data on the memory of its own device. When one disk device is the object of the wiring processing by the master system, the other disk is used as the object of the reading processing by the slave system.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、同一データを二台
のコンピュータで独立して平行処理する二重化コンピュ
ータシステムに関し、特に二重化システムとして稼動す
るためにマスター系コンピュータの処理データのスレー
ブ系コンピュータへのコピー処理であるスレーブ組込処
理方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a duplicated computer system in which the same data is independently processed in parallel by two computers, and more particularly, in order to operate as a duplicated system, the processing data of a master computer is transmitted to a slave computer. The present invention relates to a slave embedding processing method which is a copy processing.

【0002】[0002]

【従来の技術】二台のホストコンピュータが同一データ
を他システムから受信し、各々のメモリ上で処理を行う
独立並行型の二重化コンピュータシステムにおいては、
二台のホストコンピュータのうちどちらのコンピュータ
の処理データを採用するかに関してマスター系、スレー
ブ系という識別を設けて二重化システムの運用を行い、
マスター系あるいはスレーブ系の一方のコンピュータに
障害が発生しても、残った他方のコンピュータがマスタ
ー系に切り替わり、システム運用に何等影響を与えるこ
となしに処理の継続を可能としている。
2. Description of the Related Art In an independent parallel type dual computer system in which two host computers receive the same data from another system and process the data on their respective memories,
Regarding which one of the two host computers adopts the processing data of which computer, the system of the master system and the slave system are provided to operate the redundant system,
Even if a failure occurs in one of the master and slave computers, the remaining computer is switched to the master computer so that processing can be continued without affecting the operation of the system.

【0003】しかしながら、残ったマスター系コンピュ
ータに障害が発生すると、システム運転は完全に停止し
てしまう。
However, if a failure occurs in the remaining master computer, the system operation is completely stopped.

【0004】そこで、通常、シングル状態(二重化構成
のうち一方のコンピュータのみ)となってしまった場合
には、障害となったホストコンピュータをスレーブ系と
して再度立ち上げ、二重化運転の再開を行い、システム
の信頼性を高める処置を行う必要がある。
[0004] Therefore, when a single state (only one of the computers in the duplex configuration) is established, the failed host computer is started up again as a slave system, and the duplex operation is resumed. It is necessary to take measures to increase the reliability of the system.

【0005】このとき、スレーブ系コンピュータのメモ
リ上に、マスター系コンピュータのデータをコピーした
上で、処理の再開を行う必要があり、この際、データコ
ピーの方法の一つとして、マスター・スレーブ系間通信
路とクロスコール型ディスク装置を使用したデータの受
け渡し方法がある。
At this time, it is necessary to copy the data of the master computer to the memory of the slave computer and then restart the processing. At this time, as one of the data copying methods, the master / slave computer is used. There is a data transfer method using an inter-communication path and a cross-call type disk device.

【0006】上記方法は、マスター系コンピュータが自
メモリデータをディスク装置に書き込んだ後、系間通信
路を通じてスレーブ系コンピュータに対し書込完了通知
を伝え、スレーブ系コンピュータは、上記ディスク装置
からマスター系コンピュータが書き込んだデータを自メ
モリ上に展開し、系間通信路を通じてマスター系コンピ
ュータに対し展開完了通知を伝えるという一連の処理終
了後、二重化システムとして運転が再開されるようにし
たものである。
In the above method, after the master computer writes its own memory data to the disk device, a write completion notification is transmitted to the slave computer via the inter-system communication path. After a series of processes of expanding the data written by the computer on its own memory and transmitting a notification of completion of expansion to the master computer via the inter-system communication path, the operation is resumed as a redundant system.

【0007】そして、二台のホストコンピュータのメモ
リ上のデータの完全な同期を得るためには、スレーブ組
込処理中は、マスター系コンピュータのメモリデータ更
新を一時停止する必要があるが、この一時停止期間は、
二重化システムの性格上、接続される他システムによる
障害認識(例えば通信タイムアウト等)までの時間内で
なければならない。
In order to obtain complete synchronization of the data on the memories of the two host computers, it is necessary to temporarily stop updating the memory data of the master computer during the slave installation process. The suspension period,
Due to the nature of the redundant system, it must be within the time until a failure is recognized by another connected system (for example, communication timeout).

【0008】すなわち、この方法は、マスター系コンピ
ュータが自装置のメモリ上のデータを全てディスク装置
に書き込んだ後、スレーブ系コンピュータにてこれを読
み込むという方法であるため、コピーするデータの増大
に伴い、組込時間は、(マスター系コンピュータの書込
時間)+(スレーブ系コンピュータの読込時間)分長く
なる。
That is, this method is a method in which the master computer writes all the data in its own memory to the disk device and then reads it in the slave computer. , The installation time becomes longer by (writing time of the master computer) + (reading time of the slave computer).

【0009】[0009]

【発明が解決しようとする課題】上記したように、従来
の方法においては、スレーブ組込処理を行う場合、マス
ター系コンピュータのデータ更新を一時停止する必要が
あるが、コピーするデータの増大に伴い、(マスター系
コンピュータのディスク装置への書込時間)+(スレー
ブ系コンピュータのディスク装置からの読込時間)分だ
け、一時停止時間が長くなり、結果として、二重化シス
テムのフォールトトレラント性(耐障害性)を低下させ
てしまう、という問題点を有している。
As described above, in the conventional method, when the slave incorporating process is performed, it is necessary to temporarily suspend the data update of the master computer. , (The writing time of the master computer to the disk device) + (the reading time of the slave computer from the disk device) becomes longer, and as a result, the fault tolerance (fault tolerance) of the redundant system becomes longer. ) Is reduced.

【0010】その理由は、マスター系コンピュータが自
装置のメモリ上のデータを全てディスク装置に書き込ん
だ後に、スレーブ系コンピュータの読込処理が開始さ
れ、一方のコンピュータは他方のコンピュータが組込処
理を行っている間、処理待ち状態となる、ためである。
The reason is that, after the master computer writes all the data in the memory of its own device to the disk device, the reading process of the slave computer is started, and one computer performs the integration process by the other computer. This is because the processing is in a waiting state during the operation.

【0011】したがって本発明は、上記問題点に鑑みて
なされたものであって、その目的は、スレーブ組込処理
を高速化し、スレーブ組込処理に不可避なマスター系コ
ンピュータの処理の一時停止時間を短縮する、二重化コ
ンピュータシステムのスレーブ組込方法及びシステムを
提供することにある。
Accordingly, the present invention has been made in view of the above-mentioned problems, and has as its object to speed up the slave incorporation process and reduce the time for temporarily suspending the processing of the master computer inevitable in the slave incorporation process. SUMMARY OF THE INVENTION It is an object of the present invention to provide a method and system for shortening a slave computer in a redundant computer system.

【0012】[0012]

【課題を解決するための手段】前記目的を達成するた
め、本発明の二重化コンピュータシステムのスレーブ組
込方法は、複数のサブシステムから送出される同一デー
タを二台のホストコンピュータで同時に処理する二重化
コンピュータシステムにおいて、二重化運転を開始する
際の、処理データの同期合わせ、すなわちマスター系処
理データのスレーブ系へのコピー処理を、二台のディス
ク装置と、系間通信路を用いて行う、ことを特徴とす
る。
In order to achieve the above object, a method of incorporating a slave in a duplex computer system according to the present invention is a duplex computer system in which the same data sent from a plurality of subsystems is simultaneously processed by two host computers. In a computer system, when starting redundant operation, synchronization of processing data, that is, copying of master processing data to a slave system is performed using two disk devices and an inter-system communication path. Features.

【0013】また、本発明の二重化コンピュータシステ
ムのスレーブ組込方法は、マスター系コンピュータとス
レーブ系コンピュータを備えてなる二重化コンピュータ
システムにおいて、記マスター系コンピュータと前記ス
レーブ系コンピュータの双方からアクセス可能な第1、
第2のディスク装置を備え、前記マスター系コンピュー
タのメモリ上のデータをスレーブ系コンピュータへコピ
ーする処理を行うに際して、前記データを複数のデータ
ブロックに分割し、前記マスター系コンピュータは分割
したデータブロックを、順次、前記第1のディスク装置
及び前記第2のディスク装置へ交互に書き込み、前記ス
レーブ系コンピュータは、前記マスター系コンピュータ
によって書き込まれたデータブロックについて、順次、
前記第1ディスク装置及び第2のディスク装置から交互
に読み込んで前記スレーブ系コンピュータのメモリ上に
展開し、その際、前記第1のディスク装置及び前記第2
のディスク装置のうち一方が前記マスター系コンピュー
タによるデータの書込処理対象の場合、他方は前記スレ
ーブ系コンピュータによるデータの読込処理対象として
交互にアクセスする、ことを特徴とする。
[0013] In addition, according to the present invention, there is provided a method for assembling a slave in a duplicated computer system, comprising: a duplicated computer system comprising a master computer and a slave computer, which is accessible from both the master computer and the slave computer. 1,
A second disk device, for performing a process of copying data in the memory of the master computer to a slave computer, dividing the data into a plurality of data blocks, and the master computer dividing the divided data blocks; Sequentially, alternately writing to the first disk device and the second disk device, the slave computer sequentially writes data blocks written by the master computer,
The data is alternately read from the first disk device and the second disk device and expanded on the memory of the slave computer. At this time, the first disk device and the second disk device
If one of the disk devices is a target of data write processing by the master computer, the other is alternately accessed as a target of data read processing by the slave computer.

【0014】本発明の二重化コンピュータシステムは、
マスター系コンピュータと前記スレーブ系コンピュータ
の双方からアクセス可能な第1、第2のディスク装置を
備え、前記マスター系コンピュータのメモリ上のデータ
をスレーブ系コンピュータへコピーする処理を行うに際
して、前記データを複数のデータブロックに分割し、前
記マスター系コンピュータは分割したデータブロック
を、順次、前記第1のディスク装置及び前記第2のディ
スク装置へ交互に書き込むように制御する手段を備え、
前記スレーブ系コンピュータは、前記マスター系コンピ
ュータによって書き込まれたデータブロックについて、
順次、前記第1ディスク装置及び第2のディスク装置か
ら交互に読み込んで前記スレーブ系コンピュータのメモ
リ上に展開する手段を備え、前記第1のディスク装置及
び前記第2のディスク装置のうち一方が前記マスター系
コンピュータによるデータの書込処理対象の場合、他方
は前記スレーブ系コンピュータによるデータの読込処理
対象として交互にアクセスて前記マスター系コンピュー
タのメモリ上のデータをスレーブ系コンピュータへコピ
ーする。
[0014] The dual computer system of the present invention comprises:
First and second disk devices accessible from both a master computer and the slave computer are provided, and when performing a process of copying data in a memory of the master computer to the slave computer, a plurality of the data are copied. The master computer includes means for controlling the divided data blocks to be sequentially and alternately written to the first disk device and the second disk device.
The slave computer, for the data block written by the master computer,
Means for sequentially reading data from the first disk device and the second disk device alternately and developing the data on the memory of the slave computer, wherein one of the first disk device and the second disk device is When data is to be written by the master computer, the other computer alternately accesses the data to be read by the slave computer and copies data in the memory of the master computer to the slave computer.

【0015】[0015]

【発明の実施の形態】本発明の実施の形態について以下
に説明する。本発明に係る二重化コンピュータシステム
のスレーブ組込方法は、その好ましい実施の形態におい
て、マスター系コンピュータとスレーブ系コンピュータ
の双方からアクセス可能な第1、第2のディスク装置を
配し、マスター系コンピュータのメモリ上のデータをス
レーブ系コンピュータへコピーするに際して、該データ
を複数ブロックに分割し、分割したデータブロックを、
第1、第2のディスク装置へ交互に順次書き込み、スレ
ーブ系コンピュータではマスター系コンピュータによっ
て書き込まれたデータブロックを第1、第2ディスク装
置から交互に読み込むよう制御するようにしたものであ
る。
Embodiments of the present invention will be described below. In a preferred embodiment, a method for incorporating a slave in a redundant computer system according to the present invention includes first and second disk devices accessible from both a master computer and a slave computer. When copying data in the memory to the slave computer, the data is divided into a plurality of blocks, and the divided data blocks are
The writing is alternately and sequentially written to the first and second disk devices, and the slave computer is controlled so that the data blocks written by the master computer are alternately read from the first and second disk devices.

【0016】本発明の実施の形態においては、マスター
系コンピュータ及びスレーブ系のコンピュータ(図1の
M0、S0)は、二重化制御部(図1のM1、S1)、
データ受渡制御部(図1のM2、S2)、系間通信制御
部(図1のM3、S3)を有している。これらの各制御
部における制御はCPU等で実行されるプログラム制御
によって実現するようにしてもよい。
In the embodiment of the present invention, a master computer and a slave computer (M0 and S0 in FIG. 1) are provided with a dual control unit (M1 and S1 in FIG. 1).
It has a data transfer control unit (M2, S2 in FIG. 1) and an inter-system communication control unit (M3, S3 in FIG. 1). The control in each of these control units may be realized by program control executed by a CPU or the like.

【0017】本発明の実施の形態においては、第1、第
2のディスク装置を配し、一方はマスター系コンピュー
タによるデータの書き込み処理対象として、他方はスレ
ーブ系コンピュータによるデータの読み込み処理対象と
して、交互に使用するよう制御することで、マスター系
及びスレーブ系のコンピュータは、互いの処理待ち時間
を極小化することが可能となり、スレーブ組込時間を短
縮することができる。
In the embodiment of the present invention, first and second disk devices are provided, one of which is a target of data write processing by a master computer, and the other is a target of data read processing by a slave computer. By controlling the computers to be used alternately, the master system and the slave system computers can minimize the processing wait time of each other, and can shorten the time for assembling the slave.

【0018】[0018]

【実施例】上記した本発明の実施の形態について更に詳
細に説明すべく、本発明の一実施例ついて図面を参照し
て以下に説明する。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing an embodiment of the present invention;

【0019】図1は、本発明の一実施例の全体のシステ
ム構成を示すブロック図である。図1を参照すると、本
発明の一実施例において、ディスク装置1、ディスク装
置2はマスター系コンピュータM0とスレーブ系コンピ
ュータS0の各々からアクセス可能とされており、スレ
ーブ組込の際に、コピー対象データが格納される。
FIG. 1 is a block diagram showing the overall system configuration of an embodiment of the present invention. Referring to FIG. 1, in one embodiment of the present invention, a disk device 1 and a disk device 2 are accessible from each of a master computer M0 and a slave computer S0. Data is stored.

【0020】系間通信路3は、マスター系コンピュータ
M0とスレーブ系コンピュータS0を結び、マスター系
コンピュータM0からのデータの書込完了通知、スレー
ブ系コンピュータS0からのデータの展開完了通知が送
受信される。
The inter-system communication path 3 connects the master computer M0 and the slave computer S0, and sends and receives data write completion notification from the master computer M0 and data expansion completion notification from the slave computer S0. .

【0021】マスター系コンピュータM0の二重化制御
部M1は、その他制御部M4によるデータ格納メモリM
5の更新の停止開始制御と、データ受渡制御部M2に対
するブロック分割データの書き込み制御と、系間通信路
M3に対する書込完了通知送信制御を行う。
The duplicate control unit M1 of the master computer M0 is provided with a data storage memory M by the other control unit M4.
5 to control the start and stop of updating, write control of the block division data to the data transfer control unit M2, and transmission control of the write completion notification to the inter-system communication path M3.

【0022】マスター系コンピュータM0のデータ受渡
制御部M2は、二重化制御部M1からのブロックデータ
の書込指示に基づき、ディスク装置1またはディスク装
置2にブロックデータを書き込み、ブロックデータの書
き込み完了通知を、二重化制御部M1に返送する。
The data transfer control unit M2 of the master computer M0 writes the block data to the disk device 1 or the disk device 2 based on the block data write instruction from the duplication control unit M1, and notifies the completion of the write of the block data. Is returned to the duplex control unit M1.

【0023】マスター系コンピュータM0の系間通信制
御部M3は、二重化制御部M1からのデータの書込完了
通知を系間通信路3を通じてスレーブ系コンピュータS
0へ送信し、スレーブ系コンピュータS0から受信する
展開完了通知を二重化制御部M1へ通知する。
The inter-system communication controller M3 of the master computer M0 sends the data write completion notification from the duplex controller M1 to the slave computer S through the inter-system communication path 3.
0, and notifies the duplication control unit M1 of the deployment completion notification received from the slave computer S0.

【0024】スレーブ系コンピュータS0の二重化制御
部S1は、その他制御部S4に対するデータ格納メモリ
S5の更新の開始制御と、データ受渡制御部S2に対す
るブロック分割データの展開制御と、系間通信制御部S
3に対する展開完了通知の送信制御を行う。
The duplex control unit S1 of the slave computer S0 controls the other control unit S4 to start updating the data storage memory S5, controls the data transfer control unit S2 to expand block-divided data, and controls the inter-system communication control unit S4.
3 is controlled to transmit a deployment completion notification.

【0025】スレーブ系コンピュータS0のデータ受渡
制御部S2は、二重化制御部S1より指示されたブロッ
クデータの展開指示に基づき、デイスク装置1またはデ
ィスク装置2からブロックデータを読み込んで格納メモ
リS5へ展開し、ブロックデータの展開完了通知を、二
重化制御部S1に返送する。
The data transfer control unit S2 of the slave computer S0 reads the block data from the disk device 1 or the disk device 2 based on the block data expansion instruction instructed by the duplication control unit S1, and expands the data into the storage memory S5. , A block data development completion notification is returned to the duplex control unit S1.

【0026】スレーブ系コンピュータS0の系間通信制
御部S3は、二重化制御部S1からの展開完了通知を系
間通信路3を通じてマスター系コンピュータM0へ送信
し、マスター系コンピュータM0から受信する書込完了
通知を二重化制御部S1へ通知する。
The inter-system communication control unit S3 of the slave system computer S0 transmits the deployment completion notification from the duplexing control unit S1 to the master system computer M0 via the inter-system communication path 3, and receives the write completion notification received from the master system computer M0. The notification is sent to the duplex control unit S1.

【0027】図2は、本発明の一実施例におけるスレー
ブ組込動作を説明するための図である。本発明の一実施
例の動作について、図1及び図2を参照して説明する。
FIG. 2 is a diagram for explaining a slave incorporation operation in one embodiment of the present invention. The operation of one embodiment of the present invention will be described with reference to FIGS.

【0028】スレーブ組込処理が実行されると、マスタ
ー系コンピュータM0は、メモリデータの更新を一時停
止し(ステップS001)、予め定められたサイズ単位
に、メモリデータを分割し、1ブロック毎に、ディスク
装置1、ディスク装置2へと交互に書き込んでいく。
When the slave incorporation process is executed, the master computer M0 temporarily stops updating the memory data (step S001), divides the memory data into predetermined size units, and divides the memory data into blocks. , The disk device 1 and the disk device 2 are written alternately.

【0029】図2においては、メモリデータを、データ
10からデータ1nまでn個に分割しており、データ1
0はディスク装置1に(ステップS002)、データ1
1はディスク装置2(ステップS004)に、データ1
2はディスク装置1に(ステップS006)、データ1
nはディスク装置2に(ステップS008)、という具
合に交互に書き込んでいく。
In FIG. 2, the memory data is divided into n pieces of data 10 to 1n.
0 is stored in the disk device 1 (step S002),
1 is stored in the disk device 2 (step S004).
2 is stored in the disk device 1 (step S006),
n is written alternately in the disk device 2 (step S008).

【0030】マスター系コンピュータM0では、データ
を書き込んだら直ちに書き込み完了通知をスレーブ系コ
ンピュータS0へ送信する(ステップS003、S00
5、S007、S009)。
The master computer M0 sends a write completion notice to the slave computer S0 immediately after writing the data (steps S003, S00).
5, S007, S009).

【0031】マスター系コンピュータM0におけるディ
スク装置への書き込みタイミングについて、データ10
及びデータ11は、それぞれディスク装置1及びディス
ク装置2に連続して書き込みを行うが、データ12以降
のブロックついては、後に説明するように、スレーブ系
コンピュータS0からの展開完了通知を受信した後とな
る。
Regarding the write timing to the disk device in the master computer M0, the data 10
And the data 11 are continuously written to the disk device 1 and the disk device 2, respectively, but the blocks after the data 12 are after receiving the expansion completion notification from the slave computer S0 as described later. .

【0032】これは、両系のコンピュータから一台のデ
ィスク装置へアクセスすることによるデータ消失、誤認
を回避するための排他制御を実現するためである。
This is to realize exclusive control for avoiding data loss and erroneous recognition by accessing one disk device from both computers.

【0033】スレーブ系コンピュータS0は、マスター
コンピュータM0から書き込み完了通知受信したら、該
完了通知電文に含まれるディスク装置識別情報、データ
識別情報を基に、ディスク装置からマスター系データを
読み込み、メモリS5への展開を行う(ステップS01
1、S013、S015、S017)。
Upon receiving the write completion notification from the master computer M0, the slave computer S0 reads the master data from the disk device based on the disk device identification information and the data identification information included in the completion notification message, and sends the data to the memory S5. (Step S01)
1, S013, S015, S017).

【0034】スレーブ系コンピュータS0はメモリへの
展開完了後、そのデータブロックの展開完了通知を、マ
スター系コンピュータM0へ送信する(ステップS01
2、S014、S016、S018)。
After the completion of the expansion into the memory, the slave computer S0 transmits a data block expansion completion notification to the master computer M0 (step S01).
2, S014, S016, S018).

【0035】マスター系コンピュータM0は、スレーブ
系コンピュータS0から展開完了通知を受信することに
より、そのデータブロックがスレーブ系コンピュータS
0にコピーされたことを認識し、次のデータブロックを
ディスク装置に書き込む。
When the master computer M0 receives the expansion completion notification from the slave computer S0, the master computer M0 stores the data block in the slave computer S0.
Recognizing that the data has been copied to 0, the next data block is written to the disk device.

【0036】これらの動作を繰り返し、最後のデータブ
ロック1nの展開完了通知をマスター系コンピュータM
0が受信することにより、スレーブ組込処理は完了す
る。
These operations are repeated, and a notice of completion of development of the last data block 1n is sent to the master computer M.
By receiving 0, the slave incorporating process is completed.

【0037】ディスク装置へのデータ書き込み時間の長
短比較は、一般に、(書き込み時間)>(読み込み時
間)であるため、ブロックデータの書き込み完了通知
と、展開完了通知の送受信に要する時間を考慮しても、
マスター系コンピュータM0がスレーブ系コンピュータ
S0からの展開完了通知を待ち合わせるという事態の発
生は考え難い。このため、上記の処理フローに従いスレ
ーブ組込処理を行った場合、マスター系コンピュータM
0が分割したデータブロックをディスク装置1、ディス
ク装置2へ交互に連続して書き込んでいる間に、スレー
ブ系コンピュータS0へデータのコピーは完了すること
ができ、本実施例は、従来のスレーブ組込処理方法より
も時間短縮が可能である。
In general, the comparison of the data writing time to the disk device is such that (writing time)> (reading time). Therefore, the time required for transmitting and receiving the block data write completion notification and the expansion completion notification is taken into consideration. Also,
It is unlikely that the master computer M0 waits for the deployment completion notification from the slave computer S0. For this reason, when the slave incorporating process is performed according to the above process flow, the master computer M
While data blocks divided by "0" are alternately and continuously written to the disk drive 1 and the disk drive 2, data copy to the slave computer S0 can be completed. It is possible to reduce the time compared to the embedded processing method.

【0038】[0038]

【発明の効果】以上説明したように、本発明によれば、
二重化コンピュータシステムにおけるスレーブ組込時間
を短縮し、このためコピーデータの増大に伴うスレーブ
組込時間の増大を抑止する、という効果を奏する。これ
により、本発明によれば、マスター系コンピュータの処
理停止時間を特段に短縮可能とし、二重化コンピュータ
システムのフォールトトレラント性の向上に寄与するも
のである。
As described above, according to the present invention,
This has the effect of shortening the slave incorporation time in a redundant computer system, thereby suppressing the increase in the slave incorporation time due to the increase in copy data. As a result, according to the present invention, the processing stop time of the master computer can be reduced particularly, which contributes to the improvement of the fault-tolerance of the redundant computer system.

【0039】その理由は、本発明によれば、マスター系
コンピュータがスレーブ系コンピュータへコピーするデ
ータを複数のデータブロックに分割し、分割データを二
台のディスク装置に対して交互に書き込み、書き込み完
了したデータは直ちにスレーブ系コンピュータのメモリ
への展開処理を行うように制御する構成とし、これによ
り、組込処理中の相手方コンピュータの処理待ち時間を
極小化したためである。
The reason is that according to the present invention, the master computer divides the data to be copied to the slave computer into a plurality of data blocks, writes the divided data alternately on two disk devices, and completes the writing. This is because the control is performed so that the data obtained is immediately expanded into the memory of the slave computer, thereby minimizing the processing waiting time of the other computer during the integration processing.

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

【図1】本発明の一実施例のシステムの全体構成を示す
図である。
FIG. 1 is a diagram showing an overall configuration of a system according to an embodiment of the present invention.

【図2】本発明の一実施例におけるスレーブ組込処理の
動作フローを説明するための図である。
FIG. 2 is a diagram illustrating an operation flow of a slave incorporating process according to an embodiment of the present invention.

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

1、2 ディスク装置 3 系間通信路 M0 マスター系コンピュータ M1 マスター系コンピュータの二重化制御部 M2 マスター系コンピュータのデータ受渡制御部 M3 マスター系コンピュータの系間通信制御部 M4 マスター系コンピュータのその他制御部 M5 マスター系コンピュータのデータ格納メモリ S0 スレーブ系コンピュータ S1 スレーブ系コンピュータの二重化制御部 S2 スレーブ系コンピュータのデータ受渡制御部 S3 スレーブ系コンピュータの系間通信制御部 S4 スレーブ系コンピュータのその他制御部 S5 スレーブ系コンピュータのデータ格納メモリ 1, 2 Disk device 3 Inter-system communication path M0 Master computer M1 Duplex control unit of master computer M2 Data transfer control unit of master computer M3 Inter-system communication control unit of master computer M4 Other control unit of master computer M5 Data storage memory of master computer S0 Slave computer S1 Redundant controller of slave computer S2 Data transfer controller of slave computer S3 Inter-system communication controller of slave computer S4 Other controller of slave computer S5 Slave computer Data storage memory

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】複数のサブシステムから送出される同一デ
ータを二台のホストコンピュータで同時に処理する二重
化コンピュータシステムにおいて、 二重化運転を開始する際の、処理データの同期合わせ、
すなわちマスター系処理データのスレーブ系へのコピー
処理(この処理を「スレーブ組み込み処理」という)
を、二台のディスク装置と、系間通信路を用いて行う、
ことを特徴とする二重化コンピュータシステムのスレー
ブ組込方法。
1. A duplicate computer system in which the same data sent from a plurality of subsystems is simultaneously processed by two host computers.
That is, the processing of copying the master processing data to the slave system (this processing is called “slave embedding processing”).
Is performed using two disk devices and an inter-system communication path,
A method for assembling a slave in a redundant computer system.
【請求項2】マスター系コンピュータとスレーブ系コン
ピュータとを備えてなる二重化コンピュータシステムに
おいて、 前記マスター系コンピュータと前記スレーブ系コンピュ
ータの双方からアクセス可能な第1、第2の記憶装置を
備え、 前記マスター系コンピュータのメモリ上のデータを前記
スレーブ系コンピュータへコピーする処理を行うに際し
て、前記データを複数のデータブロックに分割し、 前記マスター系コンピュータは、分割したデータブロッ
クを、順次、前記第1の記憶装置及び前記第2の記憶装
置へ交互に書き込み、 前記スレーブ系コンピュータは、前記マスター系コンピ
ュータによって書き込まれたデータブロックについて、
順次、前記第1の記憶装置及び第2の記憶装置から交互
に読み込んで前記スレーブ系コンピュータのメモリ上に
展開し、 その際、前記第1の記憶装置及び前記第2の記憶装置の
うち一方が前記マスター系コンピュータによるデータの
書込処理対象の場合、他方は前記スレーブ系コンピュー
タによるデータの読込処理対象として交互にアクセスす
る、ことを特徴とする二重化コンピュータシステムのス
レーブ組込方法。
2. A redundant computer system comprising a master computer and a slave computer, comprising: first and second storage devices accessible from both the master computer and the slave computer; When performing a process of copying data in the memory of the system computer to the slave computer, the data is divided into a plurality of data blocks, and the master computer sequentially divides the divided data blocks into the first storage. Writing alternately to the device and the second storage device, the slave computer, for the data block written by the master computer,
The data is sequentially read from the first storage device and the second storage device alternately and expanded on the memory of the slave computer. At this time, one of the first storage device and the second storage device is A method of assembling a slave in a duplex computer system, wherein, when data is to be written by the master computer, the other computer is alternately accessed as data to be read by the slave computer.
【請求項3】前記マスター系コンピュータは、分割した
データブロックを一方の記憶装置に書き込み、次のデー
タブロックを他の記憶装置に連続して書き込んだ後、さ
らに次のデータブロックを再び前記一方の記憶装置に書
き込む処理を行うにあたり、前記スレーブ系コンピュー
タにおいて、前記一方の記憶装置に前記マスター系コン
ピュータが前回書き込んだデータブロックを読み出し該
データブロックのメモリへの展開の完了通知を受け取っ
た後に、前記一方の記憶装置に書き込む処理を行う、こ
とを特徴とする請求項2記載の二重化コンピュータシス
テムのスレーブ組込方法。
3. The master computer writes the divided data block into one storage device, writes the next data block continuously into another storage device, and then writes the next data block again into the one storage device. In performing the process of writing to the storage device, the slave computer reads the data block previously written by the master computer to the one storage device, and after receiving the completion notification of the development of the data block to the memory, 3. The method according to claim 2, further comprising the step of writing data to one of the storage devices.
【請求項4】マスター系コンピュータとスレーブ系コン
ピュータとを備えてなる二重化コンピュータシステムに
おいて、 前記マスター系コンピュータと前記スレーブ系コンピュ
ータの双方からアクセス可能な第1、第2の記憶装置を
備え、 前記マスター系コンピュータのメモリ上のデータを前記
スレーブ系コンピュータへコピーする処理を行うに際し
て前記データを複数のデータブロックに分割し、 前記マスター系コンピュータは、分割したデータブロッ
クを、順次、前記第1の記憶装置及び前記第2の記憶装
置へ交互に書き込むように制御する手段を備え、 前記スレーブ系コンピュータは、前記マスター系コンピ
ュータによって書き込まれたデータブロックについて、
順次、前記第1の記憶装置及び第2の記憶装置から交互
に読み込んで前記スレーブ系コンピュータのメモリ上に
展開する手段を備え、 前記第1の記憶装置及び前記第2の記憶装置のうち一方
が前記マスター系コンピュータによるデータの書込処理
対象の場合、他方は前記スレーブ系コンピュータによる
データの読込処理対象として交互にアクセスすることに
より、前記マスター系コンピュータのメモリ上のデータ
を前記スレーブ系コンピュータへコピーする、ことを特
徴とする二重化コンピュータシステム。
4. A duplicated computer system comprising a master computer and a slave computer, comprising: first and second storage devices accessible from both the master computer and the slave computer; When performing a process of copying data on a memory of a system computer to the slave computer, the data is divided into a plurality of data blocks, and the master computer sequentially divides the divided data blocks into the first storage device. And means for controlling the data to be written alternately to the second storage device.
Means for sequentially reading data from the first storage device and the second storage device alternately and developing the read data in the memory of the slave computer, wherein one of the first storage device and the second storage device is When data is to be written by the master computer, the other is alternately accessed as data to be read by the slave computer, so that data on the memory of the master computer is copied to the slave computer. A redundant computer system.
【請求項5】前記マスター系コンピュータと前記スレー
ブ系コンピュータ間に系間通信路を備え、前記マスター
系コンピュータによるデータブロックの前記記憶装置へ
の書込完了時の前記スレーブ系コンピュータへの書込完
了通知、及び、前記スレーブ系コンピュータによる前記
記憶装置から読み出したデータブロックのメモリへ展開
完了時の前記マスター系コンピュータへの展開完了通知
が前記系間通信路を通じて行われる、ことを特徴とする
請求項4記載の二重化コンピュータシステム。
5. An inter-system communication path is provided between the master computer and the slave computer, and when the master computer completes writing data blocks to the storage device, the slave computer completes writing. A notification, and a notification of completion of expansion to the master system computer when expansion of the data block read from the storage device to the memory by the slave system computer is completed is performed through the inter-system communication path. 4. The redundant computer system according to 4.
【請求項6】前記スレーブ系コンピュータは、前記マス
ター系コンピュータからの前記書込完了通知に含まれる
記憶装置の識別情報、データ識別情報に基づき、前記記
憶装置の識別情報で指定される記憶装置からデータブロ
ックを読み出しメモリへの展開を行う、ことを特徴とす
る請求項4記載の二重化コンピュータシステム。
6. The storage system specified by the storage device identification information based on the storage device identification information and data identification information included in the write completion notification from the master system computer. 5. The dual computer system according to claim 4, wherein the data block is read and expanded in a memory.
【請求項7】前記記憶装置がディスク装置からなること
を特徴とする請求項4又は5記載の二重化コンピュータ
システム。
7. The dual computer system according to claim 4, wherein said storage device comprises a disk device.
【請求項8】前記マスター系コンピュータは、分割した
データブロックを一方の記憶装置に書き込み、次のデー
タブロックを他の記憶装置に連続して書き込んだ後、さ
らに次にデータブロックを再び前記一方の記憶装置に書
き込む処理を行うにあたり、前記スレーブ系コンピュー
タにおいて、前記一方の記憶装置に前記マスター系コン
ピュータが前回書き込んだデータブロックを読み出し該
データブロックのメモリへの展開の完了通知を受け取っ
た後に、前記一方の記憶装置に書き込む処理を行う、こ
とを特徴とする請求項2記載の二重化コンピュータシス
テムのスレーブ組込方法。
8. The master system computer writes the divided data block to one storage device, writes the next data block continuously to another storage device, and then writes the data block again to the one storage device. In performing the process of writing to the storage device, the slave computer reads the data block previously written by the master computer to the one storage device, and after receiving the completion notification of the development of the data block to the memory, 3. The method according to claim 2, further comprising the step of writing data to one of the storage devices.
【請求項9】前記記憶装置がディスク装置であることを
特徴とする請求項2又は8記載の二重化コンピュータシ
ステムのスレーブ組込方法。
9. The method according to claim 2, wherein said storage device is a disk device.
【請求項10】(a)マスター系コンピュータにおい
て、前記マスター系コンピュータのメモリ上のデータを
スレーブ系コンピュータへコピーする処理を行うに際し
て、前記メモリ上のデータを複数に分割したデータブロ
ックを、順次、前記マスター系コンピュータと前記スレ
ーブ系コンピュータの双方からアクセス可能な第1の記
憶装置及び第2の記憶装置へ交互に書き込むように制御
する手段、 (b)前記スレーブ系コンピュータにおいて、前記マス
ター系コンピュータによって書き込まれたデータブロッ
クについて、順次、前記第1の記憶装置及び第2の記憶
装置から交互に読み込んで前記スレーブ系コンピュータ
のメモリ上に展開し、その際、前記第1の記憶装置及び
前記第2の記憶装置のうち一方の記憶装置が前記マスタ
ー系コンピュータによるデータの書込処理対象の場合に
は、他方の記憶装置を前記スレーブ系コンピュータによ
るデータの読込処理対象として交互にアクセスするよう
に制御する手段、 の上記(a)、(b)各手段の機能を前記マスター系コ
ンピュータ及び前記スレーブ系コンピュータで実現する
ためのプログラムを記録した記録媒体。
10. When the master computer performs a process of copying data in a memory of the master computer to a slave computer, data blocks obtained by dividing the data in the memory into a plurality of data are sequentially read. Means for controlling so as to alternately write data into a first storage device and a second storage device accessible from both the master computer and the slave computer; (b) in the slave computer, The written data blocks are sequentially and alternately read from the first storage device and the second storage device and developed on the memory of the slave computer. At this time, the first storage device and the second One of the storage devices is the master system Means for controlling the other storage device to be alternately accessed as an object for data read processing by the slave computer when the data is to be written by the computer; A recording medium on which a program for realizing the above-mentioned function by the master computer and the slave computer is recorded.
JP9249563A 1997-08-29 1997-08-29 Slave built-in time shortening method for duplex computer system Pending JPH1173278A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9249563A JPH1173278A (en) 1997-08-29 1997-08-29 Slave built-in time shortening method for duplex computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9249563A JPH1173278A (en) 1997-08-29 1997-08-29 Slave built-in time shortening method for duplex computer system

Publications (1)

Publication Number Publication Date
JPH1173278A true JPH1173278A (en) 1999-03-16

Family

ID=17194871

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9249563A Pending JPH1173278A (en) 1997-08-29 1997-08-29 Slave built-in time shortening method for duplex computer system

Country Status (1)

Country Link
JP (1) JPH1173278A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003515841A (en) * 1999-12-06 2003-05-07 レガート・システムズ・インコーポレーテッド Crash recovery without complete remirror
JP2007249668A (en) * 2006-03-16 2007-09-27 Sony Corp Data transfer device and for data transfer system
JP2009099016A (en) * 2007-10-18 2009-05-07 Hitachi Ltd Computer system, synchronous operation method, node and program
JP2009140424A (en) * 2007-12-10 2009-06-25 Hitachi Ltd Fault tolerant computer system, re-synchronization operating processing method, and program

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003515841A (en) * 1999-12-06 2003-05-07 レガート・システムズ・インコーポレーテッド Crash recovery without complete remirror
JP2007249668A (en) * 2006-03-16 2007-09-27 Sony Corp Data transfer device and for data transfer system
US8583842B2 (en) 2006-03-16 2013-11-12 Sony Corporation Data transfer device and data transfer system
JP2009099016A (en) * 2007-10-18 2009-05-07 Hitachi Ltd Computer system, synchronous operation method, node and program
JP2009140424A (en) * 2007-12-10 2009-06-25 Hitachi Ltd Fault tolerant computer system, re-synchronization operating processing method, and program

Similar Documents

Publication Publication Date Title
JP2576847B2 (en) Storage control device and related method
US7496718B2 (en) Data transfer and access control between disk array systems
JP3316500B2 (en) Increase the number of drives in a RAID set while maintaining the integrity of the moved data
JP3730907B2 (en) Remote data copy method between disk array devices
US7089386B2 (en) Method for controlling storage device controller, storage device controller, and program
US7376804B2 (en) Storage system, backup system, and backup method
JPH0793219A (en) Information processor
US6073221A (en) Synchronization of shared data stores through use of non-empty track copy procedure
JPH11184641A (en) Data moving method between subsystems
JP2000056935A (en) Control method for disk array device and disk array device
JP2000347816A (en) Disk array device and system for reading/writing data to disk device
WO2001040925A1 (en) Disk array system and method of expanding storage capacity
JP2003162378A (en) Method for duplicating data
JPH07281840A (en) Dual-disk recording device
JPH11338647A (en) Method for generating duplexed data
JPH1173278A (en) Slave built-in time shortening method for duplex computer system
JP2004046507A (en) Information processor
JP2000339104A (en) Disk sub-system and data copying method
JPH03118653A (en) Data transfer system in digital data processing system
JP2001014112A (en) Disk subsystem and remote copying method
JP2006065773A (en) Computer system, and logical unit switching method applied to the system
JP2544039B2 (en) Disk drive parallel operation method
JP2003167782A (en) Controller for duplicate controller constituting disk storage system, and disk storage system with the duplicate controller
JPH09305323A (en) Disk storage system
JP2000163277A (en) Method for data transfer between dasd controllers

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20010220