JP2003058521A - Load management system - Google Patents

Load management system

Info

Publication number
JP2003058521A
JP2003058521A JP2001248676A JP2001248676A JP2003058521A JP 2003058521 A JP2003058521 A JP 2003058521A JP 2001248676 A JP2001248676 A JP 2001248676A JP 2001248676 A JP2001248676 A JP 2001248676A JP 2003058521 A JP2003058521 A JP 2003058521A
Authority
JP
Japan
Prior art keywords
load
server
load value
value
servers
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2001248676A
Other languages
Japanese (ja)
Inventor
Kenji Ogawa
賢治 小川
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2001248676A priority Critical patent/JP2003058521A/en
Publication of JP2003058521A publication Critical patent/JP2003058521A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To obtain a load management system which easily sets a server requiring preferential processing requested from a preference client or maintenance. SOLUTION: A load management system 1-2 which is connected to a lot of clients 1-1 and a lot of servers 1-3 for processing requests of the clients and recognizes the load value of each server 1-3 and distributes requests from the clients 101 to respective servers 1-3 so as to uniform the load capabilities of respective servers 1-3 is provided with a load value management table 1-4 for managing the load value of each server 13, a setting means 1-5 which sets preference clients to which priority of processing should be given independently of the load values with respect to each server 1-4, and a reservation means 1-7 which falsely raises the load value of a set server, for which the requesting client 1-1 is set as a preference client, to suppress requests to the set server from other clients in the case of presence of the set server.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、複数のサーバと
複数のクライアントとの間に接続され、クライアントか
らサーバへの要求に対する各サーバの負荷を管理する負
荷管理システムに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a load management system which is connected between a plurality of servers and a plurality of clients and manages the load of each server in response to a request from the client to the server.

【0002】[0002]

【従来の技術】図8は従来の分散処理システムの構成を
示すブロック図である。図において、7−1はクライア
ント計算機、7−2はサーバS2で、サーバ所在管理プ
ログラムを備え、各サービスに対する実行可能なサーバ
名と、各サーバの処理能力と、各サーバの負荷状態との
データを管理する管理データベース7−3を保持する。
7−4は他のサーバS1である。
2. Description of the Related Art FIG. 8 is a block diagram showing the configuration of a conventional distributed processing system. In the figure, 7-1 is a client computer, 7-2 is a server S2, which is provided with a server location management program, data of the server name executable for each service, the processing capacity of each server, and the load state of each server. A management database 7-3 that manages is stored.
7-4 is another server S1.

【0003】次に上記のように構成された従来の分散処
理システムの動作について説明する。まず、クライアン
ト計算機7−1はサービス”B”をサポートしているサ
ーバを探すために、所在問い合わせ要求をサーバ7−2
に発信する。次に、サーバ7−2の所在管理プログラム
の管理データベース7−3に、サービス”B”を実行可
能としてエントリしている各サーバのデータを取得し
て、所在問い合わせ応答としてクライアント計算機7−
1に送信する。
Next, the operation of the conventional distributed processing system configured as described above will be described. First, the client computer 7-1 sends a location inquiry request to the server 7-2 to search for a server that supports the service "B".
Call. Next, the data of each server in which the service "B" is entered as executable in the management database 7-3 of the location management program of the server 7-2 is acquired, and as a location inquiry response, the client computer 7-
Send to 1.

【0004】次に、クライアント計算機7−1はこのデ
ータを保持する。次に、クライアント計算機7−1はサ
ービス”B”を提供しているサーバ群の中から最も負荷
が軽い(負荷能力残が大きい)サーバを探して、選択す
る。ここでは、サーバ7−4が負荷能力残が大きいとし
て選択される。次に、選択したサーバ7−4にサービ
ス”B”を要求する。この際、サーバ7−4の負荷状態
の値も同時に更新する。
Next, the client computer 7-1 holds this data. Next, the client computer 7-1 searches for and selects a server with the lightest load (large remaining load capacity) from the server group providing the service "B". Here, the server 7-4 is selected as having a large remaining load capacity. Next, the service "B" is requested to the selected server 7-4. At this time, the value of the load state of the server 7-4 is also updated at the same time.

【0005】[0005]

【発明が解決しようとする課題】上記のように構成され
た従来の負荷管理システムは、クライアント計算機によ
って、各サーバの負荷情報を取得し、これに基づいてサ
ービスを要求するサーバを決定する。よって、クライア
ント計算機から要求を発生しない限り、また、クライア
ントからサーバ群の負荷情報を収集しない限り、また、
クライアント計算機が定期的にサーバ群から負荷情報を
収集しない限り、クライアント計算機に保持された各サ
ーバの負荷情報の改訂は行われない。
In the conventional load management system configured as described above, the client computer acquires the load information of each server and determines the server requesting the service based on the load information. Therefore, unless a request is issued from the client computer, or load information of the server group is collected from the client,
Unless the client computer regularly collects the load information from the server group, the load information of each server held in the client computer is not revised.

【0006】よって、現時点における適切な負荷値情報
でないため、その情報を基に、同時に多数のクライアン
ト計算機がそのサーバの負荷が軽いと判断し、瞬間的
に、そのサーバに要求が集中する場合が生じる。そし
て、サーバの負荷は急激に増加してしまい、所望の処理
時間にて要求が解決できなくなる。さらに、サーバの負
荷が最大値になっても要求が受け付けられるので、プロ
トコルレベルでのタイムアウトが発生するまで、エラー
と成らず、クライアント計算機の処理効率が悪くなる
(処理時間が長くなる)。
Therefore, since the load value information is not appropriate at the present time, a large number of client computers may simultaneously judge that the load on the server is light based on this information, and the requests may momentarily concentrate on the server. Occurs. Then, the load on the server increases rapidly, and the request cannot be resolved within a desired processing time. Further, since the request is accepted even when the load on the server reaches the maximum value, an error does not occur and the processing efficiency of the client computer deteriorates (the processing time increases) until a timeout occurs at the protocol level.

【0007】また、クライアント計算機や処理によって
の優先度や、アクセスの制限を設けることができない。
このため、システム上での購入契約や支払いなどを優先
的に処理を行いたいクライアント計算機からの要求が、
単なる閲覧を目的とする多数のクライアント計算機の負
荷によって妨害されてしまう現象が発生するという問題
点があった。
Further, it is not possible to set the priority or access restriction by the client computer or processing.
Therefore, requests from client computers that preferentially process purchase contracts and payments on the system are
There has been a problem that a phenomenon occurs in which the load of a large number of client computers for the purpose of browsing is obstructed.

【0008】また、特定のサーバをメンテナンスする場
合、そのサーバの負荷を断ち切って、システムから除去
することは困難だという問題点があった。
Further, when performing maintenance on a specific server, it is difficult to cut off the load on the server and remove it from the system.

【0009】この発明は、上記のような問題点を解消す
るためになされたもので、優先クライアントの要求の優
先的処理やメンテナンスが必要なサーバを容易に設定す
ることができる負荷管理システムを提供することを目的
とする。
The present invention has been made to solve the above problems, and provides a load management system capable of easily setting a server requiring priority processing of a request from a priority client or maintenance. The purpose is to do.

【0010】[0010]

【課題を解決するための手段】この発明に係る請求項1
の負荷管理システムは、複数のクライアントと各クライ
アントからの要求を処理する複数のサーバとに接続さ
れ、各サーバの負荷値を把握し、各サーバの負荷能力残
が均等化するようにクライアントからの要求を各サーバ
に振り分ける負荷管理システムにおいて、各サーバの負
荷値を管理する負荷値管理テーブルと、各サーバ毎に負
荷値に関係なく処理を優先する優先クライアントをそれ
ぞれ設定する設定手段と、要求を発生したクライアント
が優先クライアントとして設定されている設定サーバが
存在する場合、設定サーバの負荷値を疑似的に上昇さ
せ、他のクライアントから設定サーバへの要求を抑止す
る予約手段とを備えたものである。
[Means for Solving the Problems] Claim 1 according to the present invention
Load management system is connected to multiple clients and multiple servers that process requests from each client, grasps the load value of each server, and balances the remaining load capacity of each server from the clients. In a load management system that distributes requests to each server, a load value management table that manages the load value of each server, a setting unit that sets a priority client that gives priority to processing regardless of the load value for each server, and a request If there is a setting server in which the client that occurred is set as the priority client, it is equipped with a reservation unit that artificially increases the load value of the setting server and suppresses requests from other clients to the setting server. is there.

【0011】また、この発明に係る請求項2の負荷管理
システムは、請求項1において、各サーバの負荷値が定
期的に測定されて更新されている場合、予約手段により
疑似的に負荷値が上昇されたサーバは、優先クライアン
トの要求が入ると負荷値の定期的測定を非実施とし、優
先クライアントの要求が終了すると負荷値の測定を臨時
に実施して負荷値の更新を行うとともに負荷値の定期的
測定を実施とするものである。
According to a second aspect of the load management system of the present invention, in the first aspect, when the load value of each server is regularly measured and updated, the reservation means pseudo-loads the load value. The ascended server does not periodically measure the load value when a request from the priority client is received, and when the request from the priority client ends, the load value is temporarily measured and the load value is updated. Shall be carried out on a regular basis.

【0012】また、この発明に係る請求項3の負荷管理
システムは、複数のサーバと各サーバに対して要求を行
う複数のクライアントとの間に接続され、各サーバの負
荷値を把握し、各サーバの負荷能力残が均等化するよう
にクライアントからの要求を各サーバに振り分ける負荷
管理システムにおいて、各サーバの負荷値を管理する負
荷値管理テーブルと、負荷値管理テーブルの負荷値が所
定の値以上であるとクライアントからの要求に非対応と
する判断手段と、メンテナンスを実施する必要のある所
定のサーバに対して、負荷値を疑似的に所定の値まで上
昇させ、各クライアントから所定のサーバへの要求を遮
断し、所定のサーバのメンテナンスを行うメンテナンス
手段とを備えたものである。
According to a third aspect of the load management system of the present invention, the load management system is connected between a plurality of servers and a plurality of clients that make a request to each server, grasps the load value of each server, and In a load management system that distributes requests from clients to each server so that the remaining load capacity of the servers is evened out, the load value management table that manages the load values of each server and the load value in the load value management table have a predetermined value If the above is the case, the load value is artificially increased to a predetermined value with respect to the determination means that does not respond to the request from the client and the predetermined server that needs to perform maintenance, and each client transmits the predetermined server. And a maintenance means for performing a maintenance of a predetermined server.

【0013】また、この発明に係る請求項4の負荷管理
システムは、請求項3において、各サーバの負荷値が定
期的に測定されて更新されている場合、メンテナンス手
段により疑似的に負荷値が上昇されたサーバは、メンテ
ナンスが開始されると負荷値の定期的測定を非実施と
し、メンテナンスが終了すると負荷値の測定を臨時に実
施して負荷値の更新を行うとともに負荷値の定期的測定
を実施とするものである。
According to a fourth aspect of the load management system of the present invention, in the third aspect, when the load value of each server is regularly measured and updated, the maintenance means artificially determines the load value. The server that has been raised does not perform periodic load value measurement when maintenance is started, and temporarily performs load value measurement when maintenance is completed to update the load value and periodically perform load value measurement. Is to be implemented.

【0014】また、この発明に係る請求項5の負荷管理
システムは、複数のサーバと各サーバに対して要求を行
う複数のクライアントとの間に接続され、各サーバの負
荷値を把握し、各サーバの負荷能力残が均等化するよう
にクライアントからの要求を各サーバに振り分ける負荷
管理システムにおいて、各サーバに対しての要求の有無
に関係なく定期的に負荷値測定プログラムを実行して負
荷値を算出し、各サーバの負荷値を更新する負荷値更新
手段を備えたものである。
According to a fifth aspect of the load management system of the present invention, the load management system is connected between a plurality of servers and a plurality of clients that make a request to each server, grasps the load value of each server, and In a load management system that distributes requests from clients to each server so that the remaining load capacity of the servers is evened out, the load value measurement program is executed periodically regardless of whether or not there are requests to each server. And load value updating means for updating the load value of each server.

【0015】[0015]

【発明の実施の形態】実施の形態1.図1はこの発明の
実施の形態1である負荷管理システムの構成を示すブロ
ック図、図2は図1に示した負荷管理システムの負荷値
管理テーブルに登録されているデータを示した図、図3
は図1に示した負荷管理システムの動作を説明するため
のフローチャートを示した図である。図5は負荷値更新
手段による負荷値の測定方法を説明するためのフローチ
ャートを示した図である。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiment 1. 1 is a block diagram showing a configuration of a load management system according to a first embodiment of the present invention. FIG. 2 is a diagram showing data registered in a load value management table of the load management system shown in FIG. Three
FIG. 2 is a diagram showing a flowchart for explaining the operation of the load management system shown in FIG. FIG. 5 is a view showing a flow chart for explaining a load value measuring method by the load value updating means.

【0016】図において、1−1は複数のクライアント
計算機(以下、クライアントとして示す)、1−3はこ
れらクライアント1−1から要求されるサービス(要
求)を提供するサーバ計算機(以下、サーバとして示
す)である。1−2はこのクライアント1−1とサーバ
1−3との間に接続された負荷管理システムで、各サー
バ1−3の負荷値を把握し、各サーバ1−3の負荷能力
残が均等化するようにクライアント1−1からの要求を
各サーバ1−3に振り分ける。そして、負荷管理システ
ム1−2には以下のものを備えている。
In the figure, 1-1 is a plurality of client computers (hereinafter referred to as clients), 1-3 is a server computer (hereinafter referred to as a server) that provides a service (request) requested by these clients 1-1. ). Reference numeral 1-2 is a load management system connected between the client 1-1 and the server 1-3, which grasps the load value of each server 1-3 and equalizes the remaining load capacity of each server 1-3. The request from the client 1-1 is distributed to each server 1-3 as described above. The load management system 1-2 includes the following.

【0017】1−4は各サーバ1−1の負荷値を管理す
る負荷値管理テーブル、1−5は各サーバ1−3毎に負
荷値に関係なく処理を優先する優先クライアントをそれ
ぞれ設定する設定手段、1−6は要求を発生したクライ
アント1−1が優先クライアントとして設定されている
設定サーバが存在する場合、設定サーバの負荷値を疑似
的に上昇させ、他のクライアントから設定サーバへの要
求を抑止する予約手段、1−7は各サーバの負荷値を定
期的に例えば図4に示すような負荷値測定プログラム
(ベンチマーク)により測定し、負荷値管理テーブル1
−4の各サーバ1−1の負荷値を更新する負荷値更新手
段である。
Reference numeral 1-4 is a load value management table for managing the load value of each server 1-1, and 1-5 is a setting for setting a priority client that gives priority to processing regardless of the load value for each server 1-3. If there is a setting server in which the requesting client 1-1 is set as a priority client, the means 1-6 artificially increases the load value of the setting server and requests from other clients to the setting server. Reservation means 1-7 that suppresses the load value of each server is periodically measured by, for example, a load value measurement program (benchmark) as shown in FIG.
-4 is a load value updating means for updating the load value of each server 1-1.

【0018】上記のように構成された実施の形態1の負
荷管理システムの動作について説明する。まず、負荷値
管理テーブル1−4に登録されているデータについて図
2に基づいて説明する。各サーバ毎に、負荷値更新手段
1−7により、無負荷状態での処理能力(処理できる負
荷の値)を測定し、サーバ最大性能値として登録する。
次に、負荷値更新手段1−7により定期的に各サーバ毎
の現在の負荷値を測定し、サーバ負荷現在値として登録
する。
The operation of the load management system of the first embodiment configured as described above will be described. First, the data registered in the load value management table 1-4 will be described with reference to FIG. For each server, the load value updating means 1-7 measures the processing capacity (the value of the load that can be processed) in the unloaded state and registers it as the server maximum performance value.
Next, the load value updating means 1-7 periodically measures the current load value of each server and registers it as the server load current value.

【0019】次に、各サーバ毎に設定手段1−5によ
り、負荷値に関係なく処理を優先する優先クライアント
を設定する。優先クライアントとしては図2に示すよう
に、例えば、各クライアントのアドレス”172.2
6.1.11”というようにそれぞれ設定されている。
次に、各サーバ毎に定期的に負荷値測定を行うか否か
を、On、Offにて負荷計測停止フラグに設定してお
く。通常はOffのフラグ表示と成っている。また、O
nのフラグ表示となる場合は後述にて説明する。
Next, the setting means 1-5 sets a priority client which gives priority to processing regardless of the load value for each server. As the priority client, as shown in FIG. 2, for example, the address of each client is “172.2.
6.1.1.1 ”, respectively.
Next, whether or not the load value is to be measured regularly for each server is set to On or Off in the load measurement stop flag. Normally, the flag is displayed as Off. Also, O
The case where the n flag is displayed will be described later.

【0020】次に、負荷値更新手段1−7による定期的
な負荷値の測定方法について、図5に基づいて説明す
る。まず、周期的に負荷値の測定の指示が下される(図
5のステップS−11)。次に、サーバの負荷計測停止
フラグがOnか否かを判断する(図5のステップS−1
2)。停止フラグがOn(No)、即ち、図2の負荷計
測停止フラグがOffと判断された場合、そのサーバに
対してベンチマークを実行し、負荷値を算出する(図5
のステップS−13)。次に、算出された負荷値をその
サーバの負荷現在値として、図2に示したサーバ負荷現
在値を更新する。このようにして、サーバの負荷値は定
期的に更新されている。また、停止フラグがOff(Y
es)、即ち、図2の負荷計測停止フラグがOnと判断
された場合、そのサーバに対しての負荷値の測定は見送
られる。
Next, a method of periodically measuring the load value by the load value updating means 1-7 will be described with reference to FIG. First, a load value measurement instruction is given periodically (step S-11 in FIG. 5). Next, it is determined whether or not the load measurement stop flag of the server is On (step S-1 in FIG. 5).
2). When the stop flag is On (No), that is, when the load measurement stop flag in FIG. 2 is determined to be Off, the benchmark is executed for that server to calculate the load value (FIG. 5).
Step S-13). Next, the calculated load value is set as the load current value of the server, and the server load current value shown in FIG. 2 is updated. In this way, the load value of the server is regularly updated. In addition, the stop flag is Off (Y
es), that is, when the load measurement stop flag in FIG. 2 is determined to be On, the measurement of the load value for the server is postponed.

【0021】次に、負荷管理システム1−2のクライア
ントに対する要求の動作について説明する。まず、クラ
イアント1−1から要求が負荷管理システム1−2に出
力される(図3のステップS−1)。次に、要求を発生
したクライアントが優先クライアントに登録されている
か否かを、負荷値管理テーブル1−4に登録されている
優先クライアントのアドレスを確認して判断する(図3
のステップS−2)。
Next, the operation of requesting the client of the load management system 1-2 will be described. First, the client 1-1 outputs a request to the load management system 1-2 (step S-1 in FIG. 3). Next, it is determined whether or not the requesting client is registered in the priority client by checking the address of the priority client registered in the load value management table 1-4 (FIG. 3).
Step S-2).

【0022】次に、優先クライアントに登録されていな
い場合(NO)は、負荷能力残が多いサーバを、負荷値
管理テーブル1−4のサーバ負荷現在値とサーバ最大性
能値とから判断して選択する(図3のステップS−
3)。図2のような負荷値の場合には、サーバBが負荷
能力残が一番多いとして選択される。そして、選択され
たサーバにクライアントの要求を送信する(図3のステ
ップS−4)。
Next, when the server is not registered as a priority client (NO), a server having a large remaining load capacity is selected by judging from the server load current value and the server maximum performance value in the load value management table 1-4. (Step S- in FIG. 3)
3). In the case of the load value as shown in FIG. 2, the server B is selected as having the largest remaining load capacity. Then, the client request is transmitted to the selected server (step S-4 in FIG. 3).

【0023】また、ステップS−2にて優先クライアン
トとして登録されている場合(YES)は、優先クライ
アントに登録している特定サーバの負荷現在値を最大性
能値まで疑似的に引き上げる。また、これと同時に負荷
現在値更新の停止のフラグをOnにし、定期的な負荷値
の更新をキャンセルする(図3のステップS−5)。次
に、特定サーバへクライアントからの要求を送信する
(図3のステップS−6)。次に、優先クライアントか
らの要求が終了すると、その時点で特定サーバの負荷値
の測定を行う。これとともに、更新停止フラグをOff
し、定期的な負荷値の測定を行うようにする(図3のス
テップS−7)。
If the client is registered as a priority client in step S-2 (YES), the current load value of the specific server registered in the priority client is artificially increased to the maximum performance value. At the same time, the current load value update stop flag is set to On to cancel the periodic load value update (step S-5 in FIG. 3). Next, the request from the client is transmitted to the specific server (step S-6 in FIG. 3). Next, when the request from the priority client is completed, the load value of the specific server is measured at that time. Along with this, the update stop flag is turned off.
Then, the load value is regularly measured (step S-7 in FIG. 3).

【0024】具体的には、クライアントが”172.2
6.1.11”の場合、このクライアントアドレスを優
先クライアントに登録しているサーバAが選択される。
そして、サーバAの負荷現在値10をサーバ最大性能値
100にまで疑似的に引き上げる。そして、負荷計測停
止フラグをOnにする。このようにすれば、次に他のク
ライアントから要求が発生したとしても、負荷能力残が
0となり、一番負荷能力残が少なくなる。このため他の
クライアントからの要求が配信されることがなく、優先
クライアントのみの要求に対応することができる。
Specifically, the client is "172.2.
In the case of 6.1.11 ″, the server A that has registered this client address as the priority client is selected.
Then, the current load value 10 of the server A is artificially increased to the server maximum performance value 100. Then, the load measurement stop flag is set to On. By doing this, even if a request is made from another client next time, the remaining load capacity becomes 0, and the remaining load capacity becomes the smallest. Therefore, the requests from other clients are not distributed, and the requests of only the priority client can be dealt with.

【0025】また、優先クライアントの要求に対応して
いる際は、サーバ負荷現在値を更新する必要がない(更
新すると疑似的に負荷値を引き上げた意味がなくなる)
ため、負荷値の計測を停止しておく必要がある。しか
し、優先クライアントからの要求が終了すると、その時
点にて負荷値を測定し、サーバ負荷現在値を更新してお
く。これは、定期的にサーバ負荷現在値を更新している
ため、次の負荷値の更新までに時間が空く場合が生じる
ためである。
Further, when the request from the priority client is being dealt with, it is not necessary to update the server load current value (if updated, it makes no sense to artificially increase the load value).
Therefore, it is necessary to stop measuring the load value. However, when the request from the priority client ends, the load value is measured at that time and the server load current value is updated. This is because the server load current value is updated regularly, so it may take some time before the next load value is updated.

【0026】上記のように構成された実施の形態1の負
荷管理システムは、サーバが設定する優先クライアント
の要求に対して、優先的に処理することができる。ま
た、その処理の間、他のクライアントからの要求を処理
しないため、処理を速く行うことができる。また、定期
的に負荷値を更新しているので、サーバの負荷状態の把
握が行いやすく、クライアントの要求処理を適切なサー
バに配信することができる。
The load management system of the first embodiment configured as described above can preferentially process the request of the priority client set by the server. Further, during the processing, since the requests from other clients are not processed, the processing can be speeded up. Further, since the load value is updated regularly, it is easy to understand the load state of the server, and the request processing of the client can be distributed to an appropriate server.

【0027】尚、上記実施の形態1では優先クライアン
トとして、一つのクライアントを設定する例を示した
が、これに限られることはなく、複数のクライアントを
設定することができることは言うまでもない。また、優
先クライアントがサーバの意向により適宜変更できるこ
とは言うまでもない。
In the first embodiment, one client is set as the priority client. However, the present invention is not limited to this, and it goes without saying that a plurality of clients can be set. Further, it goes without saying that the priority client can be changed appropriately according to the intention of the server.

【0028】実施の形態2.図6はこの発明の実施の形
態2である負荷管理システムの構成を示すブロック図、
図7は図6に示した負荷管理システムの動作を説明する
ためのフローチャートを示した図である。図において、
2−1は複数のクライアント計算機(以下、クライアン
トとして示す)、2−3はこれらクライアント2−1か
ら要求されるサービス(要求)を提供するサーバ計算機
(以下、サーバとして示す)である。
Embodiment 2. 6 is a block diagram showing a configuration of a load management system according to a second embodiment of the present invention,
FIG. 7 is a view showing a flowchart for explaining the operation of the load management system shown in FIG. In the figure,
Reference numeral 2-1 is a plurality of client computers (hereinafter, referred to as clients), and 2-3 is a server computer (hereinafter, referred to as a server) that provides a service (request) requested by these clients 2-1.

【0029】2−2はこのクライアント2−1とサーバ
2−3との間に接続された負荷管理システムで、各サー
バ2−3の負荷値を把握し、各サーバ2−3の負荷能力
残が均等化するようにクライアント2−1からの要求を
各サーバ2−3に振り分ける。そして、負荷管理システ
ム2−2には以下のものを備えている。
Reference numeral 2-2 is a load management system connected between the client 2-1 and the server 2-3, which grasps the load value of each server 2-3 and determines the load capacity remaining of each server 2-3. The requests from the client 2-1 are distributed to the respective servers 2-3 so as to be equalized. The load management system 2-2 includes the following.

【0030】2−4は各サーバ2−1の負荷値を管理す
る負荷値管理テーブル、2−5は負荷値管理テーブルの
負荷値が所定の値以上になるとクライアントからの要求
に非対応とする判断手段、2−6はメンテナンスを実施
する必要のある所定のサーバに対して、負荷値を疑似的
に所定の値まで上昇させ、各クライアントから所定のサ
ーバへの要求を遮断し、所定のサーバのメンテナンスを
行うメンテナンス手段である。尚、メンテナンスとは、
実質的にサーバの調整を行う場合、また、一時的にサー
バをクライアントから切り離して様子を見る場合などが
考えられる。
Reference numeral 2-4 is a load value management table for managing the load value of each server 2-1. Reference numeral 2-5 is not compatible with the request from the client when the load value in the load value management table becomes a predetermined value or more. The judging means 2-6 artificially raises the load value to a predetermined server for which maintenance is required, cuts off the request from each client to the predetermined server, It is a maintenance means for performing maintenance. What is maintenance?
There may be a case where the server is adjusted practically, or a case where the server is temporarily separated from the client to see the situation.

【0031】上記のように構成された実施の形態2の負
荷管理システムの動作について説明する。まず、負荷値
管理テーブル2−4に登録されているデータは、上記実
施の形態1と同様に、図2に示したものが登録されてい
る。また、負荷値の更新方法においては上記実施の形態
1と同様に行っている。
The operation of the load management system of the second embodiment configured as described above will be described. First, as the data registered in the load value management table 2-4, the data shown in FIG. 2 is registered as in the first embodiment. The load value updating method is the same as that in the first embodiment.

【0032】次に、負荷管理システム2−2のサーバに
対するメンテナンスの動作について説明する。まず、所
定のサーバ2−3からメンテナンスの要求が負荷管理シ
ステム2−2に出力される(図7のステップS−2
1)。次に、メンテナンス手段2−6は、メンテナンス
要求を発生したサーバの負荷現在値を最大性能値まで疑
似的に引き上げる。また、これと同時に負荷現在値更新
の停止のフラグをOnにし、定期的な負荷値の更新をキ
ャンセルする(図7のステップS−22)。
Next, a maintenance operation for the server of the load management system 2-2 will be described. First, a maintenance request is output from the predetermined server 2-3 to the load management system 2-2 (step S-2 in FIG. 7).
1). Next, the maintenance means 2-6 artificially raises the current load value of the server that has issued the maintenance request to the maximum performance value. At the same time, the current load value update stop flag is set to On to cancel the periodic load value update (step S-22 in FIG. 7).

【0033】次に、所定サーバのメンテナンスを行う
(図7のステップS−23)。次に、メンテナンスが終
了すると、その時点で所定サーバの負荷値の測定を行
う。これとともに、更新停止フラグをOffし、定期的
な負荷値の測定を行うようにする(図7のステップS−
24)。
Next, the predetermined server is maintained (step S-23 in FIG. 7). Next, when the maintenance is completed, the load value of the predetermined server is measured at that time. At the same time, the update stop flag is turned off to periodically measure the load value (step S- in FIG. 7).
24).

【0034】具体的には、サーバDがメンテナンスを要
求した場合、サーバDの負荷現在値0をサーバ最大性能
値100にまで疑似的に引き上げる。そして、負荷計測
停止フラグをOnにする。このようにすれば、クライア
ントから要求が発生したとしても、判断手段2−5が負
荷値管理テーブル2−4の負荷値が所定の値(サーバ最
大性能値)以上であるとして、クライアントからの要求
に非対応とする。このためクライアントからの要求が配
信されることがなく、サーバをネットワークから実質的
に切り離すことができる。
Specifically, when the server D requests maintenance, the load present value 0 of the server D is artificially increased to the server maximum performance value 100. Then, the load measurement stop flag is set to On. By doing so, even if a request is issued from the client, the determining means 2-5 determines that the load value in the load value management table 2-4 is equal to or greater than a predetermined value (maximum server performance value) and the request from the client Not compatible with. Therefore, the request from the client is not distributed, and the server can be substantially separated from the network.

【0035】また、サーバがメンテナンスを行っている
際は、サーバ負荷現在値を更新する必要がない(更新す
ると疑似的に負荷値を引き上げ、ネットワークから切り
離した意味がなくなる)ため、負荷値の計測を停止して
おく必要がある。しかし、メンテナンスが終了すると、
その時点にて負荷値を測定し、サーバ負荷現在値を更新
しておく。これは、定期的にサーバ負荷現在値を更新し
ているため、次の負荷値の更新までに時間が空く場合が
生じるためである。
Further, when the server is performing maintenance, it is not necessary to update the server load current value (if it is updated, the load value is artificially increased and it becomes meaningless to disconnect from the network), so the load value is measured. Need to be stopped. However, when maintenance is completed,
At that time, the load value is measured and the server load current value is updated. This is because the server load current value is updated regularly, so it may take some time before the next load value is updated.

【0036】上記のように構成された実施の形態2の負
荷管理システムは、サーバのメンテナンスの要求に対し
て、ネットワークから実質的に切り離して処理すること
ができる。
The load management system according to the second embodiment configured as described above can process a request for maintenance of the server substantially separated from the network.

【0037】尚、上記実施の形態1の優先クライアント
を設定する場合と、上記実施の形態2のメンテナンスを
行う場合とを、別々に説明したが、負荷管理システムと
して両実施の形態の機能を備えるようにしてもよいこと
は言うまでもない。また、負荷管理システムで定期的に
サーバの負荷値を更新するものを、従来までのクライア
ントとサーバとの関係に利用してもよいことは言うまで
もない。
Although the case of setting the priority client of the first embodiment and the case of performing the maintenance of the second embodiment have been described separately, the load management system has the functions of both the embodiments. It goes without saying that you can do so. Further, it goes without saying that a load management system that regularly updates the load value of the server may be used for the conventional relationship between the client and the server.

【0038】[0038]

【発明の効果】以上のように、この発明の請求項1によ
れば、複数のクライアントと各クライアントからの要求
を処理する複数のサーバとに接続され、各サーバの負荷
値を把握し、各サーバの負荷能力残が均等化するように
クライアントからの要求を各サーバに振り分ける負荷管
理システムにおいて、各サーバの負荷値を管理する負荷
値管理テーブルと、各サーバ毎に負荷値に関係なく処理
を優先する優先クライアントをそれぞれ設定する設定手
段と、要求を発生したクライアントが優先クライアント
として設定されている設定サーバが存在する場合、設定
サーバの負荷値を疑似的に上昇させ、他のクライアント
から設定サーバへの要求を抑止する予約手段とを備えた
ので、サーバが設定した優先クライアントの要求を優先
して処理することができる負荷管理システムを提供する
ことが可能となる。
As described above, according to claim 1 of the present invention, a plurality of clients and a plurality of servers that process requests from each client are connected, and the load value of each server is grasped, In a load management system that distributes requests from clients to each server so that the remaining load capacity of the servers is equalized, a load value management table that manages the load values of each server and processing is performed regardless of the load value for each server. If there is a setting means that sets each priority client and a setting server in which the requesting client is set as the priority client, the load value of the setting server is artificially increased and the setting server from other clients is set. Since it has a reservation means that suppresses the request to the client, it processes the request of the priority client set by the server with priority. Possible to provide a load management system that can become.

【0039】また、この発明の請求項2によれば、請求
項1において、各サーバの負荷値が定期的に測定されて
更新されている場合、予約手段により疑似的に負荷値が
上昇されたサーバは、優先クライアントの要求が入ると
負荷値の定期的測定を非実施とし、優先クライアントの
要求が終了すると負荷値の測定を臨時に実施して負荷値
の更新を行うとともに負荷値の定期的測定を実施とする
ので、サーバが設定した優先クライアントの処理を確実
に優先して処理することができる負荷管理システムを提
供することが可能となる。
According to claim 2 of the present invention, in claim 1, when the load value of each server is regularly measured and updated, the load value is artificially increased by the reservation means. When the request from the priority client is received, the server does not measure the load value periodically, and when the request from the priority client is completed, the load value is temporarily measured to update the load value and the load value is periodically updated. Since the measurement is performed, it is possible to provide a load management system capable of surely prioritizing the processing of the priority client set by the server.

【0040】また、この発明の請求項3によれば、複数
のサーバと各サーバに対して要求を行う複数のクライア
ントとの間に接続され、各サーバの負荷値を把握し、各
サーバの負荷能力残が均等化するようにクライアントか
らの要求を各サーバに振り分ける負荷管理システムにお
いて、各サーバの負荷値を管理する負荷値管理テーブル
と、負荷値管理テーブルの負荷値が所定の値以上である
とクライアントからの要求に非対応とする判断手段と、
メンテナンスを実施する必要のある所定のサーバに対し
て、負荷値を疑似的に所定の値まで上昇させ、各クライ
アントから所定のサーバへの要求を遮断し、所定のサー
バのメンテナンスを行うメンテナンス手段とを備えたの
で、サーバのメンテナンスを容易に行うことができる負
荷管理システムを提供することが可能となる。
Further, according to claim 3 of the present invention, the load value of each server is grasped by being connected between the plurality of servers and the plurality of clients making requests to each server. In a load management system that distributes requests from clients to each server so that the remaining capacity is equalized, the load value management table that manages the load values of each server and the load value in the load value management table are equal to or greater than a predetermined value. And a determination means that does not respond to the request from the client,
Maintenance means for artificially increasing a load value to a predetermined value for a predetermined server that needs to be maintained, blocking requests from each client to the predetermined server, and performing maintenance on the predetermined server. Since it is equipped with, it becomes possible to provide a load management system that can easily perform server maintenance.

【0041】また、この発明の請求項4によれば、請求
項3において、各サーバの負荷値が定期的に測定されて
更新されている場合、メンテナンス手段により疑似的に
負荷値が上昇されたサーバは、メンテナンスが開始され
ると負荷値の定期的測定を非実施とし、メンテナンスが
終了すると負荷値の測定を臨時に実施して負荷値の更新
を行うとともに負荷値の定期的測定を実施とするので、
サーバのメンテナンスを容易かつ確実に行うことができ
る負荷管理システムを提供することが可能となる。
According to claim 4 of the present invention, in claim 3, when the load value of each server is regularly measured and updated, the maintenance means artificially increases the load value. When maintenance starts, the server does not perform periodic load value measurement, and when maintenance ends, it temporarily measures the load value to update the load value and also performs the periodic load value measurement. Because
It is possible to provide a load management system that enables easy and reliable server maintenance.

【0042】また、この発明の請求項5によれば、複数
のサーバと各サーバに対して要求を行う複数のクライア
ントとの間に接続され、各サーバの負荷値を把握し、各
サーバの負荷能力残が均等化するようにクライアントか
らの要求を各サーバに振り分ける負荷管理システムにお
いて、各サーバに対しての要求の有無に関係なく定期的
に負荷値測定プログラムを実行して負荷値を算出し、各
サーバの負荷値を更新する負荷値更新手段を備えたの
で、サーバの負荷状況の把握が行いやすい負荷管理シス
テムを提供することが可能となる。
Further, according to claim 5 of the present invention, the load value of each server is grasped by being connected between the plurality of servers and the plurality of clients making a request to each server and grasping the load value of each server. In a load management system that distributes requests from clients to each server so that the remaining capacity is equalized, the load value measurement program is executed regularly to calculate the load value regardless of whether there is a request to each server. Since the load value updating means for updating the load value of each server is provided, it is possible to provide the load management system in which the load status of the server can be easily grasped.

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

【図1】 この発明の実施の形態1の負荷管理システム
の構成を示したブロック図である。
FIG. 1 is a block diagram showing a configuration of a load management system according to a first embodiment of the present invention.

【図2】 この発明の実施の形態1の負荷値管理テーブ
ルを示した図である。
FIG. 2 is a diagram showing a load value management table according to the first embodiment of the present invention.

【図3】 この発明の実施の形態1の負荷管理システム
の動作を説明するためのフローチャートを示した図であ
る。
FIG. 3 is a diagram showing a flowchart for explaining the operation of the load management system according to the first embodiment of the present invention.

【図4】 ベンチマークの例を示した図である。FIG. 4 is a diagram showing an example of a benchmark.

【図5】 この発明の実施の形態1の負荷値更新の動作
を説明するためのフローチャートを示した図である。
FIG. 5 is a diagram showing a flowchart for explaining a load value updating operation according to the first embodiment of the present invention.

【図6】 この発明の実施の形態2の負荷管理システム
の構成を示したブロック図である。
FIG. 6 is a block diagram showing a configuration of a load management system according to a second embodiment of the present invention.

【図7】 この発明の実施の形態2の負荷管理システム
の動作を説明するためのフローチャートを示した図であ
る。
FIG. 7 is a diagram showing a flowchart for explaining the operation of the load management system according to the second embodiment of the present invention.

【図8】 従来の負荷分散システムの構成を示したブロ
ック図である。
FIG. 8 is a block diagram showing a configuration of a conventional load balancing system.

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

1−1,2−1 クライアント計算機、1−2,2−2
負荷管理システム、1−3,2−3 サーバ計算機、
1−4,2−4 負荷値管理テーブル、1−5 設定手
段、1−6 予約手段、1−7 負荷値更新手段、2−
5 判断手段、2−6 メンテナンス手段。
1-1, 2-1 Client computer, 1-2, 2-2
Load management system, 1-3, 2-3 server computer,
1-4, 2-4 load value management table, 1-5 setting means, 1-6 reservation means, 1-7 load value updating means, 2-
5 Judgment means, 2-6 Maintenance means.

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 複数のクライアントと上記各クライアン
トからの要求を処理する複数のサーバとに接続され、上
記各サーバの負荷値を把握し、上記各サーバの負荷能力
残が均等化するように上記クライアントからの要求を上
記各サーバに振り分ける負荷管理システムにおいて、上
記各サーバの上記負荷値を管理する負荷値管理テーブル
と、上記各サーバ毎に負荷値に関係なく処理を優先する
優先クライアントをそれぞれ設定する設定手段と、上記
要求を発生したクライアントが上記優先クライアントと
して設定されている設定サーバが存在する場合、上記設
定サーバの負荷値を疑似的に上昇させ、他のクライアン
トから上記設定サーバへの要求を抑止する予約手段とを
備えたことを特徴とする負荷管理システム。
1. Connected to a plurality of clients and a plurality of servers that process requests from each of the clients, grasp the load value of each of the servers, and equalize the remaining load capacity of each of the servers. In a load management system that distributes requests from clients to each of the above servers, a load value management table that manages the above load values of each of the above servers, and a priority client that prioritizes processing regardless of the load values are set for each of the above servers. And a setting server in which the client making the request is set as the priority client, the load value of the setting server is artificially increased and a request from another client to the setting server is made. A load management system comprising: a reservation unit that suppresses the load.
【請求項2】 各サーバの負荷値が定期的に測定されて
更新されている場合、予約手段により疑似的に負荷値が
上昇されたサーバは、優先クライアントの要求が入ると
負荷値の定期的測定を非実施とし、上記優先クライアン
トの要求が終了すると負荷値の測定を臨時に実施して負
荷値の更新を行うとともに上記負荷値の定期的測定を実
施とすることを特徴とする請求項1に記載の負荷管理シ
ステム。
2. When the load value of each server is regularly measured and updated, the server whose load value is artificially increased by the reservation means periodically loads the load value when a request from the priority client is received. The measurement is not performed, and when the request of the priority client is completed, the load value is temporarily measured to update the load value and the load value is periodically measured. The load management system described in.
【請求項3】 複数のサーバと上記各サーバに対して要
求を行う複数のクライアントとの間に接続され、上記各
サーバの負荷値を把握し、上記各サーバの負荷能力残が
均等化するように上記クライアントからの要求を上記各
サーバに振り分ける負荷管理システムにおいて、上記各
サーバの上記負荷値を管理する負荷値管理テーブルと、
負荷値管理テーブルの負荷値が所定の値以上であると上
記クライアントからの要求に非対応とする判断手段と、
メンテナンスを実施する必要のある所定のサーバに対し
て、上記負荷値を疑似的に上記所定の値まで上昇させ、
上記各クライアントから上記所定のサーバへの要求を遮
断し、上記所定のサーバのメンテナンスを行うメンテナ
ンス手段とを備えたことを特徴とする負荷管理システ
ム。
3. Connected between a plurality of servers and a plurality of clients that make requests to each of the servers, grasp the load value of each of the servers, and balance the remaining load capacity of each of the servers. In a load management system that distributes requests from the clients to the servers, a load value management table that manages the load values of the servers,
Determination means for not responding to the request from the client when the load value in the load value management table is equal to or greater than a predetermined value,
For a given server that requires maintenance, increase the load value to the given value in a pseudo manner,
A load management system comprising: a maintenance unit that cuts off requests from the clients to the predetermined server and performs maintenance on the predetermined server.
【請求項4】 各サーバの負荷値が定期的に測定されて
更新されている場合、メンテナンス手段により疑似的に
負荷値が上昇されたサーバは、メンテナンスが開始され
ると負荷値の定期的測定を非実施とし、上記メンテナン
スが終了すると負荷値の測定を臨時に実施して負荷値の
更新を行うとともに上記負荷値の定期的測定を実施とす
るを特徴とする請求項3に記載の負荷管理システム。
4. When the load value of each server is regularly measured and updated, the server whose load value is artificially increased by the maintenance means periodically measures the load value when maintenance is started. 4. The load management according to claim 3, wherein the load value is temporarily measured when the maintenance is completed, the load value is updated, and the load value is periodically measured when the maintenance is completed. system.
【請求項5】 複数のサーバと上記各サーバに対して要
求を行う複数のクライアントとの間に接続され、上記各
サーバの負荷値を把握し、上記各サーバの負荷能力残が
均等化するように上記クライアントからの要求を上記各
サーバに振り分ける負荷管理システムにおいて、上記各
サーバに対しての要求の有無に関係なく定期的に負荷値
測定プログラムを実行して負荷値を算出し、上記各サー
バの負荷値を更新する負荷値更新手段を備えたことを特
徴とする負荷管理システム。
5. A server is connected between a plurality of servers and a plurality of clients that make a request to each server so that the load value of each server can be grasped and the remaining load capacity of each server can be equalized. In a load management system that distributes requests from the clients to the servers, the load value measurement program is periodically executed to calculate the load values regardless of whether or not there is a request to the servers. A load management system comprising a load value updating means for updating the load value of the load management system.
JP2001248676A 2001-08-20 2001-08-20 Load management system Pending JP2003058521A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001248676A JP2003058521A (en) 2001-08-20 2001-08-20 Load management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001248676A JP2003058521A (en) 2001-08-20 2001-08-20 Load management system

Publications (1)

Publication Number Publication Date
JP2003058521A true JP2003058521A (en) 2003-02-28

Family

ID=19077801

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001248676A Pending JP2003058521A (en) 2001-08-20 2001-08-20 Load management system

Country Status (1)

Country Link
JP (1) JP2003058521A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009181482A (en) * 2008-01-31 2009-08-13 Fuji Television Network Inc Image processing system and image processing method
JP2013137670A (en) * 2011-12-28 2013-07-11 Mitsubishi Electric Corp Parallel processor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009181482A (en) * 2008-01-31 2009-08-13 Fuji Television Network Inc Image processing system and image processing method
JP2013137670A (en) * 2011-12-28 2013-07-11 Mitsubishi Electric Corp Parallel processor

Similar Documents

Publication Publication Date Title
US7130912B2 (en) Data communication system using priority queues with wait count information for determining whether to provide services to client requests
US7779416B2 (en) Load balance control method and load balance control apparatus in data-processing system
EP2647174B1 (en) System and method to distribute application traffic to servers based on dynamic service response time
US20020165900A1 (en) Dynamic load-distributed computer system using estimated expansion ratios and load-distributing method therefor
CA2486434A1 (en) A computing services grid
US20040243709A1 (en) System and method for cluster-sensitive sticky load balancing
US20140317289A1 (en) Dynamically affinitizing users to a version of a website
JPH07160647A (en) Distributed processing system
JP2003058521A (en) Load management system
JP5388134B2 (en) Computer system and moving data determination method
US10318506B2 (en) Database system
US20150195357A1 (en) Enhancing active link utilization in serial attached scsi topologies
JP3685110B2 (en) File transfer system, apparatus, method, and recording medium recording file transfer program
JP2010146382A (en) Load balancing system, load balancing method and load balancing program
AU2019239150B2 (en) Partitioning data in a clustered database environment
JP2001075934A (en) System and method for distributed processing of load
JP2010009288A (en) Multiprocessor system and program execution method
US20140181307A1 (en) Routing apparatus and method
JP3119598B2 (en) Line load distribution method
JP2003018163A (en) Network configuration control system and control method
WO2014199606A1 (en) Load balancer, load-balancing method, storage medium, and event-processing system
US20210344748A1 (en) Load balancing in a high-availability cluster
JP2008004125A (en) Load control method and apparatus, and processing program thereof
JP2003256394A (en) Transaction processing load distribution method and system therefor
JP2003203061A (en) Parallel computer system, and program for selecting calculation node in parallel computer system