JPH11175412A - System for sampling state information in disk controller and machine readable recording medium for recording program - Google Patents

System for sampling state information in disk controller and machine readable recording medium for recording program

Info

Publication number
JPH11175412A
JPH11175412A JP9362565A JP36256597A JPH11175412A JP H11175412 A JPH11175412 A JP H11175412A JP 9362565 A JP9362565 A JP 9362565A JP 36256597 A JP36256597 A JP 36256597A JP H11175412 A JPH11175412 A JP H11175412A
Authority
JP
Japan
Prior art keywords
time
monitoring
input
unit
output
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
JP9362565A
Other languages
Japanese (ja)
Inventor
Akihiro Asano
聡宏 浅野
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 JP9362565A priority Critical patent/JPH11175412A/en
Publication of JPH11175412A publication Critical patent/JPH11175412A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PROBLEM TO BE SOLVED: To enable a disk controller itself to autonomously sample state information regardless of the presence or absence of the generation of a failure when an input and output processing is not completed until a preliminarily set time elapses since the processing starting point of time of an input and output instruction. SOLUTION: A time setting part 15 holds a monitoring time through a monitoring time setting instruction issued from a host processor 3. At the time of starting the processing of an input and output instruction to a disk device 2 issued from the host processor 3, a microprocessor part 11 reports the monitoring time set in the time setting part 15 to a time monitoring part 16 to activate the monitoring of a time lapse, samples state information regardless of the presence or absence of the generation of a failure when the input and output processing is not completed with regard to the input and output instruction until the monitoring time elapses and stores it is a sampled information storing part 17. The state information stored in the sampled information storing part 17 is transferred to the host processor 3 at the time of issuing a sample information acquisition instruction from the host processor 3.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明はディスク制御装置に
関し、より詳細には、設定時間内に入出力処理が完了し
ない場合、障害を認識していなくてもその時点でのディ
スク制御装置内部の状態情報を障害情報として採取する
ようにしたディスク制御装置における状態情報採取方式
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a disk controller, and more particularly, to a disk controller at the time when input / output processing is not completed within a set time even if a failure is not recognized. The present invention relates to a state information collecting method in a disk control device that collects information as failure information.

【0002】[0002]

【従来の技術】1台以上のディスク装置に接続され、上
位装置からの命令に従ってディスク装置に対するデータ
の入出力を制御するディスク制御装置においては、何ら
かの原因により、上位装置から発行された入出力命令に
かかる入出力処理が上位装置で規定する時間内に完了し
ないことがある。このような障害をタイムアウト障害と
呼び、その原因を究明するためには、ディスク制御装置
内における状態情報を採取する必要がある。このような
情報採取は従来は以下のように行われていた。
2. Description of the Related Art In a disk controller which is connected to one or more disk units and controls the input and output of data to and from the disk units in accordance with instructions from an upper unit, an input / output command issued from the upper unit for some reason. May not be completed within the time specified by the host device. Such a failure is called a time-out failure, and it is necessary to collect status information in the disk controller in order to determine the cause. Such information collection has conventionally been performed as follows.

【0003】先ず、上位装置はディスク制御装置に対す
る入出力命令の発行時にタイマを起動し、タイムアウト
の監視を行う。そして、タイムアウトが検知されるまで
にディスク制御装置から入出力処理の完了が通知されな
かった場合、即ちタイムアウト障害が発生した場合、デ
ィスク制御装置に対して状態情報の採取を要求する。デ
ィスク制御装置はこの要求を受信した時点で所定の状態
情報を採取し、採取情報格納部に格納する。この採取情
報格納部に格納された状態情報は、後に上位装置から取
り出すことが可能である。
First, the host device starts a timer when an input / output command is issued to the disk control device, and monitors a timeout. Then, when the completion of the input / output processing is not notified from the disk control device until the timeout is detected, that is, when a timeout failure occurs, the disk control device is requested to collect status information. Upon receiving this request, the disk control device collects predetermined state information and stores it in the collected information storage unit. The status information stored in the collection information storage unit can be retrieved later from the host device.

【0004】上記の従来技術とほぼ同様な技術を記載し
た文献として、特開平5−53881号公報がある。
[0004] Japanese Patent Application Laid-Open No. 5-53881 is a document which describes a technique substantially similar to the above-mentioned conventional technique.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上位装
置がディスク制御装置に対して入出力命令を発行し、こ
れを受け付けたディスク制御装置がその入出力命令にか
かる入出力処理を開始した時点から、上位装置でタイム
アウトが検知されディスク制御装置に対して状態情報の
採取が要求されて実際に情報が採取される迄にはある程
度の時間がある。従って、若しディスク制御装置におけ
る入出力処理の開始直後にタイムアウト要因が発生して
いた場合、タイムアウト検知時点での状態情報を採取し
ても役立たない場合がある。何故なら、タイムアウト要
因発生後時間が経過しているため、ディスク制御装置の
状態がタイムアウト要因発生時点の状態と相違している
からである。
However, when the host device issues an I / O command to the disk control device and the disk control device that has received the I / O command starts the I / O process related to the I / O command, There is a certain period of time from when the timeout is detected in the higher-level device to when the disk controller is requested to collect status information and when the information is actually collected. Therefore, if a time-out factor occurs immediately after the start of the input / output processing in the disk control device, collecting the state information at the time of detecting the time-out may not be useful. This is because the time after the occurrence of the timeout factor has elapsed and the state of the disk control device is different from the state at the time of occurrence of the timeout factor.

【0006】そこで本発明の第1の目的は、入出力命令
の処理開始時より予め設定された時間が経過するまでに
入出力処理が完了していない時、障害発生の有無に関係
なく、その時点での状態情報をディスク制御装置自身が
自律的に採取し得るようにすることにある。
Accordingly, a first object of the present invention is to provide an input / output instruction which is not completed by a predetermined time from the start of processing of an input / output instruction, regardless of whether a failure has occurred or not. An object of the present invention is to enable the disk control device itself to autonomously collect state information at the time.

【0007】また本発明の第2の目的は、上記の設定時
間を上位装置から任意に指定できるようにすることにあ
る。
[0007] A second object of the present invention is to allow the higher-level device to arbitrarily designate the set time.

【0008】[0008]

【課題を解決するための手段】本発明のディスク制御装
置における状態情報採取方式は、上記第1の目的を達成
するために、1台以上のディスク装置に接続され、上位
装置からの命令に従って前記ディスク装置に対するデー
タの入出力を制御するディスク制御装置において、前記
上位装置から発行された前記ディスク装置に対する入出
力命令の処理開始時点より予め設定された監視時間の経
過を監視し、監視時間が経過するまでに前記入出力命令
にかかる入出力処理が完了していない時、その時点での
状態情報を採取するようにしている。より具体的には、
監視時間を保持する時間設定部と、時間の経過を監視す
る時間監視部と、上位装置から発行されたディスク装置
に対する入出力命令の処理開始時点より前記時間設定部
に保持された監視時間だけ経過するのを前記時間監視部
に監視させ、前記監視時間が経過するまでに前記入出力
命令にかかる入出力処理が完了していない時、その時点
での状態情報を採取する情報採取部とを備えている。
In order to achieve the first object, the status information collecting method in the disk control device of the present invention is connected to one or more disk devices, and the status information is collected in accordance with an instruction from a host device. In a disk control device for controlling the input / output of data to / from a disk device, a monitoring time set in advance from the start of processing of an input / output command for the disk device issued from the host device is monitored. When the input / output processing related to the input / output command is not completed before the execution, the status information at that time is collected. More specifically,
A time setting unit for holding a monitoring time, a time monitoring unit for monitoring the passage of time, and a lapse of the monitoring time held by the time setting unit from the start of processing of an input / output command for a disk device issued from a higher-level device. And an information collection unit for collecting state information at the time when the input / output processing according to the input / output command is not completed before the monitoring time elapses. ing.

【0009】このように構成された本発明のディスク制
御装置における状態情報採取方式においては、時間設定
部が監視時間を保持しており、上位装置からディスク装
置に対する入出力命令が発行されると、情報採取部が、
その入出力命令にかかる入出力処理の開始時点より時間
設定部に保持された監視時間だけ経過するのを時間監視
部に監視させ、その監視時間が経過するまでに前記入出
力命令にかかる入出力処理が完了していない時、その時
点での状態情報を採取する。
In the state information collecting method in the disk control device of the present invention thus configured, the time setting unit holds the monitoring time, and when an input / output command to the disk device is issued from the host device, The information collection unit
The time monitoring unit monitors the elapse of the monitoring time held in the time setting unit from the start time of the input / output processing according to the input / output instruction. When the process is not completed, the status information at that time is collected.

【0010】また本発明のディスク制御装置における状
態情報採取方式は、上記第1及び第2の目的を達成する
ために、1台以上のディスク装置に接続され、上位装置
からの命令に従って前記ディスク装置に対するデータの
入出力を制御するディスク制御装置において、前記上位
装置から発行された監視時間設定命令による監視時間を
保持する時間設定部と、時間の経過を監視する時間監視
部と、前記上位装置から発行された前記ディスク装置に
対する入出力命令の処理開始時、前記時間設定部に監視
時間が保持されているときに限り、その時点より前記時
間設定部に保持された監視時間だけ経過するのを前記時
間監視部に監視させ、前記監視時間が経過するまでに前
記入出力命令にかかる入出力処理が完了していない時、
その時点での状態情報を採取して採取情報格納部に格納
すると共に前記時間設定部の監視時間を無効にする情報
採取部と、前記上位装置から発行された採取情報取得命
令に応答して前記採取情報格納部に格納された状態情報
を前記上位装置に転送する情報転送部とを備えている。
In order to achieve the first and second objects, the status information collecting method in the disk control device of the present invention is connected to one or more disk devices, and the disk device is controlled in accordance with an instruction from a host device. A time setting unit that holds a monitoring time according to a monitoring time setting command issued from the higher-level device, a time monitoring unit that monitors the passage of time, When the processing of the issued input / output command to the disk device is started, only when the monitoring time is held in the time setting unit, the monitoring time held in the time setting unit elapses from that time. When a time monitoring unit monitors, and the input / output processing according to the input / output command is not completed before the monitoring time elapses,
An information collection unit that collects the state information at that time and stores it in the collection information storage unit and invalidates the monitoring time of the time setting unit, and responds to a collection information acquisition command issued from the higher-level device, An information transfer unit that transfers the status information stored in the collection information storage unit to the host device.

【0011】このように構成された本発明のディスク制
御装置における状態情報採取方式においては、時間設定
部が上位装置から発行された監視時間設定命令による監
視時間を保持し、上位装置からディスク装置に対する入
出力命令が発行されると、情報採取部が、その入出力命
令にかかる入出力処理の開始時、時間設定部に監視時間
が保持されているときに限り、その時点より時間設定部
に保持された監視時間だけ経過するのを時間監視部に監
視させ、前記監視時間が経過するまでに前記入出力命令
にかかる入出力処理が完了していない時、その時点での
状態情報を採取して採取情報格納部に格納すると共に時
間設定部の監視時間を無効にする。また、情報転送部
が、上位装置から発行された採取情報取得命令に応答し
て採取情報格納部に格納された状態情報を上位装置に転
送する。
In the state information collecting method in the disk control device of the present invention thus configured, the time setting unit holds the monitoring time according to the monitoring time setting command issued from the higher-level device, and the higher-level device sends the monitoring time to the disk device. When an I / O command is issued, the information collection unit starts holding the monitoring time in the time setting unit at the start of the I / O processing related to the I / O command and holds it in the time setting unit from that point The time monitoring unit monitors the elapse of the monitored time, and when the input / output processing of the input / output command is not completed before the monitoring time elapses, the state information at that time is collected. It is stored in the collection information storage unit and the monitoring time of the time setting unit is invalidated. Further, the information transfer unit transfers the state information stored in the collection information storage unit to the higher-level device in response to the collection information acquisition command issued from the higher-level device.

【0012】[0012]

【発明の実施の形態】次に本発明の実施の形態の例につ
いて図面を参照して詳細に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, embodiments of the present invention will be described in detail with reference to the drawings.

【0013】図1は本発明を適用したディスク制御装置
の一実施例のブロック図である。本実施例のディスク制
御装置1は、1台以上のディスク装置2、例えば磁気デ
ィスク装置と、上位装置であるホストプロセッサ3との
間に接続されており、マイクロプロセッサ部11と、チ
ャネルインタフェース部12と、データ転送部13と、
コントロールインタフェース部14と、時間設定部15
と、時間監視部16と、採取情報格納部17とを主要部
として有している。
FIG. 1 is a block diagram of an embodiment of a disk control apparatus to which the present invention is applied. The disk control device 1 of the present embodiment is connected between one or more disk devices 2, for example, a magnetic disk device, and a host processor 3, which is a higher-level device, and includes a microprocessor unit 11, a channel interface unit 12 And a data transfer unit 13;
Control interface unit 14 and time setting unit 15
, A time monitoring unit 16 and a collection information storage unit 17 as main parts.

【0014】チャネルインタフェース部12はホストプ
ロセッサ3との間の接続部であり、入出力チャネルに接
続され、入出力チャネルへの割り込み処理やチャネルか
らの起動などを行う。データ転送部13は入出力チャネ
ルとディスク装置2との間のデータ転送を制御,実行す
る部分で、チャネルとディスク装置2とのデータ転送速
度差やデータ形式の違いを調整するためのバッファなど
を有する。コントロールインタフェース部14はディス
ク装置2に対するデータの記憶,読み出しなどの制御を
行う部分である。マイクロプロセッサ部11は、チャネ
ルインタフェース部12,データ転送部13およびコン
トロールインタフェース部14の状態管理やその制御を
行う従来の機能に加えて、時間設定部15,時間監視部
16及び採取情報格納部17を使用した、設定時間によ
る情報採取機能を備えている。
The channel interface section 12 is a connection section with the host processor 3 and is connected to the input / output channel, and performs interrupt processing to the input / output channel, activation from the channel, and the like. The data transfer unit 13 controls and executes data transfer between the input / output channel and the disk device 2, and includes a buffer for adjusting a data transfer speed difference and a data format difference between the channel and the disk device 2. Have. The control interface unit 14 is a unit that controls storage and reading of data with respect to the disk device 2. The microprocessor unit 11 includes a time setting unit 15, a time monitoring unit 16, and a collection information storage unit 17 in addition to the conventional functions of managing and controlling the states of the channel interface unit 12, the data transfer unit 13, and the control interface unit 14. It has an information collection function based on the set time using.

【0015】マイクロプロセッサ部11用のマイクロプ
ログラムは、図2に示すようなフロッピィディスク媒
体,CD−ROM等の機械読み取り可能な記録媒体ME
Mに記録されており、電源投入時にマイクロプロセッサ
部11にロードされ、マイクロプロセッサ部11にディ
スク制御装置本来の制御機能を実現させると共に、図2
に示すように、マイクロプロセッサ部11上に時間登録
部111,監視起動部112,情報採取部113および
情報転送部114を実現する。
A microprogram for the microprocessor unit 11 is a machine-readable recording medium ME such as a floppy disk medium or a CD-ROM as shown in FIG.
M is loaded into the microprocessor unit 11 when the power is turned on, and the microprocessor unit 11 realizes the original control function of the disk control device.
As shown in (1), a time registration unit 111, a monitoring start unit 112, an information collection unit 113, and an information transfer unit 114 are realized on the microprocessor unit 11.

【0016】ここで、時間登録部111は、ホストプロ
セッサ3から発行された監視時間設定命令による監視時
間を時間設定部15に設定する機能部、監視起動部11
2は、ホストプロセッサ3から発行されたディスク装置
2に対する入出力命令の処理開始時、時間設定部15に
有効な監視時間が保持されているときに限り、その時点
より前記監視時間だけの時間が経過するのを時間監視部
16に監視させる機能部、情報採取部113は、前記監
視時間が経過するまでに前記入出力命令にかかる入出力
処理が完了していない時、その時点での状態情報を採取
して採取情報格納部17に格納すると共に時間設定部1
5に登録された監視時間を無効にする機能部、情報転送
部114は、ホストプロセッサ3から発行された採取情
報取得命令に応答して採取情報格納部17に格納された
状態情報をホストプロセッサ3に転送する機能部を、そ
れぞれ構成する。
Here, the time registering section 111 has a function section for setting a monitoring time according to a monitoring time setting command issued from the host processor 3 in the time setting section 15, and a monitoring starting section 11.
2 indicates that when the processing of an input / output command issued to the disk device 2 issued from the host processor 3 is started, only when the valid monitoring time is held in the time setting unit 15, the time corresponding to the monitoring time from that point on is maintained. When the input / output processing of the input / output command is not completed before the monitoring time elapses, the function of causing the time monitoring unit 16 to monitor the progress of the time, the information collecting unit 113 Is collected and stored in the collection information storage unit 17 and the time setting unit 1
The information transfer unit 114, which invalidates the monitoring time registered in the information processing unit 5, stores the status information stored in the collected information storage unit 17 in response to the collected information acquisition command issued from the host processor 3. Are configured respectively.

【0017】時間設定部15は、監視時間を保持するメ
モリ等である。この時間設定部15はマイクロプロセッ
サ部11内のメモリで実現することも可能である。
The time setting section 15 is a memory or the like for storing a monitoring time. The time setting unit 15 can be realized by a memory in the microprocessor unit 11.

【0018】時間監視部16は、マイクロプロセッサ部
11から通知された時間の経過を監視するタイマ等であ
り、起動時に通知された監視時間だけの時間が経過する
と例えば内部のフラグを“1”にセットする。この時間
監視部16もマイクロプロセッサ部11の有するタイマ
機能で実現することが可能である。
The time monitoring unit 16 is a timer or the like that monitors the elapse of the time notified from the microprocessor unit 11, and when the monitoring time notified at the time of startup elapses, for example, sets the internal flag to “1”. set. The time monitoring unit 16 can also be realized by the timer function of the microprocessor unit 11.

【0019】採取情報格納部17は、マイクロプロセッ
サ部11で採取された状態情報を格納するメモリであ
る。マイクロプロセッサ部11内のメモリに余裕がある
場合、採取情報格納部17はマイクロプロセッサ部11
内のメモリを利用することも可能である。
The collection information storage unit 17 is a memory for storing state information collected by the microprocessor unit 11. If the memory in the microprocessor unit 11 has room, the collection information storage unit 17
It is also possible to use the memory inside.

【0020】ホストプロセッサ3に接続された入力装置
4は、利用者が監視時間の設定命令等を入力するための
キーボード等であり、表示装置5は採取された情報など
を利用者に表示するCRTディスプレイ等である。ま
た、ファイル6は採取された情報を格納する媒体であ
る。
An input device 4 connected to the host processor 3 is a keyboard or the like for a user to input a monitoring time setting command or the like, and a display device 5 is a CRT for displaying collected information or the like to the user. Display. The file 6 is a medium for storing the collected information.

【0021】以下、上述のように構成された本実施例の
動作を説明する。
Hereinafter, the operation of the present embodiment configured as described above will be described.

【0022】或る入出力命令に関して時間設定による情
報採取を行いたい場合、利用者はその入出力命令をホス
トプロセッサ3からディスク制御装置1に発行するのに
先立って、入力装置4から監視時間を指定した監視時間
設定命令を入力する。入力装置4から入力された監視時
間設定命令はホストプロセッサ3を通じてディスク制御
装置1のマイクロプロセッサ部11に送られ、図2に示
す時間登録部111の処理により、監視時間設定命令に
おいて利用者が指定した監視時間が時間設定部15に登
録される。
When the user wants to collect information by time setting for a certain input / output command, the user sets the monitoring time from the input device 4 before issuing the input / output command from the host processor 3 to the disk controller 1. Enter the specified monitoring time setting command. The monitoring time setting command input from the input device 4 is sent to the microprocessor unit 11 of the disk control device 1 through the host processor 3, and the processing is performed by the time registration unit 111 shown in FIG. The monitored time is registered in the time setting unit 15.

【0023】続いて、ホストプロセッサ3からディスク
装置2に対する入出力命令がディスク制御装置1に対し
て発行されると、ディスク制御装置1のマイクロプロセ
ッサ部11が図3に示す処理を開始する。先ずマイクロ
プロセッサ部11は、発行された入出力命令を受け付け
て解析し(S1)、その入出力命令にかかる入出力処理
を開始する直前に、監視起動部112において、時間設
定部15に有効な監視時間が設定されているか否かを調
べ(S2)、設定されていた場合にはその設定された監
視時間を読み出して時間監視部16に通知して起動する
と共に、内部状態としての時間監視状態をONにする
(S3)。そして、当該入出力命令にかかる入出力処理
に必要な制御を開始する(S5)。起動された時間監視
部16は、その時点から監視時間分だけの時間が経過し
たか否かの監視を開始する。他方、時間設定部15に有
効な監視時間が設定されていない場合は、監視起動部1
12は時間監視部16を起動することなく、内部状態と
しての時間監視状態をOFFにし(S4)、マイクロプ
ロセッサ部11は当該入出力命令にかかる入出力処理に
必要な制御を開始する(S5)。
Subsequently, when an input / output command for the disk device 2 is issued from the host processor 3 to the disk control device 1, the microprocessor section 11 of the disk control device 1 starts the processing shown in FIG. First, the microprocessor unit 11 receives and analyzes the issued input / output command (S1), and immediately before starting the input / output processing related to the input / output command, the monitoring activation unit 112 makes the monitoring start unit 112 effective for the time setting unit 15. It is checked whether or not the monitoring time has been set (S2). If the monitoring time has been set, the set monitoring time is read out, notified to the time monitoring unit 16 and activated, and the time monitoring state as an internal state is set. Is turned on (S3). Then, control necessary for input / output processing according to the input / output command is started (S5). The activated time monitoring unit 16 starts monitoring whether or not the time corresponding to the monitoring time has elapsed from that time. On the other hand, when the valid monitoring time is not set in the time setting unit 15, the monitoring starting unit 1
12 turns off the time monitoring state as an internal state without activating the time monitoring unit 16 (S4), and the microprocessor unit 11 starts control necessary for input / output processing relating to the input / output command (S5). .

【0024】マイクロプロセッサ部11は、内部状態が
時間監視状態ONのときは(S7でYES)、当該入出
力命令にかかる入出力処理が完了するまでの間、監視時
間に相当する時間が経過したかどうかを時間監視部16
内のフラグを調べることでチェックしている(S8)。
そして、入出力処理が完了する前に(S6でNO)、監
視時間が経過したときは(S9でYES)、情報採取部
113により、その時点での状態情報を採取して採取情
報格納部17に記録する(S10)。このとき、時間設
定部15の監視時間を無効にすると共に内部状態として
の時間監視状態をOFFにし、再び状態情報の採取が行
われないようにする。
When the internal state is the time monitoring state ON (YES in S7), the microprocessor section 11 has elapsed a time corresponding to the monitoring time until the input / output processing relating to the input / output command is completed. Whether the time monitoring unit 16
This is checked by examining the flags in (8).
Before the input / output processing is completed (NO in S6), when the monitoring time has elapsed (YES in S9), the information collecting unit 113 collects the state information at that time and collects the collected information storage unit 17 (S10). At this time, the monitoring time of the time setting unit 15 is invalidated, and the time monitoring state as the internal state is turned off so that the state information is not collected again.

【0025】採取する状態情報としては、マイクロプロ
セッサ部11自身がその時点でどのような制御を行おう
としていたかを示す情報や、各ディスク装置に対する過
去何回分かの入出力命令にかかる制御内容など、予めマ
イクロプログラムで指定された情報である。換言すれ
ば、タイムアウト原因の究明に役立つ種々の詳細情報で
ある。
The state information to be collected includes information indicating what kind of control the microprocessor unit 11 was going to perform at that time, and control contents related to a number of past input / output commands for each disk device. Such information is specified in advance by a microprogram. In other words, various pieces of detailed information useful for determining the cause of the timeout.

【0026】さて、採取情報格納部17に記録された状
態情報を確認する場合、利用者は入力装置4から状態情
報採取命令を入力する。入力装置4から入力された状態
情報採取命令はホストプロセッサ3を通じてディスク制
御装置1のマイクロプロセッサ部11に送られ、図2に
示す情報転送部114の処理により、採取情報格納部1
7に記録された状態情報が読み出されてホストプロセッ
サ3に送られ、表示装置5に表示され、またファイル6
に保存される。
When confirming the status information recorded in the collection information storage unit 17, the user inputs a status information collection command from the input device 4. The status information collection command input from the input device 4 is sent to the microprocessor unit 11 of the disk control device 1 through the host processor 3 and processed by the information transfer unit 114 shown in FIG.
7 is read out and sent to the host processor 3 to be displayed on the display device 5 and the file 6
Is stored in

【0027】なお、以上の実施例では、監視時間設定命
令や状態情報採取命令を利用者が入力装置4から入力す
るようにしたが、監視時間設定命令,入出力命令,状態
情報採取命令の順に各命令を並べたプログラムをホスト
プロセッサ3で実行させるようにすることも可能であ
る。
In the above embodiment, the user inputs the monitoring time setting command and the status information collection command from the input device 4. However, the monitoring time setting command, the input / output command, and the status information collection command are arranged in this order. It is also possible for the host processor 3 to execute a program in which the instructions are arranged.

【0028】[0028]

【発明の効果】以上説明したように本発明によれば以下
のような効果を得ることができる。
As described above, according to the present invention, the following effects can be obtained.

【0029】入出力命令の処理開始時点より予め設定さ
れた時間が経過するまでに入出力処理が完了していない
時、障害発生の有無に関係なく、その時点での状態情報
をディスク制御装置において自律的に、つまり上位装置
からの情報採取要求によらずに採取することができる。
これにより、設定時間をごく短い時間にしておけば、入
出力処理の初期段階での状態情報を採取でき、入出力処
理の開始直後に発生するタイムアウト原因の究明に役立
つ情報を採取することが可能となる。
When the input / output processing is not completed before a predetermined time elapses from the start of the processing of the input / output instruction, the state information at that time is stored in the disk controller regardless of the occurrence of a failure. The information can be collected autonomously, that is, without receiving an information collection request from a higher-level device.
This makes it possible to collect the status information at the initial stage of I / O processing if the setting time is very short, and to collect information useful for investigating the cause of the timeout that occurs immediately after the start of I / O processing Becomes

【0030】上位装置から発行する監視時間設定命令に
よって監視時間を任意に変更できるため、監視時間を変
更して繰り返し試みることで、入出力処理の開始後の各
タイミングでの状態情報を採取でき、タイムアウト原因
の究明がより正確に行える。
Since the monitoring time can be arbitrarily changed by a monitoring time setting command issued from the host device, the status information at each timing after the start of the input / output processing can be collected by changing the monitoring time and repeatedly trying, The cause of the timeout can be more accurately determined.

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

【図1】本発明を適用したディスク制御装置の一実施例
のブロック図である。
FIG. 1 is a block diagram of an embodiment of a disk control device to which the present invention is applied.

【図2】マイクロプロセッサ部の有する特徴的な機能部
の説明図である。
FIG. 2 is an explanatory diagram of a characteristic function unit of the microprocessor unit.

【図3】マイクロプロセッサ部の処理例を示すフローチ
ャートである。
FIG. 3 is a flowchart illustrating a processing example of a microprocessor unit.

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

1…ディスク制御装置 11…マイクロプロセッサ部 111…時間登録部 112…監視起動部 113…情報採取部 114…情報転送部 12…チャネルインタフェース部 13…データ転送部 14…コントロールインタフェース部 15…時間設定部 16…時間監視部 17…採取情報格納部 2…ディスク装置 3…ホストプロセッサ 4…入力装置 5…表示装置 6…ファイル MEM…記録媒体 DESCRIPTION OF SYMBOLS 1 ... Disk control device 11 ... Microprocessor part 111 ... Time registration part 112 ... Monitoring start part 113 ... Information collection part 114 ... Information transfer part 12 ... Channel interface part 13 ... Data transfer part 14 ... Control interface part 15 ... Time setting part 16 Time monitoring unit 17 Collection information storage unit 2 Disk device 3 Host processor 4 Input device 5 Display device 6 File MEM Recording medium

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 1台以上のディスク装置に接続され、上
位装置からの命令に従って前記ディスク装置に対するデ
ータの入出力を制御するディスク制御装置において、前
記上位装置から発行された前記ディスク装置に対する入
出力命令の処理開始時点より予め設定された監視時間の
経過を監視し、監視時間が経過するまでに前記入出力命
令にかかる入出力処理が完了していない時、その時点で
の状態情報を採取する構成を有するディスク制御装置に
おける状態情報採取方式。
1. A disk controller connected to one or more disk devices and controlling input / output of data to / from the disk device in accordance with an instruction from a higher-level device, wherein input / output to / from the disk device issued from the higher-level device is performed. It monitors the elapse of a preset monitoring time from the start of processing of the instruction, and collects status information at that time when the input / output processing of the input / output instruction is not completed before the monitoring time elapses. A status information collection method in a disk controller having a configuration.
【請求項2】 1台以上のディスク装置に接続され、上
位装置からの命令に従って前記ディスク装置に対するデ
ータの入出力を制御するディスク制御装置において、 監視時間を保持する時間設定部と、 時間の経過を監視する時間監視部と、 前記上位装置から発行された前記ディスク装置に対する
入出力命令の処理開始時点より前記時間設定部に保持さ
れた監視時間だけ経過するのを前記時間監視部に監視さ
せ、前記監視時間が経過するまでに前記入出力命令にか
かる入出力処理が完了していない時、その時点での状態
情報を採取する情報採取部とを備えることを特徴とする
ディスク制御装置における状態情報採取方式。
2. A disk control device connected to one or more disk devices and controlling input / output of data to / from the disk devices according to an instruction from a host device, a time setting unit for holding a monitoring time, A time monitoring unit that monitors the elapse of the monitoring time held by the time setting unit from the start of processing of the input / output command for the disk device issued from the higher-level device, and causing the time monitoring unit to monitor An input / output unit that obtains status information at the time when the input / output processing according to the input / output command is not completed before the monitoring time elapses. Collection method.
【請求項3】 1台以上のディスク装置に接続され、上
位装置からの命令に従って前記ディスク装置に対するデ
ータの入出力を制御するディスク制御装置において、 前記上位装置から発行された監視時間設定命令による監
視時間を保持する時間設定部と、 時間の経過を監視する時間監視部と、 前記上位装置から発行された前記ディスク装置に対する
入出力命令の処理開始時、前記時間設定部に監視時間が
保持されているときに限り、その時点より前記時間設定
部に保持された監視時間だけ経過するのを前記時間監視
部に監視させ、前記監視時間が経過するまでに前記入出
力命令にかかる入出力処理が完了していない時、その時
点での状態情報を採取して採取情報格納部に格納すると
共に前記時間設定部の監視時間を無効にする情報採取部
と、 前記上位装置から発行された採取情報取得命令に応答し
て前記採取情報格納部に格納された状態情報を前記上位
装置に転送する情報転送部とを備えることを特徴とする
ディスク制御装置における状態情報採取方式。
3. A disk control device connected to one or more disk devices and controlling input / output of data to and from the disk device in accordance with a command from a higher-level device, wherein monitoring is performed by a monitoring time setting command issued from the higher-level device. A time setting unit for holding time, a time monitoring unit for monitoring the passage of time, and a monitoring time held by the time setting unit when processing of an input / output command for the disk device issued from the higher-level device is started. The time monitoring unit monitors that the monitoring time held by the time setting unit has elapsed from that point in time, and completes the input / output processing of the input / output command until the monitoring time elapses. When not, an information collection unit that collects the state information at that time and stores it in the collection information storage unit and invalidates the monitoring time of the time setting unit, An information transfer unit for transferring status information stored in the collection information storage unit to the host device in response to a collection information acquisition command issued from the host device. Collection method.
【請求項4】 1台以上のディスク装置に接続され、上
位装置からの命令に従って前記ディスク装置に対するデ
ータの入出力を制御するディスク制御装置を構成するコ
ンピュータに、 前記上位装置から発行された監視時間設定命令による監
視時間を時間設定部に設定するステップと、 前記上位装置から発行された前記ディスク装置に対する
入出力命令の処理開始時、前記時間設定部に監視時間が
保持されているときに限り、その時点より前記時間設定
部に保持された監視時間だけ経過するのを時間監視部に
監視させるステップと、 前記監視時間が経過するまでに前記入出力命令にかかる
入出力処理が完了していない時、その時点での状態情報
を採取して採取情報格納部に格納すると共に前記時間設
定部の監視時間を無効化するステップと、 前記上位装置から発行された採取情報取得命令に応答し
て前記採取情報格納部に格納された状態情報を前記上位
装置に転送するステップとを実行させるプログラムを記
録した機械読み取り可能な記録媒体。
4. A computer which is connected to one or more disk devices and constitutes a disk control device which controls input and output of data to and from the disk devices in accordance with an instruction from a higher-level device, a monitoring time issued from the higher-level device. Setting a monitoring time according to a setting command in a time setting unit, and when processing of an input / output command to the disk device issued from the higher-level device is started, only when the monitoring time is held in the time setting unit, Causing the time monitoring unit to monitor the elapse of the monitoring time held by the time setting unit from that time; and when the input / output processing according to the input / output command is not completed before the monitoring time elapses. Collecting the state information at that time, storing the state information in the collected information storage unit, and invalidating the monitoring time of the time setting unit; Serial host device status information stored in the collected data storage unit in response to the issued collected information acquisition command from recording a program for executing a step of transferring to the host system machine-readable recording medium.
JP9362565A 1997-12-12 1997-12-12 System for sampling state information in disk controller and machine readable recording medium for recording program Pending JPH11175412A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9362565A JPH11175412A (en) 1997-12-12 1997-12-12 System for sampling state information in disk controller and machine readable recording medium for recording program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9362565A JPH11175412A (en) 1997-12-12 1997-12-12 System for sampling state information in disk controller and machine readable recording medium for recording program

Publications (1)

Publication Number Publication Date
JPH11175412A true JPH11175412A (en) 1999-07-02

Family

ID=18477183

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9362565A Pending JPH11175412A (en) 1997-12-12 1997-12-12 System for sampling state information in disk controller and machine readable recording medium for recording program

Country Status (1)

Country Link
JP (1) JPH11175412A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011512588A (en) * 2008-02-14 2011-04-21 インターナショナル・ビジネス・マシーンズ・コーポレーション Computer program, apparatus, and method for determining state of I / O operation (computer command and response for determining state of I / O operation)
JP2021140678A (en) * 2020-03-09 2021-09-16 株式会社東芝 Information processing device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011512588A (en) * 2008-02-14 2011-04-21 インターナショナル・ビジネス・マシーンズ・コーポレーション Computer program, apparatus, and method for determining state of I / O operation (computer command and response for determining state of I / O operation)
JP2021140678A (en) * 2020-03-09 2021-09-16 株式会社東芝 Information processing device

Similar Documents

Publication Publication Date Title
JP2972640B2 (en) Window system object program preloading method and recording medium recording program for the method
JPH11175412A (en) System for sampling state information in disk controller and machine readable recording medium for recording program
JPH08212113A (en) Error information collection test system
JP2001159947A (en) Drive controller, method for controlling drive and storage medium
JPH01205343A (en) System for resuming interruption of process in electronic computer system
JP2533489B2 (en) Simulation system
JPH10293690A (en) Object program preload method for window system and recording medium recorded with program for the same
JP2638078B2 (en) Information processing device
JPH0589049A (en) Command executing device
JPH0652012A (en) Information processor having diagnostic function for peripheral part of device
JPH03246640A (en) Data sampling system
JPS63298442A (en) Application managing device
JP2673048B2 (en) Timeout monitoring processor
JPH04149720A (en) Magnetic tape controller
JPH0589078A (en) Laboratory automation supporting device
JPH11327729A (en) System and method for message display and recording medium for recording message display program
JP2001005768A (en) Magnetic tape device
JPH0442192A (en) Console message output control system
JPH1115704A (en) Emulation control method and emulator
JPH04243431A (en) Evaluation system for fault processing function
JPS62196742A (en) Data collecting system for memory resident module
JPH07271704A (en) Device controller
JPS61255440A (en) Program interruption control system
JP2002229815A (en) Task trace method and computer device having task trace function
JPH02141843A (en) Program management system