JP6874190B2 - Information processing device, control method of information processing device, and program - Google Patents
Information processing device, control method of information processing device, and program Download PDFInfo
- Publication number
- JP6874190B2 JP6874190B2 JP2020066412A JP2020066412A JP6874190B2 JP 6874190 B2 JP6874190 B2 JP 6874190B2 JP 2020066412 A JP2020066412 A JP 2020066412A JP 2020066412 A JP2020066412 A JP 2020066412A JP 6874190 B2 JP6874190 B2 JP 6874190B2
- Authority
- JP
- Japan
- Prior art keywords
- mirroring
- information
- memory
- main board
- information processing
- 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.)
- Active
Links
Images
Description
本発明は、情報処理装置、情報処理装置の制御方法、及びプログラムに関するものである。 The present invention relates to an information processing device , a control method of the information processing device, and a program .
最近の情報処理装置、例えば印刷装置、特にMFP(Multi−Function Printer)においては、ハードディスク装置(Hard Disk Drive:HDD)を標準で搭載している。ハードディスク装置はメカ的な構造を持つため、半導体デバイスに比較すると信頼性が低い欠点がある。その欠点を補い、信頼性の高いストレージシステムを構築する手段としてRAID(Redundant Arrays of Independent Disks)が実施されている。RAIDには幾つかの方式を有するが、RAID−1は2台以上のHDDを用いて同時に同じ内容を書き込むことで耐障害性の高いストレージシステムを構築することができる。RAID−1は、一般的にミラーリングと呼ばれる。ここで、HDD1台での運用モードをシングル、HDD2台での運用モードをミラーリングと定義し、ミラーリング処理に必要な情報を総称してミラーリング情報と呼ぶことにする。 Recent information processing devices, for example, printing devices, particularly MFPs (Multi-Function Printers), are equipped with a hard disk device (Hard Disk Drive: HDD) as standard equipment. Since the hard disk device has a mechanical structure, it has a drawback of low reliability as compared with a semiconductor device. RAID (Redundant Arrays of Independent Disks) has been implemented as a means for compensating for the shortcomings and constructing a highly reliable storage system. Although RAID has several methods, RAID-1 can construct a highly fault-tolerant storage system by writing the same contents at the same time using two or more HDDs. RAID-1 is commonly referred to as mirroring. Here, the operation mode with one HDD is defined as single, the operation mode with two HDDs is defined as mirroring, and the information required for the mirroring process is collectively referred to as mirroring information.
ミラーリングモード運用中に発生した障害によりミラーリング情報を喪失すると、障害箇所を修復しても障害前の正常なミラーリング状態に復旧でなくなってしまう。
例えば、RAID制御−IC(Integrated Circuit)がメインボードにオンボードで搭載されていた場合に、メインボード故障によりミラーリング情報を喪失する場合がある。この場合、メインボードを交換しても故障前の正常なミラーリング状態に戻すことができない。すなわち、これはHDD内のユーザデータの少なくとも一部又は全部を喪失する可能性があることを意味する。
If mirroring information is lost due to a failure that occurs during mirroring mode operation, even if the failure location is repaired, the normal mirroring state before the failure cannot be restored.
For example, when a RAID control-IC (Integrated Circuit) is mounted on the main board onboard, mirroring information may be lost due to a failure of the main board. In this case, even if the main board is replaced, it cannot be returned to the normal mirroring state before the failure. That is, this means that at least part or all of the user data in the HDD may be lost.
ミラーリング情報をHDDに保持し運用する方法を開示する(例えば、特許文献1)特許文献1によれば、ミラーリング情報及び相手のHDD情報(シリアル番号等)を互いのHDD固定領域に多重化して記録する。運用中にミラーリング情報が更新されるとHDD固定領域内の記録情報も双方のHDDで更新される構成とする。
従って、ミラーリングモード運用中にメインボードが故障し交換された状況においてもHDD固定領域からミラーリング情報や相手のHDD情報を読み出すことで、再び故障前のミラーリング状態に復旧させることが可能となる。
According to
Therefore, even in a situation where the main board fails and is replaced during the mirroring mode operation, it is possible to restore the mirroring state before the failure again by reading the mirroring information and the HDD information of the other party from the HDD fixed area.
然しながら、特許文献1ではミラーリング対象である双方のHDDに対してミラーリング情報を保持している。このため、前述したように本来ミラーリング処理の目的であるハードディスク装置の信頼性観点から不測の事態が発生すると以下の課題がある。第1に、HDD固定領域にミラーリング情報を書き込めない又は更新できない可能性がある。第2に、HDDの全領域に暗号化が施されている場合にメインボード故障によって暗号鍵を喪失すると、HDDからミラーリング情報が読み出し不能となる場合がある。
最近のMFPでは、不揮発性ストレージデバイスのセキュリティが強く問われており、暗号機能を標準で搭載することが一般的になってきている。
However, in
In recent MFPs, the security of non-volatile storage devices is strongly demanded, and it is becoming common to equip the encryption function as standard.
本発明は、上記の課題を解決するためになされたもので、本発明の目的は、メインボードが交換されても、接続される記憶手段に変更がなければ、既存のミラー情報を取得してミラーリング機能の処理を再開できる仕組みを提供することである。 The present invention has been made to solve the above problems, and an object of the present invention is to acquire existing mirror information as long as the connected storage means is not changed even if the main board is replaced. It is to provide a mechanism that can restart the processing of the mirroring function.
上記目的を達成する本発明の情報処理装置は以下に示す構成を備える。
同一のデータを複数の記憶部に対して記憶させることが可能なミラーリングを行う情報処理装置であって、複数の記憶部に対するミラーリングの構成情報を含むミラーリング情報を記憶するメインボードのメモリと、前記メインボードのメモリに記憶されたミラーリングの構成情報に基づいて、前記複数の記憶部を制御する制御手段と、前記ミラーリング情報を記憶するサブボードのメモリと、メインボードが交換されたことに基づいて、前記サブボードのメモリに記憶されたミラーリング情報を前記交換されたメインボードのメモリに記憶させる記憶制御手段と、を有し、前記制御手段は、前記交換されたメインボードのメモリに前記記憶制御手段によって記憶されたミラーリング情報に含まれるミラーリングの構成情報に基づいて、前記複数の記憶部を制御することを特徴とする。
The information processing apparatus of the present invention that achieves the above object has the following configuration.
An information processing device that performs mirroring capable of storing the same data in a plurality of storage units, and a memory of a main board that stores mirroring information including mirroring configuration information for a plurality of storage units, and the above-mentioned memory. Based on the mirroring configuration information stored in the memory of the main board, the control means for controlling the plurality of storage units, the memory of the sub board that stores the mirroring information, and the main board are replaced. The control means has a storage control means for storing the mirroring information stored in the memory of the sub-board in the memory of the exchanged main board, and the control means controls the storage in the memory of the exchanged main board. It is characterized in that the plurality of storage units are controlled based on the mirroring configuration information included in the mirroring information stored by the means.
本発明によれば、メインボードが交換されても、接続される記憶手段に変更がなければ、既存のミラー情報を取得してミラーリング機能の処理を再開できる。 According to the present invention, even if the main board is replaced, if the connected storage means is not changed, the existing mirror information can be acquired and the processing of the mirroring function can be restarted.
次に本発明を実施するための最良の形態について図面を参照して説明する。
<システム構成の説明>
〔第1実施形態〕
Next, the best mode for carrying out the present invention will be described with reference to the drawings.
<Explanation of system configuration>
[First Embodiment]
図1は、本実施形態を示す情報処理装置の一例を示すブロック図である。なお、本実施形態の情報処理装置のメインボード上には、複数のHDD(記憶手段)に対してミラー処理を行うコントローラとして、後述するRAID−IF制御部116を備える。さらに、同メインボード上には、所定の処理を行うサブボードとして機能するボード112,114と通信するA−IF制御部111及びB−IF制御部113を備える。情報処理装置には、画像形成装置、複合画像形成装置を含む。
図1において、CPU(中央処理演算器)101は、システム制御や各種演算処理を行う。メモリ制御部102は、各種メモリデバイスへの入出力制御やDMA(ダイレクト・メモリ・アクセス)制御を行う。ROM(リード・オンリー・メモリ)103は、Flashメモリ(フラッシュメモリ)に代表されるリード専用メモリである。BIOS(Basic Input/Output System)プログラムや制御パラメータ等が格納される。Flashメモリを接続すれば、オンボードでの書き換えも可能である。
FIG. 1 is a block diagram showing an example of an information processing device showing the present embodiment. A RAID-
In FIG. 1, the CPU (Central Processing Unit) 101 performs system control and various arithmetic processes. The
RAM(ランダム・アクセス・メモリ)104は、DDR(Double−Data−Rate)メモリに代表される書き換え専用メモリである。プログラムの作業領域や印刷データの格納領域等の用途に用いられる。LAN−IF制御部105は、印刷装置に接続されるローカル・エリア・ネットワーク106とのインタフェースを行う。
一般的にはTCP/IP(Transmission Control Protocol/Internet Protocol)プロトコルに対応する。ネットワークケーブルを介して外部Hostコンピュータ107などのネットワーク対応機器と接続され、ネットワーク経由でのプリントを行うことができる。また、ルーターを介してインターネットに接続することも可能である。Reader−IF制御部108は、スキャナ装置109との通信制御を行う。
The RAM (random access memory) 104 is a rewrite-only memory typified by a DDR (Double-Data-Rate) memory. It is used as a work area for programs and a storage area for print data. The LAN-
Generally, it corresponds to the TCP / IP (Transmission Protocol / Internet Protocol) protocol. It is connected to a network-compatible device such as an
なお、本実施形態に示す情報処理装置では、スキャナ装置109によってスキャンした入力画像データを後述する印字部122で印字させることでコピー機能を実現する。
画像処理部110は、前記LAN−IF制御部105、Reader−IF制御部108を介して取り込んだ画像データに対して、各種画像処理を行う。パネルIF制御部119は、パネル装置120との通信制御を行う。
In the information processing apparatus shown in the present embodiment, the copy function is realized by printing the input image data scanned by the
The
ここでは図示しないがUI(ユーザ・インタフェース)として、パネル上の液晶画面表示やボタン等を操作することにより印刷装置の各種設定及び状態の確認ができる。ビデオIF制御部121は、印字部122とのコマンド/ステータスの通信制御や印刷データの転送を行う。
印字部122は、ここでは図示しないが印刷装置本体と給紙系及び排紙系から構成され、主に前記ビデオIF制御部121からのコマンド情報に従い、印刷データを紙に印刷する。
Although not shown here, as a UI (user interface), various settings and states of the printing device can be confirmed by operating the liquid crystal screen display and buttons on the panel. The video
Although not shown here, the
システムバス123は、制御バス、データバス及び任意ブロック間のローカルバスを便宜的にまとめて表現したものである。代表例としてPCIe(PCI Express)などがある。
A−IF制御部111及びB−IF制御部113は、それぞれボードA112及びボードB114との入出力制御を行う。ボードA112及びボードB114は、メインボード124と接続される任意の機能を有するボードで、最低限の条件として不揮発性記憶デバイス(例えば後述するFlashメモリ301,302)を搭載できる構成であれば特に制限はない。例えば、ボードA112はシステムのブートプログラム格納用、ボードB114は印刷装置個別の情報(個体識別データや消耗品情報など)格納用などが挙げられる。なお、Flashメモリ301,302は、第2のメモリ、第3のメモリとして機能する。
The
The
コントローラとして構成されるSATA−IF制御部115は、SATA(Serial Advanced Technology Attachment)規格に準拠したIFを有するデバイスとのデータ入出力制御を行う。RAID−IF制御部116は、複数の不揮発性記憶デバイスを接続し、前記RAID処理を行う。前記不揮発性記憶デバイスとしては、HDDやSSD(Solid State Drive)などがある。
The SATA-
ここで、本実施形態では2台のハードディスク装置HDD117とHDD118を接続し、前記ミラーリング処理を実施することを前提とする。また、RAID−IF制御部116は、RAID制御−ICとしてメインボード124上に実装されているものとする。
Here, in this embodiment, it is premised that two hard
図2は、図1に示したRAID−IF制御部116の内部システム構成図である。本実施形態では、SATA−IF制御部115とHDD117及び118の間に位置し、SATA−SATAブリッジ構成を前提条件として説明を行う。
図2において、CPU(中央処理演算器)201は、システム制御や各種演算処理を行う。メモリ制御部202は、各種メモリデバイスへの入出力制御やDMA(ダイレクト・メモリ・アクセス)制御を行う。
FIG. 2 is an internal system configuration diagram of the RAID-
In FIG. 2, the CPU (Central Processing Unit) 201 performs system control and various arithmetic processes. The
Flashメモリ203は、書き換え可能な不揮発性メモリである。RAID制御プログラムや暗号/復号化プログラム及び制御パラメータ等が格納される。RAM204は、書き換え可能で高速にアクセスできる揮発性メモリである。Flashメモリ203に格納されたプログラムの一部のコピー領域や作業領域、データのバッファ領域として用いられる。SATA−Device制御部205は、SATA−IF制御部115(以下ホストと呼ぶ)とSATA規格に準拠したインタフェースSATA−IF206とで接続され、ホストからのデータ入出力要求に対する処理を行う。
The
SATA−Host制御部207は、ハードディスク装置HDD117及びHDD118とSATA−IF208、209とで接続し、ミラーリング制御を実施する。暗号/復号化部210は、ホストからの書き込みデータ要求に対しては暗号化処理、読み出しデータ要求に対しては復号化処理を行う。暗号アルゴリズムとしては、共通鍵暗号方式を代表するAES(Advanced Encryption Standard)などがある。システムバス211は、制御バス、データバス及び任意ブロック間のローカルバスを便宜的にまとめて表現したものである。
The SATA-
図3は、図1に示した各ボート及びHDDとの接続構成を示した図である。本実施形態における接続関係と各ボードの役割定義について説明する。 FIG. 3 is a diagram showing a connection configuration with each boat and HDD shown in FIG. The connection relationship and the role definition of each board in this embodiment will be described.
図3において、メインボード124上にRAID−IF制御部(RAID制御−IC)116がオンボードで実装され、HDD117、118が接続されている。また、RAID−IF制御部116はFlashメモリ203を内蔵している。ここではICの内部にFlashメモリ203を内蔵する形態として図示しているが、当然ながらICの外部に、第1のメモリとしてFlashメモリ203を外部メモリとして接続する形態であっても構わない。RAID−IF制御部116は、前記2台のHDDに対してミラーリング処理を実施している。
In FIG. 3, a RAID-IF control unit (RAID control-IC) 116 is mounted on the
ここで、ミラーリング処理について説明する。
本実施形態に示すように複数の記憶手段、例えば2台のHDDを用いたミラーリングの例では、一方をマスター・他方をバックアップとし、リード処理時はマスターHDDから読み出され、ライト処理時は双方のHDDへ書き込まれる。また、ミラーリング処理のステートとしては、基本的に4つのステートを持っているのが一般的である。
Here, the mirroring process will be described.
As shown in this embodiment, in the example of mirroring using a plurality of storage means, for example, two HDDs, one is used as a master and the other is used as a backup, which is read from the master HDD during read processing and both during write processing. It is written to the HDD of. In addition, as the mirroring processing state, it is common to basically have four states.
2台のHDDが正常に運用されているミラー・ステート、1台のHDDが故障して正常なHDDをマスターとして運用を継続しているデグレード・ステートがある。さらに、デグレード・ステートにおいて故障HDDから交換されたバックアップHDDに対してマスターからコピー処理を行うリビルド・ステートがある。さらに、2台のHDDが何らかのトラブルでアクセス不能状態であるホールト・ステートの4つの状態が存在する。 There is a mirror state in which two HDDs are operating normally, and a degraded state in which one HDD fails and continues to operate with the normal HDD as the master. Further, there is a rebuild state in which the backup HDD replaced from the failed HDD is copied from the master in the degraded state. Further, there are four states of the halt state in which the two HDDs are inaccessible due to some trouble.
ミラーリング情報の具体的内容としては、前記モード情報、マスターの位置情報、ステート情報等を含んだものである。また、ミラーリングモード運用中に前記ミラーリング情報やHDDシリアル番号は不定期に更新される可能性がある。 The specific contents of the mirroring information include the mode information, master position information, state information, and the like. In addition, the mirroring information and the HDD serial number may be updated irregularly during the mirroring mode operation.
RAID−IF制御部116はミラーリング処理に必要なパラメータをFlashメモリ203に保持している。また、メインボード124のCPU101は、RAID−IF制御部116内部のFlashメモリ203に保持されている各種データの読み出し及び書き込みができる。ここで、RAID−IF制御部116内部のFlashメモリ203の内容をCPU101から読み出し及び書き込みができる構造を説明する。
The RAID-
ここでは図示しないが、メインボード124のCPU101とRAID−IF制御部116内部のCPU201間では、双方が認識可能なライト系及びリード系拡張コマンドを定義している。Flashメモリ203への書き込みを行いたい場合にCPU101は、ライト系拡張コマンド及びそれに付随する書き込みデータをSATA−IF206を介してCPU201に送信する。書き込みデータを受信したCPU201は、拡張コマンドに対応するFlashメモリ203の所定の位置へ受信データを書き込む。
Although not shown here, a write system extension command and a read system extension command that can be recognized by both are defined between the
Flashメモリ203から読み出しを行いたい場合にCPU101は、リード系拡張コマンドをSATA−IF206を介してCPU201に送信する。読み出し要求を受信したCPU201は、拡張コマンドに対応するFlashメモリ203の所定の位置から所望のデータを読み出し、リード系拡張コマンドに対するステータスとして読み出したデータをSATA−IF206を介してCPU101へ送信する。以後の説明では冗長性を避けるためにCPU101は、RAID−IF制御部116内部のFlashメモリ203に対して単に読み出す又は書き込むと表現する。
When it is desired to read from the
ボードA112にはFlashメモリ301が搭載され、A−IF制御部111を介してメインボード124から読み出し及び書き込みが可能である。メインボード124のCPU101は、前記Flashメモリ203から読み出した各種データをボードA112のFlashメモリ301に書き込み処理を行い、メインボード124故障時の復旧データ303として保持できる。
A
同様にボードB114にもFlashメモリ302が搭載され、B−IF制御部113を介してメインボード124から読み出し及び書き込みが可能である。メインボード124のCPU101は、印刷装置本体の固有(個体別)データをボードB114のFlashメモリ302に書き込み処理を行い、格納することができる。
Similarly, the
さらに、図4を用いて前記Flashメモリ203、301、302に格納されるデータの詳細を説明する。
図4の(a)は、RAID制御部116に内蔵されるFlashメモリ203に書込まれるパラメータリストである。上からモード情報401は、前記運用モードがシングル(HDD1台)かミラーリング(HDD2台)での運用かを示す。ステート情報402は、ミラー処理を特定するミラー情報として、4つのステート(ミラー/デグレード/リビルド/ホールト)の何れの内部状態にいるのかを示す。
Further, the details of the data stored in the
FIG. 4A is a parameter list written in the
マスター位置情報403は、2個のハードディスク装置が接続されるSATAポートA/Bの内、どちらのポートがマスター位置であるのかを示す。シリアルA404、シリアルB405は、それぞれのHDDから取得したHDDシリアル番号を示す。本実施形態では、シリアルA404をHDD117、シリアルB 405をHDD118に割り当てることにする。個体識別データ406は、RAID制御部116のIC個体別に固有の識別データを示す。暗号フラグ407は、暗号機能OFF/ONの制御フラグである。暗号フラグ407は、メインボード124のCPU101によって設定することができる。なお、その他408は、上記以外の格納データもあることを示す。
The
図4の(b)は、ボードA112に搭載されるFlashメモリ301に格納される復旧データ303のパラメータリストである。Flashメモリ301の内容409〜413及び416までの説明は、Flashメモリ203の401〜405及び408での説明と同じ内容であるので説明を省略する。
FIG. 4B is a parameter list of the
RAID制御部のFlashメモリ203に保持されている401〜405までの情報は、Flashメモリ301の409〜413に復旧データ303としてバックアップされている。なお、Flashメモリ203及び301のどちらの情報かを明示するために同一名称のパラメータは、Flashメモリ301側を名称の最後に"P"、Flashメモリ203側は"Q"を付加して区別することに取り決める。判別データX415は、ミラーリング情報をRAID制御部116にリストア処理するか否かの判定条件に用いるためのデータである。詳細は後述別図で説明する。
The information from 401 to 405 stored in the
図4の(c)は、ボードB114に搭載されるFlashメモリ302に格納されるパラメータリストである。本体識別データ417には、印刷装置本体を個別に識別可能な本体識別情報が格納されている。その他418には、消耗品情報など個体別に固有な情報が記録されている。
FIG. 4C is a parameter list stored in the
続いて、ミラーリングモードで運用中にメインボード124が故障し、交換された後に処理されるミラーリング情報のリストア処理について説明する。
図5は、本実施形態を示す情報処理装置の制御方法を示すフローチャートである。本例は、ミラーリング情報のRAID制御部116へのリストア処理例である。なお、各ステップは、CPU101が記憶された制御プログラムを実行することで実現される。
Subsequently, the restoration process of the mirroring information processed after the
FIG. 5 is a flowchart showing a control method of the information processing apparatus showing the present embodiment. This example is an example of restoration processing of mirroring information to the
S501において、印刷装置の電源ON後、CPU101は、初回の起動かどうかの判定を行う。ここで、初回の起動であるとCPU101が判断した場合には、S502に処理を進める。S502において、CPU101は、初期化処理を実行する。本実施形態において、初期化処理とは、新品のメインボードにシステムをインストールする作業であり、基本的に出荷時やメインボード交換時の初回のみ実行される。初期化処理の詳細説明については省略するが、前提条件として印刷装置の運用モードは、ミラーリングモードでの運用であるとする。
In S501, after the power of the printing apparatus is turned on, the
一方、S501で、初回の起動でないとCPU101が判断した場合及びS502での初期化処理完了後に、CPU101は、S503に処理を進める。S503において、CPU101は、ボードA112からミラーリング情報P409〜411と、RAID制御部116からミラーリング情報Q401〜403の読み出し処理を実施する。
S504において、CPU101は、ミラーリング情報の一つであるモード情報(P、Q)409、401の比較を行い、ミラーリングモードが一致するかどうかを判断する。ここで、ミラーリングモードが一致するとCPU101が判断した場合、S509に進み、ミラーリングモードでの運用を開始する。一方、S504で、ミラーリングモードが一致しないとCPU101が判断した場合、S505に処理を進める。
On the other hand, when the
In S504, the
なお、RAID制御部116のモード初期値はシングルモードとする。既にミラーリングモード運用中にメインボード124が故障し交換された場合、RAID制御部116のモードはシングルであるが、ボードA112に保持されているモード情報はミラーリングである。
従って、S504の比較結果がNOであると判断された場合、メインボード124が交換されたことを意味している。
The initial mode value of the
Therefore, if the comparison result of S504 is determined to be NO, it means that the
S505において、CPU101は、ボードA112のHDDシリアル番号P412、413とRAID制御部116のHDDシリアル番号Q404、405の読み出し処理を実行する。S506において、CPU101は、HDDシリアル番号(P、Q)の比較を行い、HDDシリアル番号が一致するかどうかを判断する。ここで、HDDシリアル番号が一致するとCPU101が判断した場合、S507に処理を進める。S507において、CPU101は、RAID制御部116のモードをシングルからミラーリングモードに設定し、S508に処理を進める。
In S505, the
ここで、RAID制御部116はミラーリングモードを認識すると、HDD117及びHDD118からHDDシリアル番号Q404、405を取得し、Flashメモリ203の所定の位置に保存する。
Here, when the
S508において、CPU101は、ボードA112に保持されたミラーリング情報P409〜411をRAID制御部116にリストア処理を実行する。ここで、リストア処理について具体的に説明する。
CPU101は、ボードA112から読み出したミラーリング情報P409〜411を前記ライト系拡張コマンドとして定義されたリストア処理コマンドに付随してCPU201へ送信する。
In S508, the
The
そして、リストア処理コマンドを受信したCPU201は、予め指定されたFlashメモリ203の位置にミラーリング情報PQ401〜403として書き込み処理を実行する。
以後、CPU201は更新されたミラーリングQ401〜403を用いてミラーリング処理を開始する。上記リストア処理を完了するとS509に処理を進め、ミラーリングモードでの運用を開始する。
Then, the
After that, the
一方、S506で、HDDシリアル番号が一致しないとCPU101が判断した場合には、S510に処理を進める。S510において、CPU101は、エラー処理を実行する。以下、エラー処理の概要を説明する。
S506の比較結果がNOである場合とは、メインボード交換と同時に故障以前に接続されていたHDDの片方又は両方も交換されたことを意味する。それが意図的になされたのか、そうでないのかはもはやプログラムでは判定できない。
On the other hand, if the
When the comparison result of S506 is NO, it means that one or both of the HDDs connected before the failure were replaced at the same time as the main board was replaced. The program can no longer determine if it was done intentionally or not.
従って、CPU101はエラー内容をUIであるパネル装置120に表示し、管理者又はサービスマン等の人間系による判断を行う。
このため、S511では、操作者が継続可能かどうかの判断を行い、その結果をUIで受付て、受け付けた内容が継続可能であるとCPU101が判断した場合にはS509へ進む。そして、S509でミラーリングモードで運用を開始し、NOである場合にはエラーとして印刷装置の運用を停止する。
Therefore, the
Therefore, in S511, the operator determines whether or not the continuation is possible, receives the result on the UI, and if the
例えば、故障前のミラーリング状態がデグレードであった場合に、故障によるメインボード124交換と、同時に故障していたHDDも交換したような場合にはデグレードをリビルドにステート遷移させて、通常運用を開始することが可能である。
For example, if the mirroring state before the failure was degraded, the
次にミラーリング情報のバックアップ処理について説明する。
図6は、本実施形態を示す情報処理装置の制御方法を示すフローチャートである。本例は、ミラーリング情報のバックアップ処理例である。なお、各ステップは、CPU101が記憶された制御プログラムを実行することで実現される。
S601において、CPU101は、ミラーリングモードで正常運用中であるかどうかの判断を行う。S601で、ミラーリングモードで正常運用中であるとCPU101が判断した場合には、S602に処理を進める。S602において、CPU101は、所定のポーリング時間経過しているかどうかの判断を行う。ここで、ポーリング時間(例えば5秒)は予め設定されているものとする。
Next, the backup process of the mirroring information will be described.
FIG. 6 is a flowchart showing a control method of the information processing apparatus showing the present embodiment. This example is an example of backup processing of mirroring information. Each step is realized by executing the control program stored in the
In S601, the
S602の判定で、所定のポーリング時間経過していないと判断した場合には、再びS
601に処理を戻す。
一方、S602で、所定のポーリング時間経過しているとCPU101が判断した場合には、S603に処理を進める。S603において、CPU101は、ボードA112からのミラーリング情報P409〜P411を読み出す処理を実行する。さらに、CPU101は、HDDシリアル番号P412、P413とRAID制御部116からのミラーリング情報Q401〜Q403を読み出す処理を実行する。さらに、CPU101は、HDDシリアル番号Q404、Q405の読み出し処理を実行し、S604に処理を進める。
S604において、CPU101は、読み出されたミラーリング情報(P、Q)及びHDDシリアル番号(P、Q)のそれぞれに対して比較して一致しているかどうかを判断する。
If it is determined in the determination of S602 that the predetermined polling time has not elapsed, S again.
Return the process to 601.
On the other hand, if the
In S604, the
S604で、読み出されたミラーリング情報(P、Q)及びHDDシリアル番号(P、Q)のそれぞれに対して比較して一致しているとCPU101が判断した場合には、再びS601に処理を戻す。
一方、S604で、読み出されたミラーリング情報(P、Q)及びHDDシリアル番号(P、Q)のそれぞれに対して比較して一致していないとCPU101が判断した場合には、S605に処理を進める。
S605において、CPU101は、RAID制御部116から読み出されたミラーリング情報QP409〜P411をボードA112に搭載されるFlash301の所定の位置の情報を更新(バックアップ処理)する。さらに、CPU101は、HDDシリアル番号QP412、P413として、ボードA112に搭載されるFlash301の所定の位置の情報を更新(バックアップ処理)し、再びS601に処理を戻す。
一方、S601で、ミラーリングモードで正常運用中でないとCPU101が判断した場合、ポーリング処理を中断する。例えば、印刷装置が省電力モードに移行し、ハードディスク装置へのアクセスを一時休止しているような場合がこれに当たる。
If the
On the other hand, if the
In S605, the
On the other hand, in S601, when the
前述したようにミラーリング情報やHDDシリアル番号は、ミラーリングモード運用中に不定期に更新される可能性がある。そこで、S601〜S605のバックアップ処理フローを実行することによって、例えばポーリング時間=5秒に1回最新のミラーリング情報及びHDDシリアル番号に更新されることになる。従って、図5で説明したリストア処理では、最新の情報がRAID制御部116にリストアされ、故障前のミラーリング状態に復帰させることが可能となる。なお、ポーリング時間(=5秒)の間隔にたまたま故障する確率は非常に低いと考えられる。また、ポーリング間隔を短くすることで前記確率を無視できる程度に近づけることが可能である。
As described above, the mirroring information and the HDD serial number may be updated irregularly during the mirroring mode operation. Therefore, by executing the backup processing flow of S601 to S605, the latest mirroring information and the HDD serial number are updated once every 5 seconds, for example, polling time. Therefore, in the restore process described with reference to FIG. 5, the latest information is restored to the
〔第2実施形態〕
本実施形態では、暗号化を伴うミラーリング処理において安全、且つ確実に故障前のミラーリング状態に復旧できる方法を説明する。
[Second Embodiment]
In the present embodiment, a method that can safely and surely restore the mirroring state before the failure in the mirroring process involving encryption will be described.
図7は、本実施形態を示す情報処理装置の制御方法を示すフローチャートである。本例は、RAID制御部116の暗号機能を有効にして運用中にメインボード交換が発生したケースに対するミラーリング情報のリストア処理例である。なお、各ステップは、CPU101が記憶された制御プログラムを実行することで実現される。なお、前提条件として、印刷装置は暗号機能を有効(ON)にしてミラーリングモードで運用するものとする。また、RAID制御部116の初期状態では、暗号機能は無効(OFF)とする。
FIG. 7 is a flowchart showing a control method of the information processing apparatus showing the present embodiment. This example is an example of restoration processing of mirroring information for a case where the main board is replaced during operation with the encryption function of the
S701において、CPU101は、RAID制御部116から暗号化フラグ407の読み出し処理を実行し、S702の処理に進める。S702において、CPU101は、暗号機能が有効か無効かの判断を行う。S702において、暗号機能無効(NO)であるとCPU101が判断した場合には、S703に処理を進める。S703において、CPU101は、RAID制御部116の暗号機能を有効に設定し、S704に処理を進める。
In S701, the
ここで、暗号機能が有効に設定されたRAID制御部116では、CPU201が所定のフローを実行して個別識別データQ406を生成する。個別識別データQ406は、物理乱数から生成される固定サイズのランダムなビット列であり、RAID制御−IC個体別に固有な値を持つ。各RAID制御−ICは、個別識別データQ406を元に暗号鍵を生成し、データに対する暗号及び復号化処理を実施する。
Here, in the
S704において、CPU101は、ボードA112からRAID制御部個別識別データP414の読み出し処理を実行し、S705に処理を進める。S705において、CPU101は、個別識別データP414の値が初期値(例えばALL−F(特定値))かどうかの判断を行う。ここで、固体識別情報の一例である個別識別データP414の値が初期値であるとCPU101が判断した場合は、個別識別データQ406のバックアップ処理を開始する。S706において、CPU101は、RAID制御部116から個別識別データQ406の読み出し処理を実行し、S707に処理を進める。
In S704, the
S707において、CPU101は、ボードB114から本体識別データ417の読み出し処理を実行し、S708に処理を進める。S708において、CPU101は、前記個別識別データQ406と本体識別データ417から判別データX415の算出を行う。ここで、判別データX415とは、印刷装置本体とRAID制御部−ICを1対1に紐づけするための判別手段である。ここで、判別データX415は、例えば印刷装置の固有値である本体識別データ417とRAID制御−ICの固有値である個別識別データQ406とを結合して、それのハッシュ値を計算して生成される。
In S707, the
S709において、CPU101は、個別識別データQ406P414として、及び前記算出した判別データX415をボードA112に搭載されるFlashメモリ301の所定の位置に保存し、S716に処理を進める。
S716において、CPU101は、図5で既に説明したS501〜S510のリストア処理フローが実行することでミラーリングモードでの運用を開始する。
In S709, the
In S716, the
一方、S705で、個別識別データP414の値が初期値でないとCPU101が判断した場合は、既に暗号機能を有効状態で運用中であり、メインボードが新たに交換されたと判断して、個別識別データP414のリストア処理を開始する。S710において、CPU101は、RAID制御部116に対して個別識別データPQ406としてリストア処理を実行する。リストア処理は、前記ミラーリング情報のリストア時と同様にリストア処理コマンドをCPU201へ送信することでRAID制御部116内部のFlashメモリ203の所定の位置が更新される。S716においてCPU101は、ミラーリング情報のリストア処理フローを実行しミラーリングモードでの運用を開始する。
On the other hand, in S705, when the
、一方、S702の判定において暗号機能有効(YES)であるとCPU101が判断した場合には、メインボード交換以外の異常状態が発生していないかをチェックするためにS711〜S715、S718の処理を行う。
S711において、CPU101は、ボードB114から本体識別データ417の読み出し処理を実行し、S712へ処理を進める。S712におい、CPU101は、RAID制御部116から個別識別データQ406の読み出し処理を実行し、S713へ処理を進める。S713において、CPU101は、前記本体識別データ417と個別識別データQ406から判別データYの算出を行う。なお、判別データYの算出方法についてはS708の説明と同様なので省略する。
On the other hand, when the
In S711, the
S714において、CPU101は、ボードA112から判別データX415の読み出し処理を実行し、S715へ処理を進める。S715において、CPU101は、判別データ(X、Y)が一致するかどうかを判断する。S715で、判別データ(X、Y)が一致するとCPU101が判断した場合には、S716に処理を進める。
S716において、CPU101は、ミラーリング情報のリストア処理フローを実行しミラーリングモードでの運用を開始する。
一方、S715で、判別データ(X、Y)が一致しないとCPU101が判断した場合、RAID制御部116に何らかの故障が発生した場合が想定される。また、悪意者が故意にRAIDシステムを別の印刷装置に接続しHDD内データを盗聴しようとしているかなどが想定される。そこで、S715でNOと判断された場合、S718で、CPU101は、所定のエラー処理を行い、ミラーリングモードでの運用を停止する。
In S714, the
In S716, the
On the other hand, if the
なお、暗号化を伴うミラーリング処理においてミラーリング状態の復旧には特に注意を要する。メインボード112の交換によってRAID制御部の暗号鍵が更新された場合、その状態でミラーリング処理の書き込みを実行すると故障前のHDDデータとの整合性が取れなくなってしまう不具合が発生する。
これに対して、S701〜S718を実行することにより、暗号化を伴うミラーリング処理であっても安全に故障前の状態に復旧させることが可能となる。特に、S715での判定処理は、セキュリティ的な観点での安全性と故障前のミラーリング状態に復旧できる安全性との2重の意味での安全性が担保される。
なお、ボード112とボード114とを独立して備える構成とする場合について説明したが、ボード112がボード114の機能を兼ねる構成としてもよい。
It should be noted that special attention should be paid to the restoration of the mirroring state in the mirroring process involving encryption. When the encryption key of the RAID control unit is updated by exchanging the
On the other hand, by executing S701 to S718, it is possible to safely restore the state before the failure even in the mirroring process involving encryption. In particular, the determination process in S715 guarantees safety in the dual sense of safety from the viewpoint of security and safety that can restore the mirrored state before the failure.
Although the case where the
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステムまたは装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサがプログラムを読み出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えばASIC)によっても実現可能である。 The present invention supplies a program that realizes one or more functions of the above-described embodiment to a system or device via a network or storage medium, and one or more processors in the computer of the system or device reads and executes the program. It can also be realized by the processing to be performed. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.
124 メインボード 124 main board
Claims (12)
複数の記憶部に対するミラーリングの構成情報を含むミラーリング情報を記憶するメインボードのメモリと、 A memory on the main board that stores mirroring information including mirroring configuration information for multiple storage units, and
前記メインボードのメモリに記憶されたミラーリングの構成情報に基づいて、前記複数の記憶部を制御する制御手段と、 A control means for controlling the plurality of storage units based on the mirroring configuration information stored in the memory of the main board, and
前記ミラーリング情報を記憶するサブボードのメモリと、 The memory of the sub board that stores the mirroring information and
メインボードが交換されたことに基づいて、前記サブボードのメモリに記憶されたミラーリング情報を前記交換されたメインボードのメモリに記憶させる記憶制御手段と、を有し、 It has a storage control means for storing mirroring information stored in the memory of the sub-board based on the replacement of the main board in the memory of the replaced main board.
前記制御手段は、前記交換されたメインボードのメモリに前記記憶制御手段によって記憶されたミラーリング情報に含まれるミラーリングの構成情報に基づいて、前記複数の記憶部を制御することを特徴とする情報処理装置。 The information processing means that the control means controls the plurality of storage units based on the mirroring configuration information included in the mirroring information stored in the memory of the exchanged main board by the storage control means. apparatus.
前記メインボードのメモリと前記サブボードのメモリのそれぞれが前記複数の記憶部の各々を識別する情報を記憶可能であり、 Each of the memory of the main board and the memory of the sub board can store information that identifies each of the plurality of storage units.
前記比較手段が、前記識別する情報が前記メインボードのメモリと前記サブボードのメモリの前記ミラーリング情報を比較し、一致するか否かを判定することで前記複数の記憶部の各々が交換されているか否かが検知されることを特徴とする請求項1乃至3のいずれか1項に記載の情報処理装置。 Each of the plurality of storage units is exchanged by the comparison means by comparing the mirroring information of the memory of the main board and the memory of the sub board and determining whether or not the identifying information matches. The information processing apparatus according to any one of claims 1 to 3, wherein the presence or absence is detected.
制御手段が、前記メインボードのメモリに記憶されたミラーリングの構成情報に基づいて、前記複数の記憶部を制御する制御工程と、 A control step in which the control means controls the plurality of storage units based on the mirroring configuration information stored in the memory of the main board.
前記メインボードが交換されたことに基づいて、前記サブボードのメモリに記憶されたミラーリング情報を、前記交換されたメインボードのメモリに記憶させる記憶制御工程と、を有し、 It has a storage control step of storing mirroring information stored in the memory of the sub-board based on the replacement of the main board in the memory of the replaced main board.
前記制御手段は、前記記憶制御工程において前記交換されたメインボードのメモリに記憶されたミラーリング情報に含まれるミラーリングの構成情報に基づいて、前記複数の記憶部を制御することを特徴とする情報処理装置の制御方法。 The information processing means that the control means controls the plurality of storage units based on the mirroring configuration information included in the mirroring information stored in the memory of the exchanged main board in the storage control step. How to control the device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2020066412A JP6874190B2 (en) | 2020-04-02 | 2020-04-02 | Information processing device, control method of information processing device, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2020066412A JP6874190B2 (en) | 2020-04-02 | 2020-04-02 | Information processing device, control method of information processing device, and program |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2015024045A Division JP6700662B2 (en) | 2015-02-10 | 2015-02-10 | Information processing apparatus, information processing apparatus control method, and program |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2020123367A JP2020123367A (en) | 2020-08-13 |
JP2020123367A5 JP2020123367A5 (en) | 2020-11-05 |
JP6874190B2 true JP6874190B2 (en) | 2021-05-19 |
Family
ID=71993613
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2020066412A Active JP6874190B2 (en) | 2020-04-02 | 2020-04-02 | Information processing device, control method of information processing device, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6874190B2 (en) |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004127351A (en) * | 2002-09-30 | 2004-04-22 | Fujitsu Ltd | Memory device |
JP5207988B2 (en) * | 2009-01-07 | 2013-06-12 | キヤノン株式会社 | Information processing apparatus, information processing apparatus control method, program, and storage medium |
JP5786366B2 (en) * | 2011-02-24 | 2015-09-30 | カシオ電子工業株式会社 | Printing device |
JP5775367B2 (en) * | 2011-06-06 | 2015-09-09 | キヤノン株式会社 | Information processing apparatus and control method thereof, mirroring system and RAID control apparatus |
-
2020
- 2020-04-02 JP JP2020066412A patent/JP6874190B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2020123367A (en) | 2020-08-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5163408B2 (en) | Information processing device | |
JP4939102B2 (en) | Reliable method for network boot computer system | |
US8310698B2 (en) | Image forming apparatus and activating method thereof | |
US10720225B2 (en) | Information processing apparatus, control method thereof, and storage mediumMD | |
TWI453592B (en) | Methods and systems for recovering a computer system using a storage area network | |
JP6700662B2 (en) | Information processing apparatus, information processing apparatus control method, and program | |
JP5506568B2 (en) | Data processing apparatus, data processing method for data processing apparatus, and program | |
JP2006252451A (en) | Storage system | |
JP6874190B2 (en) | Information processing device, control method of information processing device, and program | |
JP2009163562A (en) | Storage system, controller of storage system and control method of storage system | |
JP5200410B2 (en) | Storage device | |
US10038556B2 (en) | Information processing apparatus, encryption apparatus, and control method | |
JP6235163B2 (en) | Computer system and control method thereof | |
JP4483876B2 (en) | Storage device control method in duplex system | |
WO2015011835A1 (en) | Computer system | |
JP7246869B2 (en) | IMAGE FORMING APPARATUS, IMAGE FORMING APPARATUS CONTROL METHOD AND PROGRAM | |
JP5251543B2 (en) | Image processing apparatus, performance improvement preventing method and program for image processing apparatus | |
JP2011120005A (en) | Image processing apparatus and data on information processing apparatus | |
JP6293216B2 (en) | Information processing apparatus, control method, and program | |
JP2005346212A (en) | Disk array controller and information processor | |
JP7263067B2 (en) | Information processing device and information processing device control method | |
JP7051769B2 (en) | Information processing equipment, control methods, and programs | |
CN107368743B (en) | Information processing apparatus, information processing method, and computer program | |
JP2006260025A (en) | Disk array device, control method for disk array device, and electronic equipment | |
JP2022108624A (en) | Information processing apparatus, control method thereof, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20200410 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20200916 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20210210 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20210323 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20210421 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 6874190 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |