JP2004362444A - Storage device control unit and storage device switching method - Google Patents

Storage device control unit and storage device switching method Download PDF

Info

Publication number
JP2004362444A
JP2004362444A JP2003162596A JP2003162596A JP2004362444A JP 2004362444 A JP2004362444 A JP 2004362444A JP 2003162596 A JP2003162596 A JP 2003162596A JP 2003162596 A JP2003162596 A JP 2003162596A JP 2004362444 A JP2004362444 A JP 2004362444A
Authority
JP
Japan
Prior art keywords
storage device
channel
mirror
boot
switching
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2003162596A
Other languages
Japanese (ja)
Inventor
Masaru Kawakubo
優 川久保
Takayuki Takeishi
尊之 武石
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.)
IO Data Device Inc
Original Assignee
IO Data Device Inc
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 IO Data Device Inc filed Critical IO Data Device Inc
Priority to JP2003162596A priority Critical patent/JP2004362444A/en
Publication of JP2004362444A publication Critical patent/JP2004362444A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To reduce the number of storage devices, and ensure a data reading/writing operation by starting an OS even if any storage device fails. <P>SOLUTION: A storage device control unit comprises a CPU 11, a ROM 12, a RAM 13, an external interface 14, and an IDE interface 15 to which a mirror source HDD 16, a mirror destination HDD 17 and the like are connected, all connected to a system bus 20. If the mirror source HDD 16 connected to a primary master channel of the IDE interface 15 fails, a switching control circuit 18 switches the mirror source HDD 16 to the mirror destination HDD 17 connected except for the primary master channel by means of a changing-over switch 19 and the like to thus make an OS recognize the mirror destination HDD 17 to be connected to the primary master channel. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、ユーザが情報の参照及び更新を行うコンピュータと、その情報を記録したストレージデバイスとの間に接続されるストレージデバイス制御装置に関する。
【0002】
【従来の技術】
家庭内や比較的小規模オフィスにおいて、情報を共有するためにネットワークストレージが導入されるようになった。ネットワークストレージは、LAN(Local Area Network)ボードを搭載したPC(Personal Computer)を接続するだけで済むため、専用サーバを導入するシステムに比べて廉価に情報共有が実現でき、記録媒体の空き容量が無くなった場合には、その記録媒体を交換することによって継続してデータを蓄積できるため、実用性、機能性、拡張性に富む。
また、ネットワークストレージは、ミラーリング(RAID1:Redundant Array of Independent Disks 1)にも対応可能であり、一方のストレージデバイスが破損しても他方のストレージデバイスから必要なデータを読み出すことができるため、信頼性の面でも有利である(ソフトウェアRAID:非特許文献1参照)。前記ネットワークストレージには、このようなストレージデバイス制御のためにOS(Operating System)が搭載されており、また、ストレージデバイス接続のためにIDEインタフェースを内蔵したマザーボードが実装される。
ところで、CPU(Central Processing Unit)ボード及びOSにより前記ミラーリングを実現する場合、OS用ストレージデバイス、データ用ストレージデバイス(ミラー元)、データ用ストレージデバイス(ミラー先)といったように、OS用ストレージデバイスとデータ用ストレージデバイスとは物理的に分離して対応するのが一般的である。
【0003】
【非特許文献1】
TEXAホームページ、“ソフトウェアRAIDとハードウェアRAID”、[online]、2002年8月1日、テクサ株式会社、[2003年6月3日検索]、インターネット<URL: HYPERLINK ”http://www.texa.co.jp/TEXA/array/SW.html” http://www.texa.co.jp/TEXA/array/SW.html>
【0004】
【発明が解決しようとする課題】
しかしながら、前記従来の技術によれば、ミラーリングのためにストレージデバイスを最低3台必要とし、また、OSを記録したストレージデバイスが何らかの原因で破損した場合には、他にOSを記録したストレージデバイスがないので、そのOSを起動することができなくなり、ひいては、破損していないストレージデバイス上のデータを取り出すことができなくなる。
そこで、本発明の目的は、ストレージデバイスの台数を節減すると共に、いずれのストレージデバイスが破損してもOSの起動を可能とし、データのリードライト動作を保障するストレージデバイス制御装置を提供することにある。
【0005】
【課題を解決するための手段】
前記課題を解決するために、請求項1に記載の発明は、ユーザが情報の参照及び更新を行うコンピュータと、少なくともミラーリングされたOSを記録したストレージデバイスとの間に接続されるストレージデバイス制御装置であって、ストレージデバイス制御装置は、ストレージデバイスを切り替えるトリガを与える切替スイッチと、切替スイッチからのトリガにより、ストレージデバイス制御装置に内蔵するストレージデバイスインタフェースのOS起動用チャネルに接続されていたミラー元のストレージデバイスを、OS起動用チャネル以外に接続されたミラー先のストレージデバイスに切り替え、OSに対してミラー先のストレージデバイスがOS起動用チャネルに接続されていると認識させる切替制御回路とを含んで構成される。
ここで、ミラーリングとは、データをストレージデバイスに記録するときに、2台のストレージデバイスに全く同じデータを書き込むことを言い、ストレージデバイスの障害に対する信頼性向上を目的とする。2台のストレージデバイスには、正副があり、正側をミラー元、副側をミラー先という。基本的には正副2台のストレージデバイスに同時にデータが書き込まれるが、厳密には正側すなわちミラー元への書き込みが優先され、副側すなわちミラー先への書き込みがそれを追従する処理が行われることもある。
なお、請求項における「ストレージデバイス」は、後記する発明の実施の形態における「HDD」に相当する。
【0006】
請求項2に記載の発明は、請求項1に記載の発明において、切替制御回路は、ミラー元とミラー先のストレージデバイスが、IDEインタフェースのプライマリマスタチャネルとプライマリスレーブチャネルにそれぞれ接続されている場合に、OSが起動ストレージデバイスとして認識するミラー元のストレージデバイスに不具合が発生したときに、ミラー元のストレージデバイスをミラー先のストレージデバイスに切り替えるマスタ/スレーブ切替制御回路を備える。
【0007】
請求項3に記載の発明は、請求項1に記載の発明において、切替制御回路は、ミラー元とミラー先のストレージデバイスが、IDEインタフェースのプライマリマスタチャネルとセカンダリマスタチャネルにそれぞれ接続されている場合に、OSが起動ストレージデバイスとして認識するミラー元のストレージデバイスに不具合が発生したときに、ミラー元のストレージデバイスをミラー先のストレージデバイスに切り替えるプライマリ/セカンダリ切替制御回路を備える。
【0008】
請求項4に記載の発明は、ユーザが情報の参照及び更新を行うコンピュータと、少なくともミラーリングされたOSを記録したストレージデバイスとの間に接続されるストレージデバイス制御装置であって、ストレージデバイス制御装置は、OS及びデータを記録したミラー元並びにミラー先ストレージデバイスを接続すると共に、プライマリマスタ、プライマリスレーブ、セカンダリマスタ、セカンダリスレーブの4つのチャネルを備え、プライマリマスタチャネルに起動ストレージデバイスを接続することが要求されるIDEインタフェースと、ストレージデバイスを切り替えるトリガを与える切替スイッチと、プライマリマスタチャネルに接続されたミラー元ストレージデバイスに不具合が発生したとき、切替スイッチからのトリガにより、ストレージデバイス制御装置に内蔵するIDEインタフェースのプライマリマスタチャネルに接続されていたミラー元のストレージデバイスを、プライマリマスタチャネル以外に接続されたミラー先のストレージデバイスに切り替える信号を生成する切替制御回路と、その信号を契機として、IDEインタフェースのプライマリマスタ以外に接続されるミラー先ストレージデバイスを、プライマリマスタチャネルに接続されていると認識し、ミラー先ストレージデバイスのOSを起動する起動制御装置とを含んで構成される。
なお、請求項における「起動制御装置」は、後記する発明の実施の形態における「CPU」に相当する。
【0009】
請求項5に記載の発明は、OS起動用ストレージデバイスを、不具合が発生した第1のストレージデバイスから正常に動作する第2のストレージデバイスに切り替えるストレージデバイス切替方法であって、ストレージデバイスインタフェースのOS起動用チャネルに接続された第1のストレージデバイスと、そのストレージデバイスインタフェースのOS起動用チャネル以外に接続された第2のストレージデバイスとを、ミラーリングされたストレージデバイスとしてアクセスするステップと、OS起動用チャネルに接続された第1のストレージデバイスを、OS起動用ストレージデバイスとして認識するステップと、第1のストレージデバイスに不具合が発生したときに、ストレージデバイス切替のトリガを与えるステップと、そのトリガを契機として、OS起動用チャネルに接続された第1のストレージデバイスを、OS起動用チャネル以外に接続された第2のストレージデバイスに切り替える信号を生成するステップと、その信号を契機として、OS起動用チャネル以外に接続された第2のストレージデバイスを、OS起動用チャネルに接続されていると認識し、第2のストレージデバイスのOSを起動するステップとを含んで実行する。
【0010】
【発明の実施の形態】
以下、本発明の実施の形態について図面を参照して詳細に説明する。
【0011】
≪装置の構成≫
図1は、本発明の実施の形態に係るストレージデバイス制御装置のブロック構成図である。ストレージデバイス制御装置は、上位装置としての、ユーザが情報の参照及び更新を行うPC等のコンピュータと、下位装置としての、ユーザ間で共有する情報を蓄積するHDD等のストレージデバイスとを接続する装置であり、具体的には、CPU、メモリ、インタフェース制御機器等から成るマザーボードによって実現される。
その構成としては、CPU11を制御中枢とし、プログラムやデータが格納されるROM12、RAM13と、外付けミラーリングストレージデバイスを、LANインタフェース、SCSI(Small Computer System Interface)又はIEEE(Institute of Electrical and Electronics Engineers、米国電気電子学会)1394を介してPC等のコンピュータに接続する外付けインタフェース14と、ミラー元HDD16、ミラー先HDD17等のストレージデバイス本体が接続されるIDEインタフェース15とが、アドレス、データ、コントロールのための複数のラインから成るシステムバス20に共通接続されて構成される。
【0012】
切替制御回路18には、ジャンパスイッチやICスイッチ回路等による切替スイッチ19が接続されており、切替制御回路18は、後記するように、ミラー元HDD16に不具合が生じた際、切替スイッチ19を介してその状態を知り、IDEインタフェース15のプライマリマスタチャネルに接続されていたミラー元HDD16を、プライマリマスタチャネル以外に接続されたミラー先HDD17に切り替え、OSに対してミラー先HDD17がプライマリマスタチャネルに接続されていると認識させる機能を持つ。
【0013】
≪装置の動作≫
図2は、本発明の実施の形態に係るストレージデバイス制御装置の動作を説明するために引用したフローチャートである。以下、図2を参照しながら、図1のストレージデバイス制御装置の動作について詳細に説明する。ここでは、OSを含めてミラーリングされていることとし、ミラー元HDD16、ミラー先HDD17共に、OS部とデータ部とから成るデータ構造を持つこととする。
IDEインタフェース15は、プライマリマスタ、プライマリスレーブ、セカンダリマスタ、セカンダリスレーブの4チャネルの接続を可能とするものである。その詳細を説明すると、1つのケーブルでマスタ、スレーブの2つのストレージデバイスを接続することができ、また、通常のマザーボードにはプライマリとセカンダリの2つのIDEインタフェース用接続口があるので、それぞれの接続口にケーブルを接続することによって合計4台のストレージデバイスをマザーボードに接続できる。そして、通常のマザーボードの場合、OSの起動は、プライマリマスタチャネルに接続されたストレージデバイスから実行される。ここでは、ミラー元HDD16がプライマリマスタチャネルに接続されているものとして説明を行う。
【0014】
まず、ミラー元HDD16に不具合が発生したとき(ステップS21のYes)、切替スイッチ19を介してそのことを切替制御回路18に通知する。ここで、切替スイッチ19としては、ユーザにより操作される機械的なものや、不具合が発生したミラー元HDD16からの信号を受けて切替制御回路18に自動的に通知する電気的なもの等が考えられる。
切替制御回路18はこの不具合発生の通知を受けて、IDEインタフェース15のプライマリマスタチャネルに接続されていたミラー元HDD16を、プライマリマスタチャネル以外に接続された、ここではミラー先HDD17に切り替え、OSに対してミラー先HDD17がプライマリマスタチャネルに接続されていると認識させるための切替信号を生成する(ステップS22)。
【0015】
このとき、CPU11は、その切替信号を契機として、IDEインタフェース15のプライマリマスタチャネル以外に接続されるミラー先HDD17を、プライマリマスタチャネルに接続されているものと認識し(ステップS23)、ミラー先HDD17のOSを起動させる起動制御装置として機能する。なお、ミラー元HDD16に不具合が発生していないときには(ステップS21のNo)、通常通り、ミラー元HDD16をプライマリマスタチャネルに接続されているものと認識する(ステップS23)。
そして、OSの起動が正常に行われた場合に(ステップS24のYes)、続いてアプリケーションプログラムを起動し、ミラーリングのための処理を再開する(ステップS25)。ただし、ミラー元HDD16に不具合が発生し、切替が行われたときには、ミラー元HDD16の交換等によるHDDの正常化後に、ミラーリングの処理が再開される。なお、OSの起動が正常に行われなかった場合には(ステップS24のNo)、アプリケーションプログラムの起動は行われない。
【0016】
次に、図3及び図4に具体的な接続例を示す。図3の例は、プライマリチャネル151のみを用いてミラー元HDD16(プライマリマスタチャネル)とミラー先HDD17(プライマリスレーブチャネル)を接続した例であり、図4の例は、スレーブを使用せずに、プライマリマスタチャネル152とセカンダリマスタチャネル153に、ミラー元HDD16とミラー先HDD17をそれぞれ接続した例である。
図3の接続例では、切替スイッチ19の出力を受けて、切替制御回路18を構成するマスタ/スレーブ切替制御回路191が、OSが起動ストレージデバイスとして認識するミラー元HDD16に不具合発生を検出したときに、ミラー先HDD17に切り替え、ミラー先HDD17からのOSの起動を実現する。具体的には、マスタ/スレーブ切替制御回路191が、IDEインタフェース上のマスタ/スレーブの識別に使用している特定のビットを反転することによって、OSのデバイス認識を逆転することができる。
また、図4の接続例では、切替スイッチ19の出力を受けて切替制御回路18を構成する、プライマリ/セカンダリ切替制御回路192が、OSが起動ストレージデバイスとして認識するミラー元HDD16に不具合発生を検出してミラー先HDD17に切り替え、ミラー先HDD17からのOSの起動を実現する。この場合は、IDEインタフェースのケーブルが異なるので、論理的なビット操作で切り替えることはできない。具体的には、プライマリ/セカンダリ切替制御回路192によって、OS側とストレージデバイス側との間において物理的な接続パスを切り替える必要がある。
勿論、図3、図4に示す例を組み合わせて、IDEインタフェースが持つ4つのチャネルに、OSとデータとを記録したストレージデバイスを接続することも可能である。
【0017】
図1に示すCPU11で実行されるプログラムをコンピュータによる読み取り可能な記録媒体に記録し、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することにより、本発明の実施の形態に係るストレージデバイス制御装置が実現されるものとする。ここでいうコンピュータシステムとは、OS(Operating System)等のソフトウエアや周辺機器等のハードウエアを含むものである。
【0018】
以上本発明について好適な実施の形態について一例を示したが、本発明は前記実施の形態に限定されず、本発明の趣旨を逸脱しない範囲で適宜変更が可能である。
【0019】
【発明の効果】
以上説明したように本発明によれば、IDEインタフェースのプライマリマスタチャネルに接続したミラー元ストレージデバイスに不具合が発生したときに、スイッチ等により、そのミラー元ストレージデバイスを、プライマリマスタチャネル以外に接続されているミラー先ストレージデバイスに切り替え、OSに対して物理的にミラー先ストレージがプライマリマスタチャネルに接続されていると認識させることにより、いずれのストレージデバイスにもOSが記録されていることからOSの起動が可能となり、また、ミラーリングによるデータの復旧も可能となる。
このことにより、ストレージデバイスは最低2個で済み、コスト低減にも寄与することができる。
【図面の簡単な説明】
【図1】本発明の実施の形態に係るストレージデバイス制御装置のブロック構成を示す図である。
【図2】本発明の実施の形態に係るストレージデバイス制御装置の動作を示すフローチャートである。
【図3】本発明の実施の形態に係るストレージデバイスの接続形態の一例を示す図である。
【図4】本発明の実施の形態に係るストレージデバイスの接続形態の一例を示す図である。
【符号の説明】
11…CPU
12…ROM
13…RAM
14…外付けインタフェース
15…IDEインタフェース
16…ミラー元HDD
17…ミラー先HDD
18…切替制御回路
19…切替スイッチ
191…マスタ/スレーブ切替制御回路
192…プライマリ/セカンダリ切替制御回路
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a storage device control device connected between a computer from which a user refers to and updates information and a storage device that records the information.
[0002]
[Prior art]
Network storage has been introduced in homes and relatively small offices to share information. The network storage only needs to be connected to a PC (Personal Computer) equipped with a LAN (Local Area Network) board, so that information can be shared at a lower cost than a system in which a dedicated server is installed, and the free space of the recording medium is reduced. When the recording medium runs out, the data can be continuously stored by exchanging the recording medium, so that the practicality, functionality, and expandability are rich.
In addition, the network storage can also support mirroring (RAID1: Redundant Array of Independent Disks 1). Even if one storage device is damaged, necessary data can be read from the other storage device. (Software RAID: see Non-Patent Document 1). An OS (Operating System) is mounted on the network storage for such storage device control, and a motherboard having a built-in IDE interface for connecting the storage device is mounted.
By the way, when the mirroring is realized by a CPU (Central Processing Unit) board and an OS, an OS storage device such as an OS storage device, a data storage device (mirror source), and a data storage device (mirror destination) is used. In general, it is physically separated from the data storage device.
[0003]
[Non-patent document 1]
TEXTA homepage, "Software RAID and Hardware RAID", [online], August 1, 2002, Texa Corporation, [Search June 3, 2003], Internet <URL: HYPERLINK "http: //www.texa .Co.jp / TEXTA / array / SW.html "http: // www. texa. co. jp / TEXTA / array / SW. html>
[0004]
[Problems to be solved by the invention]
However, according to the conventional technique, at least three storage devices are required for mirroring, and if the storage device recording the OS is damaged for some reason, another storage device recording the OS is required. As a result, the OS cannot be started, and as a result, data on the undamaged storage device cannot be retrieved.
Therefore, an object of the present invention is to provide a storage device control device that saves the number of storage devices, enables an OS to be started even if any storage device is damaged, and guarantees data read / write operation. is there.
[0005]
[Means for Solving the Problems]
According to an aspect of the present invention, there is provided a storage device control device connected between a computer for a user to refer to and update information and a storage device that records at least a mirrored OS. The storage device control device includes: a changeover switch for giving a trigger for changing over the storage device; and a mirror source connected to the OS boot channel of the storage device interface built in the storage device control device by the trigger from the changeover switch. And a switching control circuit for switching the storage device to a storage device at the mirror destination connected to a channel other than the OS boot channel, and causing the OS to recognize that the storage device at the mirror destination is connected to the OS boot channel. It consists of.
Here, mirroring refers to writing exactly the same data to two storage devices when data is recorded in the storage device, and aims to improve reliability against failure of the storage devices. The two storage devices have a primary and a secondary, and the primary side is called a mirror source and the secondary side is called a mirror destination. Basically, data is simultaneously written to the two primary and secondary storage devices, but strictly speaking, writing to the primary side, ie, the mirror source, is prioritized, and writing to the secondary side, ie, the mirror destination, follows it. Sometimes.
The “storage device” in the claims corresponds to “HDD” in the embodiments of the invention described later.
[0006]
According to a second aspect of the present invention, in the first aspect of the present invention, the switching control circuit is configured such that the mirror source and the mirror destination storage device are respectively connected to the primary master channel and the primary slave channel of the IDE interface. And a master / slave switching control circuit for switching the mirror source storage device to the mirror destination storage device when a failure occurs in the mirror source storage device recognized by the OS as the boot storage device.
[0007]
According to a third aspect of the present invention, in the first aspect of the present invention, the switching control circuit is configured such that the mirror source and the mirror destination storage device are respectively connected to the primary master channel and the secondary master channel of the IDE interface. A primary / secondary switching control circuit that switches the mirror source storage device to the mirror destination storage device when a failure occurs in the mirror source storage device recognized by the OS as the boot storage device.
[0008]
According to a fourth aspect of the present invention, there is provided a storage device control device connected between a computer in which a user refers to and updates information and a storage device in which at least a mirrored OS is recorded, the storage device control device comprising: Is connected to the mirror source storage device and the mirror destination storage device that record the OS and the data, and is provided with four channels of a primary master, a primary slave, a secondary master, and a secondary slave. A required IDE interface, a switch for giving a trigger for switching the storage device, and a trigger from the switch when a failure occurs in the mirror source storage device connected to the primary master channel. A switching control circuit for generating a signal for switching the mirror source storage device connected to the primary master channel of the IDE interface built in the storage device control device to the mirror destination storage device connected to a device other than the primary master channel; And a start controller for recognizing a mirror destination storage device connected to a device other than the primary master of the IDE interface as being connected to the primary master channel in response to the signal, and activating the OS of the mirror destination storage device. It consists of.
The “activation control device” in the claims corresponds to a “CPU” in an embodiment of the invention described later.
[0009]
An invention according to claim 5 is a storage device switching method for switching a storage device for booting an OS from a first storage device in which a failure has occurred to a second storage device that operates normally. Accessing the first storage device connected to the boot channel and the second storage device other than the OS boot channel of the storage device interface as a mirrored storage device; Recognizing the first storage device connected to the channel as the OS-starting storage device; providing a trigger for switching the storage device when a failure occurs in the first storage device; Generating a signal for switching the first storage device connected to the OS boot channel to a second storage device connected to a channel other than the OS boot channel, and starting the OS boot using the signal as a trigger Recognizing that the second storage device connected to a channel other than the storage channel is connected to the OS boot channel, and booting the OS of the second storage device.
[0010]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
[0011]
≪Device configuration≪
FIG. 1 is a block diagram of a storage device control device according to an embodiment of the present invention. The storage device control device is a device that connects a computer such as a PC as a higher-level device in which a user refers to and updates information and a storage device as a lower-level device such as an HDD that stores information shared between users. Specifically, it is realized by a motherboard including a CPU, a memory, an interface control device, and the like.
The configuration is such that a CPU 11 is a control center, and a ROM 12 and a RAM 13 in which programs and data are stored, and an external mirroring storage device are connected to a LAN interface, a SCSI (Small Computer System Interface) or an IEEE (Institute of Electronic and Electronic, Electronic and Electronic). An external interface 14 connecting to a computer such as a PC via the Institute of Electrical and Electronics Engineers (1394) and an IDE interface 15 to which a storage device body such as a mirror source HDD 16 and a mirror destination HDD 17 are connected are used for address, data and control. Connected to a system bus 20 composed of a plurality of lines.
[0012]
The switching control circuit 18 is connected to a switching switch 19 such as a jumper switch or an IC switching circuit. The switching control circuit 18 is connected to the switching control circuit 18 via the switching switch 19 when a failure occurs in the mirror source HDD 16 as described later. The mirror source HDD 16 connected to the primary master channel of the IDE interface 15 is switched to the mirror destination HDD 17 connected to a device other than the primary master channel, and the mirror destination HDD 17 is connected to the primary master channel for the OS. It has a function to recognize that it has been done.
[0013]
≪Operation of device≫
FIG. 2 is a flowchart cited for explaining the operation of the storage device control device according to the embodiment of the present invention. Hereinafter, the operation of the storage device control device of FIG. 1 will be described in detail with reference to FIG. Here, it is assumed that mirroring is performed including the OS, and both the mirror source HDD 16 and the mirror destination HDD 17 have a data structure including an OS part and a data part.
The IDE interface 15 enables connection of four channels of a primary master, a primary slave, a secondary master, and a secondary slave. To explain the details, two storage devices, a master and a slave, can be connected with one cable, and the usual motherboard has two IDE interface connection ports of a primary and a secondary. By connecting a cable to the mouth, a total of four storage devices can be connected to the motherboard. Then, in the case of a normal motherboard, the boot of the OS is executed from the storage device connected to the primary master channel. Here, the description is given on the assumption that the mirror source HDD 16 is connected to the primary master channel.
[0014]
First, when a failure occurs in the mirror source HDD 16 (Yes in step S21), the fact is notified to the switching control circuit 18 via the changeover switch 19. Here, the switch 19 may be a mechanical switch operated by a user, an electric switch that receives a signal from the mirror source HDD 16 in which a failure has occurred, and automatically notifies the switch control circuit 18 of the signal. Can be
In response to the notification of the occurrence of the failure, the switching control circuit 18 switches the mirror source HDD 16 connected to the primary master channel of the IDE interface 15 to a mirror destination HDD 17 connected to a channel other than the primary master channel. On the other hand, a switching signal is generated for recognizing that the mirror destination HDD 17 is connected to the primary master channel (step S22).
[0015]
At this time, triggered by the switching signal, the CPU 11 recognizes the mirror destination HDD 17 connected to the IDE interface 15 other than the primary master channel as being connected to the primary master channel (step S23), and the mirror destination HDD 17 Function as an activation control device for activating the OS of the OS. When no trouble has occurred in the mirror source HDD 16 (No in step S21), it is recognized that the mirror source HDD 16 is connected to the primary master channel as usual (step S23).
Then, when the OS is normally started (Yes in step S24), the application program is subsequently started and the process for mirroring is restarted (step S25). However, when a failure occurs in the mirror source HDD 16 and the switching is performed, the mirroring process is restarted after the normalization of the HDD by replacing the mirror source HDD 16 or the like. If the OS has not been started normally (No in step S24), the application program is not started.
[0016]
Next, specific connection examples are shown in FIGS. The example in FIG. 3 is an example in which the mirror source HDD 16 (primary master channel) and the mirror destination HDD 17 (primary slave channel) are connected using only the primary channel 151, and the example in FIG. In this example, a mirror source HDD 16 and a mirror destination HDD 17 are connected to a primary master channel 152 and a secondary master channel 153, respectively.
In the connection example of FIG. 3, when the master / slave switching control circuit 191 included in the switching control circuit 18 detects an occurrence of a failure in the mirror source HDD 16 recognized as the boot storage device by receiving the output of the changeover switch 19. Then, switching to the mirror destination HDD 17 is performed, and the OS is started from the mirror destination HDD 17. Specifically, the master / slave switching control circuit 191 can reverse device recognition of the OS by inverting a specific bit used for identification of the master / slave on the IDE interface.
In the connection example of FIG. 4, the primary / secondary switching control circuit 192 which configures the switching control circuit 18 in response to the output of the changeover switch 19 detects the occurrence of a failure in the mirror source HDD 16 which the OS recognizes as the boot storage device. Then, switching to the mirror destination HDD 17 is performed, and activation of the OS from the mirror destination HDD 17 is realized. In this case, the cable cannot be switched by a logical bit operation because the cable of the IDE interface is different. Specifically, it is necessary for the primary / secondary switching control circuit 192 to switch the physical connection path between the OS side and the storage device side.
Of course, by combining the examples shown in FIGS. 3 and 4, it is also possible to connect a storage device that records an OS and data to the four channels of the IDE interface.
[0017]
A program executed by the CPU 11 shown in FIG. 1 is recorded on a recording medium readable by a computer, and the program recorded on the recording medium is read into a computer system and executed, whereby an embodiment of the present invention is realized. It is assumed that a storage device control device is realized. Here, the computer system includes software such as an OS (Operating System) and hardware such as peripheral devices.
[0018]
Although an example of a preferred embodiment of the present invention has been described above, the present invention is not limited to the above embodiment, and can be appropriately changed without departing from the spirit of the present invention.
[0019]
【The invention's effect】
As described above, according to the present invention, when a failure occurs in the mirror source storage device connected to the primary master channel of the IDE interface, the mirror source storage device is connected to a device other than the primary master channel by a switch or the like. Is switched to the mirror destination storage device, and the OS recognizes that the mirror destination storage is physically connected to the primary master channel. Startup is possible, and data recovery by mirroring is also possible.
This requires at least two storage devices, which can contribute to cost reduction.
[Brief description of the drawings]
FIG. 1 is a diagram showing a block configuration of a storage device control device according to an embodiment of the present invention.
FIG. 2 is a flowchart showing an operation of the storage device control device according to the embodiment of the present invention.
FIG. 3 is a diagram showing an example of a storage device connection mode according to the embodiment of the present invention.
FIG. 4 is a diagram showing an example of a connection mode of the storage devices according to the embodiment of the present invention.
[Explanation of symbols]
11 CPU
12 ... ROM
13 ... RAM
14 external interface 15 IDE interface 16 mirror source HDD
17 ... Mirror destination HDD
18 Switching control circuit 19 Switching switch 191 Master / slave switching control circuit 192 Primary / secondary switching control circuit

Claims (5)

ユーザが情報の参照及び更新を行うコンピュータと、少なくともミラーリングされたOSを記録したストレージデバイスとの間に接続されるストレージデバイス制御装置であって、
前記ストレージデバイス制御装置は、
前記ストレージデバイスを切り替えるトリガを与える切替スイッチと、
前記切替スイッチからのトリガにより、前記ストレージデバイス制御装置に内蔵するストレージデバイスインタフェースのOS起動用チャネルに接続されていたミラー元の前記ストレージデバイスを、前記OS起動用チャネル以外に接続されたミラー先の前記ストレージデバイスに切り替え、前記OSに対して前記ミラー先のストレージデバイスが前記OS起動用チャネルに接続されていると認識させる切替制御回路と、
を含んで構成されることを特徴とするストレージデバイス制御装置。
A storage device control device connected between a computer in which a user refers to and updates information and a storage device that records at least a mirrored OS,
The storage device control device,
A changeover switch for giving a trigger for changing over the storage device,
In response to a trigger from the changeover switch, the storage device of the mirror source connected to the OS boot channel of the storage device interface built in the storage device controller is replaced with the mirror destination of the mirror destination connected to other than the OS boot channel. A switching control circuit that switches to the storage device and causes the OS to recognize that the storage device at the mirror destination is connected to the OS boot channel;
A storage device control apparatus characterized by comprising:
前記切替制御回路は、
前記ミラー元とミラー先のストレージデバイスが、IDEインタフェースのプライマリマスタチャネルとプライマリスレーブチャネルにそれぞれ接続されている場合に、前記OSが起動ストレージデバイスとして認識する前記ミラー元のストレージデバイスに不具合が発生したときに、前記ミラー元のストレージデバイスを前記ミラー先のストレージデバイスに切り替えるマスタ/スレーブ切替制御回路を備えることを特徴とする請求項1に記載のストレージデバイス制御装置。
The switching control circuit,
When the mirror source storage device and the mirror destination storage device are respectively connected to the primary master channel and the primary slave channel of the IDE interface, a problem has occurred in the mirror source storage device recognized as the boot storage device by the OS. 2. The storage device control device according to claim 1, further comprising a master / slave switching control circuit for switching the storage device of the mirror source to the storage device of the mirror destination.
前記切替制御回路は、
前記ミラー元とミラー先のストレージデバイスが、IDEインタフェースのプライマリマスタチャネルとセカンダリマスタチャネルにそれぞれ接続されている場合に、前記OSが起動ストレージデバイスとして認識する前記ミラー元のストレージデバイスに不具合が発生したときに、前記ミラー元のストレージデバイスを前記ミラー先のストレージデバイスに切り替えるプライマリ/セカンダリ切替制御回路を備えることを特徴とする請求項1に記載のストレージデバイス制御装置。
The switching control circuit,
When the mirror source storage device and the mirror destination storage device are respectively connected to the primary master channel and the secondary master channel of the IDE interface, a problem has occurred in the mirror source storage device recognized as the boot storage device by the OS. 2. The storage device control device according to claim 1, further comprising a primary / secondary switching control circuit that switches the storage device at the mirror source to the storage device at the mirror destination.
ユーザが情報の参照及び更新を行うコンピュータと、少なくともミラーリングされたOSを記録したストレージデバイスとの間に接続されるストレージデバイス制御装置であって、
前記ストレージデバイス制御装置は、
OS及びデータを記録したミラー元並びにミラー先ストレージデバイスを接続すると共に、
プライマリマスタ、プライマリスレーブ、セカンダリマスタ、セカンダリスレーブの4つのチャネルを備え、前記プライマリマスタチャネルに起動ストレージデバイスを接続することが要求されるIDEインタフェースと、
前記ストレージデバイスを切り替えるトリガを与える切替スイッチと、
前記プライマリマスタチャネルに接続された前記ミラー元ストレージデバイスに不具合が発生したとき、前記切替スイッチからのトリガにより、前記ストレージデバイス制御装置に内蔵するIDEインタフェースのプライマリマスタチャネルに接続されていたミラー元の前記ストレージデバイスを、前記プライマリマスタチャネル以外に接続されたミラー先の前記ストレージデバイスに切り替える信号を生成する切替制御回路と、
前記信号を契機として、前記IDEインタフェースのプライマリマスタ以外に接続されるミラー先ストレージデバイスを、前記プライマリマスタチャネルに接続されていると認識し、前記ミラー先ストレージデバイスのOSを起動する起動制御装置と、
を含んで構成されることを特徴とするストレージデバイス制御装置。
A storage device control device connected between a computer in which a user refers to and updates information and a storage device that records at least a mirrored OS,
The storage device control device,
Connect the OS and the mirror source and mirror destination storage devices that have recorded data,
An IDE interface comprising four channels of a primary master, a primary slave, a secondary master, and a secondary slave, and required to connect a boot storage device to the primary master channel;
A changeover switch for giving a trigger for changing over the storage device,
When a failure occurs in the mirror source storage device connected to the primary master channel, a trigger from the changeover switch causes the mirror source storage device connected to the primary master channel of the IDE interface built in the storage device control device to be activated. A switching control circuit that generates a signal for switching the storage device to the mirror-destination storage device connected to a device other than the primary master channel;
In response to the signal, a start control device that recognizes a mirror storage device connected to a device other than the primary master of the IDE interface as being connected to the primary master channel, and starts an OS of the mirror storage device. ,
A storage device control apparatus characterized by comprising:
OS起動用ストレージデバイスを、不具合が発生した第1のストレージデバイスから正常に動作する第2のストレージデバイスに切り替えるストレージデバイス切替方法であって、
ストレージデバイスインタフェースのOS起動用チャネルに接続された前記第1のストレージデバイスと、そのストレージデバイスインタフェースのOS起動用チャネル以外に接続された前記第2のストレージデバイスとを、ミラーリングされたストレージデバイスとしてアクセスするステップと、
前記OS起動用チャネルに接続された前記第1のストレージデバイスを、OS起動用ストレージデバイスとして認識するステップと、
前記第1のストレージデバイスに不具合が発生したときに、
ストレージデバイス切替のトリガを与えるステップと、
前記トリガを契機として、前記OS起動用チャネルに接続された前記第1のストレージデバイスを、前記OS起動用チャネル以外に接続された前記第2のストレージデバイスに切り替える信号を生成するステップと、
前記信号を契機として、前記OS起動用チャネル以外に接続された前記第2のストレージデバイスを、前記OS起動用チャネルに接続されていると認識し、前記第2のストレージデバイスのOSを起動するステップと、
を含んで実行することを特徴とするストレージデバイス切替方法。
A storage device switching method for switching an OS boot storage device from a malfunctioning first storage device to a normally operating second storage device,
Accessing the first storage device connected to the OS boot channel of the storage device interface and the second storage device connected to a channel other than the OS boot channel of the storage device interface as mirrored storage devices Steps to
Recognizing the first storage device connected to the OS boot channel as an OS boot storage device;
When a failure occurs in the first storage device,
Providing a trigger for storage device switching;
Generating a signal for switching the first storage device connected to the OS boot channel to the second storage device connected to a channel other than the OS boot channel, triggered by the trigger;
Recognizing the second storage device connected to a channel other than the OS boot channel as being triggered by the signal, as being connected to the OS boot channel, and booting the OS of the second storage device When,
And a storage device switching method.
JP2003162596A 2003-06-06 2003-06-06 Storage device control unit and storage device switching method Pending JP2004362444A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003162596A JP2004362444A (en) 2003-06-06 2003-06-06 Storage device control unit and storage device switching method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003162596A JP2004362444A (en) 2003-06-06 2003-06-06 Storage device control unit and storage device switching method

Publications (1)

Publication Number Publication Date
JP2004362444A true JP2004362444A (en) 2004-12-24

Family

ID=34054701

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003162596A Pending JP2004362444A (en) 2003-06-06 2003-06-06 Storage device control unit and storage device switching method

Country Status (1)

Country Link
JP (1) JP2004362444A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011028430A (en) * 2009-07-23 2011-02-10 Canon Inc Information processing apparatus, control method for information processing apparatus, and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011028430A (en) * 2009-07-23 2011-02-10 Canon Inc Information processing apparatus, control method for information processing apparatus, and program
US8826066B2 (en) 2009-07-23 2014-09-02 Canon Kabushiki Kaisha Information processing apparatus, control method of the information processing apparatus, and recording medium

Similar Documents

Publication Publication Date Title
US7587544B2 (en) Extending secure digital input output capability on a controller bus
US7444541B2 (en) Failover and failback of write cache data in dual active controllers
RU2596585C2 (en) Method for sending data, data receiving method and data storage device
EP1736879A2 (en) DIsk array apparatus and method for controlling the same
US20090204758A1 (en) Systems and methods for asymmetric raid devices
KR19990041696A (en) Computer system that implements raid function using onboard SCSI
JP2005267038A (en) Operation method for storage system
CN102187311A (en) Methods and systems for recovering a computer system using a storage area network
JP2006107080A (en) Storage device system
JP2005339216A (en) Memory control system
JP2007011682A (en) Storage control device and path switching method for it
JP2007087263A (en) Dump method in computer system having mirror memory configuration, dump control mechanism, and dump program
US10140235B2 (en) Server
JP4252551B2 (en) Data storage system and log data output method in case of abnormality of storage control device
JP2004362444A (en) Storage device control unit and storage device switching method
JP5103823B2 (en) Information processing apparatus and input / output request control method
JP2006268403A (en) Data storage system and equivalence control method for log data of storage control unit
JP4080629B2 (en) Access control device and computer-readable storage medium storing program
US7343436B2 (en) Synchronous electronic control system and system control method
US8554995B2 (en) Connecting a storage subsystem and an electronic device with a control device that hides details of the storage subsystem
JP2011076528A (en) Method and device for providing redundancy to raid card
JPWO2008090620A1 (en) Storage device, recording recovery method, recording recovery program
US7028155B2 (en) Master-slave data management system and method
JP6930153B2 (en) Path switching device, path switching method and path switching program, and computer system
JP6007822B2 (en) Fault tolerant server and its memory copy method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060530

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090303

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090804