JPH0433024A - Log data collecting system - Google Patents

Log data collecting system

Info

Publication number
JPH0433024A
JPH0433024A JP2134875A JP13487590A JPH0433024A JP H0433024 A JPH0433024 A JP H0433024A JP 2134875 A JP2134875 A JP 2134875A JP 13487590 A JP13487590 A JP 13487590A JP H0433024 A JPH0433024 A JP H0433024A
Authority
JP
Japan
Prior art keywords
log data
log
failure
processing
output device
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
JP2134875A
Other languages
Japanese (ja)
Inventor
Fumio Aono
青野 文雄
Asako Oowada
大和田 麻子
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
NEC Engineering Ltd
Original Assignee
NEC Corp
NEC Engineering Ltd
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, NEC Engineering Ltd filed Critical NEC Corp
Priority to JP2134875A priority Critical patent/JPH0433024A/en
Publication of JPH0433024A publication Critical patent/JPH0433024A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To start the collection processing of a log data concerning the next fault even while fetching a log data concerning a first fault by parallelly executing the log data collection processing and the log data fetching processing. CONSTITUTION:When the plural faults are continuously generated in a data processor 1 and the log data fetching processing is not completed yet in a log data output device 8 in the case of completing the log data collection processing in a diagnostic controller 2, the log data fetching requiring information is tentatively stored so as to wait for the end of the log data fetching processing. Then, when the log data fetching processing is completed, the log data fetching requiring information is taken out so as to inform the log data fetching requirement to the log data output device 8. Thus, since the log data collection processing can be executed regardless of the log data fetching processing, the collection processing of the log data concerning the next fault can be started even while fetching the log data concerning a certain fault.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はデータ処理装置の障害処理に関し、特にデータ
処理装置の障害発生時のログデータ収集方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to failure handling in a data processing device, and particularly to a log data collection method when a failure occurs in a data processing device.

〔従来の技術〕[Conventional technology]

従来、この種のログデータ収集方式では、データ処理装
置に障害が発生したときに、診断制御装置が障害処理の
一環としてデータ処理装置からログデータを収集して、
収集したログデータを診断制御装置からログデータ出力
装置に取り込ませていた。
Conventionally, in this type of log data collection method, when a failure occurs in a data processing device, a diagnostic control device collects log data from the data processing device as part of failure handling.
The collected log data was imported from the diagnostic control device to the log data output device.

ところで、従来のログデータ収集方式では、診断制御装
置に設けられたログデータ記憶部の容量が1つの障害に
関するログデータを収集するだけの容量しかなかったの
で、データ処理装置で複数の障害が連続して発生した場
合には、診断制御装置がデータ処理装置からのログデー
タ収集処理を行ってログデータ出力装置に対してログデ
ータ取込み要求を通知し、ログデータ出力装置が診断制
御装置からのログデータ取込み処理を行うことにより最
初の障害に関するログデータの収集が行われるが、次の
障害に関するログデータ収集処理を開始するに際しては
ログデータ出力装置で最初の障害に関するログデータ取
込み処理が終了していない可能性があり、この最初の障
害に関するログデータ取込み処理が終了するまでは次の
障害に関するログデータ収集処理を開始することができ
ず、ログデータ収集処理を一時中断して最初の障害に関
するログデータ取込み処理の終了を待ち合わせていた。
By the way, in the conventional log data collection method, the capacity of the log data storage unit installed in the diagnostic control device was only large enough to collect log data related to one failure, so if multiple failures occurred in succession in the data processing device, If this occurs, the diagnostic control device collects log data from the data processing device, notifies the log data output device of a log data import request, and the log data output device collects the log data from the diagnostic control device. By performing the data import process, log data related to the first failure is collected, but before starting the log data collection process related to the next failure, the log data output device must finish the log data acquisition process related to the first failure. Therefore, the log data collection process for the next failure cannot be started until the log data capture process for this first failure is completed, and the log data collection process is temporarily suspended and the log data for the first failure is Waiting for data import processing to finish.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のログデータ収集方式では、診断制御装置
に設けられたログデータ記憶部の容量が1つの障害に関
するログデータを収集するだけの容量しかなかったので
、収集されたログデータがログデータ出力装置に取り込
まれている間に発生した障害に関するログデータ収集処
理はログデータ出力装置でのログデータ取込み処理の終
了を待ち合わせてから開始しなければならず、そのため
に複数の障害が連続して発生した場合には先に収集され
たログデータのログデータ取込み処理が終了するまで次
に発生した障害に関するログデータのログデータ収集処
理が行えないという欠点があ本発明の目的は、上述の点
に鑑み、データ処理装置で複数の障害が連続して発生し
た場合でも診断制御装置でのログデータ収集処理とログ
データ出力装置でのログデータ取込み処理とを並行して
行うことができるようにしたログデータ収集方式を提供
することにある。
In the conventional log data collection method described above, the capacity of the log data storage section provided in the diagnostic control device was only large enough to collect log data related to one failure, so the collected log data is not output as log data. Log data collection processing related to failures that occur while being imported into the device must wait for the end of the log data acquisition process on the log data output device before starting, which may cause multiple failures to occur in succession. In this case, the log data collection process for the log data related to the next failure that occurred cannot be performed until the log data import process for the previously collected log data is completed. In view of this, we have developed a log system that allows log data collection processing in the diagnostic control device and log data import processing in the log data output device to be performed in parallel even if multiple failures occur in succession in the data processing device. The objective is to provide a data collection method.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のログデータ収集方式は、データ処理装置と、診
断制御装置と、ログデータ出力装置とを備えるデータ処
理システムにおいて、データ処理装置のログデータを障
害単位に複数格納することができるログデータ記憶部と
、このログデータ記憶部に収集されたログデータをログ
データ出力装置に取り込ませるためのログデータ取込み
要求情報を複数蓄積することができるログ要求情報記憶
部と、データ処理装置の障害の発生を検出する障害処理
制御部と、この障害処理制御部によりデータ処理装置の
障害の発生が検出されたときにデータ処理装置のログデ
ータを前記ログデータ記憶部に収集するログアウト制御
部と、このログアウト制御部による前記ログデータ記憶
部へのログデータ収集処理が終了した時点でログデータ
出力装置でのログデータ取込み処理が終了していなかっ
た場合にはログデータ取込み要求情報を前記ログ要求情
報記憶部に蓄積してログデータ出力装置でのログデータ
取込み処理の終了を待ち合わせ、ログデータ出力装置か
らのログデータ取込み終了通知を受けると前記ログ要求
情報記憶部から次に発生した障害に関するログデータ取
込み要求情報を取り出してログデータ出力装置にログデ
ータ取込み要求を通知するログデータ取込み待合せ制御
部とを含む診断制御装置と、診断制御装置からログデー
タ取込み要求を受けて診断制御装置からログデータを取
り込むログデータ取込み部と、このログデータ取込み部
によるログデータ取込み処理が終了したことを診断制御
装置に通知するログデータ取込み終了通知部とを含むロ
グデータ出力装置とを有する。
The log data collection method of the present invention provides a log data storage capable of storing a plurality of log data of the data processing device for each failure in a data processing system including a data processing device, a diagnostic control device, and a log data output device. a log request information storage unit capable of storing a plurality of pieces of log data import request information for importing the log data collected in the log data storage unit into the log data output device; and the occurrence of a failure in the data processing device. a logout control unit that collects log data of the data processing device into the log data storage unit when the failure processing control unit detects the occurrence of a failure of the data processing device; If the log data capture process in the log data output device has not finished when the control unit finishes the log data collection process in the log data storage unit, the log data capture request information is transferred to the log request information storage unit. and waits for the end of the log data import process on the log data output device, and upon receiving the log data import completion notification from the log data output device, a log data import request regarding the next failure that occurred is sent from the log request information storage unit. a diagnostic control device including a log data capture waiting control unit that retrieves information and notifies a log data capture request to the log data output device; and a log that receives a log data capture request from the diagnostic control device and captures log data from the diagnostic control device. The log data output device includes a data import section and a log data import end notification section that notifies the diagnostic control device that the log data import process by the log data import section has ended.

〔作用〕[Effect]

本発明のログデータ収集方式では、ログデータ記憶部が
データ処理装置のログデータを障害単位に複数格納する
ことができ、ログ要求情報記憶部がログデータ記憶部に
収集されたログデータをログデータ出力装置に取り込ま
せるためのログデータ取込み要求情報を複数蓄積するこ
とができ、障害処理制御部がデータ処理装置の障害の発
生を検出し、ログアウト制御部が障害処理制御部により
データ処理装置の障害の発生が検出されたときにデータ
処理装置のログデータをログデータ記憶部に収集し、ロ
グデータ取込み待合せ制御部がログアウト制御部による
ログデータ記憶部へのログデータ収集処理が終了した時
点でログデータ出力装置でのログデータ取込み処理が終
了していなかった場合にはログデータ取込み要求情報を
ログ要求情報記憶部に蓄積してログデータ出力装置での
ログデータ取込み処理の終了を待ち合わせ、ログデータ
出力装置からのログデータ取込み終了通知を受けるとロ
グ要求情報記憶部から次に発生した障害に関するログデ
ータ取込み要求情報を取り出してログデータ出力装置に
ログデータ取込み要求を通知し、ログデータ取込み部が
診断制御装置からログデータ取込み要求を受けて診断制
御装置からログデータを取り込み、ログデータ取込み終
了通知部がログデータ取込み部によるログデータ取込み
処理が終了したことを診断制御装置に通知する。
In the log data collection method of the present invention, the log data storage section can store a plurality of pieces of log data of a data processing device for each failure, and the log request information storage section stores the collected log data in the log data storage section. Multiple pieces of log data import request information to be imported into the output device can be accumulated, the failure processing control unit detects the occurrence of a failure in the data processing device, and the logout control unit detects the failure of the data processing device by the failure processing control unit. The log data of the data processing device is collected in the log data storage unit when the occurrence of the log data is detected, and the log data acquisition waiting control unit collects the log data in the log data storage unit when the logout control unit completes the log data collection process to the log data storage unit. If the log data import process on the data output device has not finished, log data import request information is accumulated in the log request information storage unit, waits for the log data import process on the log data output device to finish, and the log data Upon receiving the log data import completion notification from the output device, the log data import request information regarding the next failure that occurred is retrieved from the log request information storage unit, the log data import request is notified to the log data output device, and the log data import unit Upon receiving a log data capture request from the diagnostic control device, the log data capture device captures the log data from the diagnostic control device, and the log data capture completion notification unit notifies the diagnostic control device that the log data capture process by the log data capture unit has ended.

〔実施例〕〔Example〕

次に、本発明について図面を参照して詳細に説明する。 Next, the present invention will be explained in detail with reference to the drawings.

第1図は、本発明の一実施例に係るログデータ収集方式
が適用されたデータ処理システムの構成を示すブロック
図である。このデータ処理システムは、障害が発生する
対象となるデータ処理装置1と、障害が発生したデータ
処理装置1からログデータを収集して障害処理を制御す
る診断制御装置2と、診断制御装置2によって収集され
たログデータを取り込むログデータ出力装置8とから、
その主要部が構成されている。
FIG. 1 is a block diagram showing the configuration of a data processing system to which a log data collection method according to an embodiment of the present invention is applied. This data processing system consists of a data processing device 1 in which a fault occurs, a diagnostic control device 2 that collects log data from the data processing device 1 in which a fault occurs and controls fault processing, and a diagnostic control device 2. From a log data output device 8 that takes in the collected log data,
Its main parts are composed of:

診断間m装置2は、障害処理制御部3と、ログアウト制
御部4と、ログデータ取込み待合せ制御部5と、ログデ
ータ記憶部6と、ログ要求情報記憶部7とを含んで構成
されている。
The inter-diagnosis m device 2 includes a failure processing control section 3, a logout control section 4, a log data acquisition waiting control section 5, a log data storage section 6, and a log request information storage section 7. .

障害処理制御部3は、データ処理装置1の障害の発生を
検出し、ログデータ収集処理を含む一連の障害処理を行
う。
The fault processing control unit 3 detects the occurrence of a fault in the data processing device 1 and performs a series of fault processing including log data collection processing.

ログアウト制御部4は、障害処理制御部3によりデータ
処理装置1の障害の発生が検出されたときにデータ処理
装置lのログデータをログデータ記憶部6に順次収集す
る。
The logout control section 4 sequentially collects log data of the data processing apparatus 1 into the log data storage section 6 when the occurrence of a failure in the data processing apparatus 1 is detected by the failure processing control section 3 .

ログデータ取込み待合せ制御部5は、ログアウト制御部
4によるログデータ記憶部6へのログデータの収集が終
了した時点でログデータ出力装置8でのログデータ取込
み処理が終了していなかった場合には、データ取込み要
求情報をログ要求情報記憶部7に蓄積してログデータ出
力装置8でのログデータ取込み処理の終了を待ち合わせ
、ログデータ出力装置8からのログデータ取込み終了通
知を受けると、ログ要求情報記憶部7から最先に発生し
た障害に関するログデータ取込み要求情報を取り出して
ログデータ出力装置8に対してログデータ取込み要求を
通知する。
If the log data capture process in the log data output device 8 has not been completed at the time the logout control unit 4 finishes collecting log data in the log data storage unit 6, the log data capture queue control unit 5 , accumulates the data import request information in the log request information storage unit 7, waits for the end of the log data import process in the log data output device 8, and upon receiving the log data import completion notification from the log data output device 8, the log request is completed. The log data retrieval request information regarding the failure that occurred first is retrieved from the information storage unit 7 and the log data retrieval request is notified to the log data output device 8.

ログデータ記憶部6は、データ処理装置1の障害の発生
時にログデータを障害単位に複数格納することができる
ようになっている。
The log data storage unit 6 is capable of storing a plurality of pieces of log data for each failure when a failure occurs in the data processing device 1.

ログ要求情報記憶部7は、データ処理装置1で複数の障
害が連続して発生した場合に、ログデータ記憶部6に収
集されたログデータをログデータ出力装置8に取り込ま
せるためのログデータ取込み要求情報を複数蓄積するこ
とができるようになっている。
The log request information storage unit 7 is configured to import log data to cause the log data output device 8 to import the log data collected in the log data storage unit 6 when a plurality of failures occur in succession in the data processing device 1. Multiple pieces of request information can be stored.

ログデータ出力装置8は、ログデータ取込み部9と、ロ
グデータ取込み終了通知部10とを含んで構成されてい
る。
The log data output device 8 includes a log data capture section 9 and a log data capture completion notification section 10.

ログデータ取込み部9は、診断I+ll1II装置2か
らログデータ取込み要求を受けると、診断制御装置2か
らログデータを取り込む。
Upon receiving a log data import request from the diagnosis I+ll1II device 2, the log data import unit 9 imports the log data from the diagnostic control device 2.

ログデータ取込み終了通知部lOは、ログデータ取込み
部9によるログデータ取込み処理が終、了したことを診
断制御装置5に通知する。
The log data capture completion notification unit IO notifies the diagnostic control device 5 that the log data capture process by the log data capture unit 9 has ended.

第2図を参照すると、診断制御装置2における処理は、
障害発生通知受信ステップ201と、ログデータ収集処
理202と、取込み中フラグ判定ステ、プ203と、待
合せプロセス発生ステップ204と、ログデータ取込み
要求情報蓄積ステップ205と、取込み待ちカウンタ加
電ステップ206と、待合せステップ207と、取込み
中フラグ判定ステップ208と、ログデータ取込み要求
情報取出しステップ209と、取込み待ちカウンタ減算
ステップ210と、取込み中フラグオンステップ211
と、ログデータ取込み要求通知ステップ212と、ログ
データ取込み終了通知受信ステップ213と、取込み中
フラグオフステップ214と、取込み待ちカウンタ判定
ステップ215と、待合せプロセス消滅ステップ216
とからなる。
Referring to FIG. 2, the processing in the diagnostic control device 2 is as follows:
A failure occurrence notification reception step 201, a log data collection process 202, a capture flag determination step 203, a waiting process generation step 204, a log data capture request information accumulation step 205, and a capture wait counter energizing step 206. , a waiting step 207 , a capturing flag determining step 208 , a log data capturing request information extraction step 209 , a capturing wait counter subtraction step 210 , and a capturing flag on step 211
, log data import request notification step 212 , log data import end notification reception step 213 , import flag off step 214 , import waiting counter determination step 215 , and queue process disappearance step 216
It consists of.

次に、このように構成された本実施例のログデータ収集
方式の動作について説明する。なお、ここでは、第3図
を参照しながら、初回の障害に関するログデータ出力装
置8でのログデータ取込み処理が終了する前に次回の障
害に関する診断制御装置2でのログデータ収集処理が終
了する場合を例にとって説明する。
Next, the operation of the log data collection method of this embodiment configured as described above will be explained. Here, referring to FIG. 3, it is assumed that the log data collection process in the diagnostic control device 2 regarding the next failure ends before the log data capture process in the log data output device 8 regarding the first failure ends. This will be explained by taking a case as an example.

データ処理装置1で初回の障害が発生すると、データ処
理装置1から診断処理装置2に対して障害の発生が通知
される。
When a failure occurs for the first time in the data processing device 1, the data processing device 1 notifies the diagnostic processing device 2 of the occurrence of the failure.

診断制御装置2では、障害処理制御部3が、データ処理
装置1からの障害発生通知を受信すると(ステ、ブ20
1)、ログアウト制御部4に対してログデータ収集指示
を行う。
In the diagnostic control device 2, when the fault processing control section 3 receives the fault occurrence notification from the data processing device 1 (step 20
1) Instruct the logout control unit 4 to collect log data.

ログアウト制御部4は、障害処理制御部3からのログデ
ータ収集指示を受けてログデータ収集処理を起動し、障
害が発生したデータ処理装置1から初回の障害に関する
ログデータをログデータ記憶部6に収集しくステップ2
02)、ログデータ記憶部6に格納された初回の障害に
関するログデータの位置情報(以下、ログデータ格納ア
ドレスという)をログデータ取込み待合せ制御部5に渡
す。
The logout control unit 4 starts log data collection processing in response to a log data collection instruction from the failure processing control unit 3, and stores log data related to the first failure from the data processing device 1 where the failure has occurred to the log data storage unit 6. Collect step 2
02), the location information of the log data related to the first failure stored in the log data storage unit 6 (hereinafter referred to as the log data storage address) is passed to the log data acquisition queue control unit 5.

ログデータ取込み待合せ制御部5は、まず取込み中フラ
グのオン/オフを判断して(ステップ203)、初回の
障害発生時には取込み中フラグはオフに初期化されてい
るので、待合せプロセスを発生させる(ステップ204
)、次に、ログデータ取込み待合せ制御部5は、取込み
中フラグをオンにして(ステップ211)、ログデータ
格納アドレスを含むログデータ取込み要求をログデータ
出力装置8に通知する(ステップ212) 。
The log data capture queue control unit 5 first determines whether the capture flag is on or off (step 203), and since the capture flag is initialized to OFF when a failure occurs for the first time, it generates a queue process (step 203). Step 204
), then the log data capture queue control unit 5 turns on the capturing flag (step 211) and notifies the log data output device 8 of a log data capture request including the log data storage address (step 212).

ログデータ出力装置8では、ログデータ取込み部9が、
診断M御装置2からのログデータ取込み要求を受けると
、ログデータ取込み処理を起動して、診断制御装置2の
ログデータ記憶部6からログデータ格納アドレスによっ
て指定される初回の障害に関するログデータの取込みを
開始する。
In the log data output device 8, the log data import unit 9
When a log data import request is received from the diagnostic control device 2, a log data import process is started, and the log data related to the first failure specified by the log data storage address is downloaded from the log data storage unit 6 of the diagnostic control device 2. Start importing.

この初回の障害に関するログデータがログデータ出力装
置8に取り込まれている間に、データ処理1で次回の障
害が発生すると、初回の障害の発生時と同様に、データ
処理装置1から診断処理装置2に対して障害の発生が通
知される。
If the next failure occurs in the data processing 1 while the log data related to the first failure is being captured in the log data output device 8, the data processing device 1 sends the diagnostic processing device 2 is notified of the occurrence of the failure.

診断制御装置2では、障害処理制御部3が、データ処理
装置1からの障害発生通知を受信すると(ステップ20
1)、ログアウト制御部4に対してログデータ収集指示
を行う。
In the diagnostic control device 2, when the fault processing control unit 3 receives the fault occurrence notification from the data processing device 1 (step 20
1) Instruct the logout control unit 4 to collect log data.

ログアウト制御部4は、障害処理制御部3からのログデ
ータ収集指示を受けてログデータ収集処理を起動し、障
害が発生したデータ処理装置1から次回の障害に関する
ログデータを初回の障害に関するログデータのログデー
タ格納アドレスとは異なるようにログデータ記憶部6に
続けて収集しくステップ202)、ログデータ記憶部6
に格納された次回の障害に関するログデータのログデー
タ格納アドレスをログデータ取込み待合せ制御部5に渡
す。
The logout control unit 4 starts log data collection processing in response to a log data collection instruction from the failure processing control unit 3, and converts the log data related to the next failure from the data processing device 1 where the failure occurred to the log data related to the first failure. In step 202), the log data storage unit 6 is collected at a different address from the log data storage address of the log data storage unit 6.
The log data storage address of the log data related to the next failure stored in is passed to the log data acquisition waiting control unit 5.

ログデータ取込み待合せ制御部5は、取込み中フラグの
オン/オフを判断して(ステップ203)、取込み中フ
ラグはオンとなっているので、ログデータ格納アドレス
を含むログデータ取込み要求情報をログ要求情報記憶部
7に蓄積しくステップ205)、取込み待ちカウンタ(
初期値0)に1を加真して(ステップ206)、一定時
間だけ待ち合わせた後に(ステップ207)、取込み中
フラグがオンなので(ステップ208)、ステップ20
7および208でループを繰り返す、すなわち、ログデ
ータ出力装置8でのログデータ取込み処理の終了を待ち
合わせる。
The log data retrieval queue control unit 5 determines whether the retrieval flag is on or off (step 203), and since the retrieval flag is on, the log data retrieval request information including the log data storage address is sent to the log request. Step 205) to accumulate in the information storage unit 7, and the acquisition waiting counter (
After adding 1 to the initial value 0 (step 206) and waiting for a certain period of time (step 207), since the importing flag is on (step 208), step 20
7 and 208, the loop is repeated, that is, the end of the log data capture process in the log data output device 8 is awaited.

この後、データ処理装置1でさらに次の障害が発生した
場合も、既述した次回の障害発生時の場合と同様な動作
となることはいうまでもない。
It goes without saying that even if the next failure occurs in the data processing device 1 after this, the operation will be the same as the case when the next failure occurs as described above.

したがって、診断制御装置2のログデータ記憶部6には
初回の障害以降に発生した障害の数だけのログデータが
順次格納され、ログ要求情報記憶部7には、初回の障害
以降に発生した障害の数だけのログデータ取込み要求情
報が蓄積され、格納および蓄積されたログデータおよび
ログデータ取込み要求情報の数が取込み待ちカウンタに
計数される。
Therefore, the log data storage unit 6 of the diagnostic control device 2 sequentially stores log data equal to the number of failures that have occurred after the first failure, and the log request information storage unit 7 stores log data that corresponds to the number of failures that have occurred after the first failure. The number of log data acquisition request information is accumulated, and the number of stored and accumulated log data and log data acquisition request information is counted in an acquisition waiting counter.

この状態で、ログデータ出力装置8で初回の障害に関す
るログデータ取込み処理が終了すると、ログデータ取込
み部9は、その旨をログデータ取込み終了通知部10に
知らせ、ログデータ取込み終了通知部IOは、診断制御
装置2に対してログデータ取込み終了通知を行う。
In this state, when the log data capture process related to the first failure is completed in the log data output device 8, the log data capture unit 9 notifies the log data capture completion notification unit 10 to that effect, and the log data capture completion notification unit IO , notifies the diagnostic control device 2 that the log data acquisition is complete.

診断制御装置2では、ログデータ取込み待合せ制御部5
が、ログデータ出力装置8からのログデータ取込み終了
通知を受信すると(ステップ213)、取込み中フラグ
をオフしくステップ214)、取込み待ちカウンタがO
か否かを判定する(ステップ215)、いまの場合、取
込み待ちカウンタが0ではないので、制御は待合せプロ
セスに入り、待ち合わせていたステップ207および2
08のループを抜ける。これにより、ログデータ取込み
待合せ制御部5は、ログ要求情報記憶部7から最先(次
回)のログデータ取込み要求情報を取り出しくステップ
209)、取込み待ちカウンタを1つ減算する(ステッ
プ210)、そして、ログデータ取込み待合せ制御部5
は、取込み中フラグを再びオンした後に(ステップ21
1)、ログデータ取込み要求をログデータ出力装置8に
通知する(ステップ212)。
In the diagnostic control device 2, the log data acquisition waiting control section 5
When the log data capture completion notification is received from the log data output device 8 (step 213), the capture flag is turned off (step 214), and the capture wait counter is set to O.
(step 215). In this case, since the capture wait counter is not 0, control enters the waiting process, and steps 207 and 2 that were waiting are executed.
Exit the loop of 08. As a result, the log data retrieval queue control unit 5 retrieves the earliest (next) log data retrieval request information from the log request information storage unit 7 (step 209), subtracts one from the retrieval wait counter (step 210), Then, the log data import waiting control section 5
After turning on the capture flag again (step 21),
1) Notify the log data output device 8 of a log data import request (step 212).

この結果、ログデータ出力装置8では、ログデータ取込
み部9が、再びログデータ取込み処理を起動して、診断
制御装置2のログデータ記憶部6からログデータ格納ア
ドレスによって指定される次回のログデータの取込みを
開始する。
As a result, in the log data output device 8, the log data import unit 9 starts the log data import process again, and receives the next log data specified by the log data storage address from the log data storage unit 6 of the diagnostic control device 2. Start importing.

この後、データ処理装置1でさらに障害が発生した場合
も、既述した次回の障害発生時の場合と同様な動作とな
ることはもちろんである。
After this, even if another failure occurs in the data processing device 1, the operation will be the same as that in the case of the next failure as described above.

ログデータ出力装置8で次回の障害に関するログデータ
取込み処理が終了すると、ログデータ取込み部9は、そ
の旨をログデータ取込み終了通知部lOに知らせ、ログ
データ取込み終了通知部IOは、診断制御装置2に対し
てログデータ取込み終了通知を行う。
When the log data output device 8 completes the log data capture process related to the next failure, the log data capture unit 9 notifies the log data capture completion notification unit IO to that effect, and the log data capture completion notification unit IO 2 is notified of the completion of log data import.

診断制御装置2では、ログデータ取込み待合せ制御部5
が、ログデータ出力装置8からのログデータ取込み終了
通知を受信すると(ステップ213)、取込み中フラグ
をオフしくステップ214)、取込み待ちカウンタが0
以外の場合には(ステップ215)、再び待合せプロセ
スに制御を渡すことになる。
In the diagnostic control device 2, the log data acquisition waiting control section 5
When the log data capture completion notification is received from the log data output device 8 (step 213), the capture flag is turned off (step 214), and the capture wait counter is set to 0.
Otherwise (step 215), control is passed again to the queuing process.

以上の繰返しによって、最後に発生した障害に関するロ
グデータ取込み処理がログデータ出力値W8で終了する
と、診断制御装置2では、ログデータ取込み待合せ制御
部5が、ログデータ取込み終了通知を受信しくステップ
213)、取込み中フラグをオフしくステップ214)
、取込み待ちカウンタが0であることを判定する(ステ
ップ215)、したがって、ログデータ取込み待合せ制
御部5は、待合せプロセスを消滅させ(ステ、ブ216
)、一連のログデータの収集を完了する。
By repeating the above steps, when the log data import process related to the last failure that has occurred is completed with the log data output value W8, the log data import waiting control unit 5 in the diagnostic control device 2 receives the log data import completion notification (step 213). ), turn off the capture flag (step 214)
, it is determined that the capture wait counter is 0 (step 215). Therefore, the log data capture queue control unit 5 eliminates the queue process (step 216).
), completes the collection of a series of log data.

このように、本実施例では、データ処理装置1で複数の
障害が連続して発生した場合にも、診断制御装置2で待
合せプロセスによってログデータ出力装置8でのログデ
ータ取込み処理の終了の待合せを行い、発生した障害に
関するログデータ取込み要求を1つずつ処理して、ログ
データ取込み要求がなくなるまで繰り返すことにより、
ログデータをログデータ出力装置8に順次取り込ませる
ことができる。
In this way, in this embodiment, even if a plurality of failures occur in succession in the data processing device 1, the diagnostic control device 2 uses the waiting process to wait for the end of the log data capture process in the log data output device 8. By doing this, processing the log data import requests related to the failure one by one, and repeating this until there are no more log data import requests.
Log data can be sequentially imported into the log data output device 8.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、データ処理装置で複数の
障害が連続して発生した場合に、診断制御装置でログデ
ータ収集処理が終了した時点でログデータ出力装置でロ
グデータ取込み処理が未終了であったときには、ログデ
ータ取込み要求情報を一時的に蓄積してログデータ出力
装置でのログデータ取込み処理の終了を待ち合わせ、ロ
グデータ取込み処理が終了したときにログデータ取込み
要求情報を取り出してログデータ出力装置にログデータ
取込み要求を通知するようにしたことにより、ログデー
タ収集処理とログデータ取込み処理とを無関係に行うこ
とができ、ログデータ出力装置でのログデータ取込み処
理を意識せずにログデータ収集処理を実行できるため、
ある障害に関するログデータ取込み処理中でも次の障害
に関するログデータ収集処理をログデータ取込み処理が
終了するまで待ち合わせることなく開始することができ
、ログデータ収集処理の高速化を図ることができるとい
う効果がある。
As explained above, in the present invention, when a plurality of failures occur consecutively in a data processing device, when the log data collection process is finished in the diagnostic control device, the log data capture process is not finished in the log data output device. If the log data import request information is temporarily stored and waits for the completion of the log data import process on the log data output device, and when the log data import process is completed, the log data import request information is retrieved and the log data is By notifying the data output device of the log data import request, log data collection processing and log data import processing can be performed independently, without having to be aware of the log data import processing on the log data output device. Because log data collection processing can be executed,
Even during log data acquisition processing for a certain failure, log data collection processing for the next failure can be started without having to wait until the log data acquisition process is finished, which has the effect of speeding up the log data collection processing. .

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

第1図は本発明の一実施例に係るログデータ収集方式が
適用されたデータ処理システムの構成を示すブロック図
、 第2図は第1図中の診断制御装置における処理を示す流
れ図、 第3図は本実施例のログデータ収集方式における装置間
の処理の流れの一例を示す図である。 図において、 1・・・データ処理装置、 2・・・診断制御装置、 3・・・障害処理制御部、 4・・・ログアウト制御部、 5・・・ログデータ取込み待合せ制御部、6・・・ログ
データ記憶部、 7・・・ログ要求情報記憶部、 8・・・ログデータ出力装置、 9・・・ログデータ取込み部、 10・・ログデータ取込み終了通知部である。
FIG. 1 is a block diagram showing the configuration of a data processing system to which a log data collection method according to an embodiment of the present invention is applied; FIG. 2 is a flowchart showing processing in the diagnostic control device in FIG. 1; The figure is a diagram showing an example of the flow of processing between devices in the log data collection method of this embodiment. In the figure, 1... data processing device, 2... diagnostic control device, 3... failure processing control section, 4... logout control section, 5... log data import waiting control section, 6... - Log data storage unit, 7...Log request information storage unit, 8...Log data output device, 9...Log data capture unit, 10...Log data capture end notification unit.

Claims (1)

【特許請求の範囲】 データ処理装置と、診断制御装置と、ログデータ出力装
置とを備えるデータ処理システムにおいて、 データ処理装置のログデータを障害単位に複数格納する
ことができるログデータ記憶部と、このログデータ記憶
部に収集されたログデータをログデータ出力装置に取り
込ませるためのログデータ取込み要求情報を複数蓄積す
ることができるログ要求情報記憶部と、データ処理装置
の障害の発生を検出する障害処理制御部と、この障害処
理制御部によりデータ処理装置の障害の発生が検出され
たときにデータ処理装置のログデータを前記ログデータ
記憶部に収集するログアウト制御部と、このログアウト
制御部による前記ログデータ記憶部へのログデータ収集
処理が終了した時点でログデータ出力装置でのログデー
タ取込み処理が終了していなかった場合にはログデータ
取込み要求情報を前記ログ要求情報記憶部に蓄積してロ
グデータ出力装置でのログデータ取込み処理の終了を待
ち合わせ、ログデータ出力装置からのログデータ取込み
終了通知を受けると前記ログ要求情報記憶部から次に発
生した障害に関するログデータ取込み要求情報を取り出
してログデータ出力装置にログデータ取込み要求を通知
するログデータ取込み待合せ制御部とを含む診断制御装
置と、 診断制御装置からログデータ取込み要求を受けて診断制
御装置からログデータを取り込むログデータ取込み部と
、このログデータ取込み部によるログデータ取込み処理
が終了したことを診断制御装置に通知するログデータ取
込み終了通知部とを含むログデータ出力装置と を有することを特徴とするログデータ収集方式。
[Scope of Claims] A data processing system comprising a data processing device, a diagnostic control device, and a log data output device, comprising: a log data storage unit capable of storing a plurality of log data of the data processing device for each failure; A log request information storage unit that can store a plurality of pieces of log data import request information for importing the log data collected in the log data storage unit into the log data output device, and detects the occurrence of a failure in the data processing device. a failure processing control unit; a logout control unit that collects log data of the data processing device into the log data storage unit when the failure processing control unit detects the occurrence of a failure in the data processing device; If the log data capture process in the log data output device has not finished when the log data collection process to the log data storage unit is finished, log data capture request information is accumulated in the log request information storage unit. waits for the completion of the log data import process in the log data output device, and upon receiving the log data import completion notification from the log data output device, retrieves log data import request information regarding the next failure that occurred from the log request information storage unit. a log data capture queue control unit that notifies the log data output device of a log data capture request; and a log data capture unit that receives a log data capture request from the diagnostic control device and captures the log data from the diagnostic control device. and a log data output device including a log data capture end notification unit that notifies a diagnostic control device that the log data capture process by the log data capture unit has ended.
JP2134875A 1990-05-24 1990-05-24 Log data collecting system Pending JPH0433024A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2134875A JPH0433024A (en) 1990-05-24 1990-05-24 Log data collecting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2134875A JPH0433024A (en) 1990-05-24 1990-05-24 Log data collecting system

Publications (1)

Publication Number Publication Date
JPH0433024A true JPH0433024A (en) 1992-02-04

Family

ID=15138532

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2134875A Pending JPH0433024A (en) 1990-05-24 1990-05-24 Log data collecting system

Country Status (1)

Country Link
JP (1) JPH0433024A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8112667B2 (en) 2010-01-25 2012-02-07 International Business Machines Corporation Automated system problem diagnosing

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5854467A (en) * 1981-09-28 1983-03-31 Fujitsu Ltd Logging data collection controlling system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5854467A (en) * 1981-09-28 1983-03-31 Fujitsu Ltd Logging data collection controlling system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8112667B2 (en) 2010-01-25 2012-02-07 International Business Machines Corporation Automated system problem diagnosing

Similar Documents

Publication Publication Date Title
CN107315629A (en) Task processing method, device and storage medium
JPH0433024A (en) Log data collecting system
JP2595833B2 (en) Remote maintenance device
CN114205632A (en) Video preview method and device, electronic equipment and computer readable storage medium
JPH05108445A (en) Journal extraction system
JP2001344119A (en) Transaction execution control system and transaction execution control method
JP3486369B2 (en) Wait queue monitoring control method
JP2842748B2 (en) Monitoring and control method for information processing equipment
CN117290218A (en) Asynchronous interface testing method, device, equipment and medium
JPH05158817A (en) Bus protocol monitoring system
JPH01185734A (en) Buffer memory managing system
JPH06168224A (en) Information collection controller for production facility
JPH08286735A (en) Trend data collection system
JPH02259841A (en) System for managing test of information processor
JPH0393329A (en) Program replacing/processing method in automatic program controller
JPS60263233A (en) Program control system
JP2000076084A (en) Event managing/reporting method
JPH05114535A (en) Semiconductor process supporting equipment
JPH04326147A (en) Data fetching system
JP2000011287A (en) Remote monitoring method
JPH02216576A (en) Multi-processor control system
JPH04369067A (en) Fault processor
JPS61245243A (en) Detecting system for unreleasable resources
JPH09167169A (en) Device and method for collecting data
JPH0573520A (en) Restart information gathering system