JP3365372B2 - Event log storage system, event log storage method, and recording medium - Google Patents
Event log storage system, event log storage method, and recording mediumInfo
- Publication number
- JP3365372B2 JP3365372B2 JP28209699A JP28209699A JP3365372B2 JP 3365372 B2 JP3365372 B2 JP 3365372B2 JP 28209699 A JP28209699 A JP 28209699A JP 28209699 A JP28209699 A JP 28209699A JP 3365372 B2 JP3365372 B2 JP 3365372B2
- Authority
- JP
- Japan
- Prior art keywords
- event
- storage
- event log
- storage location
- stored
- 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.)
- Expired - Fee Related
Links
Landscapes
- Debugging And Monitoring (AREA)
- Multi Processors (AREA)
Description
【0001】[0001]
【発明の属する技術分野】本発明は、ネットワーク管理
システムにおけるイベントログ情報を格納する場合のイ
ベントログ格納システム、イベントログ格納方法、およ
び記録媒体に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an event log storage system , an event log storage method, and a recording medium for storing event log information in a network management system.
【0002】[0002]
【従来の技術】一般にネットワーク管理システムでは、
ネットワークに接続された管理対象ノードの状態変化の
発生や障害が発生した場合、その発生した事象すなわち
イベントをマネージャで収集し、全管理対象ノードで発
生したイベントをログとしてマネージャで一元管理す
る。個々のイベントには少なくとも「発生時刻」「発生
元」「障害内容を示すメッセージ」の情報が含まれてい
る。マネージャはイベントを受信すると、その情報をイ
ベントログとしてメモリやハードディスク上に割り当て
られたイベントログの格納領域に格納する。2. Description of the Related Art Generally, in a network management system,
When a state change or failure of a managed node connected to the network occurs, the occurred event, that is, an event is collected by the manager, and the event generated at all managed nodes is centrally managed by the manager as a log. Each event includes at least information of “occurrence time”, “occurrence source”, and “message indicating failure content”. Upon receiving the event, the manager stores the information as an event log in the storage area of the event log allocated on the memory or the hard disk.
【0003】ネットワーク管理者は、イベントログを参
照してネットワークの障害発生状況を確認するととも
に、対処済みで不要となったイベントログを削除する。
イベントログの格納領域の容量には上限があるため、新
たなイベントを格納するための領域を確保するためにも
不要となったイベントログの削除は日常的に行われる。
しかし、短期間に大量のイベントが発生した場合など
は、ネットワーク管理者がイベントログの確認などに時
間を要するため、不要となったイベントログの削除が間
に合わず、イベントログの格納領域の容量の上限に達し
てしまうケースが多々ある。このような場合でも、不要
なイベントログを自動的に削除し、新規に発生するイベ
ントをイベントログとして格納することを実現するため
に、各種イベントログ格納方式が考案されてきた。The network administrator refers to the event log to confirm the occurrence status of the network failure, and deletes the event log that has been dealt with and is no longer needed.
Since the capacity of the event log storage area has an upper limit, unnecessary event logs are deleted on a daily basis in order to secure an area for storing new events.
However, when a large number of events occur in a short period of time, it takes time for the network administrator to check the event log, etc., so the unnecessary event log cannot be deleted in time, and the capacity of the event log storage area is reduced. There are many cases where the limit is reached. Even in such a case, various event log storage methods have been devised in order to automatically delete unnecessary event logs and store newly generated events as event logs.
【0004】もっとも基本的な方式として、イベントロ
グの格納領域をサイクリックに利用するという方式があ
る。これは、イベントが発生するたびにイベントログを
イベントログの格納領域の先頭から順に書き込んでい
き、イベントログ格納領域の最後に達した場合は、再び
イベントログ格納領域の先頭に戻ることにより以前に格
納したイベントログに新しいイベントログを上書きする
方式である。しかし、この方式では単純に最古のイベン
トログが上書きされてしまうため、複数の管理対象ノー
ド6a〜6cのイベントを一元管理するようなシステム
では、先に発生したある管理対象ノードのイベントログ
が、後に発生した別の管理対象ノード6a〜6cのイベ
ントログによってすべて上書きされて、完全に失われて
しまうという問題があった。As the most basic method, there is a method of cyclically utilizing the storage area of the event log. This is because each time an event occurs, the event log is written in sequence from the beginning of the event log storage area, and when the end of the event log storage area is reached, it returns to the beginning of the event log storage area again. This method overwrites the stored event log with a new event log. However, in this method, the oldest event log is simply overwritten, so in a system that centrally manages the events of a plurality of managed nodes 6a to 6c, the event log of a managed node that occurred first However, there is a problem in that the event logs of the other managed nodes 6a to 6c that are generated later are overwritten and completely lost.
【0005】上記の問題を解決すべく、イベントログの
格納領域を管理対象ノード毎に別個に確保するという方
式も考案されているが、この方式では管理対象ノード毎
に格納できるイベントログ数をあらかじめ制限してしま
うとともに、個々の管理対象ノードについて発生するイ
ベントログ数の発生頻度にばらつきがある場合などは、
全体的にみると利用されない領域が存在するにもかかわ
らず、ある管理対象のイベントログは再び上書きをされ
ている、という状況が発生する。In order to solve the above problem, a method has been devised in which an event log storage area is separately secured for each managed node, but in this method, the number of event logs that can be stored for each managed node is preset. In addition to the limitation, if there is a variation in the number of event logs that occur for each managed node,
As a whole, a situation occurs in which a certain managed event log is overwritten again even though there is an unused area.
【0006】以上の問題を解決する方式として、特開平
3−149943がある。この公報には、イベントログ
に類するトレースデータの格納方式について記載されて
いる。この方式では、全ての通信回線のトレースデータ
を同一のトレースデータ格納メモリに格納し、そのトレ
ースデータ格納メモリをサイクリックに利用する。その
時、通信回線毎にトレース時刻の新旧に応じて上書き可
否条件を判断することにより、通信回線毎に最低限の数
のトレースデータを上書きせずに保存することを実現し
ている。As a method for solving the above problems, there is Japanese Patent Laid-Open No. 3-149943. This publication describes a method of storing trace data similar to an event log. In this method, the trace data of all communication lines are stored in the same trace data storage memory, and the trace data storage memory is used cyclically. At that time, by judging the overwrite permission condition according to the old or new trace time for each communication line, it is possible to save the minimum number of trace data for each communication line without overwriting.
【0007】[0007]
【発明が解決しようとする課題】上記の方式はいずれ
も、イベントログの格納領域を領域の先頭から終端に向
けて格納順に走査して、先に検出された上書き可能なイ
ベントログに対して上書きを行うため、上書きされずに
保存されるイベントログ数が管理対象ノード間で大きく
偏るという問題点がある。In any of the above methods, the storage area of the event log is scanned from the top to the end of the area in the storage order, and the previously detected overwriteable event log is overwritten. Therefore, there is a problem that the number of event logs saved without being overwritten is largely biased among the managed nodes.
【0008】以下に、具体的に問題点を説明する。図2
の(a)に示した10個のイベントログを格納できるイ
ベントログ格納領域に、管理対象ノード6a〜6c毎に
最低2個の最新イベントログを上書きせずに保存する設
定になっていたとする。ここで図9に示す時系列順の時
刻t−1からt−10の各時刻に図9記載の各ノードで
イベントが発生すると、図2の(b)のようにノード6
aのイベントログがt−1〜t−5の時刻に5個、ノー
ド6bのイベントログがt−6〜t−10の時刻に5個
格納されている状態(つまり、イベント格納領域が上限
に達している状態)になる。この状態からノード6cの
イベントがt−11〜t−13の時刻に3個発生した結
果、図8のようにノード6aのイベントログのみが3個
上書きされ、ノード6bのイベントログは上書きされ
ず、結果としてノード6aのイベントログが2個、ノー
ド6bのイベントログが5個、ノード6cのイベントロ
グが3個となり、保存されているイベントログ数が管理
対象ノード6a〜6cによってばらつきが発生している
ことがわかる。この例では、説明を簡単化するため規模
を小さくしているので管理対象ノード6a〜6c毎に格
納したイベント数の上限と下限との差は3個しかない
が、実際の運用において上記の例の100倍の規模とな
った場合に換算すると、管理対象ノード6a〜6c毎に
格納されるイベントログ数に300個の差を生じてしま
うことになる。The problems will be specifically described below. Figure 2
It is assumed that the event log storage area shown in (a) can store at least two latest event logs for each managed node 6a to 6c without overwriting. Here, when an event occurs in each node shown in FIG. 9 at each time from time t-1 to t-10 in the chronological order shown in FIG. 9, the node 6 as shown in FIG.
A state in which five event logs of a are stored at times t-1 to t-5 and five event logs of the node 6b are stored at times t-6 to t-10 (that is, the event storage area is the upper limit) It has reached). As a result of three events of the node 6c occurring from this state at times t-11 to t-13, only three event logs of the node 6a are overwritten, and the event log of the node 6b is not overwritten, as shown in FIG. As a result, the event log of the node 6a is 2, the event log of the node 6b is 5, the event log of the node 6c is 3, and the number of stored event logs varies depending on the managed nodes 6a to 6c. You can see that In this example, since the scale is reduced for simplification of the description, the difference between the upper limit and the lower limit of the number of events stored for each of the managed nodes 6a to 6c is only 3, but in the actual operation, the above example is used. If the scale is 100 times larger than the above, there will be a difference of 300 in the number of event logs stored in each of the managed nodes 6a to 6c.
【0009】本発明は、前記の各問題を解決し、格納さ
れたイベントログがイベントログの格納領域の上限に達
するまでは管理対象ノー毎のイベントログ数に制約を設
けず格納するとともに、イベントログがイベントログの
格納領域の上限に達した後は、有限なイベントログの格
納領域の範囲内で各管理対象ノード毎に格納されるイベ
ントログ数が均等になるように各管理対象へイベントロ
グ格納領域を配分するイベントログ格納システム、イベ
ントログ格納方法、および記録媒体を提供することを目
的とする。The present invention solves each of the problems described above, and stores the event log without limiting the number of event logs for each managed node until the stored event log reaches the upper limit of the storage area of the event log. After the log reaches the upper limit of the event log storage area, the event log is stored in each managed node so that the number of event logs stored in each managed node becomes even within the limited event log storage area. Event log storage system that allocates storage space , event
An object of the present invention is to provide a log storage method and a recording medium .
【0010】[0010]
【課題を解決するための手段】本発明の第1のイベント
ログ格納システムは、ネットワークの管理対象ノードに
障害が発生した場合、それをイベントとしてネットワー
ク経由でネットワーク管理マネージャ装置に収集し、イ
ベントログとしてネットワーク管理マネージャ装置の外
部記憶装置に格納する機能を備えたイベントログ格納シ
ステムであって、
(a)ネットワークを介して前記管理対象ノードから前
記イベントを受信するイベント受信手段と、
(b)前記イベントログが格納された領域と、前記イベ
ントログが格納されていない未使用領域とに区分したイ
ベントログ格納領域が設けられた前記外部記憶装置であ
って、前記イベント受信手段が受信した前記イベントが
前記イベントログとして格納される前記イベントログ格
納領域が設けられた前記外部記憶装置と、 (c)前記ネットワーク管理マネージャ装置に備えられ
た内部記憶装置であって、前記イベントログ格納領域に
おけるイベントログ格納位置が予め記憶された格納位置
エントリのリストを有する格納位置エントリリストであ
って、前記管理対象ノードで発生した前記イベントログ
については前記管理対象ノード毎にそれが格納された時
系列順序に従うリスト構造として、また、前記未使用領
域についてもリスト構造として記憶した前記格納位置エ
ントリリストと、前記格納位置エントリリストにおける
前記格納位置エントリの数を、前記管理対象ノードと前
記未使用領域の各々について記憶したイベントログ格納
領域管理テーブルと、を有する前記内部記憶装置と、
(f)前記イベント受信手段が前記イベントを受信する
と、前記イベントログ格納領域管理テーブルを検索し、
前記未使用領域の前記格納位置エントリがあれば、前記
未使用領域の前記格納位置エントリリストの先頭の前記
格納位置エントリを選択し、前記未使用領域の前記格納
位置エントリがなければ、前記格納位置エントリの数の
最も多い前記管理対象ノードの前記格納位置エントリリ
ストの先頭の前記格納位置エントリを選択するイベント
ログ格納位置選択手段と、
(g)前記イベントログ格納位置選択手段が選択した前
記格納位置エントリが記憶する位置に、受信した前記イ
ベントを前記イベントログとして書き込むイベントログ
書き込み手段と、
(h)前記イベントログ格納位置選択手段が前記選択し
た格納位置エントリを前記格納位置エントリリストから
取り外し、前記格納領域管理テーブルの前記取り外しさ
れた格納位置エントリリストの前記格納位置エントリの
数を1減算し、前記イベントを送信した前記管理対象ノ
ードの前記格納位置エントリリストの終端に前記取り外
した格納位置エントリをリストし、前記格納領域管理テ
ーブルの前記リストされた格納位置エントリリストの前
記格納位置エントリの数を1加算するイベントログ格納
領域管理テーブル更新手段と、を備える。According to a first event log storage system of the present invention, when a failure occurs in a managed node of a network, the failure is collected as an event in a network management manager device via the network, and an event log is recorded. a event log storage system having a function of storing in the external storage device of the network manager unit as an event receiving unit for receiving the event from the managed node via (a) the network, (b) the The area where the event log is stored and the event
It is divided into an unused area where no log is stored.
The external storage device is provided with a vent log storage area.
The event received by the event receiving means is
The event log rating stored as the event log
The external storage device provided with a storage area; and (c) the network management manager device.
Internal storage device, which is stored in the event log storage area
Storage location of the event log storage location in advance
A storage location entry list having a list of entries
Therefore, the event log generated in the managed node
For when it was stored for each of the managed nodes
As a list structure that follows the sequence order,
Areas are also stored as a list structure.
Entry list and the storage location entry list
The number of storage location entries is
Event log storage for each unused area
And the internal storage device having a region management table, when receiving the event (f) the event receiving means, searches the event log storage area management table,
If there is the storage location entry of the unused area, the storage location entry at the head of the storage location entry list of the unused area is selected, and if there is no storage location entry of the unused area, the storage location Event log storage position selecting means for selecting the first storage position entry of the storage position entry list of the managed node having the largest number of entries; and (g) the storage position selected by the event log storage position selecting means. Event log writing means for writing the received event as the event log at a position stored by an entry; (h) the event log storage location selecting means removes the storage location entry selected from the storage location entry list, The removed storage location entry list of the storage area management table 1 is subtracted from the storage location entry list, the removed storage location entry is listed at the end of the storage location entry list of the managed node that has transmitted the event, and the listed storage location entry is listed in the storage area management table. Event log storage area management table updating means for adding 1 to the number of storage location entries in the storage location entry list.
【0011】本発明の第2のイベントログ格納システム
は、第1の発明において、新規に受信した前記イベント
を前記イベントログとして格納するとき、前記イベント
ログ格納領域に前記未使用領域が無いと、前記管理対象
ノード毎に格納されるイベントログ数を均等化して格納
することを備える。A second event log storage system <br/> of the present invention, in the first aspect, when storing the event the newly received as the event log, the unused area in the event log storage area If there is not, the number of event logs stored for each managed node is equalized and stored.
【0012】本発明の第3のイベントログ格納システム
は、第2の発明において、新規に受信した前記イベント
を前記イベントログとして格納するとき、前記イベント
ログ格納領域に前記未使用領域が無いと、前記イベント
ログが最も多く格納されている前記管理対象ノードの中
の最古に格納された前記イベントログの格納場所に新規
に受信した前記イベントを格納することを備える。A third event log storage system <br/> of the present invention, in the second invention, when storing the event the newly received as the event log, the unused area in the event log storage area without, comprising storing the event received newly to the location of the event log stored in the oldest among the managed node where the event log are most often stored.
【0013】本発明の第4のイベントログ格納システム
は、第1の発明において、新規に受信した前記イベント
を前記イベントログとして格納するとき、前記イベント
ログ格納領域に前記未使用領域がある場合は、前記未使
用領域に格納することをを備える。[0013] The fourth event log storage system <br/> of the present invention, in the first aspect, when storing the event the newly received as the event log, the unused area in the event log storage area If there is, it comprises storing in the unused area.
【0014】本発明の第5のイベントログ格納方式は、
第1の発明において、前記内部記憶装置が有するイベン
トログ格納領域管理テーブルは更に、イベントログが格
納できる最大数を管理対象ノード毎に予め設定したもの
であって、前記イベントログ格納位置選択手段は、前記
未使用領域の前記格納位置エントリがなければ、前記格
納位置エントリの数が前記最大数から最も超過した前記
管理対象ノードの前記格納位置エントリリストの先頭の
前記格納位置エントリを選択するものであることを備え
る。The fifth event log storage system of the present invention is
In the first invention, the event included in the internal storage device
The event log is also recorded in the log storage area management table.
The maximum number that can be stored is preset for each managed node
The event log storage location selection means is
If there is no storage location entry for the unused area, the
If the number of delivery location entries exceeds the maximum number
The top of the storage location entry list of the managed node
Selecting the storage location entry .
【0015】本発明の第1のイベントログ格納方法は、
ネットワークの管理対象ノードで障害が発生した場合、
それをイベントとしてネットワーク経由でネットワーク
管理マネージャ装置に収集し、イベントログとしてネッ
トワーク管理マネージャ装置の外部記憶装置上に格納す
る機能を備えたイベントログ格納システムが実行するイ
ベントログ格納方法であって、前記イベントログ格納シ
ステムが有するネットワーク管理マネージャ装置は、デ
ータ処理装置と、前記イベントが前記イベントログとし
て格納され、前記イベントログが格納された領域と、前
記イベントログが格納されていない未使用領域とに区分
したイベントログ格納領域が設けられた前記外部記憶装
置であって、イベント受信手段が受信した前記イベント
が前記イベントログとして格納される前記イベントログ
格納領域が設けられた前記外部記憶装置と、前記イベン
トログ格納領域におけるイベントログ格納位置が予め記
憶された格納位置エントリのリストを有する格納位置エ
ントリリストであって、前記管理対象ノードで発生した
前記イベントログについては前記管理対象ノード毎にそ
れが格納された時系列順序に従うリスト構造として、ま
た、前記未使用領域についてもリスト構造として記憶し
た前記格納位置エントリリストと、前記格納位置エント
リリストにおける前記格納位置エントリの数を、前記管
理対象ノードと前記未使用領域の各々について記憶した
イベントログ格納領域管理テーブルと、を有する前記内
部記憶装置とを備えたものであり、前記データ処理装置
が、
(a)ネットワークを介して前記管理対象ノードから前
記イベントを受信する第1のステップと、
(b)前記第1のステップにおいて受信した前記イベン
トの前記イベントログ格納領域への格納において、前記
イベントログ格納領域管理テーブルを検索し、前記未使
用領域の前記格納位置エントリがあれば、前記未使用領
域の前記格納位置エントリリストの先頭の前記格納位置
エントリを選択し、前記未使用領域の前記格納位置エン
トリがなければ、前記格納位置エントリの数の最も多い
前記管理対象ノードの前記格納位置エントリリストの先
頭の前記格納位置エントリを選択する第2のステップ
と、
(c)前記第2のステップにおいて選択した前記格納位
置エントリに記憶された位置に、受信した前記イベント
を前記イベントログとして書き込む第3のステップと、
(d)前記第2のステップにおいて前記選択した格納位
置エントリを前記格納位置エントリリストから取り外
し、前記格納領域管理テーブルの前記取り外しされた格
納位置エントリリストの前記格納位置エントリの数を1
減算し、前記イベントを送信した前記管理対象ノードの
前記格納位置エントリリストの終端に前記取り外した格
納位置エントリをリストし、前記格納領域管理テーブル
の前記リストされた格納位置エントリリストの前記格納
位置エントリの数を1加算する第4のステップと、を実
行することを備える。The first event log storage method of the present invention is
If a managed node in the network fails,
Network it as an event via the network
It was collected into management manager device, network as an event log
A event log storage method network manager device event log storage system having a function of storing on an external storage device is executed, the event log storage Shi
The system has a network management manager device
Data processing device and the event as the event log
And the area where the event log is stored.
Separated into unused area where event log is not stored
The external storage device provided with an event log storage area
The event received by the event receiving means.
Is stored as the event log
The external storage device provided with a storage area, and the event
The event log storage location in the log storage area is recorded in advance.
A storage location error containing a list of stored storage location entries.
Is a security list and occurred on the managed node
For the event log, refer to each managed node.
As a list structure that stores them in chronological order,
Also, the unused area is stored as a list structure.
The storage location entry list and the storage location entry
The number of storage location entries in the list is
Stored for each of the target node and the unused area
An event log storage area management table;
And a data storage device.
But before from the managed node via the (a) Network
The first step of receiving the event, and (b) in the storage of the event received in the first step in the event log storage area, the event log storage area management table is searched to find the unused area. If there is the storage location entry of the unused area, the storage location entry at the head of the storage location entry list of the unused area is selected, and if there is no storage location entry of the unused area, the number of the storage location entries A second step of selecting the first storage location entry of the storage location entry list of the most managed nodes, and (c) a location stored in the storage location entry selected in the second step, A third step of writing the received event as the event log, and (d) the second step Remove the storage position entry Oite said selected from the storage position entry list, the number of the storage location entry of the removal has been stored position entry list of the storage area management table 1
The removed storage location entry is listed at the end of the storage location entry list of the managed node that has subtracted and transmitted the event, and the storage location entry of the listed storage location entry list of the storage area management table fourth step and the actual to 1 adds the number of
Provided that the row.
【0016】本発明の第1の記録媒体は、ネットワーク
の管理対象ノードで障害が発生した場合、それをイベン
トとしてネットワーク経由でネットワーク管理マネージ
ャ装置に収集し、イベントログとしてネットワーク管理
マネージャ装置の外部記憶装置上に格納する機能を備
え、更に、データ処理装置と、前記イベントが前記イベ
ントログとして格納され、前記イベントログが格納され
た領域と、前記イベントログが格納されていない未使用
領域とに区分したイベントログ格納領域が設けられた前
記外部記憶装置であって、イベント受信手段が受信した
前記イベントが前記イベントログとして格納される前記
イベントログ格納領域が設けられた前記外部記憶装置
と、前記イベントログ格納領域におけるイベントログ格
納位置が予め記憶された格納位置エントリのリストを有
する格納位置エントリリストであって、前記管理対象ノ
ードで発生した前記イベントログについては前記管理対
象ノード毎にそれが格納された時系列順序に従うリスト
構造として、また、前記未使用領域についてもリスト構
造として記憶した前記格納位置エントリリストと、前記
格納位置エントリリストにおける前記格納位置エントリ
の数を、前記管理対象ノードと前記未使用領域の各々に
ついて記憶したイベントログ格納領域管理テーブルと、
を有する前記内部記憶装置とを備えたネットワーク管理
マネージャ装置を含むイベントログ格納システムにおけ
る前記データ処理装置として、コンピュータを機能させ
るためのコンピュータ読み取り可能な記録媒体であっ
て、前記コンピュータに、
(a)ネットワークを介して前記管理対象ノードから前
記イベントを受信する第1のステップと、
(b)前記第1のステップにおいて受信した前記イベン
トの前記イベントログ格納領域への格納において、前記
イベントログ格納領域管理テーブルを検索し、前記未使
用領域の前記格納位置エントリがあれば、前記未使用領
域の前記格納位置エントリリストの先頭の前記格納位置
エントリを選択し、前記未使用領域の前記格納位置エン
トリがなければ、前記格納位置エントリの数の最も多い
前記管理対象ノードの前記格納位置エントリリストの先
頭の前記格納位置エントリを選択する第2のステップ
と、
(c)前記第2のステップにおいて選択した前記格納位
置エントリに記憶された位置に、受信した前記イベント
を前記イベントログとして書き込む第3のステップと、
(d)前記第2のステップにおいて前記選択した格納位
置エントリを前記格納位置エントリリストから取り外
し、前記格納領域管理テーブルの前記取り外しされた格
納位置エントリリストの前記格納位置エントリの数を1
減算し、前記イベントを送信した前記管理対象ノードの
前記格納位置エントリリストの終端に前記取り外した格
納位置エントリをリストし、前記格納領域管理テーブル
の前記リストされた格納位置エントリリストの前記格納
位置エントリの数を1加算する第4のステップと、を実
行させるプログラムを記録する。According to the first recording medium of the present invention, when a failure occurs in a managed node of the network, the failure is generated as an event and the network management management is performed via the network.
It was collected into catcher equipment, network management as an event log
Provided with the function to store in the external storage device of the manager device
In addition, the data processing device and the event are
Stored as an event log, the event log is stored as
Area and unused area where the event log is not stored
Before the event log storage area divided into
The external storage device is received by the event receiving means.
The event is stored as the event log
The external storage device provided with an event log storage area
And the event log rating in the event log storage area
The storage location has a list of storage location entries stored in advance.
Of the storage location entry list,
For the event log that occurred in the
A list in chronological order in which it is stored for each elephant node
As a structure, the unused area is also listed.
The storage location entry list stored as a structure, and
The storage location entry in the storage location entry list
To the managed node and the unused area.
An event log storage area management table that is stored for
Management including the internal storage device having
In the event log storage system including the manager device
A computer as the data processing device
It is a computer-readable recording medium for
To the computer, (a) from the managed node via the network
The first step of receiving the event, and (b) in the storage of the event received in the first step in the event log storage area, the event log storage area management table is searched to find the unused area. If there is the storage location entry of the unused area, the storage location entry at the head of the storage location entry list of the unused area is selected, and if there is no storage location entry of the unused area, the number of the storage location entries A second step of selecting the first storage location entry of the storage location entry list of the most managed nodes, and (c) a location stored in the storage location entry selected in the second step, A third step of writing the received event as the event log, and (d) the second step Remove the storage position entry Oite said selected from the storage position entry list, the number of the storage location entry of the removal has been stored position entry list of the storage area management table 1
The removed storage location entry is listed at the end of the storage location entry list of the managed node that has subtracted and transmitted the event, and the storage location entry of the listed storage location entry list of the storage area management table And a program for executing the fourth step of adding 1 to the number of.
【0017】[0017]
【発明の実施の形態】次に本発明の第1の実施の形態に
ついて図面を参照して詳細に説明する。図1は本発明の
第1の実施の形態に係るイベントログ格納方式の構成を
示すブロック図である。本実施の形態は、ネットワーク
5により接続され、直接通信可能なマネージャ1と管理
対象ノード6a〜6cから構成される。マネージャ1
は、データ処理装置2と、外部記憶装置3と、内部記憶
装置4とから構成されている。内部記憶装置4は、RA
M、外部記憶装置3はハードディスクなどが考えられ
る。BEST MODE FOR CARRYING OUT THE INVENTION Next, a first embodiment of the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing the configuration of an event log storage system according to the first embodiment of the present invention. This embodiment is composed of a manager 1 and managed nodes 6a to 6c which are connected by a network 5 and are capable of direct communication. Manager 1
Is composed of a data processing device 2, an external storage device 3, and an internal storage device 4. The internal storage device 4 is RA
The external storage device 3 may be a hard disk or the like.
【0018】データ処理装置2には、イベント受信手段
21と、制御部22と、イベントログ格納領域管理テー
ブル更新手段23と、イベントログ格納位置選択手段2
4と、イベントログ書き込み手段25と、から構成され
ている。The data processing device 2 includes an event receiving unit 21, a control unit 22, an event log storage area management table updating unit 23, and an event log storage position selecting unit 2.
4 and an event log writing means 25.
【0019】イベント受信手段21は、前記ネットワー
ク5を介して、管理対象ノード6a〜6cからのイベン
トを受信する。The event receiving means 21 receives events from the managed nodes 6a to 6c via the network 5.
【0020】イベントログ格納領域31は、外部記憶装
置3に割り当てられている。The event log storage area 31 is assigned to the external storage device 3.
【0021】イベントログ格納領域管理テーブル41
は、内部記憶装置4に割り当てられている。イベントロ
グ格納領域31には、図2の(a)の例に示すように、
例えば全体で10個のイベントログが格納でき、各イベ
ントログはイベントの発生した時刻を格納する時刻フィ
ールド31a、イベントの発生した管理対象ノード6a
〜6cを格納する発生元フィールド31b、発生したイ
ベントの内容を格納するメッセージ本体31cから構成
される。Event log storage area management table 41
Are assigned to the internal storage device 4. In the event log storage area 31, as shown in the example of FIG.
For example, a total of 10 event logs can be stored, and each event log stores a time field 31a that stores the time when the event occurred, and the managed node 6a where the event occurred.
A source field 31b for storing 6c to 6c, and a message body 31c for storing the content of the event that has occurred.
【0022】また、イベントログ書き込み手段25に対
して格納位置A01〜A10を指定することにより、イ
ベントログ格納領域中の任意の位置への格納が可能であ
る。Further, by designating the storage positions A01 to A10 to the event log writing means 25, the data can be stored at any position in the event log storage area.
【0023】イベントログ格納領域管理テーブル41
は、図3の(a)に示すように管理対象識別子フィール
ド41aによりイベントログが未格納の未使用領域、管
理対象ノード6a〜6cのどれに対応するイベントログ
であるかを識別することができる。Event log storage area management table 41
As shown in FIG. 3A, the management target identifier field 41a can identify which of the management target nodes 6a to 6c is an unused area in which the event log is not stored. .
【0024】さらに、未使用領域、管理対象ノード6a
〜6cの各々には、1つのイベントログがイベント格納
領域のどの位置に格納されているかを記憶しておく格納
位置エントリ41fと、それを各管理対象ノード6a〜
6c毎にイベントの発生時刻の順序にリストされた格納
位置エントリリスト41eとして保持する。また、格納
位置エントリリストの先頭へのポインタ41cと格納位
置エントリリストの終端へのポインタ41dも記憶して
いる。さらに、各管理対象ノード6a〜6cの格納位置
エントリ41fの数をエントリ数41bとして記憶す
る。Further, the unused area and the managed node 6a
.. to 6c, a storage location entry 41f for storing in which location in the event storage area one event log is stored, and each of the managed nodes 6a to
It is held as a storage location entry list 41e that is listed in the order of event occurrence times for each 6c. It also stores a pointer 41c to the beginning of the storage position entry list and a pointer 41d to the end of the storage position entry list. Further, the number of storage location entries 41f of each of the managed nodes 6a to 6c is stored as the number of entries 41b.
【0025】なお、図9には、本実施例の説明で使用す
る管理対象ノード6a〜6cで発生する13個のイベン
トを示す。図2の(a)、図3の(a)は、まだイベン
トを受信していない初期の状態のイベントログ格納領域
31とイベントログ格納領域管理テーブル41を示す。
尚、図2の(a)によれば1つのイベントブロックは、
イベントの発生した時刻であるイベント発生時刻31a
とイベントの発生した管理ノード6a〜6cであるイベ
ント発生元31bとイベントの内容であるイベントのメ
ッセージ本体31cとから構成されている。図2の
(b)、図3の(b)は、イベントを10個受信した状
態状態のイベントログ格納領域31とイベントログ格納
領域管理テーブル41を示す。図2の(c)、図3の
(c)は、さらにイベントを4つ受信したあとのイベン
トログ格納領域31とイベントログ格納領域管理テーブ
ル41を示している。Note that FIG. 9 shows 13 events that occur in the managed nodes 6a to 6c used in the description of this embodiment. 2A and 3A show the event log storage area 31 and the event log storage area management table 41 in the initial state where no event has been received yet.
According to FIG. 2A, one event block is
Event occurrence time 31a, which is the time when the event occurred
And an event generation source 31b which is the management nodes 6a to 6c in which the event has occurred, and an event message body 31c which is the content of the event. 2B and FIG. 3B show the event log storage area 31 and the event log storage area management table 41 in a state where 10 events have been received. 2C and FIG. 3C show the event log storage area 31 and the event log storage area management table 41 after receiving four more events.
【0026】図4を参照すると、制御部22によって制
御される本方式の全体の流れは、これによれば本実施例
は大きくイベント受信手段21が行うイベント受信処理
S101と、イベントログ格納位置決定手段24が行う
イベントログ格納位置選択処理S102と、イベントロ
グ書き込み手段25が行うイベントログ書き込み処理S
103と、イベントログ格納領域管理テーブル更新手段
23が行うイベントログ格納領域管理テーブル更新処理
S104と、からなる。Referring to FIG. 4, the overall flow of this system controlled by the control unit 22 is largely the same in this embodiment as the event receiving process S101 performed by the event receiving means 21 and the event log storage position determination. Event log storage position selection processing S102 performed by the means 24 and event log storage processing S performed by the event log writing means 25
103, and an event log storage area management table update processing S104 performed by the event log storage area management table updating means 23.
【0027】図5を参照すると、イベントログ格納位置
選択処理S102は、内部記憶装置4上の変数である現
−管理対象識別子の初期化ステップS201と、未使用
領域の有無を判定ステップS202と、内部記憶装置4
上の変数であるエントリ数41bMAXの初期化ステッ
プS203と、現−管理対象識別子を移動するステップ
S204と、エントリ数41bMAXの判定をするステ
ップS205と、内部記憶装置4上の変数である選択−
管理対象識別子の更新ステップS206と、現−管理対
象識別子の終端を判定するステップS207と、からな
る。Referring to FIG. 5, the event log storage location selection processing S102 includes an initialization step S201 of a current-managed object identifier, which is a variable on the internal storage device 4, and a determination step S202 of the presence / absence of an unused area. Internal storage device 4
Initialization step S203 of the number of entries 41bMAX which is the upper variable, step S204 of moving the current-managed object identifier, step S205 of determining the number of entries 41bMAX, and selection of the variable on the internal storage device-4.
It includes a step S206 of updating the managed object identifier and a step S207 of judging the end of the current-managed object identifier.
【0028】図6を参照すると、イベントログ書き込み
S103は、書き込みポインタの移動ステップS301
と、イベント情報の書き込みステップS302と、から
なる。Referring to FIG. 6, the event log writing S103 is performed by moving the writing pointer S301.
And event information writing step S302.
【0029】図7を参照すると、イベントログ格納領域
管理テーブル更新処理S104は、内部記憶装置4上の
変数である新規−管理対象識別子の初期化ステップS4
01と、選択−管理対象識別子の格納位置エントリの取
り外しを行うステップS402と、選択−管理対象識別
子のエントリ数41bを1減算するステップS403
と、新規−管理対象識別子へ格納位置エントリを挿入す
るステップS404と、新規−管理対象識別子のエント
リ数41bを1加算するステップS405と、からな
る。Referring to FIG. 7, the event log storage area management table updating process S104 is performed in a step S4 of initializing a new-managed object identifier which is a variable on the internal storage device 4.
01, step S402 of removing the selection-management target identifier storage location entry, and step S403 of subtracting 1 from the number of selection-management target identifier entries 41b.
And a step S404 of inserting a storage position entry into the new-management target identifier, and a step S405 of adding 1 to the entry number 41b of the new-management target identifier.
【0030】次に、以上のように構成された本実施の形
態の動作について詳細に説明する。Next, the operation of the present embodiment configured as above will be described in detail.
【0031】まず、図2の(a)、図3の(a)は、1
つのイベントも受信していない初期の状態のイベントロ
グ格納領域31とイベントログ格納領域管理テーブル4
1を示した図である。これを見ると、イベントログ格納
領域31には10個のイベントログが格納できるスペー
スがあり、イベントログ格納領域管理テーブル41には
上記のイベントログの格納できるスペースに対応する1
0個の格納位置エントリがあり全て管理対象識別子41
aの未使用領域に保持されている。尚、それぞれの格納
位置エントリ41fには予めイベントログ格納領域31
上の1つのイベントログを格納する先のアドレスが保持
されていると同時に図示はされていないが格納位置エン
トリ41f同士をリストするためのポインタ領域も用意
されている。以下に、図9に示す13個イベントを順に
受信したときの動作を説明する。First, FIG. 2A and FIG.
Event log storage area 31 and event log storage area management table 4 in an initial state in which no one event has been received
It is the figure which showed 1. Looking at this, the event log storage area 31 has a space that can store 10 event logs, and the event log storage area management table 41 corresponds to the space that can store the above event logs.
There are 0 storage location entries, all of which are management target identifiers 41
It is held in the unused area of a. It should be noted that the event log storage area 31 is previously stored in each storage location entry 41f.
A pointer area for listing the storage position entries 41f is also prepared at the same time as the destination address for storing the above one event log is held, although not shown. The operation when the 13 events shown in FIG. 9 are sequentially received will be described below.
【0032】図4乃至図7のフローチャートによると、
まず、最初にイベント受信手段21に制御が渡り、イベ
ント受信処理(S101)を実行する。イベント受信手
段21がt−1に発生した「ノード6a」からのイベン
トを受信すると、イベント受信処理は終了し、イベント
ログ格納位置選択手段23に制御が移り、イベントログ
格納位置選択処理(S102)が実行される。According to the flow charts of FIGS. 4 to 7,
First, the control is transferred to the event receiving means 21, and the event receiving process (S101) is executed. When the event receiving unit 21 receives the event from the "node 6a" that occurs at t-1, the event receiving process ends, the control shifts to the event log storage position selecting unit 23, and the event log storage position selecting process (S102). Is executed.
【0033】イベントログ格納位置選択手段23は、現
−管理対象識別子ポインタが、イベントログ格納領域管
理テーブル41上の先頭の管理対象識別子41aが「未
使用領域」を指すように初期化(S201)する。次
に、現−管理対象識別子ポインタが指す「未使用領域」
のエントリ数41bが1以上であるかどうかを調べ、イ
ベントログ格納領域31上に未使用領域が有るかどうか
を判断する(S202)。「未使用領域」のエントリ数
41bが10なので未使用領域があると判断し、現−管
理対象識別子ポインタが指す「未使用領域」を選択−管
理対象識別子ポインタに格納(S211)して、イベン
トログ格納位置選択処理(S102)が終了する。この
とき、選択−管理対象識別子ポインタには「未使用領
域」が設定されている。The event log storage position selection means 23 initializes the current-management object identifier pointer so that the first management object identifier 41a on the event log storage area management table 41 points to an "unused area" (S201). To do. Next, the "unused area" pointed to by the current-managed identifier pointer
It is checked whether the number of entries 41b of 1 is 1 or more, and it is determined whether there is an unused area in the event log storage area 31 (S202). Since the number of entries 41b of the "unused area" is 10, it is determined that there is an unused area, the "unused area" pointed to by the current-managed object identifier pointer is selected-stored in the managed object identifier pointer (S211), and the event The log storage position selection process (S102) ends. At this time, "unused area" is set in the selection-management target identifier pointer.
【0034】次に、イベントログ書き込み手段25に制
御が移り、イベントログ書き込み処理(S103)が実
行される。イベントログ書き込み手段25は、選択−管
理対象識別子ポインタが指し示す「未使用領域」の格納
位置エントリリスト41eの先頭にある格納位置エント
リ41fが示すイベントログ格納領域31上の位置「A
−01」に書き込みポインタを移動する(S301)。
これは、UNIXのファイルであれば、lseek関数など
で実行される。次に、イベント受信手段21が先に受信
したt−1に発生したイベントの情報を「A−01」書
き込んで(S302)、イベントログ書き込み処理(S
103)が終了する。Next, the control is transferred to the event log writing means 25, and the event log writing process (S103) is executed. The event log writing means 25 determines the position “A on the event log storage area 31 indicated by the storage position entry 41f at the head of the storage position entry list 41e of the“ unused area ”pointed to by the selection-management target identifier pointer.
The write pointer is moved to "-01" (S301).
If it is a UNIX file, this is executed by the lseek function or the like. Next, the event receiving means 21 writes the information of the event that occurred earlier at t-1 and occurred at "A-01" (S302), and the event log writing process (S302).
103) ends.
【0035】次に、イベントログ格納領域管理テーブル
更新手段24に制御が移り、イベントログ格納領域管理
テーブル更新処理(S104)が実行される。イベント
ログ格納領域管理テーブル更新手段24は、新規−管理
対象識別子ポインタに、イベント受信手段21が先に受
信したt−1に発生したイベントの発信元ノード「ノー
ド6a」を設定する(S401)。次に、選択−管理対
象識別子ポインタが指し示す「未使用領域」の格納位置
エントリリスト41eから先頭にある「A−01]を指
す格納位置エントリ41fを取り外す(S402)。こ
れにより、「未使用領域」の格納位置エントリリスト4
1eの先頭は「A−02」を指す格納位置エントリ41
fになる。次に、選択−管理対象識別子ポインタが指し
示す「未使用領域」のエントリ数41bを1減算し、9
とする(S403)。次に、新規−管理対象識別子が指
す「ノード6a」の格納位置エントリリスト41eの終
端に、先に取り外した格納位置エントリ41fを挿入す
る(S404)。「ノード6a」の格納位置エントリ
は、まだ空であったので、この挿入により「ノード6
a」の格納位置エントリリスト41eの先頭と終端はい
ずれも「A−01」を指す格納位置エントリ41fとな
る。次に、新規−管理対象識別子が指す「ノード6a」
のエントリ数41bを1加算し、1とする(S40
5)。これで、イベントログ格納領域管理テーブル更新
処理(S104)が終了する。Next, the control is transferred to the event log storage area management table updating means 24, and the event log storage area management table updating processing (S104) is executed. The event log storage area management table updating means 24 sets the source node “node 6a” of the event occurring at t−1 previously received by the event receiving means 21 in the new-management target identifier pointer (S401). Next, the storage position entry 41f pointing to "A-01" at the beginning is removed from the storage position entry list 41e of the "unused region" pointed to by the selection-management target identifier pointer (S402). ] Storage location entry list 4
The beginning of 1e is a storage location entry 41 pointing to "A-02"
f. Next, the number of entries 41b of the "unused area" pointed to by the selection-management target identifier pointer is decremented by 1 to obtain 9
(S403). Next, the previously removed storage location entry 41f is inserted at the end of the storage location entry list 41e of the "node 6a" pointed to by the new-managed object identifier (S404). Since the storage location entry of "node 6a" was still empty, this insertion resulted in "node 6a".
The beginning and the end of the storage location entry list 41e for "a" are storage location entries 41f that point to "A-01". Next, “node 6a” indicated by the new-managed object identifier
The number of entries 41b of 1 is incremented by 1 to be 1 (S40
5). This completes the event log storage area management table update processing (S104).
【0036】以上が、1つのイベントを受信したときの
一通りの処理である。以降、イベントログ格納領域の使
用済み領域が上限に達するまで、同様の処理が実行さ
れ、図9のt−2〜t−10に発生したイベントログを
格納する。この時の、イベントログ格納領域31の状態
を図2の(b)に、イベントログ格納領域管理テーブル
41の状態を図3の(b)に示す。The above is the general processing when one event is received. Thereafter, similar processing is executed until the used area of the event log storage area reaches the upper limit, and the event log generated at t-2 to t-10 in FIG. 9 is stored. The state of the event log storage area 31 at this time is shown in FIG. 2B, and the state of the event log storage area management table 41 is shown in FIG. 3B.
【0037】さらに、イベントログ格納領域の使用済み
領域が上限に達した後にイベントを受信した場合の動作
を説明する。イベント受信手段21が図9に示す t−
11に発生した「ノード6c」のイベントを受信する
と、イベント受信処理は終了し、イベントログ格納位置
選択手段23に制御が移り、イベントログ格納位置選択
処理(S102)が実行される。イベントログ格納位置
選択手段23は、現−管理対象識別子ポインタを初期化
し(S201)、現−管理対象識別子ポインタが指す
「未使用領域」のエントリ数41bが1以上であるかど
うかを調べる(S202)。このとき、図3の(b)に
あるように「未使用領域」のエントリ数41bが0なの
で、未使用領域がないと判断し、最も多くの格納領域を
使用するノードを管理対象ノード6a、管理対象ノード
6b、管理対象ノード6cから見つける処理を開始す
る。The operation when an event is received after the used area of the event log storage area reaches the upper limit will be described. The event receiving means 21 is t-
When the event of the "node 6c" that has occurred in 11 is received, the event reception process ends, control is transferred to the event log storage position selection means 23, and the event log storage position selection process (S102) is executed. The event log storage position selection means 23 initializes the current-management target identifier pointer (S201), and checks whether the number 41b of entries in the "unused area" pointed to by the current-management target identifier pointer is 1 or more (S202). ). At this time, as shown in (b) of FIG. 3, since the number of entries 41b of the "unused area" is 0, it is determined that there is no unused area, and the node that uses the most storage area is the managed node 6a. The process of finding from the managed nodes 6b and 6c is started.
【0038】まず、エントリMAX変数を0に初期化
(S203)し、現−管理対象識別子ポインタを次の
「ノード6a」に移動する(S204)。次に、現−管
理対象識別子ポインタ「ノード6a」のエントリ数41
bがエントリMAX変数より大きい(>)かを比較する
(S205)。ここでは、エントリMAX変数が0、エ
ントリ数41bが5なので、エントリMAX変数を現−
管理対象識別子ポインタ「ノード6a」のエントリ数4
1bである5に更新し、この「ノード6a」を選択候補
として選択−管理対象識別子ポインタに設定する(S2
06)。次に、現−管理対象識別子ポインタがイベント
ログ格納領域管理テーブル41の終端であるか判定する
(S207)。「ノード6a」は終端ではないので、現
−管理対象識別子ポインタを次の「ノード6b」に移動
する(S204)。次に、現−管理対象識別子ポインタ
「ノード6b」のエントリ数41bがエントリMAX変
数より大きい(>)かを比較する(S205)。ここで
はエントリMAX変数が5,エントリ数41bが5で条
件を満たさないので、ステップS206をスキップす
る。次に、現−管理対象識別子ポインタがイベントログ
格納領域管理テーブル41の終端であるか判定する(S
207)。「ノード6b」は終端ではないので、現−管
理対象識別子ポインタを次の「ノード6c」に移動する
(S204)。次に、現−管理対象識別子ポインタ「ノ
ード6c」のエントリ数41bがエントリMAX変数よ
り大きい(>)かを比較する(S205)。ここではエ
ントリMAX変数が5,エントリ数41bが0で条件を
満たさないので、ステップS206をスキップする。次
に、現−管理対象識別子ポインタがイベントログ格納領
域管理テーブル41の終端であるか判定する(S20
7)。「ノード6c」は終端なので、イベントログ格納
位置選択ステップ(S102)を終了する。このとき、
選択−管理対象識別子ポインタには「ノード6a」が設
定されており、「ノード6a」の格納位置エントリリス
ト41eの先頭にある最古のイベントログに対応する格
納位置エントリ41fを取り外し「ノード6c」の格納
位置エントリリスト41eの終端にリストする等を行う
ことで先に説明したのと同様に、イベントログ書き込み
処理(S103)とイベントログ格納領域管理テーブル
更新処理(S104)を実行する。以下、図9に示した
t−12〜t−13のイベントログの格納についても同
様の処理となるし、さらにイベント発生した場合も同様
の処理となる。以上、図9に示したt−1からt−13
の全イベントを受信した時点でのイベントログ格納領域
31の状態を図2の(c)に、イベントログ格納領域管
理テーブル41の状態を図3の(c)に示す。これによ
れば、各管理対象毎の保存されているイベントログ数
は、ノード6aが3個、ノード6bが4個、ノード6c
が3個となる。格納されているイベントが管理対象ノー
ド6a〜6cで均等になっていることがわかる。First, the entry MAX variable is initialized to 0 (S203), and the current-managed object identifier pointer is moved to the next "node 6a" (S204). Next, the number of entries 41 of the current-managed target identifier pointer “node 6a” 41
It is compared whether or not b is larger than the entry MAX variable (>) (S205). Here, since the entry MAX variable is 0 and the number of entries 41b is 5, the entry MAX variable is present-
Number of entries of managed object identifier pointer "node 6a" 4
1b is updated to 5, and this "node 6a" is set as a selection candidate in the selection-management target identifier pointer (S2).
06). Next, it is determined whether the current-management target identifier pointer is the end of the event log storage area management table 41 (S207). Since "node 6a" is not the end, the current-managed object identifier pointer is moved to the next "node 6b" (S204). Next, it is compared whether the number of entries 41b of the current-managed object identifier pointer "node 6b" is larger than the entry MAX variable (>) (S205). Here, since the entry MAX variable is 5 and the number of entries 41b is 5, which does not satisfy the condition, step S206 is skipped. Next, it is determined whether the current-management target identifier pointer is the end of the event log storage area management table 41 (S
207). Since "node 6b" is not the end, the current-managed object identifier pointer is moved to the next "node 6c" (S204). Next, it is compared whether or not the number of entries 41b of the current-managed object identifier pointer "node 6c" is larger than the entry MAX variable (>) (S205). Here, since the entry MAX variable is 5 and the entry number 41b is 0, which does not satisfy the condition, step S206 is skipped. Next, it is determined whether the current-management target identifier pointer is the end of the event log storage area management table 41 (S20).
7). Since the "node 6c" is the terminal end, the event log storage position selection step (S102) ends. At this time,
"Node 6a" is set in the selection-management target identifier pointer, and the storage position entry 41f corresponding to the oldest event log at the head of the storage position entry list 41e of "node 6a" is removed and "node 6c" is removed. The event log writing process (S103) and the event log storage area management table updating process (S104) are executed in the same manner as described above by performing a list or the like at the end of the storage position entry list 41e. Hereinafter, the same processing is performed for storing the event logs t-12 to t-13 illustrated in FIG. 9, and the same processing is performed when an event occurs. As described above, t-1 to t-13 shown in FIG.
The state of the event log storage area 31 at the time of receiving all the events is shown in (c) of FIG. 2, and the state of the event log storage area management table 41 is shown in (c) of FIG. According to this, the number of event logs stored for each management target is 3 for node 6a, 4 for node 6b, and 6c for node 6c.
Will be three. It can be seen that the stored events are even among the managed nodes 6a to 6c.
【0039】尚、以上の説明においては、管理対象ノー
ド6a〜6c毎に格納されるイベントログ数を均等に配
分するような構成であったが、管理対象ノード6a〜6
c毎に配分係数を設けることにより、意図的に配分を傾
斜させることも可能である。例えばイベントログ格納領
域のイベントログの格納できる大きさが300あるとし
て仮に3つのノードからなり、それぞれノード6a、ノ
ード6b、ノード6cの配分係数をパーセントで表した
時、50%、30%、20%と指定されたとする。この
時の各ノードの保有するイベントログが格納できる上限
値はそれぞれ150、90、60となる。システム開始
時、この値をイベントログ格納領域管理テーブル41中
に設定しておく。あるノードで新規にイベントが発生し
たとき、未使用領域があれば前述したのと同様に処理を
行う。未使用領域が無くなった状態で新規にイベントが
発生すると、ノードに割り当てた上限値と当該ノードの
格納済みのエントリ数41bを比較する。この時、ノー
ド6bで新規にイベントが発生し、格納済みのエントリ
数41bが180、40、80であったとする。各ノー
ドについて、上限値との差分を求めるとノード6aは3
0の超過、ノード6bは−50の超過、ノード6cは2
0の超過となる。差分の最も大きいノード6aの最古の
イベントログの格納領域を取り出しこれをノード6bの
新規に発生したイベントの格納領域に使用することにな
る。この結果、各ノードの保有するエントリ数41b
は、それぞれ179、41、80と変化し配分値に近づ
くことになる。In the above description, the number of event logs stored in each of the managed nodes 6a to 6c is evenly distributed. However, the managed nodes 6a to 6c are distributed.
It is also possible to intentionally incline the distribution by providing a distribution coefficient for each c. For example, assuming that the event log storage area has a size that can store event logs of 300, it is assumed that the nodes are composed of three nodes, and the distribution coefficients of the nodes 6a, 6b, and 6c are expressed as percentages of 50%, 30%, and 20%, respectively. Suppose you have specified%. At this time, the upper limit values that can be stored in the event log held by each node are 150, 90, and 60, respectively. This value is set in the event log storage area management table 41 when the system is started. When an event newly occurs at a certain node, if there is an unused area, the same process as described above is performed. When a new event occurs in a state where there is no unused area, the upper limit value assigned to the node is compared with the stored entry number 41b of the node. At this time, it is assumed that a new event occurs in the node 6b and the number of stored entries 41b is 180, 40, 80. For each node, the difference between the upper limit value and
0 exceeded, node 6b exceeded -50, node 6c reached 2
0 is exceeded. The storage area of the oldest event log of the node 6a having the largest difference is taken out and used as the storage area of the newly generated event of the node 6b. As a result, the number of entries 41b held by each node
Changes to 179, 41, and 80, respectively, and approaches the distribution value.
【0040】次に、本発明の第2の実施の形態について
図面を参照して説明する。Next, a second embodiment of the present invention will be described with reference to the drawings.
【0041】第1の実施の形態の説明と同様に、図4乃
至図7のフローチャートによると、まず、最初にイベン
トを受信する第1のステップに制御が渡り、イベント受
信処理(S101)を実行する。イベントを受信する第
1のステップがt−1に発生した「ノード6a」のイベ
ントを受信すると、イベント受信処理は終了し、第2の
ステップに制御が移り、受信したイベントをイベントロ
グ格納領域31に格納するための格納位置エントリリス
ト41eを選択する処理が実行される。Similar to the description of the first embodiment, according to the flowcharts of FIGS. 4 to 7, first, control is passed to the first step of receiving an event, and the event receiving process (S101) is executed. To do. When the first step of receiving an event receives the event of the "node 6a" that occurred at t-1, the event receiving process ends, the control moves to the second step, and the received event is stored in the event log storage area 31. The process of selecting the storage location entry list 41e to be stored in is executed.
【0042】この第2のステップでは、前述したのと同
様に、現−管理対象識別子ポインタが、イベントログ格
納領域管理テーブル41上の先頭の「未使用領域」を指
すように初期化(S201)する。次に、現−管理対象
識別子ポインタが指す「未使用領域」のエントリ数41
bが1以上であるかどうかを調べ、イベントログ格納領
域31上に未使用領域が有るかどうかを判断する(S2
02)。「未使用領域」のエントリ数41bが10なの
で未使用領域があると判断し、現−管理対象識別子ポイ
ンタが指す「未使用領域」を選択−管理対象識別子ポイ
ンタに格納(S211)して、第2のステップ(S10
2)が終了する。このとき、選択−管理対象識別子ポイ
ンタには「未使用領域」が設定されている。In the second step, the current-managed object identifier pointer is initialized so as to point to the first "unused area" on the event log storage area management table 41, as described above (S201). To do. Next, the number of entries 41 in the "unused area" pointed to by the current-managed object identifier pointer 41
It is checked whether or not b is 1 or more, and it is determined whether or not there is an unused area in the event log storage area 31 (S2
02). Since the number of entries 41b of the "unused area" is 10, it is determined that there is an unused area, and the "unused area" pointed to by the current-managed object identifier pointer is selected-stored in the managed object identifier pointer (S211). Step 2 (S10
2) ends. At this time, "unused area" is set in the selection-management target identifier pointer.
【0043】次に、第3のステップに制御が移り、イベ
ントログの書き込み処理(S103)が実行される。第
3のステップは、選択−管理対象識別子ポインタが指し
示す「未使用領域」の格納位置エントリリスト41eの
先頭にある格納位置エントリが示す位置「A−01」に
書き込みポインタを移動する(S301)。先に受信し
たt−1に発生したイベントの情報を「A−01」書き
込んで(S302)、イベントログ書き込み処理(S1
03)が終了する。Next, the control moves to the third step, and the event log writing process (S103) is executed. In the third step, the write pointer is moved to the position "A-01" indicated by the storage position entry at the beginning of the storage position entry list 41e of the "unused area" indicated by the selection-management target identifier pointer (S301). "A-01" is written in the information of the event that occurred earlier at t-1 (S302), and the event log writing process (S1) is performed.
03) ends.
【0044】次に、第4のステップに制御が移り、新規
−管理対象識別子ポインタに、先に受信したt−1に発
生したイベントの発信元ノード「ノード6a」を設定す
る(S401)。次に、選択−管理対象識別子ポインタ
が指し示す「未使用領域」の格納位置エントリリスト4
1eから先頭にある「A−01]を指す格納位置エント
リを取り外す(S402)。これにより、「未使用領
域」の格納位置エントリリスト41eの先頭は「A−0
2」を指す格納位置エントリ41fになる。次に、選択
−管理対象識別子ポインタが指し示す「未使用領域」の
エントリ数41bを1減算し、9とする(S403)。
次に、新規−管理対象識別子が指す「ノード6a」の格
納位置エントリリスト41eの終端に、先に取り外した
格納位置エントリ41fを挿入する(S404)。「ノ
ード6a」の格納位置エントリリスト41eは、まだ空
であったので、この挿入により「ノード6a」の格納位
置エントリリスト41eの先頭と終端はいずれも「A−
01」を指すことになる。次に、新規−管理対象識別子
が指す「ノード6a」のエントリ数41bを1加算し、
1とする(S405)。これで、ステップ4のイベント
ログ格納領域管理テーブル41の更新処理(S104)
が終了する。Then, the control shifts to the fourth step, and the originator node "node 6a" of the event occurred at t-1 received previously is set to the new-managed object identifier pointer (S401). Next, the storage location entry list 4 of the "unused area" indicated by the selection-management target identifier pointer
The storage location entry that points to "A-01" at the top of 1e is removed (S402), so that the beginning of the storage location entry list 41e of "unused area" is "A-0."
It becomes the storage location entry 41f pointing to "2". Next, the entry number 41b of the "unused area" pointed to by the selection-management target identifier pointer is decremented by 1 to be 9 (S403).
Next, the previously removed storage location entry 41f is inserted at the end of the storage location entry list 41e of the "node 6a" pointed to by the new-managed object identifier (S404). Since the storage location entry list 41e of "node 6a" is still empty, this insertion causes the beginning and the end of the storage location entry list 41e of "node 6a" to be "A-
01 ”. Next, add 1 to the number of entries 41b of "node 6a" pointed to by the new-managed identifier,
It is set to 1 (S405). With this, the update processing of the event log storage area management table 41 in step 4 (S104)
Ends.
【0045】以上が、1つのイベントを受信したときの
一通りの処理である。以降、イベントログ格納領域の使
用済み領域が上限に達するまで、同様の処理で図9のt
−2〜t−10に発生したイベントログを格納する。こ
の時の、イベントログ格納領域31の状態を図2の
(b)に、イベントログ格納領域管理テーブル41の状
態を図3の(b)に示す。The above is the general processing when one event is received. Thereafter, similar processing is performed until the used area of the event log storage area reaches the upper limit, as shown in t of FIG.
Stores the event log that occurred at -2-t-10. The state of the event log storage area 31 at this time is shown in FIG. 2B, and the state of the event log storage area management table 41 is shown in FIG. 3B.
【0046】さらに、イベントログ格納領域31が上限
に達した後にイベントを受信した場合の動作を説明す
る。第1のステップが図9に示す t−11に発生した
「ノード6c」のイベントを受信すると、イベント受信
処理は終了し、第2のステップに制御が移ると、現−管
理対象識別子ポインタを初期化し(S201)、現−管
理対象識別子ポインタが指す「未使用領域」のエントリ
数41bが1以上であるかどうかを調べる(S20
2)。このとき、図3の(b)にあるように「未使用領
域」のエントリ数41bが0なので、未使用領域がない
と判断し、最も多くの格納領域を使用する管理対象ノー
ド6a〜6cを見つける処理を開始する。Further, the operation when an event is received after the event log storage area 31 reaches the upper limit will be described. When the first step receives the event of the "node 6c" that occurs at t-11 shown in FIG. 9, the event receiving process ends, and when the control moves to the second step, the current-managed object identifier pointer is initialized. (S201), and it is checked whether or not the number of entries 41b of the "unused area" pointed to by the current-managed object identifier pointer is 1 or more (S20).
2). At this time, as shown in (b) of FIG. 3, since the number of entries 41b of the "unused area" is 0, it is determined that there is no unused area, and the managed nodes 6a to 6c that use the most storage areas are determined. Start the process of finding.
【0047】まず、エントリMAX変数を0に初期化
(S203)し、現−管理対象識別子ポインタを次の
「ノード6a」に移動する(S204)。次に、現−管
理対象識別子ポインタ「ノード6a」のエントリ数41
bがエントリMAX変数より大きい(>)かを比較する
(S205)。ここでは、エントリMAX変数が0、エ
ントリ数41bが5なので、エントリMAX変数を現−
管理対象識別子ポインタ「ノード6a」のエントリ数4
1bの持つ5に更新し、この「ノード6a」を選択候補
として選択−管理対象識別子ポインタに設定する(S2
06)。次に、現−管理対象識別子ポインタがイベント
ログ格納領域管理テーブル41の終端であるか判定する
(S207)。「ノード6a」は終端ではないので、現
−管理対象識別子ポインタを次の「ノード6b」に移動
する(S204)。次に、現−管理対象識別子ポインタ
「ノード6b」のエントリ数41bがエントリMAX変
数より大きい(>)かを比較する(S205)。ここで
はエントリMAX変数が5,エントリ数41bが5で条
件を満たさないので、ステップS206をスキップす
る。次に、現−管理対象識別子ポインタがイベントログ
格納領域管理テーブル41の終端であるか判定する(S
207)。「ノード6b」は終端ではないので、現−管
理対象識別子ポインタを次の「ノード6c」に移動する
(S204)。次に、現−管理対象識別子ポインタ「ノ
ード6c」のエントリ数41bがエントリMAX変数よ
り大きい(>)かを比較する(S205)。ここではエ
ントリMAX変数が5,エントリ数41bが0で条件を
満たさないので、ステップS206をスキップする。次
に、現−管理対象識別子ポインタがイベントログ格納領
域管理テーブル41の終端であるか判定する(S20
7)。「ノード6c」は終端なので、第2のステップ
(S102)を終了する。このとき、選択−管理対象識
別子ポインタには「ノード6a」が設定されており、先
に説明したのと同様に、第3のステップ(S103)と
第4のステップ(S104)を実行する。以下、図9に
示したt−12〜t−13のイベントログの格納につい
ても同様の処理となるし、さらにイベント発生した場合
も同様の処理となる。以上、図9に示したt−1からt
−13の全イベントを受信した時点でのイベントログ格
納領域31の状態を図2の(c)に、イベントログ格納
領域管理テーブル41の状態を図3の(c)に示す。こ
れによれば、各管理対象ノード6a〜6c毎の保存され
ているイベントログ数は、管理対象ノード6a〜6cで
均等になっていることがわかる。First, the entry MAX variable is initialized to 0 (S203), and the current-managed object identifier pointer is moved to the next "node 6a" (S204). Next, the number of entries 41 of the current-managed target identifier pointer “node 6a” 41
It is compared whether or not b is larger than the entry MAX variable (>) (S205). Here, since the entry MAX variable is 0 and the number of entries 41b is 5, the entry MAX variable is present-
Number of entries of managed object identifier pointer "node 6a" 4
1b is updated to 5, and this "node 6a" is set as a selection candidate in the selection-management target identifier pointer (S2).
06). Next, it is determined whether the current-management target identifier pointer is the end of the event log storage area management table 41 (S207). Since "node 6a" is not the end, the current-managed object identifier pointer is moved to the next "node 6b" (S204). Next, it is compared whether the number of entries 41b of the current-managed object identifier pointer "node 6b" is larger than the entry MAX variable (>) (S205). Here, since the entry MAX variable is 5 and the number of entries 41b is 5, which does not satisfy the condition, step S206 is skipped. Next, it is determined whether the current-management target identifier pointer is the end of the event log storage area management table 41 (S
207). Since "node 6b" is not the end, the current-managed object identifier pointer is moved to the next "node 6c" (S204). Next, it is compared whether or not the number of entries 41b of the current-managed object identifier pointer "node 6c" is larger than the entry MAX variable (>) (S205). Here, since the entry MAX variable is 5 and the entry number 41b is 0, which does not satisfy the condition, step S206 is skipped. Next, it is determined whether the current-management target identifier pointer is the end of the event log storage area management table 41 (S20).
7). Since the "node 6c" is the terminal end, the second step (S102) ends. At this time, "node 6a" is set in the selection-management target identifier pointer, and the third step (S103) and the fourth step (S104) are executed in the same manner as described above. Hereinafter, the same processing is performed for storing the event logs t-12 to t-13 illustrated in FIG. 9, and the same processing is performed when an event occurs. As described above, from t-1 to t shown in FIG.
The state of the event log storage area 31 at the time of receiving all the events of −13 is shown in (c) of FIG. 2, and the state of the event log storage area management table 41 is shown in (c) of FIG. According to this, it is understood that the number of saved event logs for each of the managed nodes 6a to 6c is equal in the managed nodes 6a to 6c.
【0048】次に、本発明の第3の実施の形態について
図面を参照して説明する。図10を参照すると、発明の
第3の実施の形態は、本発明の第2の実施の形態の各ス
テップをコンピュータ100に実行させるプログラムを
記録する記録媒体120である。Next, a third embodiment of the present invention will be described with reference to the drawings. Referring to FIG. 10, the third exemplary embodiment of the invention is a recording medium 120 for recording a program that causes a computer 100 to execute each step of the second exemplary embodiment of the present invention.
【0049】[0049]
【発明の効果】以上説明したように、本発明のイベント
ログ格納方式によれば、格納されたイベントログがイベ
ントログ格納領域31の上限に達するまでは管理対象ノ
ード6a〜6c毎のイベントログ数に上限なくイベント
ログを蓄積できるとともに、イベントログ格納領域31
全体が使用済みに達した後は、有限なイベントログ格納
領域31の範囲内で各管理対象ノード6a〜6c毎に保
存されるイベントログ数が均等になるように各管理対象
ノード6a〜6cへイベントログ格納領域31を配分で
きる。また、管理対象ノード6a〜6c毎に配分係数を
設けることにより、意図的に配分を傾斜させることも可
能である。As described above, according to the event log storage method of the present invention, the number of event logs for each managed node 6a to 6c until the stored event log reaches the upper limit of the event log storage area 31. Event logs can be stored in the event log storage area 31
After the whole has reached the end of use, the managed nodes 6a to 6c are distributed to the managed nodes 6a to 6c so that the number of event logs stored in each managed node 6a to 6c becomes equal within the limited event log storage area 31. The event log storage area 31 can be distributed. Further, it is possible to intentionally incline the distribution by providing a distribution coefficient for each of the managed nodes 6a to 6c.
【図1】本発明の第一の実施の形態に係るイベントログ
格納方式を適用するシステムの構成を示すブロック図で
ある。FIG. 1 is a block diagram showing a configuration of a system to which an event log storage system according to a first embodiment of the present invention is applied.
【図2】図1中のイベントログ格納領域の構造を示すと
ともに、イベントログ格納領域にイベントログが一つも
ない状態、全て使用された直後の状態、全て使用された
後さらに4つのイベントを登録した状態を説明する図で
ある。FIG. 2 shows a structure of an event log storage area in FIG. 1, a state where there is no event log in the event log storage area, a state immediately after being completely used, and four more events are registered after being completely used. It is a figure explaining the state which was done.
【図3】図1中のイベントログ格納領域管理テーブル4
1の構造を図2の各状態に応じて説明する図である。FIG. 3 is an event log storage area management table 4 in FIG.
It is a figure explaining the structure of 1 according to each state of FIG.
【図4】図1中の制御部が行う制御を示すフローチャー
トである。FIG. 4 is a flowchart showing control performed by a control unit in FIG.
【図5】図1中のイベントログ格納位置選択手段の処理
を示すフローチャートである。5 is a flowchart showing a process of an event log storage position selection means in FIG.
【図6】図1中のイベントログ書き込み手段の処理を示
すフローチャートである。FIG. 6 is a flowchart showing a process of an event log writing unit in FIG.
【図7】図1中のイベントログ格納領域管理テーブル更
新手段の処理を示すフローチャートである。FIG. 7 is a flowchart showing a process of an event log storage area management table updating means in FIG.
【図8】従来技術によるイベントログ格納例を説明する
ための図である。FIG. 8 is a diagram illustrating an example of storing an event log according to a conventional technique.
【図9】実施例の説明で用いる受信イベントを時系列に
並べた図である。FIG. 9 is a diagram in which received events used in the description of the embodiment are arranged in time series.
【図10】本発明の第3の実施の形態を示すブロック図
である。FIG. 10 is a block diagram showing a third embodiment of the present invention.
1 マネージャ 2 データ処理装置 3 外部記憶装置 4 内部記憶装置 5 ネットワーク 6a、6b、6c 管理対象ノード 21 イベント受信手段 22 制御部 23 イベントログ格納領域管理テーブル更新手段 24 イベントログ格納位置選択手段 25 イベントログ書き込み手段 31 イベントログ格納領域 31a イベント発生時刻 31b イベント発生元 31c イベントのメッセージ本体 41 イベントログ格納領域管理テーブル 41a 管理対象識別子 41b エントリ数 41c 格納位置エントリリストの先頭へのポインタ 41d 格納位置エントリリストの終端へのポインタ 41e 格納位置エントリリスト 41f 格納位置エントリ 1 manager 2 Data processing device 3 external storage 4 Internal storage 5 network 6a, 6b, 6c Managed node 21 Event reception means 22 Control unit 23 Event Log Storage Area Management Table Update Means 24 Event log storage location selection means 25 Event log writing means 31 Event log storage area 31a Event occurrence time 31b Event source Message body of 31c event 41 Event log storage area management table 41a Managed object identifier 41b Number of entries 41c Pointer to the beginning of the storage position entry list 41d Pointer to the end of the storage location entry list 41e Storage location entry list 41f Storage location entry
Claims (7)
発生した場合、それをイベントとしてネットワーク経由
でネットワーク管理マネージャ装置に収集し、イベント
ログとしてネットワーク管理マネージャ装置の外部記憶
装置に格納する機能を備えたイベントログ格納システム
であって、 (a)ネットワークを介して前記管理対象ノードから前
記イベントを受信するイベント受信手段と、 (b)前記イベントログが格納された領域と、前記イベ
ントログが格納されていない未使用領域とに区分したイ
ベントログ格納領域が設けられた前記外部記憶装置であ
って、前記イベント受信手段が受信した前記イベントが
前記イベントログとして格納される前記イベントログ格
納領域が設けられた前記外部記憶装置と、 (c)前記ネットワーク管理マネージャ装置に備えられ
た内部記憶装置であって、前記イベントログ格納領域に
おけるイベントログ格納位置が予め記憶された格納位置
エントリのリストを有する格納位置エントリリストであ
って、前記管理対象ノードで発生した前記イベントログ
については前記管理対象ノード毎にそれが格納された時
系列順序に従うリスト構造として、また、前記未使用領
域についてもリスト構造として記憶した前記格納位置エ
ントリリストと、前記格納位置エントリリストにおける
前記格納位置エントリの数を、前記管理対象ノードと前
記未使用領域の各々について記憶したイベントログ格納
領域管理テーブルと、を有する前記内部記憶装置と、 (f)前記イベント受信手段が前記イベントを受信する
と、前記イベントログ格納領域管理テーブルを検索し、
前記未使用領域の前記格納位置エントリがあれば、前記
未使用領域の前記格納位置エントリリストの先頭の前記
格納位置エントリを選択し、前記未使用領域の前記格納
位置エントリがなければ、前記格納位置エントリの数の
最も多い前記管理対象ノードの前記格納位置エントリリ
ストの先頭の前記格納位置エントリを選択するイベント
ログ格納位置選択手段と、 (g)前記イベントログ格納位置選択手段が選択した前
記格納位置エントリが記憶する位置に、受信した前記イ
ベントを前記イベントログとして書き込むイベントログ
書き込み手段と、 (h)前記イベントログ格納位置選択手段が前記選択し
た格納位置エントリを前記格納位置エントリリストから
取り外し、前記格納領域管理テーブルの前記取り外しさ
れた格納位置エントリリストの前記格納位置エントリの
数を1減算し、前記イベントを送信した前記管理対象ノ
ードの前記格納位置エントリリストの終端に前記取り外
した格納位置エントリをリストし、前記格納領域管理テ
ーブルの前記リストされた格納位置エントリリストの前
記格納位置エントリの数を1加算するイベントログ格納
領域管理テーブル更新手段と、を有することを特徴とす
るイベントログ格納システム。1. When a failure occurs in a managed node of the network, the function is collected as an event in the network management manager device via the network and is stored as an event log in the external storage device of the network management manager device . An event log storage system, comprising: (a) an event receiving unit that receives the event from the managed node via a network; (b) an area in which the event log is stored;
It is divided into an unused area where no log is stored.
The external storage device is provided with a vent log storage area.
The event received by the event receiving means is
The event log rating stored as the event log
The external storage device provided with a storage area; and (c) the network management manager device.
Internal storage device, which is stored in the event log storage area
Storage location of the event log storage location in advance
A storage location entry list having a list of entries
Therefore, the event log generated in the managed node
For when it was stored for each of the managed nodes
As a list structure that follows the sequence order,
Areas are also stored as a list structure.
Entry list and the storage location entry list
The number of storage location entries is
Event log storage for each unused area
And the internal storage device having a region management table, when receiving the event (f) the event receiving means, searches the event log storage area management table,
If there is the storage location entry of the unused area, the storage location entry at the head of the storage location entry list of the unused area is selected, and if there is no storage location entry of the unused area, the storage location Event log storage position selecting means for selecting the first storage position entry of the storage position entry list of the managed node having the largest number of entries; and (g) the storage position selected by the event log storage position selecting means. Event log writing means for writing the received event as the event log at a position stored by an entry; (h) the event log storage location selecting means removes the storage location entry selected from the storage location entry list, The removed storage location entry list of the storage area management table 1 is subtracted from the storage location entry list, the removed storage location entry is listed at the end of the storage location entry list of the managed node that has transmitted the event, and the listed storage location entry is listed in the storage area management table. An event log storage area management table updating means for adding 1 to the number of the storage position entries in the storage position entry list.
ントログとして格納するとき、前記イベントログ格納領
域に前記未使用領域が無いと、前記管理対象ノード毎に
格納されるイベントログ数を均等化して格納することを
特徴とする請求項1記載のイベントログ格納システム。Wherein when storing the event received newly as the event <br/> Ntorogu, when the unused area in the event log storage area is not present, the number of event logs stored in each of the managed node The event log storage system according to claim 1, wherein the event logs are stored evenly.
ントログとして格納するとき、前記イベントログ格納領
域に前記未使用領域が無いと、前記イベントログが最も
多く格納されている前記管理対象ノードの中の最古に格
納された前記イベントログの格納場所に新規に受信した
前記イベントを格納することを特徴とする請求項2記載
のイベントログ格納システム。Wherein when storing the event received newly as the event <br/> Ntorogu, when the unused area in the event log storage area is not, the management which the event log is most frequently stored It received new to the location of the event log stored in the oldest among the nodes
The event log storage system according to claim 2, wherein the event is stored.
ントログとして格納するとき、前記イベントログ格納領
域に前記未使用領域がある場合は、前記未使用領域に格
納することを特徴とする請求項1記載のイベントログ格
納システム。Wherein when storing the event received newly as the event <br/> Ntorogu, if there is the unused area in the event log storage area, and characterized in that stored in the unused area The event log storage system according to claim 1.
格納領域管理テーブルは更に、イベントログが格納でき
る最大数を管理対象ノード毎に予め設定したものであっ
て、前記イベントログ格納位置選択手段は、前記未使用
領域の前記格納位置エントリがなければ、前記格納位置
エントリの数が前記最大数から最も超過した前記管理対
象ノードの前記格納位置エントリリストの先頭の前記格
納位置エントリを選択するものであることを特徴とする
請求項1記載のイベントログ格納システム。 5. An event log included in the internal storage device
The storage area management table can also store event logs.
Is set in advance for each managed node.
The event log storage location selection means is
If there is no storage location entry for the area, then the storage location
The management pair whose number of entries exceeds the maximum number most.
The case at the head of the storage location entry list of the elephant node
The event log storage system according to claim 1 , wherein a delivery position entry is selected .
発生した場合、それをイベントとしてネットワーク経由
でネットワーク管理マネージャ装置に収集し、イベント
ログとしてネットワーク管理マネージャ装置の外部記憶
装置上に格納する機能を備えたイベントログ格納システ
ムが実行するイベントログ格納方法であって、前記イベントログ格納システムが有するネットワーク管
理マネージャ装置は、 データ処理装置と、 前記イベントが前記イベントログとして格納され、前記
イベントログが格納された領域と、前記イベントログが
格納されていない未使用領域とに区分したイベントログ
格納領域が設けられた前記外部記憶装置であって、イベ
ント受信手段が受信した前記イベントが前記イベントロ
グとして格納される前記イベントログ格納領域が設けら
れた前記外部記憶装置と、 前記イベントログ格納領域におけるイベントログ格納位
置が予め記憶された格納位置エントリのリストを有する
格納位置エントリリストであって、前記管理対象ノード
で発生した前記イベントログについては前記管理対象ノ
ード毎にそれが格納された時系列順序に従うリスト構造
として、また、前記未使用領域についてもリスト構造と
して記憶した前記格納位置エントリリストと、 前記格納位置エントリリストにおける前記格納位置エン
トリの数を、前記管理対象ノードと前記未使用領域の各
々について記憶したイベントログ格納領域管理テーブル
と、 を有する前記内部記憶装置とを備えたものであり 、前記データ処理装置が、 (a)ネットワークを介して前記管理対象ノードから前
記イベントを受信する第1のステップと、 (b)前記第1のステップにおいて受信した前記イベン
トの前記イベントログ格納領域への格納において、前記
イベントログ格納領域管理テーブルを検索し、前記未使
用領域の前記格納位置エントリがあれば、前記未使用領
域の前記格納位置エントリリストの先頭の前記格納位置
エントリを選択し、前記未使用領域の前記格納位置エン
トリがなければ、前記格納位置エントリの数の最も多い
前記管理対象ノードの前記格納位置エントリリストの先
頭の前記格納位置エントリを選択する第2のステップ
と、 (c)前記第2のステップにおいて選択した前記格納位
置エントリに記憶された位置に、受信した前記イベント
を前記イベントログとして書き込む第3のステップと、 (d)前記第2のステップにおいて前記選択した格納位
置エントリを前記格納位置エントリリストから取り外
し、前記格納領域管理テーブルの前記取り外しされた格
納位置エントリリストの前記格納位置エントリの数を1
減算し、前記イベントを送信した前記管理対象ノードの
前記格納位置エントリリストの終端に前記取り外した格
納位置エントリをリストし、前記格納領域管理テーブル
の前記リストされた格納位置エントリリストの前記格納
位置エントリの数を1加算する第4のステップと、 を実行することを特徴とするイベントログ格納方法。6. A function of collecting, when an error occurs in a managed node of a network, an event in a network management manager device via the network and storing it as an event log in an external storage device of the network management manager device. A method for storing an event log executed by an event log storage system, comprising:
The physical manager device includes a data processing device, the event is stored as the event log, and
The area where the event log is stored and the event log
Event log divided into unused areas that are not stored
The external storage device having a storage area,
The event received by the event receiving means is the event log.
The event log storage area that is stored as
The external storage device and the event log storage location in the event log storage area
Location has a pre-stored list of storage location entries
The storage location entry list, wherein the managed node
For the event log that occurred in
A list structure that follows the chronological order in which it is stored for each code
As a list structure for the unused area,
Stored in the storage location entry list and the storage location entry list in the storage location entry list.
The number of birds for each of the managed node and the unused area
Event log storage area management table
When, which has a said internal storage device with the data processing apparatus, before the said managed node via the (a) Network
The first step of receiving the event, and (b) in the storage of the event received in the first step in the event log storage area, the event log storage area management table is searched to find the unused area. If there is the storage location entry of the unused area, the storage location entry at the head of the storage location entry list of the unused area is selected, and if there is no storage location entry of the unused area, the number of the storage location entries A second step of selecting the first storage location entry of the storage location entry list of the most managed nodes, and (c) a location stored in the storage location entry selected in the second step, A third step of writing the received event as the event log, and (d) the second step Remove the storage position entry Oite said selected from the storage position entry list, the number of the storage location entry of the removal has been stored position entry list of the storage area management table 1
The removed storage location entry is listed at the end of the storage location entry list of the managed node that has subtracted and transmitted the event, and the storage location entry of the listed storage location entry list of the storage area management table The event log storing method is characterized by executing the fourth step of adding 1 to the number of
発生した場合、それをイベントとしてネットワーク経由
でネットワーク管理マネージャ装置に収集し、イベント
ログとしてネットワーク管理マネージャ装置の外部記憶
装置上に格納する機能を備え、更に、 データ処理装置と、 前記イベントが前記イベントログとして格納され、前記
イベントログが格納された領域と、前記イベントログが
格納されていない未使用領域とに区分したイベントログ
格納領域が設けられた前記外部記憶装置であって、イベ
ント受信手段が受信した前記イベントが前記イベントロ
グとして格納される前記イベントログ格納領域が設けら
れた前記外部記憶装置と、 前記イベントログ格納領域におけるイベントログ格納位
置が予め記憶された格納位置エントリのリストを有する
格納位置エントリリストであって、前記管理対象ノード
で発生した前記イベントログについては前記管理対象ノ
ード毎にそれが格納された時系列順序に従うリスト構造
として、また、前記未使用領域についてもリスト構造と
して記憶した前記格納位置エントリリストと、 前記格納位置エントリリストにおける前記格納位置エン
トリの数を、前記管理対象ノードと前記未使用領域の各
々について記憶したイベントログ格納領域管理テーブル
と、 を有する前記内部記憶装置とを備えたネットワーク管理
マネージャ装置を含むイベントログ格納システムにおけ
る前記データ処理装置として、コンピュータを機能させ
るためのコンピュータ読み取り可能な記録媒体であっ
て、 前記コンピュータに、 (a)ネットワークを介して前記管理対象ノードから前
記イベントを受信する第1のステップと、 (b)前記第1のステップにおいて受信した前記イベン
トの前記イベントログ格納領域への格納において、前記
イベントログ格納領域管理テーブルを検索し、前記未使
用領域の前記格納位置エントリがあれば、前記未使用領
域の前記格納位置エントリリストの先頭の前記格納位置
エントリを選択し、前記未使用領域の前記格納位置エン
トリがなければ、前記格納位置エントリの数の最も多い
前記管理対象ノードの前記格納位置エントリリストの先
頭の前記格納位置エントリを選択する第2のステップ
と、 (c)前記第2のステップにおいて選択した前記格納位
置エントリに記憶された位置に、受信した前記イベント
を前記イベントログとして書き込む第3のステップと、 (d)前記第2のステップにおいて前記選択した格納位
置エントリを前記格納位置エントリリストから取り外
し、前記格納領域管理テーブルの前記取り外しされた格
納位置エントリリストの前記格納位置エントリの数を1
減算し、前記イベントを送信した前記管理対象ノードの
前記格納位置エントリリストの終端に前記取り外した格
納位置エントリをリストし、前記格納領域管理テーブル
の前記リストされた格納位置エントリリストの前記格納
位置エントリの数を1加算する第4のステップと、 を実行させるプログラムを記録することを特徴とする記
録媒体。7. When a failure occurs in a managed node of a network, the failure is collected as an event in a network management manager device via the network, and an event is collected.
External storage of network management manager device as log
And a data processing device, wherein the event is stored as the event log.
The area where the event log is stored and the event log
Event log divided into unused areas that are not stored
The external storage device having a storage area,
The event received by the event receiving means is the event log.
The event log storage area that is stored as
The external storage device and the event log storage location in the event log storage area
Location has a pre-stored list of storage location entries
The storage location entry list, wherein the managed node
For the event log that occurred in
A list structure that follows the chronological order in which it is stored for each code
As a list structure for the unused area,
Stored in the storage location entry list and the storage location entry list in the storage location entry list.
The number of birds for each of the managed node and the unused area
Event log storage area management table
And a network management including the internal storage device having
In the event log storage system including the manager device
A computer as the data processing device
It is a computer-readable recording medium for
To the computer, (a) from the managed node via the network
The first step of receiving the event, and (b) in the storage of the event received in the first step in the event log storage area, the event log storage area management table is searched to find the unused area. If there is the storage location entry of the unused area, the storage location entry at the head of the storage location entry list of the unused area is selected, and if there is no storage location entry of the unused area, the number of the storage location entries A second step of selecting the first storage location entry of the storage location entry list of the most managed nodes, and (c) a location stored in the storage location entry selected in the second step, A third step of writing the received event as the event log, and (d) the second step Remove the storage position entry Oite said selected from the storage position entry list, the number of the storage location entry of the removal has been stored position entry list of the storage area management table 1
The removed storage location entry is listed at the end of the storage location entry list of the managed node that has subtracted and transmitted the event, and the storage location entry of the listed storage location entry list of the storage area management table A recording medium for recording a program for executing the fourth step of adding 1 to the number of 1.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP28209699A JP3365372B2 (en) | 1999-10-01 | 1999-10-01 | Event log storage system, event log storage method, and recording medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP28209699A JP3365372B2 (en) | 1999-10-01 | 1999-10-01 | Event log storage system, event log storage method, and recording medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2001101038A JP2001101038A (en) | 2001-04-13 |
| JP3365372B2 true JP3365372B2 (en) | 2003-01-08 |
Family
ID=17648079
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP28209699A Expired - Fee Related JP3365372B2 (en) | 1999-10-01 | 1999-10-01 | Event log storage system, event log storage method, and recording medium |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3365372B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7577159B2 (en) | 2004-09-10 | 2009-08-18 | Nec Corporation | Method, device, system and program for time-series data management |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100678926B1 (en) | 2006-01-05 | 2007-02-06 | 삼성전자주식회사 | Log Information Management System and Method |
-
1999
- 1999-10-01 JP JP28209699A patent/JP3365372B2/en not_active Expired - Fee Related
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7577159B2 (en) | 2004-09-10 | 2009-08-18 | Nec Corporation | Method, device, system and program for time-series data management |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2001101038A (en) | 2001-04-13 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4117265B2 (en) | Method and system for managing file system versions | |
| US9110909B2 (en) | File level hierarchical storage management system, method, and apparatus | |
| AU730684B2 (en) | System and method for distributing and indexing computerized documents using independent agents | |
| US7890716B2 (en) | Method of managing time-based differential snapshot | |
| US6412080B1 (en) | Lightweight persistent storage system for flash memory devices | |
| KR100560726B1 (en) | Preservation of Snapshots of Selected Data in Mass Storage Systems | |
| JP5774794B2 (en) | Storage system and storage system control method | |
| US10013312B2 (en) | Method and system for a safe archiving of data | |
| CN106126374B (en) | Method for writing data, method for reading data and device | |
| US7818749B2 (en) | Data processing method, data processing apparatus, and data processing program | |
| US6941322B2 (en) | Method for efficient recording and management of data changes to an object | |
| CN114020707A (en) | Storage space recovery method, storage medium, and program product | |
| JP2010152838A (en) | Image forming device, control method and program | |
| CN103645967B (en) | A kind of read-only materialized view rollback method and device | |
| CN111435286A (en) | Data storage method, device and system | |
| JP3365372B2 (en) | Event log storage system, event log storage method, and recording medium | |
| EP3785121B1 (en) | Snapshot space reduction method and apparatus | |
| US6654805B1 (en) | Data processing technique for message tracing in an asynchronous messaging network | |
| JP5061671B2 (en) | Arithmetic program, distributed processing program, distributed processing system, and arithmetic processing method | |
| JP2007102267A (en) | Access history management method, access history management device, access history management program, storage device, and information processing device | |
| JP3760804B2 (en) | Backup system | |
| US20030033440A1 (en) | Method of logging message activity | |
| CN114356560B (en) | Resource object acquisition method and system | |
| JP3885050B2 (en) | Network management method | |
| JP3687733B2 (en) | Journal merge control system and journal merge control method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20021001 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081101 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081101 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091101 Year of fee payment: 7 |
|
| LAPS | Cancellation because of no payment of annual fees |