JP2018180811A - Storage control device, main controller, storage control method, and program - Google Patents
Storage control device, main controller, storage control method, and program Download PDFInfo
- Publication number
- JP2018180811A JP2018180811A JP2017077620A JP2017077620A JP2018180811A JP 2018180811 A JP2018180811 A JP 2018180811A JP 2017077620 A JP2017077620 A JP 2017077620A JP 2017077620 A JP2017077620 A JP 2017077620A JP 2018180811 A JP2018180811 A JP 2018180811A
- Authority
- JP
- Japan
- Prior art keywords
- storage
- control device
- operation mode
- storage control
- hdd
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Debugging And Monitoring (AREA)
Abstract
Description
本発明は、ストレージ制御装置、メインコントローラ、ストレージ制御方法、及びプログラムに関する。 The present invention relates to a storage control device, a main controller, a storage control method, and a program.
複数のHDDを組み合わせることで仮想的な1つのHDDとして運用するRAID(Redundant Arrays of Inexpensive Disks)という技術が知られている。RAIDでは、例えば、複数のHDDに同じ内容のデータを記録するミラーリングが行われる(例えば、特許文献1参照)。これにより、或るHDDに記憶されたデータが破損しても、同じ内容のデータが記憶された別のHDDからデータを取得することができ、データ損失のリスクを軽減可能となる。例えば、RAIDが実装されたMFPでは、ミラーリング機能が有効に設定されると、予め搭載された一のHDDに画像データの書き込みが行われる一方で、一のHDDに記録された全てのデータが他のHDDに複製される。 There is known a technology called RAID (Redundant Arrays of Inexpensive Disks) that operates as one virtual HDD by combining a plurality of HDDs. In RAID, for example, mirroring that records data of the same content on a plurality of HDDs is performed (see, for example, Patent Document 1). As a result, even if data stored in a certain HDD is damaged, data can be acquired from another HDD in which data having the same content is stored, and the risk of data loss can be reduced. For example, in an MFP with RAID installed, when the mirroring function is set to be effective, while writing of image data is performed to one HDD installed in advance, all data recorded in one HDD is the other. Is replicated on the HDD.
ところで、MFPでは、S.M.A.R.T(Self‐Monitoring Analysis And Reporting Technology)により、各HDDの故障予測が行われ、各HDDの交換時期が通知される。これにより、MFPでは、ユーザに依頼されたサービスマンによって各HDDが故障する前に交換される。サービスマンは、交換時期が近付いたHDD(以下、「旧HDD」という。)を新たなHDD(以下、「新HDD」という。)に取り替えた後、旧HDDのデータを新HDDに移行するといった手順でHDDの交換処理を行う。しかし、このような手順では、旧HDDから新HDDへデータを移行中、MFPにおいて、HDDへ書き込みを必要とするジョブの実行を受け付けることができず、ダウンタイムが生じてしまう。これに対応して、MFPでは、ミラーリング機能を利用したHDDの交換処理が行われる。ミラーリング機能を利用したHDDの交換処理では、ミラーリング機能が予め無効に設定されたMFPにおいて、サービスマンは一旦新HDDをMFPに接続し、ミラーリング機能を有効に設定する。これにより、HDDへ書き込みを必要とするジョブの実行を受け付けた際に旧HDDに書き込みを行いながら、旧HDDのデータを新HDDにバックアップ可能となる。その後、サービスマンは旧HDDを新HDDに取り替え、ミラーリング機能を無効に戻す。 By the way, in the MFP, S. M. A. R. Failure prediction of each HDD is performed by T (Self-Monitoring Analysis And Reporting Technology), and the replacement time of each HDD is notified. As a result, in the MFP, the service person requested by the user is replaced before each HDD breaks down. The serviceman says that after replacing an HDD (hereinafter referred to as "old HDD") whose replacement time is approaching with a new HDD (hereinafter referred to as "new HDD"), data of the old HDD is migrated to the new HDD. Follow the procedure to replace the HDD. However, in such a procedure, while data is being transferred from the old HDD to the new HDD, the MFP can not receive the execution of a job that requires writing to the HDD, resulting in downtime. In response to this, the MFP performs an HDD replacement process using a mirroring function. In the HDD replacement process using the mirroring function, the service person temporarily connects a new HDD to the MFP and sets the mirroring function to be effective in the MFP in which the mirroring function is previously set to be invalid. As a result, when execution of a job requiring writing to the HDD is received, writing to the old HDD can be performed, and data of the old HDD can be backed up to the new HDD. After that, the serviceman replaces the old HDD with a new HDD and resets the mirroring function to invalid.
しかしながら、ミラーリング機能を利用したHDDの交換処理では、上述したミラーリング機能を利用しない処理と比較して、ミラーリング機能の設定切り替え等のサービスマンによる作業手順が増えてしまう。その結果、サービスマンによって不適切な処理が行われるという問題が生じる。 However, in the HDD replacement process using the mirroring function, the work procedure by the service person such as setting switching of the mirroring function is increased as compared with the process not using the above-described mirroring function. As a result, there is a problem that the service person performs inappropriate processing.
本発明の目的は、ミラーリング機能を利用してHDDの交換を行う際に不適切な処理が行われる事態を回避することができるストレージ制御装置、メインコントローラ、ストレージ制御方法、及びプログラムを提供することにある。 An object of the present invention is to provide a storage control device, a main controller, a storage control method, and a program capable of avoiding a situation in which improper processing is performed when replacing an HDD using a mirroring function. It is in.
上記目的を達成するために、本発明のストレージ制御装置は、接続されたストレージデバイスの書き込み制御を行うストレージ制御装置であって、正規接続された第1のストレージデバイスにデータを書き込む第1の動作モード、及び前記第1のストレージデバイスに書き込まれたデータを追加接続された第2のストレージデバイスに複製する第2の動作モードのいずれかを設定する設定手段を備え、前記第2の動作モードが設定されて前記第1のストレージデバイスに書き込まれた全てのデータが前記第2のストレージデバイスに複製された後に前記ストレージ制御装置におけるストレージデバイスの接続個数が減った場合、前記設定手段は、前記第2の動作モードから前記第1の動作モードに切り替えることを特徴とする。 In order to achieve the above object, a storage control device of the present invention is a storage control device that performs write control of a connected storage device, and a first operation of writing data in a properly connected first storage device. And a setting unit configured to set one of a second operation mode for copying data written in the first storage device to a second storage device additionally connected, the second operation mode comprising When the number of connected storage devices in the storage control device decreases after all data set and written to the first storage device is replicated to the second storage device, the setting unit is configured to: Switching from the second operation mode to the first operation mode.
本発明によれば、ミラーリング機能を利用してHDDの交換を行う際に不適切な処理が行われる事態を回避することができる。 According to the present invention, it is possible to avoid a situation in which improper processing is performed when replacing an HDD using the mirroring function.
以下、本発明の実施の形態を図面を参照しながら詳述する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
図1は、本発明の実施の形態に係るストレージ制御装置としてのディスクアレイ装置116を備えるMFP100の構成を概略的に示すブロック図である。
FIG. 1 is a block diagram schematically showing a configuration of an
図1において、MFP100は、メインコントローラ101、操作ユニット112、プリンタユニット113、フィニッシャユニット114、スキャナユニット115、ディスクアレイ装置116、及びストレージデバイスとしてのHDD117を備える。なお、本実施の形態では、説明を容易にするため、ストレージデバイスを1つ備える構成について説明するが、MFP100に設けられるストレージデバイスの個数は1つに限られず、MFP100は複数のストレージデバイスを備えていても良い。メインコントローラ101は、操作ユニット112、プリンタユニット113、スキャナユニット115、及びディスクアレイ装置116と接続されている。フィニッシャユニット114はプリンタユニット113と接続され、HDD117はディスクアレイ装置116と接続されている。メインコントローラ101は、CPU102、ROM103、RAM104、操作部I/F105、プリンタI/F106、スキャナI/F107、及びネットワークI/F108を備える。CPU102、ROM103、RAM104、操作部I/F105、プリンタI/F106、スキャナI/F107、及びネットワークI/F108はシステムバス118を介して互いに接続されている。
In FIG. 1, the MFP 100 includes a
MFP100は印刷処理及びスキャン処理等のジョブを実行する。また、MFP100はS.M.A.R.Tにより、HDD117の故障予測を行い、HDD117の交換時期が近付いたことを検知すると、HDD117の交換を促すメッセージを操作ユニット112に通知する。MFP100には複数のHDDを組み合わせることで仮想的な1つのHDDとして運用するRAIDが実装されている。
The
メインコントローラ101はMFP100全体を統括的に制御する。例えば、メインコントローラ101はディスクアレイ装置116を介してHDD117に書き込み要求及び読み出し要求を行う。CPU102はROM103に記憶されたプログラムを実行してメインコントローラ101の各構成要素を制御する。ROM103はCPU102によって実行されるプログラムや各データを記憶する。RAM104はCPU102の作業領域として、また、各データの一時記憶領域として用いられる。操作部I/F105は操作ユニット112とデータ通信を行う。例えば、操作部I/F105は、ユーザの操作ユニット112の操作によって入力された情報をCPU102に送信する。また、操作部I/F105は、操作ユニット112における表示内容を切り替えるための表示制御信号をCPU102から受信し、受信した表示制御信号を操作ユニット112に送信する。プリンタI/F106はプリンタユニット113とデータ通信を行い、例えば、HDD117に記憶された画像データをプリンタユニット113に送信する。スキャナI/F107はスキャナユニット115とデータ通信を行い、例えば、スキャナユニット115によって生成された画像データをスキャナユニット115から取得し、取得した画像データをHDD117に記憶する。ネットワークI/F108は、LAN109を介して接続されたPC110やサーバ装置111と有線LAN通信を行い、例えば、PC110からジョブを実行するための実行データを受信する。
The
操作ユニット112はMFP100のユーザインターフェースであり、タッチパネル式の図示しない表示部及びキーボードを備える。操作ユニット112は図示しない表示部にMFP100の各設定を行うための設定画面やエラーメッセージ等を表示し、また、図示しないキーボードの操作によって入力されたユーザの指示を受け付ける。プリンタユニット113は、プリンタI/F106から受信した画像データに基づいて記録用紙に印刷を行う。フィニッシャユニット114は、印刷が行われた用紙に対してフィニッシング処理を施す。フィニッシング処理は、例えば、ステイプル処理、パンチ処理(穿孔処理)、中綴じ製本処理、及びトリミング処理である。スキャナユニット115は、CCD(Charge Coupled Device)等によって構成されるラインセンサを備え、図示しない原稿台に配置された原稿をラインセンサによって読み取り、読み取った情報に基づいて画像データを生成する。
The
ディスクアレイ装置116はメインコントローラ101から書き込み要求及び読み出し処理を受信する。ディスクアレイ装置116は受信した書き込み要求に基づいてHDD117へのデータの書き込み処理の実行を制御し、また、受信した読み出し要求に基づいてHDD117からのデータの読み出し処理の実行を制御する。ディスクアレイ装置116では、シングルモード及びミラーリングモードのいずれかの動作モードが設定され、設定された動作モードを示す設定値がROM103に格納される。例えば、シングルモードが設定された場合、ディスクアレイ装置116はHDD117のみにデータが記憶されるように制御を行う。一方、ミラーリングモードが設定された場合、ディスクアレイ装置116は該ディスクアレイ装置116に接続された対象となる複数、例えば、2つのHDDに同じ内容のデータが記憶されるように制御する。なお、ディスクアレイ装置116の構成は後述する。HDD117はプリンタユニット113が印刷を行う際に用いる画像データやユーザに関するユーザ設定データ等を記憶する。
The
図2は、図1のディスクアレイ装置116の構成を概略的に示すブロック図である。
FIG. 2 is a block diagram schematically showing the configuration of the
図2において、ディスクアレイ装置116は、デバイス制御部201、RAID制御部202、フォーマット管理部203、アドレス算出部204、ホスト制御部205、及び状態保持部206を備える。RAID制御部202は、デバイス制御部201、フォーマット管理部203、アドレス算出部204、ホスト制御部205、及び状態保持部206と接続されている。フォーマット管理部203はアドレス算出部204とも接続されている。
In FIG. 2, the
ディスクアレイ装置116は複数のチャネルを備える。本実施の形態では、MFP100に追加接続されたHDDをMFP100の増設メモリとして利用可能である。複数のチャネルのうち予め設定された正規チャネルには予め搭載されたHDD117が接続され、正規チャネルと異なる他のチャネルには追加接続されたHDD207等が接続される。ディスクアレイ装置116は、メインコントローラ101及びHDD117,207と、SATA(SerialATA)I/FやSAS(Serial Attached SCSI)I/F等によって接続される。
The
デバイス制御部201はメインコントローラ101から受信した書き込み要求及び読み出し要求に基づいてRAID制御部202に各処理の実行指示を行う。RAID制御部202はデバイス制御部201から受信した実行指示に基づいてRAID制御を行う。例えば、RAID制御部202は、HDD117のデータをHDD207に複製するRAID制御を実行する際に、複製元となるHDD117のID及びHDD117において複製対象となるデータが記憶された領域を示すアクセスLBA(Logical Block Addressing)をフォーマット管理部203に送信する。また、RAID制御部202は、アドレス算出部204から複製先となるHDD207における書き込み領域を示すアドレスを取得し、取得したHDD207のアドレスに基づいてホスト制御部205に複製処理の実行指示を行う。
The
フォーマット管理部203は、RAID制御における複製元となるHDD117及び複製先となるHDD207の各パーティション開始LBAを算出し、算出結果をアドレス算出部204に送信する。アドレス算出部204は、受信した算出結果に基づいて複製先のHDD207のアドレスを算出し、算出したアドレスをRAID制御部202に送信する。
The
ホスト制御部205は、RAID制御部202から受信した複製処理の実行指示に基づいてHDD117及びHDD207にそれぞれ書き込み要求及び読み出し要求を行う。状態保持部206は、FLASH ROM等の不揮発性メモリであり、MFP100の電源オフが指示される直前のディスクアレイ装置116の状態を示す情報(以下、「電源オフ前の状態情報」という。)を保持する。電源オフ前の状態情報は、例えば、ディスクアレイ装置116に接続されていたHDDの種類や個数を示す情報、及びディスクアレイ装置116の各構成要素の初期設定値である。
The
ところで、MFP100では、HDD117の交換時期が近付くと、ユーザによって依頼されたサービスマンがHDD117を新HDDに取り換える。このとき、サービスマンは、取り換えた新HDDにHDD117のデータを移行中も、HDD207へデータの書き込みを必要とするジョブを受け付け可能にするために、ミラーリングモードによるHDDの交換処理を行う。ミラーリングモードによるHDDの交換処理では、サービスマンは、シングルモードが予め設定されたMFP100において、新HDDをMFP100に追加接続し、ディスクアレイ装置116の動作モードをミラーリングモードに設定する。その後、サービスマンはHDD117の全てのデータが新HDDに複製されると、HDD117を新HDDに取り替え、動作モードをミラーリングモードからシングルモードに戻す。しかし、ミラーリングモードによるHDDの交換処理では、動作モードの切り替え等といったサービスマンの手作業の操作が増えてしまう。その結果、サービスマンによって不適切な処理が行われるという問題が生じる。
In the
これに対応して、本実施の形態では、ミラーリングモードが設定されてHDD117のデータが新HDDに複製された後にディスクアレイ装置116に接続されたHDDの個数が減った場合、ミラーリングモードからシングルモードに切り替わる。
Corresponding to this, in the present embodiment, when the number of HDDs connected to the
図3は、図1のメインコントローラ101によって実行されるバックアップ処理の手順を示すフローチャートである。
FIG. 3 is a flowchart showing the procedure of backup processing executed by the
図3の処理は、CPU102がROM103に格納されたプログラムを実行することによって行われ、MFP100の起動時に行われる。
The process in FIG. 3 is performed by the
図3において、まず、CPU102は、ディスクアレイ装置116に対し、HDD接続取得コマンドを送信する(ステップS301)。ディスクアレイ装置116は、HDD接続取得コマンドを受信すると、ディスクアレイ装置116に現在接続されているHDDに関する情報、及び状態保持部206に保持された電源オフ前の状態情報に含まれるHDDに関する情報をメインコントローラ101に送信する。CPU102は、取得した2つの情報に基づいてディスクアレイ装置116に新たなHDDが追加接続されたか否かを判別する(ステップS302)。
In FIG. 3, first, the
ステップS302の判別の結果、ディスクアレイ装置116に新たなHDDが追加接続されないとき、CPU102は本処理を終了する。一方、ステップS302の判別の結果、ディスクアレイ装置116に新たなHDD、例えば、HDD207が追加接続されたとき、CPU102はROM103から動作モードの設定値を取得する。CPU102は取得した動作モードの設定値がミラーリングモードであるか否かを判別する(ステップS303)。
As a result of the determination in step S302, when a new HDD is not additionally connected to the
ステップS303の判別の結果、動作モードの設定値がミラーリングモードであるとき、CPU102はディスクアレイ装置116をミラーリングモードに設定し(ステップS304)、本処理を終了する。これにより、ディスクアレイ装置116では、メインコントローラ101から受信した書き込み要求に基づいてHDD117へデータの書き込み指示が行われる一方で、HDD117に記録されたデータを追加接続されたHDD207に複製する制御が行われる。
As a result of the determination in step S303, when the setting value of the operation mode is the mirroring mode, the
ステップS303の判別の結果、動作モードの設定値がミラーリングモードでないとき、CPU102は、HDD117の交換処理の操作に関する通知を行う。具体的に、CPU102はHDD117のバックアップ処理の実行指示を行うための図示しないバックアップ操作画面を操作ユニット112に表示する(ステップS305)。HDD117のバックアップ処理では、HDD117の全てのデータがHDD207にバックアップされ、且つバックアップを完了した旨が通知される。次いで、CPU102はユーザの図示しないバックアップ操作画面の操作によってバックアップ処理の実行指示が行われたかを判別する(ステップS306)。
As a result of the determination in step S303, when the setting value of the operation mode is not the mirroring mode, the
ステップS306の判別の結果、バックアップ処理の実行指示が行われず、図示しないバックアップ操作画面の操作の終了指示が行われたとき、CPU102は本処理を終了する。一方、ステップS306の判別の結果、バックアップ処理の実行指示が行われたとき、CPU102はディスクアレイ装置116をミラーリングモードに設定し(ステップS307)、ミラーリングモードによってHDD117のバックアップ処理を実行する。CPU102は、バックアップ処理を実行中である旨を示す図示しない通知画面を操作ユニット112に表示する(ステップS308)。上記通知画面が表示されている間、ディスクアレイ装置116では、HDD117のデータが追加接続されたHDD207に複製される制御が行われる一方で、メインコントローラ101から受信した書き込み要求に基づいてHDD117に書き込み指示が行われる。HDD117の全てのデータがHDD207へ複製されると、CPU102はバックアップが完了した旨の通知として、HDD117のデータを削除するか否かを選択させる図4のデータ削除操作画面400を操作ユニット112に表示する(ステップS309)。データ削除操作画面400はスキップボタン401及び実行ボタン402を備える。スキップボタン401はHDD117のデータを削除しない旨を指示するための操作ボタンであり、実行ボタン402はHDD117のデータの削除を指示するための操作ボタンである。HDD117には、ユーザに関する情報等が記憶されている場合もあり、本実施の形態では、HDD117の交換時にデータ削除操作画面400を操作ユニット112に表示してHDD117のデータを削除するか否かをユーザに選択させる。次いで、CPU102はデータ削除操作画面400においてスキップボタン401及び実行ボタン402のいずれが選択されたかを判別する(ステップS310)。
As a result of the determination in the step S306, when the execution instruction of the backup process is not performed and the end instruction of the operation of the backup operation screen (not shown) is performed, the
ステップS310の判別の結果、スキップボタン401が選択されたとき、CPU102は本処理を終了する。一方、ステップS310の判別の結果、実行ボタン402が選択されたとき、CPU102はHDD117へのデータの書き込みを停止し(ステップS311)、HDD117の全てのデータを削除し(ステップS312)、本処理を終了する。HDD117の交換処理では、サービスマンは、図3の処理の実行が完了した後、MFP100の電源をオフし、HDD117及びHDD207を取り外し、正規チャネルにHDD207を取り付ける。
As a result of the determination in step S310, when the
上述した図3の処理では、ディスクアレイ装置116において、HDD117が正規接続され、HDD207が追加接続され、且つミラーリングモードが設定されていない場合、HDD117をHDD207に交換する際に必要となる処理の実行指示を行うための操作画面を操作ユニット112に表示する。すなわち、HDD117の交換処理が行われることが想定される接続状況において上記操作画面が表示される。これにより、HDD117を交換する際に必要となる処理の適切な操作手順をサービスマンに提示することができる。
In the process of FIG. 3 described above, when the
また、上述した図3の処理では、HDD117を交換する際に必要となる処理は、HDD117のデータのバックアップ処理、及び該バックアップ処理の実行を完了した後にHDD117の全てのデータを削除する処理である。これにより、HDD117のデータをHDD207に確実に移行することができ、また、ユーザに関する情報等の重要な情報がHDD117に保持されて該HDD117から上記重要な情報が漏洩してしまうといった事態を回避することができる。
Further, in the process of FIG. 3 described above, the process required to replace the
図5は、図1のディスクアレイ装置116によって実行される動作モード切替処理の手順を示すフローチャートである。
FIG. 5 is a flowchart showing the procedure of the operation mode switching process performed by the
図5の処理は、図3の処理の実行が完了し、サービスマンによってMFP100の電源がオフされ、その後、MFP100の電源がオンされた際に実行される。
The processing of FIG. 5 is executed when the processing of FIG. 3 is completed and the power of the
図5において、まず、ディスクアレイ装置116は、該ディスクアレイ装置116に現在接続されているHDDに関する情報を取得し(ステップS501)、ディスクアレイ装置116に接続されているHDDの個数が1つであるか否かを判別する(ステップS502)。
In FIG. 5, first, the
ステップS502の判別の結果、ディスクアレイ装置116に接続されているHDDの個数が1つでないとき、CPU102は後述するステップS510以降の処理を行う。一方、ステップS502の判別の結果、ディスクアレイ装置116に接続されているHDDの個数が1つであるとき、ディスクアレイ装置116は、状態保持部206に保持された電源オフ前の状態情報を取得する(ステップS503)。ディスクアレイ装置116は該電源オフ前の状態情報に基づいて電源オフ前にディスクアレイ装置116にHDDが追加接続されていたか否かを判別する(ステップS504)。
When it is determined in step S502 that the number of HDDs connected to the
ステップS504の判別の結果、電源オフ前にディスクアレイ装置116にHDDが追加接続されていないとき、ディスクアレイ装置116は後述するステップS510以降の処理を行う。一方、ステップS504の判別の結果、電源オフ前にディスクアレイ装置116にHDD、例えば、HDD207が追加接続されていたとき、ディスクアレイ装置116は取得した電源オフ前の状態情報に基づいて正規チャネル及び他のチャネルの各々に接続されたHDDを特定する。本実施の形態では、一例として、電源オフ前に、正規チャネルに交換寿命が近付いたHDD117が接続され、他のチャネルにHDD117の交換用のHDD207が接続されていたことを前提とする。なお、以下では、正規チャネルに接続されることを正規接続とする。次いで、ディスクアレイ装置116は、現在正規接続されているHDDがHDD117及びHDD207のいずれであるかを判別する(ステップ505)。
As a result of the determination in step S504, when the HDD is not additionally connected to the
ステップS505の判別の結果、交換寿命が近付いたHDD117が正規接続されているとき、ディスクアレイ装置116はHDD117への書き込みを停止する(ステップS506)。次いで、ディスクアレイ装置116は誤ったHDDが取り外された旨を示すエラーをメインコントローラ101に通知し(ステップS507)、ステップS508以降の処理を行う。
As a result of the determination in the step S505, when the
ステップS505の判別の結果、HDD117の交換用のHDD207が正規接続されているとき、ディスクアレイ装置116はHDD207への書き込みを継続する。ディスクアレイ装置116は、設定された動作モードがミラーリングモードであるか否かを判別する(ステップ508)。
As a result of the determination in step S505, when the
ステップS508の判別の結果、設定された動作モードがミラーリングモードでないとき、ディスクアレイ装置116は後述するステップS510以降の処理を行う。一方、ステップS508の判別の結果、設定された動作モードがミラーリングモードであるとき、ディスクアレイ装置116は動作モードをミラーリングモードからシングルモードに切り替える(ステップS509)。次いで、ディスクアレイ装置116は該ディスクアレイ装置116に接続されているHDDに関する情報を状態保持部206に保持し(ステップS510)、本処理を終了する。
As a result of the determination in step S508, when the set operation mode is not the mirroring mode, the
上述した図5の処理によれば、ミラーリングモードが設定されてHDD117の全てのデータがHDD207に複製された後にディスクアレイ装置116に接続されたHDDの個数が減った場合、ミラーリングモードからシングルモードに切り替わる。すなわち、HDD117の交換時のデータのバックアップを行うためにミラーリングモードを一時的に使用した際にHDD117のバックアップの実行を完了すると、動作モードが元の設定に戻るので、サービスマンが動作モードの設定を元に戻す必要がない。これにより、ミラーリング機能を利用してHDD117の交換を行う際に不適切な処理が行われる事態を回避することができる。
According to the process of FIG. 5 described above, if the number of HDDs connected to the
また、上述した図5の処理では、ミラーリングモードが設定されてHDD117のデータがHDD207に複製された後にディスクアレイ装置116に接続されたHDDの個数(接続個数)が減り且つHDD117の交換用のHDD207が正規接続されている場合、ミラーリングモードからシングルモードに切り替わる。すなわち、HDD117からHDD207への交換処理の実行が完了すると、動作モードが元の設定に戻る。これにより、ミラーリング機能を利用してHDD117の交換を行う際に不適切な処理が行われる事態を確実に回避することができる。
Further, in the process of FIG. 5 described above, after the mirroring mode is set and the data of the
さらに、上述した図5の処理では、交換時期が近付いたHDD117のデータがHDD207に複製された後にディスクアレイ装置116に接続されたHDDの個数が減り且つHDD117が正規接続されたままである場合、HDD117への書き込みが停止され、警告が通知される。これにより、交換時期が近付いたHDD117を使用し続けることで、データを損失してしまうといった事態を回避することができる。
Furthermore, in the process of FIG. 5 described above, when the number of HDDs connected to the
以上、本発明について、上述した実施の形態を用いて説明したが、本発明は上述した実施の形態に限定されるものではない。例えば、メインコントローラ101のCPU102が図5の処理を行っても良い。CPU102は、ディスクアレイ装置116に対し、現在のHDD接続取得コマンドを送信し、ディスクアレイ装置116に現在接続されているHDDに関する情報をディスクアレイ装置116から取得する。CPU102は取得した情報に基づいてステップS502の処理を行い、ディスクアレイ装置116に接続されているHDDの個数が1つであるとき、ディスクアレイ装置116に対し、電源オフ前のHDD接続取得コマンドを送信する。CPU102は、状態保持部206に保持された電源オフ前の状態情報をディスクアレイ装置116から取得する。次いで、CPU102はステップS504〜S505の処理を行うHDD207が正規接続されているとき、CPU102はステップS508以降の処理を行う。一方、HDD117が正規接続されているとき、CPU102はディスクアレイ装置116に対するHDD117の書き込み要求の送信を停止する。次いで、CPU102は誤ったHDDが取り外された旨を示すエラーメッセージを操作ユニット112に表示し、ステップS508以降の処理を行う。これにより、上述した本実施の形態と同様の効果を奏することができる。
As mentioned above, although this invention was demonstrated using embodiment mentioned above, this invention is not limited to embodiment mentioned above. For example, the
上述した本実施の形態では、ストレージデバイスがHDDである場合について説明したが、ストレージデバイスはHDDに限られず、半導体を使用した記憶装置等であっても良い。 Although the case where the storage device is the HDD is described in the above-described embodiment, the storage device is not limited to the HDD, and may be a storage device using a semiconductor or the like.
本発明は、上述の実施の形態の1以上の機能を実現するプログラムをネットワーク又は記憶媒体を介してシステム又は装置に供給し、該システム又は装置のコンピュータにおける1つ以上のプロセッサがプログラムを読み出して実行する処理でも実現可能である。また、本発明は、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。 The present invention supplies a program that implements one or more functions of the above-described embodiments to a system or apparatus via a network or storage medium, and one or more processors in a computer of the system or apparatus read the program. It can also be realized by the process to be executed. The present invention can also be implemented by a circuit (eg, an ASIC) that implements one or more functions.
101 メインコントローラ
102 CPU
112 操作ユニット
116 ディスクアレイ装置
117,207 HDD
400 データ削除操作画面
101
112
400 Delete data screen
Claims (10)
正規接続された第1のストレージデバイスにデータを書き込む第1の動作モード、及び前記第1のストレージデバイスに書き込まれたデータを追加接続された第2のストレージデバイスに複製する第2の動作モードのいずれかを設定する設定手段を備え、
前記第2の動作モードが設定されて前記第1のストレージデバイスに書き込まれた全てのデータが前記第2のストレージデバイスに複製された後に前記ストレージ制御装置におけるストレージデバイスの接続個数が減った場合、前記設定手段は、前記第2の動作モードから前記第1の動作モードに切り替えることを特徴とするストレージ制御装置。 A storage control device that performs write control of a connected storage device,
A first operation mode for writing data to a first storage device connected normally and a second operation mode for copying data written to the first storage device to a second storage device additionally connected Equipped with setting means to set either
When the number of storage device connections in the storage control device decreases after the second operation mode is set and all data written to the first storage device are replicated to the second storage device, The storage control device, wherein the setting means switches from the second operation mode to the first operation mode.
前記第2の動作モードが設定されて前記第1のストレージデバイスに書き込まれた全てのデータが前記第2のストレージデバイスに複製された後に前記ストレージ制御装置におけるストレージデバイスの接続個数が減り且つ前記第1のストレージデバイスが正規接続されたままである場合、前記第1のストレージデバイスへの書き込みを停止し、警告を通知することを特徴とする請求項1又は2記載のストレージ制御装置。 It is detected that the time to replace the first storage device is approaching,
After the second operation mode is set and all data written to the first storage device is replicated to the second storage device, the number of connected storage devices in the storage control device decreases and The storage control device according to claim 1 or 2, wherein when the one storage device remains connected properly, the writing to the first storage device is stopped and a warning is notified.
前記ストレージ制御装置に正規接続された第1のストレージデバイスにデータを書き込む第1の動作モード、及び前記第1のストレージデバイスに書き込まれたデータを前記ストレージ制御装置に追加接続された第2のストレージデバイスに複製する第2の動作モードのいずれかを前記ストレージ制御装置に設定する設定手段を備え、
前記ストレージ制御装置に前記第2の動作モードが設定されて前記第1のストレージデバイスに書き込まれた全てのデータが前記第2のストレージデバイスに複製された後に前記ストレージ制御装置におけるストレージデバイスの接続個数が減った場合、前記設定手段は、前記ストレージ制御装置の設定を前記第2の動作モードから前記第1の動作モードに切り替えることを特徴とするメインコントローラ。 A main controller that makes a data write request to a storage control device that performs write control of a connected storage device, comprising:
A first operation mode for writing data to a first storage device regularly connected to the storage control device, and a second storage additionally connected to the storage control device for data written to the first storage device The storage control device comprises setting means for setting any one of the second operation modes to be replicated to the device in the storage control device;
The number of connected storage devices in the storage control device after the second operation mode is set in the storage control device and all the data written in the first storage device is copied to the second storage device The main controller, wherein the setting unit switches the setting of the storage control device from the second operation mode to the first operation mode.
前記ストレージ制御装置に正規接続された第1のストレージデバイスにデータを書き込む第1の動作モード、及び前記第1のストレージデバイスに書き込まれたデータを前記ストレージ制御装置に追加接続された第2のストレージデバイスに複製する第2の動作モードのいずれかを前記ストレージ制御装置に設定する設定ステップを有し、
前記ストレージ制御装置に前記第2の動作モードが設定されて前記第1のストレージデバイスに書き込まれたデータが前記第2のストレージデバイスに複製された後に前記ストレージ制御装置におけるストレージデバイスの接続個数が減った場合、前記設定ステップは、前記ストレージ制御装置の設定を前記第2の動作モードから前記第1の動作モードに切り替えることを特徴とするストレージ制御方法。 A storage control method for performing write control of a storage device connected to a storage control device, comprising:
A first operation mode for writing data to a first storage device regularly connected to the storage control device, and a second storage additionally connected to the storage control device for data written to the first storage device And a setting step of setting any one of the second operation modes to be replicated to the device in the storage control device,
After the second operation mode is set in the storage control device and data written to the first storage device is copied to the second storage device, the number of connected storage devices in the storage control device decreases. In this case, in the setting step, the setting of the storage control device is switched from the second operation mode to the first operation mode.
前記ストレージ制御方法は、
前記ストレージ制御装置に正規接続された第1のストレージデバイスにデータを書き込む第1の動作モード、及び前記第1のストレージデバイスに書き込まれたデータを前記ストレージ制御装置に追加接続された第2のストレージデバイスに複製する第2の動作モードのいずれかを前記ストレージ制御装置に設定する設定ステップを有し、
前記ストレージ制御装置に前記第2の動作モードが設定されて前記第1のストレージデバイスに書き込まれたデータが前記第2のストレージデバイスに複製された後に前記ストレージ制御装置におけるストレージデバイスの接続個数が減った場合、前記設定ステップは、前記ストレージ制御装置の設定を前記第2の動作モードから前記第1の動作モードに切り替えることを特徴とするプログラム。 A program that causes a computer to execute a storage control method for performing write control of a storage device connected to a storage control device,
The storage control method is
A first operation mode for writing data to a first storage device regularly connected to the storage control device, and a second storage additionally connected to the storage control device for data written to the first storage device And a setting step of setting any one of the second operation modes to be replicated to the device in the storage control device,
After the second operation mode is set in the storage control device and data written to the first storage device is copied to the second storage device, the number of connected storage devices in the storage control device decreases. In this case, the setting step switches the setting of the storage control device from the second operation mode to the first operation mode.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017077620A JP2018180811A (en) | 2017-04-10 | 2017-04-10 | Storage control device, main controller, storage control method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017077620A JP2018180811A (en) | 2017-04-10 | 2017-04-10 | Storage control device, main controller, storage control method, and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2018180811A true JP2018180811A (en) | 2018-11-15 |
Family
ID=64275423
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017077620A Pending JP2018180811A (en) | 2017-04-10 | 2017-04-10 | Storage control device, main controller, storage control method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2018180811A (en) |
-
2017
- 2017-04-10 JP JP2017077620A patent/JP2018180811A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8826066B2 (en) | Information processing apparatus, control method of the information processing apparatus, and recording medium | |
KR101251717B1 (en) | Information processing apparatus, method for controlling the information processing apparatus, and storage medium | |
JP2011081550A (en) | Information processing apparatus and power source control method for information processing apparatus | |
JP6164938B2 (en) | Image forming apparatus, control method therefor, and program | |
JP4962727B2 (en) | Data storage device | |
JP2010016530A (en) | Image processing system and image processing apparatus | |
JP2018180811A (en) | Storage control device, main controller, storage control method, and program | |
JP7214381B2 (en) | IMAGE FORMING APPARATUS, IMAGE FORMING APPARATUS CONTROL METHOD AND PROGRAM | |
JP7246869B2 (en) | IMAGE FORMING APPARATUS, IMAGE FORMING APPARATUS CONTROL METHOD AND PROGRAM | |
JP7263067B2 (en) | Information processing device and information processing device control method | |
JP2020060869A (en) | Information processing device, control method of information processing device, and program | |
JP2016132186A (en) | Image formation device, image formation processing method and image formation processing program | |
JP6532240B2 (en) | Information processing apparatus and control method thereof | |
JP2014138265A (en) | Image forming apparatus | |
JP2018063499A (en) | Information processing device, control method thereof, and program | |
JP2021086373A (en) | Information processing apparatus, and method of controlling information processing apparatus | |
JP2021082198A (en) | Information processing apparatus, method for controlling the same, and program | |
JP2014007665A (en) | Image processing apparatus, image storage/reproduction method | |
JP2017084116A (en) | Information processor and control method for information processor | |
JP2021093075A (en) | Information processing apparatus, method for controlling the same, and program | |
JP2021179731A (en) | Information processing device, method for controlling information processing device, and program | |
JP2021092845A (en) | Image forming apparatus, method for controlling the same, and program | |
JP2021082199A (en) | Storage control device, method for controlling the same, and program | |
JP2021089524A (en) | Information processing device, control method of the same, and program | |
JP2020173548A (en) | Data processing device, image formation device, restoration method and program |