JP2015215809A - computer - Google Patents

computer Download PDF

Info

Publication number
JP2015215809A
JP2015215809A JP2014099083A JP2014099083A JP2015215809A JP 2015215809 A JP2015215809 A JP 2015215809A JP 2014099083 A JP2014099083 A JP 2014099083A JP 2014099083 A JP2014099083 A JP 2014099083A JP 2015215809 A JP2015215809 A JP 2015215809A
Authority
JP
Japan
Prior art keywords
power supply
hdd
abnormality
power
storage device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2014099083A
Other languages
Japanese (ja)
Inventor
麻理子 柳野
Mariko Yanagino
麻理子 柳野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP2014099083A priority Critical patent/JP2015215809A/en
Publication of JP2015215809A publication Critical patent/JP2015215809A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)
  • Power Sources (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a computer capable of suppressing wasteful power consumption when abnormality occurs in a certain storage device out of a plurality of storage devices.SOLUTION: A computer includes: a plurality of storage devices; power supply means; a controller; and power supply changeover means. The power supply means individually supplies power to the plurality of storage devices. The controller performs control for making information redundant and storing the information made redundant with respect to the plurality of storage devices. The power supply changeover means stops power supply to any storage device where abnormality is detected when detecting the abnormality occurring in any storage device out of the plurality of storage means.

Description

本発明の実施形態は、コンピュータに関する。   Embodiments described herein relate generally to a computer.

たとえば、産業システム分野で使用されるコンピュータは、24時間365日の安定的な連続稼働を要求され、高い信頼性を実現する必要がある。コンピュータにおいて記憶装置の信頼性は重要度が高い。従来、複数のHDD(ハードディスクドライブ)などの記憶装置を組み合わせたRAID(Redundant Arrays of Inexpensive Disk)と呼ばれる構成によって記憶装置の信頼性を高める手法が知られている。   For example, a computer used in the industrial system field is required to operate stably 24 hours a day, 365 days a year, and needs to realize high reliability. In computers, the reliability of storage devices is highly important. 2. Description of the Related Art Conventionally, a method for improving the reliability of a storage device by a configuration called RAID (Redundant Arrays of Inexpensive Disk) in which storage devices such as a plurality of HDDs (hard disk drives) are combined is known.

特開2012−27790号公報JP 2012-27790 A

しかしながら、RAID構成では、複数の記憶装置が使用される為、電力消費が大きく、発熱量も大きい。たとえば、従来のRAID構成では、異常発生により論理的に切り離した後の記憶装置にも、電源を供給し続ける為、余分な電力消費が発生し、発熱の原因となるという問題がある。   However, since a plurality of storage devices are used in the RAID configuration, the power consumption is large and the heat generation amount is also large. For example, the conventional RAID configuration has a problem that excessive power consumption occurs and causes heat generation because power is continuously supplied to the storage device that has been logically disconnected due to the occurrence of an abnormality.

本発明は、複数の記憶装置のうち一部の記憶装置に異常が発生した場合、無駄な電力消費を抑えることができるコンピュータを提供することを目的とする。   An object of the present invention is to provide a computer capable of suppressing wasteful power consumption when an abnormality occurs in some of the plurality of storage devices.

実施形態によれば、コンピュータは、複数の記憶装置と、電源供給手段と、コントローラと、電源切換手段とを有する。電源供給手段は、複数の記憶装置にそれぞれ電源を供給する。コントローラは、複数の記憶装置に対して情報を冗長化して記憶する制御を行う。電源切換手段は、複数の記憶手段のうち何れかの記憶装置に異常が発生したことを検出した場合、異常が検出された記憶装置への電源供給を停止する。   According to the embodiment, the computer includes a plurality of storage devices, power supply means, a controller, and power switching means. The power supply means supplies power to each of the plurality of storage devices. The controller performs control to store redundant information in a plurality of storage devices. When detecting that an abnormality has occurred in any one of the plurality of storage units, the power supply switching unit stops power supply to the storage device in which the abnormality has been detected.

実施形態に係るコンピュータの構成例を示すブロック図である。It is a block diagram which shows the structural example of the computer which concerns on embodiment. 実施形態に係るコンピュータにおけるHDDに対する電源制御機能を説明するためのフローチャートである。It is a flowchart for demonstrating the power supply control function with respect to HDD in the computer which concerns on embodiment.

以下、実施の形態について、図面を参照して説明する。   Hereinafter, embodiments will be described with reference to the drawings.

図1は、本実施形態に係るコンピュータ(電子計算機)1の構成例を概略的に示すブロック図である。
本実施形態に係るコンピュータ1は、産業システム分野で利用されるコンピュータ(産業用コンピュータ)を想定している。産業用コンピュータは、安定的な連続稼働が要求される。たとえば、産業用コンピュータは、計装などに用いられ、長期間の連続稼働が高い信頼性とともに要求されるコンピュータである。
FIG. 1 is a block diagram schematically showing a configuration example of a computer (electronic computer) 1 according to the present embodiment.
The computer 1 according to the present embodiment is assumed to be a computer (industrial computer) used in the industrial system field. Industrial computers are required to operate stably continuously. For example, an industrial computer is a computer that is used for instrumentation and the like and is required to have long-term continuous operation with high reliability.

図1に示す構成例において、コンピュータ1は、制御部11、HDDユニット12、電源供給部13、および、表示部14などを有する。また、産業用コンピュータ1には、操作装置あるいは外部コンピュータなどの外部入力用の外部機器2が接続される。
制御部11は、コンピュータ1全体の制御を司るユニットである。制御部11は、プロセッサ、プログラムメモリ、ワークメモリ、スイッチ、及び各種のインターフェースなどを有する。制御部11は、図1に示す構成などによって産業用コンピュータとしてのデータ処理機能あるいは制御機能などを実現している。
In the configuration example illustrated in FIG. 1, the computer 1 includes a control unit 11, an HDD unit 12, a power supply unit 13, a display unit 14, and the like. The industrial computer 1 is connected to an external device 2 for external input such as an operating device or an external computer.
The control unit 11 is a unit that controls the entire computer 1. The control unit 11 includes a processor, a program memory, a work memory, a switch, and various interfaces. The control unit 11 realizes a data processing function or a control function as an industrial computer by the configuration shown in FIG.

HDDユニット12は、複数のHDD12a、12b、12c、12dを有する。HDDユニット12は、RAID構成となる複数の記憶装置(HDD)を格納するユニットである。HDD12a、12b、12c、12dは、RAIDを構成する複数の記憶装置である。RAIDを構成する記憶装置は、HDDに限定されるものではなく、SSD(Solid State Drive)などの別の記憶装置に置き換えても良い。   The HDD unit 12 includes a plurality of HDDs 12a, 12b, 12c, and 12d. The HDD unit 12 is a unit that stores a plurality of storage devices (HDDs) having a RAID configuration. The HDDs 12a, 12b, 12c, and 12d are a plurality of storage devices that constitute a RAID. The storage device configuring the RAID is not limited to the HDD, and may be replaced with another storage device such as an SSD (Solid State Drive).

電源供給部13は、HDDユニット12へ電源を供給する。電源供給部13は、HDDユニット12内の各HDD12a、12b、12c、12dへ個別に電源を供給する。電源供給部13は、制御部11からの指示に応じてHDDユニット12内の特定のHDDへの電源を供給したり、停止したりする機能を有する。   The power supply unit 13 supplies power to the HDD unit 12. The power supply unit 13 individually supplies power to the HDDs 12a, 12b, 12c, and 12d in the HDD unit 12. The power supply unit 13 has a function of supplying or stopping power to a specific HDD in the HDD unit 12 in accordance with an instruction from the control unit 11.

表示部14は、案内あるいは警告(アラーム)などを表示する表示装置である。本実施形態において、表示部14は、HDDに発生した異常、あるいは、HDDへの電源供給の停止などの警告を表示する。なお、HDDに発生した異常や電源供給の停止などの警告を報知とする手段は、表示装置に限定されるものではない。たとえば、警告を報知する手段としては、警報を発生するスピーカなどを設けても良い。   The display unit 14 is a display device that displays guidance or warning (alarm). In the present embodiment, the display unit 14 displays a warning such as an abnormality that has occurred in the HDD or a stop of power supply to the HDD. Note that means for notifying a warning such as an abnormality occurring in the HDD or a stop of power supply is not limited to the display device. For example, as a means for notifying a warning, a speaker for generating a warning may be provided.

次に、制御部11の構成について説明する。
図1に示す構成例において、制御部11は、CPU21、RAM22、ROM23、記憶部(不揮発性メモリ)24、RAIDコントローラ25、電源切換部26、外部I/F27、および、スイッチ28などを有する。
Next, the configuration of the control unit 11 will be described.
In the configuration example illustrated in FIG. 1, the control unit 11 includes a CPU 21, a RAM 22, a ROM 23, a storage unit (nonvolatile memory) 24, a RAID controller 25, a power supply switching unit 26, an external I / F 27, and a switch 28.

CPU21は、制御を司るプロセッサである。CPU21は、RAM22などのメモリを使用して、ROM23、記憶部24、あるいは、HDD12などのメモリに記憶されたプログラムを実行することにより、種々の処理を実現する。
RAM22は、一時的にデータを記憶する揮発性のメモリである。RAM22は、作業用のデータを保持したりバッファメモリとして機能したりするワーキングメモリである。ROM23は、書き換え不可な不揮発性メモリである。ROM23は、プログラムあるいは制御データなどを記憶する。
The CPU 21 is a processor that performs control. The CPU 21 implements various processes by using a memory such as the RAM 22 and executing programs stored in the ROM 23, the storage unit 24, or the memory such as the HDD 12.
The RAM 22 is a volatile memory that temporarily stores data. The RAM 22 is a working memory that holds work data or functions as a buffer memory. The ROM 23 is a non-rewritable nonvolatile memory. The ROM 23 stores a program or control data.

記憶部24は、書き換え可能な不揮発性のメモリである。記憶部24は、たとえば、RAIDを構築する複数の記憶装置として接続されている各HDDの管理情報をドライブ番号に対応づけて記憶する。図1に示す構成例では、記憶部24は、HDDの管理情報の記憶領域として、異常情報記憶領域24a、ID記憶領域24bおよび電源制御レジスタ領域24cなどを有する。   The storage unit 24 is a rewritable nonvolatile memory. For example, the storage unit 24 stores management information of each HDD connected as a plurality of storage devices for constructing a RAID in association with a drive number. In the configuration example shown in FIG. 1, the storage unit 24 includes an abnormality information storage area 24a, an ID storage area 24b, a power control register area 24c, and the like as storage areas for HDD management information.

異常情報記憶領域24aは、各HDDに発生した異常を示す情報(HDD異常情報)を記憶する。異常情報記憶領域24aには、HDD異常情報として、各ドライブ番号に対応づけて各HDDにおける異常の発生回数を記憶する。ID記憶領域24bは、各HDDの識別情報(HDD_ID情報)を記憶する。ID記憶領域24bは、各ドライブ番号に対応づけて各HDDの識別情報(ID情報)を記憶する。電源制御レジスタ領域24cは、各HDDに対する電源供給の設定状況を示すフラグを記憶する。電源制御レジスタ領域24cは、各ドライブ番号に対応づけて電源供給フラグをセットする。   The abnormality information storage area 24a stores information (HDD abnormality information) indicating an abnormality that has occurred in each HDD. The abnormality information storage area 24a stores the number of occurrences of abnormality in each HDD in association with each drive number as HDD abnormality information. The ID storage area 24b stores identification information (HDD_ID information) of each HDD. The ID storage area 24b stores identification information (ID information) of each HDD in association with each drive number. The power control register area 24c stores a flag indicating a setting state of power supply to each HDD. The power control register area 24c sets a power supply flag in association with each drive number.

電源供給フラグは、各ドライブ番号に対して電源状態を指定する。電源供給フラグは、各ドライブ番号のHDDごとに設定する。ただし、電源供給フラグは、電源切換機能が有効である場合に有効となり、電源切換機能が無効である場合には電源供給フラグの状態に関係なく、各HDDへの電源供給が制御される。たとえば、電源切換機能が無効である場合には電源供給フラグの状態に関係なく各HDDへの電源が供給され、電源切換機能が有効である場合には電源供給フラグの状態に応じてHDDに対する電源供給が制御される。   The power supply flag designates a power state for each drive number. The power supply flag is set for each HDD of each drive number. However, the power supply flag is valid when the power switching function is valid, and when the power switching function is invalid, power supply to each HDD is controlled regardless of the state of the power supply flag. For example, when the power supply switching function is disabled, power is supplied to each HDD regardless of the state of the power supply flag, and when the power supply switching function is enabled, the power supply to the HDD is determined according to the state of the power supply flag. Supply is controlled.

RAIDコントローラ25は、RAID構成された各HDDへのアクセスを制御する。RAIDコントローラ25は、個々のHDDにおける異常の発生を検出する機能も有する。たとえば、RAIDコントローラ25は、異常が発生したHDDを論理的に切り離して、当該HDDへのアクセスを止める機能を有する。RAIDコントローラ25は、ハードウエアで構成しても良いし、ソフトウエアで構成しても良い。後者の場合、RAIDコントローラ25は、たとえば、CPU21がROM23或いは記憶部24に記憶したプログラムを実行することにより機能として実現しても良い。RAIDコントローラ25は、各HDDに対してデータ書込みなどのアクセスを制御する。   The RAID controller 25 controls access to each HDD configured in RAID. The RAID controller 25 also has a function of detecting the occurrence of an abnormality in each HDD. For example, the RAID controller 25 has a function of logically disconnecting an HDD in which an abnormality has occurred and stopping access to the HDD. The RAID controller 25 may be configured by hardware or software. In the latter case, the RAID controller 25 may be realized as a function by the CPU 21 executing a program stored in the ROM 23 or the storage unit 24, for example. The RAID controller 25 controls access such as data writing to each HDD.

電源切換部26は、各HDDに対する電源供給を切り替える。電源切換部26は、電源供給部13から個々のHDDへ供給される電源のオンオフをHDDごとに切り替えられる。電源切換部26は、ハードウエアで構成しても良いし、ソフトウエアで構成しても良い。後者の場合、電源切換部26は、たとえば、CPU21がROM23或いは記憶部24に記憶したプログラムを実行することにより機能として実現しても良い。   The power switching unit 26 switches power supply to each HDD. The power supply switching unit 26 can switch on and off the power supplied from the power supply unit 13 to each HDD for each HDD. The power supply switching unit 26 may be configured by hardware or software. In the latter case, the power supply switching unit 26 may be realized as a function by the CPU 21 executing a program stored in the ROM 23 or the storage unit 24, for example.

外部I/F27は、外部から情報を入力するためのインターフェースである。たとえば、外部I/F27は、操作装置を接続するインターフェースであっても良いし、外部コンピュータを接続するインターフェースであっても良い。外部I/F27は、各HDDに対する設定情報を取得する。外部I/F27は、ローカルに操作装置あるいは外部コンピュータを接続するものであっても良いし、ネットワークを介して外部コンピュータを接続するものであっても良い。   The external I / F 27 is an interface for inputting information from the outside. For example, the external I / F 27 may be an interface for connecting an operation device or an interface for connecting an external computer. The external I / F 27 acquires setting information for each HDD. The external I / F 27 may connect an operating device or an external computer locally or may connect an external computer via a network.

スイッチ28は、特定の制御に対する設定状態を指定する。本実施形態において、スイッチ28は、RAIDを構築するHDDに対しての電源切換機能を有効とするか否かを指定する。たとえば、CPU21は、スイッチ28がオン状態の場合にはHDDに対する電源切換制御機能を有効とし、スイッチ28がオフ状態の場合にはHDDに対する電源切換制御機能を無効と判定する。スイッチ28は、ユーザの指示に応じて状態が変化するものであれば良く、ハードウエアで構成しても良いし、ソフトウエアで実現しても良い。   The switch 28 designates a setting state for specific control. In the present embodiment, the switch 28 designates whether or not to enable the power supply switching function for the HDD constructing the RAID. For example, the CPU 21 determines that the power supply switching control function for the HDD is valid when the switch 28 is on, and determines that the power supply switching control function for the HDD is invalid when the switch 28 is off. The switch 28 may be any switch as long as its state changes in response to a user instruction, and may be configured by hardware or may be realized by software.

なお、電源切換機能はRAIDを構成する全HDDに共通な1つの設定としても良いし、RAIDを構成する個々のHDDごとに設定可能としても良い。前者の場合、スイッチは全HDDに共通な1つの設定を示す1つのスイッチを設ければ良く、後者の場合、RAIDを構成する個々のHDDに対応する複数のスイッチを設ければ良い。   The power supply switching function may be one setting common to all HDDs constituting the RAID, or may be set for each HDD constituting the RAID. In the former case, the switch may be provided with one switch indicating one setting common to all HDDs, and in the latter case, a plurality of switches corresponding to individual HDDs constituting the RAID may be provided.

次に、上記のように構成されるコンピュータ1における各HDD12a、12b、12c、12dに対する電源制御処理について説明する。
複数のHDD12a、12b、12c、12dによりRAIDを構成する場合、制御部11のCPU21は、まず、RAIDの制御対象となる各HDD12a、12b、12c、12dについての管理情報を記憶部24に記憶する処理を行う(ステップS11)。本実施形態において、CPU21は、RAIDを構成とする各ドライブ番号の各HDDについて、異常情報(異常発生回数)、ID情報、および、電源供給フラグを記憶部24に記憶する。
Next, power control processing for the HDDs 12a, 12b, 12c, and 12d in the computer 1 configured as described above will be described.
When a RAID is configured by a plurality of HDDs 12a, 12b, 12c, and 12d, the CPU 21 of the control unit 11 first stores management information about each of the HDDs 12a, 12b, 12c, and 12d that are RAID control targets in the storage unit 24. Processing is performed (step S11). In the present embodiment, the CPU 21 stores abnormality information (number of occurrences of abnormality), ID information, and a power supply flag in the storage unit 24 for each HDD of each drive number constituting the RAID.

たとえば、CPU21は、RAIDコントローラ25が各HDDから取得するID情報を記憶するとともに、初期値として、異常情報としての異常発生回数を0とし、電源供給フラグをオンにセットする。
なお、各HDDの管理情報が記憶部24に記憶されている場合(HDDの管理情報が設定済みの場合)、CPU21は、S11の処理を省略する。
For example, the CPU 21 stores the ID information that the RAID controller 25 acquires from each HDD, sets the number of occurrences of abnormality as abnormality information to 0 as an initial value, and sets the power supply flag to ON.
When the management information of each HDD is stored in the storage unit 24 (when the management information of the HDD is already set), the CPU 21 omits the process of S11.

また、コンピュータの稼働中において、制御部11のCPU21は、HDDユニット12内の各HDD12a、12b、12c、12dにおける異常の有無を監視する(ステップS12)。たとえば、RAIDコントローラ25は、RAIDを構成する各HDD12a、12b、12c、12dに対するアクセス制御とともに、各HDD12a、12b、12c、12dでの異常の有無を検出する。何れかのHDD12a、12b、12c、12dにおいて異常を検知した場合、RAIDコントローラ25は、異常が発生したHDDを示す情報をCPU21へ通知する。すなわち、CPU21は、RAIDコントローラ25からの通知により各HDDでの異常を検出する。   Further, during the operation of the computer, the CPU 21 of the control unit 11 monitors whether there is an abnormality in each of the HDDs 12a, 12b, 12c, 12d in the HDD unit 12 (step S12). For example, the RAID controller 25 detects the presence / absence of an abnormality in each HDD 12a, 12b, 12c, 12d as well as access control to each HDD 12a, 12b, 12c, 12d constituting the RAID. When an abnormality is detected in any of the HDDs 12a, 12b, 12c, and 12d, the RAID controller 25 notifies the CPU 21 of information indicating the HDD in which the abnormality has occurred. That is, the CPU 21 detects an abnormality in each HDD based on a notification from the RAID controller 25.

何れかのHDDでの異常を検出した場合(ステップS12、YES)、CPU21は、異常が検出されたHDDに対づけた異常情報を記録する(ステップS13)。たとえば、CPU21は、記憶部24に記憶している異常が検出されたHDDに対する異常情報としての異常発生回数をインクリメントすることにより異常情報を更新する。また、何れかのHDDで異常を検出した場合(ステップS12、YES)、CPU21は、HDDで異常が発生したことを示すアラームを表示部14に表示する(ステップS14)。   When an abnormality is detected in any HDD (step S12, YES), the CPU 21 records the abnormality information associated with the HDD in which the abnormality is detected (step S13). For example, the CPU 21 updates the abnormality information by incrementing the number of occurrences of abnormality as abnormality information for the HDD in which the abnormality stored in the storage unit 24 is detected. If an abnormality is detected in any HDD (step S12, YES), the CPU 21 displays an alarm indicating that an abnormality has occurred in the HDD on the display unit 14 (step S14).

さらに、CPU21は、異常が検出されたHDDに対する電源切換機能の設定が有効であるか否かを判定する(ステップS15)。異常が検出されたHDDに対する電源切換機能が有効に設定されていると判定した場合(ステップS15、YES)、CPU21は、当該HDDの異常発生回数がユーザ設定数(閾値)よりも多いか否かを判断する(ステップS16)。異常発生回数がユーザ設定数よりも多いと判断した場合(ステップS16、YES)、CPU21は、HDDでの異常発生回数がユーザ設定数を超えた旨のアラームを表示部14に表示する(ステップS17)。   Further, the CPU 21 determines whether or not the setting of the power supply switching function for the HDD in which the abnormality is detected is valid (step S15). If it is determined that the power supply switching function for the HDD in which the abnormality is detected is set to be effective (step S15, YES), the CPU 21 determines whether or not the number of abnormality occurrences of the HDD is greater than the user set number (threshold). Is determined (step S16). If it is determined that the number of occurrences of abnormality is greater than the number set by the user (step S16, YES), the CPU 21 displays an alarm indicating that the number of occurrences of abnormality in the HDD exceeds the number set by the user on the display unit 14 (step S17). ).

また、異常発生回数がユーザ設定数よりも多いと判断した場合(ステップS16、YES)、CPU21は、異常発生回数がユーザ設定数を超えたHDDに対する電源供給フラグをオフにセットする(ステップS18)。ただし、電源供給フラグのセットは、外部入力に応じて行うようにしても良い。すなわち、CPU21は、異常発生回数がユーザ設定数を超えたHDDについて、アラームを表示部14に表示するとともに、ユーザの指示に応じて当該HDDの電源供給フラグをオフにセットするようにしても良い。   If it is determined that the number of occurrences of abnormality is greater than the number set by the user (step S16, YES), the CPU 21 sets the power supply flag for the HDD whose number of occurrences of abnormality exceeds the number set by the user (step S18). . However, the power supply flag may be set according to an external input. That is, the CPU 21 may display an alarm on the display unit 14 for an HDD in which the number of abnormal occurrences exceeds the user set number, and set the power supply flag of the HDD to OFF according to a user instruction. .

また、コンピュータの稼働中において、CPU21は、新しいHDDの接続も監視している(ステップS19)。たとえば、CPU21は、RAIDコントローラ25を介して各HDDのID情報を取得する。RAIDコントローラ25からHDDユニット12に接続されている各HDDのID情報を取得すると、CPU21は、取得した各HDDのID情報が記憶部24のID記憶領域24bに記憶しているHDDのID情報と一致するか否かをチェックする。取得したID情報のHDDがID記憶領域24bに登録されているID情報と一致しない場合、CPU21は、HDDユニット12に新しいHDDが接続されたことを検出する。   Further, during the operation of the computer, the CPU 21 monitors the connection of a new HDD (step S19). For example, the CPU 21 acquires ID information of each HDD via the RAID controller 25. When the ID information of each HDD connected to the HDD unit 12 is acquired from the RAID controller 25, the CPU 21 stores the acquired ID information of each HDD in the ID storage area 24 b of the storage unit 24 and the ID information of the HDD. Check if they match. If the HDD of the acquired ID information does not match the ID information registered in the ID storage area 24 b, the CPU 21 detects that a new HDD is connected to the HDD unit 12.

新しいHDDが検出されていない場合(ステップS19、NO)、CPU21は、HDDユニット12内の各HDD12a、12b、12c、12dの電源供給フラグをチェックする(ステップS20)。CPU21は、電源供給フラグがオフである場合(ステップS20、YES)、当該HDDへの電源供給を停止し(ステップS21)、電源供給フラグがオフである場合(ステップS20、NO)、CPU21は、当該HDDへ電源を供給する(ステップS21)。   If a new HDD is not detected (step S19, NO), the CPU 21 checks the power supply flag of each HDD 12a, 12b, 12c, 12d in the HDD unit 12 (step S20). When the power supply flag is off (step S20, YES), the CPU 21 stops the power supply to the HDD (step S21). When the power supply flag is off (step S20, NO), the CPU 21 Power is supplied to the HDD (step S21).

たとえば、電源を供給しているHDDに対する電源供給フラグがオフである場合(ステップS20、YES)、つまり、電源供給フラグがオンからオフに変更された場合、CPU21は、電源切換部26に当該HDDへの電源供給の停止を指示する(ステップS21)。この指示に応じて、電源切換部26は、電源供給部13を制御することにより、当該HDDへの電源供給を停止する制御を行う。また、電源供給を停止しているHDDの電源供給フラグがオフであれば、CPU21は、そのままの状態を維持し、当該HDDへの電源供給の停止を継続させる(ステップS21)。   For example, when the power supply flag for the HDD that is supplying power is off (step S20, YES), that is, when the power supply flag is changed from on to off, the CPU 21 causes the power supply switching unit 26 to detect the HDD. Is stopped (step S21). In response to this instruction, the power supply switching unit 26 controls the power supply unit 13 so as to stop power supply to the HDD. If the power supply flag of the HDD whose power supply has been stopped is off, the CPU 21 maintains the state as it is and continues to stop the power supply to the HDD (step S21).

また、電源を供給しているHDDに対する電源供給フラグがオンであれば(ステップS20、NO)、CPU21は、そのままの状態を維持し、当該HDDへの電源供給を継続させる(ステップS24)。また、電源供給を停止しているHDDの電源供給フラグがオンである場合(ステップS20、NO)、つまり、電源供給フラグがオフからオンに変更された場合、CPU21は、電源切換部26に当該HDDへの電源供給を指示する(ステップS24)。この指示に応じて、電源切換部26は、電源供給部13を制御することにより、当該HDDへの電源を供給する制御を行う。   If the power supply flag for the HDD that is supplying power is on (step S20, NO), the CPU 21 maintains the state as it is and continues to supply power to the HDD (step S24). When the power supply flag of the HDD whose power supply has been stopped is on (step S20, NO), that is, when the power supply flag is changed from off to on, the CPU 21 notifies the power switching unit 26 of the power supply flag. An instruction to supply power to the HDD is given (step S24). In response to this instruction, the power supply switching unit 26 controls the power supply unit 13 to control power supply to the HDD.

また、新しいHDDが検出された場合(ステップS19、YES)、CPU21は、新しく検出されたHDDの管理情報を記憶部24に記録する処理を行う(ステップS22)。たとえば、CPU21は、記憶部24のID記憶領域24bに登録されている各HDDの識別情報(ID情報)を更新する。RAIDコントローラ25が所定数のHDDを制御することを想定すると、新しく検出されるHDDは、登録済みの古いHDDに置き換えて接続されたものと考えられる。この場合、CPU21は、当該ドライブ番号の新しく検出されたHDDのID情報を当該HDDのドライブ番号に対応づけられている古いHDDのID情報に上書きすることによりID記憶領域24bの情報を更新する。   When a new HDD is detected (step S19, YES), the CPU 21 performs a process of recording management information of the newly detected HDD in the storage unit 24 (step S22). For example, the CPU 21 updates the identification information (ID information) of each HDD registered in the ID storage area 24b of the storage unit 24. Assuming that the RAID controller 25 controls a predetermined number of HDDs, it is considered that the newly detected HDD is connected by replacing the old registered HDD. In this case, the CPU 21 updates the information in the ID storage area 24b by overwriting the old HDD ID information associated with the HDD drive number with the newly detected HDD ID information of the drive number.

新しく検出されたHDDのID情報を記録すると、CPU21は、当該HDDに対応する異常情報および電源供給フラグを初期値に設定する。たとえば、CPU21は、新しく検出されたHDDに対する電源供給フラグをオンにセットする(ステップS23)。ただし、電源供給フラグのセットは、外部入力に応じて行うようにしても良い。この場合、CPU21は、新しくHDDが検出されたことを表示部14に表示し、ユーザの指示に応じて新しく検出されたHDDの電源供給フラグをオンにセットするようにしても良い。   When the newly detected ID information of the HDD is recorded, the CPU 21 sets abnormality information and a power supply flag corresponding to the HDD to initial values. For example, the CPU 21 turns on the power supply flag for the newly detected HDD (step S23). However, the power supply flag may be set according to an external input. In this case, the CPU 21 may display on the display unit 14 that a new HDD has been detected, and set the power supply flag of the newly detected HDD to ON according to a user instruction.

CPU21は、新しく検出されたHDDの電源供給フラグをオンにした後、電源切換部26に対して当該HDDへの電源供給を指示する(ステップS24)。電源切換部26は、CPU21からの指示に応じて電源供給部13を制御することにより、新しく検出されたHDDに電源が供給される。   After turning on the power supply flag of the newly detected HDD, the CPU 21 instructs the power supply switching unit 26 to supply power to the HDD (step S24). The power supply switching unit 26 controls the power supply unit 13 in accordance with an instruction from the CPU 21 to supply power to the newly detected HDD.

上記のように、本実施形態によれば、コンピュータは、個々のHDDに対して個別に電源供給を切断する制御が可能である。すなわち、コンピュータの制御部は、RAIDコントローラにて複数のハードディスクを管理し、ハードディスク異常を検出する。異常を検出した場合、制御部は、異常発生したHDDのドライブ番号および当該HDDのID情報に対応する、異常発生回数を異常情報として記憶部に保存し、エラーアラームを表示部に出力する。   As described above, according to the present embodiment, the computer can control the power supply to each HDD individually. That is, the control unit of the computer manages a plurality of hard disks with the RAID controller and detects a hard disk abnormality. When an abnormality is detected, the control unit stores the abnormality occurrence number corresponding to the drive number of the HDD in which the abnormality has occurred and the ID information of the HDD as abnormality information in the storage unit, and outputs an error alarm to the display unit.

異常発生回数がユーザ設定数を超えた場合、制御部は、表示部にアラーム出力し、異常発生回数がユーザ設定数を超えたHDDの電源供給フラグをオフに設定する。HDDの電源切換機能が有効に設定されている場合、制御部は、ハードディスクの電源制御レジスタの電源供給フラグがオフであれば、当該HDDへの電源供給を切断する。   When the number of abnormal occurrences exceeds the user set number, the control unit outputs an alarm on the display unit, and sets the power supply flag of the HDD whose abnormality occurrence number exceeds the user set number to OFF. When the power switching function of the HDD is set to be valid, the control unit cuts off the power supply to the HDD if the power supply flag of the power control register of the hard disk is off.

以上により、実施形態によれば、異常発生に応じて個々のHDDに対する電源供給を切断することができる。また、異常発生回数がユーザ設定数を超えたHDDへの電源供給を切断する制御を実現できる。さらに、電源切換機能を有効とするか否かを設定するスイッチを設けることにより、各HDDに対する電源制御を無効(オフ)とする設定が可能である。   As described above, according to the embodiment, the power supply to each HDD can be cut off in accordance with the occurrence of an abnormality. In addition, it is possible to realize control for cutting off the power supply to the HDD in which the number of occurrences of abnormality exceeds the number set by the user. Furthermore, by providing a switch for setting whether to enable the power switching function, it is possible to set power control for each HDD to be invalid (off).

また、本実施形態によれば、コンピュータは、個々のHDDに対して個別に電源を供給する制御も可能である。すなわち、制御部は、HDDに対する電源切換機能が「有効」に設定されている場合、当該HDDに対する電源供給フラグがオンであれば、当該HDDへの電源供給を行う。   Further, according to the present embodiment, the computer can also control to supply power individually to each HDD. That is, when the power switching function for the HDD is set to “valid”, the control unit supplies power to the HDD if the power supply flag for the HDD is on.

たとえば、制御部は、記憶部に記憶しているHDDのID情報と実際に接続されているHDDから読み込んだID情報とを比較することにより接続されているHDDが新たなHDDであるか否かを判断する。新たなHDDが接続されたと判断した場合、制御部は、当該HDDに対する電源供給フラグをオンにセットする。HDDに対する電源切換機能が「有効」に設定されている場合、当該HDDに対する電源供給フラグがオンに設定されれば、制御部は、当該HDDへの電源供給を行う。   For example, the control unit compares the HDD ID information stored in the storage unit with the ID information read from the actually connected HDD to determine whether the connected HDD is a new HDD. Judging. When determining that a new HDD is connected, the control unit sets a power supply flag for the HDD to ON. When the power switching function for the HDD is set to “valid”, if the power supply flag for the HDD is set to ON, the control unit supplies power to the HDD.

以上により、実施形態によれば、異常などに応じて新たなHDDを接続した場合、新たに接続されたHDDを検出してID情報などの情報を更新し、新たに接続されたHDDへの電源供給を行うようにすることができる。   As described above, according to the embodiment, when a new HDD is connected in response to an abnormality or the like, the newly connected HDD is detected, information such as ID information is updated, and the power to the newly connected HDD is updated. Supply can be made.

本実施形態によれば、RAID構成されたHDDの一部のHDDに異常発生した場合、RAIDコントローラが当該HDDを論理的に切り離してアクセスを止めるだけでなく、アクセスを止めたHDDへの電源供給も遮断できる。これにより、無駄な電力消費を抑えられる。   According to the present embodiment, when an error occurs in some HDDs of RAID-configured HDDs, the RAID controller not only logically disconnects the HDDs to stop access but also supplies power to the HDDs that have stopped access. Can also be blocked. Thereby, useless power consumption can be suppressed.

さらに、本実施形態によれば、無駄な電力消費を抑えるだけでなく、異常ハードディスクへの誤アクセスを防ぐことできる。すなわち、異常が発生したHDDへの電源供給を停止することにより、誤動作などで不正なパケットを送信される可能性をなくすことができる。また、RAIDコントローラへ不正アクセスすることで、性能劣化や動作不安定の原因を取り除くことも可能となる。この結果として、異常発生したハードディスクからの不正データ読み書きを防き、信頼性向上に効果がある。   Furthermore, according to the present embodiment, not only can unnecessary power consumption be suppressed, but also erroneous access to an abnormal hard disk can be prevented. That is, by stopping the power supply to the HDD in which an abnormality has occurred, it is possible to eliminate the possibility of sending an illegal packet due to a malfunction or the like. Also, unauthorized access to the RAID controller can eliminate the cause of performance degradation and unstable operation. As a result, reading / writing illegal data from the hard disk in which an abnormality has occurred can be prevented, and the reliability can be improved.

本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。   Although several embodiments of the present invention have been described, these embodiments are presented by way of example and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, replacements, and changes can be made without departing from the scope of the invention. These embodiments and modifications thereof are included in the scope and gist of the invention, and are included in the invention described in the claims and the equivalents thereof.

1…コンピュータ(電子計算機)、2…外部機器、11…制御部、12…HDDユニット、12a、12b、12c、12d…HDD(記憶装置)、13…電源供給部(電源供給手段)、14…表示部(報知手段)、24…記憶部(不揮発性メモリ)(記憶手段)、24a…異常情報記憶領域、24b…ID記憶領域、24c…電源制御レジスタ領域、25…RAIDコントローラ、26…電源切換部(電源切換手段)、28…スイッチ。 DESCRIPTION OF SYMBOLS 1 ... Computer (electronic computer), 2 ... External apparatus, 11 ... Control part, 12 ... HDD unit, 12a, 12b, 12c, 12d ... HDD (storage device), 13 ... Power supply part (power supply means), 14 ... Display unit (notification unit), 24: storage unit (non-volatile memory) (storage unit), 24a: abnormality information storage area, 24b: ID storage area, 24c: power control register area, 25: RAID controller, 26: power switching Part (power source switching means), 28... Switch.

Claims (5)

複数の記憶装置と、
前記複数の記憶装置にそれぞれ電源を供給する電源供給手段と、
前記複数の記憶装置に対して情報を冗長化して記憶する制御を行うコントローラと、
前記複数の記憶手段のうち何れかの記憶装置に異常が発生したことを検出した場合、異常が検出された記憶装置への電源供給を停止する電源切換手段と、
を有するコンピュータ。
A plurality of storage devices;
Power supply means for supplying power to each of the plurality of storage devices;
A controller that performs control to store redundant information in the plurality of storage devices;
Power supply switching means for stopping the power supply to the storage device in which the abnormality is detected when it is detected that an abnormality has occurred in any one of the plurality of storage means;
Having a computer.
さらに、各記憶装置に対して電源切換制御を有効とするか否かを指定するスイッチを有し、
前記電源切換手段は、前記スイッチにより電源切換制御が有効に指定されている場合、異常が検出された記憶装置に対応する当該記憶装置への電源供給を停止する、
請求項1に記載のコンピュータ。
Furthermore, it has a switch for designating whether to enable power supply switching control for each storage device,
The power switching means stops power supply to the storage device corresponding to the storage device in which an abnormality is detected when power switch control is effectively designated by the switch;
The computer according to claim 1.
各記憶装置に対する電源供給フラグを記憶する記憶手段を有し、
前記電源切換手段は、前記電源供給フラグがオフのHDDに対しては電源供給を切断し、前記電源供給フラグがオンのHDDに対して電源供給を行う、
請求項1に記載のコンピュータ。
Storage means for storing a power supply flag for each storage device;
The power switching means cuts off power supply to the HDD whose power supply flag is off, and supplies power to the HDD whose power supply flag is on;
The computer according to claim 1.
前記コントローラが制御する複数の記憶装置から新たに接続された記憶装置を検出する検出手段を有し、
前記電源切換手段は、前記検出手段が新たに接続された記憶装置を検出した場合に当該記憶装置に対して電源供給を行う、
請求項1に記載のコンピュータ。
A detecting means for detecting a newly connected storage device from a plurality of storage devices controlled by the controller;
The power switching means supplies power to the storage device when the detection means detects a newly connected storage device;
The computer according to claim 1.
各記憶装置において異常が発生した回数を記憶する記憶手段と、
前記記憶手段に記憶した記憶装置における異常発生回数が閾値を越えた場合に警告を報知する報知手段と、を有する、
請求項1に記載のコンピュータ。
Storage means for storing the number of times an abnormality has occurred in each storage device;
Informing means for informing a warning when the number of occurrences of abnormality in the storage device stored in the storage means exceeds a threshold,
The computer according to claim 1.
JP2014099083A 2014-05-12 2014-05-12 computer Pending JP2015215809A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014099083A JP2015215809A (en) 2014-05-12 2014-05-12 computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014099083A JP2015215809A (en) 2014-05-12 2014-05-12 computer

Publications (1)

Publication Number Publication Date
JP2015215809A true JP2015215809A (en) 2015-12-03

Family

ID=54752624

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014099083A Pending JP2015215809A (en) 2014-05-12 2014-05-12 computer

Country Status (1)

Country Link
JP (1) JP2015215809A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017182385A (en) * 2016-03-30 2017-10-05 日本電気株式会社 Information processing device, information processing method, and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017182385A (en) * 2016-03-30 2017-10-05 日本電気株式会社 Information processing device, information processing method, and program

Similar Documents

Publication Publication Date Title
US7350088B2 (en) Power management system for UPS attached to external devices
US9389937B2 (en) Managing faulty memory pages in a computing system
US8504769B2 (en) Computing device and method for identifying hard disks
US20170149925A1 (en) Processing cache data
JP6455132B2 (en) Information processing apparatus, processing method, and program
US10176065B2 (en) Intelligent failure prediction and redundancy management in a data storage system
US9753795B2 (en) Efficient data system error recovery
US20130290787A1 (en) System and method for recording system event logs of server
JP5924819B2 (en) Data integrity processing apparatus and data integrity processing program
JP5104479B2 (en) Information processing device
US20130151886A1 (en) Computing device and method for switching physical links of a sas expander of the computing device
JP2015215809A (en) computer
JP2013206151A (en) Storage device and data storage device exchange method of storage device
US20150100817A1 (en) Anticipatory Protection Of Critical Jobs In A Computing System
US10692335B2 (en) Green drive with status indicator
US9501427B2 (en) Primary memory module with record of usage history
JP6802484B2 (en) Storage controller, storage control program and storage control method
US9047072B2 (en) System and method for managing power supply units
JP2005258633A (en) Disk array system and method for predicting hard disk drive failure
JP6252285B2 (en) Storage control device, control method, and program
JP6293629B2 (en) Information processing device
US20130054892A1 (en) Image processing apparatus
JP6904918B2 (en) Control device and its data writing method
JP2010003132A (en) Information processor, and fault detection method of input/output device thereof, and program thereof
US20140351620A1 (en) Power supply detecting system and detecting method