JPH11327804A - Disk duplexing system - Google Patents

Disk duplexing system

Info

Publication number
JPH11327804A
JPH11327804A JP10133059A JP13305998A JPH11327804A JP H11327804 A JPH11327804 A JP H11327804A JP 10133059 A JP10133059 A JP 10133059A JP 13305998 A JP13305998 A JP 13305998A JP H11327804 A JPH11327804 A JP H11327804A
Authority
JP
Japan
Prior art keywords
disk
disk device
duplex
duplicated
duplication
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.)
Granted
Application number
JP10133059A
Other languages
Japanese (ja)
Other versions
JP3216601B2 (en
Inventor
Masahisa Hosoi
将久 細井
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 JP13305998A priority Critical patent/JP3216601B2/en
Publication of JPH11327804A publication Critical patent/JPH11327804A/en
Application granted granted Critical
Publication of JP3216601B2 publication Critical patent/JP3216601B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a disk duplexing system which can restore a simplex operation of a duplex disk even if a fault occurs in the disk device during the simplex operation of the duplex disk. SOLUTION: When a fault occurs in a disk device during a simplex operation, a disk duplex control means 11 restores the operation state of a duplex disk where the fault occurs in the disk device during the simplex operation in duplex disks 50 and 60. When the state is not restored even if the operation is repeated for several times, a system is automatically switched to the operation in a other disk device which is not used in the simplex operation, and an emergency operation for restoring the operation is executed. A disk time display means 12 displays and outputs time information which is read from the disk device selected for restoration in the emergency operation to an input/output part 30.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明はディスク二重化シス
テムに係り、特に2台のディスク装置からなる二重化デ
ィスクの運転を制御するディスク二重化システムに関す
る。
[0001] 1. Field of the Invention [0002] The present invention relates to a disk duplication system, and more particularly to a disk duplication system for controlling the operation of a duplicate disk composed of two disk devices.

【0002】[0002]

【従来の技術】従来より、交換可能なハードディスクに
より構成されるディスク二重化システムが知られている
(特開平8−44501号公報)。この従来のディスク
二重化システムは、ディスクデータ一致判定手段、ディ
スク実装変化検出及び認識手段、ディスク構成変化を制
御する構成制御手段、ディスク抜去要求手段並びにLE
D制御手段を有しており、図8のフローチャートに従っ
て、システム起動時に二重化ディスクに使用するディス
ク装置を選択する。
2. Description of the Related Art Conventionally, there has been known a disk duplication system including a replaceable hard disk (Japanese Patent Laid-Open No. Hei 8-44501). This conventional disk duplication system includes a disk data coincidence determination unit, a disk mounting change detection and recognition unit, a configuration control unit for controlling a disk configuration change, a disk removal request unit, and an LE
It has D control means, and selects a disk device to be used for a duplex disk at the time of system startup according to the flowchart of FIG.

【0003】すなわち、この従来のディスク二重化シス
テムでは、システム起動時、両系のディスク管理情報を
読み出して(ステップ101)、両方のディスク状態が
接続状態であり、かつ、一致化情報が一致するかどうか
判定し(ステップ102、103)、その条件を満足す
る場合は二重化システムで運用する。両方のディスク状
態が接続状態であっても(ステップ102)、ステップ
103で一致化情報が不一致であると判定されたとき
は、両系を切り離す。
That is, in this conventional disk duplex system, when the system is started, the disk management information of both systems is read out (step 101), and both disk states are connected and whether the matching information matches. It is determined whether or not these conditions are satisfied (steps 102 and 103). Even if both disk states are connected (step 102), if it is determined in step 103 that the matching information does not match, both systems are disconnected.

【0004】また、ステップ102で両方のディスク状
態が接続状態でないと判定されたときは、両方のディス
ク状態が切り離し状態かどうか判定し(ステップ10
4)、両方のディスク状態が切り離し状態でない場合
は、接続状態にある系の片系シスて運用する。更に、ス
テップ104で両ディスク状態が切り離し状態であると
判定されたときは、両系を切り離してシステムが運用さ
れる。
When it is determined in step 102 that both disk states are not connected, it is determined whether both disk states are disconnected (step 10).
4) If both disk states are not in the detached state, the system is operated as one of the systems in the connected state. Further, when it is determined in step 104 that both disk states are in the separated state, the system is operated with both systems separated.

【0005】また、一般的な従来のディスク二重化シス
テムでは、システム起動以前の二重化ディスクの状態を
読み出し、その読み出し結果の通り二重化ディスクの運
転を復旧し、二重化ディスクのデータが常に最新となる
ようになっている。前記の出願公開公報記載の従来のデ
ィスク二重化システムでは、一致化情報が不一致である
場合、両系を切り離し、二重化ディスクが使用できなく
ても問題がないシステムである。
Further, in a general conventional disk duplexing system, the state of the duplexed disk before the system is started is read, the operation of the duplicated disk is restored according to the read result, and the data of the duplicated disk is always updated. Has become. In the conventional disk duplication system described in the above-mentioned publication, when the coincidence information does not match, both systems are separated from each other, and there is no problem even if the duplicated disk cannot be used.

【0006】一方、交換機、無停止コンピュータ等のよ
うに、無停止の二重化ディスクを要求されるシステムに
おいては、一致化情報が不一致であろうと、システム起
動以前の二重化ディスクの状態に忠実に、二重化ディス
クを使用できるように動作する。しかし、二次融化ディ
スクが一重化運転時にディスク装置が障害となった場
合、最新データを維持することが重要視されているた
め、そのディスク装置での一重化運転での二重化ディス
クの運転を開始できるようになるまで、繰り返し動作を
行っている。
On the other hand, in a system such as an exchange or a non-stop computer, which requires a non-stop duplex disk, even if the matching information does not match, the duplex is faithful to the state of the duplex disk before the system startup. Operate to use the disk. However, if the disk unit fails during the single operation of the secondary fusion disk, it is important to maintain the latest data, so the operation of the dual disk in the single operation with the disk device is started. The operation is repeated until it becomes possible.

【0007】二重化ディスクに使用されるディスク装置
は、二重化ディスクとして使用されれば、二重化ディス
クとして使用されなくなった場合でも、二重化ディスク
として使用されていた最後の時点までのデータを保持し
ている。
[0007] A disk device used for a duplicated disk, if used as a duplicated disk, retains data up to the last time used as a duplicated disk, even if it is no longer used as a duplicated disk.

【0008】[0008]

【発明が解決しようとする課題】しかるに、上記の従来
のディスク二重化システムでは、2台のディスク装置か
らなる二重化ディスクの一重化運転時に、その運転中の
ディスク装置が障害となった場合、そのディスク装置で
の一重化運転を復旧し続け、二重化ディスクが運転開始
できるようにならないという問題がある。これは、最新
データを維持することが重要視されているので、最新デ
ータのある一重化運転していたディスク装置の運転状態
を維持しようと、二重化ディスクの運転を制御するため
である。
However, in the above-mentioned conventional disk duplication system, when a duplicated disk composed of two disk devices is operated in a single operation and the operating disk device becomes an obstacle, the disk becomes unusable. There is a problem in that the single operation in the apparatus is continuously restored, and the operation of the duplicate disk cannot be started. This is because the maintenance of the latest data is regarded as important, so that the operation of the duplicated disk is controlled in order to maintain the operation state of the disk device that has been operated in a single operation with the latest data.

【0009】また、従来のディスク二重化システムで
は、代わりのディスク装置を使用するように設定する手
段が、保守者の操作しかないため、無人運転中に、二重
化ディスクの一重化運転時に運転中のディスク装置が障
害となった場合、そのディスク装置を使用し続け、二重
化ディスクが使用できるようにならないという問題があ
る。
Further, in the conventional disk duplication system, since the only means for setting the use of the substitute disk device is the operation of the maintenance person, the disk operating during the unified operation of the duplicate disk during the unattended operation is operated. When the device fails, there is a problem that the disk device is continuously used and the duplicated disk cannot be used.

【0010】更に、従来のディスク二重化システムで
は、未使用の冗長ディスク装置が、二重化ディスクとし
て使用されていた最後の時点までのデータを保持してい
る場合があるが、二重化ディスクが一重化運転時にディ
スク装置が障害となった場合、二重化ディスクの運転は
復旧しないが、保守者による操作をしない限り、未使用
の冗長ディスク装置での運転に切り換え二重化ディスク
の運転を復旧することができないという問題がある。
Further, in the conventional disk duplication system, an unused redundant disk device may hold data up to the last time used as a duplicated disk. If a disk unit fails, the operation of the duplicated disk will not be restored, but it will not be possible to switch over to the operation of an unused redundant disk unit and restore the operation of the duplicated disk unless an operation is performed by maintenance personnel. is there.

【0011】更に又、従来のディスク二重化システムで
は、時刻情報を読み出して、ディスク装置が二重化ディ
スクでいつまで使用されていたかを表示する手段がない
ため、保守者による操作で復旧された二重化ディスクの
データがいつまで有効であったのかが分からないという
問題もある。
Furthermore, in the conventional disk duplication system, there is no means for reading the time information and indicating how long the disk device has been used in the duplicated disk. There is also a problem that it is difficult to know how long has been effective.

【0012】本発明は以上の点に鑑みなされたもので、
二重化ディスクの一重化運転中のディスク装置に障害が
発生しても、二重化ディスクの一重化運転を復旧し得る
ディスク二重化システムを提供することを目的とする。
The present invention has been made in view of the above points,
It is an object of the present invention to provide a disk duplication system capable of restoring the duplication disk single operation even if a failure occurs in the disk device during the duplication disk single operation.

【0013】また、本発明の他の目的は、復旧された二
重化ディスクのデータがいつまで有効であったのかを容
易に判別し得るディスク二重化システムを提供すること
にある。
Another object of the present invention is to provide a disk duplication system which can easily determine how long the restored data of the duplicated disk has been valid.

【0014】更に、本発明の他の目的は、一度も二重化
ディスクとして使用されていないディスク装置が二重化
ディスクとして使用されたことを容易に判別し得るディ
スク二重化システムを提供することにある。
Still another object of the present invention is to provide a disk duplication system that can easily determine that a disk device that has never been used as a duplicated disk has been used as a duplicated disk.

【0015】[0015]

【課題を解決するための手段】本発明は上記の目的を達
成するため、第1のディスク装置と第2のディスク装置
からなる二重化ディスクの二重化運転を行い、第1のデ
ィスク装置と第2のディスク装置のそれぞれに同一の情
報を同時に書き込み、読み出すディスク二重化システム
において、第1のディスク装置と第2のディスク装置の
一方のみを運転する一重化運転中又は一重化運転起動時
に、一重化運転対象のディスク装置の故障発生により一
重化運転ができないことを検出した時、一重化運転対象
のディスク装置を起動する復旧動作を行い、復旧動作を
所定回数繰り返しても復旧しないときは、一重化運転対
象となっていない未使用の他方のディスク装置を選択し
て一重化運転することを特徴とする。
SUMMARY OF THE INVENTION In order to achieve the above object, the present invention performs a duplex operation of a duplex disk comprising a first disk device and a second disk device, and performs a first disk device and a second disk device. In a disk duplexing system in which the same information is simultaneously written and read out to and from each of the disk devices, during a single operation in which only one of the first disk device and the second disk device is operated or when a single operation is started, a single operation target When it is detected that the single operation cannot be performed due to the failure of the disk device, the recovery operation for starting the disk device targeted for the single operation is performed. And a single operation is performed by selecting the other unused disk device.

【0016】本発明では、一重化運転時に一重化運転対
象のディスク装置の故障発生により一重化運転ができな
いことを検出した時、一重化運転対象のディスク装置を
起動する復旧動作を行い、復旧動作を所定回数繰り返し
ても復旧しないときは、一重化運転対象となっていない
未使用の他方のディスク装置を選択するようにしたた
め、未使用の他方のディスク装置を使用した一重化運転
ができる。
According to the present invention, when it is detected that the single-drive operation cannot be performed due to the failure of the disk drive of the single-drive operation during the single-drive operation, a recovery operation for starting the single-drive operation disk device is performed, and the recovery operation is performed. If the recovery is not performed even after repeating the predetermined number of times, the other unused disk device that is not the target of the single operation is selected, so that the single operation using the other unused disk device can be performed.

【0017】また、本発明は、第1のディスク装置と第
2のディスク装置は二重化運転中に定期的に更新される
時刻と、二重化運転したときは有効値が設定され、一度
も二重化運転に使用されていないときは無効値が設定さ
れる有効フラグとからなる時刻情報を記憶しており、一
重化運転時に一重化運転中のディスク装置から時刻情報
を読み出して表示することを特徴とする。
Further, according to the present invention, the first disk device and the second disk device are periodically updated during the duplex operation, and a valid value is set when the duplex operation is performed. When not used, time information including a valid flag to which an invalid value is set is stored, and the time information is read from the disk device in the single operation during the single operation and displayed.

【0018】本発明では、一重化運転時に運転中のディ
スク装置の時刻情報を表示できると共に、そのディスク
装置が一度も二重化運転に使用されていないのかどうか
も表示できる。
According to the present invention, it is possible to display the time information of the disk device that is operating during the single operation, and also to display whether the disk device has never been used in the redundant operation.

【0019】また、本発明は上記の目的を達成するた
め、二重化ディスクを構成する第1のディスク装置及び
第2のディスク装置と、第1のディスク装置及び第2の
ディスク装置の運転を制御して、読み込みと書き込みを
行うディスク二重化運転手段と、第1のディスク装置及
び第2のディスク装置の運転状態を記憶するディスク運
転状態記憶部と、ディスク運転状態記憶部から読み出し
た運転状態に従って、ディスク二重化運転手段の動作を
制御して第1のディスク装置及び第2のディスク装置を
二重化運転又は一重化運転させ、第1のディスク装置と
第2のディスク装置の一方のみを運転する一重化運転中
又は一重化運転起動時に、一重化運転対象のディスク装
置の故障発生により一重化運転ができないことを検出し
た時、一重化運転対象のディスク装置を起動する復旧動
作を行い、復旧動作を所定回数繰り返しても復旧しない
ときは、一重化運転対象となっていない未使用の他方の
ディスク装置を、ディスク二重化運転手段により選択さ
せて一重化運転させるディスク二重化制御手段とを有す
る構成としたものである。
Further, in order to achieve the above object, the present invention controls a first disk device and a second disk device constituting a duplicated disk, and controls operations of the first disk device and the second disk device. Disk operating means for reading and writing, a disk operating state storage unit for storing operating states of the first disk device and the second disk device, and a disk operating unit read from the disk operating state storing unit. During the single operation in which the operation of the duplex operation means is controlled to cause the first disk device and the second disk device to perform the duplex operation or the single operation, and to operate only one of the first disk device and the second disk device. Or, when it is detected at the start of the unification operation that the unification operation cannot be performed due to the failure of the disk device targeted for the unification operation, the unification operation is performed. If the recovery operation for starting up the disk device is performed and the recovery operation is not repeated after the predetermined number of times, the unused disk device that is not the target of the single operation is selected by the disk redundant operation means to perform the single operation. And means for controlling the duplication of disks.

【0020】本発明では、ディスク二重化制御手段が一
重化運転時に一重化運転対象のディスク装置の故障発生
により一重化運転ができないことを検出した時、一重化
運転対象のディスク装置を起動する復旧動作を行い、復
旧動作を所定回数繰り返しても復旧しないときは、ディ
スク二重化運転手段により一重化運転対象となっていな
い未使用の他方のディスク装置を選択させるようにした
ため、未使用の他方のディスク装置を使用した一重化運
転ができる。
According to the present invention, when the disk duplication control means detects that the single-unit operation cannot be performed due to the failure of the single-unit operation disk unit during the single-unit operation, the recovery operation for activating the single-unit operation target disk unit. When the recovery operation is not repeated even after repeating the recovery operation a predetermined number of times, the disk redundant operation means is used to select the other unused disk device which is not the target of the single operation, so that the other unused disk device is used. Can be used for single operation.

【0021】また、本発明は、第1のディスク装置と第
2のディスク装置に対し、二重化運転中に定期的に更新
される時刻と、二重化運転したときは有効値が設定さ
れ、一度も二重化運転に使用されていないときは無効値
が設定される有効フラグとからなる時刻情報を記憶させ
るディスク時刻更新手段と、情報を表示する機能を備え
た入出力部と、一重化運転時に一重化運転中のディスク
装置から時刻情報を読み出して入出力部に表示させるデ
ィスク時刻表示手段とを更に有する構成としたものであ
る。
Further, according to the present invention, the time periodically updated during the duplexing operation and the effective value when the duplexing operation is performed are set for the first disk device and the second disk device, and the duplexing is performed once. A disk time updating means for storing time information comprising a valid flag which is set to an invalid value when not used for operation, an input / output unit having a function of displaying information, and a single operation in a single operation A disk time display means for reading time information from the disk device inside and displaying the time information on the input / output unit is further provided.

【0022】本発明では、ディスク時刻表示手段によ
り、一重化運転時に運転中のディスク装置の時刻情報を
入出力部により表示させることができると共に、そのデ
ィスク装置が一度も二重化運転に使用されていないのか
どうかも表示できる。
In the present invention, the disk time display means can display the time information of the operating disk device during the single operation by the input / output unit, and the disk device has never been used for the duplex operation. Can also be displayed.

【0023】また、本発明は、二重化ディスクが複数設
けられており、ディスク二重化制御手段はディスク二重
化運転手段を介して互いに独立に複数の二重化ディスク
の運転制御を行うことを特徴とする。ここで、第1のデ
ィスク装置の2つのパーティションで分割された一方
と、第2のディスク装置の2つのパーティションで分割
された一方とが第1の二重化ディスクを構成し、第1の
ディスク装置の2つのパーティションで分割された他方
と、第2のディスク装置の2つのパーティションで分割
された他方とが第2の二重化ディスクを構成するように
してもよい。
Further, the present invention is characterized in that a plurality of duplicated disks are provided, and the disk duplicate control means controls the operation of the plural duplicated disks independently of each other via the disk duplicate operation means. Here, one divided by two partitions of the first disk device and one divided by two partitions of the second disk device constitute a first duplicated disk, and The other divided by the two partitions and the other divided by the two partitions of the second disk device may constitute a second duplicated disk.

【0024】[0024]

【発明の実施の形態】次に、本発明の実施の形態につい
て図面と共に説明する。図1は本発明になるディスク二
重化システムの第1の実施の形態のシステム構成図を示
す。同図に示すように、このディスク二重化システム
は、プログラム制御により動作するコンピュータ10
と、ディスク運転状態記憶部20と、入出力部30と、
ディスク二重化運転手段40と、ディスク装置51及び
52から構成される第1の二重化ディスク50と、ディ
スク装置61及び62から構成される第2の二重化ディ
スク60とからなる。また、ディスク装置51、52、
61及び62には時刻情報71、72、73及び74が
格納されている。
Next, embodiments of the present invention will be described with reference to the drawings. FIG. 1 shows a system configuration diagram of a first embodiment of a disk duplication system according to the present invention. As shown in FIG. 1, the disk duplication system includes a computer 10 operating under program control.
Disk operation state storage unit 20, input / output unit 30,
It comprises a disk duplication operation means 40, a first duplicated disk 50 composed of disk devices 51 and 52, and a second duplicated disk 60 composed of disk devices 61 and 62. Also, the disk devices 51, 52,
Time information 71, 72, 73 and 74 are stored in 61 and 62.

【0025】更に、コンピュータ10は、ディスク二重
化制御手段11、ディスク時刻表示手段12及びディス
ク時刻更新手段13を備えている。ディスク二重化制御
手段11は、ディスク二重化運転手段40を使用して、
ディスク装置51及び52から構成される第1の二重化
ディスク50と、ディスク装置61及び62から構成さ
れる第2の二重化ディスク60の二重化運転を制御し、
二重化運転状態に変更が起きれば変更後の状態でディス
ク運転状態記憶部20を更新する。システム起動時に
は、ディスク運転状態記憶部20からディスク運転状態
を読み出し、第1の二重化ディスク50及び第2の二重
化ディスク60の二重化運転を開始する。
Further, the computer 10 includes a disk duplication control unit 11, a disk time display unit 12, and a disk time update unit 13. The disk duplication control means 11 uses the disk duplication operation means 40,
Controlling the duplication operation of a first duplicated disk 50 composed of disk devices 51 and 52 and a second duplicated disk 60 composed of disk devices 61 and 62;
If a change occurs in the duplex operation state, the disk operation state storage unit 20 is updated with the changed state. When the system is started, the disk operation state is read from the disk operation state storage unit 20, and the duplicate operation of the first duplicated disk 50 and the second duplicated disk 60 is started.

【0026】また、ディスク二重化制御手段11は、通
常は二重化ディスク50、60を構成する各2台のディ
スク装置51及び52、ディスク装置61及び62に対
して、異なる二重化ディスク間ではそれぞれ互いに独立
に、同じ二重化ディスク内では同一の情報を2台のディ
スク装置に同時に書き込み、また読み出す二重化運転動
作をするが、2台のディスク装置の一方を保守のため交
換するなどの理由から他方の1台のディスク装置のみを
運転させる一重化運転動作もする。
The disk duplication control means 11 normally controls the two disk devices 51 and 52 and the disk devices 61 and 62 constituting the duplicated disks 50 and 60 independently of each other between different duplicated disks. In the same duplexed disk, the same information is simultaneously written to and read from two disk units, and a duplicate operation is performed. However, one of the two disk units is replaced for maintenance because of the other. There is also a single operation operation in which only the disk device is operated.

【0027】このディスク二重化制御手段11は、上記
の一重化運転と呼ばれる一台のディスク装置の運転中
に、一重化運転のディスク装置が障害となったときは、
第1の二重化ディスク50及び第2の二重化ディスク6
0のうち、一重化運転のディスク装置が障害となった二
重化ディスクの運転状態を復旧する。
The disk duplication control means 11 operates when a single disk drive, which is referred to as the above-mentioned single operation, fails when a single disk drive fails.
First duplicated disk 50 and second duplicated disk 6
In the case of "0", the operation state of the duplicated disk in which the disk device in the single operation has failed has been recovered.

【0028】しかし、数回繰り返しても第1の二重化デ
ィスク50及び第2の二重化ディスク60のうち、一重
化運転のディスク装置が障害となった二重化ディスクの
運転状態を復旧できない場合は、二重化ディスク制御手
段11は、一重化運転で未使用であった他方のディスク
装置(未使用の冗長ディスク装置)での運転に自動的に
切り換え、運転を復旧する緊急時動作を行う。なお、シ
ステム起動時でも、一重化運転でのディスク障害が発生
した場合、ディスク二重化制御手段11は、この運転状
態復旧動作を行う。
However, if the disk device of the single operation among the first and second duplicated disks 50 and 60 cannot recover the operation state of the failed duplicate disk even after being repeated several times, The control means 11 automatically switches to the operation of the other disk device (unused redundant disk device) which has not been used in the single operation, and performs an emergency operation for restoring the operation. In addition, even when the system is started, if a disk failure occurs in the single operation, the disk duplication control unit 11 performs this operation state restoring operation.

【0029】ディスク時刻表示手段12は、ディスク二
重化制御手段11による運転状態復旧動作の緊急時動作
により、第1の二重化ディスク50及び第2の二重化デ
ィスク60の運転が開始した後、第1の二重化ディスク
50及び第2の二重化ディスク60のデータ最終有効時
刻が容易に判別できるように、時刻情報71、72、7
3及び74を入出力部30へ表示出力する。
After the operation of the first duplexed disk 50 and the second duplicated disk 60 is started by the emergency operation of the operation state restoring operation by the disk duplexing control means 11, the disk time display means 12 performs the first duplexing. The time information 71, 72, 7 is used so that the data last valid time of the disk 50 and the second duplicated disk 60 can be easily determined.
3 and 74 are output to the input / output unit 30 for display.

【0030】ディスク時刻更新手段13は、ディスク装
置51、52、61及び62の中で第1の二重化ディス
ク50及び第2の二重化ディスク60に使用されている
ディスク装置の時刻情報71、72、73及び74のみ
を更新する。
The disk time updating means 13 generates time information 71, 72, 73 of the disk device used for the first duplex disk 50 and the second duplex disk 60 among the disk devices 51, 52, 61 and 62. And 74 only.

【0031】ディスク二重化運転手段40は、第1の二
重化ディスク50及び第2の二重化ディスク60に対す
る読み出し、書き込みを行う際、ディスク二重化制御手
段11にて制御されている二重化運転状態に応じて、第
1の二重化ディスク50及び第2の二重化ディスク60
を構成しているディスク装置51、52、61及び62
に対する読み出し・書き込みを行う。また、第1の二重
化ディスク50及び第2の二重化ディスク60の二重化
処理や二重化の解除処理を行う。
The disk duplication operation means 40 reads and writes data from and to the first and second duplicated disks 50 and 60 in accordance with the duplication operation state controlled by the disk duplication control means 11. The first duplicated disk 50 and the second duplicated disk 60
Disk devices 51, 52, 61 and 62 constituting
Read / write from / to. In addition, it performs the duplication processing and the duplication release processing of the first duplicated disk 50 and the second duplicated disk 60.

【0032】ディスク運転状態記憶部20は、図2に示
すように、ディスク装置51及び52が第1の二重化デ
ィスク50の運転に使用されているかどうか、また、デ
ィスク装置61及び62が第2の二重化ディスク60の
運転に使用されているかどうかの運転状態を記憶する。
As shown in FIG. 2, the disk operation status storage unit 20 stores information as to whether the disk devices 51 and 52 are being used for operating the first duplex disk 50, and whether the disk devices 61 and 62 are in the second configuration. The operating state of whether or not the disk is used for operation of the duplicated disk 60 is stored.

【0033】次に、図1〜図3と図4及び図5のフロー
チャートを参照して本実施の形態の動作について説明す
る。ディスク二重化制御手段11は、以下のようにして
通常動作を行う。ディスク二重化制御手段11は、ディ
スク二重化運転手段40を使用して、ディスク装置51
及び52から構成される第1の二重化ディスク50と、
ディスク装置61及び62から構成される第2のディス
ク60とを制御し、二重化運転状態に変更が起きれば、
変更後の状態でディスク運転状態記憶部20を更新す
る。システム起動時には、ディスク状態記憶部20から
ディスク状態を読み出し、第1及び第2の二重化ディス
ク50及び60の二重化運転を開始する。
Next, the operation of this embodiment will be described with reference to FIGS. 1 to 3 and the flowcharts of FIGS. The disk duplication control means 11 performs a normal operation as follows. The disk duplication control means 11 uses the disk duplication operation means 40 to
A first duplicated disk 50 composed of
By controlling the second disk 60 composed of the disk devices 61 and 62 and changing the duplex operation state,
The disk operation state storage unit 20 is updated with the changed state. When the system is started, the disk status is read from the disk status storage unit 20, and the duplex operation of the first and second duplex disks 50 and 60 is started.

【0034】一重化運転中にディスク装置が障害となっ
た時、ディスク二重化制御手段11は、次のような運転
状態復旧動作を行う。すなわち、ディスク二重化制御手
段11は、しばらく最新データの紛失を防ぐように、第
1の二重化ディスク50及び第2の二重化ディスク60
のうち、一重化運転のディスク装置が障害となった二重
化ディスクの運転状態を復旧する。
When a failure occurs in the disk device during the single operation, the disk duplication control means 11 performs the following operation state restoring operation. That is, the disk duplication control means 11 operates the first duplicated disk 50 and the second duplicated disk 60 so as to prevent the loss of the latest data for a while.
Among them, the operation state of the duplicated disk in which the disk device in the single operation has failed is restored.

【0035】しかし、数回繰り返しても第1の二重化デ
ィスク50及び第2の二重化ディスク60のうち、一重
化運転のディスク装置が障害となった二重化ディスクの
運転状態を復旧できない場合は、二重化ディスクの長時
間停止を防ぐために、一重化運転で未使用であった他方
のディスク装置(未使用の冗長ディスク装置)での運転
に自動的に切り換え、運転を復旧する緊急時動作を行
う。なお、システム起動時でも、一重化運転でのディス
ク障害が発生した場合、ディスク二重化制御手段11
は、この運転状態復旧動作を行うことは前述した通りで
ある。
However, if the operation state of the failed disk unit among the first duplicated disk 50 and the second duplicated disk 60 cannot be restored even after being repeated several times, the duplicated disk In order to prevent a long stoppage, the operation is automatically switched to the operation of the other disk device (unused redundant disk device) that has not been used in the single operation, and an emergency operation for restoring the operation is performed. Incidentally, even when the system is started, if a disk failure occurs in the single operation, the disk duplication control means 11
Performing this operation state restoring operation is as described above.

【0036】また、上記の緊急時動作は、第1の二重化
ディスク50及び第2の二重化ディスク60のうち、一
重化運転のディスク装置が障害となった二重化ディスク
の運転状態を復旧できない場合に行われるもので、二重
化ディスク50及び60が共に並行して一重化運転して
いることもあるし、一方のみが一重化運転していて他方
が通常の二重化運転していることもあり、それらの運転
状態は互いに独立して行われるが、以下の説明では二重
化ディスク50及び60が共に並行して一重化運転して
いる場合を例にとって説明する。
The above-mentioned emergency operation is performed when the disk device of the single operation of the first and second duplicate disks 50 and 60 cannot recover the operating state of the failed duplicate disk. In some cases, the duplex disks 50 and 60 are both operated in a single operation in parallel, or only one of the disks is operating in a single operation while the other is operating in a normal operation. Although the states are performed independently of each other, the following description will be made by taking as an example a case where the duplexed disks 50 and 60 are operating in parallel and in a single operation.

【0037】この運転状態復旧動作を図4のフローチャ
ートを参照して説明する。ディスク二重化制御手段11
は、以下の動作が6回以上繰り返しているかどうか調べ
る(ステップA1)。繰り返しが6回未満であれば、最
新データの紛失を防ぐため、第1及び第2の二重化ディ
スク50及び60の運転状態を維持するように、ディス
ク二重化運転手段40を使用して二重化ディスク50、
60の一重化運転しているディスク装置を運転させる復
旧動作をする(ステップA2及びA3)。
The operation state restoring operation will be described with reference to the flowchart of FIG. Disk duplication control means 11
Checks whether the following operation is repeated six times or more (step A1). If the number of repetitions is less than six, in order to prevent the latest data from being lost, the disk duplication operation means 40 is used to maintain the operation state of the first and second duplicated disks 50 and 60, and the duplicated disk 50,
A recovery operation is performed to operate the disk device that is operating as a single unit 60 (steps A2 and A3).

【0038】続いて、二重化ディスク50、60の運転
(厳密には一重化運転すべきディスク装置の運転)が開
始したかどうか判定し(ステップA4)、運転が開始で
きれば動作を終了するが、運転を開始できなければ再び
ステップA1に戻り、二重化ディスクの復旧制御が6回
以上繰り返されているかどうか調べる。繰り返しが6回
以上であれば、二重化ディスク50、60の長時間停止
を防ぐために、次のような緊急時動作を行う。すなわ
ち、偶数回の繰り返しかどうか調べ(ステップA5)、
偶数回の繰り返しであるときは、第1の二重化ディスク
50ではディスク装置51を選択使用し、第2の二重化
ディスク60ではディスク装置61を選択使用する(ス
テップA6)。
Next, it is determined whether or not the operation of the duplexed disks 50 and 60 (strictly, the operation of the disk device to be unified) is started (step A4). If the operation can be started, the operation is terminated. Cannot be started, the process returns to step A1 again, and it is checked whether the recovery control of the duplicated disk has been repeated six times or more. If the repetition is six times or more, the following emergency operation is performed to prevent the duplicated disks 50 and 60 from being stopped for a long time. That is, it is checked whether the repetition is an even number of times (step A5).
If the repetition is an even number of times, the disk device 51 is selectively used for the first duplexed disk 50, and the disk device 61 is selectively used for the second duplicated disk 60 (step A6).

【0039】一方、奇数回の繰り返しであるときは、第
1の二重化ディスク50ではディスク装置52を選択使
用し、第2の二重化ディスク60ではディスク装置62
を選択使用する(ステップA7)。ステップA6及びA
7の処理に続いて二重化ディスクの構成を制御し(ステ
ップA3)、続いて、二重化ディスク50、60の運転
が開始したかどうか判定し(ステップA4)、運転が開
始できれば動作を終了するが、運転を開始できなければ
再びステップA1に戻り、二重化ディスクの復旧制御が
6回以上繰り返されているかどうか調べる。
On the other hand, when the repetition is an odd number of times, the disk device 52 is selectively used in the first duplicated disk 50, and the disk device 62 is selected in the second duplicated disk 60.
Is selected and used (step A7). Steps A6 and A
After the processing of step 7, the configuration of the duplexed disk is controlled (step A3). Subsequently, it is determined whether or not the operation of the duplexed disks 50 and 60 has been started (step A4). If the operation can be started, the operation is terminated. If the operation cannot be started, the flow returns to step A1 again, and it is checked whether or not the recovery control of the duplicated disk has been repeated six times or more.

【0040】第1及び第2の二重化ディスク50及び6
0が使用可能になるまでこの動作が繰り返される(ステ
ップA4)。このように、第1及び第2の二重化ディス
ク50及び60が二重化運転を開始できるように動作す
る。
First and second duplex disks 50 and 6
This operation is repeated until 0 becomes available (step A4). In this way, the first and second duplex disks 50 and 60 operate so that the duplex operation can be started.

【0041】なお、システム起動時は、運転状態記憶部
20から図2で示すような形式でディスク装置51、5
2、61及び62の運転状態を読み出し、二重化ディス
ク50及び60の動作を維持する。
When the system is started, the disk units 51, 5 are stored in the operating state storage unit 20 in a format as shown in FIG.
The operation states of 2, 61 and 62 are read, and the operation of the duplex disks 50 and 60 is maintained.

【0042】次に、図5のフローチャートを参照してデ
ィスク時刻表示手段12による時刻情報71〜74を入
出力部30に表示出力する動作について説明する。な
お、ディスク二重化制御手段11が運転状態復旧動作の
緊急時動作を行った場合だけ、この表示出力動作が行わ
れる。
Next, the operation of displaying and outputting the time information 71 to 74 by the disk time display means 12 to the input / output unit 30 will be described with reference to the flowchart of FIG. Note that this display output operation is performed only when the disk duplication control unit 11 performs the emergency operation of the operation state recovery operation.

【0043】ディスク時刻表示手段12は、まず、ディ
スク装置51上の時刻情報71を読み出す(ステップB
1)。ディスク装置51が正常動作していれば、図3の
形式で時刻情報71を読み出すことができ(ステップB
2)、有効フラグは有効であると確認される(ステップ
B3)。有効フラグが有効である場合、図3で示す時刻
情報71の更新時刻を入出力部30に表示出力する(ス
テップB4)。
The disk time display means 12 first reads the time information 71 on the disk device 51 (step B).
1). If the disk device 51 is operating normally, the time information 71 can be read in the format of FIG. 3 (step B).
2) The validity flag is confirmed to be valid (step B3). If the valid flag is valid, the update time of the time information 71 shown in FIG. 3 is displayed and output to the input / output unit 30 (step B4).

【0044】一方、ディスク装置51が障害で図3の形
式で時刻情報71を読み出すことができない場合(ステ
ップB2)、あるいは時刻情報71は読み出せても有効
フラグは有効でない場合(ステップB3)、時刻情報7
1を読み出すことができなかったことを示す時刻情報無
効を入出力部30へ表示出力する(ステップB5)。他
のディスク装置52、61及び62上の時刻情報72、
73及び74に対しても、上記と同様の動作が行われ
る。
On the other hand, when the time information 71 cannot be read in the format shown in FIG. 3 due to a failure of the disk device 51 (step B2), or when the time information 71 can be read but the valid flag is not valid (step B3), Time information 7
A time information invalidity indicating that 1 could not be read is displayed and output to the input / output unit 30 (step B5). Time information 72 on the other disk devices 52, 61 and 62,
The same operation as described above is performed on 73 and 74.

【0045】以上が一重化運転中にディスク装置が障害
となった時のディスク二重化制御手段11及びディスク
時刻表示手段12の動作である。
The above is the operation of the disk duplication control means 11 and the disk time display means 12 when the disk device fails during the single operation.

【0046】次に、通常のシステム動作時のディスク二
重化制御手段11とディスク時刻更新手段13の動作に
ついて説明する。ディスク二重化制御手段11は、ディ
スク二重化運転手段40を使用して、ディスク装置51
及び52から構成される第1の二重化ディスク50と、
ディスク装置61及び62から構成される第2の二重化
ディスク60との二重化運転を制御する。二重化運転状
態が変更された場合、変更後の二重化運転状態をディス
ク運転状態記憶部20に図2の形式で記録する。
Next, the operation of the disk duplication control means 11 and the disk time update means 13 during normal system operation will be described. The disk duplication control means 11 uses the disk duplication operation means 40 to
A first duplicated disk 50 composed of
The duplex operation with the second duplex disk 60 composed of the disk devices 61 and 62 is controlled. When the duplex operation state is changed, the changed duplex operation state is recorded in the disk operation state storage unit 20 in the format of FIG.

【0047】ディスク時刻更新手段13は、ディスク装
置51、52、61及び62の中で、二重化運転に使用
されているディスク装置に対してのみ、時刻情報71、
72、73及び74を定期的に更新する。更新は、図3
に示すように、更新時刻と有効フラグが有効であること
を対応させて設定する。
The disk time updating means 13 outputs the time information 71, only to the disk device used for the duplex operation among the disk devices 51, 52, 61 and 62.
72, 73 and 74 are updated periodically. The update is shown in FIG.
As shown in (1), the update time and the validity flag are set in association with each other.

【0048】次に、この実施の形態の動作について、更
に具体的に説明する。ディスク状態記憶部20が図2に
示すように、第1の二重化ディスク50はディスク装置
51での一重化運転、第2の二重化ディスク60はディ
スク装置62での一重化運転と記憶しており、かつ、デ
ィスク装置51で障害が発生した場合のシステム起動時
について具体的に説明する。
Next, the operation of this embodiment will be described more specifically. As shown in FIG. 2, the disk status storage unit 20 stores the first duplex disk 50 as a single operation in the disk device 51 and the second duplex disk 60 as a single operation in the disk device 62. Further, a specific description will be given of the time of system startup when a failure occurs in the disk device 51.

【0049】システム起動時、ディスク二重化制御手段
11は、ディスク状態記憶部20から、第1の二重化デ
ィスク50はディスク装置51での一重化運転であり、
第2の二重化ディスク60はディスク装置62での一重
化運転であることを示す情報を読み出す。従って、ディ
スク二重化制御手段11は、この読み出し情報の通り
に、二重化ディスク50及び60の一重化運転を開始し
ようとするが、ディスク装置51が故障して使用できな
いため、第1の二重化ディスク50の二重化運転が開始
されないので、二重化ディスク50に対して運転状態復
旧動作を行う。
When the system is started, the disk duplication control means 11 reads from the disk state storage unit 20 that the first duplicated disk 50 is a single operation by the disk device 51,
The second duplicated disk 60 reads information indicating that the operation is the single operation in the disk device 62. Accordingly, the disk duplication control unit 11 attempts to start the single duplication operation of the duplicated disks 50 and 60 according to the read information. Since the duplication operation is not started, the operation state restoring operation is performed on the duplicated disk 50.

【0050】すなわち、図4と共に前述したように、デ
ィスク二重化制御手段11は、復旧のための動作が6回
以上繰り返しているかどうか調べる(ステップA1)
が、システム起動時は、一度も繰り返されていないの
で、最新データの紛失を防ぐため、第1の二重化ディス
ク50はディスク装置51での一重化運転を復旧する
(ステップA1、A2及びA3)。しかし、ディスク装
置51が故障して使用できないため、第1の二重化ディ
スク50の二重化運転が開始されないので、この動作を
繰り返す(ステップA4、A1〜A3)。
That is, as described above with reference to FIG. 4, the disk duplication control unit 11 checks whether the operation for restoration is repeated six times or more (step A1).
However, since the system has not been repeated at the time of system startup, the first duplicated disk 50 restores the single operation of the disk device 51 to prevent the latest data from being lost (steps A1, A2, and A3). However, since the disk device 51 fails and cannot be used, the duplication operation of the first duplicated disk 50 is not started, so that this operation is repeated (steps A4, A1 to A3).

【0051】なお、ディスク装置51の障害が一時的で
ある場合があり、そのときはこの動作を繰り返す間に、
第1の二重化ディスク50の一重化運転を開始でき、ス
テップA4の判定に基づき、この動作を終了する場合が
ある。しかし、この繰り返し動作が6回繰り返された場
合、ディスク二重化制御手段11はディスク運転状態記
憶部20を利用しない緊急時動作を行う。
In some cases, the failure of the disk device 51 may be temporary.
The unification operation of the first duplex disk 50 can be started, and this operation may be terminated based on the determination in step A4. However, when this repetition operation is repeated six times, the disk duplication control unit 11 performs an emergency operation without using the disk operation state storage unit 20.

【0052】すなわち、6回目の繰り返しの場合、繰り
返し回数が偶数回であるので、第1の二重化ディスク5
0の復旧時ではディスク装置51を選択使用する(ステ
ップA5、A6)。しかし、ディスク装置51が故障し
て使用できないため、第1の二重化ディスク50の一重
化運転が開始されないので、この動作を繰り返す(ステ
ップA3、A4、A1)。なお、ステップA6では第2
の二重化ディスク60の復旧時ではディスク装置61を
選択使用する。
That is, in the case of the sixth repetition, the number of repetitions is an even number, so the first duplicated disk 5
At the time of recovery from 0, the disk device 51 is selectively used (steps A5 and A6). However, since the disk device 51 fails and cannot be used, the single operation of the first duplicated disk 50 is not started, so this operation is repeated (steps A3, A4, A1). In step A6, the second
When the dual disk 60 is restored, the disk device 61 is selectively used.

【0053】続いて、ステップA2で繰り返しが7回と
判定されるので、繰り返し回数が奇数回であるので、第
1の二重化ディスク50の復旧時ではディスク装置52
を選択使用し(ステップA7)、一重化運転を復旧する
(ステップA4)。ディスク装置52は故障ではないた
め、第1の二重化ディスク50の一重化運転が開始でき
るようになり、一重化運転の開始が確認されることによ
り(ステップA4)、この緊急時動作を終了する。な
お、ステップA7では第2の二重化ディスク60の復旧
時ではディスク装置62を選択使用する。
Subsequently, since the number of repetitions is determined to be seven in step A2, the number of repetitions is an odd number, so that when the first duplexed disk 50 is restored, the disk device 52 is restored.
Is selected and used (step A7), and the single operation is restored (step A4). Since the disk device 52 is not a failure, the single operation of the first duplicated disk 50 can be started. When the start of the single operation is confirmed (step A4), the emergency operation is ended. In step A7, the disk device 62 is selectively used when the second duplicated disk 60 is restored.

【0054】この際、図2に示すように、ディスク装置
62は第2のディスク60で使用中であり、保持してい
るデータは最新である。一方、ディスク装置52は第1
の二重化ディスク50で未使用であり、保持しているデ
ータは最新ではない。しかし、データは古いが、第1の
二重化ディスク50の一重化運転を開始できる(第2の
二重化ディスク60では正常に一重化運転が開始されて
いる。)。
At this time, as shown in FIG. 2, the disk device 62 is being used by the second disk 60, and the data held is the latest. On the other hand, the disk device 52
Is not used in the dual disk 50 and the data held is not the latest. However, although the data is old, the unification operation of the first duplicated disk 50 can be started (the unified operation is normally started in the second duplicated disk 60).

【0055】引き続き、ディスク時刻表示手段12が次
のような動作を行う。時刻情報71〜74が図3に示す
通りに設定されている場合を例として、ディスク時刻表
示手段12の動作を説明する。
Subsequently, the disk time display means 12 performs the following operation. The operation of the disc time display means 12 will be described by taking as an example a case where the time information 71 to 74 are set as shown in FIG.

【0056】ディスク時刻表示手段12は、時刻情報7
1を読み出そうとするが、ディスク装置51が障害であ
るため、時刻情報71の読み出しができないため、ディ
スク装置51の時刻情報の読み出しができなかったこと
を入出力部30に表示出力する(図5のステップB1、
B2、B5)。次に、ディスク時刻表示手段12は、次
のディスク装置52の時刻情報72を読み出す(図5の
ステップB1)。ディスク装置52は正常であるので、
読み出しができ(図5のステップB2)、続いて有効フ
ラグが有効であるかどうかチェックするが(図5のステ
ップB3)、図3に示したように有効フラグは有効であ
るので、更新時刻の「789」をディスク装置52の時
刻情報として入出力部30へ出力し(図5のステップB
4)、表示させる。
The disk time display means 12 displays the time information 7
1 is read, but the time information 71 cannot be read because the disk device 51 is faulty, and the fact that the time information could not be read from the disk device 51 is displayed and output to the input / output unit 30 ( Step B1 of FIG.
B2, B5). Next, the disk time display means 12 reads the time information 72 of the next disk device 52 (step B1 in FIG. 5). Since the disk device 52 is normal,
Reading is possible (step B2 in FIG. 5), and it is checked whether or not the valid flag is valid (step B3 in FIG. 5). However, as shown in FIG. 3, the valid flag is valid. “789” is output to the input / output unit 30 as time information of the disk device 52 (step B in FIG. 5).
4) Display.

【0057】以後、上記と同様に、次のディスク装置6
1、62の時刻情報73、74を順次に読み出し(図5
のステップB1)、これらのディスク装置61、62は
正常であるので、読み出しができ(図5のステップB
2)、続いて有効フラグが有効であるかどうかチェック
するが(図5のステップB3)、図3に示したように有
効フラグは有効であるので、更新時刻の「500」、
「1000」をディスク装置61、62の時刻情報とし
て入出力部30へ出力し(図5のステップB4)、表示
させる。
Thereafter, in the same manner as described above, the next disk device 6
The time information 73 and 74 of the first and the second 62 are sequentially read (FIG.
Step B1), since these disk devices 61 and 62 are normal, reading is possible (step B1 in FIG. 5).
2) Subsequently, it is checked whether or not the valid flag is valid (step B3 in FIG. 5). Since the valid flag is valid as shown in FIG.
“1000” is output to the input / output unit 30 as time information of the disk devices 61 and 62 (step B4 in FIG. 5) and displayed.

【0058】これにより、入出力部30の画面には、図
6に示すように、ディスク装置と最終データ有効時刻と
が対応付けて表示される。この表示からわかるように、
ディスク装置52、61及び62の最終データ有効時刻
がわかり、現在時刻と比較して、第1の二重化ディスク
50に使用されているディスク装置52のデータがどの
時点まで有効であるかを容易に判別することができる。
Thus, the screen of the input / output unit 30 displays the disk device and the last data valid time in association with each other as shown in FIG. As you can see from this display,
The last data valid time of the disk devices 52, 61, and 62 is known, and it is easy to compare with the current time to determine to what point in time the data of the disk device 52 used for the first duplex disk 50 is valid. can do.

【0059】なお、一度も二重化ディスクとして使用さ
れていないディスク装置の有効フラグは無効であるの
で、表示される有効フラグに基づいて、運転状態復旧動
作の緊急時動作により一度も二重化ディスクして使用さ
れていないディスク装置が二重化ディスクとして使用さ
れた場合、そのことを容易に判別できる。
Since the validity flag of a disk device that has never been used as a duplicated disk is invalid, the duplicated disk is never used by the emergency operation of the operation state recovery operation based on the displayed validity flag. If a disk device that has not been used is used as a duplicated disk, it can be easily determined.

【0060】このように、この実施の形態によれば、6
回以上繰り返して復旧動作しても復旧しない場合は、一
重化運転で使用するディスク装置を冗長ディスク装置側
に自動的に切り換えるようにしたため、無人運転中にシ
ステム起動が発生し、一重化運転中のディスク装置に障
害が発生しても長時間停止を防止して一重化運転を開始
できる。
As described above, according to this embodiment, 6
If the recovery operation is not repeated even more than once, the disk device used in the unified operation is automatically switched to the redundant disk device side, so the system starts during unattended operation and the unified operation is performed Even if a failure occurs in the disk device, a single operation can be started by preventing stoppage for a long time.

【0061】次に、本発明の第2の実施の形態について
説明する。図7は本発明になるディスク二重化システム
の第2の実施の形態のシステム構成図を示す。同図中、
図1と同一構成部分には同一符号を付し、その説明を省
略する。図7に示すように、この実施の形態では、ディ
スク装置61が領域61aと61bの2つのパーティシ
ョンで分割されており、同様にディスク装置62も領域
62aと62bの2つのパーティションで分割されてい
る。そして、領域61aと62aが第2の二重化ディス
ク60を構成し、領域61bと62bが第3の二重化デ
ィスク80を構成する。
Next, a second embodiment of the present invention will be described. FIG. 7 shows a system configuration diagram of a second embodiment of a disk duplex system according to the present invention. In the figure,
The same components as those in FIG. 1 are denoted by the same reference numerals, and description thereof will be omitted. As shown in FIG. 7, in this embodiment, the disk device 61 is divided by two partitions of areas 61a and 61b, and similarly, the disk device 62 is also divided by two partitions of areas 62a and 62b. . The areas 61a and 62a constitute a second duplicated disk 60, and the areas 61b and 62b constitute a third duplicated disk 80.

【0062】更に、領域61a、62a、61b及び6
2bには、時刻情報73、74、75及び76がそれぞ
れ格納される。これらの時刻情報73、74、75及び
76は、第2の二重化ディスク60と第3の二重化ディ
スク80にパーティションが使用されている場合、ディ
スク時刻更新手段14により定期的に更新される。
Further, the regions 61a, 62a, 61b and 6
2b stores time information 73, 74, 75 and 76, respectively. These time information 73, 74, 75, and 76 are updated periodically by the disk time updating unit 14 when partitions are used for the second duplex disk 60 and the third duplex disk 80.

【0063】ディスク時刻表示手段15は、ディスク二
重化制御手段11が運転状態復旧動作の緊急時動作を行
ってシステム起動が完了した場合だけ、時刻情報71、
72、73、74、75及び76を入出力部30に表示
出力する。これによりディスク装置がパーティションで
分割されていて、パーティション単位で二重化ディスク
を構成している場合でも、ディスク二重化制御手段11
が緊急時動作を行ってシステム起動が完了した後、時刻
情報71、72、73、74、75及び76を入出力部
30に表示出力することができる。
The disk time display means 15 displays the time information 71 only when the disk duplication control means 11 performs the emergency operation of the operation state recovery operation and the system startup is completed.
72, 73, 74, 75, and 76 are displayed and output to the input / output unit 30. Thus, even if the disk device is divided into partitions and a duplicated disk is configured for each partition, the disk duplication control means 11
Performs emergency operation and completes system startup, and can output and output the time information 71, 72, 73, 74, 75 and 76 to the input / output unit 30.

【0064】この実施の形態では、ディスク二重化制御
手段11が6回以上復旧のための動作を繰り返しても復
旧しない場合、二重化ディスクの長時間停止を防ぐため
に、一重化運転中に障害が発生したディスク装置を有す
る二重化ディスクの運転状態を変更する。すべての二重
化ディスク50、60及び80が一重化運転する場合に
おいて、ある二重化ディスクで一重化運転するディスク
装置に故障が発生し、その故障復旧のための繰り返し動
作回数が6回以上で偶数回の場合、二重化ディスク5
0、60及び80の一重化運転のディスク装置としてデ
ィスク装置51、61a及び62aをそれぞれ選択す
る。
In this embodiment, if the disk duplication control means 11 does not recover after repeating the operation for recovery six times or more, a failure occurs during the single operation in order to prevent the redundant disk from being stopped for a long time. Change the operating state of a duplex disk having a disk device. In the case where all the duplexed disks 50, 60 and 80 operate in a single operation, a failure occurs in a disk device operating in a single operation with a certain duplicated disk, and the number of repetitive operations for recovering the failure is 6 or more and an even number of times. In case, dual disk 5
The disk devices 51, 61a and 62a are selected as the disk devices for the single operation of 0, 60 and 80, respectively.

【0065】これにより、一重化運転が復旧しないとき
は、再度復旧動作を行う。これにより復旧のための繰り
返し動作回数が6回以上で奇数回となるが、この場合、
二重化ディスク50、60及び80の一重化運転のディ
スク装置としてディスク装置52、61b及び62bを
それぞれ選択する。このようにして、一重化運転中に障
害が発生したディスク装置を有する二重化ディスクの未
使用の冗長ディスク装置を選択し、障害が発生していな
い二重化ディスクの運転状態は復旧して、第1と第2の
二重化ディスク50、60の二重化運転が開始できるよ
うにする。
Thus, when the single operation is not restored, the restoring operation is performed again. As a result, the number of repetitive operations for restoration becomes six or more and an odd number. In this case,
The disk devices 52, 61b and 62b are selected as the disk devices for the single operation of the duplex disks 50, 60 and 80, respectively. In this way, an unused redundant disk device of a duplicated disk having a failed disk device during the single operation is selected, and the operating state of the duplicated disk having no failure is restored, and the first and second redundant disks are restored. The duplication operation of the second duplication disks 50 and 60 can be started.

【0066】なお、本発明は以上の実施の形態に限定さ
れるものではなく、その他種々の変形例が考えられるも
のである。例えば、図1や図7では二重化ディスクが複
数あるが単数のみでもよいことは勿論であり、また、二
重化ディスクが複数あるシステムにおいては、各二重化
システムの運転状態は互いに独立であるから、一重化運
転を行うべき二重化システムに対してのみ、緊急時動作
を行うようにしてもよい。
The present invention is not limited to the above embodiment, and various other modifications are conceivable. For example, in FIGS. 1 and 7, there are a plurality of duplicated disks, but it is needless to say that only a single disk may be used. In a system having a plurality of duplicated disks, the operation states of the respective duplicated systems are independent of each other. The emergency operation may be performed only for the redundant system to be operated.

【0067】すなわち、図4では両方の二重化システム
が一重化運転していることを前提にしており、正常な一
重化運転をしている二重化システムについてもディスク
装置の切り換え選択が行われてしまうが、ディスク装置
の故障が発生した二重化システムについてのみ、冗長側
ディスク装置への切り換え選択を行うようにしてもよ
い。また、他方の二重化ディスクが二重化運転をしてい
るときには、他方の二重化ディスクについては上記のデ
ィスク装置の切り換え選択は行わないようにすることは
勿論である。
That is, in FIG. 4, it is assumed that both redundant systems are operating in a single operation, and the switching of the disk device is also selected in the normal redundant operation. Alternatively, the switching to the redundant disk device may be selected only for the redundant system in which the disk device has failed. Also, when the other duplex disk is performing the duplex operation, it is needless to say that the above-mentioned disk device switching selection is not performed for the other duplex disk.

【0068】[0068]

【発明の効果】以上説明したように、本発明によれば、
一重化運転時に一重化運転対象のディスク装置の故障発
生により一重化運転ができないことを検出した時、一重
化運転対象のディスク装置を起動する復旧動作を行い、
復旧動作を所定回数繰り返しても復旧しないときは、一
重化運転対象となっていない未使用の他方のディスク装
置を選択することにより、未使用の他方のディスク装置
を使用した一重化運転ができるようにしたため、無人運
転中にシステム起動が発生し、一重化運転中のディスク
装置に障害が発生しても、一重化運転を復旧させること
ができ、二重化ディスクの長時間停止を防止できる。
As described above, according to the present invention,
When detecting that the unification operation cannot be performed due to the failure of the unification operation target disk device during the unification operation, a recovery operation for starting the unification operation target disk device is performed,
If the recovery operation is not repeated after the predetermined number of times, the unified operation is performed using the other unused disk device by selecting the other unused disk device that is not targeted for the unified operation. Therefore, even if the system is started during unattended operation and a failure occurs in the disk device in the single operation, the single operation can be restored, and the duplicated disk can be prevented from being stopped for a long time.

【0069】また、本発明によれば、一重化運転時に運
転中のディスク装置の時刻情報を表示できるようにした
ため、一重化運転復旧動作の緊急時動作が行われた場合
に、二重化ディスクのデータ最終有効時刻を容易に判別
させることができる。
Further, according to the present invention, the time information of the operating disk device can be displayed at the time of the single operation, so that when the emergency operation of the single operation recovery operation is performed, the data of the dual disk can be displayed. The last valid time can be easily determined.

【0070】更に、本発明によれば、表示する時刻情報
中に、一重化運転が復旧した二重化ディスク中のディス
ク装置が一度も二重化運転に使用されていないのかどう
かを示す有効フラグも含めているので、一度も二重化デ
ィスクとして使用されていないデスク装置が二重化ディ
スクとして使用された場合、そのことを容易に判別させ
ることができる。
Further, according to the present invention, the displayed time information also includes an effective flag indicating whether or not the disk device in the duplicated disk in which the single operation has been restored has never been used in the duplicate operation. Therefore, when a desk device that has never been used as a duplicated disk is used as a duplicated disk, it can be easily determined.

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

【図1】本発明システムの第1の実施の形態のシステム
構成図である。
FIG. 1 is a system configuration diagram of a first embodiment of a system of the present invention.

【図2】図1中のディスク運転状態記憶部の記憶内容の
説明図である。
FIG. 2 is an explanatory diagram of contents stored in a disk operation state storage unit in FIG. 1;

【図3】時刻情報の一例の説明図である。FIG. 3 is an explanatory diagram of an example of time information.

【図4】図1中のディスク二重化制御手段による運転状
態復旧動作説明用フローチャートである。
FIG. 4 is a flowchart for explaining an operation state restoring operation by the disk duplication control means in FIG. 1;

【図5】図1中のディスク時刻表示手段による時刻情報
の入出力部への表示出力動作の説明用フローチャートで
ある。
FIG. 5 is a flowchart for explaining an operation of displaying and outputting time information to an input / output unit by a disk time display unit in FIG. 1;

【図6】図1中の入出力部による時刻表示の一例を示す
図である。
FIG. 6 is a diagram showing an example of time display by the input / output unit in FIG. 1;

【図7】本発明システムの第2の実施の形態のシステム
構成図である。
FIG. 7 is a system configuration diagram of a second embodiment of the system of the present invention.

【図8】従来システムの一例の動作説明用フローチャー
トである。
FIG. 8 is a flowchart for explaining an operation of an example of a conventional system.

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

10 コンピュータ 11 ディスク二重化制御手段 12、15 ディスク時刻表示手段 13、14 ディスク時刻更新手段 20 ディスク運転状態記憶部 30 入出力部 40 ディスク二重化運転手段 50 第1の二重化ディスク 51、52、61、62 ディスク装置 60 第2の二重化ディスク 61a、61b、62a、62b 領域(パーティショ
ン) 71〜76 時刻情報 80 第3の二重化ディスク
DESCRIPTION OF SYMBOLS 10 Computer 11 Disk duplication control means 12, 15 Disk time display means 13, 14 Disk time update means 20 Disk operation state storage unit 30 Input / output unit 40 Disk duplication operation means 50 First duplicated disk 51, 52, 61, 62 disks Apparatus 60 Second duplicated disk 61a, 61b, 62a, 62b Area (partition) 71-76 Time information 80 Third duplicated disk

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 第1のディスク装置と第2のディスク装
置からなる二重化ディスクの二重化運転を行い、前記第
1のディスク装置と第2のディスク装置のそれぞれに同
一の情報を同時に書き込み、読み出すディスク二重化シ
ステムにおいて、 前記第1のディスク装置と第2のディスク装置の一方の
みを運転する一重化運転中又は一重化運転起動時に、一
重化運転対象のディスク装置の故障発生により該一重化
運転ができないことを検出した時、前記一重化運転対象
のディスク装置を起動する復旧動作を行い、該復旧動作
を所定回数繰り返しても復旧しないときは、一重化運転
対象となっていない未使用の他方のディスク装置を選択
して一重化運転することを特徴とするディスク二重化シ
ステム。
1. A disk for performing a duplex operation of a duplicate disk comprising a first disk device and a second disk device, and simultaneously writing and reading the same information to and from the first disk device and the second disk device, respectively. In the duplex system, during the single operation in which only one of the first disk device and the second disk device is operated, or at the time of starting the single operation, the single operation cannot be performed due to the failure of the disk device targeted for the single operation. When it is detected, a recovery operation for activating the disk device to be subjected to the unification operation is performed, and when the recovery operation is not performed even after repeating the recovery operation a predetermined number of times, the other unused disk which is not the target of the unification operation is operated. A disk duplication system characterized by selecting a device and performing a single operation.
【請求項2】 前記第1のディスク装置と第2のディス
ク装置は二重化運転中に定期的に更新される時刻と、二
重化運転したときは有効値が設定され、一度も二重化運
転に使用されていないときは無効値が設定される有効フ
ラグとからなる時刻情報を記憶しており、前記一重化運
転時に一重化運転中のディスク装置から前記時刻情報を
読み出して表示することを特徴とする請求項1記載のデ
ィスク二重化システム。
2. The time when the first disk device and the second disk device are periodically updated during the duplex operation and the effective value when the duplex operation is performed are set, and the first disk device and the second disk device have been used for the redundant operation once. When there is no time information, time information including a valid flag to which an invalid value is set is stored, and the time information is read out from the disk device in the single operation during the single operation and displayed. 2. The disk duplication system according to 1.
【請求項3】 二重化ディスクを構成する第1のディス
ク装置及び第2のディスク装置と、 前記第1のディスク装置及び第2のディスク装置の運転
を制御して、読み込みと書き込みを行うディスク二重化
運転手段と、 前記第1のディスク装置及び第2のディスク装置の運転
状態を記憶するディスク運転状態記憶部と、 前記ディスク運転状態記憶部から読み出した運転状態に
従って、前記ディスク二重化運転手段の動作を制御して
前記第1のディスク装置及び第2のディスク装置を二重
化運転又は一重化運転させ、前記第1のディスク装置と
第2のディスク装置の一方のみを運転する一重化運転中
又は一重化運転起動時に、一重化運転対象のディスク装
置の故障発生により該一重化運転ができないことを検出
した時、前記一重化運転対象のディスク装置を起動する
復旧動作を行い、該復旧動作を所定回数繰り返しても復
旧しないときは、一重化運転対象となっていない未使用
の他方のディスク装置を、前記ディスク二重化運転手段
により選択させて一重化運転させるディスク二重化制御
手段とを有することを特徴とするディスク二重化システ
ム。
3. A first disk device and a second disk device constituting a duplex disk, and a disk duplex operation for reading and writing by controlling operation of the first disk device and the second disk device. Means, a disk operation state storage unit that stores operation states of the first disk device and the second disk device, and an operation of the disk duplex operation unit that is controlled according to an operation state read from the disk operation state storage unit. Operating the first disk device and the second disk device in a duplex operation or a single operation, and operating only one of the first disk device and the second disk device during the single operation or starting the single operation. Sometimes, when it is detected that the single operation cannot be performed due to the occurrence of a failure in the disk device targeted for the single operation, the disk for the single operation is detected. When the recovery operation for starting the disk device is performed and the recovery operation is not repeated even if the recovery operation is repeated a predetermined number of times, the other disk device not used as the single operation target is selected by the disk redundant operation means. A disk duplication control means for performing a single operation.
【請求項4】 前記第1のディスク装置と第2のディス
ク装置に対し、二重化運転中に定期的に更新される時刻
と、二重化運転したときは有効値が設定され、一度も二
重化運転に使用されていないときは無効値が設定される
有効フラグとからなる時刻情報を記憶させるディスク時
刻更新手段と、 情報を表示する機能を備えた入出力部と、 前記一重化運転時に一重化運転中のディスク装置から前
記時刻情報を読み出して前記入出力部に表示させるディ
スク時刻表示手段とを更に有することを特徴とする請求
項3記載のディスク二重化システム。
4. A time that is periodically updated during the duplex operation and a valid value when the duplex operation is performed are set for the first disk device and the second disk device, and are used for the redundant operation once. A disk time update unit for storing time information including a valid flag to which an invalid value is set when not performed; an input / output unit having a function of displaying information; and 4. The disk duplex system according to claim 3, further comprising disk time display means for reading the time information from a disk device and displaying the time information on the input / output unit.
【請求項5】 前記ディスク二重化制御手段は、前記復
旧動作を所定回数繰り返しても復旧しないときは、次の
復旧動作の繰り返し回数が奇数回であるときは前記第1
のディスク装置を前記ディスク二重化運転手段により選
択させ、次の復旧動作の繰り返し回数が偶数回であると
きは前記第2のディスク装置を前記ディスク二重化運転
手段により選択させることを特徴とする請求項3又は4
記載のディスク二重化システム。
5. The disk duplication control means, when the recovery operation is not repeated after repeating the recovery operation a predetermined number of times, when the next recovery operation is repeated an odd number of times,
4. The disk duplication operation means is selected by the disk duplication operation means, and when the number of repetitions of the next recovery operation is an even number, the second disk apparatus is selected by the disk duplication operation means. Or 4
The described disk duplication system.
【請求項6】 前記二重化ディスクが複数設けられてお
り、前記ディスク二重化制御手段は前記ディスク二重化
運転手段を介して互いに独立に該複数の二重化ディスク
の運転制御を行うことを特徴とする請求項3又は4記載
のディスク二重化システム。
6. The disk duplication control means is provided with a plurality of duplicated disks, and the disk duplication control means controls the operation of the plurality of duplicated disks independently of each other via the disk duplication operation means. Or the disk duplication system according to 4.
【請求項7】 前記第1のディスク装置の2つのパーテ
ィションで分割された一方と、前記第2のディスク装置
の2つのパーティションで分割された一方とが第1の二
重化ディスクを構成し、前記第1のディスク装置の2つ
のパーティションで分割された他方と、前記第2のディ
スク装置の2つのパーティションで分割された他方とが
第2の二重化ディスクを構成することを特徴とする請求
項6記載の二重化システム。
7. One of the first disk devices divided by two partitions and one of the second disk devices divided by two partitions constitute a first duplicated disk, and 7. The second duplicated disk according to claim 6, wherein the other divided by two partitions of one disk device and the other divided by two partitions of the second disk device constitute a second duplicated disk. Redundant system.
JP13305998A 1998-05-15 1998-05-15 Disk duplication system Expired - Fee Related JP3216601B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13305998A JP3216601B2 (en) 1998-05-15 1998-05-15 Disk duplication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13305998A JP3216601B2 (en) 1998-05-15 1998-05-15 Disk duplication system

Publications (2)

Publication Number Publication Date
JPH11327804A true JPH11327804A (en) 1999-11-30
JP3216601B2 JP3216601B2 (en) 2001-10-09

Family

ID=15095873

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13305998A Expired - Fee Related JP3216601B2 (en) 1998-05-15 1998-05-15 Disk duplication system

Country Status (1)

Country Link
JP (1) JP3216601B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013117859A (en) * 2011-12-02 2013-06-13 Canon Inc Information processor, control method thereof, and program

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111989303A (en) 2018-04-19 2020-11-24 Agc株式会社 Vehicle front window glass

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013117859A (en) * 2011-12-02 2013-06-13 Canon Inc Information processor, control method thereof, and program

Also Published As

Publication number Publication date
JP3216601B2 (en) 2001-10-09

Similar Documents

Publication Publication Date Title
US6754792B2 (en) Method and apparatus for resynchronizing paired volumes via communication line
JP3741609B2 (en) Data processing method and apparatus for allowing independent access to replicated data
JP4624829B2 (en) Data backup system and method
US7685461B2 (en) Method, apparatus and program storage device for performing fault tolerant code upgrade on a fault tolerant system by determining when functional code reaches a desired state before resuming an upgrade
CN100520724C (en) Failure switch recovery realization network system and method
US20050246576A1 (en) Redundant system utilizing remote disk mirroring technique, and initialization method for remote disk mirroring for in the system
JP2001216204A (en) Memory control unit
JP4535665B2 (en) Information recording apparatus and method
WO2010100757A1 (en) Arithmetic processing system, resynchronization method, and firmware program
JPH1115604A (en) Data multiplex method
JP3216601B2 (en) Disk duplication system
JP3399398B2 (en) Mirror Disk Recovery Method in Fault Tolerant System
JP3937878B2 (en) Magnetic tape device, control method thereof, and program for controlling magnetic tape device
JPH01118921A (en) Control method for duplex disk
JP4131621B2 (en) Distributed mirrored disk system
JP2007274255A (en) Redundancy configuration system and node
JPH04299435A (en) Data base equivalent system
JPH07281933A (en) Computer system
JP3090182B2 (en) Alternative sector registration method
JP2004070456A (en) Data backup method, data backup device, and information processing unit
JPH083807B2 (en) Automatic switching device for dual magnetic disk device
JP2011028481A (en) Fault tolerant server, processor switching method, and processor switching program
JP2830840B2 (en) Disk array repair processing method and method
JPH10161815A (en) Disk duplex management device and method therefor
JPH11154058A (en) Disk array device and data maintaining method

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070803

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080803

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080803

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090803

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090803

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100803

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees