JPH10260870A - System starting and termination controller - Google Patents

System starting and termination controller

Info

Publication number
JPH10260870A
JPH10260870A JP9066461A JP6646197A JPH10260870A JP H10260870 A JPH10260870 A JP H10260870A JP 9066461 A JP9066461 A JP 9066461A JP 6646197 A JP6646197 A JP 6646197A JP H10260870 A JPH10260870 A JP H10260870A
Authority
JP
Japan
Prior art keywords
log
file
execution
ras
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
Application number
JP9066461A
Other languages
Japanese (ja)
Inventor
Izumi Nakagawa
いずみ 中川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP9066461A priority Critical patent/JPH10260870A/en
Publication of JPH10260870A publication Critical patent/JPH10260870A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To detect an occurred error and a factor causing the last time machine stop, and to inform a remote maintenance place of it, by acquiring execution log showing the history of the starting processing and the terminating processing of a system and generating a log file. SOLUTION: When the system starting processing is called, a log saving processing part 11 saves the execution log files 16 and 17 in different names as saving log files 16a and 17a. A starting log output part 12 stores the execution process in the execution log file 16. An RAS information processing part 13 checks an error occurring situation from the contents of the execution log files 16 and 17 and checks the previous machine stop cause by a stop cause file 18. An RAS diagnosis part 20 outputs the fault content to the RAS log file 40 and pervious machine stop information. Then, it is RAS-informed to the remote maintenance place or the like through an online transmission part 30.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はシステム起動/終了
制御装置に関し、特にシステムの起動時および終了時に
おける処理動作の履歴を採取するシステム起動/終了制
御装置に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to a system start / end control device, and more particularly to a system start / end control device for collecting a history of processing operations at the time of starting and ending a system.

【0002】[0002]

【従来の技術】システムの運用担当者や保守担当者が常
駐していないシステム、たとえば広い地域に分散して配
置された店舗用の端末システムなどにおいては、障害が
発生したときに備えて種々の対策が講じられている。
2. Description of the Related Art In a system in which a system operation or maintenance person is not resident, for example, in a terminal system for a store distributed in a wide area, various kinds of systems are prepared in case of a failure. Measures have been taken.

【0003】たとえば、特開平02−231650号公
報によれば、システムの実行状況を監視する保守対策プ
ログラムとシステムのトラブル要因を表示するプログラ
ムとを設けてトラブルの要因を採取する。また、特開平
08−65387号公報によれば、ソフトウェア障害が
発生したときにその障害要因を分析し、システムの再開
時にはそれを穏蔽して稼働する方法が提案されている。
さらに、特開平06−348546号公報によれば、プ
ログラムの構成の如何にかかわらず、業務ごとにログを
収集して稼働状況を把握する方法が提案されている。
For example, according to Japanese Patent Application Laid-Open No. 02-231650, a maintenance countermeasure program for monitoring the execution status of the system and a program for displaying the cause of the system trouble are provided to collect the cause of the trouble. Further, according to Japanese Patent Application Laid-Open No. 08-65387, a method is proposed in which when a software failure occurs, the cause of the failure is analyzed, and when the system is restarted, it is quietly operated.
Further, according to Japanese Patent Application Laid-Open No. 06-348546, a method is proposed in which logs are collected for each job and the operation status is grasped, regardless of the configuration of the program.

【0004】しかしながら、上記のような従来のシステ
ムはいずれも業務システムの実行状況に関するものであ
り、端末システムの起動処理や終了処理にかかわるもの
ではない。
[0004] However, all of the conventional systems described above relate to the execution status of the business system, and do not relate to the startup processing or the termination processing of the terminal system.

【0005】[0005]

【発明が解決しようとする課題】上記のような従来のシ
ステムにおいて、第1の問題点は、システムの起動処理
および終了処理中に何らかの障害が発生し、処理の続行
が不可能な状態になった場合、リセットスイッチやダン
プスイッチの押下によって復旧される。この時、どの処
理で障害が発生したのか、どこまでの処理は実行された
のか等を解析するための情報収集手段がない。その理由
は、もし、画面上にエラーメッセージが出力された場合
においても、迅速な復旧のためのリセット操作等によっ
て、画面情報が保存されることは少なく、また、手作業
による情報確保は面倒で時間もかかり、信頼性も低いた
めである。
The first problem with the conventional system as described above is that some trouble occurs during the start-up and end processes of the system, and the process cannot be continued. In this case, it is restored by pressing the reset switch or the dump switch. At this time, there is no information collecting means for analyzing which process has caused the failure, how far the process has been executed, and the like. The reason is that even if an error message is output on the screen, the screen information is rarely saved due to a reset operation etc. for quick recovery, and it is troublesome to secure the information manually. This is because it takes time and reliability is low.

【0006】第2の問題点は、システム起動処理および
終了処理中にシステムストールまたはパニックが発生し
た場合、リセットスイッチやダンプスイッチの押下、ま
たはダンプルーチンの自動実行によって、採取中だった
実行ログファイルが上書きされることになり、前回のシ
ステム起動処理および終了処理時のトラブル発生箇所、
要因を識別することができなくなる。その理由は、ファ
イル要領の単純増加を避けるため、実行ログファイル
は、必要に応じて上書きして使用する必要があるが、前
回の実行履歴が上書きされてしまっては、せっかく採取
した意味がなくなってしまうためである。
A second problem is that when a system stall or panic occurs during the system start-up process and the end process, the execution log file being collected by pressing a reset switch or a dump switch or automatically executing a dump routine. Will be overwritten, where the trouble occurred during the previous system startup and shutdown processing,
The factor cannot be identified. The reason is that the execution log file needs to be overwritten as needed to avoid the simple increase of the file procedure, but if the previous execution history was overwritten, it would no longer be meaningful to collect it. This is because

【0007】第3の問題点は、システム起動処理および
終了処理時の障害を検知した場合、その旨を画面やプリ
ンタに出力したところで、マシン運用者が常駐すること
のないシステムにおいては、それに対するル対応が不可
能である。その理由は、マシン運用者が常駐することの
ないシステム、特に店舗システムなどにおいては、コン
ピュータマシンのエラーメッセージ等トラブル内容を一
般ユーザに見せても、困惑を招くだけで意味がないから
である。
A third problem is that when a failure is detected during the system startup processing and the termination processing, the fact is output to a screen or a printer. Is not possible. The reason is that, in a system in which a machine operator does not reside, particularly in a store system, it is meaningless to show general users trouble contents such as an error message of a computer machine, but only to be confused.

【0008】本発明の目的は、上記の問題点を改善する
ために、システム起動処理および終了処理中における実
行履歴を採取し、そのログファイルの1世代保管によっ
てシステムの保守性を向上させ、さらにシステム起動処
理および終了処理中に発生したエラーおよび前回のマシ
ン停止を引き起こした要因を検知し、遠隔の保守拠点等
へ通報するようにしたシステム起動/終了制御装置を提
供することにある。
An object of the present invention is to improve the maintainability of the system by collecting an execution history during system startup processing and termination processing and storing the log file for one generation, in order to improve the above problems. An object of the present invention is to provide a system start / end control device that detects an error that occurred during system start processing and end processing and a factor that caused the previous machine stop and notifies a remote maintenance base or the like.

【0009】[0009]

【課題を解決するための手段】本発明のシステム起動/
終了制御装置は、システムの起動処理および終了処理の
履歴を示す実行ログを採取しログファイルを作成するよ
うにして構成される。
SUMMARY OF THE INVENTION According to the present invention, there is provided a method for starting a system.
The termination control device is configured to collect an execution log indicating a history of system startup processing and termination processing and create a log file.

【0010】また、本発明のシステム起動/終了制御装
置は、電源ONの要求を受けたとき一世代前の実行ログ
を退避させるログ退避処理部と、前記電源ONの要求に
従ってシステムの起動処理を実行しその履歴を実行ログ
として送出する起動ログ出力部と、電源OFFの要求に
従って前記システムの停止処理を実行しその履歴を実行
ログとして送出する終了ログ出力部と、前記起動ログ出
力部および前記終了ログ出力部が送出する実行ログを保
持する実行ログファイルと、前記実行ログファイルに保
持した一世代前の実行ログを退避する退避ログファイル
とを備えて構成される。
The system start / end control device according to the present invention includes a log save processing unit for saving an execution log of one generation before when a power ON request is received, and a system start processing according to the power ON request. A start log output unit for executing and sending the history as an execution log; an end log output unit for executing a stop process of the system according to a power-off request and sending the history as an execution log; An execution log file that holds an execution log sent by the end log output unit and a save log file that saves the previous generation execution log held in the execution log file are provided.

【0011】また、本発明のシステム起動/終了制御装
置は、電源OFFの要求を受けたときその停止要因を検
知し前記終了ログ出力部に通知するとともに停止要因フ
ァイルに格納する停止要因監視部と、前記停止要因を保
持する停止要因ファイルとを具備し、前記起動ログ出力
部はシステムの起動処理を終了したとき前記起動処理に
おけるエラー発生状況をチェックするとともに前記停止
要因ファイルに保持されている前回の停止要因をチェッ
クしRASログ情報として送出するRAS通報処理部を
含む。
In addition, the system start / end control device of the present invention, when receiving a power-off request, detects a stop factor and notifies the end log output unit and stores the stop factor in a stop factor file. And a stop factor file holding the stop factor, wherein the start log output unit checks the error occurrence status in the start process when the system start process is completed, and checks the last time held in the stop factor file. And a RAS notification processing unit for checking the cause of the stop and sending it out as RAS log information.

【0012】さらに、本発明のシステム起動/終了制御
装置は、前記RASログ情報を分析し障害内容を報告す
るRAS診断部と、前記障害内容を格納するRASログ
ファイルと、前記障害内容を外部に通知するオンライン
送信部とを含む。
Further, the system start / end control device of the present invention analyzes the RAS log information and reports a failure content, a RAS log file storing the failure content, and transmits the failure content to the outside. And an online transmission unit for notifying.

【0013】すなわち、本発明によるシステム起動/終
了制御装置は、システム起動処理および終了処理時にお
ける実行ログファイルを採取することによって、どのよ
うな処理の実行中に障害が発生したのか、どこまでの処
理は実行されたのか等を解析するための情報収集手段を
提供する。
That is, the system start / end control device according to the present invention collects the execution log files at the time of the system start-up processing and the end processing, thereby determining what kind of processing has caused the failure during the execution, and how far the processing has been performed. Provides information collection means for analyzing whether the execution has been performed.

【0014】また、システム起動時の初期処理として、
前回のシステム起動処理および終了処理の実行履歴を一
世代分退避することによって、システム起動処理および
終了処理中にシステムストールまたはパニックが発生し
た場合、リセットスイッチやダンプスイッチの押下、ま
たはダンプルーチンの自動実行によって、採取中だった
実行ログファイルが上書きされることを回避し、前回の
システム起動処理および終了処理時のトラブル発生箇
所、要因を識別することができる。
As an initial process at the time of starting the system,
If the system stalls or panics during the system startup and termination processing by saving the execution history of the previous system startup and termination processing for one generation, the reset switch or dump switch is pressed, or the dump routine is automatically executed. It is possible to prevent the execution log file being collected from being overwritten by the execution, and to identify the trouble occurrence location and the cause during the previous system start-up processing and end processing.

【0015】システム起動処理および終了処理時に採取
されたログファイルから、エラー発生状況を検知し、遠
隔の保守拠点等へ障害内容を通報することによって、そ
の通報をトリガーとしてリモートマシンからのリモート
保守を実行することができ、また、緊急を要する通報の
場合は保守員を至急に手配し対応することができ、保守
性が向上する。
An error occurrence situation is detected from the log files collected at the time of system startup processing and termination processing, and the contents of the failure are reported to a remote maintenance base or the like. It can be executed, and in the case of an urgent report, a maintenance person can be arranged and dealt with immediately, thereby improving maintainability.

【0016】前回のマシン停止要因を判別することによ
って、自動リカバリ処理の必要性を判断するための手掛
となり得る。
Determining the cause of the previous machine stop may provide clues for determining the need for automatic recovery processing.

【0017】また、特にマシン運用者が常駐することの
ない店舗システム等において、障害内容や前回のマシン
停止要因を遠隔の保守拠点等へ通報することによって、
その通報情報を一元管理することができ、保守員による
予防保守作業を可能にする。
Further, in a store system or the like in which a machine operator is not always resident, by notifying the contents of a fault or a previous machine stop cause to a remote maintenance base or the like,
The report information can be centrally managed, and preventive maintenance work by maintenance personnel is enabled.

【0018】[0018]

【発明の実施の形態】以下、本発明について図面を参照
しながら説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to the drawings.

【0019】図1は本発明の実施の一形態を示すブロッ
ク図である。同図において、本発明によるシステム起動
/終了制御装置10は、電源ONの要求を受けたとき一
世代前の実行ログを退避させるログ退避処理部11と、
前記電源ONの要求に従ってシステムの起動処理を実行
しその履歴を実行ログとして送出する起動ログ出力部1
2と、電源OFFの要求に従って前記システムの停止処
理を実行しその履歴を実行ログとして送出する終了ログ
出力部15と、前記起動ログ出力部および前記終了ログ
出力部が送出する実行ログを保持する実行ログファイル
16および17と、前記実行ログファイルに保持した一
世代前の実行ログを退避する退避ログファイル16aお
よび17aとを備える。
FIG. 1 is a block diagram showing an embodiment of the present invention. In FIG. 1, a system start / end control device 10 according to the present invention includes a log save processing unit 11 that saves an execution log of one generation before when a power ON request is received,
A start log output unit 1 that executes a system start process in accordance with the power-on request and sends the history as an execution log.
2, an end log output unit 15 that executes the stop processing of the system according to a power-off request and sends the history as an execution log, and holds an execution log sent by the start log output unit and the end log output unit. The system includes execution log files 16 and 17 and save log files 16a and 17a for saving the previous generation execution log held in the execution log file.

【0020】さらに上記のシステム起動/終了制御装置
10において、電源OFFの要求を受けたときその停止
要因を検知し前記終了ログ出力部に通知するとともに停
止要因ファイルに格納する停止要因監視部14と、前記
停止要因を保持する停止要因ファイル18とを具備し、
前記起動ログ出力部12はシステムの起動処理を終了し
たとき前記起動処理におけるエラー発生状況をチェック
するとともに前記停止要因ファイルに保持されている前
回の停止要因をチェックしRASログ情報として送出す
るRAS通報処理部13を含む。
Further, in the system start / end control device 10, when a power-off request is received, the stop factor is detected, notified to the end log output unit, and stored in a stop factor file. And a stop factor file 18 for holding the stop factor.
Upon completion of the system startup processing, the startup log output unit 12 checks an error occurrence situation in the startup processing, checks a previous stop factor stored in the stop factor file, and sends out the RAS message as RAS log information. A processing unit 13 is included.

【0021】また、図1において、システム起動/終了
制御装置10は情報処理装置1に含まれ、さらに、情報
処理装置1は前記RASログ情報を分析し障害内容を報
告するRAS診断部20と、前記障害内容を格納するR
ASログファイル40と、前記障害内容を外部に通知す
るオンライン送信部30とを具備している。なお、オン
ライン送信部30は外部の保守情報処理装置2に接続さ
れており、上記の障害内容を通報する。
In FIG. 1, a system activation / termination control device 10 is included in the information processing device 1, and the information processing device 1 further includes an RAS diagnosis unit 20 that analyzes the RAS log information and reports a failure content. R for storing the failure content
An AS log file 40 and an online transmission unit 30 for notifying the failure contents to the outside are provided. Note that the online transmission unit 30 is connected to the external maintenance information processing device 2 and reports the content of the failure described above.

【0022】図2は上記のシステム起動/終了制御装置
10における起動動作を示す流れ図である。同図におい
て、システム起動処理が呼び出されると、まず、ログ退
避処理部11が実行ログファイル16および17をそれ
ぞれ別名で退避ログファイル16aおよび17aとして
退避する(S11)。その後、各種起動処理が実行さ
れ、その実行過程を起動ログ出力部12が実行ログファ
イル16に格納する(S12)。
FIG. 2 is a flowchart showing a starting operation in the system start / end control device 10 described above. In the figure, when the system startup processing is called, first, the log save processing unit 11 saves the execution log files 16 and 17 as save log files 16a and 17a, respectively, under different names (S11). After that, various startup processes are executed, and the execution log output unit 12 stores the execution process in the execution log file 16 (S12).

【0023】各種起動処理の最後に、RAS通報処理部
13において、実行ログファイル16および17の内容
からエラー発生状況をチェックし(S13)、さらに停
止要因ファイル18より前回のマシン停止要因をチェッ
クする(S14)。そしてRAS診断部20へRASロ
グファイル40に格納すべきもの、および遠隔の保守拠
点等へ通報すべきものについてそれぞれ要求する(S1
5,S16)。
At the end of the various startup processes, the RAS notification processing unit 13 checks the error occurrence status from the contents of the execution log files 16 and 17 (S13), and further checks the previous machine stop factor from the stop factor file 18. (S14). Then, the RAS diagnostic unit 20 is requested to store the information to be stored in the RAS log file 40 and the information to be reported to a remote maintenance base or the like (S1).
5, S16).

【0024】RAS診断部20は、その要求に従って、
RASログファイル40へ障害内容や前回のマシン停止
要因情報を出力する(S17)。また、オンライン送信
部30を介して、遠隔の保守拠点等へRAS通知する
(S18)。
The RAS diagnosis unit 20 responds to the request by
The failure content and the previous machine stop cause information are output to the RAS log file 40 (S17). In addition, RAS notification is made to a remote maintenance base or the like via the online transmission unit 30 (S18).

【0025】図3は上記のシステム起動/終了制御装置
10における終了動作を示す流れ図である。同図におい
て、システム終了処理が呼び出された場合、停止要因監
視部14がその旨を停止要因ファイル18へ格納する
(S21)。この停止要因ファイル18には、初期値が
割り当てられており、その初期値の内容を、検知した停
止要因に変更することによって、停止要因を判別する。
CPUストール等によって、検知できなかった場合は、
停止要因ファイル18の内容は、初期値のままになって
いることになるので、その場合は、CPUストールした
ものと判断する。
FIG. 3 is a flowchart showing an end operation in the system start / end control device 10 described above. In the figure, when the system termination processing is called, the stop cause monitoring unit 14 stores the fact in the stop cause file 18 (S21). An initial value is assigned to the stop factor file 18, and the stop factor is determined by changing the contents of the initial value to the detected stop factor.
If not detected due to CPU stall, etc.,
Since the content of the stop cause file 18 is kept at the initial value, in this case, it is determined that the CPU has been stalled.

【0026】その後、各種停止処理が実行され、その実
行過程を終了ログ出力部15が終了処理実行ログファイ
ル17に格納する。
Thereafter, various stop processes are executed, and the end log output unit 15 stores the execution process in the end process execution log file 17.

【0027】図4は、上記のシステム起動/終了制御装
置の具体的例を示すブロック図である。同図ではプラッ
トホームをUNIXとした場合の例を示している。
FIG. 4 is a block diagram showing a specific example of the system start / end control device. FIG. 1 shows an example where the platform is UNIX.

【0028】図4を参照すると、店舗システム51は、
システム起動/終了制御装置60と、常駐プロセスであ
るRASデーモン70およびオンラインデーモン80
と、RASログファイル90とで構成されている。そし
て遠隔の保守拠点システム52に接続されている。
Referring to FIG. 4, the store system 51 includes:
System start / end control device 60, RAS daemon 70 and online daemon 80 which are resident processes
And an RAS log file 90. And it is connected to a remote maintenance base system 52.

【0029】さらに、システム起動/終了制御装置60
は、コピーコマンドを使用したログ退避処理部61と、
シェルの標準出力ファイル機能を使用した起動ログ出力
部62と、awkやgrepコマンドや独自RASコマ
ンドを組み合わせたRAS通報処理部63と、停止要因
シグナルを受信する常駐プロセスである停止要因監視デ
ーモン64と、同じくシェルの標準出力ファイル機能を
使用した終了ログ出力部65と、標準UNIXファイル
である起動処理の実行ログファイル66およびその退避
ログファイル66aと、終了処理の実行ログファイル6
7およびその退避ログファイル67aと、停止要因ファ
イル68とを備えて構成される。
Further, the system start / end control device 60
Is a log save processing unit 61 using a copy command,
A startup log output unit 62 using the standard output file function of the shell, an RAS report processing unit 63 combining an awk or grep command or an original RAS command, and a stop factor monitoring daemon 64 which is a resident process for receiving a stop factor signal. An end log output unit 65 also using the standard output file function of the shell, an execution log file 66 of a start process, which is a standard UNIX file and its save log file 66a, and an execution log file 6 of the end process
7 and its save log file 67a, and a stop cause file 68.

【0030】図5は上記のシステム起動/終了制御装置
60における起動動作を示す流れ図である。同図におい
て、DCスイッチ押下による電源ON、またはリセット
スイッチ押下およびリブート処理呼び出しによって、シ
ステム起動処理が呼び出されると、まず、ログ退避処理
部61がコピーコマンドによって既存の実行ログファイ
ル66および67をそれぞれ別名で退避ログファイル6
6aおよび67aとして退避する(S61)。その後、
各種起動処理シェルスクリプト(/etc/rc2.d
/および/etc/rc.d/ディレクトリ配下の大文
字“S”で始まるシェルスクリプト)が実行され、その
実行過程を起動ログ出力部62がシェルの標準出力ファ
イル機能を用いて起動処理実行ログファイル66に格納
する(S62)。
FIG. 5 is a flowchart showing a starting operation in the system start / end control device 60 described above. In the figure, when the system startup processing is called by turning on the power by pressing the DC switch or pressing the reset switch and calling the reboot processing, first, the log save processing unit 61 first copies the existing execution log files 66 and 67 by the copy command. Backup log file 6 with another name
Save as 6a and 67a (S61). afterwards,
Various startup processing shell scripts (/etc/rc2.d
/ And / etc / rc. The shell script starting with a capital letter "S" under the d / directory is executed, and the execution log output unit 62 stores the execution process in the startup processing execution log file 66 using the standard output file function of the shell (S62).

【0031】各種起動処理シェルスクリプトの実行の一
番最後で、RASの通報処理部63を実行する。ここで
は、実行ログファイル66および67Bの内容からas
kやgrepコマンドを組み合わせてエラー発生状況を
チェックし、(S63)、また停止要因格納ファイル6
8より前回のマシン停止要因を読み込んでチェックする
(S64)。さらに、RASデーモン70へRASログ
ファイル90に格納すべきもの、および遠隔の保守拠点
等へ通報すべきものについてそれぞれ独自のRASコマ
ンド(API)を用いて要求る(S65、S66)。
At the very end of the execution of the various startup processing shell scripts, the RAS notification processing unit 63 is executed. Here, as from the contents of the execution log files 66 and 67B,
The error occurrence status is checked by combining k and grep commands (S63).
Then, the previous machine stop factor is read from 8 and checked (S64). Further, a request is made to the RAS daemon 70 for an item to be stored in the RAS log file 90 and for an item to be reported to a remote maintenance site or the like using unique RAS commands (APIs) (S65, S66).

【0032】RASデーモン70は、その要求に従っ
て、 RASログファイル90へ障害内容や前回のマシ
ン停止要因情報を出力する(S67)。また、オンライ
ンデーモン80を介して、遠隔の保守拠点等へRAS通
知する(S68)。
In response to the request, the RAS daemon 70 outputs the contents of the failure and the previous machine stop cause information to the RAS log file 90 (S67). Further, the RAS is notified to a remote maintenance base or the like via the online daemon 80 (S68).

【0033】図6は上記のシステム起動/終了制御装置
60における終了動作を示す流れ図である。同図におい
て、マシン運用中にSW/DCスイッチ押下、停電によ
るUPS感知、パニック発生、ストール発生等によっ
て、システム終了が呼び出された場合、停止要因監視デ
ーモン64がその旨を停止要因ファイル68へ格納する
(S71)。この停止要因ファイル68には、初期値が
割り当てられており、ソの初期値の内容を、検知した停
止要因に変更することによって、停止要因を判別する。
CPUストール等によって、検知できなかった場合は、
停止要因ファイル68の内容は、初期値のままになって
いることになるので、その場合は、CPUストールした
ものと判断する。その後、各種停止処理シェルスクリプ
ト(/etc/rc0.d/ディレクトリ配下の大文字
“K”で始まるシェルスクリプト)が実行され、その実
行過程を終了ログ出力部65がシェルの標準出力ファイ
ル機能を用いて実行ログファイル67に格納する(S7
2)。
FIG. 6 is a flowchart showing an end operation in the system start / end control device 60 described above. In the figure, when the system termination is called by the SW / DC switch being pressed, the UPS being detected by a power failure, the occurrence of a panic, the occurrence of a stall, etc. during the operation of the machine, the stop factor monitoring daemon 64 stores the fact in the stop factor file 68. (S71). An initial value is assigned to the stop factor file 68, and the stop factor is determined by changing the contents of the initial value of the software to the detected stop factor.
If not detected due to CPU stall, etc.,
Since the contents of the stop cause file 68 are kept at the initial values, in this case, it is determined that the CPU has been stalled. After that, various stop processing shell scripts (shell scripts starting with a capital letter "K" under the /etc/rc0.d/ directory) are executed, and the execution process is terminated by the log output unit 65 using the standard output file function of the shell. Stored in the execution log file 67 (S7
2).

【0034】[0034]

【発明の効果】以上、詳細に説明したように、本発明の
システム起動/終了制御装置によれば、システム起動処
理および終了処理時における実行ログを採取し、さらに
それを一世代分保管するようにしたので、システム起動
処理および終了処理における障害発生要因を解析するた
めの情報を収集できるという効果がある。
As described above in detail, according to the system start / end control device of the present invention, an execution log at the time of system start processing and end processing is collected and further stored for one generation. Therefore, there is an effect that information for analyzing the cause of failure in the system start-up process and the end process can be collected.

【0035】また、前回のマシン停止要因を判別するこ
とによって、自動リカバリ処理の必要性を判断するため
の手掛を得ることができる。
Further, by determining the cause of the previous machine stoppage, it is possible to obtain clues for determining the necessity of the automatic recovery process.

【0036】また、マシン運用者が常駐することのない
店舗システム等において、障害内容を遠隔の保守拠点等
へ通報することができるので、その通報をトリガーとし
てリモートマシンからのリモート保守を実行することが
でき、緊急を要する通報の場合は、保守員を至急に手配
し対応することができ、保守性が向上する。
Further, in a store system or the like where a machine operator does not reside, it is possible to report the contents of a failure to a remote maintenance base or the like, so that remote maintenance from a remote machine is executed by using the report as a trigger. In the case of an urgent report, maintenance personnel can be arranged and dealt with immediately, and maintainability is improved.

【0037】さらに、障害内容や前回のマシン停止要因
を遠隔の保守拠点等へ通報することによって、その通報
情報を一元管理することができ、保守員による予防保守
作業を可能にする。
Further, by notifying the contents of the fault and the cause of the previous machine stop to a remote maintenance base or the like, the report information can be centrally managed, thereby enabling preventive maintenance work by maintenance personnel.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の実施の一形態を示すブロック図。FIG. 1 is a block diagram showing one embodiment of the present invention.

【図2】本発明の起動動作を示す流れ図。FIG. 2 is a flowchart showing a starting operation of the present invention.

【図3】本発明の終了動作を示す流れ図。FIG. 3 is a flowchart showing an end operation of the present invention.

【図4】本発明の実施の具体例を示すブロック図。FIG. 4 is a block diagram showing a specific example of an embodiment of the present invention.

【図5】図4の例の起動動作を示す流れ図。FIG. 5 is a flowchart showing a starting operation of the example of FIG. 4;

【図6】図4の例の終了動作を示す流れ図。FIG. 6 is a flowchart showing an end operation of the example of FIG. 4;

【符号の説明】[Explanation of symbols]

10 システム起動/終了制御装置 11 ログ退避処理部 12 起動ログ出力部 13 RAS通報処理部 14 停止要因監視部 15 終了ログ出力部 16,17 実行ログファイル 16a,17a 退避ログファイル 18 停止要因ファイル 20 RAS診断部 30 オンライン送信部 40 RASログファイル Reference Signs List 10 system start / end control device 11 log save processing unit 12 start log output unit 13 RAS notification processing unit 14 stop factor monitoring unit 15 end log output unit 16, 17 execution log file 16a, 17a save log file 18 stop cause file 20 RAS Diagnosis unit 30 Online transmission unit 40 RAS log file

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 システムの起動処理および終了処理の履
歴を示す実行ログを採取しログファイルを作成すること
を特徴とするシステム起動/終了制御装置。
1. A system start / end control device, which collects an execution log indicating a history of system start processing and end processing and creates a log file.
【請求項2】 請求項1記載のシステム起動/終了制御
装置において、前回の起動処理および終了処理の履歴を
示す一世代前の実行ログを退避することを特徴とするシ
ステム起動/終了制御装置。
2. The system start / end control device according to claim 1, wherein an execution log of a previous generation indicating the history of the previous start process and end process is saved.
【請求項3】 請求項1または2記載のシステム起動/
終了制御装置において、電源ONの要求を受けたとき一
世代前の実行ログを退避させるログ退避処理部と、前記
電源ONの要求に従ってシステムの起動処理を実行しそ
の履歴を実行ログとして送出する起動ログ出力部と、電
源OFFの要求に従って前記システムの停止処理を実行
しその履歴を実行ログとして送出する終了ログ出力部
と、前記起動ログ出力部および前記終了ログ出力部が送
出する実行ログを保持する実行ログファイルと、前記実
行ログファイルに保持した一世代前の実行ログを退避す
る退避ログファイルとを備えることを特徴とするシステ
ム起動/終了制御装置。
3. The system according to claim 1 or 2,
A log save processing unit that saves an execution log of one generation before when a power-on request is received, and a start-up that executes a system startup process in accordance with the power-on request and sends the history as an execution log. A log output unit, an end log output unit that executes a stop process of the system in accordance with a power-off request, and sends the history as an execution log, and holds an execution log sent by the start log output unit and the end log output unit. And a save log file for saving an execution log of one generation before stored in the execution log file.
【請求項4】 請求項3記載のシステム起動/終了制御
装置において、電源OFFの要求を受けたときその停止
要因を検知し前記終了ログ出力部に通知するとともに停
止要因ファイルに格納する停止要因監視部と、前記停止
要因を保持する停止要因ファイルとを具備し、前記起動
ログ出力部はシステムの起動処理を終了したとき前記起
動処理におけるエラー発生状況をチェックするとともに
前記停止要因ファイルに保持されている前回の停止要因
をチェックしRASログ情報として送出するRAS通報
処理部を含むことを特徴とするシステム起動/終了制御
装置。
4. A stop factor monitor according to claim 3, wherein when a power-off request is received, a stop factor is detected and notified to said end log output unit and stored in a stop factor file. Unit, and a stop factor file for holding the stop factor, wherein the start log output unit checks an error occurrence state in the start process when the system start process is completed and is held in the stop factor file. A system start / end control device characterized by including a RAS notification processing unit for checking a previous stop cause and sending it as RAS log information.
【請求項5】 請求項4記載のシステム起動/終了制御
装置において、前記RASログ情報を分析し障害内容を
報告するRAS診断部と、前記障害内容を格納するRA
Sログファイルと、前記障害内容を外部に通知するオン
ライン送信部とを含むことを特徴とするシステム起動/
終了制御装置。
5. The system start / end control device according to claim 4, wherein the RAS diagnostic unit analyzes the RAS log information and reports a failure content, and the RA stores the failure content.
An S-log file and an online transmission unit for notifying the contents of the failure to the outside;
Termination control unit.
JP9066461A 1997-03-19 1997-03-19 System starting and termination controller Pending JPH10260870A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9066461A JPH10260870A (en) 1997-03-19 1997-03-19 System starting and termination controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9066461A JPH10260870A (en) 1997-03-19 1997-03-19 System starting and termination controller

Publications (1)

Publication Number Publication Date
JPH10260870A true JPH10260870A (en) 1998-09-29

Family

ID=13316446

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9066461A Pending JPH10260870A (en) 1997-03-19 1997-03-19 System starting and termination controller

Country Status (1)

Country Link
JP (1) JPH10260870A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003519532A (en) * 2000-01-11 2003-06-24 ビーダーマン・モテーク・ゲゼルシャフト・ミット・ベシュレンクタ・ハフツング Apparatus and method for remote maintenance of electronically controllable prostheses
JP2010134687A (en) * 2008-12-04 2010-06-17 Hitachi Electronics Service Co Ltd Power supply management system
WO2013136462A1 (en) * 2012-03-14 2013-09-19 富士通株式会社 Monitoring device, information processing device, monitoring method, and monitoring program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003519532A (en) * 2000-01-11 2003-06-24 ビーダーマン・モテーク・ゲゼルシャフト・ミット・ベシュレンクタ・ハフツング Apparatus and method for remote maintenance of electronically controllable prostheses
JP2010134687A (en) * 2008-12-04 2010-06-17 Hitachi Electronics Service Co Ltd Power supply management system
WO2013136462A1 (en) * 2012-03-14 2013-09-19 富士通株式会社 Monitoring device, information processing device, monitoring method, and monitoring program

Similar Documents

Publication Publication Date Title
US10545807B2 (en) Method and system for acquiring parameter sets at a preset time interval and matching parameters to obtain a fault scenario type
JPH08328880A (en) Computer operation management system for operating system capable of simultaneous executing of plural application programs
KR20040047209A (en) Method for automatically recovering computer system in network and recovering system for realizing the same
DE10040421B4 (en) Method and system for the automatic technical support of computers
JP2002024039A (en) Software management system
JP2001005692A (en) Computer system, its maintenance and management system, and method for informing of fault
JPH10260870A (en) System starting and termination controller
JP2001331330A (en) Process abnormality detection and restoration system
JP5429171B2 (en) Information processing apparatus and hangup cause investigation information acquisition method
JPH0962626A (en) On-line testing method of decentralized processing system
JPH04338854A (en) Information collecting system for remote maintenance
JP2004192293A (en) Software verification support tool
JPH08329006A (en) Fault information system
JPH0291735A (en) Maintenance managing system for remote fault
JP2000092054A (en) Network system
JPH07191920A (en) Computer network
JPH0869593A (en) Monitoring system for performance of plant
JPH11259160A (en) Computer starting method, computer and storage medium recording starting processing program
JPH08179969A (en) System monitoring device
JPH03242739A (en) Trouble analysis information collection system
JPH1173336A (en) Automatic restoration method for fault in computer system
JPH03225536A (en) Method and device for log data collection
JPH11282563A (en) Automatic operation system for electronic computer system
JP2002312076A (en) Power supply control device for computer system
JPH09218835A (en) Remote maintenance system

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20000307