JPH083807B2 - Automatic switching device for dual magnetic disk device - Google Patents

Automatic switching device for dual magnetic disk device

Info

Publication number
JPH083807B2
JPH083807B2 JP58202578A JP20257883A JPH083807B2 JP H083807 B2 JPH083807 B2 JP H083807B2 JP 58202578 A JP58202578 A JP 58202578A JP 20257883 A JP20257883 A JP 20257883A JP H083807 B2 JPH083807 B2 JP H083807B2
Authority
JP
Japan
Prior art keywords
magnetic disk
slave
master
switching
disk device
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.)
Expired - Lifetime
Application number
JP58202578A
Other languages
Japanese (ja)
Other versions
JPS6095663A (en
Inventor
誠一 佐野
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP58202578A priority Critical patent/JPH083807B2/en
Publication of JPS6095663A publication Critical patent/JPS6095663A/en
Publication of JPH083807B2 publication Critical patent/JPH083807B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/20Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
    • G06F11/2053Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where persistent mass storage functionality or persistent mass storage control functionality is redundant
    • G06F11/2056Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where persistent mass storage functionality or persistent mass storage control functionality is redundant by mirroring
    • G06F11/2069Management of state, configuration or failover

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は、2重化した磁気ディスク装置を有する計算
機システム等で用いられる2重化磁気ディスク装置の自
動切換装置に関する。
Description: TECHNICAL FIELD OF THE INVENTION The present invention relates to an automatic switching device for a dual magnetic disk device used in a computer system having a dual magnetic disk device.

〔発明の技術的背景とその問題点〕[Technical background of the invention and its problems]

従来から、磁気ディスク装置の障害によりシステムの
停止を防止する方法として、磁気ディスク装置をマスタ
ディスク系とスレーブディスク系の2重化構成とするこ
とが採用されている。このような2重化構成をした磁気
ディスク装置では、障害が発生した磁気ディスク装置を
システムから論理的に切り離し、正常な磁気ディスク装
置をマスタディスクとして動作させることによりシステ
ムの信頼性及び稼働率を向上させるものであった。
Conventionally, as a method of preventing a system from being stopped due to a failure of a magnetic disk device, a magnetic disk device having a dual structure of a master disk system and a slave disk system has been adopted. In such a duplicated magnetic disk device, the faulty magnetic disk device is logically separated from the system, and a normal magnetic disk device is operated as a master disk to improve system reliability and availability. It was something to improve.

ところで、この2重化構成は通常2重化によるシステ
ム性能の低下を最小限に抑えるため、書込みのみを2重
化し、読み込みはマスタディスク系のみを使用して行な
われている。その結果、スレーブディスク系の磁気ディ
スク装置では、書き込みのみが行われるだけであり、こ
のスレーブ系の磁気ディスク装置に読み込み不良となる
障害が発生していてもこれを検出することが不可能であ
った。
By the way, in order to minimize the deterioration of the system performance due to the duplication, this duplication configuration usually duplicates only writing and reading is performed using only the master disk system. As a result, in the slave disk type magnetic disk device, only writing is performed, and even if there is a failure that causes a read failure in this slave type magnetic disk device, it cannot be detected. It was

従って、スレーブ系の磁気ディスク装置に読み込み不
良となる障害が発生している状態の時に、マスタ系の磁
気ディスク装置に障害が発生すると、マスタ、スレーブ
両系の磁気ディスク装置に障害が発生していることにな
り、システムの稼働が継続できなくなる欠点があった。
Therefore, if a failure occurs in the master system magnetic disk device while the slave system magnetic disk device has a failure that causes read failure, both the master and slave system magnetic disk devices will fail. However, there was a drawback that the system could not continue to operate.

〔発明の目的〕[Object of the Invention]

本発明は上記の従来の2重化磁気ディスクシステムの
問題点を解決せんとしてなされたもので、その目的は、
2重化磁気ディスクシステムがより適切にバックアップ
を行い得る2重化磁気ディスク装置の自動切換装置を提
供することである。
The present invention has been made to solve the above problems of the conventional dual magnetic disk system, and its purpose is to:
It is an object of the present invention to provide an automatic switching device for a dual magnetic disk device, which enables the dual magnetic disk system to perform backup more appropriately.

〔発明の概要〕[Outline of Invention]

本発明に係る2重化磁気ディスク装置の自動切換装置
は、マスタディスク系とスレーブディスク系との両系に
より2重化された磁気ディスク装置とCPUとを備える2
重化磁気ディスクシステムにおいて、 前記磁気ディスク装置が2重化稼働中か否か、前記磁
気ディスクがデータの入出力動作中か否か及び、前記磁
気ディスク装置に対するマスタディスク系とスレーブデ
ィスク系との切り換え要求が出されているか否かを示す
情報を格納するための記憶手段と、 前記CPUによる磁気ディスク装置のアクセスに応じ
て、前記記憶手段の対応する情報を変更する手段と、 前記記憶手段に格納された情報が、前記磁気ディスク
装置が2重化稼働中を示し、前記磁気ディスクがデータ
の入出力動作中でないことを示し、前記磁気ディスク装
置に対するマスタディスク系とスレーブディスク系との
切り換え要求が出されていることを示す状態であり、か
つ、前記スレーブディスク系が障害でない場合に、前記
2重化された磁気ディスク装置に対してマスタディスク
系とスレーブディスク系との切り換えを行うマスタ/ス
レーブ切換手段とを具備し、 前記CPUが、マスタ/スレーブ切換手段による切り換
え結果に応じて、磁気ディスク装置をアクセスすること
を特徴とする。
An automatic switching device for a duplicated magnetic disk device according to the present invention comprises a magnetic disk device and a CPU which are duplicated by both a master disk system and a slave disk system.
In a duplicated magnetic disk system, whether the magnetic disk device is in a duplication operation, whether the magnetic disk is in a data input / output operation, and a master disk system and a slave disk system for the magnetic disk device. Storage means for storing information indicating whether or not a switching request has been issued, means for changing corresponding information in the storage means according to access of the magnetic disk device by the CPU, and the storage means The stored information indicates that the magnetic disk device is in duplication operation, indicates that the magnetic disk is not in the data input / output operation, and requests the magnetic disk device to switch between the master disk system and the slave disk system. Is issued and the slave disk system is not in failure, the duplexed The magnetic disk device comprises a master / slave switching means for switching between a master disk system and a slave disk system, and the CPU accesses the magnetic disk device according to the switching result by the master / slave switching means. It is characterized by

〔発明の実施例〕Example of Invention

以下本発明の2重化磁気ディスク装置の自動切換装置
の一実施例を図面に従って説明する。第1図は本発明の
2重化磁気ディスク装置の一実施例を示したブロック図
である。2重化磁気ディスク装置の自動切換装置100
は、2重化を構成する磁気ディスク装置のユニット番号
及びマスタディスクとスレーブディスクの切換えを制御
する切換制御情報を保持するライン制御レジスタ(LR
G)1と、このLRG1のマスタユニット番号とスレーブユ
ニット番号の入れ換えを行なってマスタディスクとスレ
ーブディスクの切換えを行うマスタ/スレーブ切換モジ
ュール(MSC)2と、指定の時刻にMSC2に割り込みを発
生させる時計モジュール(TM)3と、入出力ステータス
レジスタ(SRG)4と、LRG1の入出力フラグの設定と解
除及びSRG4の設定を行なうと共にMSC2を起動する2重化
ディスク監視モジュール(DMG)5とから構成されてい
る。
An embodiment of an automatic switching device for a dual magnetic disk drive according to the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of a dual magnetic disk drive of the present invention. Dual magnetic disk drive automatic switching device 100
Is a line control register (LR that holds the unit number of the magnetic disk device that configures duplication and the switching control information that controls the switching between the master disk and the slave disk.
G) 1, a master / slave switching module (MSC) 2 that switches the master unit number and slave unit number of this LRG1 to switch between master disk and slave disk, and generates an interrupt to MSC2 at a specified time From the clock module (TM) 3, the I / O status register (SRG) 4, and the dual disk monitoring module (DMG) 5 that sets and clears the I / O flag of LRG1 and sets SRG4, and activates MSC2. It is configured.

2重化磁気ディスクシステム200は、中央処理装置(C
PU)6に、磁気ディスクコントローラ(DSC1)7を介し
て接続される磁気ディスク装置群V0,V2,−−−V
n-1と、CPU6に磁気ディスクコントローラ(DSC2)8を
介して接続される磁気ディスク装置群V1,V3,−−−Vn
とから構成されている。なお、2重化を構成する1組の
磁気ディスク装置をラインと呼び、第1図の例では、磁
気ディスク装置V0とV1がライン0を構成し、V2とV3がラ
イン1を−−−Vn-1とVnがラインmを構成している。
又、各ラインを構成する磁気ディスク装置は同等でマス
タ系にもスレーブ系にもなりうる。例えば、ライン0に
おいて、磁気ディスク装置V0がマスタディスク(マスタ
ユニットと称することもある。)となった場合は、磁気
ディスク装置V1がスレーブディスク(スレーブユニット
と称することもある。)となる。従って、マスタディス
クとスレーブディスクの切換とは、上記の例では、磁気
ディスク装置V0をスレーブディスクに、磁気ディスク装
置V1をマスタディスクにすることである。更に、スレー
ブディスクとなった磁気ディスク装置は書き込みのみを
行ない、書き込みのみが2重化されている。
The dual magnetic disk system 200 includes a central processing unit (C
PU) 6 through a magnetic disk controller (DSC1) 7 magnetic disk device group V 0 , V 2 , --- V
and n-1, the magnetic disk controller CPU 6 (DSC 2) 8 magnetic disk unit group V 1 which is connected via a, V 3, --- V n
It consists of and. It should be noted that one set of magnetic disk devices that configure the duplication is called a line, and in the example of FIG. 1, the magnetic disk devices V 0 and V 1 form line 0, and V 2 and V 3 form line 1. --- V n-1 and V n constitute the line m.
Further, the magnetic disk devices constituting each line are equivalent and can be a master system or a slave system. For example, in line 0, when the magnetic disk device V 0 is a master disk (may be referred to as a master unit), the magnetic disk device V 1 is a slave disk (may be referred to as a slave unit). . Therefore, in the above example, the switching between the master disk and the slave disk means that the magnetic disk device V 0 is the slave disk and the magnetic disk device V 1 is the master disk. Furthermore, the magnetic disk device that has become the slave disk only writes, and only writing is duplicated.

第2図は第1図で示したライン制御レジスタ(LRG)
1の内容を示したものである。即ち、2重化を構成する
1組の磁気ディスク装置のライン毎に、以下に示す項目
を保持している。読み込み書き込みを共に行なう磁気デ
ィスク装置のユニット番号(物理的な機器アドレス)を
示すマスタユニット番号9、書き込みのみを行なう磁気
ディスク装置のユニット番号を示すスレーブユニット番
号10、2重化で稼働中であることを示す2重化稼働中フ
ラグ11、マスタディスクからの読み込み中或るいはマス
タディスクおよびスレーブディスクへの書き込み(2重
書き)中であることを示す入出力中フラグ12及び入出力
中であるためマスタユニット番号とスレーブユニット番
号の入れ換えを入出力完了まで待機中であることを示す
切換え待ちフラグ13である。以上、2重化稼働中フラグ
11、入出力中フラグ12及び切り換え待ちフラグ13の情報
をまとめて切換制御情報と称す。又、入出力ステータス
レジスタ(SRG)4は、入出力の対象となったラインの
番号と、正常終了、マスタユニット障害及びスレーブユ
ニット障害の3種類のステータスを保持するものであ
る。
Figure 2 shows the line control register (LRG) shown in Figure 1.
1 shows the contents of 1. That is, the following items are held for each line of one set of magnetic disk devices constituting the duplication. Master unit number 9 indicating the unit number (physical device address) of the magnetic disk device for both reading and writing, slave unit number 10 for indicating the unit number of the magnetic disk device for only writing, and is operating in duplicate. A duplication in-operation flag 11 indicating that the master disk is being read or an input / output flag 12 indicating that the master disk and slave disk are being written (double writing) and an input / output Therefore, the switching wait flag 13 indicates that the switching of the master unit number and the slave unit number is waiting until the input / output is completed. Above, the duplication operating flag
11, the information of the input / output flag 12 and the switching wait flag 13 is collectively referred to as switching control information. The input / output status register (SRG) 4 holds the number of the line which is the target of input / output and three types of statuses of normal termination, master unit failure and slave unit failure.

次に本実施例の動作について説明する。CPU6において
磁気ディスク装置への入出力事象が発生すると、CPU6は
2重化ディスク監視モジュール(DMG)5を起動する。
2重化ディスク監視モジュール5は入出力対象となるラ
インの番号を起動時の情報としてCPU6から受け取り、更
にライン制御レジスタ(LRG)1の当該ライン用の入出
力中フラグをオンにした後、ライン制御レジスタ1の当
該ライン情報をCPU6に返す。CPU6はこの2重化構成情報
に基づいて、磁気ディスク装置への入出力を行なうが、
2重化構成における入出力管理手法については既に公知
事実であるため、ここではその説明を省略する。
Next, the operation of this embodiment will be described. When an input / output event to the magnetic disk device occurs in the CPU 6, the CPU 6 activates the duplicated disk monitoring module (DMG) 5.
The duplicated disk monitoring module 5 receives the number of the line to be input / output from the CPU 6 as startup information, and after turning on the input / output flag for the line of the line control register (LRG) 1, turns on the line. The line information of the control register 1 is returned to the CPU 6. The CPU 6 performs input / output to / from the magnetic disk device based on the duplicated configuration information.
Since the input / output management method in the duplicated configuration is already known, its explanation is omitted here.

一方、磁気ディスク装置への入出力が完了すると、CP
U6は再び2重化ディスク監視モジュール5を起動する。
2重化ディスク監視モジュール5はCPU6より入出力結果
即ち、ライン番号とステータスを受け取ってこれらを入
出力ステータスレジスタ(SRG)4に設定した後、マス
タ/スレーブ切換モジュール(MSC)2を起動し、更にC
PU6へ完了を通知する。マスタ/スレーブ切換モジュー
ル2は2重化ディスク監視モジュール5により起動され
ると、入出力ステータスレジスタ4に設定されたステー
タスに従って以下のいずれかの操作を行なう。(1)正
常終了の場合、ライン制御レジスタ1の切換待ちフラグ
13がオンであれば、当該ラインのマスタユニット番号と
スレーブユニット番号を入換える。即ちマスタディスク
とスレーブディスクを切換える。(2)マスタユニット
に障害がある場合は、ライン制御レジスタ1の2重化稼
働中フラグ11オフとし、マスタユニット番号とスレーブ
ユニット番号を入れ換える。ここでは正常な磁気ディス
ク装置をマスタディスクとする。(3)スレーブユニッ
トに障害がある場合は、ライン制御レジスタ1の2重化
稼働中フラグ11オフとする。マスタ/スレーブ切換えモ
ジュール2は以上のいずれかの操作を完了すると、ライ
ン制御レジスタ1の切換え待ちフラグ13をオフとし、入
出力ステータスレジスタ4を初期化する。
On the other hand, when I / O to the magnetic disk unit is completed, CP
U6 activates the duplicated disk monitoring module 5 again.
The duplicated disk monitoring module 5 receives the input / output result, that is, the line number and status from the CPU 6, sets them in the input / output status register (SRG) 4, and then activates the master / slave switching module (MSC) 2, Further C
Notify PU6 of completion. When the master / slave switching module 2 is activated by the duplicated disk monitoring module 5, one of the following operations is performed according to the status set in the input / output status register 4. (1) In the case of normal termination, the switching wait flag of the line control register 1
If 13 is on, swap the master unit number and slave unit number of the line. That is, the master disk and the slave disk are switched. (2) If there is a failure in the master unit, the duplication operating flag 11 of the line control register 1 is turned off, and the master unit number and the slave unit number are exchanged. Here, a normal magnetic disk device is used as a master disk. (3) If the slave unit has a fault, the duplexing in-operation flag 11 of the line control register 1 is turned off. Upon completion of any of the above operations, the master / slave switching module 2 turns off the switching wait flag 13 of the line control register 1 and initializes the input / output status register 4.

2重化磁気ディスクの自動切換装置100は上記の動作
とは非同期に以下の動作を行なう。即ち、予め設定され
た指定の時刻に時計モジュール(TM)3はマスタ/スレ
ーブ切換えモジュール2を起動する。マスタ/スレーブ
切換えモジュール2は時計モジュール3からの起動を受
けると、ライン制御レジスタ1の切換情報に対応する以
下の操作をライン制御レジスタの全ラインに対して実行
する。(1)入出力中フラグ12がオンの場合は当該ライ
ンの切換待ちフラグ13をオンとする。(2)入出力中フ
ラグ12がオフで2重化稼働中フラグ11がオンであれば、
当該ラインのマスタユニット番号とスレーブユニット番
号を入換える。即ち、ここではマスタ系の磁気ディスク
装置とスレーブ系の磁気ディスク装置の切換えを実施す
る。(3)2重化稼働中フラグ11がオフの場合は、当該
ラインに対して何も行なわない。なお、ライン制御レジ
スタ1の内容はCPU6より2重化ディスク監視モジュール
5を介して任意に初期化することが可能となっている。
The dual magnetic disk automatic switching device 100 performs the following operation asynchronously with the above operation. That is, the clock module (TM) 3 activates the master / slave switching module 2 at a preset designated time. Upon receiving the activation from the clock module 3, the master / slave switching module 2 executes the following operation corresponding to the switching information of the line control register 1 for all the lines of the line control register. (1) When the input / output flag 12 is on, the switching wait flag 13 of the line is turned on. (2) If the input / output flag 12 is off and the duplexing operation flag 11 is on,
Swap the master unit number and slave unit number of the relevant line. That is, here, switching is performed between the master magnetic disk device and the slave magnetic disk device. (3) If the duplexing in-operation flag 11 is off, nothing is done to the line. The contents of the line control register 1 can be arbitrarily initialized by the CPU 6 via the duplicated disk monitoring module 5.

本実施例によれば、CPU6が特定ラインの磁気ディスク
装置に入出力を行なった後、正常終了した場合、2重化
ディスク監視モジュール2は当該ラインのマスタ系磁気
ディスク装置とスレーブ系磁気ディスク装置を切換える
と共に、これとは非同期に指定時刻に時計モジュール5
が2重化ディスク監視モジュール2を起動して、2重化
稼働中の前ラインのマスタ系磁気ディスク装置とスレー
ブ系磁気ディスク装置を定期的に切換えることにより、
マスタ、スレーブ両系統の磁気ディスク装置の読込み不
良を均等に即ち、スレーブ系の磁気ディスク装置の読込
み不良を早期に検出することができ、マスタ系の磁気デ
ィスク装置の障害時に、スレーブ系の磁気ディスク装置
の読込み不良によるシステムの全面停止を低減させるこ
とができ、更にシステムの稼働率を向上させることがで
きる。又、従来は補修作業等において手動によってマス
タ系の磁気ディスク装置とスレーブ系の磁気ディスク装
置の切換えを行なっていたが、本実施例ではこれが自動
的に行なわれるため、このような補修作業が一切不要と
なり省力化を図ることができる。
According to the present embodiment, when the CPU 6 inputs / outputs to / from a magnetic disk device on a specific line and then ends normally, the duplicated disk monitoring module 2 determines that the master magnetic disk device and the slave magnetic disk device on the line. And the clock module 5 at the specified time asynchronously with this.
Activates the duplicated disk monitoring module 2 and periodically switches between the master magnetic disk device and the slave magnetic disk device in the previous line which is in the duplication operation.
It is possible to evenly detect the read failures of the magnetic disk devices of both the master and slave systems, that is, to detect the read failures of the slave magnetic disk devices at an early stage, and to detect the slave magnetic disks when the master magnetic disk device fails. It is possible to reduce the total stoppage of the system due to a poor reading of the device and further improve the operating rate of the system. Further, conventionally, in the repair work or the like, the master type magnetic disk device and the slave type magnetic disk device were manually switched, but in the present embodiment, this is automatically performed, so that such repair work is not performed at all. It is not necessary and labor can be saved.

〔発明の効果〕〔The invention's effect〕

以上説明したように本発明によれば、磁気ディスク装
置が2重化稼働中を示し、当該磁気ディスクがデータの
入出力動作中でないことを示し、且つ、同磁気ディスク
装置に対するマスタディスク系とスレーブディスク系と
の切り換え要求が出されていることを示す状態の場合
に、この2重化された磁気ディスク装置に対してマスタ
ディスク系とスレーブディスク系との切り換えが行われ
るので、両系ともにマスタディスク系に必要な条件で使
用されることになり、この切り換え毎に直前までスレー
ブディスク系であった磁気ディスク装置の障害を発見で
き、実際にマスタディスク系に障害が生じたときにスレ
ーブディスク系に障害が生じてい確率を減少させること
ができ、2重化磁気ディスクシステムの、より適切なる
バックアップを保証する。
As described above, according to the present invention, it is shown that the magnetic disk device is in the duplication operation, that the magnetic disk is not in the data input / output operation, and the master disk system and the slave for the magnetic disk device are the same. When a request to switch to the disk system is issued, the master disk system and the slave disk system are switched to the duplicated magnetic disk device. It will be used under the conditions necessary for the disk system, and every time this switching is performed, the failure of the magnetic disk device that was the slave disk system until immediately before can be detected, and when the failure actually occurs in the master disk system, the slave disk system The probability that a failure has occurred can be reduced, and a better backup of the duplicated magnetic disk system can be guaranteed. .

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

第1図は本発明の2重化磁気ディスク装置の自動切換装
置の一実施例を示したブロック図、第2図は第1図で示
したライン制御レジスタの内容例を示した図である。 1…ライン制御レジスタ(LRG) 2…マスタ/スレーブ切換モジュール(MSC) 3…時計モジュール(TM) 4…入出力ステータスレジスタ(SRG) 5…2重化ディスク監視モジュール(DMG) 6…中央処理装置(CPU) 100…磁気ディスク装置の自動切換装置 200…2重化磁気ディスクシステム V0〜Vn…磁気ディスク装置
FIG. 1 is a block diagram showing an embodiment of an automatic switching device of a duplicated magnetic disk device of the present invention, and FIG. 2 is a diagram showing an example of contents of the line control register shown in FIG. 1 ... Line control register (LRG) 2 ... Master / slave switching module (MSC) 3 ... Watch module (TM) 4 ... I / O status register (SRG) 5 ... Duplicate disk monitoring module (DMG) 6 ... Central processing unit (CPU) 100 ... automatic switching device 200 ... duplexed magnetic disk system V 0 which magnetic disk device ~V n ... magnetic disk device

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】マスタディスク系とスレーブディスク系と
の両系により2重化された磁気ディスク装置とCPUとを
備える2重化磁気ディスクシステムにおいて、 前記磁気ディスク装置が2重化稼働中か否か、前記磁気
ディスクがデータの入出力動作中か否か及び、前記磁気
ディスク装置に対するマスタディスク系とスレーブディ
スク系との切り換え要求が出されているか否かを示す情
報を格納するための記憶手段と、 前記CPUによる磁気ディスク装置のアクセスに応じて、
前記記憶手段の対応する情報を変更する手段と、 前記記憶手段に格納された情報が、前記磁気ディスク装
置が2重化稼働中を示し、前記磁気ディスクがデータの
入出力動作中でないことを示し、前記磁気ディスク装置
に対するマスタディスク系とスレーブディスク系との切
り換え要求が出されていることを示す状態であり、か
つ、前記スレーブディスク系が障害でない場合に、前記
2重化された磁気ディスク装置に対してマスタディスク
系とスレーブディスク系との切り換えを行うマスタ/ス
レーブ切換手段とを具備し、 前記CPUが、前記マスタ/スレーブ切換手段による切り
換え結果に応じて、磁気ディスク装置をアクセスするこ
とを特徴とする2重化磁気ディスク装置の自動切換装
置。
1. A dual magnetic disk system comprising a magnetic disk device and a CPU which are dualized by both a master disk system and a slave disk system, and whether or not the magnetic disk device is in a dual operation. Storage means for storing information indicating whether or not the magnetic disk is in a data input / output operation, and whether or not a request for switching the master disk system and the slave disk system to the magnetic disk device is issued. According to the access to the magnetic disk device by the CPU,
Means for changing corresponding information in the storage means, and information stored in the storage means indicate that the magnetic disk device is in the duplication operation, and that the magnetic disk is not in the data input / output operation. A state in which a request for switching between the master disk system and the slave disk system is issued to the magnetic disk device, and when the slave disk system is not a failure, the duplicated magnetic disk device A master / slave switching means for switching between a master disk system and a slave disk system, the CPU accessing the magnetic disk device according to the switching result by the master / slave switching means. An automatic switching device for a dual magnetic disk device.
【請求項2】予め設定された指定時刻に前記マスタ/ス
レーブ切換手段を起動する時計モジュールを具備し、定
期的に前記磁気ディスク装置に対してマスタディスク系
とスレーブディスク系との切り換えを行うことを特徴と
する特許請求の範囲第1項記載の2重化磁気ディスク装
置の自動切換装置。
2. A clock module for activating the master / slave switching means at a preset designated time, and periodically switching between the master disk system and the slave disk system for the magnetic disk device. An automatic switching device for a dual magnetic disk drive according to claim 1.
【請求項3】記憶手段には、2重化された磁気ディスク
装置について、いずれがマスタディスク系、スレーブデ
ィスク系であるかを示す情報が記憶されており、 マスタ/スレーブ切換手段は、前記記憶手段の2重化さ
れた磁気ディスク装置について、いずれがマスタディス
ク系、スレーブディスク系であるかを示す情報の入れ換
えを行うことにより、マスタディスク系とスレーブディ
スク系との切り換えを行うことを特徴とする特許請求の
範囲第1項または第2項記載の2重化磁気ディスク装置
の自動切換装置。
3. The storage means stores information indicating which of the duplicated magnetic disk devices is a master disk system or a slave disk system, and the master / slave switching means stores the information. In the dualized magnetic disk device of the means, the master disk system and the slave disk system are switched by exchanging information indicating which is the master disk system or the slave disk system. An automatic switching device for a duplicated magnetic disk drive according to claim 1 or 2.
JP58202578A 1983-10-31 1983-10-31 Automatic switching device for dual magnetic disk device Expired - Lifetime JPH083807B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58202578A JPH083807B2 (en) 1983-10-31 1983-10-31 Automatic switching device for dual magnetic disk device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58202578A JPH083807B2 (en) 1983-10-31 1983-10-31 Automatic switching device for dual magnetic disk device

Publications (2)

Publication Number Publication Date
JPS6095663A JPS6095663A (en) 1985-05-29
JPH083807B2 true JPH083807B2 (en) 1996-01-17

Family

ID=16459806

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58202578A Expired - Lifetime JPH083807B2 (en) 1983-10-31 1983-10-31 Automatic switching device for dual magnetic disk device

Country Status (1)

Country Link
JP (1) JPH083807B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6115227A (en) * 1984-06-29 1986-01-23 Fujitsu Ltd Backup system of data file
JPH04205619A (en) * 1990-11-30 1992-07-27 Toshiba Corp Disk control system
JPH04352022A (en) * 1991-05-29 1992-12-07 Nec Corp Double writing storage device
JPH07295874A (en) * 1994-04-27 1995-11-10 Nec Corp Cad system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57101950A (en) * 1980-12-17 1982-06-24 Oki Electric Ind Co Ltd Double storage device control system

Also Published As

Publication number Publication date
JPS6095663A (en) 1985-05-29

Similar Documents

Publication Publication Date Title
JP2505928B2 (en) Checkpoint mechanism for fault tolerant systems
JP3732869B2 (en) External storage device
JP2514208B2 (en) Hot stand-by memory-copy method
US6718447B2 (en) Method and system for providing logically consistent logical unit backup snapshots within one or more data storage devices
JP3694273B2 (en) Data processing system having multipath I / O request mechanism
JP3151008B2 (en) Disk sector analysis method
US7631219B2 (en) Method and computer program product for marking errors in BIOS on a RAID controller
JPS586975B2 (en) remote modem adapter
JPH09128305A (en) External storage device
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
JP2710195B2 (en) Storage controller
JP2009053946A (en) Block device controller with duplex controller configuration
JPH09269871A (en) Data re-redundancy making system in disk array device
JP2003316525A (en) Disk array controller
JP3776438B2 (en) Storage device
JPH083807B2 (en) Automatic switching device for dual magnetic disk device
US20040123165A1 (en) Peer power control
JPH06139028A (en) Disk control system
JPH06259274A (en) Duplex system
JPH07146760A (en) Disk array device
JPH04291618A (en) Duplexed disk control system
JPH11212729A (en) Duplex disk device
JPH0255816B2 (en)
JP2854471B2 (en) Disk array device
JP3069829B2 (en) Disk array device