JP3551104B2 - Resource management system - Google Patents

Resource management system Download PDF

Info

Publication number
JP3551104B2
JP3551104B2 JP30769099A JP30769099A JP3551104B2 JP 3551104 B2 JP3551104 B2 JP 3551104B2 JP 30769099 A JP30769099 A JP 30769099A JP 30769099 A JP30769099 A JP 30769099A JP 3551104 B2 JP3551104 B2 JP 3551104B2
Authority
JP
Japan
Prior art keywords
resource management
client
resource
generation
management table
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
Application number
JP30769099A
Other languages
Japanese (ja)
Other versions
JP2001125818A (en
Inventor
俊英 高野
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 JP30769099A priority Critical patent/JP3551104B2/en
Publication of JP2001125818A publication Critical patent/JP2001125818A/en
Application granted granted Critical
Publication of JP3551104B2 publication Critical patent/JP3551104B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Multi Processors (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、計算機システムにおいてクライアントへのファイルなどの資源の割り当て状況を管理し、共有排他制御を行う資源管理システムに関する。
【0002】
【従来の技術】
従来より、計算機システムにおいては、クライアントへのファイルなどの資源の割り当て状況を管理し共有排他制御を行う資源管理システムを備え、クライアント間でファイルを共有して使用したり、排他して使用することが可能である。そして資源管理システムは、資源を割り当てられたクライアントがダウンした場合には、資源管理テーブルに、ダウンしたクライアントへの資源割り当てを無効にするための更新を行うことによりそのクライアントへの資源割り当てを解除していた。あるいは、ダウン時には資源管理テーブルを放置し、ダウン後の各クライアントからの資源割り当て要求時に、資源が競合するクライアントの存在をチェックすることにより対処していた。
【0003】
【発明が解決しようとする課題】
しかしながら、上述した従来の資源管理システムにおいては、資源管理テーブルに、ダウンしたクライアントへ割り当てた全ての資源を無効にするための更新をそれぞれ行うので、全ての資源割り当てが解除されるには時間が掛かる。そのために、その間、他クライアントへの資源割り当ておよび資源解放の性能を低下させるという問題があった。
また、ダウン時には資源管理テーブルを放置し、ダウン後の各クライアントからの資源割り当て要求時に、資源が競合するクライアントの存在をチェックする対処においても、資源割り当て時に性能低下を招いていた。
本発明は、このような事情を考慮してなされたもので、その目的は資源を割り当てられたクライアントがダウンした場合に、資源割り当ての解除を高速に実施することが可能であり、且つダウン発生後の各クライアントへの資源割り当て処理の性能を低下させない資源管理システムを提供することにある。
【0004】
【課題を解決するための手段】
上記の課題を解決するために、請求項1に記載の発明は、複数の資源を共有使用または排他使用する複数のクライアントを有する計算機システムの資源管理システムにおいて、前記クライアントが開設される時に設定された資源管理世代を前記複数のクライアント毎に保持する資源管理世代管理テーブルと、前記クライアントへ前記資源が割り当てられた時に設定されていた前記資源管理世代を保持するものであって、前記複数の資源に対応した複数の資源管理テーブルエントリと、前記資源管理世代管理テーブルと前記資源管理テーブルエントリとに各々保持される前記クライアントの資源管理世代が一致しているか否かによって、該クライアントへの該資源の割り当てが有効か否かを判別し、前記資源の共有排他制御を行う資源管理制御手段とを具備してなるものである。
請求項2に記載の発明は、請求項1に記載の発明において、前記資源管理制御手段は、前記クライアントのダウン時には前記資源管理世代管理テーブルに保持される該ダウンしたクライアントの資源管理世代を変更することによって、該クライアントへの全ての資源の割り当てを一括して解除する資源割り当て解除手段を具備することを特徴とする。
【0005】
請求項3に記載の発明は、請求項1または請求項2に記載の発明において、前記資源管理制御手段は、前記資源管理世代管理テーブルと前記資源管理テーブルエントリとに各々保持される前記クライアントの資源管理世代が一致しているか否かによって、該クライアントへの該資源の割り当てが有効か否かを判別し、前記クライアントへ該資源を割り当てることが可能か否かを決定する資源割り当て手段と、前記資源管理テーブルエントリに保持される前記クライアントの資源管理世代を変更することによって、該クライアントから該資源の割り当て解放を行う資源解放手段とを具備することを特徴とする。
請求項4に記載の発明は、請求項1乃至請求項3のいずれかの項に記載の発明において、前記資源管理世代管理テーブルは、前記資源管理世代と前記クライアントの開閉設を示す状態とを共に保持することを特徴とする。
請求項5に記載の発明は、請求項4に記載の発明において、資源管理制御手段は、前記クライアントの開設時に前記資源管理世代管理テーブルの該クライアントの資源管理世代を変更して該資源管理世代を該クライアントへ設定し、且つ前記資源管理世代管理テーブルの該クライアントの状態を開設状態とするクライアント開設手段と、前記クライアントの閉設時に前記資源管理世代管理テーブルの該クライアントの資源管理世代を変更し、且つ前記資源管理世代管理テーブルの該クライアントの状態を閉設状態とするクライアント閉設手段とを具備することを特徴とする。
【0006】
【発明の実施の形態】
以下、図面を参照し、本発明の一実施形態について説明する。
図1は本発明の一実施形態による資源管理システムの構成を示すブロック図である。この図において、1と2はファイルなどの資源の割り当ておよび解放を要求するクライアント、3はクライアント間において共有されるメモリ(以下、共有メモリと称する)上に記録される資源管理世代管理テーブル(図2参照)、4は共有メモリまたはクライアント間で共有可能な制御ファイル上に記録される資源管理テーブル、41は資源管理テーブルエントリ(図3参照)である。そして、クライアント1、2は、それぞれ自身の資源管理世代11、21を当該クライアントのメモリに保持する。10は資源を管理する資源管理制御部であって、クライアント1、2、資源管理世代管理テーブル3および資源管理テーブル4へアクセス可能である。そして資源管理制御部10において、5はクライアントの開設時に初期化を行うクライアント開設部、6はクライアントの閉設時に閉設処理を行うクライアント閉設部、7はクライアントからの資源割り当て要求に応じて資源割り当て制御を行う資源割り当て部、8はクライアントからの資源解放要求に応じて資源解放制御を行う資源解放部、9はクライアントがダウンした場合に、ダウンしたクライアントへの資源割り当てを解除する資源割り当て解除部である。
【0007】
図2は、資源管理世代管理テーブル3の構成を示すテーブル構成図である。資源管理世代管理テーブル3は、各クライアント1、2の資源管理世代311、321および各クライアント1、2の開設済、閉設済などの状態31、32を保持する。
図3は、資源管理テーブルエントリ41の構成を示すテーブル構成図である。資源管理テーブルエントリ41は、割り当てられた資源名をキーとし、各クライアント1、2へ資源を割り当てたときの資源管理世代11、21を資源管理世代411、421に保持する。
なお、資源管理テーブルエントリ41はキーである資源名毎に複数設けられる。
【0008】
次に、上述した実施形態による資源管理システムの動作について説明する。初めに、クライアント開設部5は資源管理システム内において最初のクライアント開設時までに、例えば計算機システムの立ち上げ時に資源管理世代管理テーブル3および資源管理テーブル4を初期化する。この初期化によって、資源管理世代管理テーブル3内の各クライアント1、2の資源管理世代311、321は初期値に設定され、そして各クライアント1、2の状態31、32は閉設済に設定される。また、資源管理テーブル4の初期化においては、資源管理テーブル4内には資源管理テーブルエントリ41が無い状態にする。
【0009】
次いで、クライアント1の開設時に、クライアント開設部5は資源管理世代管理テーブル3内のクライアント1の資源管理世代311を初期値から「D1」に変更し、この変更された資源管理世代311の値「D1」をクライアント1の資源管理世代11に格納する。また、このクライアント1の開設時にクライアント開設部5は、資源管理世代管理テーブル3内のクライアント1の状態31を開設済に設定する。
【0010】
次いで、クライアント1からの資源割り当て要求時に、資源割り当て部7は資源管理テーブル4内にその資源割り当て要求と同一資源名をキーとする資源管理テーブルエントリ41が存在するか否かを調べる。そして、同一資源名をキーとする資源管理テーブルエントリ41が存在しない場合は、資源割り当て部7は当該資源名をキーとする資源管理テーブルエントリ41を作成し、資源管理テーブルエントリ41内のクライアント1の資源管理世代411へクライアント1の資源管理世代11の値「D1」を設定する。そして、当該資源がクライアント1へ割り当てられる。
ここで、クライアント1からの資源割り当て要求時において、同一資源名をキーとする資源管理テーブルエントリ41が既に存在している場合の資源割り当て部7の動作について説明する。これは、例えば、クライアント2が既に開設済となり、当該資源を割り当てられている場合である。この場合、資源割り当て部7は当該資源管理テーブルエントリ41内の各クライアント1、2の資源管理世代411、421と、資源管理世代管理テーブル3内の各クライアントの資源管理世代311、321とを比較する。そして、クライアント2の資源管理世代421と資源管理世代321とが一致していれば、クライアント2への当該資源の割り当ては有効とする。なお、一致していない場合には、クライアント2への当該資源の割り当ては解除されていると判断される。このように判断された当該資源の割り当て状況によって、クライアント1への当該資源の割り当ての可否が判定される。なお、この判定は、当該資源が共有使用対象であるか、または排他使用対象であるかに応じて決定される。そして、クライアント1に当該資源を割り当て可能な場合には、資源割り当て部7は資源管理テーブルエントリ41内のクライアント1の資源管理世代411へクライアント1の資源管理世代11の値「D1」を設定し、当該資源をクライアント1へ割り当てる。
【0011】
次いで、クライアント1からの資源解放要求時に、資源解放部8は資源管理テーブル4内において資源解放要求と同一資源名をキーとする資源管理テーブルエントリ41を検索する。そして、当該資源管理テーブルエントリ41内のクライアント1の資源管理世代411の値をクリアする。この結果、資源管理世代411の値と資源管理世代管理テーブル3内のクライアント1の資源管理世代311の値「D1」とが不一致となり、クライアント1への資源割り当てが無効となる。また、当該資源管理テーブルエントリ41内の全てのクライアントへの資源割り当てが無効になった場合には、資源解放部8は当該資源管理テーブルエントリ41を削除する。
次いで、クライアント1の閉設時に、クライアント閉設部6は、資源管理世代管理テーブル3内のクライアント1の資源管理世代311をクリアし、クライアント1の状態31を閉設済に変更する。
【0012】
次に、上述したように、クライアント1が開設され資源が割り当てられている状態においてダウンした場合の動作について説明する。その時の資源管理世代11と資源管理世代311及び資源管理世代411の値は全て「D1」である。この場合、資源割り当て解除部9は資源管理世代管理テーブル3のクライアント1の資源管理世代311の値をクリアする。この結果、クライアント1の資源管理テーブルエントリ41内の資源管理世代411の値「D1」と資源管理世代管理テーブル3内の資源管理世代311の値とが不一致となるので、クライアント1への資源の割り当てが無効になる。そして、クライアント1へ複数の資源が割り当てられていた場合においても、同様に、資源管理世代311の値と複数の当該資源管理テーブルエントリ41内の資源管理世代411の値とが不一致となるので、全ての当該資源の割り当てを一括して無効にすることができる。なお、クライアント1のダウン検出は、計算機システムで一般的に使用されている方法を使用して良い。
なお、クライアント1の開設時において、クライアント開設部5が資源管理世代管理テーブル3のクライアント1の状態31を参照した結果、閉設済になっていない場合には、資源解放部8が資源管理テーブル4内の各資源管理テーブルエントリ41の資源に対して、上述した方法によってクライアント1から資源の解放を行う。このように状態31が閉設済になっていないことは、前回開設されたクライアント1が、ダウンしたなどの理由によって正常に閉設されていないことを表している。そのために、クライアント1から資源の解放を実施し、不要な資源管理テーブルエントリ41を削除することによって資源管理テーブル4の有効利用を図る。
【0013】
このように上述した実施形態においては、資源管理世代管理テーブル3内の資源管理世代311、321と資源管理テーブルエントリ41内の資源管理世代411、421が各々一致しているか否かによって、当該資源の割り当てが有効か否かを判別する。したがって、クライアント1または2がダウンした場合には、資源割り当て解除部9が資源管理世代管理テーブル3内の資源管理世代311または321を変更するだけで、当該クライアントへの全ての資源の割り当てを一括して解除することができる。さらに、クライアント1または2がダウンした後においても、同様にしてクライアント1、2への資源割り当てが有効か否かを判別できるので、各クライアントへの資源割り当て処理の性能が低下しない。
なお、上述した実施形態においては、計算機システムのクライアント数をクライアント1、2の2つとしたが、3つ以上のクライアントが存在する計算機システムにおいても同様に資源を管理することが可能である。
【0014】
【発明の効果】
以上説明したように、本発明によれば、資源管理世代管理テーブルと資源管理テーブルエントリとを設け、各々が保持する資源管理世代が一致しているか否かによって、クライアントへの資源の割り当てが有効か否かを判別する。したがって、クライアントがダウンした場合には、単に資源管理世代管理テーブルの資源管理世代を変更することによって、そのクライアントへの全ての資源の割り当てが一括して解除されるので、資源割り当ての解除を高速に実施することができる効果が得られる。
さらに、クライアントがダウンした後においても、同様にしてクライアントへの資源割り当てが有効か否かを判別できるので、各クライアントへの資源割り当て処理の性能が低下しないという効果も得られる。
【図面の簡単な説明】
【図1】本発明の一実施形態による資源管理システムの構成を示すブロック図である。
【図2】同実施形態による資源管理世代管理テーブル3の構成を示すテーブル図である。
【図3】同実施形態による資源管理テーブルエントリ41の構成を示すテーブル図である。
【符号の説明】
1、2 クライアント
3 資源管理世代管理テーブル
4 資源管理テーブル
5 クライアント開設部
6 クライアント閉設部
7 資源割り当て部
8 資源解放部
9 資源割り当て解除部
10 資源管理制御部
11、21 資源管理世代
41 資源管理テーブルエントリ
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a resource management system that manages the status of allocation of resources such as files to clients in a computer system and performs shared exclusion control.
[0002]
[Prior art]
Conventionally, a computer system has been provided with a resource management system that manages the allocation status of resources such as files to clients and performs shared exclusion control. Files can be shared between clients or used exclusively. Is possible. When the client to which the resource is assigned goes down, the resource management system releases the resource assignment to the client by updating the resource management table to invalidate the resource assignment to the downed client. Was. Alternatively, the resource management table is left in the event of a downtime, and when a resource allocation request is issued from each client after the downtime, a check is made for the presence of a client whose resources conflict with each other.
[0003]
[Problems to be solved by the invention]
However, in the above-described conventional resource management system, the resource management table is updated to invalidate all the resources allocated to the downed client. Therefore, it takes time to release all the resource allocations. Hang on. Therefore, during that time, there is a problem that the performance of allocating resources to other clients and releasing resources is degraded.
In addition, when the resource management table is left down during the downtime, and when there is a resource allocation request from each client after the downtime, checking for the existence of a client whose resources are in conflict with each other also causes performance degradation at the time of resource allocation.
The present invention has been made in view of such circumstances, and an object of the present invention is to enable the resource allocation to be released at high speed when a client to which resources are allocated goes down, and that a down occurs. An object of the present invention is to provide a resource management system that does not lower the performance of resource allocation processing to each client later.
[0004]
[Means for Solving the Problems]
In order to solve the above problem, an invention according to claim 1 is set when a client is opened in a resource management system of a computer system having a plurality of clients that share or exclusively use a plurality of resources. A resource management generation management table for holding the resource management generation for each of the plurality of clients, and the resource management generation set when the resource was allocated to the client, and A plurality of resource management table entries corresponding to the resource management generation table and the resource management generation of the client stored in the resource management table entry. Resource management control for determining whether or not the allocation of resources is valid and performing shared exclusive control of the resources Are those formed by and a stage.
According to a second aspect of the present invention, in the first aspect of the present invention, the resource management control means changes the resource management generation of the downed client held in the resource management generation management table when the client goes down. By doing so, there is provided a resource allocation canceling means for collectively canceling the allocation of all resources to the client.
[0005]
According to a third aspect of the present invention, in the first or second aspect of the present invention, the resource management control unit is configured to store the resource management generation management table and the resource management table entry. Resource allocation means for determining whether or not the allocation of the resource to the client is valid according to whether the resource management generations match, and determining whether or not the resource can be allocated to the client; Resource release means for releasing the allocation of the resource from the client by changing the resource management generation of the client held in the resource management table entry.
According to a fourth aspect of the present invention, in the invention according to any one of the first to third aspects, the resource management generation management table stores the resource management generation and a status indicating the open / close state of the client. It is characterized by being held together.
According to a fifth aspect of the present invention, in the fourth aspect of the present invention, the resource management control means changes the resource management generation of the client in the resource management generation management table when the client is opened. Means for setting the client in the resource management generation management table, and changing the resource management generation of the client in the resource management generation management table when the client is closed. And a client closing means for setting the state of the client in the resource management generation management table to a closed state.
[0006]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
FIG. 1 is a block diagram showing a configuration of a resource management system according to one embodiment of the present invention. In this figure, reference numerals 1 and 2 denote clients that request allocation and release of resources such as files, and reference numeral 3 denotes a resource management generation management table (referred to as a shared memory) recorded in a memory shared between the clients (hereinafter referred to as a shared memory). 2), 4 is a resource management table recorded on a shared memory or a control file that can be shared between clients, and 41 is a resource management table entry (see FIG. 3). Then, the clients 1 and 2 respectively hold their own resource management generations 11 and 21 in the memory of the client. Reference numeral 10 denotes a resource management control unit that manages resources, and is capable of accessing the clients 1, 2, the resource management generation management table 3, and the resource management table 4. In the resource management control unit 10, reference numeral 5 denotes a client opening unit that performs initialization when a client is opened, 6 denotes a client closing unit that performs a closing process when a client is closed, and 7 denotes a resource allocation request from a client. A resource allocating unit that performs resource allocation control, 8 is a resource releasing unit that performs resource release control in response to a resource release request from a client, and 9 is a resource allocation that releases resource allocation to a downed client when the client goes down. Release unit.
[0007]
FIG. 2 is a table configuration diagram showing the configuration of the resource management generation management table 3. The resource management generation management table 3 holds the resource management generations 311 and 321 of the clients 1 and 2 and the statuses 31 and 32 of the clients 1 and 2 such as opened and closed.
FIG. 3 is a table configuration diagram showing the configuration of the resource management table entry 41. The resource management table entry 41 holds the resource management generations 411 and 421 when the resources are allocated to the clients 1 and 2 using the allocated resource name as a key.
Note that a plurality of resource management table entries 41 are provided for each resource name as a key.
[0008]
Next, the operation of the resource management system according to the above-described embodiment will be described. First, the client opening unit 5 initializes the resource management generation management table 3 and the resource management table 4 by the time of opening the first client in the resource management system, for example, when starting up the computer system. By this initialization, the resource management generations 311 and 321 of each client 1 and 2 in the resource management generation management table 3 are set to initial values, and the states 31 and 32 of each client 1 and 2 are set to closed. You. When the resource management table 4 is initialized, the resource management table 4 does not have the resource management table entry 41.
[0009]
Next, when the client 1 is opened, the client opening unit 5 changes the resource management generation 311 of the client 1 in the resource management generation management table 3 from the initial value to “D1”, and changes the value of the changed resource management generation 311 “ D1 ”is stored in the resource management generation 11 of the client 1. When the client 1 is opened, the client opening section 5 sets the status 31 of the client 1 in the resource management generation management table 3 to “opened”.
[0010]
Next, at the time of a resource allocation request from the client 1, the resource allocation unit 7 checks whether or not the resource management table 4 has a resource management table entry 41 having the same resource name as the resource allocation request as a key. If there is no resource management table entry 41 using the same resource name as a key, the resource allocating unit 7 creates the resource management table entry 41 using the resource name as a key, and the client 1 in the resource management table entry 41 The value “D1” of the resource management generation 11 of the client 1 is set to the resource management generation 411 of the client 1. Then, the resource is allocated to the client 1.
Here, the operation of the resource allocation unit 7 when the resource management table entry 41 using the same resource name as a key already exists when a resource allocation request is made from the client 1 will be described. This is the case, for example, when the client 2 has already been opened and has been assigned the resource. In this case, the resource allocation unit 7 compares the resource management generations 411 and 421 of each client 1 and 2 in the resource management table entry 41 with the resource management generations 311 and 321 of each client in the resource management generation management table 3. I do. If the resource management generation 421 and the resource management generation 321 of the client 2 match, the allocation of the resource to the client 2 is valid. If they do not match, it is determined that the allocation of the resource to the client 2 has been released. Based on the resource allocation status determined in this way, whether or not the resource can be allocated to the client 1 is determined. This determination is made depending on whether the resource is a shared use target or an exclusive use target. If the resource can be allocated to the client 1, the resource allocation unit 7 sets the value “D1” of the resource management generation 11 of the client 1 to the resource management generation 411 of the client 1 in the resource management table entry 41. , And allocates the resource to the client 1.
[0011]
Next, upon a resource release request from the client 1, the resource release unit 8 searches the resource management table 4 for a resource management table entry 41 having the same resource name as the resource release request as a key. Then, the value of the resource management generation 411 of the client 1 in the resource management table entry 41 is cleared. As a result, the value of the resource management generation 411 does not match the value "D1" of the resource management generation 311 of the client 1 in the resource management generation management table 3, and the resource allocation to the client 1 becomes invalid. When resource allocation to all clients in the resource management table entry 41 becomes invalid, the resource release unit 8 deletes the resource management table entry 41.
Next, when the client 1 is closed, the client closing unit 6 clears the resource management generation 311 of the client 1 in the resource management generation management table 3 and changes the state 31 of the client 1 to closed.
[0012]
Next, an operation when the client 1 goes down in a state where the client 1 is opened and resources are allocated as described above will be described. At this time, the values of the resource management generation 11, the resource management generation 311 and the resource management generation 411 are all "D1". In this case, the resource allocation release unit 9 clears the value of the resource management generation 311 of the client 1 in the resource management generation management table 3. As a result, the value “D1” of the resource management generation 411 in the resource management table entry 41 of the client 1 and the value of the resource management generation 311 in the resource management generation management table 3 do not match. The assignment becomes invalid. Then, even when a plurality of resources are allocated to the client 1, similarly, the value of the resource management generation 311 does not match the value of the resource management generation 411 in the plurality of resource management table entries 41. All resource assignments can be invalidated collectively. The detection of the down of the client 1 may use a method generally used in a computer system.
When the client 1 is opened, if the client opening unit 5 refers to the state 31 of the client 1 in the resource management generation management table 3 and the client 1 is not closed, the resource release unit 8 sets the resource management table 3 The resources of each resource management table entry 41 in the client 4 are released from the client 1 by the method described above. The fact that the state 31 is not closed indicates that the client 1 opened last time has not been normally closed due to a down condition or the like. For this purpose, the resources are released from the client 1 and unnecessary resource management table entries 41 are deleted, so that the resource management table 4 is effectively used.
[0013]
As described above, in the above-described embodiment, whether the resource management generations 311 and 321 in the resource management generation management table 3 and the resource management generations 411 and 421 in the resource management table entry 41 match each other is determined. It is determined whether the assignment is valid. Therefore, when the client 1 or 2 goes down, the resource allocation release unit 9 only changes the resource management generation 311 or 321 in the resource management generation management table 3 and collectively allocates all resources to the client. You can cancel it. Further, even after the client 1 or 2 goes down, it can be similarly determined whether or not the resource allocation to the clients 1 and 2 is valid, so that the performance of the resource allocation processing to each client does not decrease.
In the above-described embodiment, the number of clients of the computer system is two, that is, the clients 1 and 2. However, resources can be similarly managed in a computer system having three or more clients.
[0014]
【The invention's effect】
As described above, according to the present invention, the resource management generation management table and the resource management table entry are provided, and the allocation of resources to the client is effective depending on whether or not the resource management generations held by each resource match. It is determined whether or not. Therefore, when a client goes down, all resources are allotted to the client at once by simply changing the resource management generation in the resource management generation management table. The effect which can be implemented in this way is acquired.
Further, even after the client goes down, it is possible to determine whether the resource allocation to the client is valid or not in the same manner, so that the effect of the performance of the resource allocation processing to each client does not decrease.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of a resource management system according to an embodiment of the present invention.
FIG. 2 is a table diagram showing a configuration of a resource management generation management table 3 according to the embodiment.
FIG. 3 is a table diagram showing a configuration of a resource management table entry 41 according to the embodiment.
[Explanation of symbols]
1, 2 client 3 resource management generation management table 4 resource management table 5 client opening unit 6 client closing unit 7 resource allocation unit 8 resource release unit 9 resource allocation release unit 10 resource management control unit 11, 21 resource management generation 41 resource management Table entry

Claims (5)

複数の資源を共有使用または排他使用する複数のクライアントを有する計算機システムの資源管理システムにおいて、
前記クライアントが開設される時に設定された資源管理世代を前記複数のクライアント毎に保持する資源管理世代管理テーブルと、
前記クライアントへ前記資源が割り当てられた時に設定されていた前記資源管理世代を保持するものであって、前記複数の資源に対応した複数の資源管理テーブルエントリと、
前記資源管理世代管理テーブルと前記資源管理テーブルエントリとに各々保持される前記クライアントの資源管理世代が一致しているか否かによって、該クライアントへの該資源の割り当てが有効か否かを判別し、前記資源の共有排他制御を行う資源管理制御手段と、
を具備してなる資源管理システム。
In a resource management system of a computer system having a plurality of clients that use or exclusively use a plurality of resources,
A resource management generation management table that holds, for each of the plurality of clients, a resource management generation set when the client is opened;
Holding the resource management generation set when the resource was allocated to the client, a plurality of resource management table entries corresponding to the plurality of resources,
By determining whether or not the resource management generations of the client held in the resource management generation management table and the resource management table entry match, it is determined whether or not the allocation of the resource to the client is valid. Resource management control means for performing shared exclusive control of the resources,
A resource management system comprising:
前記資源管理制御手段は、前記クライアントのダウン時には前記資源管理世代管理テーブルに保持される該ダウンしたクライアントの資源管理世代を変更することによって、該クライアントへの全ての資源の割り当てを一括して解除する資源割り当て解除手段を具備することを特徴とする請求項1に記載の資源管理システム。When the client goes down, the resource management control means changes the resource management generation of the downed client held in the resource management generation management table to release all resources to the client at once. 2. The resource management system according to claim 1, further comprising a resource allocation release unit that performs the resource allocation. 前記資源管理制御手段は、前記資源管理世代管理テーブルと前記資源管理テーブルエントリとに各々保持される前記クライアントの資源管理世代が一致しているか否かによって、該クライアントへの該資源の割り当てが有効か否かを判別し、前記クライアントへ該資源を割り当てることが可能か否かを決定する資源割り当て手段と、
前記資源管理テーブルエントリに保持される前記クライアントの資源管理世代を変更することによって、該クライアントから該資源の割り当て解放を行う資源解放手段と、
を具備することを特徴とする請求項1または請求項2に記載の資源管理システム。
The resource management control means determines whether the allocation of the resource to the client is valid depending on whether or not the resource management generations of the client stored in the resource management generation management table and the resource management table entry respectively match. Resource allocation means for determining whether or not the resource can be allocated to the client;
Resource release means for releasing the allocation of the resource from the client by changing a resource management generation of the client held in the resource management table entry;
The resource management system according to claim 1, further comprising:
前記資源管理世代管理テーブルは、前記資源管理世代と前記クライアントの開閉設を示す状態とを共に保持することを特徴とする請求項1乃至請求項3のいずれかの項に記載の資源管理システム。4. The resource management system according to claim 1, wherein the resource management generation management table holds both the resource management generation and a status indicating the opening and closing of the client. 5. 資源管理制御手段は、前記クライアントの開設時に前記資源管理世代管理テーブルの該クライアントの資源管理世代を変更して該資源管理世代を該クライアントへ設定し、且つ前記資源管理世代管理テーブルの該クライアントの状態を開設状態とするクライアント開設手段と、
前記クライアントの閉設時に前記資源管理世代管理テーブルの該クライアントの資源管理世代を変更し、且つ前記資源管理世代管理テーブルの該クライアントの状態を閉設状態とするクライアント閉設手段と、
を具備することを特徴とする請求項4に記載の資源管理システム。
The resource management control means changes the resource management generation of the client in the resource management generation management table at the time of opening the client, sets the resource management generation to the client, and sets the resource management generation of the client in the resource management generation management table. Client opening means for setting the state to the open state;
Client closing means for changing the resource management generation of the client in the resource management generation management table when closing the client, and for setting the state of the client in the resource management generation management table to the closed state;
The resource management system according to claim 4, comprising:
JP30769099A 1999-10-28 1999-10-28 Resource management system Expired - Fee Related JP3551104B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30769099A JP3551104B2 (en) 1999-10-28 1999-10-28 Resource management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30769099A JP3551104B2 (en) 1999-10-28 1999-10-28 Resource management system

Publications (2)

Publication Number Publication Date
JP2001125818A JP2001125818A (en) 2001-05-11
JP3551104B2 true JP3551104B2 (en) 2004-08-04

Family

ID=17972062

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30769099A Expired - Fee Related JP3551104B2 (en) 1999-10-28 1999-10-28 Resource management system

Country Status (1)

Country Link
JP (1) JP3551104B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20200117405A (en) * 2019-04-04 2020-10-14 한국전자통신연구원 Distributed sysetm for managing distributed lock and operating method thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20200117405A (en) * 2019-04-04 2020-10-14 한국전자통신연구원 Distributed sysetm for managing distributed lock and operating method thereof
KR102450133B1 (en) * 2019-04-04 2022-10-05 한국전자통신연구원 Distributed sysetm for managing distributed lock and operating method thereof
US11500693B2 (en) 2019-04-04 2022-11-15 Electronics And Telecommunications Research Institute Distributed system for distributed lock management and method for operating the same

Also Published As

Publication number Publication date
JP2001125818A (en) 2001-05-11

Similar Documents

Publication Publication Date Title
US9313274B2 (en) Isolating clients of distributed storage systems
US10382343B2 (en) Intelligent thread management across isolated network stacks
CN104111897B (en) A kind of data processing method, device and computer system
US7251815B2 (en) Multiple virtual machines sharing processor and work queue in memory having program/dispatch functions for assigning and accessing work items while the virtual machine was not idle
EP3217285B1 (en) Transmitting data
US10642794B2 (en) Computer storage deduplication
CN106537863A (en) Processing concurrency in a network device
US9740605B2 (en) Reducing page invalidation broadcasts in virtual storage management
JP2004326754A (en) Management of virtual computer for utilizing shared resource
JP2004295882A (en) Deallocation of computer data in multithreaded computer
WO2008011135A1 (en) Avoiding cache line sharing in virtual machines
JP2014529141A (en) Clustered client failover
JP3759048B2 (en) Disk cache management method for disk array device
EP3613201A1 (en) In-memory distributed cache
JP3551104B2 (en) Resource management system
US8782642B2 (en) Data processing system with data transmit capability
JP2002149425A (en) System and method for quickly referring to reference counted item
US20020029800A1 (en) Multiple block sequential memory management
US8868780B2 (en) Data processing system with routing tables
JPH08180025A (en) Scheduling device
CN111447145A (en) Flow table management method, device, system and storage medium of multi-core system
CN111259375A (en) Processing method and device for access request applied to operating system of Internet of things
KR20150126463A (en) Policy Management System and Method Based on Virtual Machine Logical Group
US11086779B2 (en) System and method of a highly concurrent cache replacement algorithm
US11068411B2 (en) Reducing impact of context switches through dynamic memory-mapping overallocation

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040330

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040412

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090514

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100514

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110514

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110514

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120514

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120514

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130514

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140514

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees