JPH08293897A - Exclusive control system - Google Patents

Exclusive control system

Info

Publication number
JPH08293897A
JPH08293897A JP7097185A JP9718595A JPH08293897A JP H08293897 A JPH08293897 A JP H08293897A JP 7097185 A JP7097185 A JP 7097185A JP 9718595 A JP9718595 A JP 9718595A JP H08293897 A JPH08293897 A JP H08293897A
Authority
JP
Japan
Prior art keywords
management
value
manager
area
managers
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.)
Granted
Application number
JP7097185A
Other languages
Japanese (ja)
Other versions
JP2737765B2 (en
Inventor
Masaaki Suzuki
正明 鈴木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP7097185A priority Critical patent/JP2737765B2/en
Publication of JPH08293897A publication Critical patent/JPH08293897A/en
Application granted granted Critical
Publication of JP2737765B2 publication Critical patent/JP2737765B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Communication Control (AREA)
  • Computer And Data Communications (AREA)

Abstract

PURPOSE: To dispense with proceedings for setting a lock state as against a management table and setting a value as against the management table with it from a manager by way of an agent. CONSTITUTION: When the agent 4 generates (or erases) a management object 7 in (from) a management information base 3 based on an indication from one of the managers 1 and 2, an operation to write the value 1 (or the value 0) in the applying area of the management table 8 in the management information base 3 is executed at first. At this time, when the value of a writing destination is zero (or one) and the applying area value is changed, it is judged that there is no access from the other manager so that the corresponding management object is generated (or erased). When the value of the writing destination is one (or zero) even if the operation for writing th value 1 (or the value 0) in the applying area of the management table 8 is executed and he applying area value is not executed, it is judged that preceding access from he other manager is executed so that the processing is interrupted.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、例えば、複数の伝送装
置によって構成される情報伝送システムを監視・制御す
るネットワーク管理システムにおいて、階層化されたネ
ットワークの構成要素のうち、マネージャから指示を受
けて、エージェントが、伝送パスの管理オブジェクトが
包含する回線の管理オブジェクトを生成・削除するとき
の排他制御方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to, for example, a network management system for monitoring and controlling an information transmission system composed of a plurality of transmission devices, which receives an instruction from a manager among hierarchical network components. The present invention relates to an exclusive control method when an agent creates or deletes a line management object included in a transmission path management object.

【0002】[0002]

【従来の技術】複数マネージャが、単一のエージェント
に対して管理オブジェクトの操作を依頼するマルチマネ
ージャ環境において、従来方式によれば、管理テーブル
の各該当領域毎にロック中またはロック解除中を示すロ
ック状態表示フラグを設け、エージェントが管理オブジ
ェクトの生成または削除処理を行う時は、管理テーブル
の該当領域に値を設定する前に、まず各該当領域のロッ
ク状態をロック解除中からロック中に変更した後で目的
の値に設定する、という方式を採用している場合が多
い。
2. Description of the Related Art In a multi-manager environment in which a plurality of managers request a single agent to operate a management object, according to a conventional method, each corresponding area of a management table indicates lock or unlock. When the agent creates or deletes a management object by providing a lock status display flag, first changes the lock status of each applicable area from unlocked to locked before setting the value in the applicable area of the management table. In many cases, the method of setting the target value after doing is adopted.

【0003】[0003]

【発明が解決しようとする課題】前述した従来技術によ
れば、管理オブジェクトの生成または削除に伴う管理テ
ーブルの値更新を行うためには、必ずロック状態の問い
合わせ処理が必要になり、管理テーブルの領域多数の値
を書き換える処理を伴う管理オブジェクトを生成または
削除する場合は、マネージャとエージェント間における
メッセージの授受が増加して伝送効率が低下し、またマ
ネージャ、エージェントのいずれにおいても処理の効率
が悪く、またロック状態保持のためにディスクおよびメ
モリ等のシステム資源を余分に必要とするという欠点が
あった。
According to the above-mentioned prior art, in order to update the value of the management table associated with the generation or deletion of the management object, it is necessary to perform the inquiry processing of the lock state without fail. When creating or deleting a managed object that involves the process of rewriting a large number of areas, transmission and reception of messages between the manager and agent increases, and transmission efficiency declines. Also, both manager and agent have poor processing efficiency. Further, there is a drawback that extra system resources such as a disk and a memory are required to hold the lock state.

【0004】本発明の課題は、マネージャからエージェ
ントを経由した、管理テーブルに対するロック状態の設
定及びそれに伴う管理テーブルに対する値の設定処理が
不要であり、従って、ロック状態保持のためのメモリ等
のシステム資源を余分に必要としない排他制御方式を提
供することにある。
The object of the present invention is to eliminate the need for setting a lock state for a management table and setting a value for the management table accordingly, via a manager via an agent. Therefore, a system such as a memory for holding a lock state is required. It is to provide an exclusive control method that does not require extra resources.

【0005】[0005]

【課題を解決するための手段】本発明によれば、管理対
象の管理操作を行う複数のマネージャと、前記複数のマ
ネージャの管理対象である管理オブジェクトを収容する
管理情報ベースと、前記複数のマネージャから指示され
た管理操作を代行し、前記管理情報ベースにアクセスす
るエージェントとを、備え、前記複数のマネージャが単
一の前記エージェントに対して管理オブジェクトの操作
を依頼するマルチマネージャ環境のネットワーク管理シ
ステムにおいて、前記管理情報ベースは、管理オブジェ
クトの生成に必要な資源の利用状態を管理するため、管
理オブジェクトの生成に必要な資源に対応する領域に一
値が設定されているときは、対応する資源が利用可能で
あり、他値が設定されるときは、対応する資源が利用不
可能であることを示す管理テーブルを有し、前記エージ
ェントは、この管理テーブルによって、管理オブジェク
トによって占有された資源の状態を管理し、前記複数の
マネージャの各々は、前記管理テーブルの内容と同一の
内容の管理テーブルコピーを有し、前記エージェント
は、前記複数のマネージャの一方からの指示に基づいて
管理オブジェクトの生成を行うときは、前記管理オブジ
ェクトの生成に必要な資源に対応する前記管理テーブル
の領域が一個の場合は、前記管理テーブルの当該領域へ
の前記他値の書き込み操作を行い、これによって当該領
域の値の変更が行われた場合は、当該領域に他のマネー
ジャからの先行アクセスがないと判断して、対応する管
理オブジェクト生成を実行し、かつ、管理オブジェクト
の生成操作が終了した時点で、要求元のマネージャに管
理オブジェクト生成の成功を通知すると共に、各マネー
ジャが所有する管理テーブルコピーをエージェントが有
する管理テーブルと一致させ、当該領域への前記他値の
前記書き込み操作を行っても、当該領域の値の変更が行
われなかった場合は、当該領域に他のマネージャからの
先行アクセスが行われていると判断して、処理を中断す
ることを特徴とする排他制御方式が得られる。
According to the present invention, a plurality of managers that perform management operations of management targets, a management information base that stores management objects that are management targets of the plurality of managers, and the plurality of managers A network management system in a multi-manager environment, which comprises an agent for accessing the management information base on behalf of a management operation instructed by In the above, the management information base manages the usage state of the resources required to generate the management object. Therefore, when one value is set in the area corresponding to the resources required to generate the management object, Is available and another value is set, it means that the corresponding resource is unavailable. The management table, the agent manages the state of the resources occupied by the management objects by the management table, and each of the plurality of managers copies the management table with the same content as the content of the management table. When the agent generates a management object based on an instruction from one of the plurality of managers, when the management table has one area corresponding to the resource required to generate the management object, Performs a write operation of the other value to the area of the management table, and if the value of the area is changed by this operation, it judges that there is no preceding access from the other manager to the area. , When the corresponding managed object generation is executed and the management object generation operation is completed, the request source Even if the manager is notified of the successful creation of the managed object, the management table copy owned by each manager is made to match the management table owned by the agent, and the write operation of the other value to the area is performed, the value of the area If the change is not made, it is judged that the preceding area is being accessed by another manager, and the exclusive control method characterized by interrupting the processing is obtained.

【0006】ここで、前記エージェントは、当該領域へ
の前記他値の前記書き込み操作を行っても、当該領域の
値の変更が行われなかった場合は、当該領域に他のマネ
ージャからの先行アクセスが行われていると判断して、
処理を中断すると共に、要求元のマネージャに管理オブ
ジェクト生成の失敗を通知する。
Here, if the agent does not change the value of the area even after performing the writing operation of the other value to the area, the agent makes prior access to the area by another manager. It is judged that
While interrupting the processing, the manager of the request source is notified of the failure of the managed object generation.

【0007】更に本発明によれば、管理対象の管理操作
を行う複数のマネージャと、前記複数のマネージャの管
理対象である管理オブジェクトを収容する管理情報ベー
スと、前記複数のマネージャから指示された管理操作を
代行し、前記管理情報ベースにアクセスするエージェン
トとを、備え、前記複数のマネージャが単一の前記エー
ジェントに対して管理オブジェクトの操作を依頼するマ
ルチマネージャ環境のネットワーク管理システムにおい
て、前記管理情報ベースは、管理オブジェクトの生成に
必要な資源の利用状態を管理するため、管理オブジェク
トの生成に必要な資源に対応する領域に一値が設定され
ているときは、対応する資源が利用可能であり、他値が
設定されるときは、対応する資源が利用不可能であるこ
とを示す管理テーブルを有し、前記エージェントは、こ
の管理テーブルによって、管理オブジェクトによって占
有された資源の状態を管理し、前記複数のマネージャの
各々は、前記管理テーブルの内容と同一の内容の管理テ
ーブルコピーを有し、前記エージェントは、前記複数の
マネージャの一方からの指示に基づいて管理オブジェク
トの生成を行うときは、前記管理オブジェクトの生成に
必要な資源に対応する前記管理テーブルの領域がN(2
以上の整数)個の場合は、前記管理テーブルの当該N個
の領域の各々への前記他値の書き込み操作を行い、これ
によって当該N個の領域の各々の値の変更が行われてい
る限り、当該N個の領域の各々に他のマネージャからの
先行アクセスがないと判断して、当該N個の領域の次の
一つへの前記他値の書き込み操作を行い、これによって
当該N個の領域の全ての値の変更が行われた場合は、対
応する管理オブジェクト生成を実行し、かつ、管理オブ
ジェクトの生成操作が終了した時点で、要求元のマネー
ジャに管理オブジェクト生成の成功を通知すると共に、
各マネージャが所有する管理テーブルコピーをエージェ
ントが有する管理テーブルと一致させ、当該N個の領域
の各々への前記他値の前記書き込み操作を行っても、当
該N個の領域の各々の値の変更が行われなかった場合
は、当該N個の領域の各々に他のマネージャからの先行
アクセスが行われていると判断して、処理を中断するこ
とを特徴とする排他制御方式が得られる。
Further, according to the present invention, a plurality of managers that perform management operations of management targets, a management information base that stores management objects that are management targets of the plurality of managers, and management instructed by the plurality of managers In the network management system of a multi-manager environment, the management information comprising: an agent acting on behalf of and accessing the management information base, wherein the plurality of managers requests a single operation of the management object to the single agent. The base manages the usage status of the resources required to generate the management object. Therefore, when a value is set in the area corresponding to the resources required to generate the management object, the corresponding resources are available. , When another value is set, it indicates that the corresponding resource is unavailable. The agent manages the state of the resource occupied by the management object by this management table, and each of the plurality of managers has a management table copy having the same contents as the contents of the management table. However, when the agent creates a management object based on an instruction from one of the plurality of managers, the area of the management table corresponding to the resource required for creating the management object is N (2).
In the case of the above integers), as long as the other value is written to each of the N areas of the management table, the value of each of the N areas is changed as a result. , It judges that each of the N areas is not precedently accessed by another manager, and performs the write operation of the other value to the next one of the N areas, thereby When all the values in the area have been changed, the corresponding managed object is created, and when the managed object creation operation is complete, the manager of the request source is notified of the successful creation of the managed object. ,
Even if the management table copy owned by each manager is matched with the management table owned by the agent, and the write operation of the other value to each of the N areas is performed, the value of each of the N areas is changed. When the above is not performed, it is determined that the preceding access from another manager is being performed on each of the N areas, and the exclusive control method characterized by interrupting the processing is obtained.

【0008】ここで、前記エージェントは、当該N個の
領域への前記他値の前記書き込み操作を行っても、当該
N個の領域の各々の値の変更が行われなかった場合は、
当該N個の領域の各々に他のマネージャからの先行アク
セスが行われていると判断して、処理を中断すると共
に、既に値の変更を行った各領域の値を元に戻し、要求
元のマネージャに管理オブジェクト生成の失敗を通知す
る。
Here, if the agent does not change the value of each of the N areas even after performing the write operation of the other value to the N areas,
It is determined that each of the N areas is being pre-accessed by another manager, the processing is interrupted, and the value of each area whose value has already been changed is returned to the original value. Notify the manager that the managed object creation failed.

【0009】また本発明によれば、管理対象の管理操作
を行う複数のマネージャと、前記複数のマネージャの管
理対象である管理オブジェクトを収容する管理情報ベー
スと、前記複数のマネージャから指示された管理操作を
代行し、前記管理情報ベースにアクセスするエージェン
トとを、備え、前記複数のマネージャが単一の前記エー
ジェントに対して管理オブジェクトの操作を依頼するマ
ルチマネージャ環境のネットワーク管理システムにおい
て、前記管理情報ベースは、管理オブジェクトの生成に
必要な資源の利用状態を管理するため、管理オブジェク
トの生成に必要な資源に対応する領域に一値が設定され
ているときは、対応する資源が利用可能であり、他値が
設定されるときは、対応する資源が利用不可能であるこ
とを示す管理テーブルを有し、前記エージェントは、こ
の管理テーブルによって、管理オブジェクトによって占
有された資源の状態を管理し、前記複数のマネージャの
各々は、前記管理テーブルの内容と同一の内容の管理テ
ーブルコピーを有し、前記エージェントは、前記複数の
マネージャの一方からの指示に基づいて管理オブジェク
トの削除を行うときは、前記管理オブジェクトの削除に
必要な資源に対応する前記管理テーブルの領域が一個の
場合は、前記管理テーブルの当該領域への前記一値の書
き込み操作を行い、これによって当該領域の値の変更が
行われた場合は、当該領域に他のマネージャからの先行
アクセスがないと判断して、対応する管理オブジェクト
削除を実行し、かつ、管理オブジェクトの削除操作が終
了した時点で、要求元のマネージャに管理オブジェクト
削除の成功を通知すると共に、各マネージャが所有する
管理テーブルコピーをエージェントが有する管理テーブ
ルと一致させ、当該領域への前記一値の前記書き込み操
作を行っても、当該領域の値の変更が行われなかった場
合は、当該領域に他のマネージャからの先行アクセスが
行われていると判断して、処理を中断することを特徴と
する排他制御方式が得られる。
Further, according to the present invention, a plurality of managers that perform management operations of management targets, a management information base that stores management objects that are management targets of the plurality of managers, and management instructed by the plurality of managers In the network management system of a multi-manager environment, the management information comprising: an agent acting on behalf of and accessing the management information base, wherein the plurality of managers requests a single operation of the management object to the single agent. The base manages the usage status of the resources required to generate the management object. Therefore, when a value is set in the area corresponding to the resources required to generate the management object, the corresponding resources are available. , When another value is set, it indicates that the corresponding resource is unavailable. The agent manages the state of the resource occupied by the management object by this management table, and each of the plurality of managers has a management table copy having the same contents as the contents of the management table. However, when the agent deletes a management object based on an instruction from one of the plurality of managers, if there is one area in the management table corresponding to the resource required to delete the management object, If the one value is written to the area of the management table and the value of the area is changed by this operation, it is determined that there is no prior access from another manager to the area, and the action is taken. When the management object deletion is performed and the management object deletion operation ends, the requesting manager Notifying the success of the management object deletion, changing the value of the area even if the management table copy owned by each manager is made to match the management table of the agent and the operation of writing the one value to the area is performed. If the above is not performed, it is determined that the preceding access is being performed from another manager to the area, and the exclusive control method characterized by interrupting the processing is obtained.

【0010】ここで、前記エージェントは、当該領域へ
の前記一値の前記書き込み操作を行っても、当該領域の
値の変更が行われなかった場合は、当該領域に他のマネ
ージャからの先行アクセスが行われていると判断して、
処理を中断すると共に、要求元のマネージャに管理オブ
ジェクト削除の失敗を通知する。
Here, if the agent does not change the value of the area even after performing the write operation of the one value to the area, the agent accesses the area in advance by another manager. It is judged that
The process is interrupted, and the manager of the request source is notified of the failure to delete the managed object.

【0011】更に本発明によれば、管理対象の管理操作
を行う複数のマネージャと、前記複数のマネージャの管
理対象である管理オブジェクトを収容する管理情報ベー
スと、前記複数のマネージャから指示された管理操作を
代行し、前記管理情報ベースにアクセスするエージェン
トとを、備え、前記複数のマネージャが単一の前記エー
ジェントに対して管理オブジェクトの操作を依頼するマ
ルチマネージャ環境のネットワーク管理システムにおい
て、前記管理情報ベースは、管理オブジェクトの生成に
必要な資源の利用状態を管理するため、管理オブジェク
トの生成に必要な資源に対応する領域に一値が設定され
ているときは、対応する資源が利用可能であり、他値が
設定されるときは、対応する資源が利用不可能であるこ
とを示す管理テーブルを有し、前記エージェントは、こ
の管理テーブルによって、管理オブジェクトによって占
有された資源の状態を管理し、前記複数のマネージャの
各々は、前記管理テーブルの内容と同一の内容の管理テ
ーブルコピーを有し、前記エージェントは、前記複数の
マネージャの一方からの指示に基づいて管理オブジェク
トの削除を行うときは、前記管理オブジェクトの削除に
必要な資源に対応する前記管理テーブルの領域がN(2
以上の整数)個の場合は、前記管理テーブルの当該N個
の領域の各々への前記一値の書き込み操作を行い、これ
によって当該N個の領域の各々の値の変更が行われてい
る限り、当該N個の領域の各々に他のマネージャからの
先行アクセスがないと判断して、当該N個の領域の次の
一つへの前記一値の書き込み操作を行い、これによって
当該N個の領域の全ての値の変更が行われた場合は、対
応する管理オブジェクト削除を実行し、かつ、管理オブ
ジェクトの削除操作が終了した時点で、要求元のマネー
ジャに管理オブジェクト削除の成功を通知すると共に、
各マネージャが所有する管理テーブルコピーをエージェ
ントが有する管理テーブルと一致させ、当該N個の領域
の各々への前記一値の前記書き込み操作を行っても、当
該N個の領域の各々の値の変更が行われなかった場合
は、当該N個の領域の各々に他のマネージャからの先行
アクセスが行われていると判断して、処理を中断するこ
とを特徴とする排他制御方式が得られる。
Further, according to the present invention, a plurality of managers that perform management operations of management targets, a management information base that stores management objects that are management targets of the plurality of managers, and management instructed by the plurality of managers In the network management system of a multi-manager environment, the management information comprising: an agent acting on behalf of and accessing the management information base, wherein the plurality of managers requests a single operation of the management object to the single agent. The base manages the usage status of the resources required to generate the management object. Therefore, when a value is set in the area corresponding to the resources required to generate the management object, the corresponding resources are available. , When another value is set, it indicates that the corresponding resource is unavailable. The agent manages the state of the resource occupied by the management object by this management table, and each of the plurality of managers has a management table copy having the same contents as the contents of the management table. However, when the agent deletes a management object based on an instruction from one of the plurality of managers, the management table area corresponding to the resource required to delete the management object is N (2).
In the case of the above integers), as long as the operation of writing the one value to each of the N areas of the management table is performed and thereby the value of each of the N areas is changed. , It judges that there is no prior access from other managers to each of the N areas, and performs the write operation of the one value to the next one of the N areas. When all the values in the area have been changed, the corresponding managed object deletion is executed, and when the management object deletion operation is completed, the manager of the request source is notified of the successful management object deletion. ,
Even if the management table copy owned by each manager is matched with the management table owned by the agent, and the write operation of the one value to each of the N areas is performed, the value of each of the N areas is changed. If the above is not performed, it is determined that the preceding access is being performed from another manager to each of the N areas, and the exclusive control method characterized by interrupting the processing is obtained.

【0012】ここで、前記エージェントは、当該N個の
領域への前記一値の前記書き込み操作を行っても、当該
N個の領域の各々の値の変更が行われなかった場合は、
当該N個の領域の各々に他のマネージャからの先行アク
セスが行われていると判断して、処理を中断すると共
に、既に値の変更を行った各領域の値を元に戻し、要求
元のマネージャに管理オブジェクト削除の失敗を通知す
る。
Here, when the agent does not change the value of each of the N areas even after performing the write operation of the one value to the N areas,
It is determined that each of the N areas is being pre-accessed by another manager, the processing is interrupted, and the value of each area whose value has already been changed is returned to the original value. Notify the manager that the managed object deletion failed.

【0013】[0013]

【作用】上述のように、本発明では、管理テーブルの各
領域に対応したロック状態表示フラグを設けることはせ
ず、あるマネージャからの指示に基づいてエージェント
が管理オブジェクトを生成する時、まず、管理テーブル
の該当領域に前記他値(例えば、値1)を書き込む操作
を行い、このとき、書き込む先の値が前記一値(例え
ば、値0)であり、該当領域の値の変更が行われた場合
は、他のマネージャからのアクセスがないと判断して処
理を継続し、書き込む先の値が前記他値(例えば、値
1)であり、該当領域の値の変更が行われなかった場合
は、他のマネージャからの先行アクセスが行われている
と判断して処理を中断する。
As described above, in the present invention, the lock state display flag corresponding to each area of the management table is not provided, and when an agent creates a management object based on an instruction from a certain manager, first, An operation of writing the other value (for example, the value 1) to the corresponding area of the management table is performed, and at this time, the value of the writing destination is the one value (for example, the value 0), and the value of the corresponding area is changed. If it is determined that there is no access from another manager, the processing is continued, the value of the writing destination is the other value (for example, value 1), and the value of the corresponding area is not changed. Judges that the preceding access is being made from another manager and interrupts the processing.

【0014】これにより、マネージャが、ロック状態表
示フラグおよび管理テーブルに収容されている値を逐一
問い合わせて確認した後に、改めて該当する管理オブジ
ェクトの生成依頼をエージェントに対し発行する必要は
なくなり、マネージャとエージェント間における伝送処
理効率が高まる。
As a result, the manager does not need to issue another request for generation of the relevant managed object to the agent after checking the lock state display flag and the value stored in the management table one by one, and confirming the value. Transmission processing efficiency between agents is improved.

【0015】同様に、あるマネージャからの指示に基づ
いてエージェントが管理オブジェクトを削除する時、管
理テーブルの該当領域に前記一値(例えば、値0)を書
き込む操作を行い、このとき、書き込む先の値が前記他
値(例えば、値1)であり、該当領域の値の変更が行わ
れた場合は、他のマネージャからのアクセスがないと判
断して処理を継続し、書き込む先の値が前記一値(例え
ば、値0)であり、該当領域の値の変更が行われなかっ
た場合は、他のマネージャからの先行アクセスが行われ
ていると判断して処理を中断する。
Similarly, when the agent deletes a managed object based on an instruction from a manager, the operation of writing the one value (for example, the value 0) to the corresponding area of the management table is performed. When the value is the other value (for example, the value 1) and the value of the corresponding area is changed, it is determined that there is no access from another manager, the processing is continued, and the value of the writing destination is the above value. If the value is one value (for example, the value is 0) and the value of the corresponding area has not been changed, it is determined that the preceding access is being made by another manager, and the processing is interrupted.

【0016】管理オブジェクト生成時と同じように、伝
送効率および処理効率の向上が可能となる。
It is possible to improve the transmission efficiency and the processing efficiency in the same manner as when the management object is generated.

【0017】一管理オブジェクトに対応した該当領域が
複数存在する場合、エージェントは上記の処理を複数回
繰り返し、管理テーブルが保持する値の書き換え処理が
全て間断なく終了した時点で、対応する管理オブジェク
トの生成または削除を行い、本処理が正常に完了した時
点で、管理オブジェクトの生成または削除処理の成功を
要求元マネージャに通知する。
When there are a plurality of corresponding areas corresponding to one management object, the agent repeats the above-mentioned processing a plurality of times, and when all the rewriting processing of the values held in the management table is completed without interruption, the corresponding management object When the generation or deletion is performed and this processing is completed normally, the success of the management object generation or deletion processing is notified to the request source manager.

【0018】これにより、一管理オブジェクトを生成す
る場合に複数の管理テーブル領域を書き換えるケースに
も対応可能である。
This makes it possible to deal with a case where a plurality of management table areas are rewritten when one management object is generated.

【0019】エージェントによる書き換え処理の途中
で、他のマネージャからの先行アクセスに伴う中断を強
いられた場合は、既に設定した各領域の値を元に戻し、
管理オブジェクト生成または削除処理の失敗を要求元の
マネージャに通知する。
In the middle of the rewriting process by the agent, if the interruption due to the preceding access from another manager is forced, the values of the respective areas already set are returned to the original values,
Notify the requesting manager that the management object creation or deletion process failed.

【0020】これにより、管理テーブルと管理オブジェ
クトの生成・削除状態の一貫性が確保される。
As a result, the consistency between the generation / deletion state of the management table and the management object is ensured.

【0021】[0021]

【実施例】次に本発明の実施例について図面を参照して
説明する。
Next, an embodiment of the present invention will be described with reference to the drawings.

【0022】図1を参照すると、本発明が適用されるネ
ットワーク管理システムは、各々がワークステーション
からなるマネージャ1及び2と、管理情報ベース (MIB:
management information base)3及びエージェント4を
有する仲介装置 (MD:mediation device)5と、伝送装置
(NE:network element)6とを有する。このネットワーク
管理システムは、ネットワークを管理する主体であるマ
ネージャ1及び2としてのワークステーションが2台存
在し、2台のマネージャ1及び2が1台のエージェント
4を含む仲介装置5に対してアクセスするマルチマネー
ジャ環境を想定している。エージェント4は、管理情報
ベース3に収容する管理オブジェクト(MO:management o
bject)7に対して、マネージャ1又は2からの要求に沿
った操作を行う。また、管理情報ベース3には管理テー
ブル8が収容されている。
Referring to FIG. 1, a network management system to which the present invention is applied includes managers 1 and 2 each comprising a workstation and a management information base (MIB:
a mediation device (MD) 5 having a management information base) 3 and an agent 4, and a transmission device
(NE: network element) 6. In this network management system, there are two workstations as managers 1 and 2 which are the main bodies for managing the network, and the two managers 1 and 2 access the intermediary device 5 including one agent 4. It assumes a multi-manager environment. The agent 4 manages the management objects (MO: management
bject) 7 is operated according to the request from the manager 1 or 2. A management table 8 is stored in the management information base 3.

【0023】尚、図示の例では、エージェント4及び管
理情報ベース3は仲介装置5に配備したが、エージェン
ト4及び管理情報ベース3は必ずしも仲介装置5に存在
する必要はなく、例えば、伝送装置6に配備しても良
い。
In the illustrated example, the agent 4 and the management information base 3 are provided in the intermediary device 5, but the agent 4 and the management information base 3 do not necessarily have to exist in the intermediary device 5, and for example, the transmission device 6 It may be deployed to.

【0024】図2を参照すると、管理オブジェクト及び
管理テーブル8が示されている。管理オブジェクトは管
理オブジェクト7−1〜7−5の集合体である。管理テ
ーブル8においては、該当領域が値1である場合はタイ
ムスロット(TS)が既に占有されていることを示し、
該当領域が値0である場合はタイムスロットがまだ空き
であることを示す。
Referring to FIG. 2, a managed object and management table 8 is shown. The managed object is a collection of managed objects 7-1 to 7-5. In the management table 8, when the corresponding area has a value of 1, it indicates that the time slot (TS) is already occupied.
A value of 0 in the corresponding area indicates that the time slot is still empty.

【0025】この管理テーブル8は、例えば専用線ネッ
トワークを構成する伝送装置における伝送パスが有する
タイムスロット(TS)の占有テーブルを例示してい
る。即ち、この管理テーブル8は、図3に示した1.5
Mbpsパスに64Kbps回線を複数収容する場合を
想定し、1.5Mbpsパスが所有する管理テーブルを
例示している。この場合、管理テーブル8は、1.5M
bpsパスが収容する64Kbps回線の状況(即ち、
タイムスロットの占有状況)を管理している。
The management table 8 exemplifies an occupancy table of time slots (TS) included in a transmission path in a transmission device forming a leased line network, for example. That is, this management table 8 is 1.5
Assuming that a plurality of 64 Kbps lines are accommodated in the Mbps path, the management table owned by the 1.5 Mbps path is illustrated. In this case, the management table 8 is 1.5M
The status of the 64 Kbps line accommodated by the bps path (that is,
Occupancy of time slots) is managed.

【0026】図2及び図3において、1.5Mbpsの
伝送パスは、64Kbps単位のタイムスロットをTS
1〜TS24の24単位有しており、例えば、TS1で
64Kbps回線、TS2〜TS7で384Kbps回
線、TS8で64Kbps回線、TS18〜TS20で
192Kbps回線、TS21〜TS23で192Kb
ps回線を収容する。
2 and 3, the transmission path of 1.5 Mbps has a time slot of 64 Kbps as a TS.
It has 24 units of 1 to TS24. For example, TS1 is a 64 Kbps line, TS2 to TS7 is a 384 Kbps line, TS8 is a 64 Kbps line, TS18 to TS20 is a 192 Kbps line, and TS21 to TS23 is a 192 Kbps line.
Accommodates a ps line.

【0027】仮に、192Kbps回線を管理するため
の管理オブジェクト7−4或いは7−5を管理情報ベー
ス3(図1)に生成する場合は、回線収容元の1.5M
bpsパスの管理テーブル8において、3タイムスロッ
ト(TS18〜TS20或いはTS21〜TS23)分
の管理テーブル領域に値1を設定してから、対応する目
的の管理オブジェクト7−4(MO4)或いは7−5
(MO5)を生成することになる。同様に、64Kbp
s回線、384Kbps回線、及び64Kbps回線を
管理するための管理オブジェクト7−1(MO1)、7
−2(MO2)、及び7−3(MO3)を管理情報ベー
ス3に生成する場合は、管理テーブル8において、タイ
ムスロットTS1、TS2〜TS7、及びTS8の管理
テーブル領域に値1を設定してから、対応する目的の管
理オブジェクト7−1、7−2、及び7−3を生成する
ことになる。
If a management object 7-4 or 7-5 for managing a 192 Kbps line is generated in the management information base 3 (FIG. 1), the line accommodating source of 1.5M is used.
In the management table 8 of the bps path, the value 1 is set in the management table area for three time slots (TS18 to TS20 or TS21 to TS23), and then the corresponding target management object 7-4 (MO4) or 7-5 is set.
(MO5) will be generated. Similarly, 64 Kbp
Management objects 7-1 (MO1) and 7 for managing the s line, 384 Kbps line, and 64 Kbps line
-2 (MO2) and 7-3 (MO3) are generated in the management information base 3, the management table 8 sets the value 1 in the management table areas of the time slots TS1, TS2 to TS7, and TS8. Therefore, the corresponding managed objects 7-1, 7-2, and 7-3 are generated.

【0028】図4は図1のネットワーク管理システムの
本発明にかかわる要部を抽出した図である。図の通り、
複数のマネージャ1及び2は、それぞれ、管理情報ベー
ス3ないの管理テーブルのコピーを有しており、管理オ
ブジェクト7の生成・削除に関する要求は、マネージャ
1及び2の各々が有する管理テーブルのコピーの内容に
従って発行する。
FIG. 4 is a diagram in which essential parts of the network management system of FIG. 1 relating to the present invention are extracted. As shown in the figure
Each of the plurality of managers 1 and 2 has a copy of the management table in the management information base 3, and a request for generation / deletion of the management object 7 is made by copying the management table of each of the managers 1 and 2. Issue according to the content.

【0029】管理テーブル8は、システム内でマスタと
して位置づけられ、全てのマネージャ1及び2から発行
された要求は、必ずこの管理テーブル8に反映されるの
が前提である。
The management table 8 is positioned as a master in the system, and it is premised that requests issued from all managers 1 and 2 are always reflected in this management table 8.

【0030】ここでは、図5に示すように、管理テーブ
ル8の領域をx1〜x24とし、また、領域x1〜x2
4の各々が値0に設定されているものとする。以下に説
明するシーケンスでは、マネージャ1からタイムスロッ
トTS24(図2)の位置に64Kbps(64Kbp
s×1)回線を設定し、マネージャ1からの指示に遅れ
てマネージャ2からタイムスロットTS1〜TS24を
占有する1.5Mbps回線(64Kbps×24回
線)を設定するものとする。
Here, as shown in FIG. 5, the areas of the management table 8 are x1 to x24, and the areas x1 to x2.
It is assumed that each of 4 is set to the value 0. In the sequence described below, 64 Kbps (64 Kbps) from the manager 1 to the position of the time slot TS24 (FIG. 2).
s × 1) line is set, and a 1.5 Mbps line (64 Kbps × 24 line) that occupies the time slots TS1 to TS24 from the manager 2 is set behind the instruction from the manager 1.

【0031】まず、上述の従来方式を図7に従って説明
する。
First, the above conventional method will be described with reference to FIG.

【0032】マネージャ1が、自らが有する管理テーブ
ルのコピーを参照し、全てのタイムスロットTSが空い
ているものと認識する。従来方式では、次にマネージャ
1が、タイムスロットTS24を確保するために、x2
4の領域をロックする要求をエージェントに対して発行
する。
The manager 1 refers to the copy of its own management table and recognizes that all the time slots TS are free. In the conventional method, the manager 1 then uses x2 to secure the time slot TS24.
Issue a request to the agent to lock area 4.

【0033】エージェントは、要求に従って、領域x2
4をロックし、正常に処理したことを、マネージャ1に
応答する。
The agent requests the area x2 according to the request.
Locks 4 and responds to the manager 1 that it has processed normally.

【0034】本応答を受けて、マネージャ1は、管理オ
ブジェクト(M0)を生成するための準備として、管理
テーブルの内容を「x24(タイムスロットTS24に
相当する領域)=1」とする要求をエージェントに送出
する。
In response to this response, the manager 1 requests the agent to set the content of the management table to "x24 (area corresponding to time slot TS24) = 1" in preparation for generating the management object (M0). Send to.

【0035】エージェントは、これを受けて、該当領域
に1を設定しようとするが、このとき、管理テーブルの
該当領域は0となっているので、他のマネージャーから
のアクセスはないと判断し、要求通りに該当領域に値1
を設定する。
In response to this, the agent tries to set 1 in the corresponding area, but at this time, since the corresponding area in the management table is 0, it is judged that there is no access from another manager, Value 1 in the relevant area as requested
Set.

【0036】マネージャ1は、この資源の確保が正常に
実行されたことをエージェントから通知され、次に、6
4Kbps回線の管理オブジェクト(M0)を生成する
ために、管理オブジェクト生成要求をエージェントに送
信する。
The manager 1 is notified by the agent that the reservation of this resource has been normally executed, and then 6
A management object generation request is transmitted to the agent in order to generate a management object (M0) for a 4 Kbps line.

【0037】この後、マネージャ1の挙動とは独立に、
マネージャ2が、自らが有する管理テーブルのコピーを
参照し、全てのタイムスロットTSが空いているものと
認識した後、タイムスロットTS1〜24を使用する
1.5Mbps回線の管理オブジェクト(M0)を生成
するために、それぞれについて順次ロックし、その後、
順次、値1を設定するという操作を繰り返す。
After this, independently of the behavior of the manager 1,
The manager 2 refers to a copy of its own management table, recognizes that all the time slots TS are empty, and then creates a management object (M0) of a 1.5 Mbps line using the time slots TS1 to TS24. To lock each one in turn, and then
The operation of sequentially setting the value 1 is repeated.

【0038】エージェントは、これを受けて、タイムス
ロットTS1に相当する領域x1から領域x24に対し
て、まず全てをロックした後、全てのロックが完了した
時点で、値1の設定を行おうとする。
In response to this, the agent first locks all the areas x1 to x24 corresponding to the time slot TS1 and then tries to set the value 1 when all the locks are completed. .

【0039】領域x1から領域x23までは、ロックさ
れていないので、他のマネージャからのアクセスはない
と判断するが、領域x24は、既にマネージャ1からの
資源確保動作によって、ロックされているため、他マネ
ージャからのアクセスがあるものと認識し、ここで処理
を中断する。
Since the areas x1 to x23 are not locked, it is judged that there is no access from another manager. However, the area x24 is already locked by the resource securing operation from the manager 1, Recognize that there is access from another manager and interrupt the processing here.

【0040】即ち、マネージャ2からの要求は、資源の
確保ができないために、実行不可能と認識する。
That is, it is recognized that the request from the manager 2 cannot be executed because the resource cannot be secured.

【0041】この後、エージェントは、領域x1〜x2
3に対して、全てのロックを解除する。これにより、管
理テーブルはマネージャ2の要求が発生する前の状態に
戻る。
After this, the agent determines the areas x1 to x2.
For 3, unlock all locks. As a result, the management table returns to the state before the request from the manager 2 occurred.

【0042】さらに、エージェントから通知された、資
源確保失敗通知により、マネージャ2は、自らの要求が
異常終了したことを知る。
Further, the resource securing failure notification sent from the agent allows the manager 2 to know that its request has ended abnormally.

【0043】この後、さらに時間が経過し、マネージャ
1から発行された管理オブジェクト生成要求がエージェ
ント以下の処理において正常に終了した時点で、エージ
ェントからマネージャ1に対して管理オブジェクト(M
O))が正常に生成された旨を通知するメッセージが送
信され、マネージャ1は、自らが発行した要求が正常に
終了したことを認識する。
After that, when a further time elapses and the management object generation request issued from the manager 1 is normally completed in the processing of the agent and below, the management object (M
O)) is normally generated, and the manager 1 recognizes that the request issued by the manager 1 has been normally completed.

【0044】以上の通り、従来方式では、マネージャか
ら管理テーブル(MO)の該当領域に対して、逐一ロッ
クを行って、他マネージャからのアクセスに対してガー
ドをかけた後に、管理テーブルに値を書き込み、全ての
資源(この場合は、収容元パスのタイムスロットTS)
が確保できた時点で、管理オブジェクト(OS)の生成
要求を送出するため、マネージャとエージェント間の伝
送効率および、マネージャ・エージェントにおける処理
効率が悪いという欠点がある。
As described above, in the conventional method, the manager locks the relevant area of the management table (MO) one by one, guards against access from other managers, and then sets the value in the management table. Write, all resources (in this case, time slot TS of accommodation path)
Since a management object (OS) generation request is sent at the time when the management object (OS) is secured, there is a drawback that the transmission efficiency between the manager and the agent and the processing efficiency in the manager / agent are poor.

【0045】特に、管理テーブルにおいて、複数領域を
確保する必要がある管理オブジェクト(MO)を生成す
る必要がある場合は、問題が大きい。
In particular, when a management object (MO) that needs to secure a plurality of areas needs to be generated in the management table, the problem is large.

【0046】次に、本発明の一実施例による方式に従っ
たシーケンス例を図6を使って説明する。
Next, a sequence example according to the method according to the embodiment of the present invention will be described with reference to FIG.

【0047】まず、マネージャ1が、自らが有する管理
テーブルのコピーを参照し、全てのタイムスロットTS
が空いているものと認識する。本方式では、次にマネー
ジャ1が、タイムスロットTS24を確保するために、
管理テーブルの内容を「x24(タイムスロットTS2
4に相当する領域)=1」とする要求をエージェントに
送出する。
First, the manager 1 refers to the copy of the management table that it has, and checks all the time slots TS.
Recognize that it is vacant. In the present method, the manager 1 next secures the time slot TS24 by
The content of the management table is "x24 (time slot TS2
A request to set "area corresponding to 4) = 1" is sent to the agent.

【0048】エージェントは、これを受けて、該当領域
に1を設定しようとするが、このとき、管理テーブルの
該当領域は0となっているので、他のマネージャからア
クセスはないと判断し、要求通りに該当領域に値1を設
定する。
In response to this, the agent tries to set 1 in the corresponding area, but at this time, since the corresponding area in the management table is 0, it is judged that there is no access from another manager, and the request is made. The value 1 is set in the corresponding area as per the above.

【0049】マネージャ1は、この資源の確保が正常に
実行されたことをエージェントから通知され、次に、6
4Kbps回線の管理オブジェクト(MO)を生成する
ために、管理オブジェクト生成要求をエージェントに送
信する。
The manager 1 is notified by the agent that the reservation of this resource has been normally executed, and then 6
A management object generation request is transmitted to the agent in order to generate a management object (MO) of a 4 Kbps line.

【0050】この後、マネージャ1の挙動とは独立に、
マネージャ2が、自ら有する管理テーブルのコピーを参
照し、全てのタイムスロットTSが空いているものと認
識した後、タイムスロットTS1〜24を確保するため
に、管理テーブル内容を「x1〜x24(タイムスロッ
トTS1〜TS24に相当する領域)=1」とする要求
をエージェントに送出する。
After this, independently of the behavior of the manager 1,
After the manager 2 refers to the copy of the management table of its own and recognizes that all the time slots TS are vacant, in order to secure the time slots TS1 to 24, the contents of the management table are set to "x1 to x24 (time A request for "area corresponding to slots TS1 to TS24) = 1" is sent to the agent.

【0051】エージェントは、これを受けて、タイムス
ロットTS1に相当する領域x1から順番に、該当領域
に1を設定しようとするが、領域x1から領域x23ま
では、管理テーブルの該当領域は0となっているので、
他のマネージャからのアクセスはないと判断し、要求通
りに該当領域に値1を設定する。
In response to this, the agent tries to set 1 to the corresponding area in order from the area x1 corresponding to the time slot TS1, but from the area x1 to the area x23, the corresponding area of the management table is 0. Since it has become
It is determined that there is no access from another manager, and the value 1 is set in the relevant area as requested.

【0052】しかし、領域x24は、既にマネージャ1
からの資源確保動作によって、値1に設定されているた
め、他マネージャからのアクセスがあるものと認識し、
ここで処理を中断する。
However, the area x24 is already in the manager 1
Since the value is set to 1 by the resource securing operation from, it is recognized that there is an access from another manager,
The process is interrupted here.

【0053】即ち、マネージャ2からの要求は、資源の
確保ができないために、実行不可能と認識する。
That is, the request from the manager 2 cannot be executed because the resource cannot be secured.

【0054】エージェントは、管理テーブルの状態を元
に戻すため、タイムスロットTS1に相当する領域x1
から順番に、該当領域に0を設定する。これにより、領
域x1から領域x23までは、全てエージェントから0
に設定戻され、管理テーブルはマネージャ2の要求が発
生する前の状態に戻る。
Since the agent restores the state of the management table to the original state, the area x1 corresponding to the time slot TS1
In order from 0, 0 is set in the corresponding area. As a result, the area x1 to the area x23 are all 0 from the agent.
The management table is returned to the state before the request of the manager 2 is generated.

【0055】さらに、エージェントから通知された、資
源確保失敗通知により、マネージャ2は、自らの要求が
異常終了したことを知る。
Further, the resource securing failure notification sent from the agent allows the manager 2 to know that its own request has terminated abnormally.

【0056】この後、さらに時間が経過し、マネージャ
1から発行された管理オブジェクト生成要求が、エージ
ェント以下の処理において正常に終了した時点で、エー
ジェントからマネージャ1に対して管理オブジェクト
(MO)が正常に生成された旨を通知するメッセージが
送信され、マネージャ1は、自ら発行した要求が正常に
終了したことを認識する。
After that, when a further time elapses and the management object generation request issued from the manager 1 ends normally in the processing of the agent and below, the management object (MO) is normal to the manager 1 from the agent. Then, the manager 1 recognizes that the request issued by itself has been completed normally.

【0057】このように、従来方式と比較して、本方式
では効率的な処理が可能となる。
As described above, the present system enables efficient processing as compared with the conventional system.

【0058】[0058]

【発明の効果】以上説明したように本発明は、マネージ
ャからエージェントを経由した、管理テーブルに対する
ロック状態の設定及びそれに伴う管理テーブルに対する
値の設定処理が不要となるため、管理テーブルの領域多
数の値を書き換える処理を伴う管理オブジェクトを生成
する場合においても、処理の効率が悪化せず、またメモ
リ等のシステム資源を余分に必要としないという効果を
有する。
As described above, according to the present invention, it is not necessary to set the lock state of the management table and the setting of the value of the management table accompanying the setting via the agent from the manager, so that a large number of areas of the management table can be obtained. Even in the case of generating a management object that involves a process of rewriting a value, the processing efficiency does not deteriorate, and there is an effect that an extra system resource such as a memory is not required.

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

【図1】本発明が適用されるネットワーク管理システム
のブロック図である。
FIG. 1 is a block diagram of a network management system to which the present invention is applied.

【図2】図1のネットワーク管理システムの管理オブジ
ェクト及び管理テーブルを説明するためのブロック図で
ある。
FIG. 2 is a block diagram illustrating a management object and a management table of the network management system of FIG.

【図3】図2の管理テーブルを説明するためのブロック
図である。
FIG. 3 is a block diagram for explaining the management table of FIG.

【図4】図1のネットワーク管理システムの本発明にか
かわる要部を抽出したブロック図である。
FIG. 4 is a block diagram in which essential parts of the network management system of FIG. 1 according to the present invention are extracted.

【図5】従来方式及び本発明の一実施例による方式のシ
ーケンスを説明するのに使用する図である。
FIG. 5 is a diagram used to describe a sequence of a conventional system and a system according to an embodiment of the present invention.

【図6】本発明の一実施例による方式のシーケンス例を
示した図である。
FIG. 6 is a diagram showing a sequence example of a system according to an embodiment of the present invention.

【図7】従来方式のシーケンス例を示した図である。FIG. 7 is a diagram showing a sequence example of a conventional method.

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

1 マネージャ 2 マネージャ 3 管理情報ベース(MIB) 4 エージェント 5 仲介装置 6 伝送装置(NE) 7 管理オブジェクト(MO) 8 管理テーブル 1 Manager 2 Manager 3 Management Information Base (MIB) 4 Agent 5 Mediation Device 6 Transmission Device (NE) 7 Management Object (MO) 8 Management Table

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 管理対象の管理操作を行う複数のマネー
ジャと、前記複数のマネージャの管理対象である管理オ
ブジェクトを収容する管理情報ベースと、前記複数のマ
ネージャから指示された管理操作を代行し、前記管理情
報ベースにアクセスするエージェントとを、備え、前記
複数のマネージャが単一の前記エージェントに対して管
理オブジェクトの操作を依頼するマルチマネージャ環境
のネットワーク管理システムにおいて、 前記管理情報ベースは、管理オブジェクトの生成に必要
な資源の利用状態を管理するため、管理オブジェクトの
生成に必要な資源に対応する領域に一値が設定されてい
るときは、対応する資源が利用可能であり、他値が設定
されるときは、対応する資源が利用不可能であることを
示す管理テーブルを有し、 前記エージェントは、この管理テーブルによって、管理
オブジェクトによって占有された資源の状態を管理し、 前記複数のマネージャの各々は、前記管理テーブルの内
容と同一の内容の管理テーブルコピーを有し、 前記エージェントは、前記複数のマネージャの一方から
の指示に基づいて管理オブジェクトの生成を行うとき
は、前記管理オブジェクトの生成に必要な資源に対応す
る前記管理テーブルの領域が一個の場合は、前記管理テ
ーブルの当該領域への前記他値の書き込み操作を行い、
これによって当該領域の値の変更が行われた場合は、当
該領域に他のマネージャからの先行アクセスがないと判
断して、対応する管理オブジェクト生成を実行し、か
つ、管理オブジェクトの生成操作が終了した時点で、要
求元のマネージャに管理オブジェクト生成の成功を通知
すると共に、各マネージャが所有する管理テーブルコピ
ーをエージェントが有する管理テーブルと一致させ、当
該領域への前記他値の前記書き込み操作を行っても、当
該領域の値の変更が行われなかった場合は、当該領域に
他のマネージャからの先行アクセスが行われていると判
断して、処理を中断することを特徴とする排他制御方
式。
1. A plurality of managers that perform management operations of a management target, a management information base that stores management objects that are management targets of the plurality of managers, and a management operation designated by the plurality of managers on behalf of the managers. A network management system in a multi-manager environment, comprising: an agent for accessing the management information base, wherein the plurality of managers requests a single agent to operate a management object, wherein the management information base is a management object. In order to manage the usage status of the resources required to create a managed object, when one value is set in the area corresponding to the resource needed to create a managed object, the corresponding resource is available and another value is set. Management table that indicates that the corresponding resource is unavailable, The gent manages the state of the resource occupied by the managed object by this management table, each of the plurality of managers has a management table copy having the same content as the content of the management table, and the agent, When a management object is generated based on an instruction from one of the plurality of managers, if there is one area in the management table corresponding to the resource required to generate the management object, the area in the management table is the corresponding area. Write the other value to the
When the value of the area is changed as a result, it is determined that there is no prior access from other managers to the area, the corresponding managed object is created, and the management object creation operation ends. At that time, the manager of the request source is notified of the success of the management object generation, the management table copy owned by each manager is matched with the management table of the agent, and the other value is written to the area. Even if the value of the area is not changed, the exclusive control method is characterized in that it judges that the area is being pre-accessed by another manager and interrupts the processing.
【請求項2】 前記エージェントは、当該領域への前記
他値の前記書き込み操作を行っても、当該領域の値の変
更が行われなかった場合は、当該領域に他のマネージャ
からの先行アクセスが行われていると判断して、処理を
中断すると共に、要求元のマネージャに管理オブジェク
ト生成の失敗を通知することを特徴とする請求項1に記
載の排他制御方式。
2. The agent, if the value of the area is not changed even after performing the write operation of the other value to the area, prior access from another manager to the area is performed. The exclusive control method according to claim 1, wherein it is determined that the management object is being executed, and the processing is interrupted, and at the same time, the manager of the request source is notified of the failure of the management object generation.
【請求項3】 管理対象の管理操作を行う複数のマネー
ジャと、前記複数のマネージャの管理対象である管理オ
ブジェクトを収容する管理情報ベースと、前記複数のマ
ネージャから指示された管理操作を代行し、前記管理情
報ベースにアクセスするエージェントとを、備え、前記
複数のマネージャが単一の前記エージェントに対して管
理オブジェクトの操作を依頼するマルチマネージャ環境
のネットワーク管理システムにおいて、 前記管理情報ベースは、管理オブジェクトの生成に必要
な資源の利用状態を管理するため、管理オブジェクトの
生成に必要な資源に対応する領域に一値が設定されてい
るときは、対応する資源が利用可能であり、他値が設定
されるときは、対応する資源が利用不可能であることを
示す管理テーブルを有し、 前記エージェントは、この管理テーブルによって、管理
オブジェクトによって占有された資源の状態を管理し、 前記複数のマネージャの各々は、前記管理テーブルの内
容と同一の内容の管理テーブルコピーを有し、 前記エージェントは、前記複数のマネージャの一方から
の指示に基づいて管理オブジェクトの生成を行うとき
は、前記管理オブジェクトの生成に必要な資源に対応す
る前記管理テーブルの領域がN(2以上の整数)個の場
合は、前記管理テーブルの当該N個の領域の各々への前
記他値の書き込み操作を行い、これによって当該N個の
領域の各々の値の変更が行われている限り、当該N個の
領域の各々に他のマネージャからの先行アクセスがない
と判断して、当該N個の領域の次の一つへの前記他値の
書き込み操作を行い、これによって当該N個の領域の全
ての値の変更が行われた場合は、対応する管理オブジェ
クト生成を実行し、かつ、管理オブジェクトの生成操作
が終了した時点で、要求元のマネージャに管理オブジェ
クト生成の成功を通知すると共に、各マネージャが所有
する管理テーブルコピーをエージェントが有する管理テ
ーブルと一致させ、当該N個の領域の各々への前記他値
の前記書き込み操作を行っても、当該N個の領域の各々
の値の変更が行われなかった場合は、当該N個の領域の
各々に他のマネージャからの先行アクセスが行われてい
ると判断して、処理を中断することを特徴とする排他制
御方式。
3. A plurality of managers that perform management operations of management targets, a management information base that stores management objects that are management targets of the plurality of managers, and a management operation designated by the plurality of managers on behalf of the managers. A network management system in a multi-manager environment, comprising: an agent for accessing the management information base, wherein the plurality of managers requests a single agent to operate a management object, wherein the management information base is a management object. In order to manage the usage status of the resources required to create a managed object, when one value is set in the area corresponding to the resource needed to create a managed object, the corresponding resource is available and another value is set. Management table that indicates that the corresponding resource is unavailable, The gent manages the state of the resource occupied by the managed object by this management table, each of the plurality of managers has a management table copy having the same content as the content of the management table, and the agent, When a management object is generated based on an instruction from one of the plurality of managers, when the number of areas of the management table corresponding to the resources required to generate the management object is N (integer of 2 or more) , As long as the other value is written to each of the N areas of the management table, and thereby the value of each of the N areas is changed, It is judged that there is no previous access from another manager to the other area, and the other value is written to the next one of the N areas. When all the values of the N areas have been changed, the corresponding managed object is generated, and when the management object generation operation is completed, the generation of the managed object is successful in the requesting manager. Is notified and the management table copy owned by each manager is matched with the management table owned by the agent, and the write operation of the other value to each of the N areas is performed, If the respective values are not changed, it is determined that each of the N areas is being pre-accessed by another manager, and the processing is interrupted. .
【請求項4】 前記エージェントは、当該N個の領域へ
の前記他値の前記書き込み操作を行っても、当該N個の
領域の各々の値の変更が行われなかった場合は、当該N
個の領域の各々に他のマネージャからの先行アクセスが
行われていると判断して、処理を中断すると共に、既に
値の変更を行った各領域の値を元に戻し、要求元のマネ
ージャに管理オブジェクト生成の失敗を通知することを
特徴とする請求項3に記載の排他制御方式。
4. If the agent does not change the value of each of the N areas even after performing the write operation of the other value to the N areas, the agent changes the N value.
It judges that each of these areas is being pre-accessed by another manager, interrupts processing, and restores the values of each area whose values have already been changed to the requesting manager. The exclusive control method according to claim 3, wherein a failure of management object generation is notified.
【請求項5】 管理対象の管理操作を行う複数のマネー
ジャと、前記複数のマネージャの管理対象である管理オ
ブジェクトを収容する管理情報ベースと、前記複数のマ
ネージャから指示された管理操作を代行し、前記管理情
報ベースにアクセスするエージェントとを、備え、前記
複数のマネージャが単一の前記エージェントに対して管
理オブジェクトの操作を依頼するマルチマネージャ環境
のネットワーク管理システムにおいて、 前記管理情報ベースは、管理オブジェクトの生成に必要
な資源の利用状態を管理するため、管理オブジェクトの
生成に必要な資源に対応する領域に一値が設定されてい
るときは、対応する資源が利用可能であり、他値が設定
されるときは、対応する資源が利用不可能であることを
示す管理テーブルを有し、 前記エージェントは、この管理テーブルによって、管理
オブジェクトによって占有された資源の状態を管理し、 前記複数のマネージャの各々は、前記管理テーブルの内
容と同一の内容の管理テーブルコピーを有し、 前記エージェントは、前記複数のマネージャの一方から
の指示に基づいて管理オブジェクトの削除を行うとき
は、前記管理オブジェクトの削除に必要な資源に対応す
る前記管理テーブルの領域が一個の場合は、前記管理テ
ーブルの当該領域への前記一値の書き込み操作を行い、
これによって当該領域の値の変更が行われた場合は、当
該領域に他のマネージャからの先行アクセスがないと判
断して、対応する管理オブジェクト削除を実行し、か
つ、管理オブジェクトの削除操作が終了した時点で、要
求元のマネージャに管理オブジェクト削除の成功を通知
すると共に、各マネージャが所有する管理テーブルコピ
ーをエージェントが有する管理テーブルと一致させ、当
該領域への前記一値の前記書き込み操作を行っても、当
該領域の値の変更が行われなかった場合は、当該領域に
他のマネージャからの先行アクセスが行われていると判
断して、処理を中断することを特徴とする排他制御方
式。
5. A plurality of managers that perform management operations of management targets, a management information base that stores management objects that are management targets of the plurality of managers, and the management operations designated by the plurality of managers are delegated. A network management system in a multi-manager environment, comprising: an agent for accessing the management information base, wherein the plurality of managers requests a single agent to operate a management object, wherein the management information base is a management object. In order to manage the usage status of the resources required to create a managed object, when one value is set in the area corresponding to the resource needed to create a managed object, the corresponding resource is available and another value is set. Management table that indicates that the corresponding resource is unavailable, The gent manages the state of the resource occupied by the managed object by this management table, each of the plurality of managers has a management table copy having the same content as the content of the management table, and the agent, When deleting a management object based on an instruction from one of the plurality of managers, if there is one area in the management table corresponding to the resource required to delete the management object, the area in the management table Write the above-mentioned one value to
If the value of the area is changed as a result, it is determined that there is no previous access to the area by another manager, the corresponding managed object is deleted, and the management object deletion operation ends. At that time, the manager of the request source is notified of the successful deletion of the managed object, and the management table copy owned by each manager is made to match the management table of the agent, and the one-value write operation to the area is performed. Even if the value of the area is not changed, the exclusive control method is characterized in that it judges that the area is being pre-accessed by another manager and interrupts the processing.
【請求項6】 前記エージェントは、当該領域への前記
一値の前記書き込み操作を行っても、当該領域の値の変
更が行われなかった場合は、当該領域に他のマネージャ
からの先行アクセスが行われていると判断して、処理を
中断すると共に、要求元のマネージャに管理オブジェク
ト削除の失敗を通知することを特徴とする請求項5に記
載の排他制御方式。
6. The agent, if the value of the area is not changed even after the write operation of the one value to the area is performed, prior access from another manager to the area is performed. The exclusive control method according to claim 5, wherein the process is interrupted when it is determined that the management object is deleted, and the manager of the request source is notified of the failure of deleting the managed object.
【請求項7】 管理対象の管理操作を行う複数のマネー
ジャと、前記複数のマネージャの管理対象である管理オ
ブジェクトを収容する管理情報ベースと、前記複数のマ
ネージャから指示された管理操作を代行し、前記管理情
報ベースにアクセスするエージェントとを、備え、前記
複数のマネージャが単一の前記エージェントに対して管
理オブジェクトの操作を依頼するマルチマネージャ環境
のネットワーク管理システムにおいて、 前記管理情報ベースは、管理オブジェクトの生成に必要
な資源の利用状態を管理するため、管理オブジェクトの
生成に必要な資源に対応する領域に一値が設定されてい
るときは、対応する資源が利用可能であり、他値が設定
されるときは、対応する資源が利用不可能であることを
示す管理テーブルを有し、 前記エージェントは、この管理テーブルによって、管理
オブジェクトによって占有された資源の状態を管理し、 前記複数のマネージャの各々は、前記管理テーブルの内
容と同一の内容の管理テーブルコピーを有し、 前記エージェントは、前記複数のマネージャの一方から
の指示に基づいて管理オブジェクトの削除を行うとき
は、前記管理オブジェクトの削除に必要な資源に対応す
る前記管理テーブルの領域がN(2以上の整数)個の場
合は、前記管理テーブルの当該N個の領域の各々への前
記一値の書き込み操作を行い、これによって当該N個の
領域の各々の値の変更が行われている限り、当該N個の
領域の各々に他のマネージャからの先行アクセスがない
と判断して、当該N個の領域の次の一つへの前記一値の
書き込み操作を行い、これによって当該N個の領域の全
ての値の変更が行われた場合は、対応する管理オブジェ
クト削除を実行し、かつ、管理オブジェクトの削除操作
が終了した時点で、要求元のマネージャに管理オブジェ
クト削除の成功を通知すると共に、各マネージャが所有
する管理テーブルコピーをエージェントが有する管理テ
ーブルと一致させ、当該N個の領域の各々への前記一値
の前記書き込み操作を行っても、当該N個の領域の各々
の値の変更が行われなかった場合は、当該N個の領域の
各々に他のマネージャからの先行アクセスが行われてい
ると判断して、処理を中断することを特徴とする排他制
御方式。
7. A plurality of managers that perform management operations of management targets, a management information base that stores management objects that are management targets of the plurality of managers, and a management operation designated by the plurality of managers on behalf of the managers. A network management system in a multi-manager environment, comprising: an agent for accessing the management information base, wherein the plurality of managers requests a single agent to operate a management object, wherein the management information base is a management object. In order to manage the usage status of the resources required to create a managed object, when one value is set in the area corresponding to the resource needed to create a managed object, the corresponding resource is available and another value is set. Management table that indicates that the corresponding resource is unavailable, The gent manages the state of the resource occupied by the managed object by this management table, each of the plurality of managers has a management table copy having the same contents as the contents of the management table, and the agent, When deleting a management object based on an instruction from one of the plurality of managers, if there are N (integer of 2 or more) areas in the management table corresponding to the resources required to delete the management object, , As long as the operation of writing the one value to each of the N areas of the management table is performed to change the value of each of the N areas, It is determined that there is no preceding access to another manager in the above, and the operation of writing the one value to the next one of the N areas is performed. When all the values of the N areas have been changed, the corresponding managed object is deleted, and when the management object deletion operation is completed, the management of the requesting manager succeeds in deleting the managed object. Is notified, and the management table copy owned by each manager is matched with the management table owned by the agent and the write operation of the one value to each of the N areas is performed, If the respective values are not changed, it is determined that each of the N areas is being pre-accessed by another manager, and the processing is interrupted. .
【請求項8】 前記エージェントは、当該N個の領域へ
の前記一値の前記書き込み操作を行っても、当該N個の
領域の各々の値の変更が行われなかった場合は、当該N
個の領域の各々に他のマネージャからの先行アクセスが
行われていると判断して、処理を中断すると共に、既に
値の変更を行った各領域の値を元に戻し、要求元のマネ
ージャに管理オブジェクト削除の失敗を通知することを
特徴とする請求項7に記載の排他制御方式。
8. If the agent does not change the value of each of the N areas even after performing the write operation of the one value to the N areas, the agent changes the N value.
It judges that each of these areas is being pre-accessed by another manager, interrupts processing, and restores the values of each area whose values have already been changed to the requesting manager. The exclusive control method according to claim 7, wherein a failure in deleting the managed object is notified.
JP7097185A 1995-04-21 1995-04-21 Exclusive control method Expired - Lifetime JP2737765B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7097185A JP2737765B2 (en) 1995-04-21 1995-04-21 Exclusive control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7097185A JP2737765B2 (en) 1995-04-21 1995-04-21 Exclusive control method

Publications (2)

Publication Number Publication Date
JPH08293897A true JPH08293897A (en) 1996-11-05
JP2737765B2 JP2737765B2 (en) 1998-04-08

Family

ID=14185531

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7097185A Expired - Lifetime JP2737765B2 (en) 1995-04-21 1995-04-21 Exclusive control method

Country Status (1)

Country Link
JP (1) JP2737765B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000115216A (en) * 1998-10-09 2000-04-21 Toshiba Corp Information communication system and network supervisory controller
US8131679B2 (en) 2007-05-18 2012-03-06 Hitachi, Ltd. Exclusive control method for database and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000115216A (en) * 1998-10-09 2000-04-21 Toshiba Corp Information communication system and network supervisory controller
US8131679B2 (en) 2007-05-18 2012-03-06 Hitachi, Ltd. Exclusive control method for database and program

Also Published As

Publication number Publication date
JP2737765B2 (en) 1998-04-08

Similar Documents

Publication Publication Date Title
US6539446B1 (en) Resource locking approach
US5454108A (en) Distributed lock manager using a passive, state-full control-server
US6775703B1 (en) Lease based safety protocol for distributed system with multiple networks
US5872969A (en) System and method for efficiently synchronizing cache and persistent data in an object oriented transaction processing system
US7266722B2 (en) System and method for efficient lock recovery
US5535375A (en) File manager for files shared by heterogeneous clients
US7047240B2 (en) File backup method and storage apparatus, computer program therefor and computer-readable medium containing the same
JP5320073B2 (en) Predictive changes to resources managed by locks
US20050125461A1 (en) Version control of metadata
KR100423225B1 (en) Merge protocol for clustered computer system
JPH086840A (en) Mechanism for judgment of completion of directory operation for server recovery
JP2006500693A (en) Dynamic RDF group
JP3554471B2 (en) Group event management method and apparatus in a distributed computer environment
JPH06214967A (en) Decentralized data processing system
JP4885342B2 (en) Highly usable asynchronous I / O in cluster computer systems
JPH07210486A (en) Processing method of multiphase commit
CN111291062B (en) Data synchronous writing method and device, computer equipment and storage medium
CN100550894C (en) The N road is shared the efficient lock management of flash copy in the storage system
US5550973A (en) System and method for failure recovery in a shared resource system having a moving write lock
CN104793981A (en) Online snapshot managing method and device for virtual machine cluster
JP4607999B2 (en) How to handle lock-related inconsistencies
JPH08293897A (en) Exclusive control system
CN116360696A (en) Distributed block storage system, medium, and electronic device thereof
US20240078134A1 (en) Systems and methods for recovery with a distributed lock manager
KR102303895B1 (en) Database Replication System With Improved Database Replication

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: 19971210