JP2013149128A - Computer system, power supply disconnection processing device, power supply disconnection processing method, and program - Google Patents
Computer system, power supply disconnection processing device, power supply disconnection processing method, and program Download PDFInfo
- Publication number
- JP2013149128A JP2013149128A JP2012009902A JP2012009902A JP2013149128A JP 2013149128 A JP2013149128 A JP 2013149128A JP 2012009902 A JP2012009902 A JP 2012009902A JP 2012009902 A JP2012009902 A JP 2012009902A JP 2013149128 A JP2013149128 A JP 2013149128A
- Authority
- JP
- Japan
- Prior art keywords
- diagnostic processor
- computer
- unit
- power
- value
- 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.)
- Granted
Links
Images
Abstract
Description
本発明は、計算機システム、電源切断処理装置、電源切断処理方法およびプログラムに関する。 The present invention relates to a computer system, a power-off processing apparatus, a power-off processing method, and a program.
特許文献1には、タイマを用いて診断プロセッサの異常を検出する計算機システムが示されている。
具体的には、この計算機システムは、診断プロセッサと、診断プロセッサの診断対象である被診断装置の障害を監視する障害監視部と、タイマと、システム制御部とを具備する。そして、障害監視部は、被診断装置の障害発生を検出すると、障害割込を発生させ、また、タイマのカウントアップを開始させる。
診断プロセッサの診断機能が正常なとき、当該診断プロセッサが障害割込を検出したタイミングで、タイマクリア手段がタイマのリセットを指示する。一方、診断プロセッサの診断機能が不能であるとき、タイマクリア手段は動作せず、タイマリセットの指示を行わない。タイマリセットの指示が行われないことによりタイマが満了すると、システム制御部が計算機システムの運用を停止させる。
Specifically, the computer system includes a diagnosis processor, a failure monitoring unit that monitors a failure of a diagnosis target device that is a diagnosis target of the diagnosis processor, a timer, and a system control unit. When the failure monitoring unit detects the occurrence of a failure in the diagnosis target device, the failure monitoring unit generates a failure interrupt and starts counting up the timer.
When the diagnostic function of the diagnostic processor is normal, the timer clear means instructs the timer reset at the timing when the diagnostic processor detects a failure interrupt. On the other hand, when the diagnostic function of the diagnostic processor is disabled, the timer clear means does not operate and does not give a timer reset instruction. When the timer expires because the timer reset instruction is not issued, the system control unit stops the operation of the computer system.
このように、特許文献1に記載の計算機システムでは、タイマの満了により診断プロセッサの異常を検出することができる。そして、システム制御部が、タイマの満了に応じて計算機システムの運営を停止させることで、診断プロセッサに障害が発生したとき、被診断装置45が障害状態のままで計算機システムの運用を継続することを回避できる。
Thus, in the computer system described in
このように、診断プロセッサの異常を検出する計算機システムにおいて、診断プロセッサの異常の有無を速やかに判定できれば、より速やかに計算機(被診断装置)を保護することができる。 Thus, in a computer system that detects an abnormality in a diagnostic processor, if the presence or absence of an abnormality in the diagnostic processor can be quickly determined, the computer (diagnosis device) can be protected more quickly.
本発明は、上述の課題を解決することのできる計算機システム、電源切断処理装置、電源切断処理方法およびプログラムを提供することを目的としている。 An object of the present invention is to provide a computer system, a power-off processing apparatus, a power-off processing method, and a program that can solve the above-described problems.
この発明は上述した課題を解決するためになされたもので、本発明の一態様による計算機システムは、計算機と、前記計算機の電源切断を必要とする障害を検出する障害検出部と、前記計算機の電源を切断する電源切断部と、前記計算機に対するシャットダウン処理にて前記計算機の電源を切断する診断プロセッサと、前記診断プロセッサの障害状態をカウントの満了にて検出するウォッチドッグタイマと、前記診断プロセッサの状態を示す診断プロセッサ状態情報を記憶する診断プロセッサ状態情報記憶部と、前記ウォッチドッグタイマの満了を示す信号と、前記診断プロセッサからの当該診断プロセッサが動作していることを示す信号とに基づいて、前記診断プロセッサ状態情報の値を設定する診断プロセッサ状態情報設定部と、前記障害検出部が、前記計算機の電源切断を必要とする障害を検出すると、前記診断プロセッサ状態情報の値に基づいて、前記診断プロセッサに前記シャットダウン処理を行わせるか、前記電源切断部に前記計算機の電源を切断させるかを選択し実行させる処理選択部と、を具備することを特徴とする。 The present invention has been made to solve the above-described problems, and a computer system according to an aspect of the present invention includes a computer, a failure detection unit that detects a failure that requires the computer to be turned off, and the computer. A power-off unit that cuts off the power, a diagnostic processor that shuts off the power of the computer in a shutdown process for the computer, a watchdog timer that detects a failure state of the diagnostic processor when the count expires, and a diagnostic processor Based on a diagnostic processor status information storage unit for storing diagnostic processor status information indicating a status, a signal indicating expiration of the watchdog timer, and a signal indicating that the diagnostic processor is operating from the diagnostic processor A diagnostic processor state information setting unit for setting a value of the diagnostic processor state information; and When the detection unit detects a failure that requires the computer to be powered off, the diagnostic processor performs the shutdown process based on the value of the diagnostic processor state information, or the power-off unit causes the computer to power off the computer. And a process selection section that selects and executes whether or not to disconnect.
また、本発明の一態様による電源切断処理装置は、計算機の電源切断を必要とする障害を検出する障害検出部と、前記計算機の電源を切断する電源切断部と、前記計算機に対するシャットダウン処理にて前記計算機の電源を切断する診断プロセッサの障害状態を、カウントの満了にて検出するウォッチドッグタイマと、前記診断プロセッサの状態を示す診断プロセッサ状態情報を記憶する診断プロセッサ状態情報記憶部と、前記ウォッチドッグタイマの満了を示す信号と、前記診断プロセッサからの当該診断プロセッサが動作していることを示す信号とに基づいて、前記診断プロセッサ状態情報の値を設定する診断プロセッサ状態情報設定部と、前記障害検出部が、前記計算機の電源切断を必要とする障害を検出すると、前記診断プロセッサ状態情報の値に基づいて、前記診断プロセッサに前記シャットダウン処理を行わせるか、前記電源切断部に前記計算機の電源を切断させるかを選択し実行させる処理選択部と、を具備することを特徴とする。 The power-off processing apparatus according to one aspect of the present invention includes a failure detection unit that detects a failure that requires a computer to be turned off, a power-off unit that turns off the computer, and a shutdown process for the computer. A watchdog timer for detecting a failure state of a diagnostic processor for cutting off the power supply of the computer when the count expires, a diagnostic processor state information storage unit for storing diagnostic processor state information indicating the state of the diagnostic processor, and the watch A diagnostic processor state information setting unit for setting a value of the diagnostic processor state information based on a signal indicating expiration of a dog timer and a signal indicating that the diagnostic processor is operating from the diagnostic processor; When the failure detection unit detects a failure that requires powering off the computer, the diagnostic processor A process selection unit that selects and executes whether to cause the diagnostic processor to perform the shutdown process or to cause the power-off unit to turn off the power of the computer based on a value of state information, To do.
また、本発明の一態様による電源切断処理方法は、計算機に対するシャットダウン処理を行う診断プロセッサと、前記計算機の電源を切断する電源切断部と、を具備する電源切断処理装置の電源切断処理方法であって、前記計算機に対するシャットダウン処理にて前記計算機の電源を切断する診断プロセッサの障害状態を、カウントの満了にて検出するウォッチドッグタイマステップと、前記ウォッチドッグタイマステップにおけるカウントの満了を示す信号と、前記診断プロセッサからの当該診断プロセッサが動作していることを示す信号とに基づいて、前記診断プロセッサの状態を示す診断プロセッサ状態情報の値を設定する診断プロセッサ状態情報設定ステップと、前記計算機の電源切断を必要とする障害を検出する障害検出ステップと、前記障害検出ステップにて、前記計算機の電源切断を必要とする障害を検出すると、前記診断プロセッサ状態情報の値に基づいて、前記診断プロセッサに前記シャットダウン処理を行わせるか、前記電源切断部に前記計算機の電源を切断させるかを選択し実行させる処理選択ステップと、を具備することを特徴とする。 A power-off processing method according to an aspect of the present invention is a power-off processing method for a power-off processing apparatus that includes a diagnostic processor that performs a shutdown process on a computer and a power-off unit that cuts off the power of the computer. A failure state of a diagnostic processor that turns off the power of the computer in a shutdown process for the computer, a watchdog timer step that detects when the count expires, and a signal that indicates the expiration of the count in the watchdog timer step; A diagnostic processor status information setting step for setting a value of diagnostic processor status information indicating the status of the diagnostic processor based on a signal from the diagnostic processor indicating that the diagnostic processor is operating; and a power supply for the computer Fault detection step for detecting faults that require disconnection In the fault detection step, when a fault that requires the computer to be powered off is detected, the diagnostic processor is caused to perform the shutdown process based on the value of the diagnostic processor state information, or the power cut-off unit And a process selection step of selecting and executing whether to turn off the power of the computer.
また、本発明の一態様によるプログラムは、計算機に対するシャットダウン処理を行う診断プロセッサと、前記計算機の電源を切断する電源切断部と、を具備する電源切断処理装置を制御するコンピュータに、前記計算機に対するシャットダウン処理にて前記計算機の電源を切断する診断プロセッサの障害状態を、カウントの満了にて検出するウォッチドッグタイマステップと、前記ウォッチドッグタイマステップにおけるカウントの満了を示す信号と、前記診断プロセッサからの当該診断プロセッサが動作していることを示す信号とに基づいて、前記診断プロセッサの状態を示す診断プロセッサ状態情報の値を設定する診断プロセッサ状態情報設定ステップと、前記計算機の電源切断を必要とする障害を検出する障害検出ステップと、前記障害検出ステップにて、前記計算機の電源切断を必要とする障害を検出すると、前記診断プロセッサ状態情報の値に基づいて、前記診断プロセッサに前記シャットダウン処理を行わせるか、前記電源切断部に前記計算機の電源を切断させるかを選択し実行させる処理選択ステップと、を実行させるためのプログラムである。 According to another aspect of the present invention, there is provided a program for shutting down a computer, including a diagnostic processor that performs a shutdown process for the computer, and a computer that controls a power cut-off processing device that turns off the power of the computer. A watchdog timer step for detecting a failure state of the diagnostic processor which cuts off the power supply of the computer by processing at the expiration of the count, a signal indicating the expiration of the count in the watchdog timer step, and A diagnostic processor status information setting step for setting a value of diagnostic processor status information indicating the status of the diagnostic processor based on a signal indicating that the diagnostic processor is operating; and a fault that requires powering off the computer A fault detecting step for detecting In the harm detection step, when a failure that requires the computer to be turned off is detected, based on the value of the diagnostic processor state information, the diagnostic processor is caused to perform the shutdown process, or the power cut-off unit And a process selection step for selecting and executing whether to turn off the power of the program.
本発明によれば、より速やかに計算機を保護することができる。 According to the present invention, the computer can be protected more quickly.
以下、図面を参照して、本発明の実施の形態について説明する。図1は、本発明の一実施形態における計算機システムの機能構成を示す概略ブロック図である。同図において、計算機システム1は、診断プロセッサ搭載カード100と、中継パッケージ(電源切断処理装置)200と、計算機300とを具備する。診断プロセッサ搭載カード100は、診断プロセッサ110と、抜去信号送信部130とを具備する。診断プロセッサ110は、組み込みソフトウェア120を具備する。中継パッケージ200は、電源切断部210と、データ記憶部221と、簡易ログ書込部(ログ書込部)222と、障害検出部230と、タイマ部(ウォッチドッグタイマ)241と、タイマ管理部242と、フラグ記憶部(診断プロセッサ状態情報記憶部)251と、フラグ管理部(診断プロセッサ状態情報設定部)252と、抜去信号受信部(抜去検出部)260と、リブート処理部270と、処理選択部280とを具備する。処理選択部280は、時間的余裕判定部281と、処理選択実行部282とを具備する。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a schematic block diagram showing a functional configuration of a computer system according to an embodiment of the present invention. In FIG. 1, the
計算機300は、診断プロセッサ110が診断対象とする計算機(コンピュータ)である。計算機300に障害が発生すると、中継パッケージ200(障害検出部230)が障害を検出し、診断プロセッサ110が診断を行う。
なお、本発明は、計算機300が行う処理の内容に依存しない。すなわち、様々な用途の計算機に対して本発明を適用し得る。
The
Note that the present invention does not depend on the contents of processing performed by the
診断プロセッサ搭載カード100は、診断プロセッサ110を搭載したカード(基板)である。例えば、診断プロセッサ搭載カード100は、中継パッケージ200を搭載した診断装置のカード挿入スロットに挿入されて動作する。ここで、診断装置と計算機300とは、1つの装置として構成されていてもよいし、別個の装置として構成されていてもよい。すなわち、診断プロセッサ搭載カード100が、計算機300内に設置されるようにしてもよいし、計算機300とは別の筐体内に設置されるようにしてもよい。
The diagnostic
診断プロセッサ110は、障害検出部230が計算機300の障害を検出すると、診断パスW11およびW12を介して計算機300の状態診断を行う。特に、診断プロセッサ110は、障害検出部230が計算機300の電源切断を必要とする障害を検出すると、計算機300に対するシャットダウン処理にて計算機300の電源を切断(OFF)する。シャットダウン処理を行うことで、診断プロセッサ110は、データの保存やOS(
Operating System)等の保護を図って、より安全に計算機300の電源を切断することができる。
When the
The power of the
組み込みソフトウェア120は、診断プロセッサ110が実行するソフトウェアである。診断プロセッサ110は、組み込みソフトウェア120を実行することで動作する。
抜去信号送信部130は、診断プロセッサ搭載カード100の抜去を検出するための信号である抜去信号を、抜去信号受信部260に送信する。たとえば、抜去信号送信部130は、診断プロセッサ搭載カード100が抜き去られるタイミングで抜去信号を送信し、抜去信号受信部260は、当該抜去信号を受信することでカードの抜去を検出する。
The embedded
The removal
中継パッケージ200は、診断プロセッサ搭載カード100と計算機300との間で送受信される信号を中継し、また、計算機300の障害を検出する。
電源切断部210は、計算機300の電源を切断する。ここで、電源切断部210は、例えば計算機300への給電路に設けられたスイッチを開放(OFF)することで計算機300の電源を切断するなど、計算機300に対するシャットダウン処理を行わずに計算機300の電源を切断する。従って、電源切断部210が行う計算機300の電源切断は、データの保存やOS等の保護の観点において、診断プロセッサ110が行う電源切断ほど安全ではない。ただし、電源切断部210は、診断プロセッサ110よりも簡単な処理で計算機300の電源を切断するので、より確実に計算機300の電源を切断することができる。
The
The power cut-off
データ記憶部221は、例えば半導体メモリを含んで構成され、各種データを記憶する。特に、データ記憶部221は、簡易ログ書込部222の書き込む簡易ログを記憶する。
簡易ログ書込部222は、中継パッケージ200の動作に応じて、簡易ログをデータ記憶部221に書き込む。特に、簡易ログ書込部222は、電源切断部210が計算機300の電源を切断する場合に、簡易ログをデータ記憶部221に書き込む。例えば、簡易ログ書込部222は、障害検出部230が計算機300の障害を検出した時刻および障害の種類など、計算機300の状態を示す情報を、簡易ログに含めてデータ記憶部221に書き込む。また、例えば、簡易ログ書込部222は、診断プロセッサ搭載カード100の抜去検出の有無など、診断プロセッサ搭載カード100の状態を示す情報を、簡易ログに含めてデータ記憶部221に書き込む。また、例えば、簡易ログ書込部222は、電源切断部210が計算機300の電源を切断した旨(あるいは切断する旨)および当該時刻を示す情報を簡易ログに含めてデータ記憶部221に書き込む。
このように、簡易ログ書込部222がデータ記憶部221に簡易ログを書き込むことで、計算機システム1の管理者は、障害の原因を究明して対策を講じるのに当該簡易ログを役立てることができる。
The
The simple
As described above, the simple
障害検出部230は、計算機300の障害を検出し、障害を検出したことおよび障害の種類を示す信号を処理選択部280に出力する。特に、障害検出部230は、計算機300の電源切断を必要とする障害を検出する。
ここで、計算機300の電源切断を必要とする障害には、例えば、計算機300の電源電圧が不安定な状態など、計算機300を保護するために電源切断を必要とする障害や、計算機300のCPU(Central Processing Unit、中央処理装置)がホールト(Halt)状態に陥った場合など、計算機300の状態を回復させるために電源切断を必要とする障害などが含まれるが、これらに限らない。
The
Here, the failure requiring the power off of the
タイマ部241は、時間測定用のタイマを備え、診断プロセッサ110の障害状態をカウントの満了にて検出するウォッチドッグタイマとして機能する。すなわち、診断プロセッサ110は、信号経路W24およびタイマ管理部242を介して一定時間毎にタイマ部241をリセットし、タイマ部241は、当該リセットからの経過時間を測定する。ここで、診断プロセッサ110がタイマ部241をリセットする時間間隔は、タイマ部241のカウント満了時間より短く設定されており、診断プロセッサ110が正常に動作している状態では、タイマ部241のカウントは満了しない。一方、診断プロセッサ110に障害が発生してタイマ部241のリセットが行われない場合、タイマ部241のカウントが満了する。タイマ部241は、このカウント満了にて診断プロセッサ110の障害状態を検出する。
また、タイマ部241は、時間的余裕判定部281が診断プロセッサ110の回復を待つ際に待ち時間を測定するタイマとしても機能する。
The
The
タイマ管理部242は、タイマ部241のリセット(タイマ部241が備えるタイマのカウント値のリセット)や、カウント実行またはカウント停止など、タイマ部241の管理を行う。特に、タイマ管理部242は、診断プロセッサ110からのリセット信号を受信すると、当該リセット信号に従ってタイマ部241をリセットし(すなわち、測定時間を0に設定して)、カウントを実行させる。
The
また、タイマ管理部242は、タイマ部241のカウント満了を検出することで、診断プロセッサ110の障害状態を検出する。そして、タイマ管理部242は、診断プロセッサ110をリブートさせる処理と、状態フラグの値を「0」(シャットダウン処理不可を示す値)に設定する処理と、タイマ部241をリセットしてカウントさせる処理とを実行する。具体的には、タイマ管理部242は、障害を検出したことを示す情報を、リブート処理部270と、フラグ管理部252とに出力し、また、タイマ部241をリセットしてカウントを実行させる。
In addition, the
フラグ記憶部251は、診断プロセッサ110の状態を示す診断プロセッサ状態情報として、状態フラグを記憶する。この状態フラグは、値「1」にて、シャットダウン処理可能(診断プロセッサ110が計算機300のシャットダウン処理を実行可能な状態にあること)を示す。また、この状態フラグは、値「0」にて、シャットダウン処理不可(診断プロセッサ110が計算機300のシャットダウン処理を実行不可能な状態にあること)を示す。
ただし、フラグ記憶部251が記憶する診断プロセッサ状態情報は、フラグ形式の情報に限らない。例えば、フラグ記憶部251が、診断プロセッサ110の状態を文字列にて示すテキストデータを、診断プロセッサ状態情報として記憶するようにしてもよい。
The flag storage unit 251 stores a status flag as diagnostic processor status information indicating the status of the
However, the diagnostic processor state information stored in the flag storage unit 251 is not limited to the flag format information. For example, the flag storage unit 251 may store text data indicating the state of the
フラグ管理部252は、フラグ記憶部251の記憶する状態フラグの値の設定および読出を行う。特に、フラグ管理部252は、タイマ部241の満了を示す信号と、診断プロセッサ110からの当該診断プロセッサ110が動作していることを示す信号(本実施形態ではブート完了通知)とに基づいて、状態フラグの値を設定する。具体的には、フラグ管理部252は、タイマ部241の満了を示す信号の出力を受けると、状態フラグの値を「0」に設定する。また、フラグ管理部252は、診断プロセッサ110が動作していることを示す信号を取得すると、状態フラグの値を「1」に設定する。また、フラグ管理部252は、抜去信号受信部260が診断プロセッサ搭載カード100の抜去を検出すると、状態フラグの値を「0」(シャットダウン処理不可を示す値)に設定する。
The flag management unit 252 sets and reads the value of the status flag stored in the flag storage unit 251. In particular, the flag management unit 252 is based on a signal indicating that the
抜去信号受信部260は、診断プロセッサ110が搭載された診断プロセッサ搭載カード100の抜去を検出する。具体的には、上述したように、抜去信号送信部130が、診断プロセッサ搭載カード100が抜き去られるタイミングで抜去信号を送信し、抜去信号受信部260は、当該抜去信号を受信することでカードの抜去を検出する。ただし、抜去信号受信部260が診断プロセッサ搭載カード100の抜去を検出する方法は、これに限らない。例えば、抜去信号送信部130が、常に信号を送信するようにし、抜去信号受信部260が、抜去信号送信部130の送信する信号を受信できないと判定することで、診断プロセッサ搭載カード100の抜去を検出するようにしてもよい。また、抜去信号送信部130が送信する信号は、電波であってもよいし、赤外線など電波以外の信号であってもよい。さらには、抜去信号受信部260が、診断プロセッサ搭載カード100の挿入にて押下されるスイッチを備え、当該スイッチが押下されていないと判定することで診断プロセッサ搭載カード100の抜去を検出するなど、抜去信号送信部130との通信以外の方法で診断プロセッサ搭載カード100の抜去を検出するようにしてもよい。
The removal
リブート処理部270は、診断プロセッサ110をリブートさせる。具体的には、リブート処理部270は、タイマ管理部242からの信号や、処理選択部280からの信号に従って、信号経路W23を介して診断プロセッサ110にリブート指示を出力することで、診断プロセッサ110をリブートさせる。
処理選択部280は、障害検出部230が、計算機300の電源切断を必要とする障害を検出すると、状態フラグの値に基づいて、診断プロセッサ110にシャットダウン処理を行わせるか、電源切断部210に計算機300の電源を切断させるかを選択し実行させる。
The
When the
時間的余裕判定部281は、障害検出部230が、計算機300の電源切断を必要とする障害を検出し、かつ、状態フラグの値が「0」(シャットダウン処理不可を示す値)である場合、計算機300の電源を切断するまでの時間的余裕の有無を判定する。
処理選択実行部282は、時間的余裕判定部281が時間的余裕有りと判定した場合に、診断プロセッサ110の回復を待つ。具体的には、処理選択実行部282は、時間的余裕判定部有りとの判定から所定時間が経過するまでに、状態フラグの値が「1」(シャットダウン処理可能を示す値)となった場合は、診断プロセッサ110にシャットダウン処理を行わせる。一方、所定時間が経過するまでに、前記診断プロセッサ状態情報の値が「1」(シャットダウン処理可能を示す値)とならなかった場合、処理選択実行部282は、電源切断部210に計算機300の電源を切断させる。
When the
The process
次に、図2〜図4を参照して計算機システム1の動作について説明する。
図2は、診断プロセッサ110(組み込みソフトウェア120)が行う処理の手順を示すフローチャートである。診断プロセッサ110は、診断プロセッサ110自らの電源を接続(ON)されて起動する際、および、信号経路W23を介してリブート処理部270からリブート指示を受けて再起動する際に、同図の処理を開始する。
Next, the operation of the
FIG. 2 is a flowchart showing a procedure of processing performed by the diagnostic processor 110 (embedded software 120). When the
同図の処理において、診断プロセッサ110(組み込みソフトウェア120)は、まず、診断プロセッサ110自らのブート処理(起動処理を)行う(ステップS101)。ブート処理を完了すると、組み込みソフトウェア120は、ブート完了を示すブート完了通知を、信号経路W24を介してタイマ管理部242とフラグ管理部252と処理選択部280とに出力する(ステップS102)。
In the process of FIG. 5, the diagnostic processor 110 (embedded software 120) first performs a boot process (start-up process) of the
次に、組み込みソフトウェア120は、タイマ部241をリセットするタイミングが到来したか否かを判定する(ステップS111)。具体的には、診断プロセッサ110は、タイマ部241よりも満了時間の短いタイマ(タイマ部241と区別するため、ここでは「内部タイマ」と称する)を有し、当該内部タイマを用いて、タイマ部241をリセットしてからの経過時間を測定する。そして、組み込みソフトウェア120は、内部タイマが満了すると、タイマ部241をリセットするタイミングが到来したと判定する。
Next, the embedded
ステップS111において、タイマ部241をリセットするタイミングが到来したと判定した場合(ステップS111:YES)、組み込みソフトウェア120は、タイマ部241をリセットする(ステップS112)。具体的には、組み込みソフトウェア120は、タイマ部241のリセットを指示するタイマリセット信号を、信号経路W24を介してタイマ管理部242に出力することで、タイマ管理部242にタイマ部241をリセットさせる。
If it is determined in step S111 that the timing for resetting the
次に、組み込みソフトウェア120は、計算機300に障害が発生したか否かを判定する(ステップS121)。具体的には、組み込みソフトウェア120は、障害検出通知(計算機300に障害が発生したことを示す信号)を、信号経路W22を介して処理選択部280から取得したか否かを判定する。
計算機300に障害が発生していないと判定した場合(ステップS121:NO)、ステップS111に戻る。
Next, the embedded
When it is determined that no failure has occurred in the computer 300 (step S121: NO), the process returns to step S111.
一方、計算機300に障害が発生したと判定した場合(ステップS121:YES)、組み込みソフトウェア120は、計算機300の電源切断を必要とする障害か否かを判定する(ステップS131)。具体的には、処理選択部280は、障害検出通知に障害の種類を示す情報を含めて診断プロセッサ110に出力し、組み込みソフトウェア120は、当該情報に基づいて、計算機300の電源切断を必要とする障害か否かを判定する。
On the other hand, when it is determined that a failure has occurred in the computer 300 (step S121: YES), the embedded
計算機300の電源切断を必要とする障害ではないと判定した場合(ステップS131:NO)、組み込みソフトウェア120は、診断パスW11およびW12を介して計算機300の診断を行い、復旧可能な障害があれば復旧処理を行い、診断結果や復旧処理の記録をログに保存する(ステップS141)。なお、組み込みソフトウェア120が、診断プロセッサ110の具備する記憶デバイスにログを記録するようにしてもよいし、あるいは、データ記憶部221など診断プロセッサ110の外部にログを記録するようにしてもよい。
ステップS141の後、ステップS111に戻る。
If it is determined that the failure does not require the
After step S141, the process returns to step S111.
一方、計算機300の電源切断を必要とする障害であると判定した場合(ステップS131:YES)、組み込みソフトウェア120は、診断パスW11およびW12を介して計算機300の診断を行い、復旧可能な障害があれば復旧処理を行い、診断結果や復旧処理の記録をログに保存する(ステップS151)。
また、組み込みソフトウェア120は、計算機300にデータのバックアップ(一時保存ファイル)を生成させ、当該処理の記録をログに保存する(ステップS152)。
On the other hand, if it is determined that the
Further, the embedded
さらに、組み込みソフトウェア120は、計算機300に対するシャットダウン処理にて計算機300の電源を切断し、シャットダウン処理の記録をログに保存する(ステップS153)。具体的には、組み込みソフトウェア120は、診断パスW12およびW11を介して計算機300にシャットダウン信号を送信することで、計算機300にシャットダウンを実行させる。
ステップS153の後、図2の処理を終了する。シャットダウンが完了して計算機300の電源が切断されることで、診断対象が無くなるからである。
なお、組み込みソフトウェア120は、図2の処理の実行中にリブート指示を受けた場合、実行中の図2の処理を終了し、ステップS101から処理をやり直す。
Further, the built-in
After step S153, the process of FIG. This is because when the shutdown is completed and the power source of the
When the embedded
図3および図4は、中継パッケージ200がおこなう処理の手順を示すフローチャートである。中継パッケージ200は、中継パッケージ200自らの電源を接続されて動作状態となると、同図の処理を行う。
図3の処理において、中継パッケージ200(タイマ管理部242およびフラグ管理部252)は、まず、信号経路W24を介して診断プロセッサ110からブート完了通知を受信したか否かを判定する(ステップS201)。
ブート完了通知を受信したと判定した場合(ステップS201:YES)、フラグ管理部252は、状態フラグの値を「1」に設定する(ステップS202)。また、タイマ管理部242は、タイマ部241のカウント値をリセットし、カウントを開始させる(ステップS203)。
3 and 4 are flowcharts showing a procedure of processing performed by the
In the process of FIG. 3, the relay package 200 (
If it is determined that the boot completion notification has been received (step S201: YES), the flag management unit 252 sets the value of the status flag to “1” (step S202). In addition, the
次に、タイマ管理部242は、タイマ部241が満了したか否かを判定する(ステップS211)。
タイマ部241が満了したと判定した場合(ステップS211:YES)、タイマ管理部242は、タイマ部241の満了を示す信号をフラグ管理部252に出力し、フラグ管理部252は、状態フラグの値を「0」に設定する(ステップS212)。すなわち、タイマ管理部242は、フラグ管理部252を介して、状態フラグの値を「0」(シャットダウン処理不可を示す値)に設定する処理を行う。
また、タイマ管理部242は、タイマ部241の満了を示す信号をリブート処理部270に出力し、リブート処理部270は、信号経路W23を介してリブート指示を診断プロセッサ110に送信して、診断プロセッサ110を再起動させる(ステップS213)。すなわち、タイマ管理部242は、リブート処理部270を介して、診断プロセッサ110をリブートさせる処理を行う。
また、タイマ管理部242は、タイマ部241のカウント値をリセットし、カウントを開始させる(ステップS214)。
Next, the
When it is determined that the
In addition, the
In addition, the
次に、抜去信号受信部260は、診断プロセッサ搭載カード100が抜き去られたか否かを判定する(ステップS221)。診断プロセッサ搭載カード100が抜き去られたと判定した場合(ステップS221:YES)、抜去信号受信部260は、診断プロセッサ搭載カード100の抜去を検出したことを示す抜去検出信号をタイマ管理部242とフラグ管理部252とに出力し、フラグ管理部252は、状態フラグの値を「0」に設定する(ステップS222)。また、タイマ管理部242は、タイマ部241のカウントを停止させる(ステップS223)。
Next, the removal
ここで、診断プロセッサ搭載カード100が抜き去られた状態では、診断プロセッサ110の計算機300に対するシャットダウン処理は不可能な状態にあり、タイマ部241が診断プロセッサ110の状態を検出する必要はない。そこで、タイマ管理部242がタイマ部241のカウントを停止させることで、不要な動作を削減して中継パッケージ200の負荷および消費電力を低減させることができる。
Here, in a state where the diagnostic
次に、障害検出部230は、診断パスW11を介して計算機300から得られる状態情報に基づいて、計算機300の障害の有無を判定する(ステップS231)。
計算機300に障害が発生していないと判定した場合(ステップS231:NO)、ステップS201に戻る。
Next, the
If it is determined that no failure has occurred in the computer 300 (step S231: NO), the process returns to step S201.
一方、計算機300に障害が発生していると判定した場合(ステップS231:YES)、障害検出部230は、障害を検出したことを示す障害検出通知に、障害の種類を示す情報を含めて処理選択部280に出力する(ステップS232)。
そして、処理選択部280(処理選択実行部282)は、障害検出部230からの障害検出通知に基づいて、計算機300の電源切断を必要とする障害か否かを判定する(ステップS233)。
計算機300の電源切断を必要とする障害であると判定した場合(ステップS233:YES)、図4の処理に進む。
On the other hand, when it is determined that a failure has occurred in the computer 300 (step S231: YES), the
Then, based on the failure detection notification from the
When it is determined that the failure requires the
一方、計算機300の電源切断を必要とする障害ではないと判定した場合(ステップS233:NO)、処理選択実行部282は、フラグ記憶部251の記憶する状態フラグの値が「0」か否かを判定する(ステップS234)。
状態フラグの値が「1」であると判定した場合(ステップS234:NO)、処理選択実行部282は、計算機300に障害が発生したことを示す信号に、障害の種類を示す情報を含めて、信号経路W22を介して診断プロセッサ110に送信する(ステップS235)。例えば、処理選択実行部282は、障害検出部230からの障害検出通知を診断プロセッサ110に転送する。
その後、ステップS201に戻る。
On the other hand, when it is determined that the failure does not require powering off the computer 300 (step S233: NO), the process
When it is determined that the value of the status flag is “1” (step S234: NO), the process
Thereafter, the process returns to step S201.
一方、ステップS201において、ブート完了通知を受信していないと判定した場合(ステップS201:NO)、ステップS211に進む。
一方、ステップS211において、タイマ部241が満了していないと判定した場合(ステップS211:NO)、ステップS221に進む。
一方、ステップS221において、診断プロセッサ搭載カード100が抜き去られていないと判定した場合(ステップS221:NO)、ステップS231に進む。
一方、ステップS234において、状態フラグの値が「0」であると判定した場合(ステップS234:YES)、ステップS201に戻る。この場合、中継パッケージ200は、ステップS213における診断プロセッサ110のリブート等に基づく診断プロセッサ110の回復を待つことになる。
On the other hand, when it is determined in step S201 that a boot completion notification has not been received (step S201: NO), the process proceeds to step S211.
On the other hand, if it is determined in step S211 that the
On the other hand, if it is determined in step S221 that the
On the other hand, when it is determined in step S234 that the value of the state flag is “0” (step S234: YES), the process returns to step S201. In this case, the
また、図4の処理において、処理選択部280(処理選択実行部282)は、まず、フラグ記憶部251の記憶する状態フラグの値が「0」か否かを判定する(ステップS301)。
状態フラグの値が「0」であると判定した場合(ステップS301:YES)、処理選択部280(時間的余裕判定部281)は、計算機300における障害の種類に基づいて、時間的余裕の有無を判定する(ステップS311)。
In the process of FIG. 4, the process selection unit 280 (process selection execution unit 282) first determines whether or not the value of the status flag stored in the flag storage unit 251 is “0” (step S301).
When it is determined that the value of the status flag is “0” (step S301: YES), the process selection unit 280 (temporal margin determination unit 281) determines whether there is a temporal margin based on the type of failure in the
ここで、障害検出部230は、図3のステップS232において、障害の種類を示す情報として時間的余裕の有無を判定可能な情報を障害検出通知に含めて処理選択部280に出力する。そして、時間的余裕判定部281は、当該障害の種類に基づいて、時間的余裕の有無を判定する。例えば、障害検出部230は、計算機300の電源電圧異常を検出した場合、障害の種類を示す情報として、電圧変動の大きさが通常時の電圧の5パーセント(5%)未満の場合と、5パーセント以上の場合とを区別する情報を、障害検出通知に含める。そして、時間的余裕判定部281は、電圧変動の大きさが通常時の電圧の5パーセント未満の場合、時間的余裕有りと判定し、5パーセント以上の場合、時間的余裕無しと判定する。
Here, in step S232 in FIG. 3, the
ステップS311において、時間的余裕有りと判定した場合(ステップS311:YES)、処理選択部280(処理選択実行部282)は、タイマリセットを指示する信号をタイマ管理部242に出力し、タイマ管理部242は、当該信号に従ってタイマ部241をリセットしカウントを開始させる(ステップS321)。
If it is determined in step S311 that there is a time margin (step S311: YES), the process selection unit 280 (process selection execution unit 282) outputs a signal instructing timer reset to the
そして、処理選択実行部282は、タイマ部241が満了したか否かを判定する(ステップS322)。
タイマ部241が満了していないと判定した場合(ステップS322:NO)、処理選択実行部282は、信号経路W24を介して診断プロセッサ110からのブート完了通知を受信したか否かを判定する(ステップS331)。
Then, the process
When it is determined that the
ブート完了通知を受信していないと判定した場合(ステップS331:NO)、ステップS322に戻る。
一方、ブート完了通知を受信したと判定した場合(ステップS331:YES)、処理選択実行部282は、計算機300に障害が発生したことを示す信号に、障害の種類を示す情報を含めて、信号経路W22を介して診断プロセッサ110に送信する(ステップS341)。例えば、処理選択実行部282は、図3のステップS232において障害検出部230から取得した障害検出通知を診断プロセッサ110に転送する。
その後、図4の処理を終了する。診断プロセッサ110が計算機300をシャットダウンすることで、障害検出対象が無くなるからである。
If it is determined that the boot completion notification has not been received (step S331: NO), the process returns to step S322.
On the other hand, if it is determined that a boot completion notification has been received (step S331: YES), the process
Thereafter, the process of FIG. 4 is terminated. This is because the
一方、ステップS301において、状態フラグの値が「1」であると判定した場合(ステップS301:NO)、ステップS341に進む。
一方、ステップS311において、時間的余裕無しと判定した場合(ステップS311:NO)や、ステップS322において、タイマ部241が満了したと判定した場合(ステップS322:YES)、処理選択実行部282は、簡易ログ書込部222を介してデータ記憶部221に簡易ログを書き込む(ステップS351)。例えば、上述したように、処理選択実行部282は、障害検出部230が検出した障害の種類を示す情報や、診断プロセッサ110が計算機300のシャットダウン処理を実行不可能な状態にある旨の記録等を、簡易ログに含めてデータ記憶部221に保存する。
そして、処理選択実行部282は、電源切断指示を電源切断部210に出力することで、電源切断部210に、計算機300の電源を切断させる(ステップS352)。
その後、図4の処理を終了する。
On the other hand, when it is determined in step S301 that the value of the state flag is “1” (step S301: NO), the process proceeds to step S341.
On the other hand, if it is determined in step S311 that there is no time margin (step S311: NO), or if it is determined in step S322 that the
Then, the process
Thereafter, the process of FIG. 4 is terminated.
なお、図4においてタイマ部241が行うカウントは、余裕分の時間の経過を検出するためのものである。この場合の満了値は、ウォッチドッグタイマとしての満了値(すなわち、図3のステップS211における満了値)と同じであってもよいし、異なっていてもよい。
同じ満了値を用いる場合、タイマ部241の満了値として1つの値を用意しておけばよく、タイマ部241の構成を簡単にできる。
一方、異なる満了値を用いる場合、時間的余裕の程度に応じて、より長時間、診断プロセッサ110の回復を待つことができるので、診断プロセッサ110が回復し、計算機300のデータやOSを保護して計算機300の電源を切断できる可能性が高まる。
Note that the count performed by the
When the same expiration value is used, it is sufficient to prepare one value as the expiration value of the
On the other hand, when a different expiration value is used, the
以上のように、ウォッチドッグタイマとしてのタイマ部241が、カウントの満了にて診断プロセッサ110の障害状態を検出する。また、フラグ管理部252は、診断プロセッサ110の障害状態の検出状況や、診断プロセッサ110からの信号に基づいて、診断プロセッサ110の状態を示す状態フラグをフラグ記憶部251に記憶させる。そして、障害検出部230が、計算機300の電源切断を必要とする障害を検出すると、処理選択実行部282は、状態フラグの値に基づいて、診断プロセッサ110に処理を実行させるか電源切断部210に処理を実行させるかを選択し、処理を行わせる。
従って、処理選択実行部282は、障害検出部230が障害を検出した後、ウォッチドッグタイマ(タイマ部241)の満了を待たずに、診断プロセッサ110または電源切断部210に処理を実行させることができるので、より速やかに計算機を保護することができる。
As described above, the
Therefore, after the
また、障害検出部230が、計算機300の電源切断を必要とする障害と、電源切断不要な障害とを区別して検出するので、処理選択実行部282は、より適切な処理を、診断プロセッサ110または電源切断部210に実行させることができる。すなわち、計算機システム1は、計算機300の電源切断を要する障害が発生した状態において、計算機300の電源を切断することができる。特に、診断プロセッサ110が計算機300のシャットダウン処理を行えない場合でも、電源切断部210が、計算機300の電源を切断できる。
Further, since the
また、タイマ管理部242は、タイマ部241が満了すると、診断プロセッサ110をリブートさせる。タイマ管理部242が、診断プロセッサ110をリブートさせることで、診断プロセッサ110が正常動作状態に回復することを期待できる。
また、タイマ管理部242は、診断プロセッサ110をリブートさせる際、タイマ部241をリセットしてカウントを開始させるので、診断プロセッサ110がリブートで正常動作状態に復帰しなかった場合、診断プロセッサ110を再度リブートさせて正常動作状態への復帰を試みることができる。
Further, the
In addition, when the
また、障害検出部230が、計算機300の電源切断を必要とする障害を検出し、かつ、状態フラグの値が「0」(シャットダウン処理不可を示す値)である場合、時間的余裕判定部281が、計算機300の電源を切断するまでの時間的余裕の有無を判定する。そして、時間的余裕判定部281が時間的余裕有りと判定した場合、処理選択実行部282は、当該判定から所定時間が経過するまで、診断プロセッサ110の回復を待つ。診断プロセッサ110が回復した場合、処理選択実行部282は、診断プロセッサ110にシャットダウン処理を行わせる。
Further, when the
このように、処理選択実行部282が、診断プロセッサ110の回復を待つので、計算機300のデータやOSの保護を図って、より安全に計算機300の電源を切断できる可能性が高まる。
一方、所定時間内に診断プロセッサ110が回復しなかった場合、処理選択実行部282は、電源切断部210に計算機300に電源を切断させる。従って、診断プロセッサ110が計算機300のシャットダウン処理を行えない場合でも、処理選択実行部282は、計算機300の電源を切断させることができ、計算機300を保護することができる。
Thus, since the process
On the other hand, when the
また、抜去信号受信部260が、診断プロセッサ搭載カード100の抜去を検出すると、フラグ管理部252は、状態フラグの値を「0」(シャットダウン処理不可を示す値)に設定する。
従って、処理選択部280は、診断プロセッサ搭載カード100が抜き去られた状態において、状態フラグの値を参照することで、電源切断部210に計算機300の電源を切断させるなどの適切な処理を行うことができる。
When the removal
Therefore, the
また、電源切断部210が計算機300の電源を切断する場合、簡易ログ書込部222は、当該電源を切断する処理の記録を保存する(簡易ログに含めてデータ記憶部221に書き込む)。
従って、計算機システム1の管理者は、障害の原因を究明して対策を講じるのに当該記録を役立てることができる。
Further, when the power cut-off
Therefore, the administrator of the
次に、図5を参照して、計算機システム1における本発明の最小構成について説明する。
図5は、図1に示した各部のうち本発明の最小構成を示す概略ブロック図である。同図において、図1に示した計算機システム1の各部のうち、計算機300と、障害検出部230と、電源切断部210と、診断プロセッサ110と、タイマ部241と、フラグ記憶部251と、フラグ管理部252と、処理選択部280とが示されている。
Next, a minimum configuration of the present invention in the
FIG. 5 is a schematic block diagram showing the minimum configuration of the present invention among the units shown in FIG. In the figure, among the units of the
この構成において、図1に示した構成に基づいて上述したのと同様、フラグ管理部252は、タイマ部241の満了の有無や、診断プロセッサ110からの信号に基づいて、状態フラグの値を設定する(フラグ記憶部251に記憶させる)。
そして、障害検出部230が、計算機300の電源切断を必要とする障害を検出すると、処理選択部280は、状態フラグの値に基づいて、診断プロセッサ110にシャットダウン処理を行わせるか、電源切断部210に計算機300の電源を切断させるかを選択し、実行させる。
In this configuration, as described above based on the configuration illustrated in FIG. 1, the flag management unit 252 sets the value of the status flag based on whether the
When the
従って、処理選択実行部282は、障害検出部230が障害を検出した後、ウォッチドッグタイマ(タイマ部241)の満了を待たずに、診断プロセッサ110または電源切断部210に処理を実行させることができるので、より速やかに計算機を保護することができる。
Therefore, after the
なお、中継パッケージ200の全部または一部の機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することにより各部の処理を行ってもよい。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものとする。
また、「コンピュータシステム」は、WWWシステムを利用している場合であれば、ホームページ提供環境(あるいは表示環境)も含むものとする。
また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムを送信する場合の通信線のように、短時間の間、動的にプログラムを保持するもの、その場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリのように、一定時間プログラムを保持しているものも含むものとする。また上記プログラムは、前述した機能の一部を実現するためのものであっても良く、さらに前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるものであっても良い。
It is to be noted that a program for realizing all or part of the functions of
Further, the “computer system” includes a homepage providing environment (or display environment) if a WWW system is used.
The “computer-readable recording medium” refers to a storage device such as a flexible medium, a magneto-optical disk, a portable medium such as a ROM and a CD-ROM, and a hard disk incorporated in a computer system. Furthermore, the “computer-readable recording medium” dynamically holds a program for a short time like a communication line when transmitting a program via a network such as the Internet or a communication line such as a telephone line. In this case, a volatile memory in a computer system serving as a server or a client in that case, and a program that holds a program for a certain period of time are also included. The program may be a program for realizing a part of the functions described above, and may be a program capable of realizing the functions described above in combination with a program already recorded in a computer system.
以上、本発明の実施形態を図面を参照して詳述してきたが、具体的な構成はこの実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の設計変更等も含まれる。 The embodiment of the present invention has been described in detail with reference to the drawings. However, the specific configuration is not limited to this embodiment, and includes design changes and the like without departing from the gist of the present invention.
上記の実施形態の一部または全部は、以下の付記のようにも記載され得るが、以下には限られない。 A part or all of the above-described embodiment can be described as in the following supplementary notes, but is not limited thereto.
(付記1)計算機と、前記計算機の電源切断を必要とする障害を検出する障害検出部と、前記計算機の電源を切断する電源切断部と、前記計算機に対するシャットダウン処理にて前記計算機の電源を切断する診断プロセッサと、前記診断プロセッサの障害状態をカウントの満了にて検出するウォッチドッグタイマと、前記診断プロセッサの状態を示す診断プロセッサ状態情報を記憶する診断プロセッサ状態情報記憶部と、前記ウォッチドッグタイマの満了を示す信号と、前記診断プロセッサからの当該診断プロセッサが動作していることを示す信号とに基づいて、前記診断プロセッサ状態情報の値を設定する診断プロセッサ状態情報設定部と、前記障害検出部が、前記計算機の電源切断を必要とする障害を検出すると、前記診断プロセッサ状態情報の値に基づいて、前記診断プロセッサに前記シャットダウン処理を行わせるか、前記電源切断部に前記計算機の電源を切断させるかを選択し実行させる処理選択部と、を具備することを特徴とする計算機システム。 (Supplementary Note 1) A computer, a failure detection unit that detects a failure that requires the computer to be powered off, a power-off unit that shuts off the computer, and shuts down the computer in a shutdown process. A diagnostic processor that detects a failure state of the diagnostic processor upon expiration of a count, a diagnostic processor status information storage unit that stores diagnostic processor status information indicating the status of the diagnostic processor, and the watchdog timer A diagnostic processor state information setting unit for setting a value of the diagnostic processor state information based on a signal indicating the expiration of the diagnostic processor and a signal indicating that the diagnostic processor is operating from the diagnostic processor, and the failure detection When the unit detects a fault that requires powering off the computer, the diagnostic processor state And a processing selection unit that selects and executes whether to cause the diagnostic processor to perform the shutdown processing or to cause the power-off unit to power off the computer based on an information value. Computer system.
(付記2)前記ウォッチドッグタイマが満了すると、前記診断プロセッサをリブートさせる処理と、前記診断プロセッサ状態情報の値を、シャットダウン処理不可を示す値に設定する処理と、前記ウォッチドッグタイマをリセットしてカウントを開始させる処理とを実行するタイマ管理部を具備することを特徴とする付記1に記載の計算機システム。
(Appendix 2) When the watchdog timer expires, a process for rebooting the diagnostic processor, a process for setting the value of the diagnostic processor status information to a value indicating that the shutdown process cannot be performed, and a resetting of the watchdog timer The computer system according to
(付記3)前記処理選択部は、前記障害検出部が、前記計算機の電源切断を必要とする障害を検出し、かつ、前記診断プロセッサ状態情報の値が、シャットダウン処理不可を示す値である場合、前記計算機の電源を切断するまでの時間的余裕の有無を判定する時間的余裕判定部と、前記時間的余裕判定部が時間的余裕有りと判定した場合に、当該判定から所定時間が経過するまでに、前記診断プロセッサ状態情報の値が、シャットダウン処理可能を示す値となった場合は、前記診断プロセッサに前記シャットダウン処理を行わせ、前記所定時間が経過するまでに、前記診断プロセッサ状態情報の値が、シャットダウン処理可能を示す値とならなかった場合は、前記電源切断部に前記計算機の電源を切断させる処理選択実行部と、を具備することを特徴とする付記1または付記2に記載の計算機システム。
(Additional remark 3) When the said fault selection part detects the fault which requires the power-off of the said computer, and the value of the said diagnostic processor state information is a value which shows the shutdown process impossible When a time margin determining unit that determines whether or not there is a time margin until the computer is turned off and the time margin determining unit determines that there is a time margin, a predetermined time elapses from the determination. If the value of the diagnostic processor status information is a value indicating that the shutdown processing is possible, the diagnostic processor performs the shutdown processing until the predetermined time elapses. And a process selection execution unit that causes the power-off unit to turn off the power of the computer when the value does not indicate that shutdown processing is possible. The computer system according to
(付記4)前記診断プロセッサが搭載された診断プロセッサ搭載カードの抜去を検出する抜去検出部を具備し、診断プロセッサ状態情報設定部は、前記抜去検出部が、前記診断プロセッサ搭載カードの抜去を検出すると、前記診断プロセッサ状態情報の値を、シャットダウン処理不可を示す値に設定することを特徴とする付記1から3のいずれか一つに記載の計算機システム。
(Additional remark 4) It has the extraction detection part which detects extraction of the diagnostic processor mounting card | curd in which the said diagnostic processor is mounted, The diagnostic processor state information setting part detects the extraction of the said diagnostic processor mounting card | curd. Then, the computer system according to any one of
(付記5)前記電源切断部が、前記計算機の電源を切断する場合に、当該電源を切断する処理の記録を保存するログ書込部を具備することを特徴とする付記1から4のいずれか一つに記載の計算機システム。
(Supplementary note 5) Any one of
(付記6)計算機の電源切断を必要とする障害を検出する障害検出部と、前記計算機の電源を切断する電源切断部と、前記計算機に対するシャットダウン処理にて前記計算機の電源を切断する診断プロセッサの障害状態を、カウントの満了にて検出するウォッチドッグタイマと、前記診断プロセッサの状態を示す診断プロセッサ状態情報を記憶する診断プロセッサ状態情報記憶部と、前記ウォッチドッグタイマの満了を示す信号と、前記診断プロセッサからの当該診断プロセッサが動作していることを示す信号とに基づいて、前記診断プロセッサ状態情報の値を設定する診断プロセッサ状態情報設定部と、前記障害検出部が、前記計算機の電源切断を必要とする障害を検出すると、前記診断プロセッサ状態情報の値に基づいて、前記診断プロセッサに前記シャットダウン処理を行わせるか、前記電源切断部に前記計算機の電源を切断させるかを選択し実行させる処理選択部と、を具備することを特徴とする電源切断処理装置。 (Supplementary Note 6) A fault detection unit that detects a fault that requires powering off the computer, a power source cutting unit that shuts off the power source of the computer, and a diagnostic processor that shuts off the power source of the computer in a shutdown process for the computer A watchdog timer for detecting a failure state upon expiration of a count; a diagnostic processor state information storage unit for storing diagnostic processor state information indicating a state of the diagnostic processor; a signal indicating expiration of the watchdog timer; A diagnostic processor state information setting unit configured to set a value of the diagnostic processor state information based on a signal from the diagnostic processor indicating that the diagnostic processor is operating; and the failure detection unit configured to turn off the computer Is detected on the basis of the value of the diagnostic processor status information. Tsu either by the performing the shutdown process, the power-off processing device for either the selected processing selection unit for executing to power cuts off power of the computer to, and characterized by including the.
(付記7)計算機に対するシャットダウン処理を行う診断プロセッサと、前記計算機の電源を切断する電源切断部と、を具備する電源切断処理装置の電源切断処理方法であって、前記計算機に対するシャットダウン処理にて前記計算機の電源を切断する診断プロセッサの障害状態を、カウントの満了にて検出するウォッチドッグタイマステップと、前記ウォッチドッグタイマステップにおけるカウントの満了を示す信号と、前記診断プロセッサからの当該診断プロセッサが動作していることを示す信号とに基づいて、前記診断プロセッサの状態を示す診断プロセッサ状態情報の値を設定する診断プロセッサ状態情報設定ステップと、前記計算機の電源切断を必要とする障害を検出する障害検出ステップと、前記障害検出ステップにて、前記計算機の電源切断を必要とする障害を検出すると、前記診断プロセッサ状態情報の値に基づいて、前記診断プロセッサに前記シャットダウン処理を行わせるか、前記電源切断部に前記計算機の電源を切断させるかを選択し実行させる処理選択ステップと、を具備することを特徴とする電源切断処理方法。 (Supplementary note 7) A power-off processing method of a power-off processing apparatus, comprising: a diagnostic processor that performs a shutdown process on a computer; and a power-off unit that cuts off the power of the computer. A watchdog timer step that detects a failure state of the diagnostic processor that turns off the power of the computer at the expiration of the count, a signal that indicates the expiration of the count in the watchdog timer step, and the diagnostic processor from the diagnostic processor operates A diagnostic processor status information setting step for setting a value of diagnostic processor status information indicating the status of the diagnostic processor based on a signal indicating that a fault is occurring, and a fault for detecting a fault that requires powering off the computer In the detection step and the failure detection step, When a failure that requires power-off of the machine is detected, whether to cause the diagnostic processor to perform the shutdown process or to cause the power-off unit to turn off the computer based on the value of the diagnostic processor status information A power selection processing method comprising: a process selection step for selecting and executing.
(付記8)計算機に対するシャットダウン処理を行う診断プロセッサと、前記計算機の電源を切断する電源切断部と、を具備する電源切断処理装置を制御するコンピュータに、前記計算機に対するシャットダウン処理にて前記計算機の電源を切断する診断プロセッサの障害状態を、カウントの満了にて検出するウォッチドッグタイマステップと、前記ウォッチドッグタイマステップにおけるカウントの満了を示す信号と、前記診断プロセッサからの当該診断プロセッサが動作していることを示す信号とに基づいて、前記診断プロセッサの状態を示す診断プロセッサ状態情報の値を設定する診断プロセッサ状態情報設定ステップと、前記計算機の電源切断を必要とする障害を検出する障害検出ステップと、前記障害検出ステップにて、前記計算機の電源切断を必要とする障害を検出すると、前記診断プロセッサ状態情報の値に基づいて、前記診断プロセッサに前記シャットダウン処理を行わせるか、前記電源切断部に前記計算機の電源を切断させるかを選択し実行させる処理選択ステップと、を実行させるためのプログラム。 (Supplementary note 8) A computer that controls a power-off processing device that includes a diagnostic processor that performs a shutdown process on a computer and a power-off unit that cuts off the power of the computer. A watchdog timer step for detecting a failure state of the diagnostic processor at the expiration of the count, a signal indicating the expiration of the count in the watchdog timer step, and the diagnostic processor from the diagnostic processor is operating A diagnostic processor status information setting step for setting a value of diagnostic processor status information indicating the status of the diagnostic processor, and a fault detection step for detecting a fault that requires powering off the computer In the failure detection step, the calculation When a failure requiring power-off is detected, it is selected whether to cause the diagnostic processor to perform the shutdown process or to cause the power-off unit to turn off the computer based on the value of the diagnostic processor state information And a process selection step to be executed.
1 計算機システム
100 診断プロセッサ搭載カード
110 診断プロセッサ
120 組み込みソフトウェア
130 抜去信号送信部
200 中継パッケージ
210 電源切断部
221 データ記憶部
222 簡易ログ書込部
230 障害検出部
241 タイマ部
242 タイマ管理部
251 フラグ記憶部
252 フラグ管理部
260 抜去信号受信部
270 リブート処理部
280 処理選択部
281 時間的余裕判定部
282 処理選択実行部
300 計算機
DESCRIPTION OF
Claims (8)
前記計算機の電源切断を必要とする障害を検出する障害検出部と、
前記計算機の電源を切断する電源切断部と、
前記計算機に対するシャットダウン処理にて前記計算機の電源を切断する診断プロセッサと、
前記診断プロセッサの障害状態をカウントの満了にて検出するウォッチドッグタイマと、
前記診断プロセッサの状態を示す診断プロセッサ状態情報を記憶する診断プロセッサ状態情報記憶部と、
前記ウォッチドッグタイマの満了を示す信号と、前記診断プロセッサからの当該診断プロセッサが動作していることを示す信号とに基づいて、前記診断プロセッサ状態情報の値を設定する診断プロセッサ状態情報設定部と、
前記障害検出部が、前記計算機の電源切断を必要とする障害を検出すると、前記診断プロセッサ状態情報の値に基づいて、前記診断プロセッサに前記シャットダウン処理を行わせるか、前記電源切断部に前記計算機の電源を切断させるかを選択し実行させる処理選択部と、
を具備することを特徴とする計算機システム。 A calculator,
A fault detection unit for detecting a fault that requires powering off the computer;
A power cut-off unit for turning off the power of the computer;
A diagnostic processor for turning off the power of the computer in a shutdown process for the computer;
A watchdog timer for detecting a failure state of the diagnostic processor at the expiration of the count;
A diagnostic processor state information storage unit for storing diagnostic processor state information indicating the state of the diagnostic processor;
A diagnostic processor state information setting unit configured to set a value of the diagnostic processor state information based on a signal indicating expiration of the watchdog timer and a signal indicating that the diagnostic processor is operating from the diagnostic processor; ,
When the failure detection unit detects a failure that requires the computer to be powered off, the diagnostic processor causes the diagnostic processor to perform the shutdown process based on the value of the diagnostic processor state information, or causes the computer to turn off the computer. A process selection unit for selecting and executing whether to power off
A computer system comprising:
前記障害検出部が、前記計算機の電源切断を必要とする障害を検出し、かつ、前記診断プロセッサ状態情報の値が、シャットダウン処理不可を示す値である場合、前記計算機の電源を切断するまでの時間的余裕の有無を判定する時間的余裕判定部と、
前記時間的余裕判定部が時間的余裕有りと判定した場合に、当該判定から所定時間が経過するまでに、前記診断プロセッサ状態情報の値が、シャットダウン処理可能を示す値となった場合は、前記診断プロセッサに前記シャットダウン処理を行わせ、前記所定時間が経過するまでに、前記診断プロセッサ状態情報の値が、シャットダウン処理可能を示す値とならなかった場合は、前記電源切断部に前記計算機の電源を切断させる処理選択実行部と、
を具備することを特徴とする請求項1または請求項2に記載の計算機システム。 The process selection unit
When the failure detection unit detects a failure that requires the computer to be turned off, and the value of the diagnostic processor state information is a value indicating that shutdown processing is not possible, the computer has to turn off the computer. A time margin determining unit for determining whether or not there is a time margin; and
When the time margin determination unit determines that there is a time margin, if the value of the diagnostic processor state information is a value indicating that shutdown processing is possible before the predetermined time has elapsed from the determination, If the diagnostic processor performs the shutdown process and the value of the diagnostic processor status information does not become a value indicating that the shutdown process can be performed before the predetermined time has elapsed, A process selection execution unit for cutting
The computer system according to claim 1, further comprising:
診断プロセッサ状態情報設定部は、前記抜去検出部が、前記診断プロセッサ搭載カードの抜去を検出すると、前記診断プロセッサ状態情報の値を、シャットダウン処理不可を示す値に設定する
ことを特徴とする請求項1から3のいずれか一項に記載の計算機システム。 Comprising a removal detection unit for detecting removal of a diagnostic processor mounted card on which the diagnostic processor is mounted;
The diagnostic processor state information setting unit sets the value of the diagnostic processor state information to a value indicating that shutdown processing is not possible when the removal detection unit detects removal of the diagnostic processor mounted card. The computer system according to any one of 1 to 3.
前記計算機の電源を切断する電源切断部と、
前記計算機に対するシャットダウン処理にて前記計算機の電源を切断する診断プロセッサの障害状態を、カウントの満了にて検出するウォッチドッグタイマと、
前記診断プロセッサの状態を示す診断プロセッサ状態情報を記憶する診断プロセッサ状態情報記憶部と、
前記ウォッチドッグタイマの満了を示す信号と、前記診断プロセッサからの当該診断プロセッサが動作していることを示す信号とに基づいて、前記診断プロセッサ状態情報の値を設定する診断プロセッサ状態情報設定部と、
前記障害検出部が、前記計算機の電源切断を必要とする障害を検出すると、前記診断プロセッサ状態情報の値に基づいて、前記診断プロセッサに前記シャットダウン処理を行わせるか、前記電源切断部に前記計算機の電源を切断させるかを選択し実行させる処理選択部と、
を具備することを特徴とする電源切断処理装置。 A fault detection unit that detects a fault that requires powering off the computer;
A power cut-off unit for turning off the power of the computer;
A watchdog timer that detects a failure state of a diagnostic processor that turns off the power supply of the computer in a shutdown process for the computer, upon expiration of the count;
A diagnostic processor state information storage unit for storing diagnostic processor state information indicating the state of the diagnostic processor;
A diagnostic processor state information setting unit configured to set a value of the diagnostic processor state information based on a signal indicating expiration of the watchdog timer and a signal indicating that the diagnostic processor is operating from the diagnostic processor; ,
When the failure detection unit detects a failure that requires the computer to be powered off, the diagnostic processor causes the diagnostic processor to perform the shutdown process based on the value of the diagnostic processor state information, or causes the computer to turn off the computer. A process selection unit for selecting and executing whether to power off
A power-off processing apparatus.
前記計算機に対するシャットダウン処理にて前記計算機の電源を切断する診断プロセッサの障害状態を、カウントの満了にて検出するウォッチドッグタイマステップと、
前記ウォッチドッグタイマステップにおけるカウントの満了を示す信号と、前記診断プロセッサからの当該診断プロセッサが動作していることを示す信号とに基づいて、前記診断プロセッサの状態を示す診断プロセッサ状態情報の値を設定する診断プロセッサ状態情報設定ステップと、
前記計算機の電源切断を必要とする障害を検出する障害検出ステップと、
前記障害検出ステップにて、前記計算機の電源切断を必要とする障害を検出すると、前記診断プロセッサ状態情報の値に基づいて、前記診断プロセッサに前記シャットダウン処理を行わせるか、前記電源切断部に前記計算機の電源を切断させるかを選択し実行させる処理選択ステップと、
を具備することを特徴とする電源切断処理方法。 A power-off processing method of a power-off processing apparatus comprising: a diagnostic processor that performs a shutdown process on a computer; and a power-off unit that cuts off the power of the computer,
A watchdog timer step of detecting a failure state of a diagnostic processor that turns off the power supply of the computer in a shutdown process for the computer at the expiration of the count;
Based on a signal indicating the expiration of the count in the watchdog timer step and a signal indicating that the diagnostic processor is operating from the diagnostic processor, a value of diagnostic processor status information indicating the status of the diagnostic processor is obtained. A diagnostic processor state information setting step to be set;
A fault detection step of detecting a fault that requires powering off the computer;
In the fault detection step, when detecting a fault that requires the computer to be powered off, based on the value of the diagnostic processor status information, the diagnostic processor performs the shutdown process or the power cutoff unit A process selection step for selecting and executing whether to turn off the power of the computer;
A power-off processing method.
前記計算機に対するシャットダウン処理にて前記計算機の電源を切断する診断プロセッサの障害状態を、カウントの満了にて検出するウォッチドッグタイマステップと、
前記ウォッチドッグタイマステップにおけるカウントの満了を示す信号と、前記診断プロセッサからの当該診断プロセッサが動作していることを示す信号とに基づいて、前記診断プロセッサの状態を示す診断プロセッサ状態情報の値を設定する診断プロセッサ状態情報設定ステップと、
前記計算機の電源切断を必要とする障害を検出する障害検出ステップと、
前記障害検出ステップにて、前記計算機の電源切断を必要とする障害を検出すると、前記診断プロセッサ状態情報の値に基づいて、前記診断プロセッサに前記シャットダウン処理を行わせるか、前記電源切断部に前記計算機の電源を切断させるかを選択し実行させる処理選択ステップと、
を実行させるためのプログラム。
A computer that controls a power-off processing device, comprising: a diagnostic processor that performs a shutdown process on a computer; and a power-off unit that turns off the power of the computer.
A watchdog timer step of detecting a failure state of a diagnostic processor that turns off the power supply of the computer in a shutdown process for the computer at the expiration of the count;
Based on a signal indicating the expiration of the count in the watchdog timer step and a signal indicating that the diagnostic processor is operating from the diagnostic processor, a value of diagnostic processor status information indicating the status of the diagnostic processor is obtained. A diagnostic processor state information setting step to be set;
A fault detection step of detecting a fault that requires powering off the computer;
In the fault detection step, when detecting a fault that requires the computer to be powered off, based on the value of the diagnostic processor status information, the diagnostic processor performs the shutdown process or the power cutoff unit A process selection step for selecting and executing whether to turn off the power of the computer;
A program for running
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012009902A JP5818257B2 (en) | 2012-01-20 | 2012-01-20 | Computer system, power-off processing apparatus, power-off processing method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012009902A JP5818257B2 (en) | 2012-01-20 | 2012-01-20 | Computer system, power-off processing apparatus, power-off processing method, and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2013149128A true JP2013149128A (en) | 2013-08-01 |
JP5818257B2 JP5818257B2 (en) | 2015-11-18 |
Family
ID=49046559
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2012009902A Active JP5818257B2 (en) | 2012-01-20 | 2012-01-20 | Computer system, power-off processing apparatus, power-off processing method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5818257B2 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2016076033A (en) * | 2014-10-03 | 2016-05-12 | 株式会社リコー | Information processing device |
US10585755B2 (en) | 2016-11-29 | 2020-03-10 | Ricoh Company, Ltd. | Electronic apparatus and method for restarting a central processing unit (CPU) in response to detecting an abnormality |
JP6974786B1 (en) * | 2021-03-19 | 2021-12-01 | 富士通クライアントコンピューティング株式会社 | Information processing equipment and programs |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11853148B2 (en) * | 2021-09-23 | 2023-12-26 | Apple Inc. | Datalogging circuit triggered by a watchdog timer |
-
2012
- 2012-01-20 JP JP2012009902A patent/JP5818257B2/en active Active
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2016076033A (en) * | 2014-10-03 | 2016-05-12 | 株式会社リコー | Information processing device |
US10585755B2 (en) | 2016-11-29 | 2020-03-10 | Ricoh Company, Ltd. | Electronic apparatus and method for restarting a central processing unit (CPU) in response to detecting an abnormality |
JP6974786B1 (en) * | 2021-03-19 | 2021-12-01 | 富士通クライアントコンピューティング株式会社 | Information processing equipment and programs |
Also Published As
Publication number | Publication date |
---|---|
JP5818257B2 (en) | 2015-11-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10585755B2 (en) | Electronic apparatus and method for restarting a central processing unit (CPU) in response to detecting an abnormality | |
US9015458B2 (en) | Computer system and method for updating basic input/output system by switching between local mode and bypass mode through baseboard management controller | |
JP5120664B2 (en) | Server system and crash dump collection method | |
US10275330B2 (en) | Computer readable non-transitory recording medium storing pseudo failure generation program, generation method, and generation apparatus | |
US20170149925A1 (en) | Processing cache data | |
WO2018095107A1 (en) | Bios program abnormal processing method and apparatus | |
CN110069363B (en) | Method for updating boot loader of multiprocessor device, storage medium and device | |
KR101581608B1 (en) | Processor system | |
US10691565B2 (en) | Storage control device and storage control method | |
JP6130520B2 (en) | MULTISYSTEM SYSTEM AND MULTISYSTEM SYSTEM MANAGEMENT METHOD | |
JP5818257B2 (en) | Computer system, power-off processing apparatus, power-off processing method, and program | |
US20140122421A1 (en) | Information processing apparatus, information processing method and computer-readable storage medium | |
JP2010086364A (en) | Information processing device, operation state monitoring device and method | |
US20140140135A1 (en) | Storage device, recovery method, and recording medium for recovery program | |
CN111800304A (en) | Process running monitoring method, storage medium and virtual device | |
CN105389525A (en) | Management method and system for blade server | |
JPWO2012001780A1 (en) | System control device, information processing system, and data saving and restoring method for information processing system | |
CN115617550A (en) | Processing device, control unit, electronic device, method, and computer program | |
JP2009265848A (en) | Control method for information processing system, information processing system, and program | |
JP6599725B2 (en) | Information processing apparatus, log management method, and computer program | |
US20180081762A1 (en) | Information processing device | |
CN113641537A (en) | Starting system, method and medium for server | |
JP5579257B2 (en) | Apparatus and method for restoring information in main memory | |
WO2014112039A1 (en) | Information processing device, method for controlling information processing device and information processing device control program | |
TWI461905B (en) | Computing device capable of remote crash recovery, method for remote crash recovery of computing device, and computer readable medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20140804 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20141209 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20150827 |
|
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: 20150901 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20150924 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5818257 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |