JPH0343841A - Fault information store system - Google Patents

Fault information store system

Info

Publication number
JPH0343841A
JPH0343841A JP1178085A JP17808589A JPH0343841A JP H0343841 A JPH0343841 A JP H0343841A JP 1178085 A JP1178085 A JP 1178085A JP 17808589 A JP17808589 A JP 17808589A JP H0343841 A JPH0343841 A JP H0343841A
Authority
JP
Japan
Prior art keywords
fault information
information
switch
fault
flag
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
JP1178085A
Other languages
Japanese (ja)
Inventor
Yukinobu Hishinuma
菱沼 幸信
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP1178085A priority Critical patent/JPH0343841A/en
Publication of JPH0343841A publication Critical patent/JPH0343841A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To obtain the satisfactory fault information for a restoring process via the next switch even though the fault information is not obtained with a switch applied first by storing and taking out the fault information via a control means in accordance with the state of a flag means. CONSTITUTION:It is shown whether the fault information is stored in a store means 111 or not according to the state of a flag means 112. Thus the control is carried out so that the fault information is stored in the means 111 only when no fault information is stored in the means 111. As a result, the contents of the fault information stored once in the means 111 are never changed as long as they are not read to outside. Thus it is possible to obtain the fault information at occurrence of the first fault via the next switch means as long as the fault information is stored in the means 111 even though the information is not obtained with a switch means S applied first.

Description

【発明の詳細な説明】 〔発明の目的〕 (産業上の利用分野) この発明は障害情報保存方式に関し、特に障害情報の採
取を指示するための複数のスイッチを有するコンピュー
タシステムの障害情報保存方式(従来の技術) 一般に、コンピュータシステムにおいては、例えば端末
からの送信が不可能になるようなシステム障害(ストー
ル)が発生することがある。このようなシステム障害が
発生した場合には、その復旧処理を実行するために、障
害発生時にどの様なプログラムステータス状態であった
か等を認識する必要がある。このため、障害が発生した
場合は、その障害発生時の情報を採取するための処理が
実行される。
[Detailed Description of the Invention] [Objective of the Invention] (Industrial Application Field) The present invention relates to a fault information storage method, and particularly to a fault information storage method for a computer system having a plurality of switches for instructing collection of fault information. (Prior Art) Generally, in a computer system, a system failure (stall) may occur, for example, in which transmission from a terminal becomes impossible. When such a system failure occurs, in order to execute recovery processing, it is necessary to recognize what kind of program status the system was in at the time of the failure. Therefore, when a failure occurs, processing is executed to collect information at the time of the failure.

従来のシステムにおいては、障害情報の採取を指示する
ための複数のマニュアルスイッチがそのシステム本体に
設けられており、障害が発生した場合はまずその第1ス
イツチがオペレータによって投入される。そして、その
第1スイッチ投入時の障害情報が採取されて、それが内
部メモリに格納される。その後、その内部メモリから障
害情報が外部に取り出され、その障害情報の解析が行わ
れる。
In conventional systems, a plurality of manual switches for instructing collection of fault information are provided in the system body, and when a fault occurs, the first switch is first turned on by the operator. Then, failure information when the first switch is turned on is collected and stored in the internal memory. Thereafter, the fault information is retrieved from the internal memory and analyzed.

ところが、もし障害情報を内部メモリから取り出す段階
で再び障害が発生された場合には、その障害情報を取出
せず、障害情報の解析ができなくなる。この場合には、
第2スイツチが投入されて、障害情報の採取が新たに行
われる。しかしながら、この新たな処理によって得られ
る障害情報は、第1のスイッチの投入時における最初の
障害情報ではなく、第2スイッチ投入時つまり第1スイ
ツチで採取した情報を外部に取出す時の別の障害情報で
ある。
However, if a failure occurs again at the stage of retrieving the failure information from the internal memory, the failure information cannot be extracted and analysis of the failure information becomes impossible. In this case,
The second switch is turned on and failure information is newly collected. However, the fault information obtained by this new process is not the first fault information when the first switch is turned on, but a different fault when the second switch is turned on, that is, when the information collected by the first switch is retrieved to the outside. It is information.

障害の復旧処理を実行するためには、最初の障害情報を
解析することが重要であり、第2のスイッチで得た障害
情報では充分な情報解析を行うことが困難である。この
ため、従来では、最初に投入したスイッチによって障害
情報が得られないと、復旧処理のための充分な障害情報
が得られない欠点があった。
In order to perform failure recovery processing, it is important to analyze the first failure information, and it is difficult to perform sufficient information analysis with the failure information obtained by the second switch. For this reason, in the past, if fault information was not obtained by the first switch turned on, there was a drawback that sufficient fault information for recovery processing could not be obtained.

(発明が解決しようとする課8) 従来では、障害情報の採取を指示するための複数のマニ
ュアルスイッチが設けられていても、最初に投入したス
イッチによって障害情報が得られないと、復旧処理のた
めの充分な障害情報が得られない欠点があった。
(Problem 8 to be solved by the invention) Conventionally, even if multiple manual switches are provided to instruct the collection of fault information, if the fault information cannot be obtained by the first switch turned on, the recovery process cannot be completed. The drawback was that sufficient failure information could not be obtained.

この発明はこの様な点に鑑み成されたもので、最初に投
入したスイッチによって障害情報が得られなくても、次
のスイッチによって復旧処理のための充分な障害情報を
得ることができる障害情報保存方式を提供することを目
的とする。
This invention has been made in view of the above points, and it is possible to obtain fault information that is sufficient for recovery processing by the next switch even if fault information cannot be obtained by the first switch turned on. The purpose is to provide a preservation method.

[発明の構成] (課題を解決するための手段) この発明による障害情報保存方式は、システム障害発生
時にその障害情報の採取を指示するための複数のスイッ
チ手段と、前記障害情報を格納するための格納手段と、
この格納手段に前記障害情報が格納されている時にセッ
ト、格納されてない時にリセットされるフラグ手段と、
障害情報を採取してそれを前記格納手段に格納すると共
に前記フラグ手段をセット状態に設定する情報採取手段
と、前記複数のスイッチ手段の中で投入状態のスイッチ
手段に対応した処理形態で前記障害情報を前記格納手段
から外部に読み出すと共に、前記フラグ手段をリセット
状態に設定する情報取出し手段と、前記複数のスイッチ
手段のいずれかが投入された時、前記フラグ手段がセッ
ト状態かリセット状態かを判定し、フラグ手段がリセッ
ト状態の場合は前記情報採取手段による処理および前記
情報取出し手段による処理を順次実行させ、フラグ手段
がセット状態の場合は前記情報取出し手段による処理を
実行させる制御手段とを具備することを特徴とする。
[Structure of the Invention] (Means for Solving the Problems) The fault information storage method according to the present invention includes a plurality of switch means for instructing collection of fault information when a system fault occurs, and for storing the fault information. storage means for;
a flag means that is set when the fault information is stored in the storage means and reset when it is not stored;
information collecting means for collecting fault information and storing it in the storage means and setting the flag means in a set state; information retrieval means for reading information from the storage means to the outside and setting the flag means in a reset state; and information retrieval means for reading out information from the storage means and setting the flag means in a reset state; and determining whether the flag means is in a set state or a reset state when any one of the plurality of switch means is turned on. control means for determining and causing the processing by the information collecting means and the processing by the information retrieval means to be sequentially executed when the flag means is in a reset state, and for causing the processing by the information retrieval means to be executed when the flag means is in a set state; It is characterized by comprising:

(作用) この障害情報保存方式においては、フラグ手段の状態に
よって格納手段に障害情報が格納されているか否かが示
されるので、障害情報が格納されてない場合にのみその
障害情報を格納手段に格納するように制御できる。この
ため、格納手段に一旦格納された障害情報の内容は、外
部に読み出されない限り変更されない。したがって、最
初に投入されたスイッチ手段によって障害情報が得られ
なかった場合でも、その時に障害情報が格納手段に格納
されてさえいれば、次ぎに投入されたスイッチ手段によ
って最初の障害発生時の障害情報を得ることができる。
(Operation) In this fault information storage method, the state of the flag means indicates whether or not fault information is stored in the storage means, so only when fault information is not stored is the fault information stored in the storage means. Can be controlled to store. Therefore, the contents of the failure information once stored in the storage means are not changed unless read out to the outside. Therefore, even if fault information is not obtained by the first switch turned on, as long as the fault information is stored in the storage means at that time, the next switch turned on will be able to detect the fault at the time of the first failure. You can get information.

(実施例) 以下、図面を参照してこの発明の詳細な説明する。(Example) Hereinafter, the present invention will be described in detail with reference to the drawings.

第1図にこの発明の一実施例に係わる障害情報保存方式
を実現するためのシステム構成を示す。
FIG. 1 shows a system configuration for realizing a fault information storage method according to an embodiment of the present invention.

ホストCPUIIはこのシステム全体の制御を司るもの
であり、バスを介して端末装置12a 、 12b 。
The host CPU II is in charge of controlling the entire system, and is connected to the terminal devices 12a and 12b via the bus.

12cに接続されている。これら端末装置12a 。12c. These terminal devices 12a.

12b 、 12cは、それぞれデータ処理を実行する
と共に、ホストコンピュータ11やそれら端末装置間で
データの授受を行う。ホストCPUIIには、さらに外
部メモリ13が接続されている。この外部メモリ13は
、例えばフロッピーディスク装置またはハードディスク
装置から成る。
12b and 12c each execute data processing and exchange data between the host computer 11 and these terminal devices. An external memory 13 is further connected to the host CPU II. This external memory 13 consists of, for example, a floppy disk device or a hard disk device.

ホストCPUIIには、システム障害が発生した時にそ
の障害情報の採取および復旧を指示するための3個のマ
ニュアルスイッチ5l−83が設けられている。また、
ホストCPUIIは、障害情報を記憶するためのRAM
ll1.およびそのRAMttiに障害情報が格納され
ているか否かを示すためのフリップフロップ112を備
えている。フリップフロップ112は、RAMIIIに
障害情報が格納されている時にセット状態、障害情報が
格納されてない時にリセット状態に制御されるものであ
り、RA M 111に障害情報が格納されているか否
かを示すフラグとして機能する。
The host CPU II is provided with three manual switches 5l-83 for instructing collection of failure information and recovery when a system failure occurs. Also,
The host CPU II has RAM for storing failure information.
ll1. and a flip-flop 112 for indicating whether fault information is stored in the RAMtti. The flip-flop 112 is controlled to be in a set state when fault information is stored in RAM III and to be in a reset state when fault information is not stored. Functions as a flag to indicate.

ホストCPUIIは、マニュアルスイッチSl〜S3の
いずれかが投入された時、例えばその時のプログラムス
テータスや、CPU内部のレジスタの内容等を障害情報
として採取し、それをRAMIに格納する。この場合、
ホストCPUIIは、フリップフロップ112をセット
状態に設定する。そして、障害情報をRA M lit
から読み出して外部メモリ13に書き込むと共に、フリ
ップフロップ112をリセット状態に設定する。
When one of the manual switches Sl to S3 is turned on, the host CPU II collects, for example, the program status at that time, the contents of a register inside the CPU, etc. as failure information, and stores it in the RAMI. in this case,
The host CPU II sets the flip-flop 112 to the set state. Then, the failure information is stored in RAM lit.
The data is read from the external memory 13 and written to the external memory 13, and the flip-flop 112 is set to the reset state.

ホストCPUIIによるR A M 111からの障害
情報の読み出し処理は、投入されているスイッチに応じ
た形態で実行される。例えば、ホストCPUIIは、ス
イッチSlが投入されていた時においては、障害発生状
態のままでそのシステム固有のプログラムを用゛いて障
害情報をRA M illから読み出す。また、スイッ
チS2が投入された時においては、ホストCPUIIは
、別の専用プログラムを外部メモリ13から読み出し、
そのプログラムを用いて障害情報をRA M 111か
ら読み出す。
The process of reading out failure information from the RAM 111 by the host CPU II is executed in a form that corresponds to the switch that is turned on. For example, when the switch Sl is turned on, the host CPU II reads failure information from the RAM ill using a program specific to the system while the failure has occurred. Furthermore, when the switch S2 is turned on, the host CPU II reads another dedicated program from the external memory 13,
The fault information is read from the RAM 111 using the program.

さらに、スイッチS2が投入された時においては、ホス
トCPUIIは、システムを再起動した状態で障害情報
をRA M 111から読み出す。
Further, when the switch S2 is turned on, the host CPU II reads the fault information from the RAM 111 while the system is restarted.

この様にして、障害情報の格納処理および取り出し処理
が実行されるが、ホストCPUIIによる障害情報の格
納処理は、フリップフロップ11=8−の状態に応じて
実行されるか否かが制御される。す− なわち、フリップフロップ11キがセット状態の場合に
は、ホストCPUIIによる障害情報の格納処の場合に
は、ホストCPUIIによる障害情報の格納処理および
取り出し処理の両方が実行される。
In this way, the storage process and the retrieval process of the failure information are executed, and whether or not the storage process of the failure information by the host CPU II is executed is controlled depending on the state of the flip-flop 11=8-. . That is, when the flip-flop 11 is in the set state, when the host CPU II is storing the fault information, the host CPU II executes both the storing process and the retrieving process of the fault information.

次ぎに、第2図のフローチャートを参照して、スイッチ
が投入された際のホストCPUIIによる処理動作の手
順を説明する。
Next, with reference to the flowchart of FIG. 2, the procedure of processing operations performed by the host CPU II when the switch is turned on will be described.

例えば、端末12aからのデータ受信が不能となるシス
テム障害が発生した時、オペレータによって最初にスイ
ッチSlが投入される。このスイッチSlの投入によっ
て、ホストCPUIIは障害情報の格納および取り出し
のための割り込み処理を実行する。
For example, when a system failure occurs that makes it impossible to receive data from the terminal 12a, the operator first turns on the switch Sl. By turning on the switch Sl, the host CPU II executes interrupt processing for storing and retrieving fault information.

割り込み処理に移行されると、まず、フリ・ノブフロッ
プ112の状態がホストCPUIIによって判定される
(ステップAI)。この最初のスイッチStの投入によ
る割り込み処理ではRA M 111にはまだ障害情報
が格納されてないため、この時のフリップフロップ11
2はリセット状態である。このため、ステップA2の処
理に分岐され、その時の障害情報例えばプログラムステ
ータスやCPU内部レジスタの内容等がホストcput
iによって採取され、それがRA M illに格納さ
れる。この場合、フリップフロップ112は、ホストC
PUIIによってセット状態に設定される。
When transitioning to interrupt processing, first, the state of the free knob flop 112 is determined by the host CPU II (step AI). In the interrupt processing caused by turning on the first switch St, the fault information is not yet stored in the RAM 111, so the flip-flop 11 at this time
2 is a reset state. Therefore, the process branches to step A2, and the failure information at that time, such as the program status and the contents of the CPU's internal registers, is sent to the host cput.
i and stores it in RAM ill. In this case, flip-flop 112 is connected to host C
Set to set state by PUII.

次いで、ホストCPUIIは投入されたスイッチがスイ
ッチS1であることを認識しくステップA3)、そのス
イッチStに応じた処理形態でRA M 111から障
害情報を読み出して、それを外部メモリ13に書き込む
(ステップA4)。
Next, the host CPU II recognizes that the turned-on switch is the switch S1 (step A3), reads the fault information from the RAM 111 in a processing mode according to the switch St, and writes it to the external memory 13 (step A3). A4).

このステップA4の処理が正常に実行されれば障害情報
が得られることになるが、ステップA4の処理中にエラ
ーが発生すると障害情報は得られない。この場合は、オ
ペレータによって第2のスイッチS2が投入される。こ
のスイッチS2の投入によって、ホストcptrttは
再びステップAIに戻って割り込み処理を実行する。
If the process of step A4 is executed normally, fault information will be obtained, but if an error occurs during the process of step A4, no fault information will be obtained. In this case, the second switch S2 is turned on by the operator. By turning on the switch S2, the host cptrtt returns to step AI again to execute interrupt processing.

まず、フリップフロップ112の状態がホストcrty
itによって判定される(ステップAI)が、この時フ
リップフロップ112はセット状態であるので、ステッ
プA2の処理は実行されない。そして、投入されたスイ
ッチがスイッチS2であることが認識され(ステップA
5)  そのスイッチS2に応じた処理形態でRA M
 111から障害情報が読み出され、それが外部メモリ
13に書き込まれる(ステップAft)。
First, the state of the flip-flop 112 is
It is determined by it (step AI), but since the flip-flop 112 is in the set state at this time, the process of step A2 is not executed. Then, it is recognized that the turned-on switch is switch S2 (step A
5) RAM in the processing mode according to the switch S2
The failure information is read from the external memory 111 and written to the external memory 13 (step Aft).

このステップA6の処理が正常に実行されれば障害情報
が得られる。この得られた障害情報は、スイッチS2の
投入段階の障害情報ではなく、最初のスイッチSlの投
入段階における障害情報である。
If the process of step A6 is executed normally, failure information is obtained. This obtained fault information is not the fault information at the stage of turning on the switch S2, but the fault information at the stage of turning on the first switch Sl.

また、ステップA6の処理が正常に実行されなかった場
合にはスイッチS3が投入され、同様にしてステップA
7.A8の処理が実行される。ステップA8の処理が正
常に実行されれば、最初のスイッチSlの投入段階にお
ける障害情報が得られる。
Further, if the process of step A6 is not executed normally, switch S3 is turned on, and in the same way, step A
7. The process of A8 is executed. If the process of step A8 is executed normally, failure information at the initial turning-on stage of switch Sl is obtained.

この様に、この実施例の障害情報保存方式においては、
RAMIIIに一旦格納された障害情報の内容は、外部
に読み出されない限り変更されない。
In this way, in the fault information storage method of this embodiment,
The contents of the failure information once stored in RAM III will not be changed unless read out to the outside.

したがって、最初に投入されたスイッチによって障害情
報が得られなかった場合でも、その時に障害情報がRA
 M illに格納されてさえいれば、次ぎに投入され
たスイッチによって最初の障害発生時の障害情報を得る
ことができる。
Therefore, even if the fault information is not obtained by the first switch turned on, the fault information will be sent to the RA at that time.
As long as the fault information is stored in Mill, the fault information at the time of the first fault occurrence can be obtained by the next switch turned on.

なお、ここではスイッチSl、S2.S3の順でスイッ
チが投入された場合を説明したが、スイッチがどの様な
順番で投入されても、最初にスイッチが投入された段階
の障害情報が得られる事はもちろんである。
Note that here, the switches Sl, S2 . Although the case where the switches are turned on in the order of S3 has been described, it goes without saying that no matter what order the switches are turned on, the fault information at the stage when the switches are turned on first can be obtained.

[発明の効果] 以上のように、この発明によれば、最初に投入したスイ
ッチによって障害情報が得られなくても、次のスイッチ
によって復旧処理のための充分な障害情報を得ることが
できる。
[Effects of the Invention] As described above, according to the present invention, even if fault information cannot be obtained with the first switch turned on, sufficient fault information for recovery processing can be obtained with the next switch.

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

第1図はこの発明の一実施例に係る障害情報保存方式を
実現するシステムの構成を示すブロック図、第2図は第
1図に示したシステムの障害情報保存動作を説明するフ
ローチャートである。 11−・・ホストCP U、 12a 、 12b 、
 12c 一端末、13・・・外部メモリ、txt・・
・RAM、112・・・フリップフロップ、5l−33
・・・スイッチ。
FIG. 1 is a block diagram showing the configuration of a system that implements a failure information storage method according to an embodiment of the present invention, and FIG. 2 is a flowchart illustrating the failure information storage operation of the system shown in FIG. 1. 11--Host CPU, 12a, 12b,
12c one terminal, 13...external memory, txt...
・RAM, 112...Flip-flop, 5l-33
···switch.

Claims (1)

【特許請求の範囲】[Claims]  システム障害発生時にその障害情報の採取を指示する
ための複数のスイッチ手段と、前記障害情報を格納する
ための格納手段と、この格納手段に前記障害情報が格納
されている時にセット、格納されてない時にリセットさ
れるフラグ手段と、障害情報を採取してそれを前記格納
手段に格納すると共に前記フラグ手段をセット状態に設
定する情報採取手段と、前記複数のスイッチ手段の中で
投入状態のスイッチ手段に対応した処理形態で前記障害
情報を前記格納手段から外部に読み出すと共に、前記フ
ラグ手段をリセット状態に設定する情報取出し手段と、
前記複数のスイッチ手段のいずれかが投入された時、前
記フラグ手段がセット状態かリセット状態かを判定し、
フラグ手段がリセット状態の場合は前記情報採取手段に
よる処理および前記情報取出し手段による処理を順次実
行させ、フラグ手段がセット状態の場合は前記情報取出
し手段による処理を実行させる制御手段とを具備するこ
とを特徴とする障害情報保存方式。
a plurality of switch means for instructing collection of fault information when a system fault occurs; a storage means for storing the fault information; and a plurality of switch means for storing the fault information when it is stored in the storage means. a flag means that is reset when the flag is not present; an information collection means that collects fault information and stores it in the storage means and sets the flag means in a set state; and a switch that is turned on among the plurality of switch means. information retrieval means for reading out the failure information from the storage means to the outside in a processing form corresponding to the means, and setting the flag means to a reset state;
When any of the plurality of switch means is turned on, determining whether the flag means is in a set state or a reset state;
and control means for sequentially executing the processing by the information collecting means and the processing by the information retrieval means when the flag means is in a reset state, and for causing the processing by the information retrieval means to be executed when the flag means is in a set state. A fault information storage method featuring:
JP1178085A 1989-07-12 1989-07-12 Fault information store system Pending JPH0343841A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1178085A JPH0343841A (en) 1989-07-12 1989-07-12 Fault information store system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1178085A JPH0343841A (en) 1989-07-12 1989-07-12 Fault information store system

Publications (1)

Publication Number Publication Date
JPH0343841A true JPH0343841A (en) 1991-02-25

Family

ID=16042365

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1178085A Pending JPH0343841A (en) 1989-07-12 1989-07-12 Fault information store system

Country Status (1)

Country Link
JP (1) JPH0343841A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007242832A (en) * 2006-03-08 2007-09-20 Tdk Corp Coil component

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007242832A (en) * 2006-03-08 2007-09-20 Tdk Corp Coil component

Similar Documents

Publication Publication Date Title
KR920001101B1 (en) Microprocessor and internal register device
US5819024A (en) Fault analysis system
JPH0343841A (en) Fault information store system
US11262834B1 (en) Data processing system and method for monitoring system properties
JP2552738B2 (en) Data processing device
JPH0713805A (en) Parallel computer and program execution reproducing method
JPS59112350A (en) Supervising and controlling system of program
JPH02287636A (en) Log data collecting method
JP3130870B2 (en) Memory dump file reconstruction method
JPH05143422A (en) Updated journal managing system
JPH0756633B2 (en) Task switching method
JPH02304640A (en) Memory dump collecting system
JPH0916433A (en) Gathering system for instruction trace information of microprocessor
JPS63316242A (en) Diagnosing system
JPS63310040A (en) Data sampling system
JPS62237533A (en) Data processor
JPH04310143A (en) Automatic recomposition processor for multi-index order composition file
JPH11212835A (en) Electric computer and memory control device for sampling memory rewrite information
JPH0385648A (en) Operation history information recording system for program
JPH07262053A (en) Information processor
JPH1055294A (en) Log management system for multi-program
JPS61267142A (en) Microprogram control device
JPH01102649A (en) System for collecting fault information
JPH056294A (en) Dump sampling system
JPH05216713A (en) Scan pass data extraction circuit