【発明の詳細な説明】〔産業上の利用分野〕本発明は、利用者ファイル(システムファイル以外のフ
ァイル)のボリューム障害発生時のリカバリに係り、特
にオンラインを24時間サービスするシステムに好適な
ボリューム切替方式に関する。[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to recovery of user files (files other than system files) when a volume failure occurs, and is particularly suitable for a system that provides online services 24 hours a day. Regarding the switching method.
従来の方式では、ボリューム障害が発生するとサービス
を中断し、回復ボリュームにトータル・ダンプの内容を
コピーし、更新前及び更新後ジャールを基にボリューム
障害発生直前の状態に戻していた。In the conventional method, when a volume failure occurs, the service is interrupted, the contents of the total dump are copied to the recovery volume, and the state immediately before the volume failure is restored based on the pre-update and post-update jars.
なお、この種の方式として関連するものには例上記従来
技術は、リカバリ中にサービスが全部停止し、またファ
イルコピーのためのコマンド投入等の運用者介入が必要
である。これは運転中断と人手を要するという問題があ
り、省力化、無人化指向の趨勢に沿わなく、また24時
間サービスができないという問題がある0本発明の目的
は。Incidentally, related methods of this type include, for example, the conventional technique described above, in which all services are stopped during recovery, and operator intervention such as inputting a command for file copying is required. This has the problem of interrupting operation and requiring manpower, does not follow the trend of labor saving and unmanned operation, and has the problem of not being able to provide 24-hour service.
リカバリをディスク上で行いサービスを中断させず、ま
た完全、又は準無人化運転を可能にすることにある。The goal is to perform recovery on disk without interrupting services, and to enable completely or semi-unmanned operation.
詐題〔訃井唸を解決するための手段〕上記目的は、従来の第1.第2の記憶媒体の他にトータ
ルダンプ用としての第3の記憶媒体を設はボリューム障
害時には、この記憶媒体とファイル更新前及び更新後の
ジャーナルを使用してファイル復旧を行う。Fraudulent problem [Means for solving the problem of Banai] The above purpose is the same as the conventional first problem. In addition to the second storage medium, a third storage medium for total dumping is provided, and in the event of a volume failure, file recovery is performed using this storage medium and the journals before and after file update.
この間、障害の発生していない第1、もしくは第2の媒
体に対して参照のみを行わせることにより、達成される
。During this time, this is achieved by only referring to the first or second medium in which no fault has occurred.
保存用ボリュームは、システム開始または、ジャーナル
ファイル満杯時に最新のカレントな使用ボリュームから
コピーする。オンラインサービス中は、カレントな使用
ボリューム(X面、Y面)の双方を更新し、ファイル更
新前及び更新後ジャーナルを取得する。The storage volume is copied from the latest currently used volume when the system starts or when the journal file becomes full. During online service, both the currently used volumes (X side, Y side) are updated, and the before and after file update journals are acquired.
ボリューム障害発生時には、保存用ボリュームを回復用
ボリュームにボリュームコピーし、更新後ジャーナルを
基に回復用ボリュームを時系列的に更新することにより
、障害発生前のファイル状態に戻すよう動作する。この
間は、非障害ボリュームを使用して参照のみのサービス
を続行する。When a volume failure occurs, the storage volume is copied to the recovery volume, and the recovery volume is updated in chronological order based on the updated journal, thereby restoring the file state to the state before the failure occurred. During this time, read-only service continues using non-failed volumes.
これによって、障害発生時に運用者が必要でなく、また
サービスを中断することがない。This eliminates the need for an operator and prevents service interruption when a failure occurs.
以下1本発明の一実施例を図により説明する。An embodiment of the present invention will be described below with reference to the drawings.
第1.第2図で保存用ボリューム作成のタイミングと方
法を示す。1st. Figure 2 shows the timing and method of creating a storage volume.
第1図は、ボリューム構成を示した例である。FIG. 1 is an example showing the volume configuration.
1.2はカレントな使用ボリュームで各々ファイル内容
は同じである。Volumes 1 and 2 are currently used volumes, and the file contents are the same for each volume.
3は保存用ボリュームで、ボリューム障害時のファイル
復旧原本である64はジャーナルファイルが存在するボリュームで、1,
2へのファイルアクセス時のファイル更新前及び更新後
情報を持つ。3 is the storage volume, which is the original file for recovery in the event of a volume failure.6 4 is the volume where the journal file exists, 1,
Contains information before and after file update when accessing file 2.
カレントな使用ボリュームと保存用ボリュームの状態を
サービス開始前に同一の状態にしておき。Make sure that the current usage volume and storage volume are in the same state before starting the service.
サービス中はジャーナルファイル満杯を契機にカレント
な使用ボリュームの片方の内容を、保存用ボリュームに
コピーする。During service, when the journal file becomes full, the contents of one of the currently used volumes is copied to the storage volume.
第2図は、保存用ボリュームの作成方法を示した例であ
る。FIG. 2 is an example showing a method for creating a storage volume.
ジャーナルファイル満杯が発生すると、4のジャーナル
ファイルをアクセス禁止、1のカレントな使用ボリュー
ム(X面)をリード権のみ許可、2のカレントな使用ボ
リューム(Y面)は保存用ボリューム作成のコピーのた
め、リード権、ライト権を禁止とする。この時、参照系
のサービスのみが可能となる。When the journal file becomes full, access to the journal file 4 is prohibited, only read rights are allowed for the currently used volume 1 (X side), and the currently used volume 2 (Y side) is used for copying when creating a storage volume. , read rights, and write rights are prohibited. At this time, only reference-based services are possible.
第2図で示す、カレントな使用ボリューム(Y面)から
保存用ボリュームコピーが終了すると、ファイル状態を
第1図の状態に戻し、通常サービスを再開する。When the storage volume copy from the currently used volume (plane Y) shown in FIG. 2 is completed, the file state is returned to the state shown in FIG. 1 and normal service is resumed.
この時、運用者を介入させ、保存用ボリュームを切離し
、、MTへボリュームコピーを行い、情報を保存するこ
とも可能である。At this time, it is also possible to have the operator intervene, detach the storage volume, copy the volume to the MT, and save the information.
第3.第4図でカレントな使用ボリューム(X面)障害
時のボリュームリカバリ方式を示す。Third. FIG. 4 shows a volume recovery method when the currently used volume (X plane) fails.
第3図は、ボリューム障害が発生した時の状態を示す。FIG. 3 shows the state when a volume failure occurs.
第4図は、ボリュームリカバリの動作を示す。FIG. 4 shows the operation of volume recovery.
通常サービス(,100)中、ファイルアクセスを行っ
た後、カレントな使用ボリュームの障害発生か判定(1
01)L、、正常であれば通常サービス(100)を行
う、カレントな使用ボリューム(X面)が障害であれば
、ジャーナルファイルをアクセス禁止、カレントな使用
ボリューム(Y面)をリード権のみ許可する(102)
。この時、参照系のサービスのみが可能となる6次に、
保存用ボリュームを回復用ボリューム(システム構成時
、回復用ボリュームとして組込んである)に、ボリュー
ムコピーする(、103)。After accessing a file during normal service (,100), it is determined whether a failure has occurred in the currently used volume (1
01) L, If normal, perform normal service (100). If the currently used volume (X side) has a failure, access to the journal file is prohibited, and only read rights are allowed for the currently used volume (Y side). Do (102)
. At this time, only reference-based services are possible in the sixth order.
The storage volume is volume-copied to the recovery volume (which is incorporated as a recovery volume during system configuration) (103).
ジャーナルファイルの更新後ジャーナルを基に回復用ボ
リュームを時系列的に更新し、障害発生直前の状態(Y
面と同じ状態)にする(104)。After updating the journal file, the recovery volume is updated chronologically based on the journal, and the state immediately before the failure occurred (Y
(104).
回復用ボリュームをカレントな使用ボリューム(X面)
と定義付け、障害発生前のファイル状態に戻しく105
)、通常サービス(l OO)を再開する。The recovery volume is the current volume used (X side)
105 to return to the file state before the failure occurred.
), resume normal service (lOO).
第5図にボリュームリカバリ実施後のボリューム構成を
示す。FIG. 5 shows the volume configuration after performing volume recovery.
カレントな使用ボリューム(Y面)が障害になった場合
、前述したカレントな使用ボリュームのX面/Y面が異
なるだけで、処理手順は同様である。If the currently used volume (Y plane) becomes a failure, the processing procedure is the same, except that the X plane/Y plane of the currently used volume described above is different.
本発明によれば、保存用ボリュームの更新やボリューム
リカバリもシステム内で自動的に行う。According to the present invention, updating of storage volumes and volume recovery are also automatically performed within the system.
実施例中、MTを使用する場合は、MTの磁気テープ装
置への装着をしなければならないが、本操作なら素人で
もできるので、準無人化システムとなる効果がある。ま
た、ボリュームリカバリ中も第1または第2のボリュー
ムが障害となっても、非障害ボリュームへのリード権を
許すので、サービスが中断しないという効果がある。In the embodiment, when an MT is used, it is necessary to attach the MT to a magnetic tape device, but this operation can be performed by even an amateur, resulting in a quasi-unmanned system. Furthermore, even during volume recovery, even if the first or second volume fails, read rights to non-faulty volumes are granted, so there is an effect that service will not be interrupted.
第1図は本発明の一実施例の装置のボリューム構成図、
第2図は保存用ボリュームの作成方法を示した構成図、
第3図はボリューム障害が発生したときの状態図、第4
図はボリュームリカバリの動作図、第5図はポリネーム
リカバリ実施後のボリューム構成図である。1・・・カレントな使用ボリューム(X面)、2・・・
カレントな使用ボリューム(Y面)、3・・・保存用ボ
リューム、4・・・ジャーナルファイル。見2凶第)VJ兜4区FIG. 1 is a volume configuration diagram of an apparatus according to an embodiment of the present invention;
Figure 2 is a configuration diagram showing how to create a storage volume.
Figure 3 is a state diagram when a volume failure occurs, Figure 4
The figure is an operation diagram of volume recovery, and FIG. 5 is a volume configuration diagram after polyname recovery is performed. 1... Current volume used (X side), 2...
Current usage volume (Y plane), 3... Storage volume, 4... Journal file. (See 2) VJ Kabuto 4 Ward
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63063259AJPH01237716A (en) | 1988-03-18 | 1988-03-18 | Volume switching method |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63063259AJPH01237716A (en) | 1988-03-18 | 1988-03-18 | Volume switching method |
| Publication Number | Publication Date |
|---|---|
| JPH01237716Atrue JPH01237716A (en) | 1989-09-22 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP63063259APendingJPH01237716A (en) | 1988-03-18 | 1988-03-18 | Volume switching method |
| Country | Link |
|---|---|
| JP (1) | JPH01237716A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0423119A (en)* | 1990-05-18 | 1992-01-27 | Fujitsu Ltd | Method and device for restoration of data on array disk |
| JPH0635625A (en)* | 1992-07-15 | 1994-02-10 | Nec Corp | Disk array controller |
| JP2009059357A (en)* | 1997-12-24 | 2009-03-19 | Avid Technology Inc | A process for scalable and reliable transfer of multiple high-bandwidth data streams between computer systems and multiple storage devices and multiple applications |
| JP2010238124A (en)* | 2009-03-31 | 2010-10-21 | Fujitsu Ltd | Data management program, data management apparatus, and data management method |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0423119A (en)* | 1990-05-18 | 1992-01-27 | Fujitsu Ltd | Method and device for restoration of data on array disk |
| JPH0635625A (en)* | 1992-07-15 | 1994-02-10 | Nec Corp | Disk array controller |
| JP2009059357A (en)* | 1997-12-24 | 2009-03-19 | Avid Technology Inc | A process for scalable and reliable transfer of multiple high-bandwidth data streams between computer systems and multiple storage devices and multiple applications |
| JP2010238124A (en)* | 2009-03-31 | 2010-10-21 | Fujitsu Ltd | Data management program, data management apparatus, and data management method |
| Publication | Publication Date | Title |
|---|---|---|
| US6745304B2 (en) | Method and device for storing computer data with back-up operations | |
| EP1635259A2 (en) | Method, system and apparatus for creating an architectural model for generatin robust and easy to manage data protection applications in a data protection system | |
| US20050262033A1 (en) | Data recording apparatus, data recording method, program for implementing the method, and program recording medium | |
| JPH01237716A (en) | Volume switching method | |
| JPH04253235A (en) | Backup system for filing system | |
| JPS5941070A (en) | File device switching method | |
| JPH07281933A (en) | Computer system | |
| JPS58166472A (en) | Duplicate method for journal collection magnetic tape device | |
| JPH06124169A (en) | Dual systemized optical disk device and I / O error automatic recovery method thereof | |
| JP2001188690A (en) | Computer system and checkpoint information storage method | |
| JP2850756B2 (en) | Failure recovery method for files in distributed processing system | |
| JPH0385650A (en) | Disk volume restoration system | |
| JP3817818B2 (en) | Dual volume equivalency guarantee processing device and duplex volume equivalency guarantee processing method | |
| JPH06149641A (en) | On-line backup and fault recovery system | |
| JP2746102B2 (en) | One point backup method of business data file in case of magnetic disk device failure | |
| JP3602001B2 (en) | Data file duplication control system for disk units | |
| JPH01255029A (en) | Automatic recovery system for old file | |
| JPS6167153A (en) | Partial failure recovery processing method for direct access storage devices | |
| JP2806342B2 (en) | Database failure recovery method and device | |
| JP2004199116A (en) | Split backup / restore operation method | |
| JPH04141751A (en) | Fault recovery system for mass storage medium | |
| JP3292201B2 (en) | Access control device | |
| JPS6154526A (en) | File copy method | |
| JPH06325107A (en) | Device and method for data management | |
| JPH0371752A (en) | Method for countermeasuring and processing occurrence of power interruption |