JPH01226048A - Error logging system - Google Patents
Error logging systemInfo
- Publication number
- JPH01226048A JPH01226048A JP63052897A JP5289788A JPH01226048A JP H01226048 A JPH01226048 A JP H01226048A JP 63052897 A JP63052897 A JP 63052897A JP 5289788 A JP5289788 A JP 5289788A JP H01226048 A JPH01226048 A JP H01226048A
- Authority
- JP
- Japan
- Prior art keywords
- area
- error
- information
- length
- record
- 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
- 238000000034 method Methods 0.000 claims description 15
- 238000010586 diagram Methods 0.000 description 8
- 239000002699 waste material Substances 0.000 description 3
- 230000010365 information processing Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000011218 segmentation Effects 0.000 description 1
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Debugging And Monitoring (AREA)
Abstract
Description
【発明の詳細な説明】
〔概 要〕
本発明は、入力したエラーログ情報を、該情報を一旦バ
ツ7アに記憶し該エラー情報のファイル書込み領域を指
定する試験用処理装置を介してエラーログファイルに格
納するエラーロギング方式該入力エラーログ情報の長官
をエラーログファイルの単位レコード長内に格納する際
の無駄をなくシ、かつ管理を容易にするエラーロギング
方式を提供することを目的とし、
前記エラーログファイルに、単位レコード長ノ複数組よ
構成る領域を単位レコード長を変化して複数領域を設け
、
前記試験用処理装置に前記エラーログ情報の長官に対し
収容可能で最も短い単位レコード長の領域の書込み可能
位置を選択する手段を設けた構成とする。[Detailed Description of the Invention] [Summary] The present invention processes input error log information by temporarily storing the information in a box and designating a file write area for the error information. Error logging method for storing input error log information in a log file The purpose of the present invention is to provide an error logging method that eliminates waste when storing input error log information within the unit record length of an error log file and facilitates management. , a plurality of areas are provided in the error log file by changing the unit record length, and the shortest unit that can be accommodated in the test processing device for the head of the error log information is provided. The configuration is provided with means for selecting a writable position in the record length area.
本発明は入力エラーログ情報を記憶しファイル書込み領
域を指定する試験用処理装置を介してエラーログファイ
ルに格納するエラーロギング方式%式%
〔従来の技術〕
第4図(→に示す従来の代表的情報処理システム01例
として、中央処理装置(CPU)10制御下に主記憶装
置(MSU)2とチャネル装置(CHU)5を有し、関
連するIlo等と接続されシステムが構成される。これ
らシステム内に障害が発生すると、障害装置からのエラ
ーログ情報を試験用処理)装置としてサービスプロセッ
サ(SVP) 4 K、 −jL格納し、ファイル書込
み領域を指定してエラーログファイル5に書込まれ、こ
れが障害解析用に供される。The present invention is an error logging method in which input error log information is stored in an error log file via a test processing device that specifies a file write area. As an example of a digital information processing system 01, the system is configured by having a main storage unit (MSU) 2 and a channel unit (CHU) 5 under the control of a central processing unit (CPU) 10, and connected to related Ilo, etc. When a failure occurs in the system, the error log information from the failed device is stored in the service processor (SVP) as a test processing device, and is written to the error log file 5 by specifying the file write area. , which is used for failure analysis.
この場合、入力するエラーログ情報には装置と障害の内
容によシレコード長が各種存在する。これらをエラーロ
グファイル5に格納する手法には次に詳述する固定長方
式と可変長方式がある。In this case, the input error log information has various record lengths depending on the device and the details of the failure. Methods for storing these in the error log file 5 include a fixed length method and a variable length method, which will be described in detail below.
第4図(6)は固定長方式、同図(C)は可変長方式の
説明図である。FIG. 4(6) is an explanatory diagram of the fixed length method, and FIG. 4(C) is an explanatory diagram of the variable length method.
同図(6)では、各種のレコード長に対し、ファイル5
の領域区分を最大レコード長の固定長としたものである
。仁の場合アクセスは簡単であるが、固定長に比しレコ
ード長が短い場合無駄な領域■が発生するという欠点が
ある。In (6) of the same figure, for various record lengths, file 5
The area segmentation is set to a fixed maximum record length. Although access is easy in the case of a record length, it has the disadvantage that if the record length is shorter than that of a fixed length, there will be wasted area (2).
同図(C)は各種のレコード長をそのまま密接して詰め
込んでゆくもので、無駄領域がない代フにアクセス管理
が複雑となるという欠点がある。すなわち、目的のレコ
ード@を読む場合、最初から順に読んでいく必要がある
。またエラーログファイルが満杯になった時、一番古い
エラーログ情報から消すが、どの情報が消されるか不明
であるし、図中の最後の領域θと最初の領域Oにレコー
ドがかかる場合には管理が複雑となる。In FIG. 3C, various record lengths are packed closely together as they are, and although there is no wasted space, access management is complicated. That is, when reading the target record @, it is necessary to read it in order from the beginning. Also, when the error log file becomes full, the oldest error log information is deleted, but it is unclear which information will be deleted, and if records overlap the last area θ and first area O in the figure, is complicated to manage.
本発明の目的は、入力エラーログ情報の長官をエラーロ
グファイルの単位レコード長内に格納する場合の無駄領
域をなくし、かつ管理を容易にするエラーロギング方式
を提供することにちる。SUMMARY OF THE INVENTION An object of the present invention is to provide an error logging method that eliminates wasted space when storing input error log information within a unit record length of an error log file and facilitates management.
前記目的を達成するため、本発明においては、入力した
エラーログ情報を、該情報を一旦バッ7アに記憶し該エ
ラー情報のファイル書込み領域を指定する試験用沈埋装
置を介して工5− aグツアイルに格納するエラーロギ
ング方式において、前記エラーログファイルに、単位レ
コード長の複数組より成る領域を単位レコード長を変化
して複数領域を設け、
前記試験用処理装置に前記エラーログ情報の長官に対し
収容可能で最も短い単位レコード長の領域の書込み可能
位置を選択する手段を設けたものである。In order to achieve the above object, in the present invention, input error log information is temporarily stored in a buffer 7 and is stored in a buffer 7 via a test sinking device that specifies a file write area for the error information. In the error logging method in which the error log information is stored in the error log file, a plurality of areas are provided in the error log file by changing the unit record length, and the error log information is stored in the test processing device as the head of the error log information. In contrast, means is provided for selecting a writable position in an area with the shortest unit record length that can be accommodated.
第1図の原理説明図に示すように、エラーログファイル
5のログ領域として、たとえば単位レコード長t1〜t
5をそれぞれ複数集めた■〜■の領域に分け、入力した
エラーログ情報の長官が固定レコード長がLlと12の
間であると■O空領域を、固定レコード長が12と13
の間であれば■の空領域を、固定レコード長が13以上
であると■の空領域を指定する。これにより無駄を少な
くし、かつアクセス時の位置管理を容易に行なうことが
できる。As shown in the principle explanatory diagram of FIG. 1, the log area of the error log file 5 has unit record lengths t1 to t
If the input error log information chief has a fixed record length between Ll and 12, the empty area will be divided into two areas.
If the fixed record length is between 13 and 13 or more, specify the empty area (■). This reduces waste and makes it easier to manage the location during access.
第2図は本発明の実施例の構成説明図である。 FIG. 2 is an explanatory diagram of the configuration of an embodiment of the present invention.
同図は、第4図(G)における試験用処理装置4とエラ
ーログファイル5に対応する具体的構成を示したもので
ある。This figure shows a specific configuration corresponding to the test processing device 4 and error log file 5 in FIG. 4(G).
すなわち、システム内の障害装置1oからのエラーログ
情報(以下エラー情報と略称する)を−旦エラー情報収
集部11に入力し、まずエラー情報収集テーブル12を
参照して障害装置の内容を識別するための目次コードが
与えられ、次段のバッファ13に送られる。ここで、工
2−情報の長官Lがカウントされエラー情報自身は一時
保持される。That is, error log information (hereinafter abbreviated as error information) from the faulty device 1o in the system is first input to the error information collection unit 11, and first, the contents of the faulty device are identified by referring to the error information collection table 12. A table of contents code is given and sent to the next stage buffer 13. Here, the 2-information manager L is counted and the error information itself is temporarily held.
このエラー情報の長官Lが書込み領域決定部14に送ら
れ、領域制御テーブル15を参照し、第1図の原理説明
図に示したように、領域■〜[株]の固定レコード長j
1〜L3の何れの間にあるかを調べ、収容可能の最も短
いレコード長tpの領域Pが指定される。その領域の内
のレコード数myと現在のレコード番号rpとの関係が
rP<Npならば、レコード番号はq=rp+1に指定
される。その結果、書込み位置レジスタ16に領域番号
pとレコード番号qが読出され、この内容をアドレスと
し、前記バッファ13に保持されたエラー情報をデータ
としてエラー情報書込み部17に送る。このエラー情報
書込み部17の内容によりエラーログファイル5のログ
領域181〜18謁をアクセスすることによシ、所定の
位置に格納される。The header L of this error information is sent to the write area determining unit 14, which refers to the area control table 15 and determines the fixed record length j of areas ■ to [stock] as shown in the principle explanatory diagram of FIG.
1 to L3 is checked, and the area P with the shortest record length tp that can be accommodated is designated. If the relationship between the number of records my in the area and the current record number rp is rP<Np, the record number is designated as q=rp+1. As a result, the area number p and record number q are read into the write position register 16, the contents are used as an address, and the error information held in the buffer 13 is sent to the error information writing section 17 as data. The contents of the error information writing section 17 are stored in a predetermined position by accessing the log areas 181 to 18 of the error log file 5.
第5図は実施例の動作を示す流れ図である。FIG. 5 is a flowchart showing the operation of the embodiment.
すなわち、第2図の構成10〜13に従い障害発生によ
るエラー情報の収集と、工2−情報の長官の設定が行な
われ、次に第2図の構成14〜16に従いエラー情報の
長官Lおよび書込み領域pを決定する。すなわち、図に
区分して記載しであるように一般表現として、is<L
≦Ls−sO時領域3− l Mpに指定する。その領
域pの現在のレコード番号rpt−調べ、前述のように
、rp<愼pならばq冨rp+1、デp g mpなら
ば、次の領域のq=1 として書込み位置を決定し、そ
の位置に従いエフ−ログファイル5のログ領域181〜
18sに書込む。また領域制御テーブル15の現在レコ
ード番号rPをq−rp+1に更新する。That is, according to configurations 10 to 13 in FIG. 2, error information due to the occurrence of a failure is collected and the information manager is set in Step 2, and then the error information director L and writing are performed according to configurations 14 to 16 in FIG. Determine region p. In other words, as a general expression as shown in the diagram, is<L
When ≦Ls-sO, specify region 3-l Mp. Check the current record number rpt of that area p, and as mentioned above, if rp < 愼p, then q=rp+1, and if dep g mp, then determine the write position as q=1 of the next area, and set that position. According to log area 181 of F-log file 5
Write to 18s. Also, the current record number rP of the area control table 15 is updated to q-rp+1.
以上説明したように1本発明によれば、エラーログ情報
の長官Lに応じ【、ファイルの各領域の固定レコード長
11〜imが無駄領域が最も少ないように指定され、そ
の領域内で現在のレコード番号の次に指定されるからそ
の位置の管理が容易に行なわれる。従つ【従来の固定長
方式における無駄な領域の発生を極力減少し、かつ従来
の可変長方式における格納位置や消去分に対する管理の
困難性を完全に解消することができ、エラーログ情報の
解析、管理業務の効率化に資するところが極めて大きい
。As explained above, according to the present invention, the fixed record length 11 to im of each area of the file is specified so that the waste area is the least, depending on the error log information chief L, and the current Since it is specified after the record number, its position can be easily managed. Therefore, [it is possible to minimize the occurrence of wasted areas in the conventional fixed length method, and completely eliminate the difficulty in managing storage locations and erased portions in the conventional variable length method, and to analyze error log information. , it greatly contributes to improving the efficiency of management operations.
第1図は本発明の原理説明図、第2図は本発明の実施例
の構成説明図、第3図は実施例の動作を示す流れ図、第
4図(α> 、 (6)は従来例の説明図でらシ、図中
、4は試験用処理装置(サービスプロセッサ)、5はエ
ラーログファイル、10は障害装置、11はエラー情報
収集部、12はエラー情報収集テーブル、13はバッフ
ァ、14は書込み領域決定部、15は領域制御テーブル
、16は書込み位置レジスタ、17はエラー情報書込み
部、181〜185はファイルログ領域を示す。Fig. 1 is an explanatory diagram of the principle of the present invention, Fig. 2 is an explanatory diagram of the configuration of an embodiment of the invention, Fig. 3 is a flowchart showing the operation of the embodiment, and Fig. 4 (α>, (6) is a conventional example). In the figure, 4 is a test processing device (service processor), 5 is an error log file, 10 is a failed device, 11 is an error information collection unit, 12 is an error information collection table, 13 is a buffer, 14 is a write area determination section, 15 is an area control table, 16 is a write position register, 17 is an error information write section, and 181 to 185 are file log areas.
Claims (1)
憶し該エラー情報のファイル書込み領域を指定する試験
用処理装置を介してエラーログファイルに格納するエラ
ーロギング方式において、前記エラーログファイルに、
単位レコード長の複数組より成る領域を単位レコード長
を変化して複数領域を設け、 前記試験用処理装置に前記エラーログ情報の長官に対し
収容可能で最も短い単位レコード長の領域の書込み可能
位置を選択する手段を設け、該選択された領域の位置に
入力エラーログ情報を格納するようにしたことを特徴と
するエラーロギング方式。[Scope of Claims] In the error logging method, the input error log information is stored in an error log file via a test processing device that temporarily stores the information in a buffer and specifies a file write area for the error information. In the error log file,
A plurality of areas are provided by changing the unit record length to form an area consisting of a plurality of sets of unit record lengths, and a writable position of the area of the shortest unit record length that can be accommodated in the test processing device for the error log information chief. 1. An error logging method, comprising means for selecting an area, and input error log information is stored in the selected area.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63052897A JPH01226048A (en) | 1988-03-07 | 1988-03-07 | Error logging system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63052897A JPH01226048A (en) | 1988-03-07 | 1988-03-07 | Error logging system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH01226048A true JPH01226048A (en) | 1989-09-08 |
Family
ID=12927650
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP63052897A Pending JPH01226048A (en) | 1988-03-07 | 1988-03-07 | Error logging system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH01226048A (en) |
-
1988
- 1988-03-07 JP JP63052897A patent/JPH01226048A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5274807A (en) | Method for reducing magnetic storage volume for computer disk image backup | |
EP0487331A2 (en) | Directory management system | |
JPH0277949A (en) | File producing method | |
JPH01226048A (en) | Error logging system | |
US5630115A (en) | Method of rewriting information on a record medium by rewriting only changed portions | |
JP3061385B2 (en) | Data management device and data management method | |
JPS6359618A (en) | Semiconductor ram control system | |
JPH0644118A (en) | File backup system | |
JPH02151944A (en) | Data processor | |
JPH01255028A (en) | Method for making access to external storage device | |
JPH0652019A (en) | File controller | |
JPH09293007A (en) | Program install device | |
JPH07200378A (en) | Library file management equipment | |
JPH04156626A (en) | File entry generating system for vtoc | |
JPS5987572A (en) | Controlling system of disk storage device | |
JPH1186512A (en) | Data rewriting method for optical disk | |
JPH06348572A (en) | Multi-mechanism disk system | |
KR920009721B1 (en) | Method for processing log file | |
JPS63291145A (en) | Method for managing file | |
JPS619721A (en) | Sector control system of magnetic disk device | |
JPS62177642A (en) | File management system for postscript filing device | |
JPS63285787A (en) | Information recording card system | |
JPH10198525A (en) | Method for outputting data of external storage device | |
JPS62118453A (en) | File controller | |
JPH05210467A (en) | Method for copying to plural floppy disks |