[go: up one dir, main page]

JP2010170168A - Flow rate control method and system - Google Patents

Flow rate control method and system Download PDF

Info

Publication number
JP2010170168A
JP2010170168A JP2009009445A JP2009009445A JP2010170168A JP 2010170168 A JP2010170168 A JP 2010170168A JP 2009009445 A JP2009009445 A JP 2009009445A JP 2009009445 A JP2009009445 A JP 2009009445A JP 2010170168 A JP2010170168 A JP 2010170168A
Authority
JP
Japan
Prior art keywords
server
group
data
flow rate
server group
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
JP2009009445A
Other languages
Japanese (ja)
Inventor
Norimitsu Shimizu
則光 清水
Takeo Egashira
剛雄 江頭
Tetsuya Funahashi
哲也 舟橋
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2009009445A priority Critical patent/JP2010170168A/en
Publication of JP2010170168A publication Critical patent/JP2010170168A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

【課題】ハードウェアの故障などによりシステムに障害が発生し、ボトルネックとなる箇所がシステム内部で変わる場合においても、システムの稼働状態に応じた最適な流量制御値を設定する。
【解決手段】稼動監視サーバ80は、複数のサーバ群から構成されるシステムのサーバの稼動状況を監視し、非稼動状態のサーバを検知した場合には、稼動状態のサーバ台数の変更に基づきサーバ群ごとの処理能力である流量制御算出値82を算出する。また、稼動監視サーバ80は、算出した値で最も低い値を負荷分散装置40の流量制御値42に設定する。負荷分散装置40は、稼動監視サーバ80により設定された流量制御値42に基づき、システムのアクセス数を制限する流量制御を実行する。
【選択図】図1
Even when a failure occurs in a system due to a hardware failure or the like, and a location that becomes a bottleneck changes within the system, an optimal flow control value is set according to the operating state of the system.
An operation monitoring server 80 monitors the operating status of a server of a system composed of a plurality of server groups, and when a non-operating server is detected, the server is based on a change in the number of operating servers. A flow control calculation value 82, which is a processing capacity for each group, is calculated. In addition, the operation monitoring server 80 sets the lowest calculated value as the flow control value 42 of the load distribution device 40. The load balancer 40 executes flow control for limiting the number of access of the system based on the flow control value 42 set by the operation monitoring server 80.
[Selection] Figure 1

Description

本発明は、コンピュータシステムにおいて、処理すべき情報処理量を制御する流量制御を行う技術に関する。この中でも特に、複数のコンピュータシステムが連携して所定の処理を実行するものに関する。   The present invention relates to a technique for performing flow rate control for controlling an information processing amount to be processed in a computer system. Among these, in particular, the present invention relates to a system in which a plurality of computer systems execute predetermined processing in cooperation.

近年、Webサイトは情報参照だけでなく、決済や予約などの様々なサービスを提供するWebシステムとして利用されている。このような状況の中、Webシステムでアクセスが集中し、予期しない大量の処理が発生した場合、システム処理の許容範囲を超えシステムが不安定になる恐れがある。その為、アクセスの流量制御は、流入されるアクセス量をシステムの許容範囲内に抑えシステムを安定稼働させる為に重要な設計要素である。   In recent years, Web sites are used not only as information references but also as Web systems that provide various services such as payment and reservation. Under such circumstances, when access is concentrated in the Web system and an unexpectedly large amount of processing occurs, the system processing may exceed the allowable range of the system processing and the system may become unstable. Therefore, the access flow rate control is an important design element in order to keep the system in stable operation while keeping the inflow access amount within the allowable range of the system.

特許文献1は、連携先システムと連携して所定の情報処理を実行するシステムに対する流量制御方法において、当該システムで理論上起動可能な理論スレッド数を算出し、前記理論スレッド数および前記連携先システムでのシステムリソース使用状況から適切な適切スレッド数を算出し、そのスレッド数を変化させるよう制御する流量制御方法である。算出されたスレッド数が現在のスレッド数より多い場合には増加させることで流量を増加させ、算出されたスレッド数が現在のスレッド数より少ない場合には、流量を減少させることで流量制御を実施する。   Patent Document 1 calculates the number of theoretical threads that can theoretically be activated in a flow control method for a system that executes predetermined information processing in cooperation with a cooperation destination system, and calculates the number of theoretical threads and the cooperation destination system. This is a flow rate control method for calculating an appropriate number of appropriate threads from the system resource usage status and controlling to change the number of threads. When the calculated number of threads is greater than the current number of threads, the flow rate is increased by increasing the flow rate. When the calculated number of threads is less than the current number of threads, the flow rate is controlled by decreasing the flow rate. To do.

特開2007−122527JP2007-122527A

Webサービスのシステムでは、システムの安定稼働の為に想定以上のアクセスを受け付けない様、流量制御を施している。この流量制御は、一般的にシステムを構成する中で一番処理性能が劣っており、最初にボトルネックとなるサーバを基準として設計される。   In the Web service system, flow control is performed so as not to accept more access than expected for the stable operation of the system. This flow control generally has the worst processing performance in configuring a system, and is designed based on a server that becomes a bottleneck first.

しかしながら、ハードウェアの故障などシステムに障害が発生した場合、ボトルネックとなる箇所がシステム内部で変わる場合がある。このような場合、システムの稼働状態に応じた最適な流量制御値を即座に変更・反映することは困難であった。   However, when a failure occurs in the system, such as a hardware failure, the bottleneck location may change within the system. In such a case, it is difficult to immediately change and reflect the optimum flow rate control value according to the operating state of the system.

特許文献1では、当該システム内のリソース状況を調査し、当該システムにて取得したリソース情報を基に適切な流量を計算しそのスレッドを計算する方式である。
この方式に拠ると、流量計算の基となるCPU利用率や保留時間は平均値を利用するため、当該システムを構成するサーバ本体やオペレーティングシステムなどで障害が発生し、突発的に処理能力の著しい低下が発生した場合、スレッド数制御機能が動作するまでに時間がかかる可能性が指摘される。そのため、検知し流量制御が発生するまでに過剰な処理が流入し、処理遅延やシステムダウンが発生するという課題がある。
Japanese Patent Laid-Open No. 2004-228561 is a method of investigating the resource status in the system, calculating an appropriate flow rate based on the resource information acquired by the system, and calculating the thread.
According to this method, the CPU utilization rate and hold time that are the basis for flow rate calculation use average values, so a failure occurs in the server body or operating system that constitutes the system, and the processing capacity is suddenly significant. It is pointed out that when the decrease occurs, it may take time until the thread number control function operates. Therefore, there is a problem that excessive processing flows in before detection and flow rate control occur, resulting in processing delay and system down.

本発明では、システム内のどこの部分がボトルネックとなっているかを保持・管理する稼働監視サーバを設け、システムを構成する全サーバの稼働状態を定期的に監視させる。システムの稼働状態が異常になった場合、例えばサーバがハードウェア障害にて停止した場合には、障害が発生したサーバを検知し、保持しているボトルネック箇所に変更が発生しないか計算を行い、変更システムにて一元管理してある流量制御値を再設計し、この結果を反映させる。   In the present invention, an operation monitoring server for holding and managing which part of the system is a bottleneck is provided, and the operating states of all the servers constituting the system are periodically monitored. When the operating status of the system becomes abnormal, for example, when a server is stopped due to a hardware failure, the server where the failure occurred is detected and calculation is performed to determine whether there is a change in the retained bottleneck. The flow control value that is centrally managed by the change system is redesigned to reflect this result.

ハードウェアの故障などシステムに障害が発生し、システムのボトルネックとなる箇所に変化が発生した場合、最適な流量制御値を即座に設定する事により、アクセスの流量をシステム許容範囲内に抑え安定稼働させる事ができる。   When a system failure such as a hardware failure occurs and a change occurs in a location that becomes a bottleneck in the system, the optimal flow control value is set immediately to keep the access flow rate within the allowable range of the system. It can be operated.

以下、本発明を実施するための最良の形態を図面に基づいて詳細に説明する。
図1は、本実施の形態におけるシステム構成図である。Webシステム20は、それぞれネットワークLAN30で接続された、負荷分散装置40、Webサーバ群50、アプリケーションサーバ群60、DBサーバ群70、および稼働監視サーバ80から構成される。
Hereinafter, the best mode for carrying out the present invention will be described in detail with reference to the drawings.
FIG. 1 is a system configuration diagram according to the present embodiment. The Web system 20 includes a load balancer 40, a Web server group 50, an application server group 60, a DB server group 70, and an operation monitoring server 80, which are connected to each other via a network LAN 30.

負荷分散装置40は、利用者端末10からのアクセスをWebサーバ群50へ処理を振り分けるほか、利用者端末10からのアクセスをWebシステム20全体で同時に処理可能な範囲内に抑えるために、利用者端末10からのアクセスによって利用者端末10と負荷分散装置40との間に発生するコネクションの数を制限し、Webシステム20全体で同時に処理可能以上の利用者端末10からのアクセスに対しては処理を受け付けずにエラーメッセージを返す機能を持つ。   The load balancer 40 distributes the access from the user terminal 10 to the Web server group 50, and in addition to restricting the access from the user terminal 10 to a range that can be simultaneously processed by the entire Web system 20, the user Limits the number of connections that occur between the user terminal 10 and the load balancer 40 due to access from the terminal 10, and processes access from the user terminal 10 that can be processed simultaneously by the entire Web system 20 Has a function to return an error message without accepting.

稼働監視サーバ80は、Webサーバ群50、アプリケーションサーバ群60およびDBサーバ群70の稼働状態を定期的に確認して、また、情報収集テーブル85、サーバ台数管理テーブル86、単体処理能力管理テーブル87および全体流量管理テーブル88に格納されたデータを用いて、Webシステム20全体で同時に処理可能なコネクションの数を流量制御算出値82として算出する。また、稼働監視サーバ80は、算出した流量制御算出値82を負荷分散装置40に送信し、Webシステム20全体で同時に処理可能なコネクションの数を流量制御値42として更新する。   The operation monitoring server 80 periodically checks the operation status of the Web server group 50, the application server group 60, and the DB server group 70, and also includes an information collection table 85, a server number management table 86, and a single processing capacity management table 87. Using the data stored in the overall flow rate management table 88, the number of connections that can be simultaneously processed in the entire Web system 20 is calculated as the flow rate control calculated value 82. In addition, the operation monitoring server 80 transmits the calculated flow rate control calculated value 82 to the load balancer 40 and updates the number of connections that can be simultaneously processed in the entire Web system 20 as the flow rate control value 42.

次に、図2の情報収集テーブル300について説明する。
情報収集テーブル300は、図1の稼働監視サーバ80で格納しているデータテーブルのうちの1つであり、稼働監視サーバ80がWebサーバ群50、アプリケーションサーバ群60およびDBサーバ群70に対して定期的にアクセスをして、Webサーバ群50、アプリケーションサーバ群60およびDBサーバ群70の稼働状態を確認した結果を示すデータが格納されている。
Next, the information collection table 300 in FIG. 2 will be described.
The information collection table 300 is one of the data tables stored in the operation monitoring server 80 shown in FIG. 1, and the operation monitoring server 80 is provided for the Web server group 50, the application server group 60, and the DB server group 70. Data indicating the results of checking the operating states of the Web server group 50, the application server group 60, and the DB server group 70 by periodically accessing is stored.

情報収集テーブル300のサーバ301には、運用担当者によって予め設定されたデータ、つまり、図1のWebサーバ群50、アプリケーションサーバ群60およびDBサーバ群70のサーバ名が格納されている。また、グループ303にも、運用担当者によって予め設定されたデータ、つまり、図1のWebサーバ群50、アプリケーションサーバ群60およびDBサーバ群70のそれぞれにおいてグループ化したデータが格納されている。稼働状態302には、図1の稼働監視サーバ80がWebサーバ群50、アプリケーションサーバ群60およびDBサーバ群70の全てのサーバに対して稼働状態を確認した結果のデータが随時格納されている。図1の稼働監視サーバ80がWebサーバ群50、アプリケーションサーバ群60およびDBサーバ群70の全てのサーバに対して稼働状態を確認した結果、サーバが稼働中であればactiveというデータを、また、サーバが非稼働中であればinactiveというデータを、図1の稼働監視サーバ80が稼働状態302に格納している。   The server 301 of the information collection table 300 stores data preset by an operator, that is, the server names of the Web server group 50, application server group 60, and DB server group 70 of FIG. The group 303 also stores data preset by the person in charge of operation, that is, data grouped in each of the Web server group 50, the application server group 60, and the DB server group 70 in FIG. The operation status 302 stores data as a result of confirming the operation status of all the servers of the Web server group 50, the application server group 60, and the DB server group 70 by the operation monitoring server 80 of FIG. As a result of the operation monitoring server 80 of FIG. 1 confirming the operation state for all the servers of the Web server group 50, the application server group 60, and the DB server group 70, if the server is operating, the data “active” If the server is not operating, the operation monitoring server 80 of FIG.

次に、図3のWebサーバ3号機が非稼働になったときの情報収集テーブルの更新(稼働中台数更新)について説明する。
図3の情報収集テーブル400,500は、図2に示す情報収集テーブルのことであり、情報収集テーブル400の状態から、図1の稼働監視サーバ80がWebサーバ群50、アプリケーションサーバ群60およびDBサーバ群70の全てのサーバに対して稼働状態を確認した結果、情報収集テーブル500の状態となることを示しており、情報収集テーブルの更新を示している。
Next, update of the information collection table (update of the number of operating units) when the Web server No. 3 in FIG. 3 becomes non-operation will be described.
The information collection tables 400 and 500 in FIG. 3 are the information collection tables shown in FIG. 2. From the state of the information collection table 400, the operation monitoring server 80 in FIG. 1 has the Web server group 50, the application server group 60, and the DB server group. As a result of confirming the operating state with respect to all 70 servers, the information collection table 500 is shown to be updated, and the information collection table is updated.

情報収集テーブル400は、図1のWebサーバ群50、アプリケーションサーバ群60およびDBサーバ群70の全てのサーバが稼働中であることを示している。また、情報収集テーブル500は、図1のWebサーバ群50、アプリケーションサーバ群60およびDBサーバ群70の全てのサーバのうち、Webサーバ3号機のみ非稼働中であることを示している。   The information collection table 400 indicates that all the servers of the Web server group 50, the application server group 60, and the DB server group 70 in FIG. 1 are operating. In addition, the information collection table 500 indicates that only the third Web server is not operating among all the servers of the Web server group 50, the application server group 60, and the DB server group 70 in FIG.

次に、図4のアプリケーションサーバ4号機が非稼働になったときの情報収集テーブルの更新(稼働中台数更新)について説明する。
情報収集テーブル600,700は、図2に示す情報収集テーブルのことであり、図3の情報収集テーブルの更新と同様の説明である。
Next, update of the information collection table when the application server No. 4 in FIG. 4 becomes non-operation (update of the number of operating units) will be described.
The information collection tables 600 and 700 are the information collection tables shown in FIG. 2, and have the same description as the update of the information collection table of FIG.

情報収集テーブル600は、図1のWebサーバ群50、アプリケーションサーバ群60およびDBサーバ群70の全てのサーバが稼働中であることを示している。また、情報収集テーブル700は、図1のWebサーバ群50、アプリケーションサーバ群60およびDBサーバ群70の全てのサーバのうち、アプリケーションサーバ4号機のみ非稼働中であることを示している。   The information collection table 600 indicates that all the servers of the Web server group 50, the application server group 60, and the DB server group 70 in FIG. 1 are operating. The information collection table 700 indicates that only the application server No. 4 is inactive among all the servers of the Web server group 50, the application server group 60, and the DB server group 70 of FIG.

次に、図5のサーバ台数管理テーブル310について説明する。
サーバ台数管理テーブル310は、図1の稼働監視サーバ80で格納しているデータテーブルのうちの1つであり、Webサーバ群50、アプリケーションサーバ群60およびDBサーバ群70のそれぞれにおけるグループのサーバの台数のデータが格納されている。
Next, the server number management table 310 in FIG. 5 will be described.
The number-of-servers management table 310 is one of the data tables stored in the operation monitoring server 80 of FIG. 1, and the server number management table 310 is a group of servers in the Web server group 50, the application server group 60, and the DB server group 70. The number of data is stored.

サーバ台数管理テーブル310のグループ311には、運用担当者によって予め設定されたデータ、つまり、図1のWebサーバ群50、アプリケーションサーバ群60およびDBサーバ群70のそれぞれにおいてグループ化したデータが格納されている。また、台数312にも、運用担当者によって予め設定されたデータ、つまり、図1のWebサーバ群50、アプリケーションサーバ群60およびDBサーバ群70のそれぞれにおけるサーバの台数のデータが格納されている。   The group 311 of the server number management table 310 stores data set in advance by an operator, that is, data grouped in each of the Web server group 50, the application server group 60, and the DB server group 70 in FIG. ing. The number 312 also stores data preset by the person in charge of operation, that is, data on the number of servers in each of the Web server group 50, application server group 60, and DB server group 70 in FIG.

次に、図6のサーバ単体処理能力管理テーブル320について説明する。
サーバ単体処理能力管理テーブル320は、図1の稼働監視サーバ80で格納しているデータテーブルのうちの1つであり、Webサーバ群50、アプリケーションサーバ群60およびDBサーバ群70のそれぞれにおけるサーバ1台の平均処理能力、つまり、利用者端末10からのアクセスに対してサーバ1台で同時に処理可能な範囲のコネクション数のデータが格納されている。
Next, the server single processing capacity management table 320 of FIG. 6 will be described.
The single server processing capacity management table 320 is one of the data tables stored in the operation monitoring server 80 of FIG. 1, and the server 1 in each of the Web server group 50, the application server group 60, and the DB server group 70. The data of the number of connections within a range that can be processed simultaneously by one server for the access from the user terminal 10 is stored.

サーバ単体処理能力管理テーブル320のグループ321には、運用担当者によって予め設定されたデータ、つまり、図1のWebサーバ群50、アプリケーションサーバ群60およびDBサーバ群70のそれぞれにおいてグループ化したデータが格納されている。また、最大流量322にも、運用担当者によって予め設定されたデータ、つまり、図1のWebサーバ群50、アプリケーションサーバ群60およびDBサーバ群70のそれぞれにおけるサーバ1台に対して、利用者端末10からのアクセスに対して同時に処理可能な範囲のコネクション数のデータが格納されている。   In the group 321 of the single server processing capacity management table 320, data set in advance by an operator, that is, data grouped in each of the Web server group 50, the application server group 60, and the DB server group 70 in FIG. Stored. In addition, the user terminal is also connected to the data set in advance by the person in charge of operation for the maximum flow rate 322, that is, one server in each of the Web server group 50, the application server group 60, and the DB server group 70 in FIG. Stores data for the number of connections that can be processed simultaneously for accesses from 10.

次に、図7の全体流量管理テーブル330について説明する。
全体流量管理テーブル330は、図1の稼働監視サーバ80で格納しているデータテーブルのうちの1つであり、Webサーバ群50、アプリケーションサーバ群60およびDBサーバ群70のそれぞれにおけるグループの処理能力、つまり、利用者端末10からのアクセスに対してグループで同時に処理可能な範囲のコネクション数のデータが格納され、また、Webサーバ群50、アプリケーションサーバ群60およびDBサーバ群70のそれぞれにおけるグループのなかで、利用者端末10からのアクセスに対して同時に処理可能な範囲のコネクション数の最も小さい値のデータが格納されている。
Next, the overall flow rate management table 330 in FIG. 7 will be described.
The overall flow rate management table 330 is one of the data tables stored in the operation monitoring server 80 of FIG. 1, and the group processing capability in each of the Web server group 50, the application server group 60, and the DB server group 70. That is, the data of the number of connections within the range that can be processed simultaneously by the group for the access from the user terminal 10 is stored, and the group of each of the Web server group 50, the application server group 60, and the DB server group 70 is stored. Among them, data having the smallest value of the number of connections in a range that can be simultaneously processed for access from the user terminal 10 is stored.

また、全体流量管理テーブルに格納されている、図1のWebサーバ群50、アプリケーションサーバ群60およびDBサーバ群70のそれぞれにおけるグループで、利用者端末10からのアクセスに対して同時に処理可能な範囲のコネクション数のデータは、稼働監視サーバ80がWebサーバ群50、アプリケーションサーバ群60およびDBサーバ群70の全てのサーバに対して稼働状態を確認した結果のデータが格納されている図2の情報収集テーブル300と、図1のWebサーバ群50、アプリケーションサーバ群60およびDBサーバ群70のそれぞれにおけるサーバ1台で、利用者端末10からのアクセスに対して同時に処理可能な範囲のコネクション数のデータが格納されている図6のサーバ単体処理能力管理テーブルの2つのテーブルで構成されるため、図2の情報収集テーブル300の稼働状態302のデータが更新される毎に、全体流量管理テーブルに格納されているコネクション数のデータも更新される。   Further, in the group in each of the Web server group 50, the application server group 60, and the DB server group 70 shown in FIG. The data of the number of connections of the information in FIG. 2 in which the operation monitoring server 80 stores the data obtained as a result of confirming the operation status of all the servers of the Web server group 50, the application server group 60, and the DB server group 70. Data of the number of connections within the range that can be processed simultaneously for access from the user terminal 10 by one server in each of the collection table 300 and the Web server group 50, the application server group 60, and the DB server group 70 in FIG. 2 is stored in the server single processing capacity management table of FIG. Each time data of the operating status 302 of the collecting table 300 is updated, connection number of data stored in the entire flow rate management table is also updated.

また、全体流量管理テーブルに格納されているコネクション数のデータは、図1の稼働監視サーバ80がWebサーバ群50、アプリケーションサーバ群60およびDBサーバ群70の全てのサーバに対して稼働状態を確認したときと、その直前に稼働監視サーバ80がWebサーバ群50、アプリケーションサーバ群60およびDBサーバ群70の全てのサーバに対して稼働状態を確認したときの2種類のデータが格納されている。   In addition, the operation monitoring server 80 in FIG. 1 confirms the operation status of all the servers of the Web server group 50, the application server group 60, and the DB server group 70 for the number of connections data stored in the overall flow rate management table. Two types of data are stored when the operation monitoring server 80 confirms the operation state for all the servers of the Web server group 50, the application server group 60, and the DB server group 70 immediately before and after that.

全体流量管理テーブル330のグループ331には、運用担当者によって予め設定されたデータ、つまり、図1のWebサーバ群50、アプリケーションサーバ群60およびDBサーバ群70のそれぞれにおいてグループ化したデータと、図1のWebサーバ群50、アプリケーションサーバ群60およびDBサーバ群70のそれぞれにおけるグループのなかで、利用者端末10からのアクセスに対して同時に処理可能な範囲のコネクション数の最も小さい値のデータを格納するためのデータが格納されている。現在値333には、図1の稼働監視サーバ80がWebサーバ群50、アプリケーションサーバ群60およびDBサーバ群70の全てのサーバに対して稼働状態を確認したときの、Webサーバ群50、アプリケーションサーバ群60およびDBサーバ群70のそれぞれのグループにおける、利用者端末10からのアクセスに対して同時に処理可能な範囲のコネクション数のデータを、稼働監視サーバ80が格納している。   The group 331 of the overall flow rate management table 330 includes data set in advance by an operator, that is, data grouped in the Web server group 50, the application server group 60, and the DB server group 70 in FIG. Stores the data with the smallest number of connections within the range that can be processed simultaneously for access from the user terminal 10 among the groups in one Web server group 50, application server group 60, and DB server group 70. Data to store is stored. As the current value 333, the Web server group 50, the application server when the operation monitoring server 80 in FIG. 1 confirms the operating state of all the servers of the Web server group 50, the application server group 60, and the DB server group 70. The operation monitoring server 80 stores data on the number of connections within a range that can be simultaneously processed for access from the user terminal 10 in each of the group 60 and the DB server group 70.

また、直前値332には、現在値333の直前に図1の稼働監視サーバ80がWebサーバ群50、アプリケーションサーバ群60およびDBサーバ群70の全てのサーバに対して稼働状態を確認したときの、Webサーバ群50、アプリケーションサーバ群60およびDBサーバ群70のそれぞれのグループにおける、利用者端末10からのアクセスに対して同時に処理可能な範囲のコネクション数のデータを、稼働監視サーバ80が格納している。   Further, the immediately preceding value 332 is the value when the operation monitoring server 80 in FIG. 1 confirms the operating state for all the servers of the Web server group 50, the application server group 60, and the DB server group 70 immediately before the current value 333. The operation monitoring server 80 stores data on the number of connections in a range that can be simultaneously processed for access from the user terminal 10 in each of the Web server group 50, the application server group 60, and the DB server group 70. ing.

次に、図8のWebサーバ3号機が非稼働になったときの全体流量管理テーブルの更新(稼働中台数更新による流量変更-最小値変更あり)について説明する。
図8の全体流量管理テーブル430,530は、図7に示す全体流量管理テーブルのことであり、全体流量管理テーブル430の状態から、図1の稼働監視サーバ80がWebサーバ群50、アプリケーションサーバ群60およびDBサーバ群70の全てのサーバに対して稼働状態を確認したときに更新される全体流量管理テーブル530の状態となることを示しており、全体流量管理テーブルの更新を示している。
Next, update of the entire flow rate management table when the Web server No. 3 in FIG. 8 becomes non-operational (flow rate change due to update of the number of operating units—minimum value change) will be described.
The overall flow rate management tables 430 and 530 in FIG. 8 are the overall flow rate management tables shown in FIG. 7. From the state of the overall flow rate management table 430, the operation monitoring server 80 in FIG. This shows that the state of the overall flow rate management table 530 is updated when the operating state is confirmed for all the servers in the DB server group 70, and the update of the overall flow rate management table is shown.

全体流量管理テーブル430は、図3の情報収集テーブル400の状態、つまり、図1のWebサーバ群50、アプリケーションサーバ群60およびDBサーバ群70の全てのサーバが稼働中であるときの、Webサーバ群50、アプリケーションサーバ群60およびDBサーバ群70のそれぞれのグループにおける、利用者端末10からのアクセスに対して同時に処理可能な範囲のコネクション数のデータを示している。また、全体流量管理テーブル530は、図3の情報収集テーブル500の状態、つまり、図1のWebサーバ群50、アプリケーションサーバ群60およびDBサーバ群70の全てのサーバのうち、Webサーバ3号機のみ非稼働中であるときの、Webサーバ群50、アプリケーションサーバ群60およびDBサーバ群70のそれぞれのグループにおける、利用者端末10からのアクセスに対して同時に処理可能な範囲のコネクション数のデータを示している。   The overall flow rate management table 430 is the state of the information collection table 400 in FIG. 3, that is, the Web server when all the servers of the Web server group 50, the application server group 60, and the DB server group 70 in FIG. Data on the number of connections in a range that can be simultaneously processed for access from the user terminal 10 in each of the group 50, the application server group 60, and the DB server group 70 is shown. The overall flow rate management table 530 is the state of the information collection table 500 in FIG. 3, that is, only the third Web server among all the servers of the Web server group 50, the application server group 60, and the DB server group 70 in FIG. Indicates the number of connections within the range that can be processed simultaneously for access from the user terminal 10 in each group of the Web server group 50, the application server group 60, and the DB server group 70 when not in operation. ing.

次に、図9のアプリケーションサーバ4号機が非稼働になったときの全体流量管理テーブルの更新(稼働中台数更新による流量変更-最小値変更なし)について説明する。
全体流量管理テーブル630,730は、図7に示す全体流量管理テーブルのことであり、図8の全体流量管理テーブルの更新と同様の説明である。
Next, the update of the entire flow rate management table when the application server No. 4 in FIG. 9 becomes inactive (flow rate change due to update of operating units-no change in minimum value) will be described.
The overall flow rate management tables 630 and 730 are the overall flow rate management table shown in FIG. 7, and have the same description as the update of the overall flow rate management table in FIG.

全体流量管理テーブル630は、図4の情報収集テーブル600の状態、つまり、図1のWebサーバ群50、アプリケーションサーバ群60およびDBサーバ群70の全てのサーバが稼働中であるときの、Webサーバ群50、アプリケーションサーバ群60およびDBサーバ群70のそれぞれのグループにおける、利用者端末10からのアクセスに対して同時に処理可能な範囲のコネクション数のデータを示している。また、全体流量管理テーブル730は、図4の情報収集テーブル700の状態、つまり、図1のWebサーバ群50、アプリケーションサーバ群60およびDBサーバ群70の全てのサーバのうち、アプリケーションサーバ4号機のみ非稼働中であるときの、Webサーバ群50、アプリケーションサーバ群60およびDBサーバ群70のそれぞれのグループにおける、利用者端末10からのアクセスに対して同時に処理可能な範囲のコネクション数のデータを示している。   The overall flow rate management table 630 is the state of the information collection table 600 in FIG. 4, that is, the Web server when all the servers of the Web server group 50, the application server group 60, and the DB server group 70 in FIG. Data on the number of connections in a range that can be simultaneously processed for access from the user terminal 10 in each of the group 50, the application server group 60, and the DB server group 70 is shown. The overall flow rate management table 730 is the state of the information collection table 700 of FIG. 4, that is, only the application server No. 4 among all the servers of the Web server group 50, the application server group 60, and the DB server group 70 of FIG. Indicates the number of connections within the range that can be processed simultaneously for access from the user terminal 10 in each group of the Web server group 50, the application server group 60, and the DB server group 70 when not in operation. ing.

次に、図10の流量制御値算出処理の機能を説明する。
図10の流量制御値算出処理は、図1の稼働監視サーバ80の流量制御算出処理部81で実行される処理であり、稼働監視サーバ80がWebサーバ群50、アプリケーションサーバ群60およびDBサーバ群70の稼働状態を確認し、利用者端末10からのアクセスに対してWebシステム20全体で同時に処理可能なコネクション数のデータを算出する。
Next, the function of the flow rate control value calculation process in FIG. 10 will be described.
The flow control value calculation process in FIG. 10 is a process executed by the flow control calculation processing unit 81 of the operation monitoring server 80 in FIG. 1, and the operation monitoring server 80 includes the Web server group 50, the application server group 60, and the DB server group. The operating status of 70 is confirmed, and data on the number of connections that can be simultaneously processed by the entire Web system 20 for the access from the user terminal 10 is calculated.

ステップ1000では、本流量制御値算出処理のプログラム起動時に、図7の全体流量管理テーブル330を初期化するための準備処理を実行する。図1のWebサーバ群50、アプリケーションサーバ群60およびDBサーバ群70の全てのサーバが稼働中であった場合の、利用者端末10からのアクセスに対して同時に処理可能な範囲のコネクション数のデータを算出する。そのため、図1のWebサーバ群50、アプリケーションサーバ群60およびDBサーバ群70のそれぞれのグループにおけるサーバの台数と、サーバの単体処理能力の情報が必要である。   In step 1000, when the program of the flow rate control value calculation process is started, a preparation process for initializing the entire flow rate management table 330 in FIG. 7 is executed. Data of the number of connections within the range that can be processed simultaneously for access from the user terminal 10 when all the servers of the Web server group 50, the application server group 60, and the DB server group 70 in FIG. 1 are operating. Is calculated. Therefore, information on the number of servers in each group of the Web server group 50, the application server group 60, and the DB server group 70 in FIG.

稼働監視サーバ80は、グループの各値(本例では、A〜C)をキーとして図5のサーバ台数管理テーブル310からサーバの台数を抽出した結果のデータと、また、グループの各値(本例では、A〜C)をキーとして図6のサーバ単体処理能力管理テーブル320からサーバ1台の平均処理能力である最大流量322を抽出し、抽出した結果のデータを掛け合わせることで、図1のWebサーバ群50、アプリケーションサーバ群60およびDBサーバ群70のそれぞれのグループにおける、利用者端末10からのアクセスに対して同時に処理可能なコネクション数のデータを算出する。   The operation monitoring server 80 uses the group values (A to C in this example) as keys to extract the number of servers from the server number management table 310 in FIG. In the example, the maximum flow rate 322, which is the average processing capacity of one server, is extracted from the single server processing capacity management table 320 of FIG. Data of the number of connections that can be simultaneously processed for access from the user terminal 10 in each of the Web server group 50, the application server group 60, and the DB server group 70 is calculated.

本例では、Aグループをキーとして図5の台数管理テーブル310と図6のサーバ単体処理能力管理テーブル320を検索するとそれぞれ4と200というデータが抽出され、抽出された4と200を掛け合わせると800というデータとなる。よって、AグループのWebサーバは4台全てのサーバが稼働中であれば、図1の利用者端末10からのアクセスに対して同時に処理可能な範囲のコネクション数のデータが最大で800となる。Aグループと同様に、BグループおよびCグループも処理すると、それぞれ900、750というデータとなる。   In this example, when the number management table 310 in FIG. 5 and the server single processing capacity management table 320 in FIG. 6 are searched using the A group as a key, data 4 and 200 are extracted, respectively, and the extracted 4 and 200 are multiplied. The data is 800. Therefore, if all four servers in the A group are operating, the maximum number of connections in the range that can be simultaneously processed for access from the user terminal 10 in FIG. Similarly to the A group, when the B group and the C group are processed, data of 900 and 750 are obtained, respectively.

ステップ1010では、図7の全体流量管理テーブル330を初期化する処理を実行する。稼働監視サーバ80は、ステップ1000で算出したデータを、図7の全体流量管理テーブル330の直前値332と現在値333の両方に格納する。Aグループ、BグループおよびCグループをキーとして直前値332と現在値333のそれぞれにおいて抽出したデータのうち最も小さい値のデータを、グループ331の最小値として格納する。   In step 1010, processing for initializing the entire flow rate management table 330 in FIG. 7 is executed. The operation monitoring server 80 stores the data calculated in step 1000 in both the immediately preceding value 332 and the current value 333 of the overall flow rate management table 330 in FIG. The data having the smallest value among the data extracted from the immediately preceding value 332 and the current value 333 using the A group, the B group, and the C group as keys is stored as the minimum value of the group 331.

本例では、Aグループをキーとしてステップ1000で算出したデータを検索すると800というデータが抽出され、次に、この抽出された800というデータを、Aグループをキーとして図7の全体流量管理テーブル330の直前値332と現在値333にそれぞれ格納する。Aグループと同様に、BグループおよびCグループも処理すると、それぞれ900、750というデータを直前値332と現在値333のそれぞれに格納する。   In this example, when the data calculated in step 1000 is searched using the A group as a key, data 800 is extracted. Next, the extracted 800 data is used as the key for the A group as a whole flow management table 330 in FIG. Are stored in the immediately preceding value 332 and the current value 333, respectively. Similar to the A group, when the B group and the C group are processed, data 900 and 750 are stored in the previous value 332 and the current value 333, respectively.

また、Aグループ、BグループおよびCグループをキーとしてステップ1000を検索すると800、900および750というデータが抽出され、この抽出された800、900および750というデータのなかで最も小さい値のデータを検索すると750というデータが抽出される。この抽出された750というデータを、最小値をキーとして図7の全体流量管理テーブル330の直前値332と現在値333に格納する。   In addition, when step 1000 is searched using A group, B group, and C group as keys, data of 800, 900, and 750 are extracted, and the data of the smallest value among the extracted data of 800, 900, and 750 is searched. Then 750 data is extracted. The extracted data 750 is stored in the previous value 332 and the current value 333 of the overall flow rate management table 330 in FIG. 7 using the minimum value as a key.

ステップ1020では、図1の稼働監視サーバ80は、図2の情報収集テーブル300の稼働状態302を初期化する処理を実行する。稼働監視サーバ80は、サーバ301の全てのサーバに対して稼働中の状態のデータ、つまり、全てactiveというデータを格納する。   In step 1020, the operation monitoring server 80 in FIG. 1 executes processing for initializing the operation state 302 of the information collection table 300 in FIG. The operation monitoring server 80 stores data in an operating state with respect to all servers of the server 301, that is, data that is all active.

本例では、図2の情報収集テーブル300の稼働状態302にactiveというデータを格納する。   In this example, data “active” is stored in the operation state 302 of the information collection table 300 of FIG.

ステップ1030では、図1の稼働監視サーバ80がWebサーバ群50、アプリケーションサーバ群60およびDBサーバ群70の全てのサーバに対してアクセスをして、Webサーバ群50、アプリケーションサーバ群60およびDBサーバ群70の全てのサーバに対して稼働状態を確認する。図1の稼働監視サーバ80がWebサーバ群50、アプリケーションサーバ群60およびDBサーバ群70の全てのサーバに対して稼働状態を確認した結果、稼働中の状態であるサーバであればactiveというデータを、非稼働中の状態であるサーバであればinactiveというデータとなる。   In step 1030, the operation monitoring server 80 of FIG. 1 accesses all the servers of the Web server group 50, the application server group 60, and the DB server group 70, and the Web server group 50, the application server group 60, and the DB server are accessed. Check the operating status for all servers in group 70. The operation monitoring server 80 shown in FIG. 1 confirms the operating state of all the servers of the Web server group 50, the application server group 60, and the DB server group 70. If the server is in a non-operating state, the data is inactive.

本例では、図3の情報収集テーブル500で示すように、Webサーバ3号機が非稼働中の場合はinactiveというデータとなり、Webサーバ3号機以外の全てのサーバが稼働中の場合はactiveというデータとなる。また、図4の情報収集テーブル700で示すように、アプリケーションサーバ4号機が非稼働中の場合はinactiveというデータとなり、アプリケーションサーバ4号機以外の全てのサーバが稼働中の場合はactiveというデータとなる。   In this example, as indicated by the information collection table 500 in FIG. 3, data is inactive when the Web server No. 3 is inactive, and data is active when all servers other than the Web server No. 3 are in operation. It becomes. Further, as shown in the information collection table 700 of FIG. 4, the data is inactive when the application server No. 4 is inactive, and the data is active when all servers other than the application server No. 4 are in operation. .

ステップ1040では、図1のWebサーバ群50、アプリケーションサーバ群60およびDBサーバ群70のなかの稼働中のサーバ台数に増減があったかどうかを検知するため、全てのサーバをキーとしてステップ1030で確認したサーバの稼働状態と図2の情報収集テーブル300の稼働状態302を検索してサーバの稼働状態を抽出したデータを、全てのサーバをキーとして比較を行ない、サーバの稼働状態が同じであるのか、または異なるのかを判定する。   In step 1040, in order to detect whether the number of operating servers in the Web server group 50, the application server group 60, and the DB server group 70 in FIG. The server operating status and the operating status 302 of the information collection table 300 in FIG. 2 are searched, and the server operating status is extracted and compared using all servers as keys, and whether the server operating status is the same. Or determine whether they are different.

本例では、図3の情報収集テーブル500で示すように、Webサーバ3号機をキーとしてステップ1030で確認したサーバの稼働状態と図3の情報収集テーブル400の稼働状態402を検索すると、それぞれinactive、activeというデータが抽出され、異なるデータであると判定される。Webサーバ3号機と同様に、Webサーバ3号機以外のサーバでは、それぞれactive、activeというデータが抽出され、同じデータであると判定される。   In this example, as shown in the information collection table 500 of FIG. 3, when the server operation state confirmed in step 1030 and the operation state 402 of the information collection table 400 of FIG. , Active data is extracted and determined to be different data. Similarly to Web server No. 3, data other than Web server No. 3 is extracted as active and active data and determined to be the same data.

また、図4の情報収集テーブル700で示すように、アプリケーションサーバ4号機をキーとしてステップ1030で確認したサーバの稼働状態と図4の情報収集テーブル600の稼働状態602を検索すると、それぞれinactive、activeというデータが抽出され、異なるデータであると判定される。アプリケーションサーバ4号機と同様に、アプリケーションサーバ4号機以外のサーバでは、それぞれactive、activeというデータが抽出され、同じデータであると判定される。   As shown in the information collection table 700 of FIG. 4, when the server operating state confirmed in step 1030 and the operation state 602 of the information collecting table 600 of FIG. Is extracted and determined as different data. Similarly to the application server No. 4, the servers other than the application server No. 4 extract the data active and active, respectively, and determine that the data is the same.

ステップ1100では、ステップ1040で処理された、全てのサーバをキーとしてステップ1030で確認したサーバの稼働状態と図2の情報収集テーブル300の稼働状態302を抽出したデータを、全てのサーバをキーとして比較を行ない、全てのサーバのなかで1台でもinactiveとactive、またはactiveとinactiveというようにサーバの稼働状態が異なるというデータがあるかどうか、または、activeとactive、またはinactiveとinactiveというようにサーバの稼働状態が同じというデータなのかを判定する。   In step 1100, the server operation status checked in step 1030 and the data extracted from the operation status 302 of the information collection table 300 in FIG. Compare and check if there is data that the server operating status is different, such as inactive and active, or active and inactive, or active and active, or inactive and inactive. Determine whether the data indicates that the server operating status is the same.

つまり、図1のWebサーバ群50、アプリケーションサーバ群60およびDBサーバ群70のなかの稼働中のサーバ台数に増減があったかどうかを検知することができる。ステップ1040で処理された結果のデータが、サーバの稼働状態が全てのサーバで同じデータであればステップ1030に戻る。また、ステップ1040で処理された結果のデータが、サーバの稼働状態が全てのサーバのなかで1台でも異なるデータがあればステップ1200に進む。   That is, it is possible to detect whether the number of servers in operation in the Web server group 50, the application server group 60, and the DB server group 70 in FIG. 1 has increased or decreased. If the result data processed in step 1040 is the same data in all servers, the processing returns to step 1030. Also, if the data processed as a result of step 1040 includes data that is different in one server among all servers, the process proceeds to step 1200.

本例では、図3の情報収集テーブルの更新で示すように、ステップ1040で処理された結果のデータが、Webサーバ3号機ではinactiveとactiveの異なるデータになるため、ステップ1200に進むことになる。また、図4も同様であり、ステップ1200に進むことになる。   In this example, as shown in the update of the information collection table in FIG. 3, the data processed in step 1040 is different from inactive and active in the Web server No. 3, and the process proceeds to step 1200. . The same applies to FIG. 4, and the process proceeds to step 1200.

ステップ1200では、ステップ1100で、図1のWebサーバ群50、アプリケーションサーバ群60およびDBサーバ群70のなかの稼働中のサーバ台数に増減があったと判定されたため、全てのサーバをキーとしてステップ1030で確認したサーバの稼働状態のなかで、稼働中の状態であるサーバであればactiveというデータを、非稼働中の状態であるサーバであればinactiveというデータを抽出して、全てのサーバをキーとして図2の情報収集テーブル300の稼働状態302に格納する。   In step 1200, since it is determined in step 1100 that the number of active servers in the Web server group 50, application server group 60, and DB server group 70 in FIG. 1 has increased or decreased, step 1030 is performed using all servers as keys. In the operating status of the servers checked in step 1, the data “active” is extracted if it is a server that is in operation, and the data “inactive” is extracted if it is a server that is not operating, and all servers are keyed. Is stored in the operating state 302 of the information collection table 300 of FIG.

本例では、図3の情報収集テーブル500の更新で示すように、Webサーバ3号機をキーとしてステップ1030で確認したサーバの稼働状態を検索してinactiveというデータを抽出して、Webサーバ3号機をキーとして図3の情報収集テーブル500の稼働状態502に格納する。また、Webサーバ3号機と同様に、Webサーバ3号機以外をキーとしてステップ1030で確認したサーバの稼働状態を検索してactiveというデータを抽出して、それぞれのサーバ名をキーとして図3の情報収集テーブル500の稼働状態502に格納する。   In this example, as shown in the update of the information collection table 500 in FIG. 3, the server operating state checked in step 1030 is searched using the Web server No. 3 as a key, and data called inactive is extracted. Is stored in the operating state 502 of the information collection table 500 of FIG. Similarly to the Web server No. 3, the server operating state checked in step 1030 is searched by using a key other than the Web server No. 3 as a key, and the data “active” is extracted, and the information of FIG. Stored in the operation state 502 of the collection table 500.

また、図4の情報収集テーブル700で示すように、アプリケーションサーバ4号機をキーとしてステップ1030で確認したサーバの稼働状態を検索してinactiveというデータを抽出して、アプリケーションサーバ4号機をキーに、図4の情報収集テーブル700の稼働状態702に格納する。また、アプリケーションサーバ4号機と同様に、アプリケーションサーバ4号機以外をキーとしてステップ1030で判定したサーバの稼働状態のなかからactiveというデータを抽出して、それぞれのサーバ名をキーとして図4の情報収集テーブル700の稼働状態702に格納する。   Further, as shown in the information collection table 700 of FIG. 4, the server operating state checked in step 1030 is searched using the application server No. 4 as a key to extract data called inactive, and the application server No. 4 is used as a key. The information is stored in the operating state 702 of the information collection table 700 of FIG. Similarly to application server No. 4, data other than application server No. 4 is used as a key to extract active data from the server operating state determined in step 1030, and the information collection of FIG. 4 is performed using each server name as a key. Stored in the operating state 702 of the table 700.

ステップ1210では、ステップ1100で、図1のWebサーバ群50、アプリケーションサーバ群60およびDBサーバ群70のなかの稼働中のサーバ台数に増減があったと判定されたため、利用者端末10からのアクセスに対して、Webサーバ群50、アプリケーションサーバ群60およびDBサーバ群70のそれぞれのグループにおいて同時に処理可能なコネクション数のデータが増減する可能性がある。図1の利用者端末10からのアクセスに対して、Webサーバ群50、アプリケーションサーバ群60およびDBサーバ群70のそれぞれのグループにおいて同時に処理可能なコネクション数のデータを算出するために、Webサーバ群50、アプリケーションサーバ群60およびDBサーバ群70のそれぞれのグループにおいて稼働中の状態であるサーバの台数と、サーバの単体処理能力の情報が必要である。   In step 1210, since it was determined in step 1100 that the number of operating servers in the Web server group 50, application server group 60, and DB server group 70 in FIG. On the other hand, there is a possibility that data of the number of connections that can be processed simultaneously in each group of the Web server group 50, the application server group 60, and the DB server group 70 may increase or decrease. In order to calculate the data of the number of connections that can be processed simultaneously in each group of the Web server group 50, the application server group 60, and the DB server group 70 for access from the user terminal 10 of FIG. 50, information on the number of servers that are operating in each of the application server group 60 and the DB server group 70, and information on the single processing capacity of the servers is required.

グループの各値(本例では、A〜C)をキーとして図2の情報収集テーブル300の稼働状態302が稼働中の状態であるデータのサーバ台数、つまり、稼働状態がactiveのデータであるサーバ台数を抽出した結果のデータと、また、グループの各値(本例では、A〜C)をキーとして図6のサーバ単体処理能力管理テーブル320からサーバ1台の平均処理能力である最大流量322を抽出した結果のデータを掛けたデータを算出して、図1の利用者端末10からのアクセスに対して、Webサーバ群50、アプリケーションサーバ群60およびDBサーバ群70のそれぞれのグループにおいて同時に処理可能なコネクション数のデータを再計算する。   The number of data servers in which the operation state 302 of the information collection table 300 in FIG. 2 is in operation, that is, servers whose operation state is active, using each group value (A to C in this example) as a key. The maximum flow rate 322 that is the average processing capacity of one server from the server single processing capacity management table 320 of FIG. 6 using the data obtained by extracting the number of units and the group values (A to C in this example) as keys. The data obtained by multiplying the extracted data is processed and processed simultaneously in each group of the Web server group 50, the application server group 60, and the DB server group 70 for the access from the user terminal 10 of FIG. Recalculate the data for the number of possible connections.

本例では、図3の情報収集テーブルの更新で示すように、Aグループをキーとして図3の情報収集テーブル500の稼働状態502からactiveの数を検索して3というデータを抽出して、また、Aグループをキーとして図6のサーバ単体処理能力管理テーブル320の最大流量322を検索して200というデータが抽出される。この抽出されたデータ、3と200を掛けると600というデータが算出される。   In this example, as shown in the update of the information collection table of FIG. 3, the number of actives is extracted from the operating state 502 of the information collection table 500 of FIG. The maximum flow rate 322 of the server single processing capacity management table 320 in FIG. 6 is searched using the A group as a key, and data of 200 is extracted. When this extracted data is multiplied by 3 and 200, data of 600 is calculated.

Aグループと同様に、BグループおよびCグループも処理すると、それぞれ900、750というデータが算出される。また、図4の情報収集テーブルの更新で示すように、Bグループをキーとして図4の情報収集テーブル700の稼働状態702からactiveの数を検索して5というデータを抽出して、また、Bグループをキーとして図6のサーバ単体処理能力管理テーブル320の最大流量322を検索して150というデータが抽出される。この抽出されたデータ、5と150を掛けると750というデータが算出される。Bグループと同様に、AグループおよびCグループも処理すると、それぞれ800、750というデータが算出される。   Similarly to the A group, when the B group and the C group are processed, data of 900 and 750 are calculated, respectively. Further, as shown in the update of the information collection table of FIG. 4, the number of active is retrieved from the operating state 702 of the information collection table 700 of FIG. Using the group as a key, the maximum flow rate 322 of the single server processing capacity management table 320 in FIG. 6 is searched to extract data 150. When this extracted data is multiplied by 5 and 150, data of 750 is calculated. Similarly to the B group, when the A group and the C group are processed, data of 800 and 750 are calculated, respectively.

ステップ1220では、図7の全体流量管理テーブル330で管理する、図1の利用者端末10からのアクセスに対して、Webサーバ群50、アプリケーションサーバ群60およびDBサーバ群70のそれぞれのグループにおいて同時に処理可能なコネクション数のデータを最新のデータに更新するため、グループの各値(本例では、A〜C)をキーとしてステップ1210で算出されたデータを抽出して、グループの各値(本例では、A〜C)をキーとして全体流量管理テーブル330の現在値333に格納する。   In step 1220, the Web server group 50, the application server group 60, and the DB server group 70 are simultaneously controlled for the access from the user terminal 10 of FIG. In order to update the data of the number of connections that can be processed to the latest data, the data calculated in step 1210 is extracted using each group value (A to C in this example) as a key, and each group value (main In the example, the current value 333 of the overall flow rate management table 330 is stored using A to C) as keys.

本例では、図8の全体流量管理テーブル530の更新で示すように、Aグループをキーとしてステップ1210を検索すると600というデータが抽出され、次に、この抽出された600というデータを、Aグループをキーとして図8の全体流量管理テーブル530の現在値533に格納する。Aグループと同様に、BグループおよびCグループも処理すると、それぞれ900、750というデータをそれぞれBグループおよびCグループをキーとして図8の全体流量管理テーブル530の現在値533に格納する。   In this example, as shown in the update of the overall flow rate management table 530 in FIG. 8, when the step 1210 is searched using the A group as a key, data 600 is extracted, and then the extracted data 600 is used as the A group. Is stored in the current value 533 of the overall flow rate management table 530 in FIG. Similar to the A group, when the B group and the C group are processed, data 900 and 750 are stored in the current value 533 of the overall flow rate management table 530 in FIG. 8 using the B group and the C group as keys, respectively.

また、図9の全体流量管理テーブル530の更新で示すように、Bグループをキーとしてステップ1210を検索すると750というデータが抽出され、次に、この抽出された750というデータを、Bグループをキーとして図9の全体流量管理テーブル730の現在値733に格納する。Bグループと同様に、AグループおよびCグループも処理すると、それぞれ800、750というデータをそれぞれAグループおよびCグループをキーとして図9の全体流量管理テーブル730の現在値733に格納する。   Further, as shown in the update of the overall flow rate management table 530 in FIG. 9, when the step 1210 is searched using the B group as a key, data 750 is extracted, and then the extracted data 750 is used as the key for the B group. Is stored in the current value 733 of the overall flow rate management table 730 in FIG. When the A group and the C group are processed in the same manner as the B group, data 800 and 750 are stored in the current value 733 of the overall flow rate management table 730 in FIG. 9 using the A group and the C group as keys, respectively.

ステップ1230では、図7の全体流量管理テーブル330で管理する、図1の利用者端末10からのアクセスに対して、Webシステム20全体で同時に処理可能なコネクション数のデータを最新のデータに更新するため、グループの各値(本例では、A〜C)をキーとしてステップ1220で更新された全体流量管理テーブル330の現在値333を検索して最も小さい値のデータを抽出して、最小値をキーとして現在値333の最小値に格納する。   In step 1230, for the access from the user terminal 10 of FIG. 1 managed by the overall flow rate management table 330 of FIG. 7, the data of the number of connections that can be simultaneously processed by the entire Web system 20 is updated to the latest data. Therefore, the current value 333 of the overall flow rate management table 330 updated in step 1220 is searched using each value of the group (A to C in this example) as a key, and the smallest value data is extracted. Store as the minimum value of the current value 333 as a key.

本例では、図8の全体流量管理テーブル530の更新で示すように、Aグループ、BグループおよびCグループをキーとして図8の全体流量管理テーブル530の現在値533を検索すると、600、900および750というデータが抽出され、この抽出された600、900および750というデータのなかで最も小さい値を検索すると600というデータが抽出される。この抽出された600というデータを、最小値をキーとして図8の全体流量管理テーブル530の現在値533に格納する。   In this example, as shown in the update of the overall flow rate management table 530 in FIG. 8, when the current value 533 of the overall flow rate management table 530 in FIG. Data of 750 is extracted, and when the smallest value is searched among the extracted data of 600, 900 and 750, data of 600 is extracted. The extracted data 600 is stored in the current value 533 of the overall flow rate management table 530 in FIG. 8 using the minimum value as a key.

また、図9の全体流量管理テーブル730の更新で示すように、Aグループ、BグループおよびCグループをキーとして図9の全体流量管理テーブル730の現在値733を検索すると、800、750および750というデータが抽出され、この抽出された800、750および750というデータのなかで最も小さい値を検索すると750というデータが抽出される。この抽出された750というデータを、最小値をキーとして図9の全体流量管理テーブル730の現在値733に格納する。   Further, as shown in the update of the overall flow rate management table 730 in FIG. 9, when the current value 733 of the overall flow rate management table 730 in FIG. 9 is searched using the A group, the B group, and the C group as keys, they are 800, 750, and 750. Data is extracted, and when the smallest value is searched among the extracted data of 800, 750, and 750, data of 750 is extracted. The extracted data 750 is stored in the current value 733 of the overall flow rate management table 730 in FIG. 9 using the minimum value as a key.

ステップ1240では、ステップ1100で、図1のWebサーバ群50、アプリケーションサーバ群60およびDBサーバ群70のなかの稼働中のサーバ台数に増減があったため、図1の利用者端末10からのアクセスに対してWebシステム20全体で同時に処理可能なコネクション数のデータが増減する可能性がある。そのため、最小値をキーとして図7の全体流量管理テーブル330の直前値332と現在値333をそれぞれ検索して最小値のデータを抽出して、直前値332の最小値データと現在値333の最小値データが同じデータであるか、異なるデータであるかを比較する。   In step 1240, since the number of operating servers in the Web server group 50, application server group 60, and DB server group 70 in FIG. 1 has increased or decreased in step 1100, access from the user terminal 10 in FIG. On the other hand, there is a possibility that data of the number of connections that can be simultaneously processed in the entire Web system 20 may increase or decrease. Therefore, using the minimum value as a key, the previous value 332 and the current value 333 of the overall flow management table 330 in FIG. Compare whether the value data is the same data or different data.

本例では、図8の全体流量管理テーブル530の更新で示すように、最小値をキーとして図8の全体流量管理テーブル530の直前値532と現在値533をそれぞれ検索して、750および600というデータを抽出すると、最小値データが異なるデータであると判定される。また、図9の全体流量管理テーブル730の更新で示すように、最小値をキーとして図9の全体流量管理テーブル730の直前値732と現在値733をそれぞれ検索して、750および750というデータを抽出すると、最小値データが同じデータであると判定される。   In this example, as shown in the update of the overall flow rate management table 530 of FIG. 8, the previous value 532 and the current value 533 of the overall flow rate management table 530 of FIG. When the data is extracted, it is determined that the minimum value data is different data. Further, as shown in the update of the overall flow rate management table 730 in FIG. 9, the previous value 732 and the current value 733 of the overall flow rate management table 730 in FIG. When extracted, it is determined that the minimum value data is the same data.

ステップ1300では、ステップ1240で比較をした全体流量管理テーブル330の直前値332と現在値333のそれぞれの最小値データが異なるかどうかを判定する。つまり、ステップ1100で、図1のWebサーバ群50、アプリケーションサーバ群60およびDBサーバ群70のなかの稼働中のサーバ台数の増減により、利用者端末10からのアクセスに対してWebシステム20全体で同時に処理可能なコネクション数のデータが増減したかどうかを判定することができる。ステップ1240で比較をした全体流量管理テーブル330の直前値332と現在値333のそれぞれの最小値データが同じデータであればステップ1500に進む。また、ステップ1240で比較をした全体流量管理テーブル330の直前値332と現在値333のそれぞれの最小値データが異なるデータであればステップ1400に進む。   In step 1300, it is determined whether or not the minimum value data of the immediately preceding value 332 and the current value 333 of the overall flow rate management table 330 compared in step 1240 are different. That is, in step 1100, the entire Web system 20 is controlled against access from the user terminal 10 due to the increase / decrease in the number of operating servers in the Web server group 50, the application server group 60, and the DB server group 70 in FIG. It can be determined whether or not the data of the number of connections that can be processed simultaneously has increased or decreased. If the minimum value data of the previous value 332 and the current value 333 of the overall flow rate management table 330 compared in step 1240 are the same data, the process proceeds to step 1500. If the minimum value data of the immediately preceding value 332 and the current value 333 of the overall flow management table 330 compared in step 1240 are different data, the process proceeds to step 1400.

本例では、図8の全体流量管理テーブル530の更新で示すように、最小値をキーとしてステップ1240で比較をした結果のデータを検索すると、750および600というデータが抽出され、最小値データが異なるデータであると判定されるためステップ1400に進む。また、図9の全体流量管理テーブル730の更新で示すように、最小値をキーとしてステップ1240で比較をした結果のデータを検索すると、750および750というデータが抽出され、最小値データが同じデータであると判定されるためステップ1500に進む。   In this example, as shown in the update of the overall flow rate management table 530 in FIG. 8, when searching the data as a result of comparison in step 1240 using the minimum value as a key, data 750 and 600 are extracted, and the minimum value data is Since it is determined that the data is different, the process proceeds to step 1400. Also, as shown in the update of the overall flow rate management table 730 in FIG. 9, when searching for data as a result of comparison in step 1240 using the minimum value as a key, data 750 and 750 are extracted, and the minimum value data is the same data Therefore, the process proceeds to step 1500.

ステップ1400では、ステップ1300で、図1の利用者端末10からのアクセスに対してWebシステム20全体で同時に処理可能なコネクション数のデータが増減したことにより、Webシステム20全体で同時に処理可能なコネクション数のデータを制御している負荷分散装置40に対してコネクション数のデータを設定している流量制御値42を更新する必要があるため、最小値をキーとして図7の全体流量管理テーブル330の現在値333を検索して最小値データを抽出して、稼働監視サーバ80で管理する流量制御算出値82に格納する。   In step 1400, the number of connections that can be processed simultaneously in the entire web system 20 for the access from the user terminal 10 in FIG. Since the flow control value 42 in which the data of the number of connections is set for the load balancer 40 that controls the number of data needs to be updated, the minimum value is used as a key in the overall flow management table 330 in FIG. The current value 333 is searched and the minimum value data is extracted and stored in the flow rate control calculated value 82 managed by the operation monitoring server 80.

本例では、図8の全体流量管理テーブル530の更新で示すように、最小値をキーとして図8の全体流量管理テーブル530の現在値533を検索して600というデータを抽出して、抽出した600というデータを図1の稼働監視サーバ80で管理する流量制御算出値82に格納する。   In this example, as shown in the update of the overall flow management table 530 of FIG. 8, the current value 533 of the overall flow management table 530 of FIG. 8 is searched using the minimum value as a key, and data of 600 is extracted and extracted. Data 600 is stored in the flow control calculated value 82 managed by the operation monitoring server 80 in FIG.

ステップ1410では、ステップ1400で格納した図1の流量制御算出値82を負荷分散装置40に送信する。
本例では、図8の全体流量管理テーブル530の更新で示すように、ステップ1400で600というデータを格納した流量制御算出値82を、図1の負荷分散装置40に送信する。
In step 1410, the flow rate control calculated value 82 of FIG. 1 stored in step 1400 is transmitted to the load balancer 40.
In this example, as shown in the update of the overall flow rate management table 530 in FIG. 8, the flow rate control calculated value 82 storing the data of 600 in step 1400 is transmitted to the load balancer 40 in FIG.

ステップ1500では、グループの各値(本例では、A〜C)をキーとして図7の全体流量管理テーブル330の現在値333を検索して抽出したデータを、グループの各値(本例では、A〜C)をキーとして直前値332に格納する。つまり、グループ331それぞれにおける直前値332と現在値333のデータが同じデータになる。本処理終了後、ステップ1030に進む。   In Step 1500, each group value (A to C in this example) is used as a key to search and extract the current value 333 of the overall flow rate management table 330 in FIG. A to C) are stored in the previous value 332 as keys. That is, the data of the immediately preceding value 332 and the current value 333 in each group 331 are the same data. After this process ends, the process proceeds to step 1030.

本例では、図8の全体流量管理テーブル530の更新で示すように、Aグループをキーとして全体流量管理テーブル530の現在値533を検索すると600というデータが抽出され、この抽出された600というデータを、Aグループをキーとして全体流量管理テーブル530の直前値532に格納する。Aグループと同様に、Bグループ、Cグループおよび最小値も処理すると、それぞれ900、750および600というデータを全体流量管理テーブル530の直前値532にそれぞれ格納する。本処理終了後はステップ1030に進む。また、図9の全体流量管理テーブル730の更新で示すように、Bグループをキーとして全体流量管理テーブル730の現在値733を検索すると750というデータが抽出され、この抽出された750というデータを、Bグループをキーとして全体流量管理テーブル730の直前値732に格納する。Bグループと同様に、Aグループ、Cグループおよび最小値も処理すると、それぞれ800、750および750というデータを全体流量管理テーブル730の直前値732にそれぞれ格納する。本処理終了後はステップ1030に進む。   In this example, as shown in the update of the overall flow rate management table 530 in FIG. 8, when the current value 533 of the overall flow rate management table 530 is searched using the A group as a key, data “600” is extracted. Is stored in the immediately preceding value 532 of the overall flow rate management table 530 using the A group as a key. Similar to the A group, when the B group, the C group, and the minimum value are also processed, data 900, 750, and 600 are stored in the previous value 532 of the overall flow rate management table 530, respectively. After this process is completed, the process proceeds to step 1030. Further, as shown in the update of the overall flow rate management table 730 in FIG. 9, when the current value 733 of the overall flow rate management table 730 is searched using the B group as a key, data 750 is extracted. Stored in the immediately preceding value 732 of the overall flow rate management table 730 using the B group as a key. Similar to the B group, when the A group, the C group, and the minimum value are processed, data of 800, 750, and 750 are stored in the immediately preceding value 732 of the overall flow rate management table 730, respectively. After the completion of this process, the process proceeds to step 1030.

次に、図11の流量制御値更新処理の機能を説明する。
ステップ2000では、図11の流量制御値更新処理は、図1の負荷分散装置40の流量制御値更新処理部41で実行される処理であり、図10のステップ1410で処理した、図1の稼働監視サーバ80から送信した、利用者端末10からのアクセスに対してWebシステム20全体で同時に処理可能なコネクション数のデータを格納した流量制御算出値82を受信し、稼働監視サーバ80から受信した流量制御算出値82のデータを、負荷分散装置40で管理する流量制御値42に格納する。
Next, the function of the flow rate control value update process in FIG. 11 will be described.
In step 2000, the flow rate control value update process in FIG. 11 is a process executed by the flow rate control value update processing unit 41 of the load distribution apparatus 40 in FIG. 1, and the operation in FIG. 1 processed in step 1410 in FIG. The flow rate received from the operation monitoring server 80 by receiving the flow control calculated value 82 storing the data of the number of connections that can be processed simultaneously by the entire Web system 20 for the access from the user terminal 10 transmitted from the monitoring server 80 The data of the control calculation value 82 is stored in the flow rate control value 42 managed by the load balancer 40.

本例では、図10のステップ1410で処理した、図1の稼働監視サーバ80から送信された600というデータが格納された流量制御算出値82を受信して、受信した600というデータを流量制御値42に格納する。よって、図1の利用者端末10からのアクセスに対してWebシステム20全体で同時に処理可能なコネクションの数が750から600に更新される。   In this example, the flow control calculated value 82 stored in the data of 600 transmitted from the operation monitoring server 80 of FIG. 1 processed in step 1410 of FIG. 10 is received, and the received data of 600 is converted to the flow control value. Store in 42. Therefore, the number of connections that can be simultaneously processed in the entire Web system 20 for access from the user terminal 10 in FIG. 1 is updated from 750 to 600.

本実施形態における流量制御システムのシステム構成図である。It is a system configuration figure of a flow control system in this embodiment. 本実施形態における情報収集テーブルのデータ構成図である。It is a data block diagram of the information collection table in this embodiment. 本実施形態におけるWebサーバ3号機が非稼動になったときの情報収集テーブルの更新状態を示す図である。It is a figure which shows the update state of an information collection table when the Web server 3 machine in this embodiment becomes non-operation. 本実施形態におけるアプリケーションサーバ4号機が非稼動になったときの情報収集テーブルの更新状態を示す図である。It is a figure which shows the update state of an information collection table when the application server 4 machine in this embodiment becomes non-operation. 本実施形態におけるサーバ台数管理テーブルのデータ構成図である。It is a data block diagram of the server number management table in this embodiment. 本実施形態におけるサーバ単体処理能力テーブルのデータ構成図である。It is a data block diagram of the server single-unit capacity table in this embodiment. 本実施形態における全体流量管理テーブルのデータ構成図である。It is a data block diagram of the whole flow volume management table in this embodiment. 本実施形態におけるWebサーバ3号機が非稼動になったときの全体流量管理テーブルの更新状態を示す図である。It is a figure which shows the update state of the whole flow volume management table when the Web server 3 machine in this embodiment becomes non-operation. 本実施形態におけるアプリケーションサーバ4号機が非稼動になったときの全体流量管理テーブルの更新状態を示す図である。It is a figure which shows the update state of the whole flow volume management table when the application server No. 4 machine in this embodiment becomes non-operation. 本実施形態における流量制御値算出処理の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of the flow control value calculation process in this embodiment. 本実施形態における流量制御値更新処理の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of the flow control value update process in this embodiment.

10 利用者端末
11 ネットワーク
20 Webシステム
30 ネットワークLAN
40 負荷分散装置
41 流量制御値更新処理部
42 流量制御値
50 Webサーバ群
60 アプリケーションサーバ群
70 DBサーバ群
80 稼動監視サーバ
81 流量制御算出処理部
82 流量制御算出値
85 情報収集テーブル
86 サーバ台数管理テーブル
87 単体処理能力管理テーブル
88 全体流量管理テーブル
10 User terminal 11 Network 20 Web system 30 Network LAN
40 Load Distribution Device 41 Flow Control Value Update Processing Unit 42 Flow Control Value 50 Web Server Group 60 Application Server Group 70 DB Server Group 80 Operation Monitoring Server 81 Flow Control Calculation Processing Unit 82 Flow Control Calculation Value 85 Information Collection Table 86 Server Number Management Table 87 Single processing capacity management table 88 Overall flow management table

Claims (1)

複数の第1のサーバから構成される第1のサーバ群、複数の第2のサーバから構成される第2のサーバ群、複数の第3のサーバから構成される第3のサーバ群、および設定値に基づいて前記第1乃至第3のサーバ群へのアクセス数を制限する負荷分散装置にネットワークを介して接続された稼動監視サーバにおいて、
前記第1乃至第3のサーバ群を構成する第1乃至第3のサーバの台数および各々の処理能力を記憶する記憶手段と、
前記記憶手段に記憶された前記第1乃至第3のサーバの台数および各々の処理能力とに基づいて、前記第1乃至第3のサーバ群ごとの処理能力を示す全体流量を算出する全体流量算出手段と、
前記流量制御値により算出された前記第1乃至第3のサーバ群ごとの全体流量のなかで最も低い値を、前記負荷分散装置の設定値である流量制御算出値として設定する流量制御算出値設定手段と、
前記第1乃至第3のサーバ群を構成するサーバの稼動状況を監視する稼動状況監視手段と、
前記稼動状況監視手段により、前記サーバが非稼動であることを検知した場合に、前記記憶手段に記憶された前記第1乃至第3のサーバの台数を更新する手段とを有することを特徴とする稼動監視サーバ。
A first server group composed of a plurality of first servers, a second server group composed of a plurality of second servers, a third server group composed of a plurality of third servers, and settings In an operation monitoring server connected via a network to a load balancer that limits the number of accesses to the first to third server groups based on values,
Storage means for storing the number of first to third servers constituting each of the first to third server groups and each processing capacity;
Based on the number of the first to third servers stored in the storage means and the processing capacity of each of the first to third servers, the total flow calculation for calculating the total flow indicating the processing capacity for each of the first to third server groups. Means,
Flow rate control calculation value setting for setting the lowest value among the total flow rates for each of the first to third server groups calculated by the flow rate control value as a flow rate control calculation value that is a setting value of the load distribution device Means,
Operating status monitoring means for monitoring the operating status of the servers constituting the first to third server groups;
And a means for updating the number of the first to third servers stored in the storage means when the operating status monitoring means detects that the server is not in operation. Operation monitoring server.
JP2009009445A 2009-01-20 2009-01-20 Flow rate control method and system Pending JP2010170168A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009009445A JP2010170168A (en) 2009-01-20 2009-01-20 Flow rate control method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009009445A JP2010170168A (en) 2009-01-20 2009-01-20 Flow rate control method and system

Publications (1)

Publication Number Publication Date
JP2010170168A true JP2010170168A (en) 2010-08-05

Family

ID=42702292

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009009445A Pending JP2010170168A (en) 2009-01-20 2009-01-20 Flow rate control method and system

Country Status (1)

Country Link
JP (1) JP2010170168A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012015028A1 (en) 2010-07-29 2012-02-02 住友ベークライト株式会社 Method for preparing sugar chains from antibodies
WO2014080994A1 (en) * 2012-11-22 2014-05-30 日本電気株式会社 Congestion control system, control device, congestion control method and program
CN112953845A (en) * 2021-02-04 2021-06-11 中国工商银行股份有限公司 Distributed system flow control method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012015028A1 (en) 2010-07-29 2012-02-02 住友ベークライト株式会社 Method for preparing sugar chains from antibodies
WO2014080994A1 (en) * 2012-11-22 2014-05-30 日本電気株式会社 Congestion control system, control device, congestion control method and program
CN112953845A (en) * 2021-02-04 2021-06-11 中国工商银行股份有限公司 Distributed system flow control method and device
CN112953845B (en) * 2021-02-04 2023-04-07 中国工商银行股份有限公司 Distributed system flow control method and device

Similar Documents

Publication Publication Date Title
US12368682B2 (en) Software load balancer to maximize utilization
EP3335120B1 (en) Method and system for resource scheduling
US7953691B2 (en) Performance evaluating apparatus, performance evaluating method, and program
JP4760491B2 (en) Event processing system, event processing method, event processing apparatus, and event processing program
US8533731B2 (en) Apparatus and method for distrubuting complex events based on correlations therebetween
US20170048123A1 (en) System for controlling switch devices, and device and method for controlling system configuration
CN106294073B (en) Service calling method and device
WO2008110983A1 (en) Dynamic load balancing
CN112711479A (en) Load balancing system, method and device of server cluster and storage medium
WO2007142053A1 (en) Monitoring device, monitoring system, monitoring method, and program
JP6272190B2 (en) Computer system, computer, load balancing method and program thereof
KR101211207B1 (en) Cache system and caching service providing method using structure of cache cloud
CN113242302A (en) Data access request processing method and device, computer equipment and medium
JP4796086B2 (en) Cluster system and method for selecting master node in the same system
US20150381498A1 (en) Network system and its load distribution method
JP2010170168A (en) Flow rate control method and system
US11271839B2 (en) Dynamic asynchronous communication management
JP5729179B2 (en) Distribution control device, distribution control method, and distribution control program
JP2008250427A (en) Upgrade apparatus used in information processing system, information processing system including the apparatus, and program for upgrading information processing system
CN116996517B (en) Load balancing methods, devices, electronic equipment and media
CN119697120A (en) A distributed current limiting method, system, electronic device and storage medium
CN102077513A (en) A method for managing a network and a network
WO2018229153A1 (en) Cross-cluster service provision
JP2012128698A (en) Load distribution blade system
JP6272252B2 (en) Edge redundancy system and edge redundancy method