JPH09325917A - Computer system - Google Patents
Computer systemInfo
- Publication number
- JPH09325917A JPH09325917A JP8145562A JP14556296A JPH09325917A JP H09325917 A JPH09325917 A JP H09325917A JP 8145562 A JP8145562 A JP 8145562A JP 14556296 A JP14556296 A JP 14556296A JP H09325917 A JPH09325917 A JP H09325917A
- Authority
- JP
- Japan
- Prior art keywords
- control device
- write
- storage device
- primary
- computer 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.)
- Pending
Links
Landscapes
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
(57)【要約】
【課題】 非同期コピー方式を適用した場合において、
障害や災害等により正制御装置が使用不能となった時
に、データが消失しているかどうかを副記憶装置で認識
できる計算機システムを提供する。
【解決手段】 中央処理装置100からのライト要求に
対して、正制御装置110aはライト対象データの位置
情報のみを副制御装置110bへ転送する。副制御装置
110bでは、実際にデータがライトされるまで、前記
位置情報を保持しておく。障害や災害により正記憶装置
130aがアクセス不能になった場合、副制御装置11
0bから位置情報を読み出すことにより、消失データの
有無およびその位置や時刻を判別する。
【効果】 障害や災害等により正記憶装置が使用不能と
なった時に、消失データの有無を副制御装置から判断で
き、適切に対処することが可能になる。
(57) [Abstract] [Problem] When the asynchronous copy method is applied,
Provided is a computer system which enables a secondary storage device to recognize whether or not data is lost when a primary control device becomes unusable due to a failure or disaster. In response to a write request from a central processing unit, a primary control device 110a transfers only position information of write target data to a secondary control device 110b. The sub control device 110b holds the position information until the data is actually written. When the primary storage device 130a becomes inaccessible due to a failure or disaster, the sub control device 11
By reading the position information from 0b, the presence / absence of lost data and its position and time are determined. [Effect] When the primary storage device becomes unusable due to a failure or disaster, the presence or absence of lost data can be determined from the sub control device, and appropriate measures can be taken.
Description
【0001】[0001]
【発明の属する技術分野】本発明は、中央処理装置に接
続しかつ記憶装置と制御装置から構成される正記憶装置
システムと、その正記憶装置システムに接続する遠隔の
副記憶装置システムとから構成される計算機システムに
関する。さらに詳しくは、前記正記憶装置システム下の
記憶装置すなわち正記憶装置と、前記副記憶装置システ
ム下の記憶装置すなわち副記憶装置の間で遠隔二重書き
を行なう際のデータ保証方法を改良した計算機システム
に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention comprises a primary storage system connected to a central processing unit and comprising a storage unit and a control unit, and a remote secondary storage system connected to the primary storage system. Computer system. More specifically, a computer with an improved data guarantee method for remote duplication between a storage device under the primary storage device system, that is, a primary storage device and a storage device under the secondary storage device system, that is, a secondary storage device. Regarding the system.
【0002】[0002]
【従来の技術】中央処理装置を介することなしに制御装
置間でデータ転送を行ない、異なる制御装置間で二重書
きを実現する技術、すなわち遠隔二重書きは、USP5
155845に記載されている。この従来技術では、中
央処理装置から正/副を指定するコマンドを正制御装置
が受けとると、正記憶装置に記憶していたデータを副記
憶装置にコピーする。それと同時に、中央処理装置から
正制御装置へのライト要求に対して、ライトデータを正
記憶装置に格納すると共に、当該ライトデータを副制御
装置に転送し、その後、中央処理装置に対してライト完
了を報告する。これを同期コピーと呼ぶ。以上の動作に
より、遠隔二重書きが実現される。遠隔二重書きを行な
うことによって、災害や障害等によって、正記憶装置の
データがアクセス不能になった場合に、副記憶装置によ
って業務を引き継ぐことが可能になる。2. Description of the Related Art A technique for performing double writing between different control devices by transferring data between control devices without going through a central processing unit, that is, remote double writing, is USP5.
155845. In this conventional technique, when the primary control device receives a command designating primary / secondary from the central processing unit, the data stored in the primary storage device is copied to the secondary storage device. At the same time, in response to a write request from the central processing unit to the main control unit, the write data is stored in the main storage unit, the write data is transferred to the sub control unit, and then the write is completed to the central processing unit. To report. This is called synchronous copy. Remote duplication is realized by the above operation. By performing the remote double writing, when the data in the primary storage device becomes inaccessible due to a disaster or a failure, it becomes possible to take over the work by the secondary storage device.
【0003】[0003]
【発明が解決しようとする課題】上記の同期コピーで
は、正制御装置と副制御装置の間の接続距離が数百km
と長い場合には、正制御装置から副制御装置へのデータ
転送にかかる時間が長くなるために、中央処理装置に対
するアクセス性能が劣化する。この解決のためには、副
制御装置に対してライトデータを転送する前にライト完
了を中央処理装置に報告しておき、後に副制御装置に対
してライトデータを転送する、非同期コピー方式が考え
られる。しかし、非同期コピー方式では、ある瞬間で
は、正記憶装置にはデータをライト済みで、副記憶装置
にはライト未済である状態が生じる。この時に障害や災
害等により正制御装置が使用不能となると、副記憶装置
では、データが消失しているかどうかを認識する手段が
ない。このために、副記憶装置が使用可能かどうかを判
断できなくなる問題点がある。そこで、本発明の第一の
目的は、非同期コピー方式を適用した場合において、障
害や災害等により正制御装置が使用不能となった時に、
データが消失しているかどうかを副記憶装置で認識でき
る計算機システムを提供することにある。In the above synchronous copy, the connection distance between the primary control device and the secondary control device is several hundred km.
If it is long, it takes a long time to transfer data from the primary control device to the secondary control device, so that the access performance to the central processing unit deteriorates. To solve this problem, an asynchronous copy method is considered in which the write completion is reported to the central processing unit before the write data is transferred to the sub control unit, and the write data is transferred to the sub control unit after that. To be However, in the asynchronous copy method, at a certain moment, a state occurs in which data has been written in the primary storage device and writing has not been completed in the secondary storage device. At this time, if the primary control device becomes unusable due to a failure or disaster, the secondary storage device has no means for recognizing whether or not data is lost. Therefore, there is a problem in that it cannot be determined whether the secondary storage device can be used. Therefore, a first object of the present invention is to apply the asynchronous copy method, and when the primary controller becomes unusable due to a failure or disaster,
It is to provide a computer system in which whether or not data is lost can be recognized by a secondary storage device.
【0004】データが消失していることを認識できた場
合、その消失したデータを回復する必要がある。消失し
たデータを回復する方法としては、ある時点でのデータ
を定期的にテープにバックアップしておき、必要があれ
ばバックアップデータからデータを回復して、その時点
までジョブの進行を戻す方法がある。この方法でデータ
回復を行なうには、データを消失した時刻が判らなくて
はならない。そこで、本発明の第二の目的は、消失した
データが中央処理装置から正記憶装置に対してライトさ
れた時刻を副制御装置で認識できる計算機システムを提
供することにある。When it is possible to recognize that data has been lost, it is necessary to recover the lost data. As a method of recovering lost data, there is a method of regularly backing up data at a certain point of time to tape, recovering the data from the backup data if necessary, and returning the job progress to that point of time. . In order to recover data in this way, you must know the time at which the data was lost. Therefore, a second object of the present invention is to provide a computer system in which the time when the lost data is written from the central processing unit to the primary storage device can be recognized by the sub control device.
【0005】[0005]
【課題を解決するための手段】第1の観点では、本発明
は、中央処理装置に接続しかつ記憶装置と制御装置から
構成される正記憶装置システムと、その正記憶装置シス
テムに接続する遠隔の副記憶装置システムとから構成さ
れる計算機システムにおいて、前記正記憶装置システム
下の制御装置すなわち正制御装置は、前記中央処理装置
からライト要求を受けた際、前記副記憶装置へはライト
データは転送せずに、その位置情報を転送した後、前記
中央処理装置に対してはライト完了を報告して、後の適
当な時期に前記副記憶装置に対するライト処理を実行
し、前記副記憶装置システム下の制御装置すなわち副制
御装置は、前記正制御装置から転送された前記位置情報
を保持しておき、後に実際のライト処理が実行された時
に、前記位置情報を破棄し、災害等により前記正制御装
置が使用不能となったときに、前記副制御装置に格納さ
れている前記位置情報によって、消失したデータの有無
を検出可能としたことを特徴とする計算機システムを提
供する。上記第1の観点による計算機システムでは、非
同期コピー方式であるから、中央処理装置に対するアク
セス性能を向上できる。また、正制御装置から転送され
た位置情報を副制御装置で格納しておくから、障害や災
害等により正制御装置が使用不能となった時に、データ
が消失しているかどうかを、前記位置情報により副記憶
装置で認識することが出来る。According to a first aspect of the present invention, there is provided a primary storage system connected to a central processing unit and comprising a storage unit and a control unit, and a remote storage system connected to the primary storage system. In the computer system configured with the secondary storage device system described above, the control device under the primary storage device system, that is, the primary control device, writes write data to the secondary storage device when a write request is received from the central processing unit. After the position information is transferred without being transferred, the write completion is reported to the central processing unit, and the write processing for the secondary storage device is executed at an appropriate time later, and the secondary storage system The lower control device, that is, the sub control device holds the position information transferred from the primary control device, and when the actual write process is executed later, the position information is stored. When the primary control device becomes unusable due to abandonment, disaster, or the like, the presence or absence of lost data can be detected by the position information stored in the sub control device. I will provide a. In the computer system according to the first aspect, since the asynchronous copy method is used, it is possible to improve the access performance to the central processing unit. In addition, since the position information transferred from the primary control device is stored in the secondary control device, when the primary control device becomes unusable due to a failure or disaster, whether the data is lost or not is determined by the position information. Can be recognized by the secondary storage device.
【0006】第2の観点では、本発明は、上記構成の計
算機システムにおいて、前記正制御装置は、前記位置情
報に加えて、前記中央処理装置からライト要求のあった
時刻を前記副制御装置に転送することによって、前記中
央処理装置のデータ更新順序を、前記副制御装置に記憶
させ、災害等により前記正制御装置が使用不能になった
ときに、前記副制御装置に格納されている時刻から、回
復すべきバックアップファイルを決定し、データ回復を
行うことを特徴とする計算機システムを提供する。上記
第2の観点による計算機システムでは、災害等により前
記正制御装置が使用不能になったときに、副制御装置に
格納された時刻により、どの時点で正記憶装置と副記憶
装置の内容が不一致になったかが判る。よって、副記憶
装置システムで業務の引き継ぎを行なう際、適正なバッ
クアップ時刻のデータから回復することが出来る。According to a second aspect of the present invention, in the computer system having the above-mentioned configuration, the primary control unit, in addition to the position information, sets a time at which a write request is issued from the central processing unit to the sub control unit. By transferring, the data update order of the central processing unit is stored in the sub control unit, and when the main control unit becomes unusable due to a disaster or the like, from the time stored in the sub control unit. A computer system characterized by determining a backup file to be recovered and performing data recovery. In the computer system according to the second aspect, when the primary control device becomes unusable due to a disaster or the like, the contents of the primary storage device and the secondary storage device do not match at any time depending on the time stored in the secondary control device. I know if it has become. Therefore, when the work is taken over by the secondary storage system, it is possible to recover from the data at the proper backup time.
【0007】第3の観点では、本発明は、上記構成の計
算機システムにおいて、前記中央処理装置から前記副制
御装置に対して、前記位置情報に対応する領域にアクセ
スがあった場合に、前記副制御装置は、エラー終了を前
記中央処理装置に報告することを特徴とする計算機シス
テムを提供する。上記第3の観点による計算機システム
では、旧世代のデータにアクセスするのを防止すること
が出来る。According to a third aspect of the present invention, in the computer system having the above configuration, when the central processing unit accesses the area corresponding to the position information with respect to the sub control unit, the sub unit The control device provides a computer system characterized by reporting an error end to the central processing unit. In the computer system according to the third aspect, it is possible to prevent access to old generation data.
【0008】第4の観点では、本発明は、中央処理装置
に接続しかつ記憶装置と制御装置から構成される正記憶
装置システムと、前記正記憶装置システムに接続する遠
隔の副記憶装置システムから構成される計算機システム
において、前記正記憶装置システム下の制御装置すなわ
ち正制御装置と、前記副記憶装置システム下の制御装置
すなわち副制御装置は、それぞれが二重書きの状態とし
て2つの状態すなわち二重書き一致状態および二重書き
不一致状態を管理しており、前記正制御装置は、前記中
央処理装置からライト要求を受けた際、ライト対象の正
記憶装置が二重書き一致状態であれば、前記正記憶装置
および前記副記憶装置のそれぞれの前記二重書き状態を
二重書き不一致状態に遷移させ、前記副記憶装置へはラ
イトデータは転送せずに、前記中央処理装置に対しては
ライト完了を報告して、後の適当な時期に前記副記憶装
置に対するライト処理を実行し、さらに、後に前記副制
御装置に対する未更新データが全て更新された時に二重
書き一致状態に遷移させ、災害等により前記正制御装置
が使用不能となった時に、前記副制御装置に格納されて
いる前記二重書き状態によって、データ消失の有無を検
出可能としたことを特徴とする計算機システムを提供す
る。上記第4の観点による計算機システムでは、非同期
コピー方式であるから、中央処理装置に対するアクセス
性能を向上できる。また、二重書き状態として、一致ま
たは不一致の状態を各記憶装置毎に、正制御装置および
副制御装置で管理するから、障害や災害等により正制御
装置が使用不能となった時に、データが消失しているか
どうかを、前記二重書き状態により副記憶装置で認識す
ることが出来る。In a fourth aspect, the present invention comprises a primary storage system connected to a central processing unit and comprising a storage unit and a control unit, and a remote secondary storage system connected to the primary storage system. In the configured computer system, the control device, that is, the main control device under the primary storage device system, and the control device, that is, the sub control device under the secondary storage device system, each have two states, that is, two states, as a double writing state. It manages a double-write matching state and a double-write mismatching state, and when the primary control device receives a write request from the central processing unit and the primary storage device to be written is in the dual-write matching state, The double write state of each of the primary storage device and the secondary storage device is transited to a double write disagreement state, and write data is transferred to the secondary storage device. Instead, the write completion is reported to the central processing unit, the write processing to the secondary storage device is executed at an appropriate time later, and all the unupdated data to the secondary control device is updated later. When the primary control unit becomes unusable due to a disaster or the like, it is possible to detect the presence or absence of data loss by the double writing state stored in the sub control unit. A computer system characterized by the above. In the computer system according to the fourth aspect, since the asynchronous copy method is used, it is possible to improve the access performance to the central processing unit. In addition, as the double writing state, the state of matching or mismatching is managed by the primary control device and the secondary control device for each storage device, so when the primary control device becomes unusable due to a failure or disaster, data will be Whether or not the data has disappeared can be recognized by the secondary storage device based on the double writing state.
【0009】第5の観点では、本発明は、上記構成の計
算機システムにおいて、前記正制御装置および前記副制
御装置を、前記二重書き不一致状態に遷移させる際に、
前記二重書き不一致状態とした時刻を、前記正制御装置
および前記副記憶装置にそれぞれ記録し、災害等により
前記正制御装置が使用不能になった場合に、前記副記憶
装置が二重書き不一致状態となっていれば、前記二重書
き不一致状態となった時刻に対応するバックアップファ
イルからデータ回復を行なうことを特徴とする計算機シ
ステムを提供する。上記第5の観点による計算機システ
ムでは、災害等により前記正制御装置が使用不能になっ
たときに、副制御装置に格納された時刻により、どの時
点で正記憶装置と副記憶装置の内容が不一致になったか
が判る。よって、副記憶装置システムで業務の引き継ぎ
を行なう際、適正なバックアップ時刻のデータから回復
することが出来る。According to a fifth aspect of the present invention, in the computer system having the above configuration, when the primary control device and the secondary control device are transited to the double write disagreement state,
The times at which the double-write inconsistency state is recorded in the primary control device and the secondary storage device respectively, and when the primary control device becomes unusable due to a disaster or the like, the secondary storage device does not have the double-write inconsistency. Provided is a computer system characterized by performing data recovery from a backup file corresponding to the time when the double-write inconsistency has occurred. In the computer system according to the fifth aspect, when the primary control device becomes unusable due to a disaster or the like, the contents of the primary storage device and the secondary storage device do not match depending on the time stored in the secondary control device. I know if it has become. Therefore, when the work is taken over by the secondary storage system, it is possible to recover from the data at the proper backup time.
【0010】第6の観点では、本発明は、上記構成の計
算機システムにおいて、前記位置付け情報あるいは前記
二重書き不一致状態に付随して前記副制御装置に転送さ
れる時刻は、ライト処理要求時刻として、前記中央処理
装置から与えられることを特徴とする計算機システムを
提供する。上記第6の観点による計算機システムでは、
外部時間との誤差をなくすことが出来る。According to a sixth aspect of the present invention, in the computer system having the above-mentioned configuration, the time transferred to the sub-control unit together with the positioning information or the double-write inconsistency state is a write processing request time. And a computer system provided by the central processing unit. In the computer system according to the sixth aspect,
The error with the external time can be eliminated.
【0011】第7の観点では、本発明は、上記構成の計
算機システムにおいて、前記位置付け情報あるいは前記
二重書き不一致状態に付随して前記副制御装置に転送さ
れる時刻は、前記中央処理装置からライト要求のあった
時刻として、前記正制御装置の内部時間を使用すること
を特徴とする計算機システムを提供する。上記第7の観
点による計算機システムでは、中央処理装置から時刻を
与える必要がないため、構成を簡単化できる。According to a seventh aspect of the present invention, in the computer system having the above-mentioned configuration, the time to be transferred to the sub-control unit in association with the positioning information or the double-write mismatch state is from the central processing unit. There is provided a computer system characterized by using an internal time of the primary control device as a time when a write request is made. In the computer system according to the seventh aspect, since it is not necessary to give the time from the central processing unit, the configuration can be simplified.
【0012】第8の観点では、本発明は、上記構成の計
算機システムにおいて、前記位置情報は、ライト系アク
セスであることが判明したときのみ、前記副制御装置に
転送することを特徴とする計算機システムを提供する。
上記第8の観点による計算機システムでは、ライト系ア
クセスのときのみ位置情報の転送を行うが、正記憶装置
と副記憶装置でデータの不一致が起こるのはライト系ア
クセスのときのみであるため、無駄な通信を回避でき
る。According to an eighth aspect of the present invention, in the computer system having the above configuration, the position information is transferred to the sub-control unit only when it is determined that the position information is a write access. Provide the system.
In the computer system according to the eighth aspect, the position information is transferred only at the time of write access, but the data mismatch between the primary storage device and the secondary storage device occurs only at the time of write system access, so it is wasteful. Communication can be avoided.
【0013】第9の観点では、本発明は、上記構成の計
算機システムにおいて、前記二重書き不一致状態は、ラ
イト系アクセスであることが判明したときのみ、前記副
制御装置に通知することを特徴とする計算機システムを
提供する。上記第8の観点による計算機システムでは、
ライト系アクセスのときのみ二重書き不一致状態の通知
を行うが、正記憶装置と副記憶装置でデータの不一致が
起こるのはライト系アクセスのときのみであるため、無
駄な通信を回避できる。According to a ninth aspect, the present invention is characterized in that, in the computer system having the above-mentioned configuration, the double-write inconsistency state is notified to the sub-control unit only when it is determined that it is a write access. To provide a computer system. In the computer system according to the eighth aspect,
Although the double-write inconsistency state is notified only during a write access, data inconsistency between the primary storage device and the secondary storage device occurs only during a write access, so useless communication can be avoided.
【0014】第10の観点では、本発明は、上記構成の
記憶装置システムにおいて、前記中央処理装置から、前
記二重書き不一致状態である副記憶装置に対してアクセ
スがあった場合に、前記副制御装置は、エラー終了を前
記中央処理装置に報告することを特徴とする計算機シス
テムを提供する。上記第10の観点による計算機システ
ムでは、旧世代のデータにアクセスするのを防止するこ
とが出来る。According to a tenth aspect of the present invention, in the storage device system having the above structure, when the central processing unit accesses the secondary storage device in the double-write disagreement state, the secondary storage device is accessed. The control device provides a computer system characterized by reporting an error end to the central processing unit. In the computer system according to the tenth aspect, it is possible to prevent access to old generation data.
【0015】[0015]
−第1の実施形態− 図1に、本発明の第1の実施形態にかかる計算機システ
ムの構成を示す。なお、以下の説明では、正/副を符号
のa,bにより区別するが、正/副を区別しないときに
は符号のa,bを省く場合もある。First Embodiment FIG. 1 shows the configuration of a computer system according to the first embodiment of the present invention. In the following description, the primary and secondary are distinguished by the symbols a and b, but when the primary and secondary are not distinguished, the symbols a and b may be omitted.
【0016】この計算機システム1は、正計算機システ
ム140aと、その正計算機システム140aに接続さ
れ且つ遠隔にある副計算機システム140bとから構成
されている。前記正計算機システム140aは、正中央
処理装置100aと、正記憶システム170aとから構
成されている。前記副計算機システム140bは、副中
央処理装置100bと、正記憶システム170bとから
構成されている。前記正記憶システム170aは、正制
御装置110aと、正記憶装置130aとから構成され
ている。前記副記憶システム170bは、副制御装置1
10bと、副記憶装置130bとから構成されている。The computer system 1 comprises a primary computer system 140a and a secondary computer system 140b which is connected to the primary computer system 140a and is remote. The primary computer system 140a includes a primary central processing unit 100a and a primary storage system 170a. The sub computer system 140b comprises a sub central processing unit 100b and a primary storage system 170b. The primary storage system 170a includes a primary control device 110a and a primary storage device 130a. The secondary storage system 170b is a secondary control device 1
10b and a secondary storage device 130b.
【0017】正/副は、ユーザによって決定されるが、
一般的には、平常時に運用する記憶装置を正とし、それ
をバックアップする記憶装置を副とする。そして、記憶
装置130の正または副によって、便宜上あるいは論理
上、制御装置110、中央処理装置100、計算機シス
テム140の正および副を決めることとする。一つの制
御装置110配下に、正記憶装置と副記憶装置が混在す
ることもあるが、この場合には、その制御装置110
は、正記憶装置に対して正制御装置であり、副記憶装置
に対して副制御装置となる。Whether the primary / secondary is determined by the user,
Generally, a storage device that operates in normal times is defined as a primary storage device, and a storage device that backs it up is defined as a secondary storage device. Then, depending on the primary or secondary of the storage device 130, the primary and secondary of the control device 110, the central processing unit 100, and the computer system 140 are decided for convenience or logically. A primary storage device and a secondary storage device may coexist under one control device 110, but in this case, the control device 110
Is a primary control device for the primary storage device and a secondary control device for the secondary storage device.
【0018】制御装置110は、中央処理装置100お
よび他の制御装置110とリンク150で接続されてい
る。リンク管理機構120は、使用すべきリンク150
の切替え等を行なう。キャッシュ170は、中央処理装
置100からライトされたデータあるいは記憶装置13
0からリードされたデータを一時的に格納しておくメモ
リである。中央処理装置100からアクセスのあったデ
ータが、キャッシュ170上に存在していれば記憶装置
130へのアクセスは行なわない。プロセッサ160
は、記憶装置130,キャッシュ170,中央処理装置
100,他の制御装置110間のデータ転送を制御す
る。ディレクトリ180は、キャッシュ170の管理情
報を格納するためのメモリである。プロセッサ160
は、ディレクトリ180をアクセスすることによって、
ヒットミス判定等を行なう。The control unit 110 is connected to the central processing unit 100 and other control units 110 by a link 150. The link management mechanism 120 uses the link 150 to be used.
Switch, etc. The cache 170 stores data written from the central processing unit 100 or the storage device 13.
This is a memory for temporarily storing data read from 0. If the data accessed by the central processing unit 100 exists in the cache 170, the storage device 130 is not accessed. Processor 160
Controls data transfer among the storage device 130, the cache 170, the central processing unit 100, and the other control device 110. The directory 180 is a memory for storing management information of the cache 170. Processor 160
By accessing the directory 180
Performs hit / miss judgment, etc.
【0019】ヒットミス判定とは、中央処理装置100
からアクセス要求のあったデータの位置すなわち記憶装
置アドレス,データアドレス,データ長から、目的とす
るデータがキャッシュ170上に存在する(ヒット)か
否か(ミス)を判定する処理を言う。The hit / miss judgment means the central processing unit 100.
Is a process of determining whether the target data exists in the cache 170 (hit) or not (miss) from the position of the data for which the access request is made, that is, the storage device address, the data address, and the data length.
【0020】記憶装置130は、磁気ディスク装置であ
る。但し、磁気テープ装置や光ディスク装置などでもか
まわない。図2は、磁気ディスク装置の説明図である。
この磁気ディスク装置250は、データを記録する複数
個のディスク240と、ディスク240上のデータをリ
ード・ライトするためのヘッド230と、制御装置イン
タフェース220から構成される。ディスク240が1
回転する間にヘッド230がアクセス可能な円状の記録
単位をトラック200と呼ぶ。トラック200はディス
ク240上に複数個存在する。各トラックはセクタ26
0と呼ばれるある決まった大きさの領域に分割されてい
て、そのセクタがデータアクセスの最小単位(スロッ
ト)となる。あるトラック200がアクセス対象になっ
た時、そのトラック200をリードライトできる位置に
ヘッド230を移動する。この動作をシークと言う。こ
のディスク装置250では、複数のヘッド230が同時
に移動する。ヘッド230は上から昇順に番号付けされ
ていて、それをヘッド番号と呼ぶ。ディスク240が1
回転する間にすべてのヘッド230がアクセス可能なト
ラック200の集まりをシリンダ210と呼ぶ。シリン
ダ210にはディスク240の内側から昇順に番号付け
されていて、それをシリンダ番号と呼ぶ。The storage device 130 is a magnetic disk device. However, a magnetic tape device or an optical disk device may be used. FIG. 2 is an explanatory diagram of the magnetic disk device.
The magnetic disk device 250 includes a plurality of disks 240 for recording data, a head 230 for reading / writing data on the disks 240, and a controller interface 220. Disk 240 is 1
A circular recording unit that the head 230 can access while rotating is called a track 200. There are a plurality of tracks 200 on the disk 240. Each track is sector 26
It is divided into areas of a certain size called 0, and the sector becomes the minimum unit (slot) of data access. When a certain track 200 becomes an access target, the head 230 is moved to a position where the track 200 can be read / written. This operation is called seek. In this disk device 250, a plurality of heads 230 move simultaneously. The heads 230 are numbered in ascending order from the top and are called head numbers. Disk 240 is 1
A collection of tracks 200 accessible by all heads 230 during rotation is called a cylinder 210. The cylinders 210 are numbered in ascending order from the inside of the disk 240, which is called a cylinder number.
【0021】ディレクトリ180内には、ヒットミス判
定テーブルが格納されている。図3は、ヒットミス判定
テーブルの構造例である。このヒットミス判定テーブル
340は次の表から構成されている。 装置アドレス対応表300:ディスク装置250毎にエ
ントリを持ち、それぞれのエントリは当該ディスク装置
に対応するシリンダ番号対応表310へのポインタを格
納している。 シリンダ番号対応表310:一つのディスク装置のシリ
ンダ毎にエントリを持ち、それぞれのエントリは当該シ
リンダに対応するトラック番号対応表320へのポイン
タを格納している。 トラック番号対応表320:一つのシリンダのトラック
毎にエントリを持ち、それぞれのエントリは当該トラッ
クに対応するスロット管理表330へのポインタを格納
している。 スロット管理表330:一つのトラックのキャッシュ管
理情報であり、次の情報をもつ。 データ有無マップ331:トラック上のどのセクタがキ
ャッシュ170上に存在するかを示す情報である。 キャッシュアドレス332:トラック上のセクタがキャ
ッシュ170上に存在するとき、そのデータが格納され
ているアドレス情報である。 ポインタ333:キュー管理等を行なう時に使用する情
報である。 時刻334:当該スロットに対して正記憶装置130a
においてライトのあった時刻を副制御装置側110b側
で管理するための情報である。 RVOLダーティ状態335:当該スロットが副記憶装置1
30bに対して未更新かどうかを示す情報である。 トラックアドレス336:当該トラックのアドレスであ
る。 ヘッドアドレス337:当該トラックにアクセスするヘ
ッドのアドレスである。A hit / miss judgment table is stored in the directory 180. FIG. 3 is an example of the structure of the hit / miss determination table. The hit / miss determination table 340 is composed of the following tables. Device address correspondence table 300: There is an entry for each disk device 250, and each entry stores a pointer to the cylinder number correspondence table 310 corresponding to the disk device. Cylinder number correspondence table 310: There is an entry for each cylinder of one disk device, and each entry stores a pointer to the track number correspondence table 320 corresponding to that cylinder. Track number correspondence table 320: There is an entry for each track of one cylinder, and each entry stores a pointer to the slot management table 330 corresponding to that track. Slot management table 330: cache management information for one track and has the following information. Data existence / non-existence map 331: information indicating which sector on the track exists in the cache 170. Cache address 332: Address information in which when the sector on the track exists in the cache 170, the data is stored. Pointer 333: Information used when performing queue management and the like. Time 334: Primary storage device 130a for the slot
It is information for managing the time when there is a write on the sub controller 110b side. RVOL dirty status 335: The relevant slot is the secondary storage device 1
It is information indicating whether or not 30b has not been updated. Track address 336: Address of the track. Head address 337: Address of the head that accesses the track.
【0022】中央処理装置100から指定された位置付
け情報すなわちアクセス対象の記憶装置アドレス,シリ
ンダ番号,トラック番号を基に、装置アドレス対応表3
00,シリンダ番号対応表310,トラック番号対応表
320,スロット管理表330をたどり、データ有無マ
ップ331の対応するビットがオンであればヒットと判
定し、オフであればミスと判定する。さらに、データ転
送を行なう場合には、キャッシュアドレス332に目的
のセクタに対応するオフセットを加えることによって、
転送対象となるキャッシュアドレスを算出する。A device address correspondence table 3 based on the positioning information designated by the central processing unit 100, that is, the storage device address, cylinder number, and track number of the access target.
00, cylinder number correspondence table 310, track number correspondence table 320, and slot management table 330. If the corresponding bit of the data presence / absence map 331 is on, it is determined to be a hit, and if it is off, it is determined to be a miss. Further, when performing data transfer, by adding an offset corresponding to the target sector to the cache address 332.
Calculate the cache address to be transferred.
【0023】非同期コピーによる遠隔二重書きを実現す
るために、副記憶装置130bへの未更新のデータ(こ
れをRVOLダーティデータという)を管理するRVOLダーテ
ィ管理表をディレクトリ180にもつ。In order to realize remote duplicate writing by asynchronous copy, the directory 180 has an RVOL dirty management table for managing unupdated data (which is called RVOL dirty data) to the secondary storage device 130b.
【0024】図4は、RVOLダーティ管理表の構成図であ
る。このRVOLダーティ管理表400は、記憶装置VOL1,
VOL2,…毎のエントリを有している。一つのエントリに
は、RVOL情報401と、RVOLダーティリストヘッド40
2とが格納されている。RVOL情報401には、当該記憶
装置を正としたときの副制御装置110bアドレスおよ
び副記憶装置130bアドレスを保持する。当該記憶装
置130が正/副のペアを組んでいない場合は特殊な値
が格納される。RVOLダーティリストヘッド402は、未
更新のスロットを管理するためのRVOLダーティリスト4
10を指す。未更新のデータが存在しない場合にはNU
LL値が格納される。RVOLダーティリスト410は、ス
ロット管理表330内のポインタ333を用いて未更新
スロットのスロット管理表330をリスト構造にしたも
のである。FIG. 4 is a configuration diagram of the RVOL dirty management table. This RVOL dirty management table 400 is for storage device VOL1,
It has an entry for each VOL2, .... RVOL information 401 and RVOL dirty list head 40 are included in one entry.
2 are stored. The RVOL information 401 holds an address of the secondary control device 110b and an address of the secondary storage device 130b when the storage device is positive. If the storage device 130 does not form a primary / secondary pair, a special value is stored. The RVOL dirty list head 402 is an RVOL dirty list 4 for managing unupdated slots.
Refers to 10. NU if there is no unupdated data
The LL value is stored. The RVOL dirty list 410 is a list structure of the slot management table 330 of unupdated slots using the pointer 333 in the slot management table 330.
【0025】RVOLダーティ管理表400の登録は、中央
処理装置100から正記憶装置130aへのライト系ア
クセス時もしくはライト系アクセスと判明した時に行な
われる。中央処理装置100は、定められたプロトコル
に従って、正記憶装置130aへアクセスする。そのプ
ロトコルについては様々なものが存在するが、例えばメ
インフレームを中心とした大型計算機システムでは、C
KDプロトコルが一般的に使用されている。このCKD
プロトコルでは、データアクセスコマンドに先だって、
位置付け情報の他に、アクセス形態(リードまたはライ
ト系アクセス)を表す情報を含む位置付けコマンドが発
行される。従って、ライト系アクセスかどうかは、位置
付けコマンドを受領した時点で判明するため、この時に
RVOLダーティ管理表400の登録を行なう。また、ワー
クステーションやパソコンでは、データアクセスコマン
ドに位置付け情報を含むFBAプロトコルが用いられて
いる。このFBAプロトコルの場合には、データアクセ
スコマンド受領後、RVOLダーティ管理表400の登録を
行なう。The RVOL dirty management table 400 is registered at the time of a write access from the central processing unit 100 to the primary storage device 130a or when it is determined to be a write access. The central processing unit 100 accesses the primary storage device 130a according to the defined protocol. There are various protocols, but in a large-scale computer system centered on a mainframe, for example, C
The KD protocol is commonly used. This CKD
In the protocol, prior to the data access command,
In addition to the positioning information, a positioning command including information indicating the access form (read or write access) is issued. Therefore, whether it is a write access or not is known when the positioning command is received.
Register the RVOL dirty management table 400. Further, in workstations and personal computers, the FBA protocol including the positioning information in the data access command is used. In the case of this FBA protocol, the RVOL dirty management table 400 is registered after receiving the data access command.
【0026】図5は、RVOLダーティ管理表400の登録
処理のフローチャートである。ステップ510では、上
述のようにライト系アクセスか否かを判定し、ライト系
アクセスでなければ処理を終了し、ライト系アクセスで
あることが判明すればステップ520へ進む。ステップ
520では、アクセス対象の記憶装置130のアドレス
からRVOLダーティ管理表400のエントリを求め、当該
エントリのRVOL情報401を参照することによって、ア
クセス対象の記憶装置130が正/副のペアを形成して
いるかどうかをチェックする。ペアを形成していなけれ
ば処理を終了し、ペアを形成していればステップ530
へ進む。ステップ530では、RVOL情報401から副制
御装置110bのアドレスを求めて、その副制御装置1
10bに対して位置付け情報を転送する。これにより、
副記憶装置130bに未反映のデータが存在することを
副制御装置110bに通知することが出来る。ステップ
540では、RVOLダーティ管理表400にライト対象ス
ロットを登録する。すなわち、RVOLダーティリストヘッ
ダ402の指すスロット管理表330の前に、新規のス
ロット管理表330を挿入する。FIG. 5 is a flowchart of the registration processing of the RVOL dirty management table 400. In step 510, as described above, it is judged whether or not it is a write access, and if it is not a write access, the processing is ended, and if it is found that it is a write access, the routine proceeds to step 520. In step 520, an entry of the RVOL dirty management table 400 is obtained from the address of the storage device 130 to be accessed, and the RVOL information 401 of the entry is referenced to form the primary / secondary pair of the storage device 130 to be accessed. Check if If a pair has not been formed, the processing ends, and if a pair has been formed, step 530.
Proceed to. In step 530, the address of the sub control device 110b is obtained from the RVOL information 401, and the sub control device 1
The positioning information is transferred to 10b. This allows
It is possible to notify the sub control device 110b that there is unreflected data in the sub storage device 130b. In step 540, the write target slot is registered in the RVOL dirty management table 400. That is, a new slot management table 330 is inserted before the slot management table 330 indicated by the RVOL dirty list header 402.
【0027】なお、前記ステップ530において、副制
御装置110bに位置付け情報を転送する処理は、見か
け上のオーバヘッドを削減するために、中央処理装置か
らライトデータを受けとる処理と並行して行なうのが良
い。例えばCKDプロトコルで説明すると、位置付けコ
マンドにより位置付け情報を受領した後、子ジョブを生
成して位置付け情報転送処理を実行させておき、自ジョ
ブでは位置付けコマンドにチェインするライトコマンド
の処理を実行する。自ジョブでは、当該コマンドチェイ
ンが完了した後、子ジョブの完了を待ってから中央処理
装置100に対してライト処理完了を報告する。In the step 530, the process of transferring the positioning information to the sub control unit 110b is preferably performed in parallel with the process of receiving the write data from the central processing unit in order to reduce the apparent overhead. . For example, using the CKD protocol, after the positioning information is received by the positioning command, a child job is generated and the positioning information transfer process is executed, and the own job executes the write command process chained to the positioning command. In the own job, after the command chain is completed, the completion of the child job is waited, and then the write processing completion is reported to the central processing unit 100.
【0028】また、前記ステップ530において、副制
御装置110bに対して、位置付け情報の他に、現在の
時刻を転送してもよい。これにより、どの時点でデータ
が消失したかを副制御装置110b側で後に調べること
が出来るようになる。さらに、現在の時刻を転送する
際、正制御装置110aの内部時間を転送してもよい
が、外部時間との誤差をなくすために、例えば中央処理
装置100からの位置付けコマンドパラメータ内に時刻
を格納しておき、その時刻を転送してもよい。例えば図
6に示すRVOLダーティ情報600により、位置付け情報
および時刻は、正制御装置110aから副制御装置11
0bへ転送される。このRVOLダーティ情報600は、RV
OLダーティ情報の転送であることを表すコマンドコード
601と、副記憶装置アドレス610と、ダーティデー
タ位置情報620と、時刻630とから構成される。In step 530, the current time may be transferred to the sub control device 110b in addition to the positioning information. This makes it possible for the sub control device 110b side to later check at which point the data was lost. Furthermore, when transferring the current time, the internal time of the primary control device 110a may be transferred, but in order to eliminate the error from the external time, for example, the time is stored in the positioning command parameter from the central processing unit 100. Then, the time may be transferred. For example, according to the RVOL dirty information 600 shown in FIG. 6, the positioning information and the time are set from the primary control device 110a to the secondary control device 11a.
0b. This RVOL dirty information 600 is RV
It is composed of a command code 601, which indicates the transfer of OL dirty information, a secondary storage device address 610, dirty data position information 620, and a time 630.
【0029】図7は、RVOLダーティ管理表400の削除
処理のフローチャートである。なお、効率的な非同期コ
ピー方式の遠隔二重書きを実現するために、実装してい
る正記憶装置130a対応にRVOLライトを専属に実行す
る非同期二重書きジョブが存在するものとする。この非
同期二重書きジョブは、一定周期毎に、ランとスリープ
とを繰り返すジョブで、ラン中にRVOLダーティ管理表4
00の削除処理を実行する。ステップ710では、実行
中の非同期二重書きジョブに対応する正記憶装置130
aのRVOLダーティ管理表400のRVOLダーティリストヘ
ッダ402を参照し、その値がNULLならばRVOLダー
ティデータは存在しないので、処理を終了する。RVOLダ
ーティリストヘッダ402の値がNULLでないなら
ば、RVOLダーティデータが存在するので、ステップ72
0へ進む。ステップ720では、RVOLダーティ管理表4
00のRVOL情報401と当該スロット管理表330の情
報とから副記憶装置130bに対するライトコマンドを
生成し、RVOLライト処理を実行する。なお、ライトコマ
ンドの生成方法については例えばUSP555845に
記載されている。ステップ730では、ライト完了した
スロット管理表330をRVOLダーティリスト410から
削除する。処理が完了すると、しばらくスリープする。FIG. 7 is a flowchart of the deletion processing of the RVOL dirty management table 400. It is assumed that there is an asynchronous double-write job that exclusively executes RVOL write corresponding to the installed primary storage device 130a in order to realize efficient remote double-write of the asynchronous copy system. This asynchronous double-writing job is a job that repeats a run and a sleep at regular intervals, and the RVOL dirty management table 4 during the run.
00 deletion processing is executed. In step 710, the primary storage device 130 corresponding to the asynchronous double writing job that is being executed.
The RVOL dirty list header 402 of the RVOL dirty management table 400 of a is referred to, and if the value is NULL, there is no RVOL dirty data, so the processing ends. If the value of the RVOL dirty list header 402 is not NULL, there is RVOL dirty data, so step 72
Go to 0. In step 720, RVOL dirty management table 4
The write command for the secondary storage device 130b is generated from the RVOL information 401 of 00 and the information of the slot management table 330, and the RVOL write processing is executed. The write command generation method is described in, for example, USP555845. In step 730, the slot management table 330 that has been written is deleted from the RVOL dirty list 410. When the process is completed, it sleeps for a while.
【0030】以上が正制御装置110a側の処理であ
る。次に、副制御装置110b側の処理を説明する。The above is the processing on the side of the primary control device 110a. Next, processing on the side of the sub control device 110b will be described.
【0031】副制御装置110bの主な処理は、RVOLダ
ーティ情報600が正制御装置110aから転送されて
きてから、当該データがライトされるまでの間、RVOLダ
ーティ情報600を保持しておくことである。この処理
を実現するため、副制御装置110bでも、図4に示し
たRVOLダーティデータ管理表400と基本的に同一のテ
ーブル構造をもつ。RVOLダーティリスト410に接続さ
れたスロット管理表330が、副記憶装置130bへ未
反映のスロットを表す。なお、副制御装置110bで
は、RVOL情報401は、使用されない。The main processing of the secondary control device 110b is to hold the RVOL dirty information 600 from the time the RVOL dirty information 600 is transferred from the primary control device 110a until the data is written. is there. In order to realize this processing, the sub controller 110b also has a table structure basically the same as the RVOL dirty data management table 400 shown in FIG. The slot management table 330 connected to the RVOL dirty list 410 represents slots that have not been reflected in the secondary storage device 130b. The RVOL information 401 is not used in the sub control device 110b.
【0032】RVOLダーティデータ管理表400への登録
は、正制御装置110aからRVOLダーティ情報600が
転送されてきた時に行なわれる。すなわち、RVOLダーテ
ィデータ情報600の転送かどうかをコマンドコード6
01によって判定し、RVOLダーティ情報600の転送で
あれば、その記憶装置アドレス610から、対応する副
記憶装置130bのRVOLダーティ管理表400およびRV
OLダーティリスト410を求める。また、ダーティデー
タ位置情報620からヒットミス判定を実行すし、対象
となるスロット管理表330を得る。そして、そのスロ
ット管理表330を前記RVOLダーティリスト410に登
録すると共に、そのスロット管理表330のRVOLダーテ
ィ状態335を“ダーティあり”とする。Registration in the RVOL dirty data management table 400 is performed when the RVOL dirty information 600 is transferred from the primary controller 110a. That is, the command code 6 determines whether the RVOL dirty data information 600 is transferred.
If the RVOL dirty information 600 is determined to be transferred, the RVOL dirty management table 400 and the RV dirty management table 400 and RV of the corresponding secondary storage device 130b are read from the storage device address 610.
Request the OL dirty list 410. Further, the hit / miss judgment is executed from the dirty data position information 620 to obtain the target slot management table 330. Then, the slot management table 330 is registered in the RVOL dirty list 410, and the RVOL dirty status 335 of the slot management table 330 is set to “dirty”.
【0033】スロット管理表330の削除は、正制御装
置110aからの対象スロットに対するライトを実行し
た時に行なわれる。すなわち、正制御装置110aから
のライト要求に対して、位置付け情報を基にヒットミス
判定を行ない、得られたスロット管理表330のRVOLダ
ーティ状態335を参照し、“ダーティあり”ならば、
ライト処理を実行した後、RVOLダーティリスト410か
ら当該スロット管理表330を削除し、RVOLダーティ情
報335を“ダーティなし”に変更する。The slot management table 330 is deleted when the main controller 110a writes to the target slot. That is, in response to a write request from the primary control device 110a, hit-miss determination is performed based on the positioning information, the RVOL dirty status 335 of the obtained slot management table 330 is referenced, and if "dirty",
After executing the write processing, the slot management table 330 is deleted from the RVOL dirty list 410 and the RVOL dirty information 335 is changed to “no dirty”.
【0034】以上によって、副記憶装置130bに対す
る未更新データの位置情報およびそのデータが未更新と
なった時刻が、正制御装置110aおよび副制御装置1
10bでそれぞれ保持されることになる。As described above, the position information of the unupdated data in the secondary storage device 130b and the time when the data is unupdated are the primary control device 110a and the secondary control device 1.
10b will be held respectively.
【0035】図8に、消失データの位置情報,消失時刻
を記録するための消失データリストを示す。この消失デ
ータリスト1100は、記憶装置アドレス1110と、
消失データ数1120と、消失データ毎のデータアドレ
ス1130および消失した時刻1140とから構成され
る。FIG. 8 shows a lost data list for recording position information and lost time of lost data. The lost data list 1100 includes a storage device address 1110,
It consists of the number of lost data 1120, a data address 1130 for each lost data, and the time of loss 1140.
【0036】なお、前記消失データ数が所定の閾値を越
えると、記憶装置130全体が無効になり、記憶装置1
30全体を回復するようにしてもよい。こうすると、消
失データリスト1100が膨大になるのを防ぐことが出
来る。前記閾値は、保守員などから設定できるのが好ま
しい。When the number of lost data exceeds a predetermined threshold value, the entire storage device 130 becomes invalid and the storage device 1
The entire 30 may be recovered. This can prevent the lost data list 1100 from becoming huge. It is preferable that the threshold can be set by a maintenance staff or the like.
【0037】副制御装置110bは、中央処理装置10
0からの消失データリスト1100の読み出し要求に対
して、消失データリスト1100を次の手順により作成
する。 (1)要求のあった記憶装置アドレスから、対応するRV
OLダーティ管理表400を検索する。 (2)検索したRVOLダーティ管理表400のRVOLダーテ
ィリストヘッド402の値がNULLなら、消失データ
は存在しないので、消失データ数1120に“0”を記
録する。 (3)RVOLダーティリストヘッド402の値がRVOLダー
ティリスト410を指しているなら、そのRVOLダーティ
リスト410に接続しているスロット管理表330のト
ラックアドレス336,ヘッドアドレス337をデータ
アドレス1130に格納し、時刻334を時刻1140
に格納する。これを、RVOLダーティリスト410をたど
りながら、繰り返し、消失データ数をカウントしてい
く。 (4)カウントしていた消失データ数を消失データ数1
120に格納する。 (5)指定された記憶装置アドレスを記憶装置アドレス
1110に格納する。The sub-control unit 110b is the central processing unit 10.
In response to a read request for the lost data list 1100 from 0, the lost data list 1100 is created by the following procedure. (1) From the requested storage device address to the corresponding RV
The OL dirty management table 400 is searched. (2) If the value of the RVOL dirty list head 402 of the retrieved RVOL dirty management table 400 is NULL, there is no lost data, so “0” is recorded in the lost data count 1120. (3) If the value of the RVOL dirty list head 402 points to the RVOL dirty list 410, the track address 336 and the head address 337 of the slot management table 330 connected to the RVOL dirty list 410 are stored in the data address 1130. , Time 334 to time 1140
To be stored. This is repeated while tracing the RVOL dirty list 410 to count the number of lost data. (4) Lost data count was 1
It is stored in 120. (5) The designated storage device address is stored in the storage device address 1110.
【0038】以上により消失データリスト1100が完
成すると、副制御装置110bは、中央処理装置100
に消失データリスト1100を返送する。そこで、保守
員は、消失データリスト1100を読み出すことによ
り、消失データの有無を調べることが出来る。そして、
データが消失していた場合には、データアドレス113
0からデータを回復することが出来る。また、時刻11
40の最も古いものを検索して、その世代のバックアッ
プファイルからデータを回復することも可能となる。When the lost data list 1100 is completed as described above, the sub control unit 110b causes the central processing unit 100 to operate.
The lost data list 1100 is returned to. Therefore, the maintenance staff can check the presence or absence of the lost data by reading the lost data list 1100. And
If the data is lost, the data address 113
Data can be recovered from zero. Also, at time 11
It is also possible to retrieve the 40 oldest ones and recover the data from that generation of backup files.
【0039】図9は、正制御装置がアクセス不可能にな
っている場合の副制御装置110bにおけるアクセス可
否判定処理800を表すフローチャートである。ステッ
プ810では、アクセス対象スロットのヒットミス判定
を実行して、スロット管理表330を得る。ステップ8
20では、前記スロット管理表330のRVOLダーティ状
態335から、当該スロットのデータが副記憶装置13
0bに未反映かどうかを判定する。未反映であれば、デ
ータが消失しているため、ステップ830へ進む。未反
映でなければ、データが消失していないため、ステップ
840へ進む。FIG. 9 is a flow chart showing the access permission / inhibition decision processing 800 in the sub control unit 110b when the main control unit is inaccessible. In step 810, the hit / miss judgment of the access target slot is executed to obtain the slot management table 330. Step 8
20, the data of the slot is changed from the RVOL dirty status 335 of the slot management table 330 to the secondary storage device 13
It is determined whether it is not reflected in 0b. If it has not been reflected, the data has been lost, and the process proceeds to step 830. If not reflected, the data has not disappeared, and the process proceeds to step 840.
【0040】ステップ830では、中央処理装置100
に対して異常終了を報告する。ステップ840では、ア
クセスを許可する。In step 830, the central processing unit 100
Report an abnormal end to. In step 840, access is permitted.
【0041】以上で第1の実施形態の説明を終るが、こ
こで第1の実施形態の要点をまとめると次のようにな
る。 (1)正制御装置110aからライト処理を実際に行う
前に、副制御装置110bへ位置付け情報および時刻を
転送しておく。副制御装置110bは、実際にライトが
行なわれるまで、前記位置付け情報と前記時刻を保持し
ておく。 (2)障害、災害等により正記憶装置130aがアクセ
ス不能となった場合は、副制御装置110bから消失デ
ータの有無を判断する。消失データが有った場合には、
その消失データの時刻から、回復すべきバックアップフ
ァイルを決定する。 (3)消失データに対してアクセスがあった場合は、ア
クセスを許可せず、異常終了を報告する。The description of the first embodiment has been completed, but the main points of the first embodiment will be summarized as follows. (1) Before actually performing the write processing from the primary control device 110a, the positioning information and time are transferred to the secondary control device 110b. The sub control device 110b holds the positioning information and the time until the actual writing. (2) When the primary storage device 130a becomes inaccessible due to a failure, disaster, or the like, the presence or absence of lost data is determined from the secondary control device 110b. If there is lost data,
The backup file to be recovered is determined from the time of the lost data. (3) If the lost data is accessed, the access is not permitted and an abnormal end is reported.
【0042】従来の非同期コピー方式の遠隔二重書きで
は、消失したデータの有無を判断できないため、消失デ
ータが存在するにもかかわらずデータの回復を行なわな
かった場合には、データ化けが発生する。一方、消失デ
ータが存在しないにもかかわらずデータの回復を行なっ
た場合には、回復作業が無駄になり、データが数世代前
に戻るため、極めてコストがかかる。また、記憶装置1
30全体を回復しなくてはならず、効率が悪い。これに
対して、上記第1の実施形態による非同期コピー方式の
遠隔二重書きでは、副側のサイトで運用を開始する前
に、まず正記憶装置130aと副記憶装置130bの内
容が一致しているかどうかをチェックして、不一致であ
れば適切な時刻のバックアップファイルからデータ回復
してから運用を開始する。従って、前記データ化けや無
駄なデータ回復を回避することが出来る。以上により、
災害や障害等によって正記憶装置110aに対するアク
セスが不可能になった場合でも、副記憶装置130bを
使用して業務を副側のサイトで引き継ぐことができ、し
かも、システム停止時間を最小にできる。In the conventional remote duplication of the asynchronous copy system, since it is not possible to judge the presence or absence of lost data, if the data is not recovered despite the presence of the lost data, data corruption will occur. . On the other hand, if the data is recovered even though there is no lost data, the recovery work is wasted and the data returns several generations ago, which is extremely costly. In addition, the storage device 1
You have to recover the entire 30 and it is inefficient. On the other hand, in the remote copying of the asynchronous copy method according to the first embodiment, the contents of the primary storage device 130a and the secondary storage device 130b first match before the operation at the secondary site is started. Check whether or not they exist, and if they do not match, recover the data from the backup file at an appropriate time before starting operation. Therefore, it is possible to avoid the garbled data and the wasteful data recovery. From the above,
Even if the primary storage device 110a becomes inaccessible due to a disaster or failure, the secondary storage device 130b can be used to take over the work at the secondary site, and the system down time can be minimized.
【0043】−第2の実施形態− 前記第1の実施形態では、中央処理装置100からの1
回のライト要求毎(CCチェイン毎)に副制御装置11
0bに位置付け情報を転送していたため、正制御装置1
10aと副制御装置110bの間の通信回数が多くな
り、性能が低下する。これを解決するため、第2の実施
形態では、正記憶装置130aと副記憶装置130bの
内容が一致あるいは不一致のときのみ、そのことを副制
御装置110bに通知し、正制御装置110aと副制御
装置110bの間の通信回数を削減する。-Second Embodiment- In the first embodiment, one from the central processing unit 100 is used.
Sub-control unit 11 for each write request (for each CC chain)
Since the positioning information was transferred to 0b, the primary control device 1
The number of communications between 10a and the sub control device 110b increases, and the performance deteriorates. To solve this, in the second embodiment, only when the contents of the primary storage device 130a and the secondary storage device 130b match or do not match, the fact is notified to the secondary control device 110b, and the primary control device 110a and the secondary control device 110b The number of communications between the devices 110b is reduced.
【0044】記憶装置130は、二重書き一致または二
重書き不一致の2状態をとる。ここで、二重書き一致と
は、正記憶装置130aと副記憶装置130bの内容が
一致した状態であることを示す。また、二重書き不一致
とは、正記憶装置130aと副記憶装置130bの内容
が不一致の状態であることを示す。これらの二重書き状
態は、正制御装置130aおよび副制御装置130bの
RVOLダーティ管理表400のRVOL情報401に格納して
おく。また、二重書き不一致となった時刻も、RVOL情報
401に格納しておく。The storage device 130 is in two states of double writing match or double writing mismatch. Here, the double-writing match means that the contents of the primary storage device 130a and the secondary storage device 130b match. Further, the double-write mismatch means that the contents of the primary storage device 130a and the secondary storage device 130b do not match. These double-written states correspond to those of the primary controller 130a and the secondary controller 130b.
It is stored in the RVOL information 401 of the RVOL dirty management table 400. Further, the time when the double writing does not match is also stored in the RVOL information 401.
【0045】図10は、二重書き一致から二重書き不一
致に状態遷移させる不一致化状態変更処理900のフロ
ーチャートである。ステップ910では、ライト系アク
セスかどうかチェックする。ライト系アクセス以外であ
れば、二重書き状態の変更は発生しないので、処理を終
了する。ライト系アクセスであれば、ステップ920へ
進む。ステップ920では、アクセス対象の記憶装置1
30が正/副のペアを形成しているかどうかをRVOL情報
401から判定する。ペアを形成していなければ、二重
書き状態の変更は発生しないので、処理を終了する。ペ
アを形成していた場合は、ステップ930へ進む。ステ
ップ930では、現在の二重書き状態が二重書き一致か
どうかをRVOL情報401から判断する。二重書き不一致
であれば、二重書き状態の変更は発生しないので、処理
を終了する。二重書き一致であれば、ステップ940へ
進む。ステップ940では、副制御装置110bに対し
て、二重書き不一致となったことを通知する。効率の観
点から、この通知の処理と、中央処理装置100からの
ライト処理とを、並行して行なうのが好ましい。ステッ
プ950では、RVOL情報401を二重書き不一致に状態
変更する。FIG. 10 is a flowchart of the disagreement state change processing 900 for changing the state from double-writing coincidence to double-writing disagreement. In step 910, it is checked whether the access is a write type. If it is not a write access, the change of the double-write state does not occur, so the processing ends. If it is a write access, the process proceeds to step 920. In step 920, the storage device 1 to be accessed
It is judged from the RVOL information 401 whether 30 form a primary / secondary pair. If the pair has not been formed, the change of the double writing state does not occur, so the processing ends. If a pair has been formed, the process proceeds to step 930. In step 930, it is judged from the RVOL information 401 whether or not the current double-write state is the double-write match. If they do not coincide with each other, the change of the double-writing state does not occur, so that the process ends. If the double writing matches, the process proceeds to step 940. In step 940, the sub-control device 110b is notified that the double writing does not match. From the viewpoint of efficiency, it is preferable to perform the notification processing and the write processing from the central processing unit 100 in parallel. In step 950, the RVOL information 401 is changed to the state of double-writing disagreement.
【0046】なお、上記不一致化状態変更処理900
で、二重書き不一致の通知だけでなく、その時刻を副制
御装置110bに通知してもよい。この場合、中央処理
装置100からライト系アクセスを受けた時刻を副制御
装置110bへ転送し、かつRVOL情報401にも当該時
刻を記録する。なお、この時刻は、正制御装置110a
の内部時刻でも良いし、中央処理装置100から与えら
れる時刻でも良い。The disagreement state change processing 900
Thus, not only the notification of double-writing disagreement but also the time may be notified to the sub control device 110b. In this case, the time when the write access is received from the central processing unit 100 is transferred to the sub control device 110b, and the time is also recorded in the RVOL information 401. In addition, at this time, the positive control device 110a
It may be the internal time or the time given from the central processing unit 100.
【0047】図11は、二重書き不一致から二重書き一
致に状態遷移させる一致化状態変更処理1000のフロ
ーチャートである。この一致化状態変更処理1000
は、第1の実施形態で説明した非同期二重書きジョブが
副記憶装置130bに未更新データをライトした時に実
行される。ステップ1000では、第1の実施形態で説
明したように未更新データを副記憶装置130bに対し
てライトする。ステップ1010では、第1の実施形態
で説明したようにライト完了したスロット管理表330
をRVOLダーティリスト410から外す。ステップ102
0では、RVOLダーティリスト410をたどることによ
り、副記憶装置130bに対する未更新データが存在す
るかどうかを判断する。RVOLダーティリスト410にス
ロット管理表330が未だ接続されていれば、二重書き
不一致のままであるので、処理を終了する。RVOLダーテ
ィリスト410にスロット管理表330が接続されてい
なければ、二重書き不一致が解消されたので、ステップ
1030へ進む。ステップ1030では、二重書き一致
となったことを副制御装置110bに通知する。ステッ
プ1040では、RVOL情報401を二重書き一致に状態
変更する。FIG. 11 is a flow chart of the matching state change processing 1000 for changing the state from double writing mismatch to double writing matching. This matching status change processing 1000
Is executed when the asynchronous double-write job described in the first embodiment writes unupdated data to the secondary storage device 130b. In step 1000, the unupdated data is written to the secondary storage device 130b as described in the first embodiment. In step 1010, the slot management table 330 that has been written as described in the first embodiment.
From the RVOL dirty list 410. Step 102
At 0, by tracing the RVOL dirty list 410, it is determined whether or not there is unupdated data for the secondary storage device 130b. If the slot management table 330 is still connected to the RVOL dirty list 410, the double writing does not match, and the process ends. If the slot management table 330 is not connected to the RVOL dirty list 410, the double writing inconsistency has been resolved, and the process proceeds to step 1030. In step 1030, the sub-control device 110b is notified that the double writing match has occurred. In step 1040, the state of the RVOL information 401 is changed to double writing match.
【0048】図12は、正制御装置110aから副制御
装置110bに対する状態変更の通知で使用される状態
変更通知情報の例示図である。この状態変更通知情報1
300は、状態変更通知コマンドであることを示すコマ
ンドコード1301と、対象となる副記憶装置アドレス
1310と、状態変更を行なった時刻1320と、新状
態のコードを表す状態コード1330とが格納される。FIG. 12 is a view showing an example of status change notification information used for notification of status change from the primary controller 110a to the secondary controller 110b. This status change notification information 1
300 stores a command code 1301 indicating a status change notification command, a target secondary storage device address 1310, a time 1320 at which the status was changed, and a status code 1330 indicating a new status code. .
【0049】以上が正制御装置110a側の処理であ
る。次に、副制御装置110b側の処理を説明する。The above is the processing on the side of the positive control device 110a. Next, processing on the side of the sub control device 110b will be described.
【0050】副制御装置110bでは、状態変更通知情
報1300を受領すると、対象となる副記憶装置130
bに対応したRVOL情報401を状態コード1330で指
定された状態に変更する。なお、副制御装置110bで
は、RVOLダーティリスト410は使用しない。Upon receipt of the status change notification information 1300, the sub control unit 110b receives the target sub storage unit 130.
The RVOL information 401 corresponding to b is changed to the state designated by the state code 1330. The RVOL dirty list 410 is not used in the sub control device 110b.
【0051】図13に、記憶装置130の二重書き状態
を中央処理装置100に通知するための正副状態情報1
200を示す。この正副状態情報1200は、記憶装置
アドレス1210と、二重書き一致あるいは二重書き不
一致を表す二重書き状態1220と、二重書き不一致と
なった時刻を表す状態変更時刻1230とから構成され
る。FIG. 13 shows the primary / secondary state information 1 for notifying the central processing unit 100 of the dual writing state of the storage device 130.
200 is shown. The primary / secondary state information 1200 is composed of a storage device address 1210, a double writing state 1220 indicating double writing match or double writing mismatch, and a state change time 1230 indicating the time when double writing mismatch occurs. .
【0052】副制御装置110bは、中央処理装置10
0からの正副状態情報の読み出し要求に対して、正副状
態情報1200を次の手順により作成する。 (1)指定された記憶装置アドレスから、対応するRVOL
ダーティ管理表400を検索し、RVOL情報401から、
二重書き状態を得て、二重書き状態1220へ格納す
る。 (2)二重書き不一致であれば、RVOL情報401に記録
された時刻を状態変更時刻1230へ格納する。 以上により正副状態情報1200が完成すると、副制御
装置110bは、中央処理装置100に正副状態情報1
200を返送する。そこで、保守員は、正副状態情報1
200を読み出すことにより、二重書き状態を確認する
ことが出来る。そして、二重書き不一致であれば、不一
致となった時刻から最も世代の近いバックアップファイ
ルを選び出し、データ回復を行なうことが出来る。この
第2の実施形態の方法は、個々のデータ回復ができない
かあるいは不要な場合に有用である。The sub control unit 110b is the central processing unit 10.
In response to a read request for the primary and secondary status information from 0, the primary and secondary status information 1200 is created by the following procedure. (1) Corresponding RVOL from the specified storage device address
Search the dirty management table 400, and from the RVOL information 401,
The double writing state is obtained and stored in the double writing state 1220. (2) If the double writing does not match, the time recorded in the RVOL information 401 is stored in the state change time 1230. When the primary / secondary state information 1200 is completed as described above, the secondary control device 110b informs the central processing unit 100 of the primary / secondary state information 1.
Return 200. Therefore, the maintenance personnel should set the primary and secondary status information 1
By reading 200, the double writing state can be confirmed. Then, in the case of double-writing disagreement, it is possible to select the backup file having the closest generation from the time when the disagreement occurs and recover the data. The method of this second embodiment is useful when individual data recovery is not possible or unnecessary.
【0053】中央処理装置100から二重書き不一致の
副記憶装置130bに対してアクセス要求があったら、
その副制御装置110bは、要求のあった記憶装置アド
レスから対応するRVOLダーティ管理表400を求め、そ
のRVOL情報401から、当該記憶装置130が正/副の
ペアを組んでいるかどうか、および、正/副のペアを組
んでいる場合には二重書き不一致かどうかを調べる。そ
して、二重書き不一致の場合は、旧世代のデータを転送
するのを防ぐために、アクセスを拒否する。If an access request is issued from the central processing unit 100 to the secondary storage device 130b in which the double writing does not match,
The secondary control device 110b obtains the corresponding RVOL dirty management table 400 from the requested storage device address, and based on the RVOL information 401, whether the storage device 130 forms a primary / secondary pair, and If you are forming a sub-pair, check whether there is a double-write mismatch. Then, in the case of double writing disagreement, access is denied in order to prevent transfer of the old generation data.
【0054】以上で第2の実施形態の説明を終るが、こ
こで第2の実施形態の要点をまとめると次のようにな
る。 (1)正および副記憶装置130の内容の一致/不一致
を表す二重書き状態を制御装置110に保持する。 (2)二重書き状態は、副記憶装置130bに未更新デ
ータができる時に二重書き不一致となり、未更新データ
がなくなった時に二重書き一致となる。 (3)障害や災害により正記憶装置130aへのアクセ
スが不可能となった場合は、副制御装置110bから二
重書き状態を読み出し、二重書き不一致となった時刻か
ら最も近い世代のバックアップファイルからデータを回
復することが出来る。 (4)二重書き不一致となっている副記憶装置130b
に対する中央処理装置100からのアクセスは拒否され
る。The description of the second embodiment is completed above, but the main points of the second embodiment will be summarized as follows. (1) The control device 110 holds a double writing state that indicates whether the contents of the primary and secondary storage devices 130 match or do not match. (2) In the double-write state, double-write mismatch occurs when there is unupdated data in the secondary storage device 130b, and double-write match occurs when there is no unupdated data. (3) When the primary storage device 130a cannot be accessed due to a failure or disaster, the double-write state is read from the secondary control device 110b, and the backup file of the generation closest to the time when the double-write mismatch occurs. You can recover data from it. (4) Secondary storage device 130b in which double writing does not match
Access from the central processing unit 100 is denied.
【0055】上記第2の実施形態では、副側のサイトで
運用を開始する前に、保守員は、正記憶装置130aと
副記憶装置130bの内容が一致しているか不一致なの
かをチェックする。そして、不一致であれば、適切な時
期のバックアップファイルからデータを回復してから、
運用を開始する。以上により、災害や障害等によって正
記憶装置110aに対するアクセスが不可能になった場
合でも、副記憶装置130bを使用して業務を副側のサ
イトで引き継ぐことができ、しかも、システム停止時間
を最小にできる。In the second embodiment, before starting the operation at the secondary site, the maintenance staff checks whether the contents of the primary storage device 130a and the secondary storage device 130b match or do not match. And if they don't match, recover the data from the backup file at the appropriate time and then
Start operation. As described above, even if the primary storage device 110a becomes inaccessible due to a disaster or failure, the secondary storage device 130b can be used to take over the work at the secondary site, and the system downtime is minimized. You can
【0056】−第1の実施形態と第2の実施形態の差異
− (1)第1の実施形態では、中央処理装置100からの
ライト処理の応答時間が劣化する可能性がある。一方、
第2の実施形態では、応答性能劣化はほとんどない。 (2)障害、災害後の消失データの回復では、第1の実
施形態では消失したデータ単位に回復可能なのに対し
て、第2の実施形態では、記憶装置全体を回復する必要
がある。-Difference between the first embodiment and the second embodiment- (1) In the first embodiment, the response time of the write processing from the central processing unit 100 may be degraded. on the other hand,
In the second embodiment, there is almost no deterioration in response performance. (2) In the recovery of lost data after a failure or disaster, it is possible to recover lost data units in the first embodiment, whereas it is necessary to recover the entire storage device in the second embodiment.
【0057】[0057]
【発明の効果】本発明の計算機システムによれば、副記
憶装置に対する未更新データができると、その位置付け
情報あるいは正副の二重書き状態が不一致であること
を、正制御装置から副制御装置に通知するので、障害や
災害等により正記憶装置が使用不能となった時に、消失
データの有無を副制御装置から判断でき、適切に対処す
ることが可能になる。According to the computer system of the present invention, when unupdated data is created in the secondary storage device, the fact that the positioning information or the dual writing state of the primary and secondary data does not match is notified from the primary control device to the secondary control device. Since the notification is sent, when the primary storage device becomes unusable due to a failure or disaster, the presence or absence of lost data can be determined from the sub control device, and appropriate measures can be taken.
【図1】本発明の第1の実施形態にかかる計算機システ
ムの構成図である。FIG. 1 is a configuration diagram of a computer system according to a first embodiment of the present invention.
【図2】磁気ディスク装置の構成図である。FIG. 2 is a configuration diagram of a magnetic disk device.
【図3】ヒットミス判定テーブルの構成図である。FIG. 3 is a configuration diagram of a hit / miss determination table.
【図4】RVOLダーティ管理表の構成図である。FIG. 4 is a configuration diagram of an RVOL dirty management table.
【図5】RVOLダーティ管理表の登録処理を表すフローチ
ャートである。FIG. 5 is a flowchart showing a registration process of an RVOL dirty management table.
【図6】RVOLダーティ情報の構成図である。FIG. 6 is a configuration diagram of RVOL dirty information.
【図7】RVOLダーティ管理表の削除処理を表すフローチ
ャートである。FIG. 7 is a flowchart showing an RVOL dirty management table deletion process.
【図8】消失データリストの構成図である。FIG. 8 is a configuration diagram of a lost data list.
【図9】アクセス可否判定処理を表すフローチャートで
ある。FIG. 9 is a flowchart showing an access permission / prohibition determination process.
【図10】不一致化状態変更処理を表すフローチャート
である。FIG. 10 is a flowchart showing a disagreement state change process.
【図11】一致化状態変更処理を表すフローチャートで
ある。FIG. 11 is a flowchart showing a matching state changing process.
【図12】状態変更通知情報の構成図である。FIG. 12 is a configuration diagram of state change notification information.
【図13】正副状態情報の構成図である。FIG. 13 is a configuration diagram of primary / secondary state information.
100…中央処理装置 110…制御装置 130…記憶装置 160…プロセッサ 170…キャッシュ 180…ディレクトリ 100 ... Central processing unit 110 ... Control device 130 ... Storage device 160 ... Processor 170 ... Cache 180 ... Directory
Claims (10)
御装置から構成される正記憶装置システムと、その正記
憶装置システムに接続する遠隔の副記憶装置システムと
から構成される計算機システムにおいて、 前記正記憶装置システム下の制御装置すなわち正制御装
置は、前記中央処理装置からライト要求を受けた際、前
記副記憶装置へはライトデータは転送せずに、その位置
情報を転送した後、前記中央処理装置に対してはライト
完了を報告して、後の適当な時期に前記副記憶装置に対
するライト処理を実行し、 前記副記憶装置システム下の制御装置すなわち副制御装
置は、前記正制御装置から転送された前記位置情報を保
持しておき、後に実際のライト処理が実行された時に、
前記位置情報を破棄し、 災害等により前記正制御装置が使用不能となったとき
に、前記副制御装置に格納されている前記位置情報によ
って、消失したデータの有無を検出可能としたことを特
徴とする計算機システム。1. A computer system comprising a primary storage system connected to a central processing unit and comprising a storage device and a control device, and a remote secondary storage system connected to the primary storage system, When the control device under the primary storage system, that is, the primary control device, receives the write request from the central processing unit, the write data is not transferred to the secondary storage device, but the position information is transferred to the secondary storage device. The write completion is reported to the central processing unit, and the write processing for the secondary storage device is executed at an appropriate time later, and the control device under the secondary storage device system, that is, the secondary control device, is the primary control device. The position information transferred from is retained, and when the actual write process is executed later,
The position information is discarded, and the presence or absence of lost data can be detected by the position information stored in the sub control device when the primary control device becomes unusable due to a disaster or the like. And computer system.
て、前記正制御装置は、前記位置情報に加えて、前記中
央処理装置からライト要求のあった時刻を前記副制御装
置に転送することによって、前記中央処理装置のデータ
更新順序を、前記副制御装置に記憶させ、 災害等により前記正制御装置が使用不能になったとき
に、前記副制御装置に格納されている時刻から、回復す
べきバックアップファイルを決定し、データ回復を行う
ことを特徴とする計算機システム。2. The computer system according to claim 1, wherein the primary control device transfers, to the sub control device, a time at which a write request is issued from the central processing unit, in addition to the position information. A backup that stores the data update order of the central processing unit in the sub control unit and should be recovered from the time stored in the sub control unit when the main control unit becomes unusable due to a disaster or the like. A computer system characterized by determining files and performing data recovery.
て、前記中央処理装置から前記副制御装置に対して、前
記位置情報に対応する領域にアクセスがあった場合に、
前記副制御装置は、エラー終了を前記中央処理装置に報
告することを特徴とする計算機システム。3. The computer system according to claim 1, wherein when the central processing unit accesses the area corresponding to the position information with respect to the sub control unit,
The computer system, wherein the sub-control unit reports an error end to the central processing unit.
御装置から構成される正記憶装置システムと、前記正記
憶装置システムに接続する遠隔の副記憶装置システムか
ら構成される計算機システムにおいて、 前記正記憶装置システム下の制御装置すなわち正制御装
置と、前記副記憶装置システム下の制御装置すなわち副
制御装置は、それぞれが、二重書きの状態として2つの
状態、すなわち二重書き一致状態および二重書き不一致
状態を管理しており、 前記正制御装置は、前記中央処理装置からライト要求を
受けた際、ライト対象の正記憶装置が二重書き一致状態
であれば、前記正記憶装置および前記副記憶装置のそれ
ぞれの前記二重書き状態を二重書き不一致状態に遷移さ
せ、前記副記憶装置へはライトデータは転送せずに、前
記中央処理装置に対してはライト完了を報告して、後の
適当な時期に前記副記憶装置に対するライト処理を実行
し、さらに、後に前記副制御装置に対する未更新データ
が全て更新された時に二重書き一致状態に遷移させ、 災害等により前記正制御装置が使用不能となった時に、
前記副制御装置に格納されている前記二重書き状態によ
って、データ消失の有無を検出可能としたことを特徴と
する計算機システム。4. A computer system comprising a primary storage system connected to a central processing unit and comprising a storage device and a control device, and a remote secondary storage system connected to the primary storage system, wherein: The control device under the primary storage device system, that is, the primary control device, and the control device under the secondary storage device system, that is, the sub-control device, respectively have two states of double writing, that is, a double writing matching state and a double writing state. When the primary control device receives a write request from the central processing unit, if the primary storage device to be written is in the double-write inconsistent state, the primary storage device and the primary storage device and the primary storage device are managed. The central processing is performed without causing the write data to be transferred to the secondary storage device by transitioning the dual write state of each of the secondary storage devices to the double write disagreement state. To the storage device, the write completion is reported, the write processing to the secondary storage device is executed at an appropriate time later, and double write match occurs when all the unupdated data to the secondary control device is updated later. When the normal control device becomes unusable due to a disaster,
A computer system characterized in that the presence or absence of data loss can be detected by the double-writing state stored in the sub-control unit.
て、前記正制御装置および前記副制御装置を、前記二重
書き不一致状態に遷移させる際に、前記二重書き不一致
状態とした時刻を、前記正制御装置および前記副記憶装
置にそれぞれ記録し、 災害等により前記正制御装置が使用不能になった場合
に、前記副記憶装置が二重書き不一致状態となっていれ
ば、前記二重書き不一致状態となった時刻に対応するバ
ックアップファイルからデータ回復を行なうことを特徴
とする計算機システム。5. The computer system according to claim 4, wherein when the primary control device and the sub control device are transited to the double-write inconsistent state, the time when the double-write inconsistent state is set is If it is recorded in the primary control device and the secondary storage device respectively, and if the primary storage device becomes unusable due to a disaster or the like, and the secondary storage device is in the double-write mismatch state, the double-write mismatch A computer system characterized by performing data recovery from a backup file corresponding to the time when the status is reached.
システムにおいて、前記位置付け情報あるいは前記二重
書き不一致状態に付随して前記副制御装置に転送される
時刻は、ライト処理要求時刻として、前記中央処理装置
から与えられることを特徴とする計算機システム。6. The computer system according to claim 2 or 5, wherein the time transferred to the sub-control unit in association with the positioning information or the double-write disagreement state is a write processing request time, A computer system provided from the central processing unit.
システムにおいて、前記位置付け情報あるいは前記二重
書き不一致状態に付随して前記副制御装置に転送される
時刻は、前記中央処理装置からライト要求のあった時刻
として、前記正制御装置の内部時間を使用することを特
徴とする計算機システム。7. The computer system according to claim 2 or 5, wherein the time to be transferred to the sub-control unit in association with the positioning information or the double write disagreement state is written from the central processing unit. A computer system characterized in that the internal time of the positive control device is used as the requested time.
て、前記位置情報は、ライト系アクセスであることが判
明したときのみ、前記副制御装置に転送することを特徴
とする計算機システム。8. The computer system according to claim 2, wherein the position information is transferred to the sub control device only when it is determined that a write access has been made.
て、前記二重書き不一致状態は、ライト系アクセスであ
ることが判明したときのみ、前記副制御装置に通知する
ことを特徴とする計算機システム。9. The computer system according to claim 5, wherein the double-write inconsistency state is notified to the sub-control device only when it is determined that a write access has occurred.
おいて、前記中央処理装置から、前記二重書き不一致状
態である副記憶装置に対してアクセスがあった場合に、
前記副制御装置は、エラー終了を前記中央処理装置に報
告することを特徴とする計算機システム。10. The storage device system according to claim 4, wherein when the central processing unit accesses the secondary storage device in the double write disagreement state,
The computer system, wherein the sub-control unit reports an error end to the central processing unit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP8145562A JPH09325917A (en) | 1996-06-07 | 1996-06-07 | Computer system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP8145562A JPH09325917A (en) | 1996-06-07 | 1996-06-07 | Computer system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH09325917A true JPH09325917A (en) | 1997-12-16 |
Family
ID=15388014
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP8145562A Pending JPH09325917A (en) | 1996-06-07 | 1996-06-07 | Computer system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH09325917A (en) |
Cited By (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH11305949A (en) * | 1998-04-17 | 1999-11-05 | Fujitsu Ltd | Remote transfer method by file controller |
| JP2001216097A (en) * | 2000-01-31 | 2001-08-10 | Sony Corp | Data recording / reproducing device |
| JP2001216093A (en) * | 2000-01-31 | 2001-08-10 | Sony Corp | Data recording / reproducing device |
| US6615332B2 (en) | 1997-09-12 | 2003-09-02 | Hitachi, Ltd. | Storage system assuring data integrity and asynchronous remote data duplexing |
| US6981008B2 (en) | 2000-03-31 | 2005-12-27 | Hitachi, Ltd. | Method for duplicating data of storage subsystem and data duplicating system |
| US7010650B2 (en) | 2001-11-20 | 2006-03-07 | Hitachi, Ltd. | Multiple data management method, computer and storage device therefor |
| JP2006133975A (en) * | 2004-11-04 | 2006-05-25 | Ricoh Co Ltd | Electronic device, untransferred log loss notification method, untransferred log loss notification program, recording medium on which untransferred log loss notification program is recorded |
| US7130959B2 (en) | 2000-01-28 | 2006-10-31 | Hitachi, Ltd. | Subsystems and an integrated system of these subsystems |
| US7167902B1 (en) | 1999-04-26 | 2007-01-23 | Hitachi, Ltd. | Disk subsystems and their integrated system |
-
1996
- 1996-06-07 JP JP8145562A patent/JPH09325917A/en active Pending
Cited By (13)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7191303B2 (en) | 1997-09-12 | 2007-03-13 | Hitachi, Ltd. | Storage controller |
| US6615332B2 (en) | 1997-09-12 | 2003-09-02 | Hitachi, Ltd. | Storage system assuring data integrity and asynchronous remote data duplexing |
| US7216208B2 (en) | 1997-09-12 | 2007-05-08 | Hitachi, Ltd. | Storage controller |
| US7657707B2 (en) | 1997-09-12 | 2010-02-02 | Hitachi, Ltd. | Storage controller |
| JPH11305949A (en) * | 1998-04-17 | 1999-11-05 | Fujitsu Ltd | Remote transfer method by file controller |
| US7167902B1 (en) | 1999-04-26 | 2007-01-23 | Hitachi, Ltd. | Disk subsystems and their integrated system |
| US7373390B2 (en) | 1999-04-26 | 2008-05-13 | Hitachi, Ltd. | Disk subsystems and their integrated system |
| US7130959B2 (en) | 2000-01-28 | 2006-10-31 | Hitachi, Ltd. | Subsystems and an integrated system of these subsystems |
| JP2001216097A (en) * | 2000-01-31 | 2001-08-10 | Sony Corp | Data recording / reproducing device |
| JP2001216093A (en) * | 2000-01-31 | 2001-08-10 | Sony Corp | Data recording / reproducing device |
| US6981008B2 (en) | 2000-03-31 | 2005-12-27 | Hitachi, Ltd. | Method for duplicating data of storage subsystem and data duplicating system |
| US7010650B2 (en) | 2001-11-20 | 2006-03-07 | Hitachi, Ltd. | Multiple data management method, computer and storage device therefor |
| JP2006133975A (en) * | 2004-11-04 | 2006-05-25 | Ricoh Co Ltd | Electronic device, untransferred log loss notification method, untransferred log loss notification program, recording medium on which untransferred log loss notification program is recorded |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4452533B2 (en) | System and storage system | |
| US6584582B1 (en) | Method of file system recovery logging | |
| US6968425B2 (en) | Computer systems, disk systems, and method for controlling disk cache | |
| US7340652B2 (en) | Invalidation of storage control unit cache metadata | |
| JP3149325B2 (en) | Method and associated system for forming a consistency group to provide disaster recovery functionality | |
| JP4041656B2 (en) | Storage system and data transmission / reception method in storage system | |
| JP3712922B2 (en) | Method for independent data copying in a data processing system | |
| US7051176B2 (en) | Reading data provided to a remote storage device | |
| US7328373B2 (en) | Data processing system | |
| US6766491B2 (en) | Parity mirroring between controllers in an active-active controller pair | |
| US6886075B2 (en) | Memory device system and method for copying data in memory device system | |
| US20150012699A1 (en) | System and method of versioning cache for a clustering topology | |
| US20040148443A1 (en) | Method for controlling information processing system and information processing system | |
| JP2008515112A (en) | Virtual ordered write | |
| JPH07239799A (en) | Method for provision of remote data shadowing and remote data duplex system | |
| JP2005222110A (en) | Storage subsystem | |
| JP2002149499A (en) | Remote copy system with data integrity | |
| JP2002207620A (en) | File system and data caching method in the system | |
| US6101574A (en) | Disk control unit for holding track data in non-volatile cache memory | |
| JPH09325917A (en) | Computer system | |
| JPH11102262A (en) | Remote backup system with disk subsystem and magnetic tape library device | |
| US7624229B1 (en) | Spillover slot | |
| US8145865B1 (en) | Virtual ordered writes spillover mechanism | |
| JP2004213470A (en) | Disk array device, and data writing method for disk array device | |
| US7529776B2 (en) | Multiple copy track stage recovery in a data storage system |