JPH07141240A - Fault recovery system for doubled media - Google Patents

Fault recovery system for doubled media

Info

Publication number
JPH07141240A
JPH07141240A JP5312808A JP31280893A JPH07141240A JP H07141240 A JPH07141240 A JP H07141240A JP 5312808 A JP5312808 A JP 5312808A JP 31280893 A JP31280893 A JP 31280893A JP H07141240 A JPH07141240 A JP H07141240A
Authority
JP
Japan
Prior art keywords
medium
media
external
copy
data
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
JP5312808A
Other languages
Japanese (ja)
Inventor
Michiyo Tanaka
三千代 田中
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 JP5312808A priority Critical patent/JPH07141240A/en
Publication of JPH07141240A publication Critical patent/JPH07141240A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To start the use as the doubled media again by copying all the data on one medium from the other medium after a recovery from a fault of the other medium without stopping the operation of application software. CONSTITUTION:For example, when an external medium 1 is incorporated in a system after the fault recovery, a control part 3 copies the data from an external medium 2 to the external medium 1 in order. If a request for writing to the external medium is made by the application software during the copying operation between the media, the control part 3 interrupts the copying operation between the media, and passes the control to a control part 4 after recording the address (interruption address) of data which is copied finally at a monitor part 5. The control part 4, after writing the contents requested to be written on the media 1 and 2, returns the control to the control part 3. The control part 3 refers to the interruption address recorded at the monitor part 5 and then restarts the copying operation between the media at the next address.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、外部媒体を二重化
し、一方の媒体に障害が発生した場合はこの媒体を切り
離し、障害が発生していない他方の媒体のみで運用する
システムにおいて、一方の媒体の障害復旧後、他方の媒
体から一方の媒体へ全データをコピーし、二重化された
媒体としての運用の再開を可能とする二重化された媒体
の障害復旧方式に関するものである。
BACKGROUND OF THE INVENTION This invention relates to a system in which an external medium is duplicated, if one medium fails, this medium is separated, and only the other medium in which no failure has occurred is used. The present invention relates to a duplex medium failure recovery method that enables all data to be copied from the other medium to the one medium after the failure recovery of the medium and restarts the operation as the duplex medium.

【0002】[0002]

【従来の技術】従来より、この種のシステムにおいて
は、外部媒体を二重化し、一方の媒体に障害が発生した
場合はこの媒体を切り離し、障害が発生していない他方
の媒体すなわち正常な媒体のみで運用することが行われ
ている。ここで、一方の媒体の障害復旧後、他方の媒体
(正常な媒体)から一方の媒体(障害が復旧した媒体)
へ全データをコピーすれば、二重化された媒体としての
運用を再開することができる。そこで、従来において
は、アプリケーションの業務運用を停止し、データ内容
の新規・更新書き込みがない状態で、他方の媒体から一
方の媒体への媒体間コピーを行うものとしている。
2. Description of the Related Art Conventionally, in this type of system, an external medium is duplicated, and when one medium fails, this medium is disconnected, and only the other medium which has not failed, that is, a normal medium. It is being operated in. Here, after the failure of one medium is recovered, the other medium (normal medium) is replaced with the other medium (medium in which the failure is recovered).
By copying all the data to, the operation as a duplicated medium can be resumed. Therefore, conventionally, the business operation of the application is stopped, and the medium-to-medium copy from the other medium to the one medium is performed in a state where there is no new / update writing of the data content.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、このよ
うな従来の障害復旧方式によると、媒体間コピーを行っ
ている間は、アプリケーションの業務運用を停止しなけ
ればならないという問題があった。
However, according to such a conventional failure recovery method, there is a problem that the business operation of the application must be stopped while the medium-to-medium copy is being performed.

【0004】本発明はこのような課題を解決するために
なされたもので、その目的とするところは、アプリケー
ションの業務運用を停止することなく、一方の媒体の障
害復旧後、他方の媒体から一方の媒体へ全データをコピ
ーし、二重化された媒体としての運用を再開することの
可能な二重化された媒体の障害復旧方式を提供すること
にある。
The present invention has been made in order to solve such a problem, and an object of the present invention is to recover one of the media from the other media after the failure recovery of the one media without stopping the business operation of the application. It is an object of the present invention to provide a failure recovery method for a duplicated medium that can copy all data to the medium and resume operation as a duplicated medium.

【0005】[0005]

【課題を解決するための手段】このような目的を達成す
るために、本発明は、一方の媒体の障害復旧後、他方の
媒体から一方の媒体へデータを順次コピーして行き、こ
の媒体間コピー中に外部媒体への書き込み要求があれ
ば、媒体間コピーがどこまで実行されたかを記録したう
え、その書き込み要求のあった内容を一方および他方の
媒体へ書き込んだ後、媒体間コピーを再開するようにし
たものである。
In order to achieve such an object, according to the present invention, after the failure recovery of one medium, data is sequentially copied from the other medium to the one medium, If there is a request to write to an external medium during copying, record how far the medium-to-medium copy was executed, write the requested content to one or the other medium, and then restart the medium-to-medium copy. It was done like this.

【0006】[0006]

【作用】したがってこの発明によれば、媒体間コピー中
に外部媒体への書き込み要求があれば、その書き込み要
求のあった内容が一方および他方の媒体へ書き込まれ
る。そして、この書き込み要求のあった内容の両媒体へ
の書き込み終了後、媒体間コピーが再開される。
According to the present invention, therefore, if there is a write request to an external medium during inter-medium copying, the contents requested by the write are written to one and the other medium. Then, after the end of writing the contents of the write request to both media, the inter-media copy is restarted.

【0007】[0007]

【実施例】以下、本発明を実施例に基づき詳細に説明す
る。図1はこの発明を適用してなるシステムの要部を示
すブロック図である。同図において、1および2は外部
媒体、3は外部媒体1と外部媒体2との間の媒体間コピ
ーを制御する制御部、4は外部媒体1および2への通常
の読み込み・書き込みを制御する制御部、5は媒体間コ
ピーがどこまで実行されたかを記録する監視部である。
EXAMPLES The present invention will now be described in detail based on examples. FIG. 1 is a block diagram showing a main part of a system to which the present invention is applied. In the figure, 1 and 2 are external media, 3 is a control unit for controlling inter-media copying between the external media 1 and 2, and 4 is a normal read / write control for the external media 1 and 2. The control unit 5 is a monitoring unit that records how much the medium-to-medium copy has been executed.

【0008】次に、このシステムにおける特有の動作に
ついて、各部の機能を交えながら説明する。今、外部媒
体1に障害が発生し、外部媒体2のみで運用された後、
外部媒体1が障害復旧後にシステムに組み込まれたとす
る。障害の復旧された外部媒体1がシステムに組み込ま
れると、アプリケーションは媒体間コピー要求を制御部
3へ出す。
Next, a peculiar operation in this system will be described together with the functions of the respective parts. Now, after a failure occurs in the external medium 1 and only the external medium 2 is used,
It is assumed that the external medium 1 is incorporated in the system after the failure recovery. When the external medium 1 whose fault has been restored is installed in the system, the application issues an inter-media copy request to the control unit 3.

【0009】制御部3は外部媒体2から外部媒体1へデ
ータを順次コピーさせて行く。この媒体間コピー中にア
プリケーションから外部媒体への書き込み要求がある
と、制御部3は、媒体間コピーを中断し、最後にコピー
したデータのアドレスを監視部5へ通知した後、制御部
4へ制御を渡す。監視部5は制御部3から通知されたア
ドレスを中断アドレスとして記録する。制御部4は、書
き込み要求があった内容を外部媒体1および2へ書き込
み、この両媒体への書き込み終了後、制御部3へ制御を
返す。
The control unit 3 sequentially copies data from the external medium 2 to the external medium 1. When there is a write request from the application to the external medium during this inter-medium copy, the control unit 3 interrupts the inter-medium copy, notifies the monitoring unit 5 of the address of the last copied data, and then sends it to the control unit 4. Pass control The monitoring unit 5 records the address notified by the control unit 3 as an interruption address. The control unit 4 writes the content of the write request to the external media 1 and 2, and returns the control to the control unit 3 after the writing to both media is completed.

【0010】制御部3は、監視部5に記録されている中
断アドレスを参照し、この中断アドレスの次のアドレス
から媒体間コピーを再開する。このようにして最後のア
ドレスまでの媒体間コピーが終了すると、外部媒体1と
外部媒体2とが同じデータ内容となり、二重化された媒
体としての運用を再開することができる。
The control unit 3 refers to the interruption address recorded in the monitoring unit 5, and restarts the medium-to-medium copy from the address next to the interruption address. When the medium-to-medium copy up to the last address is completed in this way, the external medium 1 and the external medium 2 have the same data content, and the operation as a duplicated medium can be resumed.

【0011】[0011]

【発明の効果】以上説明したことから明らかなように本
発明によれば、一方の媒体の障害復旧後、他方の媒体か
ら一方の媒体へデータを順次コピーして行き、この媒体
間コピー中に外部媒体への書き込み要求があれば、媒体
間コピーがどこまで実行されたかを記録したうえ、その
書き込み要求のあった内容を一方および他方の媒体へ書
き込んだ後、媒体間コピーを再開するようにしたので、
アプリケーションの業務運用を停止することなく、一方
の媒体の障害復旧後、他方の媒体から一方の媒体へ全デ
ータをコピーし、二重化された媒体としての運用を再開
することが可能となる。
As is apparent from the above description, according to the present invention, after the failure recovery of one medium, the data is sequentially copied from the other medium to the one medium, and during this inter-medium copying. If there is a request to write to an external medium, it records how far the medium-to-medium copy was executed, writes the requested content to one or the other medium, and then restarts the medium-to-medium copy. So
After the failure recovery of one medium, all data can be copied from the other medium to the one medium and the operation as a duplicated medium can be resumed without stopping the business operation of the application.

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

【図1】本発明を適用してなるシステムの要部を示すブ
ロック図である。
FIG. 1 is a block diagram showing a main part of a system to which the present invention is applied.

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

1 外部媒体 2 外部媒体 3 制御部 4 制御部 5 監視部 1 External Medium 2 External Medium 3 Control Unit 4 Control Unit 5 Monitoring Unit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 外部媒体を二重化し、一方の媒体に障害
が発生した場合はこの媒体を切り離し、障害が発生して
いない他方の媒体のみで運用するシステムにおいて、 前記一方の媒体の障害復旧後、前記他方の媒体から前記
一方の媒体へデータを順次コピーして行き、この媒体間
コピー中に外部媒体への書き込み要求があれば、媒体間
コピーがどこまで実行されたかを記録したうえ、その書
き込み要求のあった内容を前記一方および他方の媒体へ
書き込んだ後、媒体間コピーを再開するようにしたこと
を特徴とする二重化された媒体の障害復旧方式。
1. A system in which an external medium is duplicated, and when one medium fails, this medium is separated and only the other medium in which no failure has occurred is used , Data is sequentially copied from the other medium to the one medium, and if there is a write request to the external medium during this inter-medium copy, the extent to which the inter-medium copy is executed is recorded and then the writing is performed. A failure recovery system for a duplicated medium, characterized in that after the requested contents are written to the one and the other medium, inter-media copying is restarted.
【請求項2】 外部媒体を二重化し、一方の媒体に障害
が発生した場合はこの媒体を切り離し、障害が発生して
いない他方の媒体のみで運用するシステムにおいて、 前記一方の媒体の障害復旧後、前記他方の媒体から前記
一方の媒体へデータを順次コピーして行き、この媒体間
コピー中に外部媒体への書き込み要求があれば、媒体間
コピーを中断し、最後にコピーしたデータのアドレスを
記録する一方、その書き込み要求のあった内容を前記一
方および他方の媒体に書き込んだ後、前記記録したアド
レスの次のアドレスから媒体間コピーを再開するように
したことを特徴とする二重化された媒体の障害復旧方
式。
2. In a system in which an external medium is duplicated, and when one medium fails, this medium is separated and only the other medium in which no failure has occurred is used Data is sequentially copied from the other medium to the one medium, and if there is a write request to an external medium during this medium-to- medium copy, the medium-to-medium copy is interrupted and the address of the last copied data is set. While recording, the contents requested to be written are written to the one and the other medium, and then the inter-medium copy is restarted from the address next to the recorded address. Disaster recovery method.
JP5312808A 1993-11-19 1993-11-19 Fault recovery system for doubled media Pending JPH07141240A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5312808A JPH07141240A (en) 1993-11-19 1993-11-19 Fault recovery system for doubled media

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5312808A JPH07141240A (en) 1993-11-19 1993-11-19 Fault recovery system for doubled media

Publications (1)

Publication Number Publication Date
JPH07141240A true JPH07141240A (en) 1995-06-02

Family

ID=18033663

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5312808A Pending JPH07141240A (en) 1993-11-19 1993-11-19 Fault recovery system for doubled media

Country Status (1)

Country Link
JP (1) JPH07141240A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013097630A (en) * 2011-11-02 2013-05-20 Fujitsu Ltd Repeater system and data copy method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5975349A (en) * 1982-10-25 1984-04-28 Hitachi Ltd File recovering system in double write storing system
JPS63174148A (en) * 1987-01-14 1988-07-18 Nec Corp Semiconductor storage device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5975349A (en) * 1982-10-25 1984-04-28 Hitachi Ltd File recovering system in double write storing system
JPS63174148A (en) * 1987-01-14 1988-07-18 Nec Corp Semiconductor storage device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013097630A (en) * 2011-11-02 2013-05-20 Fujitsu Ltd Repeater system and data copy method

Similar Documents

Publication Publication Date Title
US20080065843A1 (en) Apparatus, system, and method for an improved synchronous mirror swap
US7013371B2 (en) Data transfer control system
JP2001337939A (en) Data multiplexing method and its system
JP3904894B2 (en) Backup management method and storage control device used in this method
JP2006235698A (en) Inter-storage data migration method
JPH07141240A (en) Fault recovery system for doubled media
JPH03111928A (en) Substitutive system for storage device
JP2630263B2 (en) Electronic exchange
JPH10133926A (en) Mirror disk restoring method and restoring system
JPH07281933A (en) Computer system
JP3043662B2 (en) Data backup method
JPH06124169A (en) Duplex systematized optical disk device and automatic i/o error restoring method
JP4358943B2 (en) Automatic backup system and recording medium recording automatic backup program
JP3090182B2 (en) Alternative sector registration method
JP2004070456A (en) Data backup method, data backup device, and information processing unit
JPS6326407B2 (en)
JPH02294723A (en) Duplex control method for auxiliary memory device
JP4190756B2 (en) Magnetic tape array controller and write data recovery method using the same
JPH04291618A (en) Duplexed disk control system
JPH10240620A (en) Computer system and check point image preservation method in the system
JP3139635B2 (en) Duplex file control method
JPH03271923A (en) Magnetic disk device with measures for fault control
JPH0436421B2 (en)
JP2746102B2 (en) One point backup method of business data file in case of magnetic disk device failure
JPH07239759A (en) Backup device and method for disk array device