JP2015161995A - Information collection device, information collection method and information collection program - Google Patents
Information collection device, information collection method and information collection program Download PDFInfo
- Publication number
- JP2015161995A JP2015161995A JP2014035470A JP2014035470A JP2015161995A JP 2015161995 A JP2015161995 A JP 2015161995A JP 2014035470 A JP2014035470 A JP 2014035470A JP 2014035470 A JP2014035470 A JP 2014035470A JP 2015161995 A JP2015161995 A JP 2015161995A
- Authority
- JP
- Japan
- Prior art keywords
- information
- virtual machine
- collection
- virtual
- 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.)
- Pending
Links
Images
Landscapes
- Debugging And Monitoring (AREA)
Abstract
Description
本願発明は、動作中の情報処理装置の状態を示す情報を収集する情報収集装置等に関する。 The present invention relates to an information collecting apparatus that collects information indicating the state of an information processing apparatus in operation.
一般的な情報処理装置では、例えば、OS(Operating System)が動作中に障害が発生した場合、OSが備えている情報収集機能が、係る障害を解析するための情報収集を行う。したがって、OSの起動が完了する前に障害が発生した場合、係る情報収集機能が情報収集を行うことができないという問題がある。 In a general information processing apparatus, for example, when a failure occurs while an OS (Operating System) is operating, an information collection function provided in the OS collects information for analyzing the failure. Therefore, if a failure occurs before the start of the OS is completed, there is a problem that the information collecting function cannot collect information.
この問題に対応することに関連する技術として、特許文献1には、計算機システムが、電源ONからOS起動前までに画面に出力する情報を採取する技術が開示されている。 As a technique related to dealing with this problem, Patent Document 1 discloses a technique in which a computer system collects information to be output on a screen before powering on and before starting an OS.
また、特許文献2には、情報処理装置において、OSを起動する前に行うブート処理を行う際に異常が発生した場合、メモリダンプを行うようにした技術が開示されている。 Japanese Patent Application Laid-Open No. 2004-228561 discloses a technique in which a memory dump is performed when an abnormality occurs during boot processing performed before starting an OS in an information processing apparatus.
さらに、特許文献3には、ハイパーバイザによって構築された、仮想プロセッサ、仮想メモリ、及び、仮想ファームウェアを含む仮想マシンが、実コンピュータシステムをエミュレート及び/又はシミュレートするようにした技術が開示されている。 Further, Patent Document 3 discloses a technique in which a virtual machine including a virtual processor, virtual memory, and virtual firmware constructed by a hypervisor emulates and / or simulates a real computer system. ing.
特許文献1が開示した技術は、計算機システムがOS起動前までに画面に出力する情報を採取する技術である。しかしながら、障害の中には、画面に出力される情報からは解析することが困難である障害も多く存在するため、係る技術により収集した情報は、障害を解析するために十分な情報であるとはいえない。 The technique disclosed in Patent Document 1 is a technique for collecting information that the computer system outputs to the screen before the OS is started. However, since there are many failures that are difficult to analyze from the information output on the screen, the information collected by such technology is sufficient information to analyze the failure. I can't say that.
また、特許文献2が開示した技術は、情報処理装置がブート処理を行う際に異常が発生した場合、メモリダンプを行うようにした技術である。しかしながら、障害の中には、メモリに格納された情報からは解析することが困難である障害も多く存在するため、係る技術により収集した情報は、障害を解析するために十分な情報であるとはいえない。 The technique disclosed in Patent Document 2 is a technique for performing a memory dump when an abnormality occurs when the information processing apparatus performs a boot process. However, since there are many failures that are difficult to analyze from the information stored in the memory, the information collected by such technology is sufficient information to analyze the failure. I can't say that.
さらに、特許文献3が開示した技術は、仮想マシンが実コンピュータシステムをエミュレートするようにした技術である。しかしながら、実コンピュータシステムのシステム環境とほぼ等しい仮想化環境を構築することは一般的に困難である。したがって、係る仮想マシンを使用して障害を再現させることによって仮想マシンから収集した情報は、障害を解析するために十分な情報であるとはいえない。あるいは、係る仮想マシンを使用して障害を再現させること自体が困難である場合もある。 Furthermore, the technique disclosed in Patent Document 3 is a technique in which a virtual machine emulates a real computer system. However, it is generally difficult to construct a virtual environment that is almost equal to the system environment of a real computer system. Therefore, the information collected from the virtual machine by reproducing the failure using such a virtual machine cannot be said to be sufficient information for analyzing the failure. Alternatively, it may be difficult to reproduce the failure itself using such a virtual machine.
すなわち、特許文献1乃至3が開示した技術は、情報処理装置において発生した障害を解析するために必要な障害情報を、当該情報処理装置から直接収集することが困難であるような場合は、十分な障害解析を行うことができないという問題を解決することはできない。 That is, the techniques disclosed in Patent Documents 1 to 3 are sufficient when it is difficult to directly collect failure information necessary for analyzing a failure that has occurred in the information processing device from the information processing device. It is impossible to solve the problem that the failure analysis cannot be performed.
本願発明の主たる目的は、この問題を解決した、情報収集装置、情報収集方法、及び、情報収集プログラムを提供することである。 The main object of the present invention is to provide an information collection device, an information collection method, and an information collection program that solve this problem.
本願発明に係る情報収集装置は、第一の情報処理装置が備える1以上のハードウェア装置、及び、前記1以上のハードウェア装置が実行するソフトウェアの仕様を仕様情報として検出する検出手段と、前記仕様情報により定まる装置環境に限定して前記装置環境の動作を実現する仮想マシンを、所定の基準に基づいて第二の情報処理装置に構築したのち、前記仮想マシンを実行する仮想マシン生成実行手段と、前記仮想マシン生成実行手段が前記仮想マシンを実行中に、前記仮想マシンが保持する情報を、前記第二の情報処理装置から収集する収集手段と、を備えることを特徴とする。 The information collection device according to the present invention includes one or more hardware devices included in a first information processing device, and a detection unit that detects specifications of software executed by the one or more hardware devices as specification information, Virtual machine generation and execution means for executing the virtual machine after the virtual machine that realizes the operation of the device environment limited to the device environment determined by the specification information is constructed in the second information processing device based on a predetermined standard And a collection unit that collects information held by the virtual machine from the second information processing apparatus while the virtual machine generation and execution unit is executing the virtual machine.
上記目的を達成する他の見地において、本願発明の情報収集方法は、第二の情報処理装置、あるいは、第三の情報処理装置によって、第一の情報処理装置が備える1以上のハードウェア装置、及び、前記1以上のハードウェア装置が実行するソフトウェアの仕様を仕様情報として検出し、前記仕様情報により定まる装置環境に限定して前記装置環境の動作を実現する仮想マシンを、所定の基準に基づいて第二の情報処理装置に構築したのち、前記仮想マシンを実行し、前記仮想マシンを実行中に、前記仮想マシンが保持する情報を、前記第二の情報処理装置から収集することを特徴とする。 In another aspect of achieving the above object, the information collection method of the present invention includes one or more hardware devices included in the first information processing device by the second information processing device or the third information processing device, And, a specification of software executed by the one or more hardware devices is detected as specification information, and a virtual machine that realizes the operation of the device environment limited to the device environment determined by the specification information is based on a predetermined standard. The second information processing apparatus is configured to execute the virtual machine and collect information held by the virtual machine from the second information processing apparatus while the virtual machine is being executed. To do.
また、上記目的を達成する更なる見地において、本願発明に係る情報収集プログラムは、第一の情報処理装置が備える1以上のハードウェア装置、及び、前記1以上のハードウェア装置が実行するソフトウェアの仕様を仕様情報として検出する検出処理と、前記仕様情報により定まる装置環境に限定して前記装置環境の動作を実現する仮想マシンを、所定の基準に基づいて第二の情報処理装置に構築したのち、前記仮想マシンを実行する仮想マシン生成実行処理と、前記仮想マシン生成実行処理が前記仮想マシンを実行中に、前記仮想マシンが保持する情報を、前記第二の情報処理装置から収集する収集処理と、をコンピュータに実行させることを特徴とする。 Further, in a further aspect of achieving the above object, an information collection program according to the present invention includes one or more hardware devices provided in the first information processing device and software executed by the one or more hardware devices. After a detection process for detecting a specification as specification information and a virtual machine that realizes the operation of the device environment limited to the device environment determined by the specification information are constructed in the second information processing device based on a predetermined standard , A virtual machine generation execution process for executing the virtual machine, and a collection process for collecting information held by the virtual machine from the second information processing apparatus while the virtual machine generation execution process is executing the virtual machine And making the computer execute.
更に、本発明は、係る情報収集プログラム(コンピュータプログラム)が格納された、コンピュータ読み取り可能な、不揮発性の記憶媒体によっても実現可能である。 Furthermore, the present invention can also be realized by a computer-readable non-volatile storage medium storing such an information collection program (computer program).
本願発明は、情報処理装置において発生した障害を解析するために必要な障害情報を、当該情報処理装置から直接収集することが困難な場合であっても、係る障害情報を収集することを可能とする。 The present invention makes it possible to collect failure information necessary for analyzing a failure that has occurred in the information processing device even when it is difficult to directly collect the failure information from the information processing device. To do.
以下、本願発明の実施の形態について図面を参照して詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
<第1の実施形態>
図1は、第1の実施形態に係る情報収集システム1の構成を概念的に示すブロック図である。本実施形態に係る情報収集システム1は、情報収集装置10、及び、情報処理装置20を有している。
<First Embodiment>
FIG. 1 is a block diagram conceptually showing the structure of the information collection system 1 according to the first embodiment. The information collection system 1 according to the present embodiment includes an
情報処理装置20は、例えばサーバ装置等の装置である。情報処理装置20は、CPU(Central Processing Unit)21、主記憶装置22、拡張記憶制御装置23、拡張記憶装置24、画面出力制御装置25を備えている。CPU21は、情報処理装置20において行われる処理を実行する。主記憶装置22は、CPU21が処理を行うために必要なデータを格納するメモリである。拡張記憶装置24は、例えば磁気ディスク装置等の記憶装置であり、OS26を格納している。ファームウェア27は、情報処理装置20が備える所定のメモリ(図示せず)に格納されている。
The
拡張記憶制御装置23は、拡張記憶装置24に対するデータの読み書きを制御する装置であり、HBA(Host Bus Adapter)等の装置である。HBAとしては、例えば、SCSI(Small Computer System Interface)コントローラ、あるいは、ディスクアレイコントローラ等の装置がある。画面出力制御装置25は、CPU21が処理を行う際に、情報処理装置20の状態を示す情報を、例えばコンソール画面(図示せず)に出力するグラフィックスコントローラ等の装置である。係るグラフィックスコントローラとしては、例えば、AGP(Accelerated Graphics Port)ビデオカード等の装置がある。
The extended
情報収集装置10は、情報処理装置20が動作中に障害が発生した場合、係る障害を解析するために必要な情報を収集する装置である。情報収集装置10は、例えばサーバ装置等の装置である。情報収集装置10は、検出処理11、仮想マシン生成実行処理12、及び、収集処理13を実行し、また、仮想マシン14を構築している。尚、本実施形態においては、情報収集装置10が仮想マシン14を構築しているが、別の情報処理装置が仮想マシン14を構築するようにしてもよい。
The
尚、検出処理11、仮想マシン生成実行処理12、及び、収集処理13を実行するプログラムは、一般的なファームウェアと同様に、情報収集装置10に内蔵されていてもよいし、USB(Universal Serial Bus)メモリ等のブートデバイスに格納されて提供されてもよい。
Note that the program for executing the
また、検出処理11、仮想マシン生成実行処理12、及び、収集処理13は、専用のHW(ハードウェア)(電子回路)によっても実現することが可能である。すなわち、情報収集装置10は、これらの処理と同等の機能を有するHWである、検出部、仮想マシン生成実行部、及び、収集部を備えたHWであってもよい。
In addition, the
本実施形態に係る情報収集装置10のハードウェアの構成を図2に例示する。以下に説明する実行環境は、本実施形態だけでなく、後述する各実施形態においても採用可能である。
FIG. 2 illustrates a hardware configuration of the
図2に示す通り、情報収集装置10は、CPU901、ROM(Read_Only_Memory)902、RAM(Random_Access_Memory)903、ハードディスク904(記憶装置)、外部装置との通信インタフェース905(Interface:以降、「I/F」と称する)、CD−ROM(Compact_Disc_Read_Only_Memory)等の記憶媒体907に格納されたデータを読み書き可能なリーダライタ908、及び、入出力インタフェース909を備え、これらの構成がバス906(通信線)を介して接続された一般的なコンピュータである。入出力インタフェース909は、例えば、キーボード等の入力装置、モニタ等の出力装置を含む。尚、図2は、情報収集装置10がこれらの構成要素を1つずつ備えた例を示しているが、情報収集装置10がこれらの構成要素を複数備える場合もある。
As illustrated in FIG. 2, the
そして、情報収集装置10は、検出処理11、仮想マシン生成実行処理12、及び、収集処理13をコンピュータプログラムとして提供されたのち、そのコンピュータプログラムを、当該ハードウェアのCPU901に読み出して解釈し実行する。また、係るコンピュータプログラムは、読み書き可能な揮発性の記憶メモリ(RAM903)またはハードディスク904等の不揮発性の記憶デバイスに格納すれば良い。
The
また、前記の場合において、当該ハードウェア内へのコンピュータプログラムの供給方法は、CD−ROM等の各種記憶媒体907を介して当該装置内にインストールする方法や、インターネット等の通信回線を介して外部よりダウンロードする方法等のように、現在では一般的な手順を採用することができる。そして、このような場合において、本発明は、係るコンピュータプログラムを構成するコード或いは、そのコードが格納された記憶媒体907によって構成されると捉えることができる。
In the above-described case, the computer program can be supplied to the hardware by a method of installing in the apparatus via
検出処理11は、情報処理装置20を参照し、情報処理装置20が備えるハードウェア装置、OS26、及び、ファームウェア27の仕様を仕様情報として検出する。本実施形態の場合、係るハードウェア装置は、CPU21、主記憶装置22、拡張記憶制御装置23、拡張記憶装置24、及び、画面出力制御装置25である。
The
係る仕様情報は、例えば、CPU21のモデル名、主記憶装置22の容量、拡張記憶装置24が備える記憶デバイスの種別及びその容量、画面出力制御装置25に関するデバイスの種別、及び、OS26及びファームウェア27のバージョン番号等を含む装置環境を示す情報である。検出処理11は、この装置環境の内容を示す情報を、係る仕様情報として検出してもよい。あるいは、検出処理11は、装置環境を識別可能な識別子を仕様情報として検出してもよい。尚、係る識別子は、個々のハードウェア装置及びソフトウェアに対して付与されていてもよいし、複数のハードウェア装置及びソフトウェアの組み合わせである装置環境に対して付与されていてもよい。
The specification information includes, for example, the model name of the
検出処理11は、検出した係る仕様情報を、仮想マシン生成実行処理12へ入力する。検出処理11は、例えば、情報収集装置10がLinux(登録商標)をOSとする装置である場合、「dmidecode」コマンド、あるいは、「lspci」コマンド等を利用することにより、この機能を実現する。
The
仮想マシン生成実行処理12は、検出処理11から入力された係る仕様情報に基づき、情報収集装置10の中に、仮想マシン14を構築する。仮想マシン14は、情報処理装置20が行う処理に関するエミュレーションを行うことができる仮想化基盤である。
The virtual machine
仮想マシン生成実行処理12は、装置環境を識別可能な識別子と、この識別子が識別する装置環境の動作を実現する仮想マシンを記述したソースコード情報を関連付けて記憶している。このソースコード情報は、技術者等により、個々のハードウェア装置及びソフトウェア、あるいは個々の装置環境に限定して作成された情報である。仮想マシン生成実行処理12は、検出処理から入力された識別子に関連づけられたソースコード情報を基に、仮想マシン14を構築する。
The virtual machine
仮想マシン14は、仮想CPU140、仮想主記憶装置141、仮想拡張記憶制御装置142、仮想拡張記憶装置143、及び、仮想画面出力制御装置144を包含している。
The
仮想CPU140は、CPU21が備える機能を、仮想マシン14において実現する。仮想主記憶装置141は、主記憶装置22が備える機能を、仮想マシン14において実現する。仮想拡張記憶制御装置142は、拡張記憶制御装置23が備える機能を、仮想マシン14において実現する。拡張記憶制御装置143は、拡張記憶装置24が備える機能を、仮想マシン14において実現する。仮想画面出力制御装置144は、画面出力制御装置25が備える機能を、仮想マシン14において実現する。仮想OS145は、OS26を仮想化したOSである。仮想ファームウェア146は、ファームウェア27を仮想化したファームウェアである。
The virtual CPU 140 implements the functions provided in the
仮想マシン生成実行処理12は、構築した仮想マシン14を実行する。仮想マシン生成実行処理12は、例えば、情報収集装置10がLinuxをOSとする装置である場合、「qemu−kvm」コマンドを利用することにより、この機能を実現する。qemu−kvmコマンドは、現実に存在する装置が備える機能に関するエミュレーションを実行する機能を有している。
The virtual machine
仮想マシン生成実行処理12は、CPU21、主記憶装置22、拡張記憶制御装置23、拡張記憶装置24、及び、画面出力制御装置25の少なくとも何れかの装置に関して、情報収集を行う対象としない指示を、システム管理者等から与えられる場合がある。この場合、仮想マシン生成実行処理12は、当該装置に関してエミュレーションを行わずに、当該装置に入力されるデータから一意に決定する期待値である、当該装置から出力される出力データを使用する。あるいは、仮想マシン生成実行処理12は、特に問題ない場合は、当該装置に関する入出力をパススルーしてもよい。
The virtual machine
収集処理13は、仮想マシン生成実行処理12が仮想マシン14を実行中に、仮想マシン14が保持する情報を収集する。仮想マシン14は、情報収集装置10が備えるメモリに格納されたデータである。したがって、収集処理13は、仮想マシン14が保持する情報を、情報収集装置10が備えるメモリの所定のアドレスから読み出すことができる。
The
収集処理13は、仮想主記憶装置141の所定のアドレスに格納された情報、及び、仮想拡張記憶装置143の所定のアドレスに格納された情報を収集する。収集処理13は、ユーザ等から指示された場合、仮想主記憶装置141から収集した情報を、主記憶装置22に格納し、仮想拡張記憶装置143から収集した情報を、拡張記憶制御装置23を経由して、拡張記憶制御装置24へ格納する。
The
収集処理13は、また、仮想画面出力装置144が出力した情報を、MPEG(Moving Picture Experts Group)形式等の動画像、あるいは、JPEG(Joint Photographic Experts Group)形式等の静止画像として収集する。収集処理13は、例えば、情報収集装置10がLinuxをOSとする装置である場合、「virt−manager」コマンド等を利用することにより、この機能を実現する。収集処理13は、ユーザ等から指示された場合、収集したこれらの動画像及び静止画像のデータを、画面出力制御装置25へ入力する。画面出力制御装置25は、入力されたこれらのデータを処理して、コンソール画面に出力する。
The
収集処理13は、仮想マシン14から収集した情報を、収集結果ファイル130として出力する。収集結果ファイル130を格納する格納先は、情報収集装置30にローカル接続されたストレージ装置でもよいし、あるいは、情報収集装置30が通信ネットワークを経由してアクセスできるストレージ装置でもよい。
The
次に図3のフローチャートを参照して、本実施形態に係る情報収集システム1の動作(処理)について詳細に説明する。 Next, the operation (process) of the information collection system 1 according to the present embodiment will be described in detail with reference to the flowchart of FIG.
検出処理11は、情報処理装置20に関する仕様情報を検出する(ステップS101)。検出処理11は、使用情報を、仮想マシン生成実行処理12へ入力する(ステップS102)。仮想マシン生成実行処理12は、係る仕様情報に基づき、情報収集装置10に、仮想マシン14を構築する(ステップS103)。
The
検出された全てのハードウェア装置に関して、情報収集を行なう場合(ステップS104でNo)、仮想マシン生成実行処理12は、検出された全てのハードウェア装置に関して、仮想マシン14に関するエミュレーションを実行する(ステップS105)。収取処理13は、検出された全てのハードウェア装置に関して、仮想マシン14が保持する情報を収集する(ステップS106)。収取処理13は、収集した情報を収集結果ファイル130として出力し(ステップS109)、全体の処理は終了する。
When information collection is performed for all detected hardware devices (No in step S104), the virtual machine
検出されたハードウェア装置のうち、何れかのハードウェア装置に関しては、情報収集を行わない場合(ステップS104でYes)、仮想マシン生成実行処理12は、当該ハードウェア装置を除く検出されたハードウェア装置に関して、仮想マシン14に関するエミュレーションを実行する(ステップS107)。収集処理13は、当該ハードウェア装置を除く検出されたハードウェア装置に関して、仮想マシン14が保持する情報を収集し(ステップS108)、処理はステップS109へ進む。
Of the detected hardware devices, regarding any hardware device, when information collection is not performed (Yes in step S104), the virtual machine
本実施形態に係る情報収集システム1は、情報処理装置において発生した障害を解析するために必要な障害情報を、当該情報処理装置から直接収集することが困難な場合であっても、係る障害情報を収集することができる。その理由は、仮想マシン生成実行処理12が、検出処理11が検出した情報処理装置20に関する仕様情報に基づいて、情報処理装置20の装置環境に限定した仮想マシン14を構築し、収集処理13が、仮想マシン14が保持する情報を収集するからである。
Even if it is difficult to directly collect failure information necessary for analyzing a failure that has occurred in an information processing device from the information processing device, the information collection system 1 according to the present embodiment is concerned with the failure information. Can be collected. The reason is that the virtual machine
情報処理装置において、例えば、OSの起動が完了する前に障害が発生した場合、OSが備える情報収集機能が、障害解析のために必要な情報を収集することができない。このような場合、例えば、汎用的な仮想化基盤を使用して仮想マシンを構築し、その仮想マシンに係る障害を再現させたのち、仮想マシンから障害解析のために必要な情報を収集する方法が考えられる。しかしながら、実コンピュータシステムのシステム環境とほぼ等しい仮想化環境を構築することは、一般的に困難である。したがって、係る仮想マシンから収集した情報は、障害を解析するために十分な情報であるとはいえない。あるいは、係る仮想マシンに障害を再現させること自体が困難である場合もある。 In the information processing apparatus, for example, when a failure occurs before the activation of the OS is completed, the information collection function included in the OS cannot collect information necessary for failure analysis. In such a case, for example, a method for collecting information necessary for failure analysis from a virtual machine after building a virtual machine using a general-purpose virtualization infrastructure, reproducing a failure related to the virtual machine Can be considered. However, it is generally difficult to construct a virtual environment that is almost equal to the system environment of a real computer system. Therefore, the information collected from such a virtual machine cannot be said to be sufficient information for analyzing a failure. Alternatively, it may be difficult for the virtual machine to reproduce the failure itself.
これに対して、本実施形態に係る情報収集システム1では、検出処理11が、情報処理装置20に関する装置環境を示す仕様情報を検出する。そして、仮想マシン生成実行処理12は、検出処理11が検出した仕様情報に基づき、係る装置環境に限定した仮想マシン14を構築する。仮想マシン14は、情報処理装置20に関する装置環境を熟知した技術者によって作成された、仮想マシン14を構築するために必要なソースコード情報等を基に構築される。したがって、仮想マシン14は、情報処理装置20に関する装置環境を、汎用的な仮想化基盤と比較して、高い精度でエミュレーションすることができる。そして、収集処理13は、仮想マシン14が保持する情報を幅広く収集する。これにより、本実施形態に係る情報収集システム1は、情報処理装置において発生した障害を解析するために必要な障害情報を、当該情報処理装置から直接収集することが困難な場合であっても、係る障害情報を収集することができる。
On the other hand, in the information collection system 1 according to the present embodiment, the
また、情報処理装置20がOS26を起動する際に使用するハードウェア装置の中の少なくとも何れかの装置について問題ないことが判明しているような場合、本実施形態に係る仮想マシン生成実行処理12は、当該ハードウェア装置の種別を識別する情報を、ユーザ等により入力される。この場合、仮想マシン生成実行処理12は、当該ハードウェア装置に関して、エミュレーションを行わず、出力情報に関する期待値を使用、あるいは、入出力をパススルーする。そして、収集処理13は、当該ハードウェア装置を除くハードウェア装置に関して、仮想マシン14から情報収集を行う。これにより、本実施形態に係る情報収集システム1は、情報収集装置10が仮想マシン14を使用して情報収集を行う際にかかる負荷を抑えることができる。
When it is determined that there is no problem with at least one of the hardware devices used when the
さらに、本実施形態に係る収集処理13は、仮想主記憶装置141から収集した情報を主記憶装置20にも格納する。収集処理13は、仮想拡張記憶装置143から収集した情報を、拡張記憶装置24にも格納する。収集処理13は、仮想画面出力制御装置144から収集した情報を、画面出力制御装置25にも入力する。これにより、ユーザは情報処理装置30を使用して、仮想マシン14から収集された情報の内容を確認できる。したがって、本実施形態に係る情報収集システム1は、ユーザが障害解析作業を行う際の効率を向上させることができる。
Furthermore, the
尚、本実施形態に係る情報収集システム1を使用するケースは、情報処理装置20が動作中に発生した障害を解析する場合に限定されない。例えば、性能問題等の問題を解析するために必要な情報を収集するために、情報収集システム1を使用してもよい。
(第1の実施形態の変形例)
図4は、第1の実施形態に係る情報収集システムの変形例の構成を概念的に示すブロック図である。図4において、図1と同一の番号が付与された構成要素が備える機能は、第1の実施形態と同様であるため、これら構成要素に関する説明は省略する。
Note that the case of using the information collection system 1 according to the present embodiment is not limited to the case of analyzing a failure that occurs during the operation of the
(Modification of the first embodiment)
FIG. 4 is a block diagram conceptually showing the structure of a modification of the information collection system according to the first embodiment. In FIG. 4, the functions of the constituent elements to which the same numbers as those in FIG. 1 are provided are the same as those in the first embodiment, and thus the description of these constituent elements is omitted.
本実施形態に係る情報収集システム2は、情報収集装置30、及び、情報処理装置40を有している。
The information collection system 2 according to the present embodiment includes an
情報処理装置40は、BMC(Baseboard Management Controller)48を備えている。BMC48は、情報処理装置40に関して、例えば構成変更処理及び障害処理等のシステム制御全般に関する処理を行う。BMC48は、OS26に依存せずに動作する。BMC48は、画面出力制御装置45を備えている。
The
本変形例では、仮想マシン生成実行処理32は、仮想マシン34における仮想画面出力制御装置344に関するエミュレーションを行わずに、仮想画面出力制御装置344への入力情報は、そのまま、仮想画面出力制御装置344からの出力情報としてパススルーする。仮想マシン生成実行処理32は、パススルーした係る出力情報を、画面出力制御装置45へ入力する。
In the present modification, the virtual machine
画面出力制御装置45は、入力された情報を処理して、コンソール画面に出力する。画面出力制御装置45は、また、BMC48により提供される、「Block Transfer Interface」等の通信方法を用いて、コンソール画面に出力した情報を、収集処理33に送信する。
The screen
収集処理33は、画面出力制御装置45から入手した情報を、仮想マシン34から収集した情報とともに、収集結果ファイル130として出力する。
The
本変形例に係る情報収集システム2は、情報処理装置において発生した障害を解析するために必要な障害情報を、当該情報処理装置から直接収集することが困難な場合であっても、係る障害情報を収集することができる。その理由は、仮想マシン生成実行処理32が、検出処理11が検出した情報処理装置40に関する仕様情報に基づいて、情報処理装置40の装置環境に限定した仮想マシン34を構築し、収集処理33が、仮想マシン34が保持する情報を収集するからである。
Even if it is difficult to directly collect failure information necessary for analyzing a failure that has occurred in the information processing device from the information processing device, the information collection system 2 according to the present modification has such failure information. Can be collected. The reason is that the virtual machine
また、本変形例に係る仮想マシン生成実行処理32は、画面出力制御装置45に関して、エミュレーションを行わず、仮想マシン34からの出力情報を、実マシンである画面出力制御装置45へ入力する。そして、収集処理33は、画面出力制御装置45から入手した情報を、仮想マシン34から収集した情報と同様に処理する。したがって、本変形例に係る情報収集システム2は、実マシンである画面出力制御装置45を有効活用することにより、情報収集装置10が仮想マシン14を使用して情報収集を行う際にかかる負荷を抑えることができる。
Further, the virtual machine
尚、本変形例に係る情報収集システム2が有効活用する実マシンは、画面出力制御装置45に限定されない。情報収集システム2は、情報処理装置40が包含する別の装置を有効活用してもよい。
Note that the actual machine that is effectively used by the information collection system 2 according to the present modification is not limited to the screen
<第2の実施形態>
図5は第2の実施形態の情報収集装置50の構成を概念的に示すブロック図である。
<Second Embodiment>
FIG. 5 is a block diagram conceptually showing the structure of the
本実施形態の情報収集装置50は、検出部51、仮想マシン生成実行部52、及び、収集部53を備えている。
The
検出部51は、第一の情報処理装置60が備える1以上、例えばn個のハードウェア装置61−1乃至n、及び、ハードウェア装置61−1乃至nが実行するソフトウェア62の仕様を仕様情報として検出する。
The
仮想マシン生成実行部52は、第二の情報処理装置70に、所定の基準に基づいて、仮想マシン71を構築する。仮想マシン71は、係る仕様情報により定まる装置環境に限定してその装置環境の動作を実現する仮想マシンである。仮想マシン生成実行部52は、仮想マシン71を構築したのち、仮想マシン71を実行する。
The virtual machine
収集部51は、仮想マシン生成実行部52が仮想マシン71を実行中に、仮想マシン71が保持する情報を、第二の情報処理装置70から収集する。
The
本実施形態に係る情報収集装置50は、情報処理装置において発生した障害を解析するために必要な障害情報を、当該情報処理装置から直接収集することが困難な場合であっても、係る障害情報を収集することができる。その理由は、仮想マシン生成実行部52が、検出部51が検出した第一の情報処理装置60に関する仕様情報に基づいて、第一の情報処理装置60の装置環境に限定した仮想マシン71を構築し、収集部53が、仮想マシン71が保持する情報を収集するからである。
Even when it is difficult to directly collect failure information necessary for analyzing a failure that has occurred in the information processing device from the information processing device, the
尚、検出部51、仮想マシン生成実行部52、及び、収集部53は、ソフトウェアプログラムの機能(処理)単位(ソフトウェアモジュール)と捉えることができる。この場合のハードウェア環境は、図2に示した情報収集装置10と同様である。
The
以上、上述した実施形態を模範的な例として本発明を説明した。しかしながら、本発明は、上述した実施形態には限定されない。即ち、本発明は、本発明のスコープ内において、当業者が理解し得る様々な態様を適用することができる。 The present invention has been described above using the above-described embodiment as an exemplary example. However, the present invention is not limited to the above-described embodiment. That is, the present invention can apply various modes that can be understood by those skilled in the art within the scope of the present invention.
1 情報収集システム
10 情報収集装置
11 検出処理
12 仮想マシン生成実行処理
13 収集処理
130 収集結果ファイル
14 仮想マシン
140 仮想CPU
141 仮想主記憶装置
142 仮想拡張記憶制御装置
143 仮想拡張記憶装置
144 仮想画面出力制御装置
145 仮想OS
146 仮想ファームウェア
20 情報処理装置
21 CPU
22 主記憶装置
23 拡張記憶制御装置
24 拡張記憶装置
25 画面出力制御装置
26 OS
27 ファームウェア
2 情報収集システム
30 情報収集装置
32 仮想マシン生成実行処理
33 収集処理
34 仮想マシン
344 仮想画面出力制御装置
40 情報処理装置
45 画面出力制御装置
48 BMC
50 情報収集装置
51 検出部
52 仮想マシン生成実行部
53 収集部
60 第一の情報処理装置
61−1乃至n ハードウェア装置
62 ソフトウェア
901 CPU
902 ROM
903 RAM
904 ハードディスク
905 通信インタフェース
906 バス
907 記憶媒体
908 リーダライタ
909 入出力インタフェース
DESCRIPTION OF SYMBOLS 1
141 Virtual main storage device 142 Virtual extended
146
22
27 Firmware 2
DESCRIPTION OF
902 ROM
903 RAM
904
Claims (10)
前記仕様情報により定まる装置環境に限定して前記装置環境の動作を実現する仮想マシンを、所定の基準に基づいて第二の情報処理装置に構築したのち、前記仮想マシンを実行する仮想マシン生成実行手段と、
前記仮想マシン生成実行手段が前記仮想マシンを実行中に、前記仮想マシンが保持する情報を、前記第二の情報処理装置から収集する収集手段と、
を備える情報収集装置。 One or more hardware devices provided in the first information processing device, and detection means for detecting, as specification information, specifications of software executed by the one or more hardware devices;
A virtual machine that implements the operation of the device environment limited to the device environment determined by the specification information is constructed in the second information processing device based on a predetermined standard, and then a virtual machine generation execution that executes the virtual machine is executed. Means,
Collection means for collecting information held by the virtual machine from the second information processing apparatus while the virtual machine generation execution means is executing the virtual machine;
An information collecting apparatus comprising:
前記仮想マシン生成実行手段は、前記第一の識別子と、前記第一の識別子が識別可能な前記装置環境に限定して当該装置環境の動作を実現する仮想マシンを記述したソースコード情報と、を関連付けて記憶し、前記検出手段が検出した前記識別子に関連づけられた前記ソースコード情報を基に、前記仮想マシンを構築する、
請求項1に記載の情報収集装置。 The detection means detects, as the specification information, a first identifier that can identify the device environment,
The virtual machine generation execution means includes the first identifier, and source code information describing a virtual machine that realizes the operation of the device environment limited to the device environment that can be identified by the first identifier. Storing the association, and constructing the virtual machine based on the source code information associated with the identifier detected by the detection means;
The information collection device according to claim 1.
前記収集手段は、前記第一のハードウェア装置を除く前記1以上のハードウェア装置に関して、前記仮想マシンが保持する情報を収集する、
請求項1または2に記載の情報収集装置。 When the virtual machine generation and execution unit obtains from the outside a second identifier that can identify a first hardware device that is not a target of information collection among the one or more hardware devices, Using an expected value related to information output from the first hardware device, determined from a value indicated by information input to the hardware device, or pass-through input / output related to the first hardware device. To execute the virtual machine,
The collecting means collects information held by the virtual machine with respect to the one or more hardware devices excluding the first hardware device;
The information collection device according to claim 1 or 2.
前記収集手段は、前記第二のハードウェア装置が保持する情報を収集する、
請求項1乃至3のいずれかに記載の情報収集装置。 The virtual machine generation / execution means sends information input to a second hardware device capable of inputting information from the outside in the one or more hardware devices in the first information processing device. Execute the virtual machine by entering into the second hardware device;
The collecting means collects information held by the second hardware device;
The information collection device according to claim 1.
前記収集手段は、前記仮想主記憶装置、前記仮想拡張記憶装置、及び、前記仮想画面出力制御装置が保持する情報を収集する、
請求項1乃至4のいずれかに記載の情報収集装置。 The virtual machine generation / execution means includes functions of a main storage device, an extended storage device, and a screen output control device included in the one or more hardware devices, respectively, a virtual main storage device, a virtual extended storage device, And built as a virtual screen output control device in the virtual machine,
The collection means collects information held by the virtual main storage device, the virtual extended storage device, and the virtual screen output control device;
The information collection device according to claim 1.
請求項5に記載の情報収集装置。 The collection means stores information collected from the virtual main storage device in the main storage device, stores information collected from the virtual extended storage device in the extended storage device, and collects it from the virtual screen output control device Input information to the screen output control device;
The information collection device according to claim 5.
第一の情報処理装置が備える1以上のハードウェア装置、及び、前記1以上のハードウェア装置が実行するソフトウェアの仕様を仕様情報として検出し、
前記仕様情報により定まる装置環境に限定して前記装置環境の動作を実現する仮想マシンを、所定の基準に基づいて第二の情報処理装置に構築したのち、前記仮想マシンを実行し、
前記仮想マシンを実行中に、前記仮想マシンが保持する情報を、前記第二の情報処理装置から収集する、
情報収集方法。 By the second information processing device or the third information processing device,
Detecting one or more hardware devices included in the first information processing apparatus and software specifications executed by the one or more hardware devices as specification information;
A virtual machine that realizes the operation of the device environment limited to the device environment determined by the specification information is constructed in the second information processing device based on a predetermined standard, and then the virtual machine is executed.
Collecting information held by the virtual machine from the second information processing apparatus while the virtual machine is running;
Information collection method.
前記識別子と、前記識別子が識別可能な前記装置環境に限定して当該装置環境の動作を実現する仮想マシンを記述したソースコード情報と、を関連付けて記憶域に記憶し、前記検出手段が検出した前記識別子に関連づけられた前記ソースコード情報を基に、前記仮想マシンを構築する、
請求項7に記載の情報収集方法。 An identifier capable of identifying the device environment is detected as the specification information;
The identifier and the source code information describing the virtual machine that realizes the operation of the device environment limited to the device environment that can be identified by the identifier are stored in association with each other and detected by the detection unit Building the virtual machine based on the source code information associated with the identifier;
The information collection method according to claim 7.
前記仕様情報により定まる装置環境に限定して前記装置環境の動作を実現する仮想マシンを、所定の基準に基づいて第二の情報処理装置に構築したのち、前記仮想マシンを実行する仮想マシン生成実行処理と、
前記仮想マシン生成実行処理が前記仮想マシンを実行中に、前記仮想マシンが保持する情報を、前記第二の情報処理装置から収集する収集処理と、
をコンピュータに実行させる、情報収集プログラム。 One or more hardware devices included in the first information processing device, and a detection process for detecting the specification of software executed by the one or more hardware devices as specification information;
A virtual machine that implements the operation of the device environment limited to the device environment determined by the specification information is constructed in the second information processing device based on a predetermined standard, and then a virtual machine generation execution that executes the virtual machine is executed. Processing,
A collection process for collecting information held by the virtual machine from the second information processing apparatus while the virtual machine generation execution process is executing the virtual machine;
Information collection program that causes a computer to execute
前記識別子と、前記識別子が識別可能な前記装置環境に限定して当該装置環境の動作を実現する仮想マシンを記述したソースコード情報と、を関連付けて記憶域に記憶し、前記検出手段が検出した前記識別子に関連づけられた前記ソースコード情報を基に、前記仮想マシンを構築する前記仮想マシン生成実行処理と、
をコンピュータに実行させる、請求項9に記載の情報収集プログラム。 The detection process for detecting an identifier capable of identifying the device environment as the specification information;
The identifier and the source code information describing the virtual machine that realizes the operation of the device environment limited to the device environment that can be identified by the identifier are stored in association with each other and detected by the detection unit Based on the source code information associated with the identifier, the virtual machine generation execution process for constructing the virtual machine;
The information collection program according to claim 9, which causes a computer to execute.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014035470A JP2015161995A (en) | 2014-02-26 | 2014-02-26 | Information collection device, information collection method and information collection program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014035470A JP2015161995A (en) | 2014-02-26 | 2014-02-26 | Information collection device, information collection method and information collection program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2015161995A true JP2015161995A (en) | 2015-09-07 |
Family
ID=54185069
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2014035470A Pending JP2015161995A (en) | 2014-02-26 | 2014-02-26 | Information collection device, information collection method and information collection program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2015161995A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20200313973A1 (en) * | 2019-03-25 | 2020-10-01 | Fuji Xerox Co., Ltd. | Data processing apparatus, data processing method, and non-transitory computer readable medium storing data processing program |
-
2014
- 2014-02-26 JP JP2014035470A patent/JP2015161995A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20200313973A1 (en) * | 2019-03-25 | 2020-10-01 | Fuji Xerox Co., Ltd. | Data processing apparatus, data processing method, and non-transitory computer readable medium storing data processing program |
CN111741044A (en) * | 2019-03-25 | 2020-10-02 | 富士施乐株式会社 | Data processing apparatus, data processing method, and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102236522B1 (en) | Method and apparatus for processing information | |
TWI410864B (en) | Controlling instruction execution in a processing environment | |
TWI594600B (en) | Network switch and method of updating a device using a network switch | |
US11086662B2 (en) | Method and system of migrating applications to a cloud-computing environment | |
US9806959B2 (en) | Baseboard management controller (BMC) to host communication through device independent universal serial bus (USB) interface | |
JP4840670B2 (en) | Virtual machine deployment acceleration system, method and program thereof | |
US10120702B2 (en) | Platform simulation for management controller development projects | |
CN105074671A (en) | Method and system for detecting concurrency programming errors in kernel modules and device drivers | |
CN104704478A (en) | Recovery after input/ouput error-containment events | |
EP3376377A1 (en) | Apparatus and control method for comparison of hierarchical virtual machine templates | |
JP6283096B2 (en) | Program test service | |
US8245085B2 (en) | Dump output control apparatus and dump output control method | |
US20160259578A1 (en) | Apparatus and method for detecting performance deterioration in a virtualization system | |
CN115935631A (en) | Test system and method for vehicle equipment and storage medium | |
CN110597597B (en) | Method, system, device and storage medium for virtualization of hardware | |
US11366800B2 (en) | System and method to automate validating media redirection in testing process | |
JP2007207014A (en) | Electronic device and collection method for maintenance information | |
WO2017020460A1 (en) | Method and apparatus for integrating plugin | |
JP6531601B2 (en) | Diagnostic program, diagnostic method and diagnostic device | |
JP2015161995A (en) | Information collection device, information collection method and information collection program | |
US20220374256A1 (en) | Information processing system, information processing apparatus, method of controlling the same, and storage medium | |
CN106484561B (en) | Virtual computer system and external device control method | |
TWI417786B (en) | Method,system,and program product of facilitating instruction execution in a processing environment | |
JP4897359B2 (en) | MEMORY MANAGEMENT DEVICE, MEMORY MANAGEMENT METHOD, AND PROGRAM | |
WO2014030203A1 (en) | Operation management device, operation management method, and operation management program |