JPH0944380A - Module management device - Google Patents

Module management device

Info

Publication number
JPH0944380A
JPH0944380A JP7191877A JP19187795A JPH0944380A JP H0944380 A JPH0944380 A JP H0944380A JP 7191877 A JP7191877 A JP 7191877A JP 19187795 A JP19187795 A JP 19187795A JP H0944380 A JPH0944380 A JP H0944380A
Authority
JP
Japan
Prior art keywords
module
log
log file
unit
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
Application number
JP7191877A
Other languages
Japanese (ja)
Inventor
Makoto Miyagishi
誠 宮岸
Kazuki Kamimura
一樹 神村
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP7191877A priority Critical patent/JPH0944380A/en
Publication of JPH0944380A publication Critical patent/JPH0944380A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To quickly collect and process the log data in a device including plural modules which generate log data respectively. SOLUTION: Log file information including storage destination information in a storage means 10 of log files where log data are stored is set to a storage means 20. Based on information set to this storage means 20, modules 41 to 43 individually write the log data in corresponding log files in the storage means 10 independently of one another by write means 41a to 43a. In response to a read request from a user, a read means 50 acquires storage destination information corresponding to the requested module from the storage means 20 and reads out log data from the log file where the write means of this module writes log data.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はログデータの収集管理に
関し、特にログデータにより複数のモジュールを管理す
るモジュール管理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to log data collection management, and more particularly to a module management device for managing a plurality of modules by log data.

【0002】[0002]

【従来の技術】ファイリングサーバなどの複数のモジュ
ールを含む装置において、これらモジュールからのログ
データの管理およびこのログデータに基づくモジュール
の管理を行うモジュール管理装置では、多量のログデー
タを高速に処理することが要請される。このような、モ
ジュール管理装置の例として、特公平3−53655号
公報に開示されたロギング・データ収集制御装置があ
る。
2. Description of the Related Art In a device including a plurality of modules such as a filing server, a module management device that manages log data from these modules and a module based on the log data processes a large amount of log data at high speed. Is required. As an example of such a module management device, there is a logging / data collection control device disclosed in Japanese Patent Publication No. 3-53655.

【0003】このロギング・データ収集制御装置では、
複数のプログラムがログファイルにロギング・データを
高速に書き込むために、ロギング・バッファを設け、ロ
ギング・データを一度待ち行列スタックに格納し、待ち
行列スタックにスタックされた順序に従ってロギング・
データをログファイルに書き込んでいる。また、ログフ
ァイルは1個の共用ファイルとして構成されている。
In this logging / data collection control device,
In order for multiple programs to write the logging data to the log file at high speed, a logging buffer is provided, the logging data is stored once in the queue stack, and the logging data is stored according to the stacking order in the queue stack.
Writing data to log file. Also, the log file is configured as one shared file.

【0004】一方、ファイリングサーバなどでは、ファ
イリングサーバなどに不具合が発生したときに、オペレ
ータが介入して処理している。しかし、オペレータが処
理するとなると十分な経験を有するオペレータが必要と
なり、また個々のオペレータの能力などに差があり十分
な信頼性が得られない。このような問題を解決する例と
して、特開平6−149623号公報に示す情報処理装
置の運用管理システムがある。この例では、オペレータ
の経験則を処理条件ファイルおよび知識ベースファイル
として用いて、情報処理装置の運用管理状態に関する情
報を採取して、その情報を基に運用管理を行っている。
On the other hand, in a filing server or the like, when a failure occurs in the filing server or the like, an operator intervenes to perform processing. However, when the operator processes, an operator who has sufficient experience is required, and there is a difference in the ability of each operator, and sufficient reliability cannot be obtained. As an example of solving such a problem, there is an operation management system of an information processing apparatus disclosed in Japanese Patent Laid-Open No. 6-149623. In this example, an operator's empirical rule is used as a processing condition file and a knowledge base file to collect information regarding the operational management state of the information processing apparatus, and operational management is performed based on that information.

【0005】[0005]

【発明が解決しようとする課題】しかし、特公平3−5
3655号公報に開示されたロギング・データ収集制御
装置では、ロギング・バッファからログファイルにロギ
ング・データを書き込むときはシリアルにロギング・デ
ータをログファイルに書き込むために、多大な書き込み
時間を必要とし、しかも高速にロギング・データを書き
込むことが困難である。
[Problems to be Solved by the Invention] However, Japanese Patent Publication No. 3-5
In the logging data collection control device disclosed in Japanese Patent No. 3655, when writing the logging data from the logging buffer to the log file, the logging data is serially written to the log file, which requires a large writing time. Moreover, it is difficult to write logging data at high speed.

【0006】また、ログファイルは共用ファイルとして
構成されているので、クライアントがロギング・データ
を取得する場合は、すべてのログデータを取得して、そ
の中から必要なロギング・データを取得する必要があ
り、処理および取得に多大な時間を必要とする。
Further, since the log file is configured as a shared file, when the client acquires the logging data, it is necessary to acquire all the log data and acquire the necessary logging data from it. Yes, it takes a lot of time for processing and acquisition.

【0007】一方、上記の特開平6−149623号公
報に示す情報処理装置の運用管理システムでは、処理条
件ファイルおよび知識ベースファイルなどを使用するの
で、構成が複雑であり、モジュール管理装置などにはそ
のまま適用することは困難である。
On the other hand, the operation management system of the information processing apparatus disclosed in the above-mentioned Japanese Patent Laid-Open No. 6-149623 uses a processing condition file and a knowledge base file, so that the configuration is complicated, and the module management apparatus and the like have a complicated structure. It is difficult to apply as it is.

【0008】本発明は上記の点に鑑みなされたものであ
り、それぞれログデータを発生する複数のモジュールを
含む装置にて、高速にログデータを収集および処理でき
るモジュール管理装置を提供することを目的とする。
The present invention has been made in view of the above points, and an object thereof is to provide a module management device capable of collecting and processing log data at high speed in a device including a plurality of modules each generating log data. And

【0009】また、本発明の他の目的は必要なログファ
イルから必要なログデータを短時間で収集できるモジュ
ール管理装置を提供することである。本発明のさらに他
の目的はログデータに基づいてモジュールを管理するこ
とができるモジュール管理装置を提供することである。
Another object of the present invention is to provide a module management device which can collect necessary log data from a necessary log file in a short time. Still another object of the present invention is to provide a module management device capable of managing a module based on log data.

【0010】[0010]

【課題を解決するための手段】図1は上記目的を達成す
る本発明の原理構成図である。上記課題を解決するため
に、第1の発明の複数のモジュールを含む装置のモジュ
ール管理装置では、複数のログファイル11〜16を格
納する格納手段10と、複数のモジュール41〜43に
対応してログデータが個別に格納されるログファイル1
1〜16の格納手段10における格納先情報を含むログ
ファイル情報を記憶する記憶手段20と、この記憶手段
にログファイル情報を設定する設定手段30と、複数の
モジュール41〜43に対応して設けられ、それぞれ割
り当てられたモジュールのログデータを設定手段30で
設定されたログファイル情報の格納先情報が示すログフ
ァイルに独立して書き込む複数の書込手段41a〜43
aとを有している。
FIG. 1 is a block diagram showing the principle of the present invention for achieving the above object. In order to solve the above problems, in a module management device of a device including a plurality of modules according to the first aspect of the invention, a storage unit 10 that stores a plurality of log files 11 to 16 and a plurality of modules 41 to 43 are provided. Log file 1 in which log data is stored individually
Storage means 20 for storing log file information including storage destination information in the storage means 10 of 1 to 16, setting means 30 for setting log file information in this storage means, and corresponding to a plurality of modules 41 to 43 A plurality of writing means 41a to 43 for independently writing the log data of the respectively assigned modules to the log file indicated by the storage destination information of the log file information set by the setting means 30.
a and.

【0011】また、第2の発明では、前記複数のモジュ
ールがそれぞれ独立して動作するプロセスであり、か
つ、対応する同一のプロセスで前記複数の書込手段が実
現されるものであり、読み出し要求に応じて、要求され
たモジュール41〜43に対応する格納先情報を記憶手
段20から取得し、格納手段10に対し取得した格納先
情報に対応するログファイルのログデータを読み出す読
出手段50をさらに有している。
According to the second aspect of the invention, the plurality of modules are processes that operate independently of each other, and the plurality of writing means are realized by the same corresponding process, and the read request is made. In response to the request, the storage unit information corresponding to the requested modules 41 to 43 is acquired from the storage unit 20, and the reading unit 50 for reading the log data of the log file corresponding to the acquired storage destination information is further read from the storage unit 10. Have

【0012】図7は第3の発明の原理構成図である。複
数のモジュールをこれらのログデータに基づいて管理す
る図示のモジュール管理装置では、複数のログファイル
を格納する格納手段100と、複数のモジュール131
〜133に対応してログデータが個別に格納されるログ
ファイルの格納手段100における格納先情報を含むロ
グファイル情報を記憶する記憶手段110と、この記憶
手段110にログファイル情報を設定する設定手段12
0と、複数のモジュール131〜133に対応して設け
られ、それぞれ割り当てられたモジュールのログデータ
を設定手段120で設定されたログファイル情報の格納
先情報が示すログファイルに独立して書き込む複数の書
込手段131a〜133aと、格納手段100内のログ
ファイルの内容を監視して特定の条件情報を検出する監
視手段140と、複数のモジュール131〜133に対
応して条件情報に対応する処理内容を記憶する処理条件
記憶手段160と、この処理条件記憶手段160を参照
して監視手段140で検出された条件情報に対応した処
理内容を当該処理内容が示すモジュールに対して実行す
る処理手段150とを有している。
FIG. 7 is a block diagram showing the principle of the third invention. In the illustrated module management device that manages a plurality of modules based on these log data, a storage unit 100 that stores a plurality of log files and a plurality of modules 131.
Storage means 110 for storing log file information including storage destination information in the storage means 100 for the log files in which log data is individually stored corresponding to Nos. To 133, and setting means for setting the log file information in the storage means 110. 12
0 and a plurality of modules that are provided corresponding to the plurality of modules 131 to 133 and independently write the log data of the respectively assigned modules to the log file indicated by the storage destination information of the log file information set by the setting unit 120. Writing means 131a to 133a, a monitoring means 140 that monitors the content of the log file in the storage means 100 to detect specific condition information, and a processing content corresponding to the condition information corresponding to the plurality of modules 131 to 133. And a processing condition storage unit 160 that stores the following, and a processing unit 150 that refers to the processing condition storage unit 160 and executes the processing content corresponding to the condition information detected by the monitoring unit 140 to the module indicated by the processing content. have.

【0013】[0013]

【作用】第1の発明のモジュール管理装置によれば、設
定手段30はユーザからの指定に従って、ログファイル
情報を記憶手段20に設定する。ログファイル情報に
は、ログデータを管理するモジュールのモジュール名、
格納すべきログファイル名、および格納手段10におけ
るログファイルの格納先情報が含まれる。各モジュール
41〜43は、記憶手段20にあらかじめ設定されたロ
グファイル情報に従って、たとえばモジュール41がロ
グファイル11および12を管理するというように、ロ
グファイルをモジュール毎にグループ化して管理し、ロ
グデータを書込手段41a〜43aによって対応するロ
グファイルに独立して書き込む。モジュール41〜43
は独立してログデータをログファイルに書き込むので並
列的な処理が可能になり、高速にログデータの書き込み
が可能になる。
According to the module management apparatus of the first invention, the setting means 30 sets the log file information in the storage means 20 according to the designation from the user. In the log file information, the module name of the module that manages the log data,
The log file name to be stored and the storage destination information of the log file in the storage unit 10 are included. Each of the modules 41 to 43 manages the log files by grouping them according to the log file information preset in the storage means 20, for example, the module 41 manages the log files 11 and 12, and manages the log data. Are independently written in the corresponding log files by the writing means 41a to 43a. Modules 41-43
Log data is written independently to the log file, so parallel processing is possible and log data can be written at high speed.

【0014】第2の発明のモジュール管理装置では、さ
らに、読出手段50が格納手段10からログデータを読
み出すとき、格納手段10のログファイル11〜16は
モジュール毎に管理されているので、モジュール単位で
ログデータの取得が可能になる。
In the module management device of the second invention, when the reading means 50 reads the log data from the storage means 10, the log files 11 to 16 of the storage means 10 are managed for each module. Log data can be acquired with.

【0015】第3の発明のモジュール管理装置によれ
ば、記憶手段110にはログデータを管理するモジュー
ルのモジュール名、格納すべきログファイル名、および
ログファイル格納手段100におけるログファイルの格
納先情報が含まれているログファイル情報が設定されて
いる。各モジュール131,132,133はそれぞれ
書込手段131a,132a,133aを有し、記憶手
段110に設定されているログファイル情報に従って対
応するログファイルにログデータを書き込むようにして
いる。あるモジュールが自分のログファイルに、自モジ
ュールを含む他のモジュールに対して何らかの処理を実
行させるような条件情報をログデータとして書き込んだ
とすると、監視手段140は格納手段100の各ログフ
ァイル101〜106の内容を監視していることによっ
てその最新の条件情報を書き込んだログファイルを検出
する。このとき、監視手段140は記憶手段110に設
定されているログファイル情報からそのログファイルを
管理しているモジュールを調べる。処理手段150は処
理条件記憶手段160を参照して、条件情報に対応する
処理条件を調べ、該当するモジュールに対してそれぞれ
の実行を指示する。
According to the module management apparatus of the third invention, the storage means 110 stores the module name of the module for managing the log data, the log file name to be stored, and the storage location information of the log file in the log file storage means 100. The log file information that includes is set. Each of the modules 131, 132, 133 has writing means 131a, 132a, 133a, respectively, and writes log data in the corresponding log file according to the log file information set in the storage means 110. If a module writes, in its log file, condition information that causes other modules including its own module to perform some processing as log data, the monitoring unit 140 stores the log files 101 to 106 in the storage unit 100. By monitoring the contents, the log file in which the latest condition information is written is detected. At this time, the monitoring unit 140 checks the module managing the log file from the log file information set in the storage unit 110. The processing unit 150 refers to the processing condition storage unit 160, checks the processing condition corresponding to the condition information, and instructs the corresponding module to execute each.

【0016】[0016]

【実施例】まず、本発明の概略について図面を参照して
説明する。図1は本発明によるモジュール管理装置の原
理構成を示すブロック図である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS First, the outline of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing the principle configuration of a module management device according to the present invention.

【0017】本発明のモジュール管理装置は、モジュー
ル41〜43のログデータが書き込まれる複数のログフ
ァイル11〜16を格納する格納手段10と、モジュー
ルのログデータがどのログファイルに書き込まれるかの
対応関係を管理している記憶手段20と、その対応関係
をあらかじめ設定しておく設定手段30と、モジュール
41〜43のログデータをあらかじめ設定された対応関
係にあるログファイルに書き込みする書込手段41a〜
43aと、ユーザが指定したモジュールに関するログデ
ータのみを読み出す読出手段50とから構成されてい
る。ここで、記憶手段20、設定手段30および読出手
段50を含む管理モジュール40は、各モジュール41
〜43を管理するメインのモジュールを構成している。
The module management device of the present invention corresponds to the storage means 10 for storing a plurality of log files 11 to 16 in which the log data of the modules 41 to 43 are written and to which log file the log data of the module is written. A storage unit 20 that manages the relationship, a setting unit 30 that sets the corresponding relationship in advance, and a writing unit 41a that writes the log data of the modules 41 to 43 to a log file that has the preset corresponding relationship. ~
43a, and a reading means 50 for reading only log data relating to the module designated by the user. Here, the management module 40 including the storage unit 20, the setting unit 30, and the reading unit 50 includes each module 41.
It constitutes the main module for managing ~ 43.

【0018】上記構成において、設定手段30はユーザ
からの指定に従って、ログファイル情報を記憶手段20
に設定する。ログファイル情報には、ログデータを管理
するモジュールのモジュール名、ログデータを格納すべ
きログファイルのログファイル名、およびそのログファ
イルが格納手段10の、たとえばどのディレクトリにあ
るかを示すログファイルの格納先情報が含まれる。各モ
ジュール41〜43は、それぞれログデータを格納する
ときに、記憶手段20に設定されたログファイル情報を
参照し、この情報に従って、書込手段41a〜43aに
より所定のログファイルにログデータを書き込む。各モ
ジュール41,42,43はそれぞれが管理しているロ
グファイルに独立してログデータを並列に書き込むの
で、高速にログデータの書き込みが可能になる。
In the above arrangement, the setting means 30 stores the log file information in accordance with the designation from the user.
Set to. The log file information includes the module name of the module that manages the log data, the log file name of the log file that should store the log data, and the log file indicating which directory of the storage means 10 the log file is in, for example. Contains storage location information. When storing the log data, each of the modules 41 to 43 refers to the log file information set in the storage unit 20, and writes the log data in a predetermined log file by the writing units 41a to 43a according to this information. . Since each module 41, 42, 43 independently writes log data in parallel to the log file managed by each module, the log data can be written at high speed.

【0019】また、ログデータを読み出すときには、読
出手段50がユーザによって指定されたモジュール名か
らそのモジュールが管理しているログファイルの格納先
情報を記憶手段20から取得し、その格納先情報でログ
ファイルをアクセスしてログデータを読み出す。
Further, when reading the log data, the reading means 50 obtains the storage destination information of the log file managed by the module from the storage means 20 from the module name designated by the user, and the log is stored with the storage destination information. Access the file and read the log data.

【0020】図2は本発明のモジュール管理装置の具体
的な構成例を示すブロック図である。この図において、
モジュール管理装置はたとえばファイリングサーバシス
テム、プリントサーバシステムなどに適用することがで
き、ここではファイリングサーバシステム60に適用し
た例を示す。ファイリングサーバシステム60には、ユ
ーザが各種設定をしたりログデータの読み出しを指示す
るユーザ操作部80が接続されている。
FIG. 2 is a block diagram showing a concrete configuration example of the module management device of the present invention. In this figure,
The module management device can be applied to, for example, a filing server system, a print server system, etc. Here, an example of application to the filing server system 60 is shown. The filing server system 60 is connected to a user operation unit 80 that allows the user to make various settings and instruct reading of log data.

【0021】ユーザ操作部80はサーバ・クライアント
モデルのクライアントに該当するもので、これからの各
種処理の受け付けを行うユーザインタフェース制御部6
1に接続される。ユーザインタフェース制御部61はモ
ジュール管理部62を介してモジュール管理情報記憶部
63および起動部64に接続され、モジュール管理情報
記憶部63および起動部64は複数の機能モジュール6
5a,65b,・・・,65nに接続されている。これ
らの機能モジュール65a,65b,・・・,65nは
それぞれログデータを書き込む書込部66a,66b,
・・・,66nを有し、そのログデータを書き込むよう
記憶媒体70に接続されている。また、ユーザインタフ
ェース制御部61およびモジュール管理情報記憶部63
にはログ管理部67が接続され、このログ管理部67は
ログデータを読み出すよう記憶媒体70に接続されてい
る。ユーザインタフェース制御61、モジュール管理部
62、モジュール管理情報記憶部63、起動部64、及
びログ管理部67を含む管理モジュール65は、各機能
モジュール65a,65b,・・・,65nを管理する
メインのモジュールを構成している。
The user operation unit 80 corresponds to a client of the server / client model, and the user interface control unit 6 that accepts various processes from now on.
Connected to 1. The user interface control unit 61 is connected to the module management information storage unit 63 and the activation unit 64 via the module management unit 62, and the module management information storage unit 63 and the activation unit 64 include a plurality of functional modules 6.
5a, 65b, ..., 65n. The functional modules 65a, 65b, ..., 65n are respectively write units 66a, 66b, for writing log data.
, 66n, and is connected to the storage medium 70 to write the log data. Also, the user interface control unit 61 and the module management information storage unit 63.
Is connected to a log management unit 67, and the log management unit 67 is connected to the storage medium 70 so as to read log data. The management module 65 including the user interface control 61, the module management unit 62, the module management information storage unit 63, the activation unit 64, and the log management unit 67 is a main module that manages each functional module 65a, 65b ,. Make up the module.

【0022】ユーザインタフェース制御部61はユーザ
操作部80からの要求に従ってログファイル情報の設定
またはログデータの取得制御を行うもので、ログファイ
ル情報の設定はモジュール管理部62を介してモジュー
ル管理情報記憶部63に対して行い、ログデータの取得
はログ管理部67に対して行う。起動部64はシステム
起動時に各機能モジュール65a,65b,・・・,6
5nをプロセス起動する。モジュール管理部62はモジ
ュール管理情報記憶部63のデータをユーザインタフェ
ース制御部61にまたは各機能モジュール65a,65
b,・・・,65nにモジュール情報の受け渡しを行
う。各機能モジュール65a,65b,・・・,65n
はモジュール管理情報記憶部63から自分の格納先のロ
グファイル情報を取得したり、書込部66a,66b,
・・・,66nによってログデータを記憶媒体70のロ
グファイル71,72,73,74,75,76に対し
オペレーション・システムライブラリにて各プロセス毎
にファイルを書き込みする。そして、ログ管理部67は
ユーザ操作部80からのログデータ取得要求により、指
定された機能モジュール65a,65b,・・・,65
nに対応したログデータを記憶媒体70から取得する。
The user interface control unit 61 sets log file information or controls acquisition of log data in accordance with a request from the user operation unit 80. The setting of log file information is stored in the module management information via the module management unit 62. The log management unit 67 acquires the log data. The activation unit 64 is configured to activate the functional modules 65a, 65b, ..., 6 when the system is activated.
Process 5n is activated. The module management unit 62 transfers the data of the module management information storage unit 63 to the user interface control unit 61 or each functional module 65a, 65.
The module information is passed to b, ..., 65n. Each functional module 65a, 65b, ..., 65n
Acquires the log file information of its own storage destination from the module management information storage unit 63, and writes in the write units 66a, 66b,
The log data is written to the log files 71, 72, 73, 74, 75, 76 of the storage medium 70 by the operation system library for each process by 66n. Then, the log management unit 67 responds to the log data acquisition request from the user operation unit 80 to specify the designated functional modules 65a, 65b, ..., 65.
The log data corresponding to n is acquired from the storage medium 70.

【0023】図3はログファイル情報のデータ構造の例
を示す図である。図示のように、ログファイル情報90
は、ログデータを管理するモジュールのモジュール名9
0aと、ログデータを格納すべきログファイルのログフ
ァイル名90bと、そのログファイルがログファイル格
納手段10のどこに格納されているかのパス名を示すロ
グファイルの格納先ディレクトリ90cとから構成され
ている。
FIG. 3 is a diagram showing an example of the data structure of the log file information. As shown, log file information 90
Is the module name 9 of the module that manages the log data.
0a, a log file name 90b of the log file in which the log data should be stored, and a log file storage destination directory 90c indicating a path name of where the log file is stored in the log file storage means 10. There is.

【0024】このログファイル情報90は各機能モジュ
ール65a,65b,・・・,65nがロギング・デー
タを記憶媒体70のどのログファイル71〜76に登録
するかを知るためのもので、あらかじめユーザ操作部8
0からユーザインタフェース制御部61に対しログファ
イル情報90の設定要求を行い、一旦それらのログファ
イル情報90をモジュール管理部62を介してモジュー
ル管理情報記憶部63に設定登録される。これにより、
ログファイル71〜76はモジュール単位で管理され、
たとえばログファイル71,72はグループ化されて機
能モジュール65aに、ログファイル73,74,75
もグループ化されて機能モジュール65bに、そしてロ
グファイル76は機能モジュール65cによって管理さ
れる。
The log file information 90 is for knowing which log file 71 to 76 of the storage medium 70 each functional module 65a, 65b, ... Part 8
A request for setting the log file information 90 is made from 0 to the user interface control unit 61, and the log file information 90 is temporarily set and registered in the module management information storage unit 63 via the module management unit 62. This allows
The log files 71 to 76 are managed in module units,
For example, the log files 71, 72 are grouped into a functional module 65a, and the log files 73, 74, 75
Are also grouped into a functional module 65b and the log file 76 is managed by a functional module 65c.

【0025】図4はログファイル情報の設定処理の内容
を示すフローチャートである。ユーザインタフェース制
御部61はユーザ操作部80からログファイル情報設定
要求を受けると、モジュール管理部62を通じてモジュ
ール管理情報記憶部63にユーザから指定された機能モ
ジュールに対してログファイルの格納先情報を登録する
(ステップS1)。ここで、登録が正常に行われたかど
うかをチェックし(ステップS2)、登録が正常に行わ
れると、指定された機能モジュールの起動を行い(ステ
ップS3)、処理を終了する。ステップS2の判断にお
いて、登録が正常に行われなければ、指定された機能モ
ジュールを起動せずに終了する。
FIG. 4 is a flowchart showing the contents of the log file information setting process. Upon receiving the log file information setting request from the user operation unit 80, the user interface control unit 61 registers the log file storage destination information in the module management information storage unit 63 through the module management unit 62 for the functional module designated by the user. Yes (step S1). Here, it is checked whether or not the registration is normally performed (step S2), and if the registration is normally performed, the designated functional module is activated (step S3), and the process ends. If the registration is not normally performed in the determination in step S2, the designated function module is not started and the process ends.

【0026】図5はログデータの書き込み処理の内容を
示すフローチャートである。システム稼働中にて各機能
モジュール65a,65b,・・・,65nがログデー
タの書き込み処理を行う場合には、まず、各機能モジュ
ール65a,65b,・・・,65nはモジュール管理
情報記憶部63から自分の機能モジュールに対応した格
納先ログファイル情報を取得する(ステップS11)。
取得した格納先ログファイル情報から記憶媒体70の該
当するログファイルをオープンし(ステップS12)、
オープンしたログファイルにログデータを書き込み(ス
テップS13)、書き込みを終了すると、該当するログ
ファイルをクローズする(ステップS14)。各機能モ
ジュール65a,65b,・・・,65nは個々に独立
して、格納先ログファイルに対しオペレーション・シス
テムライブラリにてファイルへの読み書きを行うことが
でき、したがって、機能モジュール65a,65b,・
・・,65nはログデータの書き込み処理を並行して同
時に行うことができる。
FIG. 5 is a flowchart showing the contents of the log data writing process. When the functional modules 65a, 65b, ..., 65n perform log data write processing during system operation, first, the functional modules 65a, 65b ,. The storage destination log file information corresponding to the function module of its own is acquired from (step S11).
The corresponding log file of the storage medium 70 is opened from the acquired storage destination log file information (step S12),
The log data is written to the opened log file (step S13), and when the writing is completed, the corresponding log file is closed (step S14). Each of the functional modules 65a, 65b, ..., 65n can independently read / write the storage destination log file from / to the file by the operation system library. Therefore, the functional modules 65a, 65b ,.
.., 65n can perform log data write processing concurrently in parallel.

【0027】図6はログデータの読み出し処理の内容を
示すフローチャートである。ユーザ操作部80から各機
能モジュール65a,65b,・・・,65nのログデ
ータを取得したい場合は、ユーザインタフェース制御部
61に対しログデータの取得要求を行う。その時、取得
したい機能モジュールのモジュール名が指定される。ユ
ーザインタフェース制御部61はユーザから指定された
モジュール名をログ管理部67に渡し、ログ管理部67
ではモジュール管理情報記憶部63から指定されたモジ
ュール名に該当するログファイルの格納先情報、すなわ
ち、格納先ディレクトリを検索して取得する(ステップ
S21)。次に、格納先ログファイル情報から該当する
ファイルに対しオペレーション・システムライブラリに
てファイルオープンを行い(ステップS22)、該当す
るファイルにログデータがあるかどうかを判断する(ス
テップS23)。オープンしたログファイルにログデー
タがあれば、そのログファイルからログデータを読み込
み(ステップS24)、読み込んだログデータをユーザ
操作部80に転送する(ステップS25)。そして、該
当するログファイルのクローズを行う(ステップS2
6)。また、ステップS23の判断において、該当する
ファイルにログデータがなければ、ステップS26に進
み、直ぐに該当するログファイルのクローズを行う。
FIG. 6 is a flowchart showing the contents of the log data reading process. When it is desired to acquire the log data of each functional module 65a, 65b, ..., 65n from the user operation unit 80, the user interface control unit 61 is requested to acquire the log data. At that time, the module name of the functional module to be acquired is specified. The user interface control unit 61 passes the module name designated by the user to the log management unit 67, and the log management unit 67
Then, the storage location information of the log file corresponding to the specified module name, that is, the storage location directory is searched and acquired from the module management information storage unit 63 (step S21). Next, from the storage destination log file information, a file is opened in the operation system library for the corresponding file (step S22), and it is determined whether or not there is log data in the corresponding file (step S23). If there is log data in the opened log file, the log data is read from the log file (step S24), and the read log data is transferred to the user operation unit 80 (step S25). Then, the corresponding log file is closed (step S2
6). If there is no log data in the corresponding file in the determination of step S23, the process proceeds to step S26 and the corresponding log file is immediately closed.

【0028】本実施例では、各機能モジュール65a,
65b,・・・,65nはすべて独立プロセスにて動作
しているため、個々にログファイルにログデータを効率
的に書き込むことができる。また、ユーザがログデータ
を取得する場合でも、ログファイルはモジュール単位で
管理されているため、内部処理も各機能モジュール毎に
ログデータを取得することができ、ログデータの取得を
効率的に行うことができる。
In this embodiment, each functional module 65a,
Since 65b, ..., 65n are all operated by independent processes, log data can be efficiently written individually to the log file. Even when the user acquires log data, the log file is managed in module units, so internal processing can also acquire log data for each functional module, and log data can be acquired efficiently. be able to.

【0029】次に、別の発明によるモジュール管理装置
の概略について説明する。図7は本発明による別のモジ
ュール管理装置の原理構成を示すブロック図である。
Next, an outline of a module management device according to another invention will be described. FIG. 7 is a block diagram showing the basic configuration of another module management device according to the present invention.

【0030】本発明のモジュール管理装置は、ログデー
タが書き込まれる複数のログファイル101〜106を
格納する格納手段100と、ログデータがこの格納手段
100に格納されているどのログファイルに書き込むか
の対応関係の情報を記憶している記憶手段110と、そ
の対応関係をあらかじめ設定しておく設定手段120
と、モジュール131,132,133におけるログデ
ータをあらかじめ設定された対応関係にあるログファイ
ルに書き込みする書込手段131a,132a,133
aと、格納手段100に格納されているログファイル1
01〜106の内容を監視し、自モジュールを含む他の
モジュールに対して何らかの処理を実行させるような条
件情報を表すログデータを検出したときに、記憶手段1
10に設定されているログファイル情報からその条件情
報が書き込まれたログファイルを使用しているモジュー
ルを調べる監視手段140と、条件情報に応じて調べら
れたモジュールのその条件に対応した処理を実行する処
理手段150と、条件情報に対応する処理条件を各モジ
ュール毎に規定し、処理手段150が条件情報に対応し
た処理を実行するときにその条件情報に対応した当該モ
ジュールの処理を参照する処理条件記憶手段160とを
有する。ここで、記憶手段110、設定手段120、監
視手段140、処理手段150および処理条件記憶手段
160を含む管理モジュール130は、ログデータによ
り、各モジュール131,132,133を管理するメ
インのモジュールである。
The module management device of the present invention stores the storage means 100 for storing a plurality of log files 101 to 106 in which the log data is written and which log file the log data is stored in the storage means 100. A storage unit 110 that stores information about the correspondence and a setting unit 120 that presets the correspondence.
And writing means 131a, 132a, 133 for writing the log data in the modules 131, 132, 133 to the log files having a preset correspondence relationship.
a and the log file 1 stored in the storage unit 100
When the contents 01 to 106 are monitored and log data representing condition information that causes another module including the own module to perform some processing is detected, the storage unit 1
A monitoring unit 140 for checking the module using the log file in which the condition information is written from the log file information set to 10, and executing processing corresponding to the condition of the module checked according to the condition information. A processing unit 150 that defines the processing unit 150 and a processing condition corresponding to the condition information, and refers to the processing of the module corresponding to the condition information when the processing unit 150 executes the processing corresponding to the condition information. Condition storage means 160. Here, the management module 130 including the storage unit 110, the setting unit 120, the monitoring unit 140, the processing unit 150, and the processing condition storage unit 160 is a main module that manages each module 131, 132, 133 by log data. .

【0031】この構成のモジュール管理装置では、記憶
手段110にログデータを管理するモジュールのモジュ
ール名、格納すべきログファイル名、および格納手段1
00におけるログファイル101〜106の格納先情報
を含むログファイル情報が設定されている。各モジュー
ル131,132,133はこれらの書込手段131
a,132a,133aにより記憶手段110に設定さ
れているログファイル情報に従って対応するログファイ
ルにログデータを書き込む。
In the module management device of this configuration, the module name of the module that manages the log data in the storage means 110, the log file name to be stored, and the storage means 1
The log file information including the storage destination information of the log files 101 to 106 in 00 is set. Each of the modules 131, 132 and 133 has a writing means 131.
The log data is written in the corresponding log file according to the log file information set in the storage unit 110 by a, 132a, and 133a.

【0032】ここで、あるモジュールが自分のログファ
イルにたとえば自己の障害情報のログデータを書き込ん
だとする。監視手段140は格納手段100のログファ
イル101〜106の内容を監視していることによって
最新の障害情報を書き込んだログファイルを検出する。
このとき、監視手段140は記憶手段110のログファ
イル情報からそのログファイルを管理しているモジュー
ルを調べ、処理条件記憶手段160に問い合わせてその
モジュールに関する障害情報に対応した処理条件を取得
する。そして、処理手段150はそのモジュールに対し
て、取得した処理条件に規定された障害に対応する処理
を実行させる。
Here, it is assumed that a module writes, for example, log data of its own failure information in its own log file. The monitoring unit 140 detects the log file in which the latest failure information is written by monitoring the contents of the log files 101 to 106 of the storage unit 100.
At this time, the monitoring unit 140 checks the module managing the log file from the log file information in the storage unit 110, makes an inquiry to the processing condition storage unit 160, and acquires the processing condition corresponding to the failure information regarding the module. Then, the processing unit 150 causes the module to execute the process corresponding to the failure defined in the acquired processing condition.

【0033】図8は別のモジュール管理装置の具体的な
構成例を示すブロック図である。この図において、モジ
ュール管理装置はたとえばファイリング機能を提供する
ファイリングサーバシステム170において、ログデー
タをモジュール毎に管理し、モジュールの障害発生をロ
グデータから取得して適切な処置を施すようにしたもの
である。
FIG. 8 is a block diagram showing a concrete configuration example of another module management device. In this figure, the module management device manages log data for each module in a filing server system 170 that provides a filing function, obtains a failure occurrence of the module from the log data, and takes appropriate measures. is there.

【0034】ファイリングサーバシステム170にはユ
ーザがログデータの管理に関する各種設定をするユーザ
操作部180が接続されている。ユーザ操作部180は
サーバ・クライアントモデルのクライアントに該当する
もので、ファイリングサーバシステム170ではユーザ
操作部180からの各種処理の受け付けを行うユーザイ
ンタフェース制御部171に接続される。ユーザインタ
フェース制御部171はモジュール管理部172を介し
てモジュール管理情報記憶部173および処理実行部1
74に接続され、モジュール管理情報記憶部173およ
び処理実行部174は複数の機能モジュール175a,
175b,175cに接続されている。これらの機能モ
ジュール175a,175b,175cはそれぞれ書込
部175aa,175ba,175caを有し、これら
を通じて個々にログデータを書き込むよう記憶媒体19
0に接続されている。また、ユーザインタフェース制御
部171およびモジュール管理情報記憶部173にはロ
グ管理部176が接続され、このログ管理部176はロ
グデータを読み出すよう記憶媒体190に接続されてい
る。さらに、ログ監視部177が記憶媒体190のログ
ファイル191,192,193,194,195,1
96に対しログデータをたとえば一定時間毎に監視する
よう記憶媒体190に接続される。ログ監視部177は
ログファイル情報を参照するようモジュール管理情報記
憶部173に接続され、また、ログデータとしてモジュ
ールの障害情報などを検出したときに通知する処理判別
部178にも接続されている。この処理判別部178は
ログ監視部177から通知があった際に処理条件を取得
する処理条件ファイル179と、その処理条件に基づい
てどのような処理を行うのかを通知するモジュール管理
部172とに接続されている。また、処理条件ファイル
179は処理条件を設定したり変更するため、モジュー
ル管理部172にも接続されている。ここで、ユーザイ
ンタフェース制御部171、ログ監視部177、処理判
別部178、処理条件ファイル179、モジュール管理
部172、モジュール管理情報記憶部173、処理実行
部174およびログ管理部176を含む管理モジュール
175はログデータにより各機能モジュール175a,
175b,175cを管理するメインのモジュールであ
る。
To the filing server system 170 is connected a user operation unit 180 for the user to make various settings relating to the management of log data. The user operation unit 180 corresponds to a client of the server / client model, and in the filing server system 170, it is connected to a user interface control unit 171 that receives various processes from the user operation unit 180. The user interface control unit 171 includes a module management information storage unit 173 and a process execution unit 1 via the module management unit 172.
74, and the module management information storage unit 173 and the process execution unit 174 include a plurality of functional modules 175a,
It is connected to 175b and 175c. These functional modules 175a, 175b, 175c have write units 175aa, 175ba, 175ca, respectively, through which the storage medium 19 is written so as to write log data individually.
Connected to 0. A log management unit 176 is connected to the user interface control unit 171 and the module management information storage unit 173, and the log management unit 176 is connected to the storage medium 190 so as to read the log data. Further, the log monitoring unit 177 causes the log files 191, 192, 193, 194, 195, 1 of the storage medium 190 to be recorded.
96 is connected to the storage medium 190 so as to monitor log data at regular intervals, for example. The log monitoring unit 177 is connected to the module management information storage unit 173 so as to refer to the log file information, and is also connected to a process determination unit 178 that notifies the failure information of the module as log data. The processing determination unit 178 provides a processing condition file 179 that acquires a processing condition when notified from the log monitoring unit 177 and a module management unit 172 that notifies what processing is to be performed based on the processing condition. It is connected. The processing condition file 179 is also connected to the module management unit 172 in order to set or change processing conditions. Here, a management module 175 including a user interface control unit 171, a log monitoring unit 177, a processing determination unit 178, a processing condition file 179, a module management unit 172, a module management information storage unit 173, a processing execution unit 174, and a log management unit 176. Shows each functional module 175a according to the log data,
It is a main module that manages 175b and 175c.

【0035】機能モジュール175a,175b,17
5cは、ファイリングサーバシステム170では、たと
えば、クライアントからのユーザ要求を受付けてその要
求内容から属性および内容管理部へ処理命令を送るため
のセッション受付用モジュール、格納されているオブジ
ェクトの格納場所との連携およびファイル操作を主な機
能としている属性および内容管理用モジュール、格納さ
れているオブジェクトの属性のみを扱っているデータベ
ース用モジュールなどとすることができる。ここでは、
機能モジュール175aはセッション受付部、機能モジ
ュール175bは属性および内容管理部、そして機能モ
ジュール175cはデータベース部とする。
Functional modules 175a, 175b, 17
In the filing server system 170, the filing server system 170 includes, for example, a session reception module for receiving a user request from a client and sending a processing command from the content of the request to an attribute and content management unit, and a storage location of a stored object. It can be an attribute and content management module whose main functions are cooperation and file operation, a database module which handles only the attributes of stored objects, and the like. here,
The functional module 175a is a session reception unit, the functional module 175b is an attribute and content management unit, and the functional module 175c is a database unit.

【0036】ユーザインタフェース制御部171はユー
ザ操作部180からの要求に従ってログファイル情報の
設定またはログデータの取得制御を行うもので、ログフ
ァイル情報の設定はモジュール管理部172を介してモ
ジュール管理情報記憶部173に対して行い、ログデー
タの取得はログ管理部176に対して行う。ログファイ
ル情報の設定は各機能モジュール175a,175b,
175cが独立して管理する専用のログファイルを設定
しておくことである。
The user interface control unit 171 controls log file information setting or log data acquisition control in accordance with a request from the user operation unit 180. The log file information setting is performed via the module management unit 172 to store module management information. The log management unit 176 acquires the log data. The setting of log file information is performed by each function module 175a, 175b,
This is to set a dedicated log file that the 175c independently manages.

【0037】処理実行部174はモジュール管理部17
2からの命令により各機能モジュール175a,175
b,175cの起動/停止/処理コードの受け渡しなど
を行う。モジュール管理部172はユーザインタフェー
ス制御部171、または処理判別部178を通じて指定
された各機能モジュールの管理を行う。この際、モジュ
ール管理部172はモジュール管理情報記憶部173の
モジュール情報の照会や書き換えなどを行ったり、処理
実行部174へ実行命令を出す。
The process execution unit 174 is the module management unit 17
Each functional module 175a, 175 by the instruction from 2
b, 175c start / stop / handling of processing code. The module management unit 172 manages each functional module designated through the user interface control unit 171 or the process determination unit 178. At this time, the module management unit 172 inquires or rewrites the module information in the module management information storage unit 173, or issues an execution command to the process execution unit 174.

【0038】各機能モジュール175a,175b,1
75cは自分の管理するログファイルに対してログデー
タの書き込みを行うときにモジュール管理情報記憶部1
73から自分の格納先のログファイル情報を取得した
り、ログデータを記憶媒体190のログファイル19
1,192,193,194,195,196に対しオ
ペレーション・システムライブラリにて各プロセス毎に
ファイルを読み書きする。そして、ログ管理部176は
ユーザ操作部180からログデータ取得要求により指定
された機能モジュール175a,175b,175cに
対応したログデータを記憶媒体190から取得し、イン
タフェース制御部171を通じてユーザ操作部180に
転送する。
Each functional module 175a, 175b, 1
75c is a module management information storage unit 1 when writing log data to a log file managed by itself.
73 to obtain log file information of its own storage destination, and log data is stored in the log file 19 of the storage medium 190.
A file is read / written for each process by the operation system library for 1,192,193,194,195,196. Then, the log management unit 176 acquires log data corresponding to the functional modules 175a, 175b, and 175c specified by the log data acquisition request from the user operation unit 180 from the storage medium 190, and transmits the log data to the user operation unit 180 via the interface control unit 171. Forward.

【0039】図9は処理条件ファイルのフォーマットの
例を示す図である。この例において、処理条件ファイル
179のフォーマットは、障害情報をログデータとして
書き込んだモジュールの「モジュール名」、障害情報を
表す「エラーコード」および処理対象モジュールおよび
処理コードを記述した「処理」のフィールドを有してい
る。なお、機能モジュール175a,175b,175
cはそれぞれ「module1」、「module
2」、「module3」としてある。このファイルを
作成する際に、オペレータはあらかじめどのモジュール
がどのような処理コードを使用できるか、そしてその処
理コードの意味を知って記述されなくてはならない。
FIG. 9 is a diagram showing an example of the format of the processing condition file. In this example, the format of the processing condition file 179 is as follows: "module name" of the module that has written the failure information as log data, "error code" that represents the failure information, and a "processing" field that describes the processing target module and processing code. have. The functional modules 175a, 175b, 175
c is "module1", "module"
2 ”and“ module 3 ”. At the time of creating a file, the operator must be previously and which modules can use what processing code and description to know the meaning of the processing code.

【0040】図示の例によれば、最初は、データベース
部の機能モジュール175c内において、データベース
のクラッシュを起こした(エラーコードが「DB_CR
USH」)場合に行われる処理手順が記述されている。
この場合は、機能モジュール175a,175b,17
5cを「オフライン(offline)状態」にして他
のクライアントからの処理要求をカットする。そして機
能モジュール175c(module3)に対しては復
旧作業を指示する処理コード(scavenge)を送
り、復旧後にすべての機能モジュール175a,175
b,175cを「オンライン(online)状態」に
し、正常の状態に戻す処理が記述されている。
According to the illustrated example, at first, a database crash occurs in the function module 175c of the database section (error code is "DB_CR").
USH ") is described.
In this case, the functional modules 175a, 175b, 17
5c is set to the "offline state" to cut processing requests from other clients. Then, to the functional module 175c (module 3), a processing code (scavenge) for instructing restoration work is sent, and after restoration, all the functional modules 175a, 175.
b, 175c are set to the "online state", and the processing for returning to the normal state is described.

【0041】次に、セッション受付部の機能モジュール
175aについては、この機能モジュール175aにお
いてセッションを管理するテーブルに異常が発生した場
合の処理手順が記述されている。すなわち、セッション
を管理するテーブルに異常が発生し、障害情報がエラー
コード「SESSION_TABLE_CRUSH」で
あると、セキュリティ状態を保つことができないので、
すべての機能モジュール175a,175b,175c
を停止(down)させ、管理モジュール175へその
旨を通知する。
Next, regarding the function module 175a of the session reception unit, the processing procedure when an abnormality occurs in the table for managing the session in this function module 175a is described. That is, if an error occurs in the table that manages the session and the failure information is the error code “SESSION_TABLE_CRUSH”, the security state cannot be maintained.
All functional modules 175a, 175b, 175c
Is stopped and the management module 175 is notified to that effect.

【0042】次に、管理モジュール175の処理手順に
ついて説明する。図10は管理モジュールの処理内容を
示すフローチャートである。管理モジュール175で
は、まず、ログ監視部177がモジュール管理情報記憶
部173から各機能モジュールのログファイル情報を取
得し、各機能モジュールが使用しているログファイルを
知る(ステップS31)。そして、これらのログファイ
ルを監視するためログファイルに対してポーリングを行
い、それぞれのログファイルへ最新のエラーコードが出
力されているかを確認する(ステップS32)。ここ
で、エラーコードが存在するかどうかを判断し(ステッ
プS33)、もし、エラーコードが存在しなければ、ロ
グファイルの監視を続け、もし、たとえば機能モジュー
ル175cがエラーコードのログを出力したような場合
には、ログ監視部177は処理判別部178へその旨を
通知する。ここで、処理判別部178は処理条件ファイ
ル179を読み取り、処理対象モジュールとそこへ送ら
れる処理コードを得る(ステップS34)。処理判別部
178はモジュール管理部172へ対象モジュールと処
理コードを通知する(ステップS35)。モジュール管
理部172はモジュール管理情報記憶部173から現在
のファイリングサーバシステム170や機能モジュール
の状態を知り、処理実行部174へ命令する。処理実行
部174はその対象モジュールへ処理コードを通信する
(ステップS36)。そして、受け付けた機能モジュー
ルはその処理コードの内容を知っているため、処理コー
ドに対応した処理を行う。
Next, the processing procedure of the management module 175 will be described. FIG. 10 is a flowchart showing the processing contents of the management module. In the management module 175, first, the log monitoring unit 177 acquires log file information of each functional module from the module management information storage unit 173, and knows the log file used by each functional module (step S31). Then, the log files are polled in order to monitor these log files, and it is confirmed whether the latest error code is output to each log file (step S32). Here, it is judged whether or not an error code exists (step S33), and if the error code does not exist, the log file is continuously monitored. For example, if the function module 175c outputs a log of the error code, In that case, the log monitoring unit 177 notifies the process determination unit 178 of that fact. Here, the processing determination unit 178 reads the processing condition file 179 and obtains the processing target module and the processing code sent to the module (step S34). The processing determination unit 178 notifies the module management unit 172 of the target module and the processing code (step S35). The module management unit 172 knows the current states of the filing server system 170 and the functional module from the module management information storage unit 173, and instructs the process execution unit 174. The process execution unit 174 communicates the process code to the target module (step S36). Since the received functional module knows the content of the processing code, the processing corresponding to the processing code is performed.

【0043】以上のような流れで処理は行われるが、管
理モジュール175では、処理条件ファイル179のエ
ラーコードや処理コードなどの内容については一切関知
せず、また機能モジュールがどのようなものなのかも知
らない。つまり、エラーコードや処理コード、管理する
モジュールは自由に追加・削除が可能である。
Although the processing is performed in the above-described flow, the management module 175 has no knowledge of the contents of the processing condition file 179, such as the error code and the processing code, and wonders what the functional module is. Do not know. In other words, error codes, processing codes, and managing modules can be added and deleted freely.

【0044】次に、モジュール管理部172によって処
理条件ファイル179を設定する例について説明する。
ここでは、一例として、属性および内容管理部の機能モ
ジュール175bのバージョンアップ時の処理条件ファ
イル179の設定手順を説明する。
Next, an example of setting the processing condition file 179 by the module management unit 172 will be described.
Here, as an example, a setting procedure of the processing condition file 179 at the time of upgrading the function module 175b of the attribute and content management unit will be described.

【0045】図11は処理条件ファイルの設定手順を例
示するフローチャートである。まず、セッション受付部
の機能モジュール175aをオフラインにし(ステップ
S41)、属性および内容管理部の機能モジュール17
5bを停止させる(ステップS42)。次いで、バージ
ョンアップした機能モジュールをインストールし(ステ
ップS43)、モジュール管理部172は処理条件ファ
イル179に所要の処理コードを設定する(ステップS
44)。そして、すべての機能モジュールをオンライン
にして(ステップS45)、この処理を終了する。
FIG. 11 is a flow chart illustrating the procedure for setting the processing condition file. First, the function module 175a of the session reception unit is taken offline (step S41), and the function module 17 of the attribute and content management unit is set.
5b is stopped (step S42). Next, the upgraded functional module is installed (step S43), and the module management unit 172 sets the required processing code in the processing condition file 179 (step S43).
44). Then, all the functional modules are brought online (step S45), and this processing ends.

【0046】上記実施例によれば、処理条件ファイル1
79をオペレータがあらかじめ作成しておくことによ
り、必要な処理をエラー発生時に自動的に処理が行える
ようにすることができる。処理の方法・レベルはサーバ
を使用するユーザによって様々な設定があり、それらを
ユーザ毎に設定することができる。管理されるモジュー
ルのバージョンアップの際の差し替えも、管理モジュー
ル175と独立しているため管理モジュール175のバ
ージョンアップも伴わない。また、機能モジュールや処
理コードに種類や数の変更があってもフレキシブルにサ
ーバの構築が可能である。これはログファイルをポーリ
ングする方法でモジュールの監視を行うことにより、監
視されるモジュールと監視するモジュールとの間にエラ
ーコードを伝えるための通信が発生しない。つまり、フ
ァイリングサーバに限らず、複数のモジュールで機能す
るアプリケーションシステムに応用が可能である。そし
て、管理モジュールを登載するプラットフォームを選ば
ない、という利点がある。
According to the above embodiment, the processing condition file 1
By creating 79 in advance by the operator, necessary processing can be automatically performed when an error occurs. There are various settings for the processing method and level depending on the user who uses the server, and these can be set for each user. There is no need to replace the module to be managed when upgrading the version of the management module 175 because it is independent of the management module 175. In addition, the server can be flexibly constructed even if the type and number of functional modules and processing codes are changed. By monitoring the module by polling the log file, communication for transmitting an error code does not occur between the monitored module and the monitoring module. That is, the present invention can be applied not only to the filing server but also to an application system that functions with a plurality of modules. And, there is an advantage that the platform on which the management module is mounted is not selected.

【0047】なお、上記の説明では、ファイリングサー
バシステムを例に説明したが、本発明はこれに限られる
ことはない。たとえば、複数の機能モジュールを有する
あらゆる装置に適用することができる。また、処理条件
ファイルに設定される値として、エラーコードに対応し
た機能モジュールの実行の例を示したが、ある条件コー
ドを設定しておくことにより、ある機能モジュールが出
したログデータが別の機能モジュールに対して何らかの
機能を実行させるトリガとすることもできる。これによ
り、機能モジュール間に通信手段がないような構成にお
いて、ログ監視部を含む管理モジュールを通じて別の機
能モジュールに何らかの実行指示を伝えることが可能に
なる。
In the above description, the filing server system is taken as an example, but the present invention is not limited to this. For example, it can be applied to any device having a plurality of functional modules. Also, as an example of the execution of the function module corresponding to the error code as the value to be set in the processing condition file, setting a certain condition code causes the log data output by a certain function module to be different. It can also be a trigger for causing the functional module to execute some function. This makes it possible to transmit some execution instruction to another function module through the management module including the log monitoring unit in a configuration in which there is no communication means between the function modules.

【0048】[0048]

【発明の効果】以上説明したように、本発明では各モジ
ュールごとにログファイル名および格納先情報をユーザ
側からサーバシステム内に設定管理できるようにし、サ
ーバシステム内の各モジュールはサーバシステム内の記
憶手段に対し要求モジュールに対応したログファイルの
格納先情報を取得し、書込手段によってその格納先のロ
グファイルにログデータを書き込めるようにし、各モジ
ュールは全て独立プロセスにて動作し、前もって指定さ
れた個々のログファイルにログデータを効率的に書き込
み、そして、ユーザからログデータの取得要求があった
場合にモジュール単位でデータを取得きるようにした。
これにより、サーバ内の各モジュールがログファイルを
各モジュール毎にアクセスできるためログデータの書き
込み処理で待ち状態になることがなくなり効率的に書き
込みが可能となり、各モジュール毎にログファイルが管
理されているため、ログデータの取得処理速度を向上さ
せることができる。
As described above, according to the present invention, the log file name and the storage destination information for each module can be set and managed in the server system from the user side, and each module in the server system can be managed in the server system. Acquires the storage location information of the log file corresponding to the request module to the storage means, and enables the writing means to write the log data to the storage location log file. Each module operates in an independent process and is specified in advance. Efficiently write the log data to each log file created, and when the user requests to get the log data, the data can be acquired in module units.
As a result, each module in the server can access the log file for each module, so there is no need to wait in the log data writing process, and writing can be performed efficiently, and the log file is managed for each module. Therefore, the acquisition processing speed of log data can be improved.

【0049】また、サーバを構成するモジュール群の他
に、これらを監視するための管理モジュールを追加し、
これらのサーバを構成するモジュールの一つにたとえば
エラーが発生した場合、これらのモジュール個々に設定
されるログファイルに障害の内容を示すエラーコードを
ロギンングするようにし、管理モジュールはこれらのロ
グファイルを常にポーリングすることにより、障害が発
生していないかを監視するようにした。さらに、どのエ
ラー時にどのような処理を行うかを記述している処理条
件記憶手段を設けている。これにより、あるモジュール
から障害が発生した際にロギングされたログレコードよ
り、エラーコードを読み込み、そのエラーコードに合致
する処理を処理条件記憶手段から検索し、この処理を管
理しているモジュール群に対して実行するような復旧機
能を持たせることができるので、サーバシステムとして
の安定した稼働を保証し、オペレータの人件費削減、異
常処理時間の短縮が可能であり、強制的に他のモジュー
ルを停止させることが可能なため、2次的な異常の発生
の抑制、エラー処理のオーバヘッドの減少が可能であ
る。また、モジュール毎に設定されるログファイルに書
き込まれるエラーコードおよびそれに対応する処理コー
ドの内容は監視装置は一切関知しないため、構成するモ
ジュール再インストールの際のオーバヘッドが生じな
い。
In addition to the module group that constitutes the server, a management module for monitoring these is added,
If an error occurs in one of the modules that make up these servers, the log file set for each of these modules will log an error code indicating the nature of the failure, and the management module will log these log files. By always polling, it is possible to monitor whether a failure has occurred. Furthermore, processing condition storage means is provided which describes what kind of processing is to be performed at which error. As a result, the error code is read from the log record logged when a failure occurs from a certain module, the process that matches the error code is searched from the processing condition storage means, and the module group that manages this process is searched. Since it is possible to provide a recovery function that can be executed against it, it is possible to guarantee stable operation as a server system, reduce operator labor costs, shorten abnormal processing time, and force other modules to operate. Since it can be stopped, it is possible to suppress the occurrence of secondary abnormalities and reduce the overhead of error processing. Further, since the monitoring device has no concern about the contents of the error code written in the log file set for each module and the processing code corresponding to the error code, no overhead occurs when the modules to be configured are reinstalled.

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

【図1】本発明によるモジュール管理装置の原理構成を
示すブロック図である。
FIG. 1 is a block diagram showing a principle configuration of a module management device according to the present invention.

【図2】本発明のモジュール管理装置の具体的な構成例
を示すブロック図である。
FIG. 2 is a block diagram showing a specific configuration example of a module management device of the present invention.

【図3】ログファイル情報のデータ構造の例を示す図で
ある。
FIG. 3 is a diagram showing an example of a data structure of log file information.

【図4】ログファイル情報の設定処理の内容を示すフロ
ーチャートである。
FIG. 4 is a flowchart showing the contents of a log file information setting process.

【図5】ログデータの書き込み処理の内容を示すフロー
チャートである。
FIG. 5 is a flowchart showing the contents of a log data write process.

【図6】ログデータの読み出し処理の内容を示すフロー
チャートである。
FIG. 6 is a flowchart showing the contents of a log data read process.

【図7】本発明による別のモジュール管理装置の原理構
成を示すブロック図である。
FIG. 7 is a block diagram showing a principle configuration of another module management device according to the present invention.

【図8】別のモジュール管理装置の具体的な構成例を示
すブロック図である。
FIG. 8 is a block diagram showing a specific configuration example of another module management device.

【図9】処理条件ファイルのフォーマットの例を示す図
である。
FIG. 9 is a diagram showing an example of a format of a processing condition file.

【図10】管理モジュールの処理内容を示すフローチャ
ートである。
FIG. 10 is a flowchart showing the processing contents of a management module.

【図11】処理条件ファイルの設定手順を例示するフロ
ーチャートである。
FIG. 11 is a flowchart illustrating a procedure for setting a processing condition file.

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

11〜16 ログファイル 10 格納手段 20 記憶手段 30 設定手段 40 管理モジュール 41〜43 モジュール 41a〜43a 書込手段 50 読出手段 101〜106 ログファイル 100 格納手段 110 記憶手段 120 設定手段 130 管理モジュール 131,132,133 モジュール 131a,132a,133a 書込手段 140 監視手段 150 処理手段 160 処理条件記憶手段 11-16 Log File 10 Storage Means 20 Storage Means 30 Setting Means 40 Management Modules 41-43 Modules 41a-43a Writing Means 50 Reading Means 101-106 Log Files 100 Storage Means 110 Storage Means 120 Setting Means 130 Management Modules 131, 132 , 133 modules 131a, 132a, 133a writing means 140 monitoring means 150 processing means 160 processing condition storage means

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 複数のモジュールを含む装置のモジュー
ル管理装置であって、 複数のログファイルを格納する格納手段と、 前記複数のモジュールに対応してログデータが個別に格
納されるログファイルの前記格納手段における格納先情
報を含むログファイル情報を記憶する記憶手段と、 前記記憶手段に前記ログファイル情報を設定する設定手
段と、 前記複数のモジュールに対応して設けられ、それぞれ割
り当てられたモジュールのログデータを前記設定手段で
設定されたログファイル情報の格納先情報が示すログフ
ァイルに独立して書き込む複数の書込手段と、 を有することを特徴とするモジュール管理装置。
1. A module management device for a device including a plurality of modules, comprising: a storage unit that stores a plurality of log files; and a log file that individually stores log data corresponding to the plurality of modules. Storage means for storing log file information including storage destination information in the storage means; setting means for setting the log file information in the storage means; and a module provided corresponding to the plurality of modules, each of the assigned modules. A module management device comprising: a plurality of writing units that independently write log data to a log file indicated by the storage location information of the log file information set by the setting unit.
【請求項2】 前記複数のモジュールがそれぞれ独立し
て動作するプロセスであり、かつ、対応する同一のプロ
セスで前記複数の書込手段が実現されるものであり、読
み出し要求に応じて、要求された前記モジュールに対応
する前記格納先情報を前記記憶手段から取得し、前記格
納手段に対し取得した格納先情報に対応するログファイ
ルのログデータを読み出す読出手段をさらに有すること
を特徴とする請求項1記載のモジュール管理装置。
2. The plurality of modules are processes that operate independently of each other, and the plurality of writing units are realized by the same corresponding process, and are requested in response to a read request. The storage device further includes a reading unit that acquires the storage destination information corresponding to the module from the storage unit and that reads log data of a log file corresponding to the storage destination information acquired from the storage unit. 1. The module management device according to 1.
【請求項3】 複数のモジュールをこれらのログデータ
に基づいて管理するモジュール管理装置であって、 複数のログファイルを格納する格納手段と、 前記複数のモジュールに対応してログデータが個別に格
納されるログファイルの前記格納手段における格納先情
報を含むログファイル情報を記憶する記憶手段と、 前記記憶手段に前記ログファイル情報を設定する設定手
段と、 前記複数のモジュールに対応して設けられ、それぞれ割
り当てられたモジュールのログデータを前記設定手段で
設定されたログファイル情報の格納先情報が示すログフ
ァイルに独立して書き込む複数の書込手段と、 前記格納手段内のログファイルの内容を監視して特定の
条件情報を検出する監視手段と、 前記複数のモジュールに対応して条件情報に対応する処
理内容を記憶する処理条件記憶手段と、 前記処理条件記憶手段を参照して前記監視手段で検出さ
れた条件情報に対応した処理内容を当該処理内容が示す
モジュールに対して実行する処理手段と、 を有することを特徴とするモジュール管理装置。
3. A module management device that manages a plurality of modules based on these log data, and storage means for storing a plurality of log files, and log data individually stored corresponding to the plurality of modules. Storage means for storing log file information including storage destination information in the storage means of the log file, setting means for setting the log file information in the storage means, provided corresponding to the plurality of modules, A plurality of writing means for independently writing the log data of each assigned module to the log file indicated by the storage destination information of the log file information set by the setting means, and monitoring the contents of the log file in the storage means And a monitoring unit for detecting specific condition information, and a process corresponding to the condition information corresponding to the plurality of modules. A processing condition storage unit that stores the content, and a processing unit that refers to the processing condition storage unit and executes the processing content corresponding to the condition information detected by the monitoring unit to the module indicated by the processing content. A module management device having.
JP7191877A 1995-07-27 1995-07-27 Module management device Pending JPH0944380A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7191877A JPH0944380A (en) 1995-07-27 1995-07-27 Module management device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7191877A JPH0944380A (en) 1995-07-27 1995-07-27 Module management device

Publications (1)

Publication Number Publication Date
JPH0944380A true JPH0944380A (en) 1997-02-14

Family

ID=16281967

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7191877A Pending JPH0944380A (en) 1995-07-27 1995-07-27 Module management device

Country Status (1)

Country Link
JP (1) JPH0944380A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007264753A (en) * 2006-03-27 2007-10-11 Ns Solutions Corp Log data acquisition device, log data acquisition method, and program
JP2016206857A (en) * 2015-04-20 2016-12-08 キヤノンマーケティングジャパン株式会社 Information processing device, processing method thereof, and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007264753A (en) * 2006-03-27 2007-10-11 Ns Solutions Corp Log data acquisition device, log data acquisition method, and program
JP2016206857A (en) * 2015-04-20 2016-12-08 キヤノンマーケティングジャパン株式会社 Information processing device, processing method thereof, and program

Similar Documents

Publication Publication Date Title
CN105357038B (en) Monitor the method and system of cluster virtual machine
US6256750B1 (en) Information processing apparatus, network printing system, its control method, and storage medium storing program
US8799709B2 (en) Snapshot management method, snapshot management apparatus, and computer-readable, non-transitory medium
US7305462B2 (en) Data storage system and control method thereof
JP4545943B2 (en) Web server content replication
JP2001188765A (en) Technique for referring to fault information showing plural related fault under distributed computing environment
CN112486531A (en) Method and system for updating equipment application software
JP6639245B2 (en) Server system, method and program for controlling server system.
US7634625B2 (en) Storage system and method for copying volumes by inspection of data security
KR101024249B1 (en) Real-time data replication system
US8402125B2 (en) Method of managing operations for administration, maintenance and operational upkeep, management entity and corresponding computer program product
JPH0944380A (en) Module management device
EP4174596A1 (en) System and method for collecting mes information
JP3691272B2 (en) Distributed processing system and failure analysis information storage method
JP2007304837A (en) Information processor, monitoring method, and program
JP2003132019A (en) Hindrance-monitoring method for computer system
JP3920681B2 (en) Security information management system
JPH0962626A (en) On-line testing method of decentralized processing system
JP3589402B2 (en) System for monitoring the execution of processing in a digital computer
CN111526196B (en) Method and system for managing port ledger based on open source scanner
JP2943661B2 (en) File Inquiry Method for Financial Terminal
JP2000112847A (en) Client-server system and method for monitoring operation of client
JP2656643B2 (en) Log data collection method and device
JPH0291735A (en) Maintenance managing system for remote fault
JPH064363A (en) Session state log sampling device