JP2012181737A - Computer system - Google Patents
Computer system Download PDFInfo
- Publication number
- JP2012181737A JP2012181737A JP2011045020A JP2011045020A JP2012181737A JP 2012181737 A JP2012181737 A JP 2012181737A JP 2011045020 A JP2011045020 A JP 2011045020A JP 2011045020 A JP2011045020 A JP 2011045020A JP 2012181737 A JP2012181737 A JP 2012181737A
- Authority
- JP
- Japan
- Prior art keywords
- processing unit
- test
- execution
- test execution
- snapshot
- 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.)
- Withdrawn
Links
Images
Landscapes
- Debugging And Monitoring (AREA)
Abstract
Description
この発明は、CPU上のOS及びアプリケーションの試験に対して、過去に実施した試験の影響を受けず、安定した間違いのない試験ができるようにした計算機システムに関するものである。 The present invention relates to a computer system capable of performing a stable and error-free test on an OS and application test on a CPU without being affected by a test performed in the past.
従来の計算機システムでは、OSの試験は、プログラムで連続的に実行した場合、OSの管理する資源の状態や、先に実行された試験の影響により、試験結果が同一にならないことがあるため、試験開始状態を安定化するために、システムの再起動から実施するなど試験効率が悪いという問題があった。 In the conventional computer system, when the OS test is continuously executed by the program, the test result may not be the same due to the state of the resource managed by the OS and the influence of the test executed previously. In order to stabilize the test start state, there was a problem that the test efficiency was poor, for example, the system was restarted.
一方、例えば、特許文献1に示されるプログラム開発支援装置、プログラム開発支援方法及びプログラム開発支援用プログラムを記録した媒体では、OSシミュレータ上で試験対象プログラムを動作させ、プログラムのコンテキストとOSシミュレータのコンテキストを保存、復元し試験を実行することで前の試験の影響を受けないようにしている。
On the other hand, for example, in a program recording support apparatus, a program development support method, and a program development support program disclosed in
上記特許文献1では、OS上で動作するプログラムのみを対象としており、OS自体の試験は考慮されておらず、また、OSシミュレータを容易に作成することができないなどの問題があった。
In the above-mentioned
この発明は上記のような問題を解決するためになされたものであり、CPU上で動作するOS及びアプリケーションの試験が過去に行った試験に影響されず、安定した間違いなのない試験ができるようにした計算機システムを得ることを目的とする。 The present invention has been made to solve the above-described problems, so that the test of the OS and application running on the CPU is not affected by the test performed in the past, and a stable and error-free test can be performed. The purpose is to obtain a computer system.
この発明に係る計算機システムは、第1のOSが動作するメインCPU及び第2のOSが動作するサブCPUを備えたマルチコアCPUモジュールと記憶装置とが搭載され、上記第1のOSでアプリケーションソフトウェアが動作する計算機システムであって、
上記メインCPUは、上記第1のOS及び第2のOSを管理し上記第1のOSを上記メインCPU上で動作させ、上記第2のOSを上記サブCPU上で動作させるとともに、上記第1のOSと上記第2のOSとの間の通信を行うマルチOS管理処理部と、上記第1のOS及びアプリケーションソフトウェアの試験実行をする試験実行処理部とを備え、
上記サブCPUは、上記第2のOS上で動作し、上記マルチOS管理処理部を介して上記試験実行処理部に試験実行を指示する試験実行指示処理部と、上記第1のOSが管理する内容、上記メインCPU上の上記第1のOSレジスタ情報及び上記第1のOSによって管理されるデバイスの情報についてのスナップショットを収集し、上記記憶装置に保存するスナップショット保存処理部と、上記記憶装置に保存したスナップショットを上記記憶装置の所定の位置に復元するスナップショット復元処理部とを備え、
上記試験実行指示処理部は、1つの試験実行に先だって、上記マルチOS管理処理部に指示して、上記第1のOSを停止し、上記スナップショット保存処理部により上記スナップショットを収集保存し、上記第1のOSを再起動させ、上記再起動の後、上記試験実行処理部に上記1つの試験実行を行わせ、上記1つの試験実行の完了後、上記第1のOSの動作を上記マルチOS管理処理部を介して停止し、上記記憶装置に保存されたスナップショットを上記スナップショット復元処理部により上記記憶装置の所定位置に復元処理し、上記復元処理の後、上記第1のOSを上記マルチOS管理処理部を介して再起動させ、該再起動の後、上記試験実行処理部に次の試験実行を行わせるものである。
A computer system according to the present invention includes a multi-core CPU module including a main CPU that operates a first OS and a sub CPU that operates a second OS, and a storage device, and application software is installed in the first OS. A working computer system,
The main CPU manages the first OS and the second OS, operates the first OS on the main CPU, operates the second OS on the sub CPU, and also performs the first OS. A multi-OS management processing unit that performs communication between the OS and the second OS, and a test execution processing unit that performs test execution of the first OS and application software,
The sub CPU operates on the second OS, and is managed by the first OS and a test execution instruction processing unit that instructs the test execution processing unit to perform test execution via the multi-OS management processing unit. A snapshot storage processing unit that collects snapshots of contents, the first OS register information on the main CPU, and device information managed by the first OS, and stores the snapshots in the storage device; and the storage A snapshot restoration processing unit for restoring a snapshot saved in the device to a predetermined position of the storage device,
Prior to execution of one test, the test execution instruction processing unit instructs the multi-OS management processing unit to stop the first OS, collect and store the snapshot by the snapshot storage processing unit, The first OS is restarted, and after the restart, the test execution processing unit performs the one test execution, and after the one test execution is completed, the operation of the first OS is The snapshot is stopped via the OS management processing unit, and the snapshot stored in the storage device is restored to a predetermined position in the storage device by the snapshot restoration processing unit. After the restoration processing, the first OS is The system is restarted via the multi-OS management processing unit, and after the restarting, the test execution processing unit performs the next test execution.
この発明に係る計算機システムによれば、第1のOSが動作するメインCPU及び第2のOSが動作するサブCPUを備えたマルチコアCPUモジュールと記憶装置とが搭載され、上記第1のOSでアプリケーションソフトウェアが動作する計算機システムであって、
上記メインCPUは、上記第1のOS及び第2のOSを管理し上記第1のOSを上記メインCPU上で動作させ、上記第2のOSを上記サブCPU上で動作させるとともに、上記第1のOSと上記第2のOSとの間の通信を行うマルチOS管理処理部と、上記第1のOS及びアプリケーションソフトウェアの試験実行をする試験実行処理部とを備え、
上記サブCPUは、上記第2のOS上で動作し、上記マルチOS管理処理部を介して上記試験実行処理部に試験実行を指示する試験実行指示処理部と、上記第1のOSが管理する内容、上記メインCPU上の上記第1のOSレジスタ情報及び上記第1のOSによって管理されるデバイスの情報についてのスナップショットを収集し、上記記憶装置に保存するスナップショット保存処理部と、上記記憶装置に保存したスナップショットを上記記憶装置の所定の位置に復元するスナップショット復元処理部とを備え、
上記試験実行指示処理部は、1つの試験実行に先だって、上記マルチOS管理処理部に指示して、上記第1のOSを停止し、上記スナップショット保存処理部により上記スナップショットを収集保存し、上記第1のOSを再起動させ、上記再起動の後、上記試験実行処理部に上記1つの試験実行を行わせ、上記1つの試験実行の完了後、上記第1のOSの動作を上記マルチOS管理処理部を介して停止し、上記記憶装置に保存されたスナップショットを上記スナップショット復元処理部により上記記憶装置の所定位置に復元処理し、上記復元処理の後、上記第1のOSを上記マルチOS管理処理部を介して再起動させ、該再起動の後、上記試験実行処理部に次の試験実行を行わせるものであるので、過去の試験に影響されず、常に一定の条件で安定した間違いのない試験を行うことができる。
According to the computer system of the present invention, a multi-core CPU module including a main CPU on which the first OS operates and a sub CPU on which the second OS operates and a storage device are mounted. A computer system on which the software operates,
The main CPU manages the first OS and the second OS, operates the first OS on the main CPU, operates the second OS on the sub CPU, and also performs the first OS. A multi-OS management processing unit that performs communication between the OS and the second OS, and a test execution processing unit that performs test execution of the first OS and application software,
The sub CPU operates on the second OS, and is managed by the first OS and a test execution instruction processing unit that instructs the test execution processing unit to perform test execution via the multi-OS management processing unit. A snapshot storage processing unit that collects snapshots of contents, the first OS register information on the main CPU, and device information managed by the first OS, and stores the snapshots in the storage device; and the storage A snapshot restoration processing unit for restoring a snapshot saved in the device to a predetermined position of the storage device,
Prior to execution of one test, the test execution instruction processing unit instructs the multi-OS management processing unit to stop the first OS, collect and store the snapshot by the snapshot storage processing unit, The first OS is restarted, and after the restart, the test execution processing unit performs the one test execution, and after the one test execution is completed, the operation of the first OS is The snapshot is stopped via the OS management processing unit, and the snapshot stored in the storage device is restored to a predetermined position in the storage device by the snapshot restoration processing unit. After the restoration processing, the first OS is Since the restart is performed through the multi-OS management processing unit, and after the restart, the test execution processing unit performs the next test execution. It can be carried out without a stable mistake test.
以下、この発明の実施の形態を図に基づいて説明する。
実施の形態1.
図1は、この発明に係る計算機システムの実施の形態1を示すブロック図である。
図1において、計算機システム1は、ワークステーション、パーソナルコンピュータ、あるいはその他の計算機からなるものである。計算機システム1は、第1のOS10が動作するメインCPU2及び第2のOS11が動作するサブCPU3を有するマルチコアCPUモジュール4、メモリ制御を行うメモリ制御部と割り込み制御を行う割り込み制御部とシステムバス制御を行うシステムバス制御部とを持つシステムバスブリッジ6、システムバスブリッジ6を介してマルチコアCPUモジュール4に接続された主記憶部であるメモリ5、複数の周辺装置インタフェース8、周辺装置インタフェース8に接続された外部記憶装置17、周辺装置インタフェース8とシステムバスブリッジ6とを接続するシステムバス7を備えている。
なお、図1では、マルチコアCPUモジュール4のメインCPU2及びサブCPU3とメモリ5の接続に、システムバスブリッジ6を用いているが、計算機システムの構成はこの構成にかぎられない。例えば、メインCPU2及びサブCPU3がシステムバスブリッジ6に相当する機能を備えている場合には、システムバスブリッジ6は不要である。
Embodiments of the present invention will be described below with reference to the drawings.
FIG. 1 is a block
In FIG. 1, a
In FIG. 1, the system bus bridge 6 is used to connect the
メインCPU2は、アプリケーション12と、アプリケーション12が動作する第1のOS10、メインCPU2の第1のOS10とサブCPU3の第2のOS11との通信を行うとともに第1のOS10及び第2のOS11をそれぞれ独立に動作させるマルチOS管理処理部(ハイパーバイザ)9と、第1のOS10及びアプリケーション12の試験を実行する試験実行処理部13とを備えている。
The
また、サブCPU3は、第2のOS11と、第2のOS11上で動作し、マルチOS管理処理部9を介して第1のOS10の動作を管理するとともに試験実行処理部13に試験実行を指示する試験実行指示処理部16と、第1のOS10が管理する内容、メインCPU2のレジスタ情報及び第1のOS10が管理するデバイスの情報についてのスナップショットを収集しメモリ5あるいは外部記憶装置17といった記憶装置に保存するスナップショット保存処理部14と、保存されたスナップショットをメモリ5あるいは外部記憶装置17といった記憶装置上の所定の位置へ復元するスナップショット復元処理部15とを備えている。
The
次に、本来のアプリケーション12の動作処理中に第1のOS10に係る1つの試験を実行する場合の動作について説明する。
例えば、外部記憶装置17にあるOSのブートローダはメインCPU2上で動作し、第1のOS10、第2のOS11及びマルチOS管理処理部9が、メモリ5または外部記憶装置17といった記憶装置にロードされ、第1のOS10が起動される。このとき、メモリ5または外部記憶装置17といった記憶装置に対するロードは、第1のOS10、第2のOS11及びマルチOS管理処理部9に対してロードの配置及び範囲を決めて割り付けられる。
第1のOS10は、起動後、マルチOS管理処理部9を介して第2のOS11をサブCPU3に割り付けて、第2のOS11を起動する。
Next, an operation when one test related to the
For example, the OS boot loader in the
After the activation, the
第2のOS11は、起動後、試験実行指示処理部16を起動する。試験実行指示処理部16は、試験員からの指示待ち状態となる。試験員は、第1のOS10上で、試験実行処理部13を起動し、試験指示待ち状態とする。試験員が、この状態でスナップショットの保存を試験実行指示処理部16に指示すると、試験実行指示処理部16は、マルチOS管理処理部9に対して、スナップショットの保存準備を指示する。この指示により、マルチOS管理処理部9は、第1のOS10に動作停止を指示し、第1のOS10の動作停止、実行中のIO処理の完了待ちを行う。マルチOS管理処理部9は、IO処理の完了後、IO停止処理を行い、第1のOS10のメインCPU2に対するレジスタ情報を退避し、試験実行指示処理部16に対してスナップショット保存準備完了通知を行う。試験実行指示処理部16は、スナップショット保存準備完了通知を受けると、スナップショット保存処理部14によって、メモリ5または外部記憶装置17上にある第1のOS10が管理する内容、第1のOS10のメインCPU2に対するレジスタ情報及び第1のOS10によって管理されるデバイスの情報についてのスナップショットが、システムバスブリッジ6を介して、または、システムバスブリッジ6及びシステムバス7を介してメモリ5または外部記憶装置17に保存される。スナップショット保存処理が完了すると、試験実行指示処理部16は、マルチOS管理処理部9に対して、第1のOS10の動作再開を指示する。マルチOS管理処理部9は、第1のOS10のメインCPU2に対する退避していたレジスタ情報を元へ戻し、第1のOS10を再起動し、IO処理を再開する。試験員は、試験実行指示処理部16からマルチOS管理処理部9を介して試験実行処理部13に対して上記1つの試験実行を指示する。
The
上記1つの試験実行が完了した後、試験実行指示処理部16は、マルチOS管理処理部9に対して、スナップショット復元準備を指示する。この指示により、マルチOS管理処理部9は、第1のOS10に動作停止を指示する。第1のOS10は、実行中のIO処理の完了待ち及び停止処理を行い、マルチOS管理処理部9に対して割り込みによってIO処理の完了及び停止の通知を行う。マルチOS管理処理部9は、試験実行指示処理部16に対してスナップショット復元準備完了を通知する。試験実行指示処理部16は、スナップショット復元準備完了通知を受けると、スナップショット復元処理部15により、メモリ5または外部記憶装置17に保存されたスナップショットをメモリ5または外部記憶装置17上の所定の位置へ復元する。スナップショット復元処理が完了すると、試験実行指示処理部16は、マルチOS管理処理部9に対して、第1のOS10の動作再開を指示する。マルチOS管理処理部9は、第1のOS10のメインCPU2に対する退避していたレジスタ情報を元へ戻し、第1のOS10を再起動し、IO処理を再開する。試験員は、試験実行指示処理部16からマルチOS管理処理部9を介して試験実行処理部13に対して次の試験実行を指示する。
After the one test execution is completed, the test execution
この実施の形態1によれば、1つの試験実行に際して、第1のOS10が管理する内容、メインCPU2のレジスタ情報及び第1のOS10が管理するデバイスの情報についてのスナップショットを保存し、試験実行完了後、試験実行に先立って保存したスナップショットをメモリ5または外部記憶装置17といった記憶装置上の所定の位置へ復元するようにしたので、過去の試験に影響されず、常に一定の条件で安定した間違いのない試験を行うことができる。
According to the first embodiment, when one test is executed, a snapshot of the contents managed by the
実施の形態2.
図2は、この発明に係る計算機システムの実施の形態2を示すブロック図である。
上記実施の形態1では、試験員の指示により、サブCPU3上で試験実行指示、スナップショットの保存及び復元を行い、メインCPU2上で動作する第1のOS10及びアプリケーション12の試験を、常に一定の条件で安定した間違いのないものとすることができる計算機システム1について説明した。
FIG. 2 is a block
In the first embodiment, the test execution instruction, snapshot saving and restoration are performed on the
この実施の形態2では、図2に示したように、試験実行指示処理部16に試験実行の手順があらかじめ記述された実行シナリオ18aを登録する実行シナリオ登録部18を設け、実行シナリオ18aを実行するようにして、試験実行を自動化し、試験効率を高めるようにしたものである。
In the second embodiment, as shown in FIG. 2, an execution
図2に示された計算機システム1において、試験員は、例えば、上記実施の形態1において試験員が指示した試験実行の手順を含む実行シナリオ18aを実行シナリオ登録部18に登録しておく。試験実行指示処理部16は、実行シナリオ18aの手順に従って、マルチOS管理処理部9を介して試験実行処理部13に対して試験実行を指示する。
In the
この実施の形態2によれば、試験員が試験実行の手順を含む実行シナリオ18aをあらかじめ実行シナリオ登録部18に登録しておくことによって、試験実行時に試験員が手作業で行っていた試験実行が自動的に実行シナリオ18aにしたがって実行されるので、試験効率が高くなる。
According to the second embodiment, an
実施の形態3.
図3は、この発明に係る計算機システムの実施の形態3を示すブロック図である。
上記実施の形態2では、試験実行指示処理部16に試験実行指示があらかじめ記述された実行シナリオ18aを登録する実行シナリオ登録部18を設け、実行シナリオ18aの実行を指示することにより、試験を自動化し、試験効率を高めるようにした。
FIG. 3 is a block
In the second embodiment, the test execution
この実施の形態3では、図3に示したように、試験実行処理部13に試験実行結果通知処理部19を設け、試験実行指示処理部16に試験実行結果受信処理部20を設け、実行シナリオ登録部18の実行シナリオ18aには複数の試験項目が記載され、各試験項目の試験結果を要求する試験実行結果判定処理部21が設けられ、さらに、試験結果に応じて次に選択可能な試験項目が記載されている。
In the third embodiment, as shown in FIG. 3, a test execution result
次に、図3を用いて、この実施の形態3の動作について説明する。
図3に示された計算機システム1において、試験実行処理部13は、試験実行結果としてOKまたはNGの判定結果を試験実行結果通知処理部19により、マルチOS管理処理部9を介して、試験実行指示処理部16の試験実行結果受信処理部20に通知する。試験実行結果受信処理部20は、試験項目の試験結果を随時メモリ5上の、OKあるいはNGを表す変数格納部に格納する。実行シナリオ18aに設けられた試験実行結果判定処理部21による試験結果を要求に対して、各試験実行指示処理部16は、実行シナリオ登録部18に登録された実行シナリオ18aに従って、各試験項目に対する試験結果が格納されたメモリ5上の変数格納部に格納された変数を参照し、OKまたはNGそれぞれに応じて次に選択可能な試験項目の試験実行を選択することで、試験実行の指示動作を制御する。
Next, the operation of the third embodiment will be described with reference to FIG.
In the
この実施の形態3によれば、試験実行の途中の各試験項目の試験結果に応じて試験項目を選択的に決定して実行シナリオ18aを実行することができ、試験効率をより高めることができる。
According to the third embodiment, the
実施の形態4.
図4は、この発明に係る計算機システムの実施の形態4を示すブロック図である。
上記実施の形態3では、サブCPU3上で、試験実行の途中の各試験項目の試験結果を参照することで、試験結果に応じて試験項目を選択的に決定して実行シナリオ18aを実行することにより、試験効率を高めることができた。
FIG. 4 is a block
In the third embodiment, the
この実施の形態4では、図4に示したように、実行シナリオ18aに第1のOS10が管理する内容または第1のOS10のメインCPU2上でのレジスタを、種々の設定内容に変更する設定変更内容が記載された第1のOS資源設定処理部22を設け試験実行処理部13によって試験実行を行い、設定変更内容により第1のOS10に異常が発生するかどうかをチェックすることができる。
In the fourth embodiment, as shown in FIG. 4, setting changes that change the contents managed by the
次に、図4を用いて、この実施の形態4の動作について説明する。
図4に示された計算機システムでは、上記実施の形態1及び実施の形態2に記載された試験実行を中断し、マルチOS管理処理部9が、メモリ5または外部記憶装置17上の第1のOS10が管理する内容、アドレス情報及びデバイス情報を参照して、第1のOS資源設定処理部22から設定変更内容を取得し、第1のOS10の管理する内容及びメインCPU2上でのレジスタを第1のOS資源設定処理部22から取得した設定変更内容に設定して、上記設定変更内容を反映した試験実行を行う。この試験実行の後、中断していた試験実行を再開する。
設定のタイミングは、実行シナリオ18aの手順によって決定される。その他の動作は、上記実施の形態1〜3と同じである。
Next, the operation of the fourth embodiment will be described with reference to FIG.
In the computer system shown in FIG. 4, the test execution described in the first embodiment and the second embodiment is interrupted, and the multi-OS
The setting timing is determined by the procedure of the
この実施の形態4によれば、設定変更内容が記載された第1のOS資源設定処理部22を設け試験実行処理部13によって試験実行を行うことにより、設定変更内容により第1のOS10に異常が発生するかどうかをチェックすることができる。
According to the fourth embodiment, by providing the first OS resource
実施の形態5.
図5は、この発明に係る計算機システムの実施の形態5を示すブロック図である。
上記実施の形態4では、設定変更内容が記載された第1のOS資源設定処理部22を設け試験実行処理部13によって試験実行を行うことにより、設定変更内容により第1のOS10に異常が発生するかどうかをチェックすることができた。
FIG. 5 is a block
In the fourth embodiment, an abnormality occurs in the
この実施の形態5では、図5に示したように、マルチOS管理処理部9に、ハードウェア故障を模擬する模擬故障発生処理部24を設け、実行シナリオ18aに、擬似的なハードウェア故障の発生を指示する模擬故障設定処理部23を設ける。
In the fifth embodiment, as shown in FIG. 5, the multi-OS
次に、図5を用いて、この実施の形態5の動作について説明する。この実施の形態5は上記実施の形態1及び実施の形態2に記載された試験実行の途中において実行する試験に関するものである。
図5に示された計算機システム1では、第1のOS10によるメインCPU2のレジスタへのアクセスで、故障模擬発生処理部24が起動されるように設定する。模擬故障設定処理部23にはメインCPU2に擬似的なハードウェア故障の故障割り込みを発生させるように故障模擬発生処理部24に対して指示する記載がなされており、故障模擬発生処理部24は、第1のOS10に故障割り込みを発生させる。第1のOS10は、故障割り込みの種別に応じて、メインCPU2及びシステムバスブリッジ6のレジスタを参照しようとする。模擬故障設定処理部23は、実行シナリオ18aに記載されたハードウェアのレジスタ値を第1のOS10に送るよう故障模擬発生処理部24に指示する。故障模擬発生処理部24は、第1のOS10のメインCPU2に対する参照に対して、第1のOS10に送るよう指示されたレジスタ値を第1のOS10に送る。第1のOS10は、送られたハードウェアのレジスタ値を基に、ハードウェア故障要因を解析し特定する。必要に応じて、このレジスタ参照動作を繰り返してハードウェア故障発生時の動作を模擬することによって、ハードウェアの故障時における第1のOS10及びアプリケーション12の動作を試験する。この動作試験の後は、中断した試験実行を再開する。第1のOS10及びアプリケーション12が正常に動作しない場合には、正常に動作しない原因を究明し、第1のOS10及びアプリケーション12の修正を行うことに役立つ。試験により第1のOS10が停止した場合も、サブCPU3で動作する第2のOS11上の試験実行指示処理部16は動作を継続しているため、スナップショット復元処理部15によって第1のOS10のスナップショットを復元することで、試験の継続が可能となる。その他の動作は、上記実施の形態2〜4と同様である。
Next, the operation of the fifth embodiment will be described with reference to FIG. The fifth embodiment relates to a test executed in the middle of the test execution described in the first embodiment and the second embodiment.
In the
この実施の形態5によれば、マルチOS管理処理部9に、ハードウェア故障を模擬する模擬故障発生処理部24を備え、実行シナリオ18aに、模擬故障発生処理部24に対して第1のOS10に故障割り込みの発生を指示する模擬故障設定処理部23を備え、模擬故障発生処理部24は模擬故障設定処理部23の指示に従って実行シナリオ18aに記載されたレジスタ値を第1のOS10に送る動作を必要に応じて繰り返すことによって、ハードウェア故障を模擬した第1のOS10及びアプリケーションソフトウェア12の動作試験ができる。
According to the fifth embodiment, the multi-OS
この発明に係る計算機システムは、OS及びアプリケーションソフトウェアの試験を性格、かつ、確実に実行できる計算機として有効に活用できる。 The computer system according to the present invention can be effectively used as a computer that can execute the OS and application software tests with certainty and reliability.
1 計算機システム、2 メインCPU、3 サブCPU、
4 マルチコアCPUモジュール、5 メモリ、6 システムバスブリッジ、
7 システムバス、8 周辺装置インターフェース、
9 マルチOS管理処理部(ハイパーバイザ)、10 第1のOS、11 第2のOS、12 アプリケーションソフト、13 試験実行処理部、
14 スナップショット保存処理部、15 スナップショット復元処理部、
16 試験実行指示処理部、17 外部記憶装置、18 シナリオ登録部、
18a 実行シナリオ、19 試験実行結果通知処理部、
20 試験実行結果受信処理部、21 試験実行結果判定処理、
22 第1のOS資源設定処理、23 模擬故障設定処理、24 模擬故障発生処理部。
1 computer system, 2 main CPU, 3 sub CPU,
4 multi-core CPU module, 5 memory, 6 system bus bridge,
7 System bus, 8 Peripheral device interface,
9 Multi-OS management processing unit (hypervisor), 10 1st OS, 11 2nd OS, 12 application software, 13 test execution processing unit,
14 snapshot storage processing unit, 15 snapshot restoration processing unit,
16 test execution instruction processing unit, 17 external storage device, 18 scenario registration unit,
18a execution scenario, 19 test execution result notification processing unit,
20 test execution result reception processing unit, 21 test execution result determination process,
22 First OS resource setting processing, 23 Simulated failure setting processing, 24 Simulated failure occurrence processing unit.
Claims (5)
上記メインCPUは、上記第1のOS及び第2のOSを管理し上記第1のOSを上記メインCPU上で動作させ、上記第2のOSを上記サブCPU上で動作させるとともに、上記第1のOSと上記第2のOSとの間の通信を行うマルチOS管理処理部と、上記第1のOS及びアプリケーションソフトウェアの試験実行をする試験実行処理部とを備え、
上記サブCPUは、上記第2のOS上で動作し、上記マルチOS管理処理部を介して上記試験実行処理部に試験実行を指示する試験実行指示処理部と、上記第1のOSが管理する内容、上記メインCPU上の上記第1のOSレジスタ情報及び上記第1のOSによって管理されるデバイスの情報についてのスナップショットを収集し、上記記憶装置に保存するスナップショット保存処理部と、上記記憶装置に保存したスナップショットを上記記憶装置の所定の位置に復元するスナップショット復元処理部とを備え、
上記試験実行指示処理部は、1つの試験実行に先だって、上記マルチOS管理処理部に指示して、上記第1のOSを停止し、上記スナップショット保存処理部により上記スナップショットを収集保存し、上記第1のOSを再起動させ、上記再起動の後、上記試験実行処理部に上記1つの試験実行を行わせ、上記1つの試験実行の完了後、上記第1のOSの動作を上記マルチOS管理処理部を介して停止し、上記記憶装置に保存されたスナップショットを上記スナップショット復元処理部により上記記憶装置の所定位置に復元処理し、上記復元処理の後、上記第1のOSを上記マルチOS管理処理部を介して再起動させ、該再起動の後、上記試験実行処理部に次の試験実行を行わせることを特徴とする計算機システム。 A computer system in which a multi-core CPU module including a main CPU on which a first OS operates and a sub CPU on which a second OS operates and a storage device are mounted, and application software operates on the first OS,
The main CPU manages the first OS and the second OS, operates the first OS on the main CPU, operates the second OS on the sub CPU, and also performs the first OS. A multi-OS management processing unit that performs communication between the OS and the second OS, and a test execution processing unit that performs test execution of the first OS and application software,
The sub CPU operates on the second OS, and is managed by the first OS and a test execution instruction processing unit that instructs the test execution processing unit to perform test execution via the multi-OS management processing unit. A snapshot storage processing unit that collects snapshots of contents, the first OS register information on the main CPU, and device information managed by the first OS, and stores the snapshots in the storage device; and the storage A snapshot restoration processing unit for restoring a snapshot saved in the device to a predetermined position of the storage device,
Prior to execution of one test, the test execution instruction processing unit instructs the multi-OS management processing unit to stop the first OS, collect and store the snapshot by the snapshot storage processing unit, The first OS is restarted, and after the restart, the test execution processing unit performs the one test execution, and after the one test execution is completed, the operation of the first OS is The snapshot is stopped via the OS management processing unit, and the snapshot stored in the storage device is restored to a predetermined position in the storage device by the snapshot restoration processing unit. After the restoration processing, the first OS is A computer system, wherein the computer system is restarted through the multi-OS management processing unit, and after the restarting, the test execution processing unit performs the next test execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011045020A JP2012181737A (en) | 2011-03-02 | 2011-03-02 | Computer system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011045020A JP2012181737A (en) | 2011-03-02 | 2011-03-02 | Computer system |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2012181737A true JP2012181737A (en) | 2012-09-20 |
Family
ID=47012871
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011045020A Withdrawn JP2012181737A (en) | 2011-03-02 | 2011-03-02 | Computer system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2012181737A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015046081A (en) * | 2013-08-29 | 2015-03-12 | 京セラドキュメントソリューションズ株式会社 | Information processor, and image processor |
JP2015130170A (en) * | 2014-01-06 | 2015-07-16 | 富士通株式会社 | Method and computing system allowing method of injecting hardware faults into executing application |
US10268621B2 (en) | 2014-10-16 | 2019-04-23 | Samsung Electronics Co., Ltd. | Application processor and semiconductor system including the same |
-
2011
- 2011-03-02 JP JP2011045020A patent/JP2012181737A/en not_active Withdrawn
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015046081A (en) * | 2013-08-29 | 2015-03-12 | 京セラドキュメントソリューションズ株式会社 | Information processor, and image processor |
JP2015130170A (en) * | 2014-01-06 | 2015-07-16 | 富士通株式会社 | Method and computing system allowing method of injecting hardware faults into executing application |
US10268621B2 (en) | 2014-10-16 | 2019-04-23 | Samsung Electronics Co., Ltd. | Application processor and semiconductor system including the same |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Banzai et al. | D-cloud: Design of a software testing environment for reliable distributed systems using cloud computing technology | |
US9396093B1 (en) | Virtual execution environment for software delivery and feedback | |
Ruprecht et al. | Vm live migration at scale | |
US9183093B2 (en) | Virtual machine crash management | |
US20130139128A1 (en) | Method for remote debugging using a replicated operating environment | |
US10146653B2 (en) | Automated system-level failure and recovery | |
US10678677B1 (en) | Continuous debugging | |
US20160154664A1 (en) | Information processing system and method of controlling same | |
US20230342268A1 (en) | Uncorrectable Memory Error Recovery For Virtual Machine Hosts | |
Cerveira et al. | Recovery for virtualized environments | |
US11900097B2 (en) | Application downtime reduction using detached mode operation during operating system updates | |
US20160259578A1 (en) | Apparatus and method for detecting performance deterioration in a virtualization system | |
US20140149795A1 (en) | Information processing apparatus and method relating to hardware diagnosis | |
JP2012181737A (en) | Computer system | |
JP5452336B2 (en) | Peripheral device failure simulation system, peripheral device failure simulation method, and peripheral device failure simulation program | |
CN116627702A (en) | Method and device for restarting virtual machine in downtime | |
Sabogal et al. | Towards resilient spaceflight systems with virtualization | |
CN115840691A (en) | Remote repair of crash processes | |
US11947420B2 (en) | Hardware memory error tolerant software system | |
Le et al. | Resilient virtual clusters | |
Cunha et al. | Assessing containerized rest services performance in the presence of operator faults | |
Liao et al. | Configurable reliability in multicore operating systems | |
JP7389877B2 (en) | Network optimal boot path method and system | |
Jann et al. | An os-hypervisor infrastructure for automated os crash diagnosis and recovery in a virtualized environment | |
CN117389799A (en) | Virtual machine backup method and device, storage medium and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20140513 |