JPH01214950A - System for testing pseudo fault of channel processor - Google Patents
System for testing pseudo fault of channel processorInfo
- Publication number
- JPH01214950A JPH01214950A JP63038757A JP3875788A JPH01214950A JP H01214950 A JPH01214950 A JP H01214950A JP 63038757 A JP63038757 A JP 63038757A JP 3875788 A JP3875788 A JP 3875788A JP H01214950 A JPH01214950 A JP H01214950A
- Authority
- JP
- Japan
- Prior art keywords
- pseudo
- pseudo fault
- processor
- test
- channel
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 38
- 238000012545 processing Methods 0.000 claims description 22
- 238000010998 test method Methods 0.000 claims description 7
- 238000000034 method Methods 0.000 abstract description 8
- 230000005856 abnormality Effects 0.000 abstract description 7
- 238000011835 investigation Methods 0.000 description 7
- 230000000694 effects Effects 0.000 description 3
- 230000002159 abnormal effect Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000007781 pre-processing Methods 0.000 description 1
Landscapes
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
Description
【発明の詳細な説明】
〔概 要〕
中央処理装置と、この中央処理装置と入出力装置とを接
続するためのチャネルプロセッサを含むチャネルと、シ
ステムの試験を行うためのサービスプロセッサとを備え
るプロセッサシステムにおけるチャネルプロセッサの擬
似障害試験方式に関し、
擬似障害による動作結果の予測を行うことなくチャネル
プロセッサの擬似障害試験を行い得るようにすることを
目的とし、
サービスプロセッサを用いてチャネルプロセッサに擬似
障害を設定し、次いで中央処理装置によってこのチャネ
ルプロセッサを起動して入出力処理を実行させ、得られ
た処理結果が正常であった場合にはこの擬似障害とこの
擬似障害があった場合に得られた結果とを記憶手段に格
納しておき、この擬似障害を試験条件として擬似障害試
験を行うように構成した。[Detailed Description of the Invention] [Summary] A processor comprising a central processing unit, a channel including a channel processor for connecting the central processing unit and an input/output device, and a service processor for testing a system. Concerning a pseudo-failure test method for channel processors in systems, the purpose is to perform pseudo-failure tests on channel processors without predicting operational results due to pseudo-faults. setting, and then the central processing unit starts this channel processor to execute input/output processing, and if the processing results obtained are normal, this pseudo failure and this pseudo failure occur. The results were stored in a storage means, and a simulated failure test was conducted using this simulated failure as a test condition.
プロセッサと、このプロセッサと入出力装置とを接続す
るためのチャネルプロセッサと、システムの試験を行う
ためのサービスプロセッサとヲ備えるプロセッサシステ
ムにおけるチャネルプロセッサの擬似障害試験方式に関
する。The present invention relates to a simulated failure test method for a channel processor in a processor system including a processor, a channel processor for connecting the processor and an input/output device, and a service processor for testing the system.
第3図は本発明によるチャネルプロセッサの擬似障害試
験方式が適用されるプロセッサシステムの例を示すもの
で、中央処理装置1はM’CU 2を介して主記憶装置
3およびチャネル4のチャネルプロセッサ5に接続され
ており、このチャネル4には複数の入出力装置63.6
2.・・・・・・6nが接続される。FIG. 3 shows an example of a processor system to which the channel processor pseudo-failure test method according to the present invention is applied. This channel 4 has multiple input/output devices 63.6.
2. ...6n is connected.
上記MCU2には、上記の中央処理装置1、主記憶装置
3、チャネル4などの試験・監視などを行うためのサー
ビスプロセッサ7が更に接続されており、このサービス
プロセッサ7には入力のためのキーボード8と出力のた
めの表示装置9およびプリンタ10などが設けられてい
る。A service processor 7 for testing and monitoring the central processing unit 1, main memory 3, channel 4, etc. is further connected to the MCU 2, and this service processor 7 has a keyboard for inputting data. 8, a display device 9 for output, a printer 10, etc. are provided.
チャネル4あるいは入出力装置に異常が発生したときに
、この異常をカバーしたり、中央処理装置lに通知する
チャネルプロセッサ5のRAS機能を試験するための従
来の方法の例を第4図にフローチャートとして示した。FIG. 4 is a flowchart showing an example of a conventional method for testing the RAS function of the channel processor 5 which covers the abnormality and notifies the central processing unit 1 when an abnormality occurs in the channel 4 or the input/output device. It was shown as
この第4図において、第1の試験処理T、・とじ、て、
ステップ■でサービスプロセッサは予め用意されている
プログラムを用いてチャネルプロセッサに擬似障害を設
定し、その後にステップ■で入出力動作を行わせ、擬似
障害がリカバーされあるいはその障害内容が正しく中央
処理装置に報告されたかなどの、期待したチャネルプロ
セッサの動作が行われたか否かなどの動作結果をステッ
プ■で判定する。In this FIG. 4, the first test process T,...
In step ■, the service processor uses a program prepared in advance to set a pseudo fault in the channel processor, and then in step The operation result, such as whether or not the expected channel processor operation was carried out, is determined in step (3).
このステップ■で処理結果が異常と判定された場合には
エラーが発生したことをステップ■で表示した後、また
、その結果が正常であることがこのステップ■で判定さ
れたときには直接、上記同様なステップ■〜■からなる
第2の試験処理T2を実行する。If the processing result is determined to be abnormal in this step ■, the occurrence of an error will be displayed in step ■, and if the result is determined to be normal in this step ■, then directly as above. A second test process T2 consisting of steps ① to ② is executed.
このように、ステップ■〜■を1つの試験処理単位とし
て予め定めた複数の擬似障害について最終の擬似障害に
ついての試験処理Tnまで繰返すことによって、チャネ
ルプロセッサのRAS機能を試験するようにしていた。In this way, the RAS function of the channel processor is tested by repeating steps (1) to (2) as one test processing unit for a plurality of predetermined pseudo faults up to the test process Tn for the final pseudo fault.
このような従来のチャネルプロセッサの擬似障害試験方
式においては、システムのハードウェアの構成を変更し
たり擬似障害を設定する箇所を追加したりすると試験結
果の予測をそれぞれ行わなければならず、加えて試験プ
ログラムを修正したり追加することが必要となって多く
の工数を要するばかりでなく、プログラムの規模も大き
くなるという問題があった。In such conventional channel processor pseudo-fault test methods, if the system hardware configuration is changed or a point where a pseudo-fault is set is added, the test results must be predicted. There is a problem in that it is necessary to modify or add to the test program, which not only requires a lot of man-hours but also increases the scale of the program.
しかも、異常が発生しても擬似障害とその結果が判るだ
けでその原因は把握できず、また、実際に動作させた結
果が上記の予測と必ずしも一致するとは限らないという
問題があった。In addition, even if an abnormality occurs, only a pseudo fault and its result are known, but the cause cannot be ascertained, and the result of actual operation does not necessarily match the above prediction.
本発明は、上記のように擬似障害による動作結果の予測
を行うことなく、これによってチャネルプロセッサの1
疑似障害試験を行い得るようにすることを目的とするも
のである。The present invention eliminates the prediction of operation results due to pseudo-failures as described above, and thereby enables
The purpose is to enable pseudo-impairment tests to be conducted.
中央処理装置1と、この中央処理装置と入出力装置6.
.62.・・・・・・・・6nとを接続するためのチャ
ネルプロセッサ5を備えるチャネル4と、システムの試
験を行うためのサービスプロセッサ7とを備えるプロセ
ッサシステムにおいて、
上記サービスプロセッサを用いてチャネルプロセッサに
擬似障害を設定し、次いで中央処理装置によってこのチ
ャネルプロセッサを起動して入出力処理を実行させ、得
られた処理結果が正常であった場合にはこの擬似障害と
この擬似障害があった場合に得られた結果とを記憶手段
に格納しておき、この擬似障害を試験条件として擬似障
害試験を行うようにした。A central processing unit 1, this central processing unit and an input/output device 6.
.. 62. ...6n, and a service processor 7 for testing the system. A pseudo failure is set, and then the central processing unit starts this channel processor to execute input/output processing, and if the obtained processing result is normal, this pseudo failure and this pseudo failure occur. The obtained results are stored in a storage means, and a simulated failure test is conducted using this simulated failure as a test condition.
第1図は、本発明の詳細な説明するためのフローチャー
トであって、ステップ[1コではサービスプロセッサ(
第3図7)のキーボード(第3図8)からの入力あるい
は従前の試験結果に基づいて作成されたプログラムによ
って試験モードおよび設定すべき擬似障害の内容などを
入力する。FIG. 1 is a flowchart for explaining the present invention in detail.
The test mode and the content of the pseudo failure to be set are entered by inputting from the keyboard (FIG. 3, FIG. 8) shown in FIG. 3 (FIG. 3, 7) or by using a program created based on previous test results.
それが擬似障害試験の終了の指示であるか否かをステッ
プ[2]で識別して終了でなければステップ[3]で上
記の擬似障害の設定を行い、続くステップ[4]で中央
処理装置(第3図1)からの指令によってチャネルプロ
セッサ(第3図5)に入出力動作を実行させる。In step [2], it is determined whether or not this is an instruction to end the simulated fault test. If the test is not completed, the above-mentioned simulated fault settings are made in step [3], and in the following step [4], the central processing unit The channel processor (FIG. 3, 5) is caused to perform input/output operations according to instructions from the channel processor (FIG. 3, 1).
試験モードがエラー原因調査モードであるか否かをステ
ップ[5]で判断し、エラー原因調査モードであれば、
ステップ[11コで予め設定された処理ステップでチャ
ネルプロセッサの動作を停止させ、ステップ[12コで
エラー原因の調査を行って、ステップ[13]で設定さ
れていた擬似障害の内容とその実行結果とを蓄積してか
ら、上記ステップ[2コに戻って次の擬似障害を設定す
るなどの処理を続行する。It is determined in step [5] whether the test mode is the error cause investigation mode, and if it is the error cause investigation mode,
In step [11], the operation of the channel processor is stopped according to the preset processing steps, and in step [12], the cause of the error is investigated, and in step [13], the content of the pseudo failure and its execution result are determined. After accumulating , the process continues by returning to step 2 and setting the next pseudo failure.
上記ステップ[5]で判断した結果がエラー原因調査モ
ードでなければ、ステップ[6]で入出力動作を行った
結果をサービスプロセッサのデイスプレィ(第3図9)
に表示させ、ステップ[7]で試験者の解析あるいは以
前に実行した結果に基づいてその動作結果が正常である
か否かを判断する。If the result determined in step [5] above is not the error cause investigation mode, the result of the input/output operation performed in step [6] is displayed on the service processor display (Fig. 3, 9).
In step [7], it is determined whether the operation result is normal based on the tester's analysis or the results of previous executions.
正常であればステップ[8コにおいて、設定された擬似
障害についての正常結果としてこの擬似障害とこれに対
応した結果を蓄積しておくことによって試験プログラム
の試験データとして追加可能にするが、もし、動作結果
が異常であるとステップ[7]で判定された場合には、
ステップ[21コでサービスプロセッサの上記デイスプ
レィあるいはプリンタ(第3図10)によってエラーが
あったことあるいはさらにそのエラー内容を表示させ、
さらにステップ[22コで試験モードをエラー原因調査
モードに切換えて上記ステップ[2]に戻り、この擬似
障害の設定を変更することなく前記ステップ[4]以下
の処理を繰返してエラー原因の調査を行う。If it is normal, in step [8], this pseudo fault and the corresponding results are stored as normal results for the set pseudo fault so that they can be added as test data of the test program, but if If it is determined in step [7] that the operation result is abnormal,
In step [21], the above-mentioned display or printer (Fig. 3, 10) of the service processor displays that there is an error or further details of the error;
Furthermore, in step [22], switch the test mode to error cause investigation mode, return to step [2] above, and repeat the process from step [4] onwards without changing the settings of this pseudo failure to investigate the cause of the error. conduct.
このようにして、設定された擬似障害に対するチャネル
プロセッサの動作結果を逐次蓄積することによって、擬
似障害に対する結果を予測して試験プログラムを作成す
る必要がなくなり、また、エラー原因調査モードにおい
ては異常が生じた原因の調査を容易にすることができる
。In this way, by sequentially accumulating the operation results of the channel processor for the set pseudo faults, there is no need to predict the results for the pseudo faults and create a test program. This makes it easier to investigate the cause.
第2図は本発明の実施例を示すフローチャートであって
、ステップ■においては前処理として起動可能な入出力
装置を抽出するとともにキーボードからの入力によって
試験を行うかあるいは指定した記憶装置から読出された
プログラムによって試験を行うかの選択を行う。FIG. 2 is a flowchart showing an embodiment of the present invention. In step (2), as a preprocessing, an input/output device that can be activated is extracted, and a test is performed by inputting from the keyboard or read from a specified storage device. Select whether to conduct the test using the program.
ステップ■においては、第1図のステップ[1]におけ
ると同様に、チャネルプロセッサに対して擬似障害を設
定させるために必要な情報を入力し、ステップ■におい
ては診断命令の実行ステップとして擬似障害を設定させ
、次いでステップ■として中央処理装置からチャネルプ
ロセッサに入出力命令を実行させる。In step (2), as in step [1] of Fig. 1, information necessary for setting a pseudo fault to the channel processor is input, and in step (2), the pseudo fault is set as a diagnostic command execution step. Then, in step (3), the central processing unit causes the channel processor to execute input/output instructions.
ステップ■では、第1図について説明したようなエラー
原因調査モードに試験モードが設定されていればステッ
プ0で予め定められている処理ス ′テップでチャネル
プロセッサの処理を停止させ、第1図のステップ[12
]、 [13]と同様に、エラー原因の調査と試験デ
ータの蓄積をステップ0.0で行った後にステップ■に
戻る。In step 2, if the test mode is set to the error cause investigation mode as explained with reference to FIG. Step [12
], Similar to [13], after investigating the cause of the error and accumulating test data in step 0.0, return to step (2).
エラー原因調査モードにないことが上記ステップ■で判
断されると、ステップ■でチャネルプロセッサの実行結
果をサービスプロセッサのデイスプレィあるいはプリン
タによって表示させ、ステップ■でその実行結果を判定
し、この判定の結果が異常であればステップ0でエラー
メツセージを例えばサービスプロセッサのプリンタなど
から出力させ、ステップΦではエラー原因の調査を行う
ためにエラー原因調査モードを設定して上記ステツブ■
に戻す。If it is determined in the above step (■) that the error cause investigation mode is not in effect, the execution result of the channel processor is displayed on the display or printer of the service processor in step (2), the execution result is determined in step (2), and the result of this determination is displayed. If there is an abnormality, an error message is output from the printer of the service processor in step 0, and in step Φ, the error cause investigation mode is set to investigate the cause of the error, and the above step
Return to
上記ステップ■における実行結果の判定によってその結
果が正常であれば、ステップ■で設定されていた擬似障
害とこの擬似障害によって得られた結果とを次回の試験
のためのデータとして、ステップ■で例えば磁気ディス
クなどの記憶媒体に記憶させる。If the result is normal according to the judgment of the execution result in step ■ above, the pseudo failure set in step ■ and the result obtained by this pseudo failure are used as data for the next test, and in step ■, for example, It is stored on a storage medium such as a magnetic disk.
次のステップ■においては、試験内容がすべて終了した
か否かを判断して、終了していれば試験を終了させ、未
だ終了していなければステップ■に戻って次の試験内容
を実行させる。In the next step (2), it is determined whether all the test contents have been completed, and if so, the test is terminated, and if not yet, the process returns to step (2) and the next test contents are executed.
本発明によれば、擬似障害に対するチャネルプロセッサ
の動作結果を蓄積することによって、擬似障害に対する
結果を予測して試験プログラムを作成する必要がなくな
り、また、異常が生じた場合でもその原因の調査が容易
になるという格別の効果を達成することができる。According to the present invention, by accumulating the operation results of channel processors for pseudo faults, there is no need to predict the results for pseudo faults and create a test program, and even if an abnormality occurs, the cause can be investigated. It is possible to achieve a special effect of making it easier.
第1図は本発明によるチャネルプロセッサの擬似障害試
験方式の原理を示すフローチャート、
第2図は本発明の実施例の動作を示すフローチャート、
第3図は本発明が適用されるプロセッサシステムの構成
を示すブロック図、
第4図は従来のチャネルプロセッサの擬似障害試験方式
の例を示すフローチャートである。FIG. 1 is a flowchart showing the principle of a channel processor pseudo fault test method according to the present invention, FIG. 2 is a flowchart showing the operation of an embodiment of the present invention, and FIG. 3 is a flowchart showing the configuration of a processor system to which the present invention is applied. FIG. 4 is a flowchart illustrating an example of a conventional channel processor pseudo fault test method.
Claims (1)
(6_1、6_2、・・・・・・・6n)とを接続する
ためのチャネルプロセッサ(5)を含むチャネル(4)
と、システムの試験を行うためのサービスプロセッサ(
7)とを備えるプロセッサシステムにおいて、 上記サービスプロセッサを用いてチャネルプロセッサに
擬似障害を設定し、次いで中央処理装置によってこのチ
ャネルプロセッサを起動して入出力処理を実行させ、得
られた処理結果が正常であった場合にはこの擬似障害と
この擬似障害があった場合に得られた結果とを記憶手段
に格納しておき、この擬似障害を試験条件として擬似障
害試験を行うようにしたことを特徴とするチャネルプロ
セッサの擬似障害試験方式。[Claims] A channel including a central processing unit (1) and a channel processor (5) for connecting the central processing unit and input/output devices (6_1, 6_2, . . . 6n). (4)
and a service processor (
7) In a processor system equipped with the above service processor, a pseudo failure is set in the channel processor, and then the central processing unit starts this channel processor to execute input/output processing, and the obtained processing result is normal. If the simulated failure occurs, the simulated failure and the results obtained in the event of this simulated failure are stored in the storage means, and a simulated failure test is conducted using the simulated failure as a test condition. A simulated failure test method for channel processors.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63038757A JP2549690B2 (en) | 1988-02-23 | 1988-02-23 | Pseudo-fault test method for channel processor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63038757A JP2549690B2 (en) | 1988-02-23 | 1988-02-23 | Pseudo-fault test method for channel processor |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH01214950A true JPH01214950A (en) | 1989-08-29 |
JP2549690B2 JP2549690B2 (en) | 1996-10-30 |
Family
ID=12534160
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP63038757A Expired - Lifetime JP2549690B2 (en) | 1988-02-23 | 1988-02-23 | Pseudo-fault test method for channel processor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2549690B2 (en) |
-
1988
- 1988-02-23 JP JP63038757A patent/JP2549690B2/en not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
JP2549690B2 (en) | 1996-10-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH01267742A (en) | System for diagnosing trouble | |
JPH01214950A (en) | System for testing pseudo fault of channel processor | |
JPH10133914A (en) | Computer system and device input/output simulator | |
JPH07334385A (en) | Verifying method for maintenance diagnostic function | |
JPS6250858B2 (en) | ||
JPH0520115A (en) | Pseudo fault testing system for information processor | |
JPH05165737A (en) | Memory test system | |
JPH04133138A (en) | System test supporting method | |
JPH0497445A (en) | Diagnostic system for information processor | |
JPH09219747A (en) | Fault information analysis system | |
JP2679153B2 (en) | Fault handling function test method | |
JPS62139050A (en) | Instruction test system by control of maintenance and diagnosis processor | |
JPS60226132A (en) | Semiconductor device tester | |
JPH02232740A (en) | Test system for service processor | |
JPH01134539A (en) | Trace system for microprogram | |
JPH06139093A (en) | System for reproducing test of hardware fault | |
JP2831480B2 (en) | Information processing device failure detection method | |
JPH0844583A (en) | Diagnostic system for information processor | |
JPH0567164A (en) | Logic simulation system | |
JP2000276224A (en) | Method and device for inspecting control program and automatically generating inspection program therefor | |
JPS62211739A (en) | Device and method for logic test of data processor | |
JPH06332744A (en) | Testing method for information processor | |
JPH0997194A (en) | Data acquisition device for fail memory | |
JPS6289144A (en) | Trouble diagnosing system for logical device | |
JPH01216437A (en) | Method for testing information processor |