JPH04149755A - Log system for exclusive control for peripheral controller - Google Patents
Log system for exclusive control for peripheral controllerInfo
- Publication number
- JPH04149755A JPH04149755A JP2276068A JP27606890A JPH04149755A JP H04149755 A JPH04149755 A JP H04149755A JP 2276068 A JP2276068 A JP 2276068A JP 27606890 A JP27606890 A JP 27606890A JP H04149755 A JPH04149755 A JP H04149755A
- Authority
- JP
- Japan
- Prior art keywords
- fault
- director
- log
- exclusive control
- information
- 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
Links
- 230000002093 peripheral effect Effects 0.000 title claims description 13
- 230000015654 memory Effects 0.000 claims abstract description 31
- 238000004891 communication Methods 0.000 claims abstract description 17
- 238000000034 method Methods 0.000 claims description 6
- 238000010586 diagram Methods 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 239000003795 chemical substances by application Substances 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 239000004575 stone Substances 0.000 description 1
Landscapes
- Debugging And Monitoring (AREA)
Abstract
Description
【発明の詳細な説明】
り産業上の利用分野〕
本発明は周辺制御装置の排他制御のログ方式に関し、特
にN台のディレクタ間で排他制御を行う周辺制御装置に
おいて、排他制御に関する障害が発生した場合のログ方
式に関する。[Detailed Description of the Invention] Industrial Application Field] The present invention relates to a logging method for exclusive control of peripheral control devices, and in particular, in a peripheral control device that performs exclusive control between N directors, when a failure related to exclusive control occurs. Regarding the logging method when
J従来の技術〕
従来の周辺制御装置は、排他制御に関する障害を検出し
た場合には障害を検出したディレクタのみが障害情報を
ログして(・た。例えは、排他制御に関する障害として
デバイスの排他制御に関する障害等がある。J Prior Art] In conventional peripheral control devices, when a fault related to exclusive control is detected, only the director that detected the fault logs the fault information. There are problems with control, etc.
この従来の周辺制御装置では、排他制御に関する障害が
発生した場合には障害を検出したディレクタのみ障害情
報をログしているため、この種の障害では他のディレク
タとの関連を示す情報を盛要とするため障害解析が容易
にできないという…照点があった。In this conventional peripheral control device, when a fault related to exclusive control occurs, only the director that detected the fault logs the fault information, so when this type of fault occurs, information indicating the relationship with other directors is required. There was a point of view that failure analysis could not be easily done because of this.
本発明の周辺制御装置の排他制御のログ方式はN台のデ
ィレクタ間で排他制御を行う周辺制御装置において、障
害が発生した場合に障害情報をログするログメモリと、
前記N台のディレクタ間て通信するための通信手段とを
有し、排他制御の関する障害を検出した場合に障害を検
出し、た前記−rイbクタは障害情報を・前記oクメモ
リにコグすると共に前記通信手段を介して他のディレク
タに対し5て[フロすることを指示することを特徴とす
る史に、本究明の周辺制御装置の排他制御のログ方式は
、す1−他制御に関する障害が発生した場合、Atf記
他のライしフタの状態を示す情報を一時記憶するための
共用メモリを有し、前記障害を検出したディレクタは障
害情報と前記共用メモリに格納された前記性のディレク
タの状態情報を読み出し5編集してmj記ロゲメモリに
ログすることを特徴とする。A logging method for exclusive control of a peripheral control device according to the present invention includes a log memory for logging failure information when a failure occurs in a peripheral control device that performs exclusive control between N directors;
and a communication means for communicating between the N directors, and when a fault related to exclusive control is detected, the -r event controller detects the fault and co-registers the fault information into the O memory. At the same time, the logging method for exclusive control of the peripheral control device of the present invention is characterized in that it also instructs other directors to [float] via the communication means. When a failure occurs, a shared memory is provided for temporarily storing information indicating the status of the Atf. It is characterized in that the director's status information is read out, edited, and logged in the logger memory written in mj.
次に本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.
第1図は本発明の一実施例を示すフロック図である。第
1図において、本発明の一実施例はホストフロセッサ1
と、複数のファイルを記録するデバイス3とに接続さト
る周辺制御装置て、ホストフロセッサ1からの命令によ
りデバイス3に対するデータの書き込み及び読み出しを
制御する子イレクタ4.4′と、ディレクタ4て排他i
1J、’iに関する障害を検出した時ディレクタ4′の
状態情報を一時格納する共用メモリ8から構成さえlる
。FIG. 1 is a block diagram showing one embodiment of the present invention. In FIG. 1, one embodiment of the present invention shows a host processor 1.
and a peripheral control device connected to the device 3 that records a plurality of files, a child director 4.4' that controls data writing and reading from the device 3 according to commands from the host processor 1, and a director 4. exclusive i
1J, consists of a shared memory 8 that temporarily stores status information of the director 4' when a fault related to 'i' is detected.
ディレクタ4,4′は、ホストフロセッサ1に対する命
令及びデ〜りの転送、又はデバイス3に対するデータの
書き込み及び読み出しを制御するマイクロプロセッサ5
,5′と、障害が発生した時マイクロフロセッサ5,5
′により編集さとた障害情報を格納するログメモリ6.
6′と、ディレクタ4とディレクタ4′との間で通信す
るための通信手段7,7′とから構成さiする。ディレ
クタ・1は、4W号45j 100 f介してホストフ
ロセッサ−1かr)発行される命令を受取り、デバイス
3に対するライ)・命令て夕)ればホストブロセー・カ
1がら信号線100を介し、て書き込み〜データを’[
1(Y ’) 7’ /、・イス3L7)命令又指定さ
t7−た領域に1. l Oを介(、てf7’−’−−
ダを・害き込む。又、寸・ストフ゛ロセソ+1から受は
取、った命令が1;−ド命令てあtばデバイス3から信
号線110を介してデータを読み取ト]信躬線100を
介してボス)・ブljセ2育−1へ子−夕を転送″する
。The directors 4 and 4' include a microprocessor 5 that controls the transfer of instructions and data to the host processor 1, and the writing and reading of data to and from the device 3.
, 5', and the microflossers 5, 5 when a failure occurs.
Log memory for storing fault information edited by '6.
6', and communication means 7, 7' for communicating between the director 4 and the director 4'. The director 1 receives the command issued from the host processor 1 via the 4W number 45j 100 f, and if the command is sent to the device 3, the director 1 receives the command issued from the host processor 1 via the signal line 100. Write ~ data '[
1(Y') 7' /, ・Isu3L7) 1. l O via (, f7'-'--
To harm someone. In addition, if the command received from the master processor +1 is 1; - the command, the data is read from the device 3 via the signal line 110. ``Transfer the child to the second education-1''.
−7” イし7.94 ’は、信号線101を介してポ
ストフロセ・′++′1から発行される命令を受取り、
テ・・(7’、3+mq−、iるライト命令てあFばボ
ストブロセ、・す1から信す線101を′i′1−1で
書き込み子−タを・受取り千ハイス3 (7)命1)で
指定さ1また領域に伝り線111を芹(、でデータを書
き込む。又、ボス)・フロセ、惺1から受は取った命令
がリード命令であればデバイス3から信号線111を介
してデータを読み取り信号線101を介してポストブロ
セッ廿lヘデータを転送スる。-7" and 7.94' receive the command issued from the post-frosé '++'1 via the signal line 101,
Te...(7', 3+mq-, i write command. If the command received from 1) is a read command, the signal line 111 is sent from device 3 to the area designated by 1). It reads data through the signal line 101 and transfers the data to the post processor 101.
ここではyハイス3 ノFtlt!2:alJ?IiZ
−) イ”Ia []、fj #る。ディレクタ4
・1′はデバイス317.):Q Dスコール機能を利
用し、て排他1t制御を行う5、子イシ′ツタ4か信5
線110を介してデバイス3を占イー1状(!!!にす
ると、ティしiり4′からイハ岩綿111tar介1−
で子ハイス3をマクセスする時デバイス3は子ィレクタ
4から占有されている二、l:り信号線111を介して
ディレクタ4’−報告−する。ディレクタ4′はデバイ
ス3が子イレ、クタ・1に山羊」されていることを認識
すると一定時間テ・・イス;3が解放されるまで待−つ
6 ニー・・イス3がf+7I放されると、デバイス4
′はデバイス:3を占有状態(こL″c−トタの書き込
み及び読め、取りを行い処理が終了するとデバイス3を
解放状態にする。Here, y high speed 3 no Ftlt! 2:alJ? IiZ
-) I"Ia [], fj #ru. Director 4
・1' is device 317. ): Use the QD squall function to perform exclusive 1t control 5, child stone ivy 4 or signal 5
If the device 3 is connected through the wire 110 to the 1st state (!!!), it will be connected from the 4' to the 111th tar 1-
When accessing the child HSS 3, the device 3 reports from the child director 4 to the director 4' via the occupied signal line 111. When director 4' recognizes that device 3 is being held by device 1, it waits for a certain period of time until device 3 is released, and then device 3 is released f+7I. and device 4
' writes, reads, and takes device 3 into an occupied state (L''c-tota), and when the processing is completed, puts device 3 into a released state.
次に一定時間待ってもデバイス3が解放されなかったと
いう障害を・ディレクタ4′が検出したトきのディレク
タ4′の処理について説明する。マイクロプロセッサ5
′はディレクタ4′に関する障害情報を採取したあと、
信号線140を介して通信手段7゛に表示されているデ
ィレクタ4の状態を信号線131を介して通信手段7′
から読み出し調べる。Next, the processing of the director 4' when the director 4' detects a failure in which the device 3 is not released even after waiting for a certain period of time will be described. microprocessor 5
' collects failure information regarding director 4',
The status of the director 4 displayed on the communication means 7' via the signal line 140 is transmitted to the communication means 7' via the signal line 131.
Read from and examine.
まずディレクタ4のマイクロプロセッサ5が動作不可能
状態であれば、マイクロプロセッサ5′はディレクタ4
の障害に起因して発生したことをディレクタ4′に関す
る障害情報に追加して121を介してログメモリ6′に
ログした後でホストフロセッサIに対してディレクタ4
の障害に起因して障害が誘発された旨を報告する。First, if the microprocessor 5 of the director 4 is in an inoperable state, the microprocessor 5'
After adding the information that occurred due to the failure of the director 4 to the failure information regarding the director 4' and logging it to the log memory 6' via 121,
report that the disorder was induced due to a disorder in the
次に通信手段7,7′を使用してマイクロプロセッサ5
,5′間で通信可能な場合について説明する。マイクロ
プロセッサ5′は信号線140を介して接続される通信
手段7,7′を使用してマイクロフロセッサ5に対して
ログ採集指示を出す。Next, using the communication means 7, 7', the microprocessor 5
, 5' will be explained below. The microprocessor 5' uses the communication means 7, 7' connected via the signal line 140 to issue a log collection instruction to the microprocessor 5.
マイクロフロセッサ5は、ログ採集指示を受は付けると
ディレクタ4に関する動作状態を示す情報を採取し信号
線120を介してログメモリ6にログした後、信号線1
50を介して共用メモリ8へ書き込みマイクロプロセッ
サ5′に応答スる。マイクロプロセッサ5′はマイクロ
プロセッサ5からの通信応答が返ると信号線151を介
して共用メモリに格納されたディレクタ4に関する動作
状態を示す情報を読み出しディレクタ4′に関する障害
情報と共に編集して信号線121を介してログメモリ6
′にログした後でホストプロセッサlに対して障害が発
生し正常にログされていることを報告する。この場合に
は、ディレクタ4′のログメモリ6′にログされている
障害情報をホストフロセッサ1を介して読み出し解析す
ればよい。Upon receiving the log collection instruction, the microprocessor 5 collects information indicating the operating state of the director 4 and logs it into the log memory 6 via the signal line 120, and then transfers the information to the signal line 1.
50 to the shared memory 8 and response to the microprocessor 5'. When the microprocessor 5' receives a communication response from the microprocessor 5, the microprocessor 5' reads out the information indicating the operating state of the director 4 stored in the shared memory via the signal line 151, edits it together with the fault information regarding the director 4', and sends the information to the signal line 121. Log memory through 6
After logging to ', it reports to the host processor l that a failure has occurred and that the logging is normal. In this case, the fault information logged in the log memory 6' of the director 4' may be read and analyzed via the host processor 1.
更に、共用メモリ8が障害で使用できないことをマイク
ロフロセッサ5が検出した場合にはディレクタ4に関す
る動作状態を示す情報を採取し、信号線120を介して
ログメモリ6にログした後、通信手段7,7′を介した
マイクロプロセッサ5′からの通信に応答して共用メモ
リ8の障害を検出したことをマイクロフロセッサ5′に
報告する。マイクロフロセッサ5′はマイクロプロセッ
サ5から共用メモリ8に障害が検出されたことの報告を
受けるとホストプロセッサ1に対してログが不完全のま
ま終了した旨を報告する。又、マイクロフロセッサ5′
で共用メモリ8に格納されているディレクタ4に関する
動作状態を示す情報を読み出すときに共用メモリ8の障
害を検出した場合にもホストプロセッサ1に対してログ
が不完全のまま終了した旨を報告する。この場合には、
ディレクタ4′のログメモリ6′にログされている障害
情報とディレクタ4のログメモリ4にログされてし・る
動作状態を示す情報をホストプロセッサ1を介して読み
出し解析すればよい。Further, when the microprocessor 5 detects that the shared memory 8 cannot be used due to a failure, it collects information indicating the operating state of the director 4, logs it in the log memory 6 via the signal line 120, and then sends the information to the communication means 7. , 7', the detection of a fault in the shared memory 8 is reported to the microprocessor 5'. When the microprocessor 5' receives a report from the microprocessor 5 that a fault has been detected in the shared memory 8, it reports to the host processor 1 that the log has been completed while the log is incomplete. Also, microflosser 5'
Even if a failure in the shared memory 8 is detected when reading information indicating the operating status of the director 4 stored in the shared memory 8, the host processor 1 is notified that the log has ended with incomplete logs. . In this case,
The fault information logged in the log memory 6' of the director 4' and the information indicating the operating state logged in the log memory 4 of the director 4 may be read and analyzed via the host processor 1.
以上説明したように、本発明は排他制御に関する障害を
検出したディレクタが障害を検出した時の状態をログし
た後、もう一方のディレクタに対しても通信手段を介し
てそのときの状態をログさせ、両方ディレクタにログさ
れた情報を読み出し解析することにより何故障害が発生
したのかを容易に判別できる効果がある。As explained above, the present invention allows the director that detects a fault related to exclusive control to log the state at the time of detecting the fault, and then causes the other director to log the state at that time via communication means. By reading and analyzing the information logged in both directors, it is possible to easily determine why a failure has occurred.
また、本発明は共用メモリを有し、排他制御に関する障
害を検圧したディレクタがもう一方のディレクタに対し
て通信手段を介してそのときの状態を共用メモリに書き
込ませた情報と障害を検出した時の状態とを基に編集し
てログし、障害を検出したディレクタからのみログされ
てし・る情報を読み出し解析することにより何故障害が
発生したのかを容易に判別できる効果がある。Further, the present invention has a shared memory, and a director that detects a fault related to exclusive control has the other director write the current state to the shared memory via a communication means to detect the fault and information. By editing and logging the information based on the current state, and reading and analyzing the information logged only from the director that detected the failure, it is possible to easily determine why the failure occurred.
第1図は本発明の一実施例を示すブロック図である。
1・・ホストプロセッサ、2・・・・・周辺制御装置、
3・・・デバイス、4,4′・・・・・・ディレクタ、
5゜5′・・・・・マイクロプロセッサ、6.6’・・
・・・・ログメモリ、7,7′・・・・・通信手段、8
・・・・・・共用メモリ、 100.101,110,
111,120゜121.130,131,140,1
50,151・・・・・信号線。
代理人 弁理士 内 原 晋FIG. 1 is a block diagram showing one embodiment of the present invention. 1...Host processor, 2...Peripheral control device,
3...device, 4,4'...director,
5゜5'...Microprocessor, 6.6'...
...Log memory, 7,7'...Communication means, 8
...shared memory, 100.101,110,
111,120゜121.130,131,140,1
50,151...Signal line. Agent Patent Attorney Susumu Uchihara
Claims (1)
において、障害が発生した場合に障害情報をログするロ
グメモリと、前記N台のディレクタ間で通信するための
通信手段とを有し、排他制御の関する障害を検出した場
合に障害を検出した前記ディレクタは障害情報を前記ロ
グメモリにログすると共に前記通信手段を介して他のデ
ィレクタに対してログすることを指示することを特徴と
する周辺制御装置の排他制御のログ方式。 2、排他制御に関する障害が発生した場合、前記他のデ
ィレクタの状態を示す情報を一時記憶するための共用メ
モリを有し、前記障害を検出したディレクタは障害情報
と前記共用メモリに格納された前記他のディレクタの状
態情報を読み出し編集して前記ログメモリにログするこ
とを特徴とする周辺制御装置の排他制御のログ方式。[Claims] 1. In a peripheral control device that performs exclusive control between N directors, a log memory for logging failure information when a failure occurs, and communication for communicating between the N directors. and when a fault related to exclusive control is detected, the director that detected the fault logs the fault information in the log memory and instructs other directors to log the fault information via the communication means. A logging method for exclusive control of a peripheral control device. 2. If a fault related to exclusive control occurs, the director has a shared memory for temporarily storing information indicating the state of the other director, and the director that detects the fault can retrieve the fault information and the above information stored in the shared memory. A logging method for exclusive control of a peripheral control device, characterized in that status information of other directors is read out, edited, and logged in the log memory.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2276068A JPH04149755A (en) | 1990-10-15 | 1990-10-15 | Log system for exclusive control for peripheral controller |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2276068A JPH04149755A (en) | 1990-10-15 | 1990-10-15 | Log system for exclusive control for peripheral controller |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH04149755A true JPH04149755A (en) | 1992-05-22 |
Family
ID=17564358
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2276068A Pending JPH04149755A (en) | 1990-10-15 | 1990-10-15 | Log system for exclusive control for peripheral controller |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH04149755A (en) |
-
1990
- 1990-10-15 JP JP2276068A patent/JPH04149755A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS648382B2 (en) | ||
| JPS5944660B2 (en) | Disk device control method | |
| JPH04149755A (en) | Log system for exclusive control for peripheral controller | |
| JP2978803B2 (en) | Communication error log collection method | |
| JP2626381B2 (en) | Air conditioner | |
| JP2653296B2 (en) | Logging data management system | |
| EP0393173B1 (en) | Data bus enable verification logic | |
| JPH02123631U (en) | ||
| JPH0375939A (en) | Information processing system | |
| JP2503981B2 (en) | Peripheral storage | |
| JP4131888B2 (en) | Disk array device | |
| JPH07152497A (en) | Disk control device | |
| JPS60144833A (en) | Data storage processor | |
| JPS58223860A (en) | Magnetic disk controller | |
| JP3704699B2 (en) | measuring device | |
| JPH086909A (en) | Parallel computer system | |
| JPH0434184B2 (en) | ||
| JPH0797327B2 (en) | Failure detection method | |
| JPS60180238A (en) | Two-series processing method of reception information | |
| JP2538643B2 (en) | Programmable controller | |
| JPS5818684B2 (en) | Erroneous writing prevention method for magnetic tape control device | |
| JPS581258A (en) | Error data storage system for magnetic disc device | |
| JPH02287743A (en) | Decision system for writing to defective memory | |
| JPS5990154A (en) | Magnetic disk device having damping function | |
| JPH09325900A (en) | Program execution trace device |