JP7020936B2 - Monitoring device and storage device - Google Patents
Monitoring device and storage device Download PDFInfo
- Publication number
- JP7020936B2 JP7020936B2 JP2018012303A JP2018012303A JP7020936B2 JP 7020936 B2 JP7020936 B2 JP 7020936B2 JP 2018012303 A JP2018012303 A JP 2018012303A JP 2018012303 A JP2018012303 A JP 2018012303A JP 7020936 B2 JP7020936 B2 JP 7020936B2
- Authority
- JP
- Japan
- Prior art keywords
- information
- unit
- configuration
- monitoring
- 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 a device for monitoring stored information.
ストレージ装置の監視部が情報を格納するストレージ部の監視を行う場合、その監視部はそのストレージ装置のストレージ制御部に対しSCSIコマンドを定期的に送付し、情報を取得することが一般的に行われている。ここで、SCSIは、Small Computer System Interfaceの略である。また、ストレージ制御部は、ユーザ情報のストレージ部への入出力についての制御を行う部分である。 When the monitoring unit of a storage device monitors the storage unit that stores information, the monitoring unit generally sends SCSI commands to the storage control unit of the storage device on a regular basis to acquire information. It has been. Here, SCSI is an abbreviation for Small Computer System Interface. Further, the storage control unit is a part that controls input / output of user information to the storage unit.
ここで、特許文献1は、オペレーティングシステムで使用されるメモリがカーネル空間とユーザ空間とに分かれており、コア転送装置を含むカーネルと、第1アプリケーションと、コアダンプアプリケーションとを含むシステムを開示する。 Here, Patent Document 1 discloses a system in which a memory used in an operating system is divided into a kernel space and a user space, a kernel including a core transfer device, a first application, and a core dump application.
また、特許文献2は、外部からのデータをダイレクトメモリアクセス処理によりローカルメモリに格納し、ローカルメモリに格納したデータをダイレクトメモリアクセス処理により外部のメモリに出力する情報処理装置を開示する。 Further, Patent Document 2 discloses an information processing apparatus that stores data from the outside in a local memory by a direct memory access process and outputs the data stored in the local memory to an external memory by a direct memory access process.
また、非特許文献1は、本発明に関連して、ストレージ装置における、構成の設定、構成情報、構成情報の監視方法、性能情報及び性能情報の監視方法について開示する。 Further, Non-Patent Document 1 discloses, in relation to the present invention, a configuration setting, configuration information, a monitoring method of configuration information, a performance information, and a monitoring method of performance information in a storage device.
また、非特許文献2は、ユーザ空間及びカーネル空間について開示する。 In addition, Non-Patent Document 2 discloses a user space and a kernel space.
背景技術の項において説明したように、ストレージ装置の監視は、監視を行う部分がユーザ情報の入出力制御を行うストレージ制御部と通信を行い必要な情報を取得することにより行われる。そのため、ストレージ制御部において、通信処理のために処理リソースが使われ、ユーザ情報の入出力処理性能を劣化させる場合がある。 As described in the section of background technology, the monitoring of the storage device is performed by the monitoring part communicating with the storage control unit that controls the input / output of user information and acquiring necessary information. Therefore, in the storage control unit, processing resources are used for communication processing, which may deteriorate the input / output processing performance of user information.
本発明は、監視用情報の取得による入出力処理性能への影響を軽減し得る監視装置等の提供を目的とする。 An object of the present invention is to provide a monitoring device or the like that can reduce the influence on the input / output processing performance due to the acquisition of monitoring information.
本発明の監視装置は、ストレージ部の状況に係るカーネル空間の第一情報とユーザ空間の第二情報とを所定のタイミングで同期させる同期部と、前記第二情報から前記状況を表す状況情報を取得し、出力する監視部と、を備える。 The monitoring device of the present invention has a synchronization unit that synchronizes the first information in the kernel space related to the status of the storage unit and the second information in the user space at a predetermined timing, and the status information indicating the status from the second information. It is equipped with a monitoring unit that acquires and outputs.
本発明の監視装置等は、監視用情報の取得による入出力処理性能への影響を軽減し得る。 The monitoring device or the like of the present invention can reduce the influence on the input / output processing performance due to the acquisition of monitoring information.
<第一実施形態>
第一実施形態は、監視対象が構成情報であるストレージ装置に関する実施形態である。
[構成と動作]
本実施形態のストレージ装置の特徴の説明に先立ち、その前提となるストレージ装置について説明する。
<First Embodiment>
The first embodiment is an embodiment relating to a storage device whose monitoring target is configuration information.
[Configuration and operation]
Prior to the description of the features of the storage device of the present embodiment, the storage device as a premise thereof will be described.
図1は、一般的と考えられるストレージ装置の例であるストレージ装置103の構成を表す概念図である。
FIG. 1 is a conceptual diagram showing a configuration of a
ストレージ装置103は、処理部108と、ストレージ制御部105と、メモリ106と、ストレージ部102とを備える。処理部108は、構成設定部117と、状態監視部104とを備える。
The
処理部108及びストレージ制御部105の各々は、例えば、中央演算処理装置である。処理部108及びストレージ制御部105とは、同一の構成に含まれていても構わない。
Each of the
監視サーバ802は、構成設定部117に対し、ストレージ部102及びメモリ106の構成を行うための構成指示情報を送付する。
The
当該構成指示情報の表す内容は、物理デバイスや論理デバイスの構成の設定や解除、ホストサーバとのアクセスコントロール設定や論理デバイスの容量拡張、及び予防保守指示等である。当該構成指示情報の詳細については、非特許文献1に記載がある。構成設定部117は、監視サーバ802から送付された構成指示情報に従い、ストレージ制御部105に対し、構成指示情報より導出したSCSIコマンドである構成指示コマンドを送付する。
The contents represented by the configuration instruction information include setting and cancellation of the configuration of the physical device and the logical device, access control setting with the host server, capacity expansion of the logical device, preventive maintenance instruction, and the like. Details of the configuration instruction information are described in Non-Patent Document 1. The
監視サーバ802は、また、状態監視部104に対し、構成の監視を行うための監視指示情報を送付する。状態監視部104は、監視サーバ802から送付された監視指示情報に従い、ストレージ制御部105への、ストレージ制御部105に対し、ストレージ制御部105が実行した構成に関する確認情報の送付を指示する。当該指示は、SCSIコマンドである監視コマンドにより行われる。
The
例えば、論理ディスクを構築する場合には、ディスク媒体のフォーマットを行い、また、RAID管理するための設定(データをどのディスクに分散させる等)を行う必要がある。ここで、RAIDは、Redundant Arrays of Inexpensive Disksの略である。 For example, when constructing a logical disk, it is necessary to format the disk medium and make settings for RAID management (such as distributing data to which disk). Here, RAID is an abbreviation for Redundant Arrays of Inexpentive Disks.
ストレージ装置103が、前述のように構成の設定を行ったにも拘らず、構成状態の監視を行うのは、次の二つの理由による。
The
その理由は、一つには、監視サーバ802は、ストレージ装置103に対し構成の最終形の指示を行い、最終形に至る途中経過の状態をストレージ装置103に報告させることで構成の状態を監視するためである。
One reason is that the
その理由は、二つには、故障が生じることによる構成の変化を監視するためである。ストレージ装置103のストレージ制御部105は、ストレージ部102に含まれるディスク等の構成部分の故障を認識した場合には、故障部分を自動修復するためスペアに切替え、又は、前記故障部分の異常を表す状態更新を行う。監視サーバ802は、この構成の変化をストレージ制御部105に報告させることで、構成の状態を監視する。
The second reason is to monitor the change in configuration due to the failure. When the
状態監視部104は、また、ストレージ制御部105から取得した情報により、メモリ106が保持するユーザ空間メモリ107が格納する構成情報118を更新する。ここで、ユーザ空間メモリは、ユーザ空間の情報を格納する仮想メモリである。ユーザ空間については、非特許文献2に開示がある。
The
以上説明した監視動作の詳細については、非特許文献1に記述がある。 The details of the monitoring operation described above are described in Non-Patent Document 1.
状態監視部104は、ストレージ制御部105からの応答に含まれる情報を元に、監視サーバ802からの前記監視指示情報に対する応答情報を作成する。そして、状態監視部104は、作成した応答情報を監視サーバ802に送付する。
The
ストレージ制御部105は、構成設定部117から送付された前記構成指示コマンドに従い、ストレージ部102及びメモリ106についての前述の構成を行う。ストレージ制御部105は、当該構成の内容を表す構成情報116を、メモリ106が保持する、カーネル空間メモリ113内の構成情報116に格納する。ここで、カーネル空間メモリは、カーネル空間の情報を格納する仮想メモリである。カーネル空間については非特許文献2に開示がある。
The
ストレージ制御部105は、また、状態監視部104から送付された前記監視コマンドに従い、構成情報116に含まれる、当該監視コマンドにより指定される内容を読み込む。そして、ストレージ制御部105は、読み込んだ情報を、監視コマンドに対する応答として、状態監視部104に送付する。
The
ストレージ制御部105は、また、ホストサーバ801とストレージ部102との間での情報の入出力処理を制御する。ストレージ制御部105は、ホストサーバ801との間の情報の入出力処理と、監視サーバ802との間で行われる、前記構成に関する監視処理とを並行して行う。
The
図2は、第一実施形態のストレージ装置の例であるストレージ装置103の構成を表す概念図である。
FIG. 2 is a conceptual diagram showing the configuration of the
ストレージ装置103は、図1に表すストレージ装置103の処理部108に同期部109を追加した構成を備える。
The
図2に表すストレージ装置103の説明は、以下を除いて、図1に表すストレージ装置103の説明と同じである。以下の説明と図1の説明とが矛盾する場合は、以下の説明を優先する。
The description of the
同期部109は、メモリ106内のカーネル空間メモリ113における構成情報116の格納領域に相当する、ユーザ空間の構成情報118の格納領域を、ユーザ空間メモリ107に確保する。そして、同期部109は、構成情報116の新規作成又は更新が行われると、所定のタイミングで、差分情報をカーネル空間の情報からユーザ空間の情報に変換する。そして、同期部109は、変換後の差分情報により、構成情報118を更新する。同期部109が行う上記処理を同期処理ということにする。
The
同期部109は、ストレージ制御部105により、構成情報116の情報要素に変更が加えられたことを、例えば、以下の動作により検出する。
The
ストレージ制御部105は、メモリ106への構成情報116の情報要素の書き込みを行う際に、当該情報要素を、メモリ106が備える図示しないレジスタに格納させる。当該レジスタの後段には、情報要素を格納させるメモリ106のアドレスに対応するアドレスレジスタへ前記情報要素を分配する分配部がある。当該アドレスレジスタは、格納する情報要素を、メモリ106の対応するアドレスに格納させるものである。ストレージ制御部105は、前記分配部へ、前記アドレスを送付する。
When writing the information element of the
同期部109は、ストレージ制御部105から前記分配部へ送付されるアドレスを監視する。そして、ある期間内に前記分配部に送付されたアドレスをユーザ空間メモリ107が備える更新用アドレス群格納部に更新用アドレス群119として格納する。
The
同期部109は、例えば、上記検出を行う専用のFPGAを備えることにより、前記同期処理を行う。ここで、FPGAは、field-programmable gate arrayの略である。
The
その後、同期部109は、更新用アドレス群119に含まれる更新用アドレスに格納された構成情報116の各情報要素を、構成情報118の情報要素に変換し、構成情報118に上書きする。その際に、同期部109は、変換後の構成情報118の情報要素を格納するメモリ106のアドレスを、ユーザ空間メモリ107が予め保持する対応情報120により特定する。対応情報120は、構成情報116に含まれる各情報要素が格納されるアドレスと、構成情報118に含まれる各情報要素が格納されるアドレスとの、対応を表す情報である。
After that, the
同期部109が行う、カーネル空間の情報のユーザ空間の情報への変換は、例えば、市販の中央演算処理装置(Intel社製等)が備えるDMA機能により行うことができる。ここで、DMAは、Direct Memory Accessの略である。
The conversion of the kernel space information into the user space information performed by the
同期部109は、格納された構成情報116の各情報要素の、構成情報118の情報要素への変換と、構成情報118への上書きとが終了すると、更新用アドレス群119に含まれる更新用アドレスを削除する。そして、同期部109は、次の期間について、更新用アドレスの更新用アドレス群119への格納を行う。そして、同期部109は、上記と同様に、格納された構成情報116の各情報要素を、構成情報118の情報要素に変換し、構成情報118に上書きする。
When the conversion of each information element of the stored
同期部109は、上記動作を繰り返す。
The
状態監視部104は、ユーザ空間メモリ107が保持する構成情報118を読み込むことにより、ストレージ制御部105が実行した構成の状態を監視する。
[処理フロー例]
次に、図2に表すストレージ装置103が行う処理について説明する。
The
[Processing flow example]
Next, the processing performed by the
図3は、ストレージ装置103の起動時に行われる処理の処理フロー例を表す概念図である。
FIG. 3 is a conceptual diagram showing an example of a processing flow of processing performed when the
ストレージ装置103は、例えば、電源の投入と外部からの開始情報の入力により、図3に表す処理を開始する。
The
そして、ストレージ装置103は、S101の処理として、ストレージ制御部105、ストレージ部102及びメモリ106の起動を行う。ここで、ストレージ制御部105の起動は、例えば、ストレージ制御部105への電力供給と、ストレージ制御部105を動作させるソフトウェアの起動である。当該ソフトウェアは、処理部108と接続された図示しない格納部が保持する。また、ストレージ部102の起動は、例えば、ストレージ部102への電力供給と、ストレージ部102の各構成の動作チェックである。また、メモリ106の起動は、例えば、メモリ106への電力供給と、メモリ106を構成する各メモリの動作チェックである。
Then, the
そして、ストレージ制御部105は、S102の処理として、図2に表す構成情報116を格納する領域を、メモリ106のカーネル空間メモリ113に確保する。
Then, as the process of S102, the
そして、ストレージ装置103は、S103の処理として、同期部109の起動を行う。当該起動は、例えば、同期部109への電力供給と同期部109を動作させるためのソフトウェアの起動である。
Then, the
次に、同期部109は、S104の処理として、図2に表すメモリ106のユーザ空間メモリ107に、構成情報118を格納するための領域を確保する。そして、同期部109は、前述の同期処理を開始する。
Next, as a process of S104, the
次に、ストレージ装置103は、S105の処理として、図2に表す構成設定部117の起動を行う。当該起動は、例えば、構成設定処理を行うソフトウェアの起動である。当該ソフトウェアは、処理部108と接続された図示しない格納部が保持する。ここで、処理部108には既に電力が供給されていることを前提としている。当該起動により、構成設定部117は、前述の構成設定処理を行うことが可能になる。
Next, the
次に、ストレージ装置103は、S106の処理として、図2に表す状態監視部104を起動する。当該起動は、例えば、構成情報118の状態監視を行うためのソフトウェアの起動である。当該ソフトウェアは、処理部108と接続された図示しない格納部が保持する。ここで、処理部108には既に電力が供給されていることを前提としている。当該起動により、状態監視部104は、前述の構成情報118の監視を行うことが可能になる。
Next, the
以上により、ストレージ装置103は、起動を完了する。
As a result, the
図4は、図2に表す構成設定部117が行う構成設定処理の処理フロー例を表す概念図である。
FIG. 4 is a conceptual diagram showing an example of a processing flow of the configuration setting process performed by the
構成設定部117は、例えば、図3に表すS105の処理の完了により、図4に表す処理を開始する。
The
そして、構成設定部117は、S201の処理として、図2に表す監視サーバ802から構成設定に係る指示情報を受信したかについての判定を行う。
Then, the
構成設定部117は、S201の処理による判定結果がyesの場合は、S202の処理を行う。
If the determination result by the process of S201 is yes, the
一方、構成設定部117は、S201の処理による判定結果がnoの場合は、S201の処理を再度行う。
On the other hand, if the determination result by the processing of S201 is no, the
構成設定部117は、S202の処理を行う場合は、同処理として、ストレージ制御部105に対し、前記指示情報に基づく前述の構成設定コマンドを送付する。
When the
そして、構成設定部117は、S203の処理として、ストレージ制御部105から、S202の処理により送付した構成設定コマンドに対する結果応答があったかについて判定する。
Then, the
構成設定部117は、S203の処理による判定結果がyesの場合は、S204の処理を行う。
If the determination result by the process of S203 is yes, the
一方、構成設定部117は、S203の処理による判定結果がnoの場合は、S203の処理を再度行う。
On the other hand, if the determination result by the process of S203 is no, the
構成設定部117は、S204の処理を行う場合は、同処理として、S203の処理により送付があったことを判定した結果応答に基づき、監視サーバ802からの構成設定指示についての報告情報を作成する。そして、構成設定部117は、作成した報告情報を監視サーバ802に送付する。
When the
そして、構成設定部117は、S205の処理として、図4に表す処理を終了するかについての判定を行う。
Then, the
構成設定部117は、S205の処理による判定結果がyesの場合は、図4に表す処理を終了する。
When the determination result by the process of S205 is yes, the
一方、構成設定部117は、S203の処理による判定結果がnoの場合は、S201の処理を再度行う。
On the other hand, if the determination result by the process of S203 is no, the
図5は、図2に表すストレージ制御部105が行う、構成情報116の更新処理の処理フロー例を表す概念図である。
FIG. 5 is a conceptual diagram showing an example of a processing flow of the update processing of the
ストレージ制御部105は、例えば、図3に表すS101の処理の完了により、図5に表す処理を開始する。
For example, the
そして、ストレージ制御部105は、S301の処理として、構成に係る変更を行ったかについての判定を行う。ここで、ストレージ制御部105は、前述のように、ストレージ部102の部分に不良等が生じた場合に修復を目的とする構成変更を、不良を検出した時に行っていることを前提としている。
Then, the
ストレージ制御部105は、S301の処理による判定結果がyesの場合は、S302の処理を行う。
If the determination result by the processing of S301 is yes, the
一方、ストレージ制御部105は、S301の処理による判定結果がnoの場合は、S301の処理を再度行う。
On the other hand, when the determination result by the processing of S301 is no, the
ストレージ制御部105は、S302の処理を行う場合は、同処理として、S301の処理により変更を行ったことを判定した構成について、図2に表す構成情報116の変更を行う。
When the processing of S302 is performed, the
そして、ストレージ制御部105は、S303の処理として図5に表す処理を終了するかについての判定を行う。ストレージ制御部105は、当該判定を、例えば、外部からの終了情報の入力の有無を判定することにより行う。
Then, the
ストレージ制御部105は、S303の処理による判定結果がyesの場合は、図5に表す処理を終了する。
If the determination result by the process of S303 is yes, the
一方、ストレージ制御部105は、S301の処理による判定結果がnoの場合は、S301の処理を再度行う。
On the other hand, when the determination result by the processing of S301 is no, the
図6は、図2に表す同期部109が行う更新用アドレス抽出処理の処理フロー例を表す概念図である。
FIG. 6 is a conceptual diagram showing an example of a processing flow of the update address extraction process performed by the
同期部109は、例えば、図3に表すS103の処理が完了することにより、図6に表す処理を開始する。
The
そして、同期部109は、S431の処理として、同期を実行する同期タイミングかについての判定を行う。当該同期タイミングは、例えば、所定の時間間隔のタイミングである。同期タイミングは、外部からの入力により通知されても構わない。
Then, the
同期部109は、S431の処理による判定結果がyesの場合は、S435の処理を行う。
If the determination result by the processing of S431 is yes, the
一方、同期部109は、S431の処理による判定結果がnoの場合は、S432の処理を行う。
On the other hand, when the determination result by the processing of S431 is no, the
同期部109は、S432の処理を行う場合は、同処理として、構成情報116の情報要素を更新する際に、カーネル空間メモリ113のいずれかのアドレスを指定するアドレスを含む信号の送付があったかについての判定を行う。当該アドレスは、前述の選択部に送付されるものである。
When the
同期部109は、S431の処理による判定結果がyesの場合は、S433の処理を行う。
If the determination result by the processing of S431 is yes, the
一方、同期部109は、S431の処理による判定結果がnoの場合は、S431の処理を再度行う。
On the other hand, when the determination result by the processing of S431 is no, the
同期部109は、S433の処理を行う場合は、同処理として、当該信号からアドレスを抽出する。
When the
そして、同期部109は、S434の処理として、抽出したアドレスを前述の更新用アドレスとして、図2に表す更新用アドレス群119に含める。そして、同期部109は、S431の処理を再度行う。
Then, the
同期部109は、S435の処理を行う場合は、同処理として、更新用アドレス群119に含まれる更新用アドレスを消去する。
When the
そして、同期部109は、S436の処理として、図6に表す処理を終了するかについての判定を行う。同期部109は、同処理を、例えば、外部からの終了情報の入力の有無を判定することにより行う。
Then, the
同期部109は、S436の処理による判定結果がyesの場合は、図6に表す処理を終了する。
When the determination result by the process of S436 is yes, the
一方、同期部109は、S436の処理による判定結果がnoの場合は、S431の処理を再度行う。
On the other hand, when the determination result by the processing of S436 is no, the
図7は、同期部109が行う同期処理の処理フロー例を表す概念図である。
FIG. 7 is a conceptual diagram showing an example of a processing flow of synchronization processing performed by the
同期部109は、例えば、図3に表すS103の処理が完了することにより、図6に表す処理を開始する。
The
そして、同期部109は、S441の処理として、同期を実行する同期タイミングかについての判定を行う。当該同期タイミングは、例えば、図6のS431の処理における同期タイミングから所定の時間遅れたタイミングである。
Then, the
同期部109は、S441の処理による判定結果がyesの場合は、S442の処理を行う。
When the determination result by the processing of S441 is yes, the
一方、同期部109は、S441の処理による判定結果がnoの場合は、S441の処理を再度行う。
On the other hand, when the determination result by the processing of S441 is no, the
同期部109は、S442の処理を行う場合は、同処理として、図2に表す更新用アドレス群119に、更新用アドレスが含まれているかについての判定を行う。
When the processing of S442 is performed, the
同期部109は、S442の処理による判定結果がyesの場合は、S443の処理を行う。
When the determination result by the processing of S442 is yes, the
一方、同期部109は、S442の処理による判定結果がnoの場合は、S441の処理を再度行う。
On the other hand, when the determination result by the processing of S442 is no, the
同期部109は、S443の処理を行う場合は、同処理として、更新用アドレス群119に、S444の処理が未処理の更新用アドレスが含まれているかについての判定を行う。
When the processing of S443 is performed, the
同期部109は、S443の処理による判定結果がyesの場合は、S444の処理を行う。
If the determination result by the processing of S443 is yes, the
一方、同期部109は、S443の処理による判定結果がnoの場合は、S447の処理を行う。
On the other hand, when the determination result by the processing of S443 is no, the
同期部109は、S444の処理を行う場合は、同処理として、更新用アドレス群119に含まれる、S444の処理をまだ行っていない更新用アドレスを一つ特定する。
When the processing of S444 is performed, the
そして、同期部109は、S445の処理として、S444の処理により特定した更新用アドレスに含まれる、カーネル空間の情報要素を、ユーザ空間の情報要素に変換する。
Then, as the process of S445, the
そして、同期部109は、S446の処理として、S445の処理により変換したユーザ空間の情報要素を、S444の処理により特定した更新用アドレスに対応する更新先アドレスに格納する。同期部109は、当該更新先アドレスを、S444の処理により特定した更新用アドレスと図2に表す対応情報130により特定する。なお、同期部109は、当該更新先アドレスに情報要素が既に格納されている場合は、その情報要素を、S445の処理により変換したユーザ空間の情報要素により置き換える。
Then, as the process of S446, the
そして、同期部109は、S443の処理を、再度行う。
Then, the
同期部109は、S447の処理を行う場合は、同処理として、更新用アドレス群119に含まれる更新用アドレスを消去する。
When the
そして、同期部109は、S436の処理として、図6に表す処理を終了するかについての判定を行う。同期部109は、同処理を、例えば、外部からの終了情報の入力の有無を判定することにより行う。
Then, the
同期部109は、S436の処理による判定結果がyesの場合は、図6に表す処理を終了する。
When the determination result by the process of S436 is yes, the
一方、同期部109は、S436の処理による判定結果がnoの場合は、S431の処理を再度行う。
On the other hand, when the determination result by the processing of S436 is no, the
図8は、図2に表す状態監視部104が行う、構成情報の監視処理の処理フロー例を表す概念図である。
FIG. 8 is a conceptual diagram showing an example of a processing flow of configuration information monitoring processing performed by the
状態監視部104は、例えば、図3に表すS106の処理の完了により、図8に表す処理を開始する。
The
そして、状態監視部104は、S501の処理として、図2に表す監視サーバ802から、報告情報の送付指示があったかについての判定を行う。
Then, as the process of S501, the
状態監視部104は、S501の処理による判定結果がyesの場合は、S502の処理を行う。
If the determination result by the processing of S501 is yes, the
一方、状態監視部104は、S501の処理による判定結果がnoの場合は、S501の処理を再度行う。
On the other hand, if the determination result by the processing of S501 is no, the
状態監視部104は、S502の処理を行う場合は、同処理として、図2に表す構成情報118の参照を開始する。
When performing the processing of S502, the
そして、状態監視部104は、S503の処理として、構成情報118により報告情報を作成し、図2に表す監視サーバ802に送付する。
Then, as the process of S503, the
そして、状態監視部104は、S504の処理として、図8に表す処理を終了するかについての判定を行う。
Then, the
状態監視部104は、S504の処理による判定結果がyesの場合は、図8に表す処理を終了する。
If the determination result by the process of S504 is yes, the
一方、状態監視部104は、S504の処理による判定結果がnoの場合は、S501の処理を再度行う。
[効果]
第一実施形態のストレージ装置は、カーネル空間における構成情報と同じ内容のユーザ空間の構成情報を作成、更新する。そして、前記ストレージ装置は、ユーザ空間の構成情報により、構成の状態変化を監視する。そのため、前記ストレージ装置においては、監視部とユーザ情報の入出力制御を行うストレージ制御部との間の前記監視のための通信を省略することができる。これにより、前記ストレージ装置は、前記通信による前記入出力制御への影響を抑え得る。
<第二実施形態>
第二実施形態は、監視対象が性能情報であるストレージ装置に関する実施形態である。
[構成と動作]
図9は、第二実施形態のストレージ装置の例であるストレージ装置103aの構成を表す概念図である。
On the other hand, if the determination result by the processing of S504 is no, the
[effect]
The storage device of the first embodiment creates and updates the user space configuration information having the same contents as the configuration information in the kernel space. Then, the storage device monitors the state change of the configuration based on the configuration information of the user space. Therefore, in the storage device, the communication for monitoring between the monitoring unit and the storage control unit that controls the input / output of user information can be omitted. As a result, the storage device can suppress the influence of the communication on the input / output control.
<Second embodiment>
The second embodiment is an embodiment relating to a storage device whose monitoring target is performance information.
[Configuration and operation]
FIG. 9 is a conceptual diagram showing the configuration of the
ストレージ装置103aは、処理部108aと、ストレージ制御部105と、メモリ106と、ストレージ部102とを備える。処理部108aは、性能監視部104aと同期部109aを備える。
The
処理部108a及びストレージ制御部105の各々は、例えば、中央演算処理装置である。処理部108a及びストレージ制御部105とは、同一の構成に含まれていても構わない。
Each of the
監視サーバ802からは、性能監視部104aに対し、ストレージ部102の各部分の性能の監視結果を報告させるための指示情報が送付される。当該性能は、例えば、ストレージ部102の各部分の負荷状況や遅延の状態等である。性能監視については、非特許文献1に開示がある。
The
ストレージ制御部105は、ホストサーバ801とストレージ部102との間での情報の入出力処理を行う。
The
ストレージ制御部105は、また、所定のタイミングで、ストレージ部102の各部分の性能を調べ、メモリ106のカーネル空間メモリ113に格納された性能情報116aを更新する。
The
同期部109aは、メモリ106内のカーネル空間メモリ113における性能情報116aの格納領域に相当する、ユーザ空間の性能情報118aの格納領域をユーザ空間メモリ107に確保する。そして、同期部109aは、性能情報116aの新規作成又は更新が行われると、差分情報を、カーネル空間の情報からユーザ空間の情報に変換した上で性能情報118aを更新する、同期処理を行う。
The
同期部109aは当該同期処理を例えば次のように行う。すなわち、構成情報16の各要素が格納されるカーネル空間メモリ113の各アドレスと、構成情報18が格納されるユーザ空間メモリ107の各アドレスとを、対応付けておく。そして、同期部109aは、カーネル空間アドレスに格納された構成情報116の要素が変更された場合には、その要素をユーザ空間の情報に変換した要素により、そのアドレスに対応するユーザ空間アドレスに格納されている要素を置き換える。ここで、前記カーネル空間アドレスは、カーネル空間メモリ113のアドレスである。また、前記ユーザ空間アドレスは、ユーザ空間メモリ107のアドレスである。
The
同期部109は、例えば、上記動作を行う専用のFPGAを備えることにより、前記同期処理を行う。
The
カーネル空間の情報のユーザ空間の情報への変換は、例えば、市販の中央演算処理装置(Intel社製等)が備えるDMA機能により行うことができる。 The conversion of the kernel space information into the user space information can be performed by, for example, the DMA function provided in a commercially available central processing unit (manufactured by Intel, etc.).
そして、性能監視部104aは、監視サーバ802から送付された前述の指示情報の送付を受けて、ユーザ空間メモリ107が保持する性能情報118aを読み込む。そして、性能監視部104aは、ストレージ部102の各部分の性能を現す報告情報を作成し、監視サーバ802に送付する。
[効果]
第二実施形態のストレージ装置は、カーネル空間における性能情報と同じ内容のユーザ空間の性能情報を作成、更新する。そして、前記ストレージ装置は、ユーザ空間の性能情報により、ストレージ部各部分の性能を監視する。そのため、前記ストレージ装置においては、監視部とユーザ情報の入出力制御を行うストレージ制御部との間の前記監視のための通信を省略することができる。これにより、前記ストレージ装置は、前記通信による前記入出力制御への影響を抑え得る。
Then, the
[effect]
The storage device of the second embodiment creates and updates the performance information of the user space having the same contents as the performance information in the kernel space. Then, the storage device monitors the performance of each part of the storage unit based on the performance information of the user space. Therefore, in the storage device, the communication for monitoring between the monitoring unit and the storage control unit that controls the input / output of user information can be omitted. As a result, the storage device can suppress the influence of the communication on the input / output control.
図10は、実施形態の監視装置の最小限の構成である監視装置103xの構成を表す概念図である。 FIG. 10 is a conceptual diagram showing the configuration of the monitoring device 103x, which is the minimum configuration of the monitoring device of the embodiment.
監視装置103xは、同期部109xと、監視部104xとを備える。
The monitoring device 103x includes a
同期部109xは、ストレージ部の状況に係るカーネル空間の第一情報に相当する、ユーザ空間の第二情報を所定のタイミングで更新する。
The
監視部104xは、前記第二情報から前記状況を表す状況情報を取得し、出力する。
The
監視装置103xは、外部とストレージ部との間の情報の入出力制御を行うストレージ制御部との通信を行わず、ストレージ制御部がカーネル空間メモリに格納した前記第一情報に相当するユーザ空間メモリの情報を監視する。そのため、監視装置103xは、前記通信による前記入出力制御への影響を抑え得る。 The monitoring device 103x does not communicate with the storage control unit that controls the input / output of information between the outside and the storage unit, and the user space memory corresponding to the first information stored in the kernel space memory by the storage control unit. Monitor the information in. Therefore, the monitoring device 103x can suppress the influence of the communication on the input / output control.
そのため、監視装置103xは、前記構成により、[発明の効果]の項に記載した効果を奏する。 Therefore, the monitoring device 103x exhibits the effects described in the section [Effects of the Invention] by the above configuration.
なお、同期部109xは、例えば、図2に表す同期部109又は図9に表す同期部109aである。また、監視部104xは、例えば、図2に表す状態監視部104又は図9に表す性能監視部104aである。
The
また、前記カーネル空間メモリは、例えば、図2又は図9に表すカーネル空間メモリ113である。また、前記第一情報は、例えば、図2に表す構成情報116又は図9に表す性能情報116aである。
Further, the kernel space memory is, for example, the
また、前記ユーザ空間メモリは、例えば、図2又は図9に表すユーザ空間メモリ107である。また、前記第二情報は、例えば、図2に表す構成情報118又は図9に表す性能情報118aである。
Further, the user space memory is, for example, the
また、前記外部は、例えば、図2又は図9に表すホストサーバ801である。また、前記ストレージ制御部は、例えば、図2又は図9に表すストレージ制御部105である。また、前記ストレージ部は、例えば、図2又は図9に表すストレージ部102である。
Further, the outside is, for example, the
以上、本発明の各実施形態を説明したが、本発明は、前記した実施形態に限定されるものではなく、本発明の基本的技術的思想を逸脱しない範囲で更なる変形、置換、調整を加えることができる。例えば、各図面に示した要素の構成は、本発明の理解を助けるための一例であり、これらの図面に示した構成に限定されるものではない。 Although each embodiment of the present invention has been described above, the present invention is not limited to the above-described embodiment, and further modifications, substitutions, and adjustments can be made without departing from the basic technical idea of the present invention. Can be added. For example, the composition of the elements shown in each drawing is an example for facilitating the understanding of the present invention, and is not limited to the composition shown in these drawings.
また、前記の実施形態の一部又は全部は、以下の付記のようにも記述され得るが、以下には限られない。
(付記1)
ストレージ部の状況に係るカーネル空間の第一情報とユーザ空間の第二情報とを所定のタイミングで同期させる同期部と、
前記第二情報から前記状況を表す状況情報を取得し、出力する監視部と、
を備える、監視装置。
(付記2)
前記第一情報が、ストレージ部の構成を表す構成情報である、付記1に記載された監視装置。
(付記3)
前記構成を変更する構成変更部をさらに備える、付記2に記載された監視装置。
(付記4)
前記変更が修正である、付記3に記載された監視装置。
(付記5)
前記第一情報が、前記ストレージ部の性能を表す性能情報である、付記1に記載された監視装置。
(付記6)
前記性能が、前記ストレージ部の部分についてのものである、付記5に記載された監視装置。
(付記7)
前記監視部が、前記状況情報から報告情報を生成し、前記報告情報を外部に送付する、付記1乃至付記6のうちのいずれか一に記載された監視装置。
(付記8)
前記外部が、前記報告情報の送付を要求したサーバである、付記7に記載された監視装置。
(付記9)
付記1乃至付記8のうちのいずれか一に記載された監視装置と、所定の情報の前記ストレージ部への入出力を制御する制御部とを備える、ストレージ装置。
(付記10)
付記3又は付記4に記載された監視装置と、所定の情報の前記ストレージ部への入出力を制御する制御部とを備え、
前記制御部が、前記構成変更部を備える、ストレージ装置。
(付記11)前記ストレージ部をさらに備える、付記9又は付記10に記載されたストレージ装置。
(付記12)前記第一情報及び前記第二情報を格納する格納部をさらに備える、付記9乃至付記11のうちのいずれか一に記載されたストレージ装置。
(付記13)
カーネル空間メモリに格納された、ストレージ部の状況に係る第一情報に相当する、ユーザ空間メモリに格納された第二情報を所定のタイミングで更新し、
前記第二情報から前記状況を表す状況情報を取得し、出力する、
監視方法。
(付記14)
カーネル空間メモリに格納された、ストレージ部の状況に係る第一情報に相当する、ユーザ空間メモリに格納された第二情報を所定のタイミングで更新する処理と、
前記第二情報から前記状況を表す状況情報を取得し、出力する処理と、
をコンピュータに実行させる監視プログラム。
Further, a part or all of the above-described embodiment may be described as in the following appendix, but is not limited to the following.
(Appendix 1)
A synchronization unit that synchronizes the first information in the kernel space and the second information in the user space related to the status of the storage unit at a predetermined timing,
A monitoring unit that acquires and outputs status information representing the situation from the second information,
A monitoring device.
(Appendix 2)
The monitoring device according to Appendix 1, wherein the first information is configuration information representing the configuration of the storage unit.
(Appendix 3)
The monitoring device according to Appendix 2, further comprising a configuration change unit for changing the configuration.
(Appendix 4)
The monitoring device according to Appendix 3, wherein the change is a modification.
(Appendix 5)
The monitoring device according to Appendix 1, wherein the first information is performance information indicating the performance of the storage unit.
(Appendix 6)
The monitoring device according to Appendix 5, wherein the performance is for the part of the storage unit.
(Appendix 7)
The monitoring device according to any one of Supplementary note 1 to Supplementary note 6, wherein the monitoring unit generates report information from the status information and sends the report information to the outside.
(Appendix 8)
The monitoring device according to Appendix 7, wherein the outside is a server that requests the transmission of the report information.
(Appendix 9)
A storage device including the monitoring device according to any one of Supplementary note 1 to Supplementary note 8 and a control unit for controlling input / output of predetermined information to the storage unit.
(Appendix 10)
The monitoring device described in Appendix 3 or Appendix 4 and a control unit that controls input / output of predetermined information to the storage unit are provided.
A storage device in which the control unit includes the configuration change unit.
(Supplementary Note 11) The storage device according to Supplementary note 9 or Supplementary note 10, further comprising the storage unit.
(Supplementary Note 12) The storage device according to any one of Supplementary note 9 to Supplementary note 11, further comprising a storage unit for storing the first information and the second information.
(Appendix 13)
The second information stored in the user space memory, which corresponds to the first information related to the status of the storage unit stored in the kernel space memory, is updated at a predetermined timing.
Acquires and outputs status information representing the situation from the second information.
Monitoring method.
(Appendix 14)
The process of updating the second information stored in the user space memory, which corresponds to the first information related to the status of the storage unit, stored in the kernel space memory, and the process of updating the second information stored in the user space memory at a predetermined timing.
A process of acquiring and outputting status information representing the situation from the second information,
A monitoring program that lets your computer run.
102 ストレージ部
103、103a ストレージ装置
103x 監視装置
104 状態監視部
104a 性能監視部
104x 監視部
105 ストレージ制御部
106 メモリ
107 ユーザ空間メモリ
108、108a 処理部
109、109a 同期部
109x 同期部
113 カーネル空間メモリ
116、118 構成情報
116a、118a 性能情報
117 構成設定部
801 ホストサーバ
802 監視サーバ
102
Claims (10)
前記第二情報から前記状況を表す状況情報を取得し、出力する監視部と、
を備える、監視装置。 A synchronization unit that synchronizes the first information in the kernel space and the second information in the user space related to the status of the storage unit at a predetermined timing,
A monitoring unit that acquires and outputs status information representing the situation from the second information,
A monitoring device.
前記ストレージ部と、
前記第一情報及び前記第二情報を格納する格納部と、
を備える、ストレージ装置。 The monitoring device according to any one of claims 1 to 8, a control unit that controls input / output of predetermined information to the storage unit, and the like.
With the storage unit
A storage unit for storing the first information and the second information,
A storage device.
前記ストレージ部と、
前記第一情報及び前記第二情報を格納する格納部と、
を備え、
前記制御部が、前記構成変更部を備える、ストレージ装置。 The monitoring device according to claim 3 or 4, a control unit that controls input / output of predetermined information to the storage unit, and the like.
With the storage unit
A storage unit for storing the first information and the second information,
Equipped with
A storage device in which the control unit includes the configuration change unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018012303A JP7020936B2 (en) | 2018-01-29 | 2018-01-29 | Monitoring device and storage device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018012303A JP7020936B2 (en) | 2018-01-29 | 2018-01-29 | Monitoring device and storage device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2019133221A JP2019133221A (en) | 2019-08-08 |
JP7020936B2 true JP7020936B2 (en) | 2022-02-16 |
Family
ID=67547477
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2018012303A Active JP7020936B2 (en) | 2018-01-29 | 2018-01-29 | Monitoring device and storage device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7020936B2 (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006268402A (en) | 2005-03-24 | 2006-10-05 | Fujitsu Ltd | Data storage system and log data output method when storage control unit is defective |
JP2014002785A (en) | 2013-09-04 | 2014-01-09 | Hitachi Ltd | Computer system, management computer and storage management method |
JP2015191523A (en) | 2014-03-28 | 2015-11-02 | 富士通株式会社 | Configuration management apparatus, configuration management system, and configuration management program |
-
2018
- 2018-01-29 JP JP2018012303A patent/JP7020936B2/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006268402A (en) | 2005-03-24 | 2006-10-05 | Fujitsu Ltd | Data storage system and log data output method when storage control unit is defective |
JP2014002785A (en) | 2013-09-04 | 2014-01-09 | Hitachi Ltd | Computer system, management computer and storage management method |
JP2015191523A (en) | 2014-03-28 | 2015-11-02 | 富士通株式会社 | Configuration management apparatus, configuration management system, and configuration management program |
Also Published As
Publication number | Publication date |
---|---|
JP2019133221A (en) | 2019-08-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110874261B (en) | Availability system, method, and storage medium storing program | |
US10241731B2 (en) | Information processing apparatus, method of controlling the same, print system and storage medium | |
JP2007018455A (en) | Data migration method or data migration system | |
JP2012059024A (en) | Information processor, start-up control method, start-up control program and recording medium | |
JP2016149051A (en) | Storage control device, storage control program, and storage control method | |
JP2005251188A (en) | Redundant path control apparatus and redundant path control method | |
JP7020936B2 (en) | Monitoring device and storage device | |
JP6307962B2 (en) | Information processing system, information processing method, and information processing program | |
JP5282569B2 (en) | Management device, management system, management method, and management program | |
JP2010113587A (en) | Storage system and management method for file system by the storage system | |
JP6228318B2 (en) | Computer and computer system | |
EP3136245B1 (en) | Computer | |
JP6079777B2 (en) | Management device, data acquisition method, and data acquisition program | |
US10120677B2 (en) | Method of rewriting printer firmware, and printer | |
JP2009217683A (en) | Computer system and operation succeeding method | |
US8028297B2 (en) | Nonstop program system and a method of continuously running programs by switching between program sides | |
JP6773984B2 (en) | Information processing equipment, methods and programs | |
KR102422189B1 (en) | Method for managing printing job in case of error occurring in printing system, and apparatus for performing the same | |
CN110502489A (en) | A kind of GPFS storage replacement method, device and electronic equipment and storage medium | |
JP6269673B2 (en) | Information processing apparatus, I / O system, and I / O control method | |
CN114026506B (en) | Programmable display and data management method | |
JP7024272B2 (en) | Virtual machine control system and virtual machine control method | |
JP2014146914A (en) | Network device, method for controlling network device, and control program for network device | |
JP6942977B2 (en) | File distribution storage device, program, file distribution management method | |
JP6326898B2 (en) | Storage apparatus, storage system, and data arrangement method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20201215 |
|
RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7421 Effective date: 20211110 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20211228 |
|
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: 20220111 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20220203 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7020936 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |