[go: up one dir, main page]

JP2011118525A - Server management apparatus, server management method, and server management program - Google Patents

Server management apparatus, server management method, and server management program Download PDF

Info

Publication number
JP2011118525A
JP2011118525A JP2009273559A JP2009273559A JP2011118525A JP 2011118525 A JP2011118525 A JP 2011118525A JP 2009273559 A JP2009273559 A JP 2009273559A JP 2009273559 A JP2009273559 A JP 2009273559A JP 2011118525 A JP2011118525 A JP 2011118525A
Authority
JP
Japan
Prior art keywords
load
scale
threshold
physical server
server
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
JP2009273559A
Other languages
Japanese (ja)
Inventor
Seiji Yamaguchi
聖司 山口
Atsuhiro Yokomichi
敦博 横路
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 JP2009273559A priority Critical patent/JP2011118525A/en
Publication of JP2011118525A publication Critical patent/JP2011118525A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)

Abstract

【課題】
管理対象の負荷が閾値から外れたときに、管理対象の負荷の変化を過去の負荷変動の履歴を基に予測し、この予測結果に従って物理サーバに関する制御を実行すること。
【解決手段】
負荷情報収集部130は、物理サーバ110と仮想サーバ115の負荷を収集して、各負荷を採取した時間に対応づけて、負荷情報として負荷情報テーブル132に格納し、類似負荷情報選択部136は、管理対象の負荷がスケールアウト閾値またはスケールイン閾値から外れたときに、現在時刻の負荷に類似する過去の負荷情報を負荷情報テーブル132から選択し、スケールアウト判断部134またはスケールイン判断部135は、選択された負荷情報に従って管理対象の負荷が変化すると仮定して、管理対象の負荷が、その後も、いずれかの閾値から外れると予測したときには、スケールアウトまたはスケールインを実行する。
【選択図】 図1
【Task】
When the load of the management target deviates from the threshold, a change in the load of the management target is predicted based on the past load fluctuation history, and control related to the physical server is executed according to the prediction result.
[Solution]
The load information collection unit 130 collects the loads of the physical server 110 and the virtual server 115, stores the loads in the load information table 132 in association with the time when each load was collected, and the similar load information selection unit 136 When the load to be managed deviates from the scale-out threshold value or the scale-in threshold value, past load information similar to the load at the current time is selected from the load information table 132, and the scale-out determination unit 134 or the scale-in determination unit 135 is selected. Assuming that the load to be managed changes according to the selected load information, and when it is predicted that the load to be managed will still deviate from any threshold value, scale out or scale in is executed.
[Selection] Figure 1

Description

本発明は、物理サーバと物理サーバ上で動作する仮想サーバの管理に係り、特に、物理サーバと仮想サーバの負荷の変動を制御するためのサーバ管理装置とサーバ管理方法およびサーバ管理プログラムに関する。   The present invention relates to management of a physical server and a virtual server operating on the physical server, and more particularly, to a server management apparatus, a server management method, and a server management program for controlling fluctuations in load between the physical server and the virtual server.

近年、1台の物理サーバ上に複数の仮想サーバを動作させるための仮想化技術が広く導入されている。この仮想化技術を採用すると、ある物理マシン上で動作している仮想マシンを、別の物理マシンに移動させて動作させることが可能である。これにより、特定の物理サーバに負荷が集中しないように、複数の物理サーバに負荷を分散することが可能となる。また、複数の物理サーバに分散されている処理負荷を、1台の物理サーバに集約することで、集約の対象から外れた物理サーバの電源をオフにできるので、消費電力を削減することが可能となる。   In recent years, a virtualization technique for operating a plurality of virtual servers on one physical server has been widely introduced. By adopting this virtualization technology, it is possible to move a virtual machine operating on one physical machine to another physical machine for operation. This makes it possible to distribute the load to a plurality of physical servers so that the load is not concentrated on a specific physical server. In addition, by consolidating the processing load distributed over multiple physical servers into a single physical server, it is possible to turn off physical servers that are excluded from the aggregation target, thus reducing power consumption. It becomes.

負荷の異なる複数の仮想サーバを、より少ない台数の物理サーバに割当てる技術として、特許文献1がある。特許文献1では、一般に「ビンパッキング問題」と呼ばれる問題を仮想サーバの割当て問題に適用し、仮想サーバの移行計画を作成する。 As a technique for allocating a plurality of virtual servers having different loads to a smaller number of physical servers, there is Patent Document 1. In Patent Document 1, a problem called “bin packing problem” is generally applied to a virtual server allocation problem to create a virtual server migration plan.

ところで、クラスタシステムにおいては、物理サーバ上で動作する仮想サーバに対して、リクエスト割振りを停止し、その仮想サーバを停止する処理として、スケールインを実行することがある。スケールインによって物理サーバ上で稼動している仮想サーバがなくなった場合には、物理サーバの電源を切断することが可能となり、消費電力を削減することができる。また、クラスタシステムでは、物理サーバ上に新たに仮想サーバを起動し、起動した仮想サーバにリクエスト割振りを開始する処理として、スケールアウトを実行することがある。スケールアウトを実行すると、物理サーバ上で動作する仮想サーバの数が増加するため、クラスタシステムの処理量を増大させることができる。 By the way, in a cluster system, scale-in may be executed as a process of stopping request allocation for a virtual server operating on a physical server and stopping the virtual server. When there is no virtual server running on the physical server due to the scale-in, the physical server can be powered off, and power consumption can be reduced. In a cluster system, scale-out may be executed as a process of starting a new virtual server on a physical server and starting request allocation to the started virtual server. When the scale-out is executed, the number of virtual servers operating on the physical server increases, so that the processing amount of the cluster system can be increased.

ところが、スケールイン・スケールアウトには、仮想サーバを移行するための負荷がかかるため、スケールイン・スケールアウトの回数は少ない方が好ましい。スケールイン・スケールアウトが頻繁に発生した場合、それに伴って、CPU(Central Processing Unit)負荷、I/O(Input/Output)負荷、移行時間が増大し、消費電力が増大する。 However, since a load for migrating a virtual server is applied to scale-in / scale-out, it is preferable that the number of scale-in / scale-out is small. When scale-in / scale-out frequently occurs, a CPU (Central Processing Unit) load, an I / O (Input / Output) load, a transition time increase, and power consumption increases.

また、スケールイン・スケールアウトは、物理サーバの起動、停止を伴うことがあり、この場合、さらに消費電力が大幅に増大することになる。例えば、一時的(突発的、瞬間的、例外的)な負荷変動が生じた場合、物理サーバは、短時間に高負荷または低負荷状態となり、スケールイン・スケールアウトを発生させることがある。 In addition, scale-in / scale-out may involve starting and stopping of a physical server. In this case, power consumption further increases. For example, when a temporary (sudden, instantaneous, exceptional) load fluctuation occurs, the physical server may be in a high load state or a low load state in a short time, and scale-in / scale-out may occur.

頻繁に発生する負荷変動によるスケールイン・スケールアウトを防止する技術として、特許文献2がある。特許文献2では、物理サーバの負荷があらかじめ定められた閾値を越え、一定期間その状態が持続した場合に、仮想サーバの移動を行っている。仮想サーバの移動により、物理サーバの負荷が低減するので、一時的(例えば、瞬間的)な負荷変動によって生じるスケールイン・スケールアウトを抑制することができる。 As a technique for preventing scale-in / scale-out due to frequent load fluctuations, there is Patent Document 2. In Patent Document 2, a virtual server is moved when the load of a physical server exceeds a predetermined threshold and the state continues for a certain period. Since the load on the physical server is reduced by the movement of the virtual server, it is possible to suppress scale-in / scale-out caused by temporary (for example, instantaneous) load fluctuations.

特開2008−210001号公報JP 2008-21001 A 特開2009−116380号公報JP 2009-116380 A

しかしながら、特許文献2に開示された技術は、物理サーバの負荷が一定期間閾値を越えた状態が持続した場合に、仮想サーバのスケールイン・スケールアウトを行うようになっていることから、瞬間的に発生した急激な負荷変動に対しては、過剰なスケールイン・スケールアウトを抑止するという利点があるものの、長時間に渡って負荷が閾値を越えた状態にあった場合、即ちスケールイン・スケールアウトを実行するのが好ましい場合であっても、一定期間はスケールイン・スケールアウトが抑制されることになる。これにより、物理サーバの電源が一定期間投入された状態が持続し、電力を不要に消費することがある。 However, since the technique disclosed in Patent Document 2 is designed to perform scale-in / scale-out of a virtual server when the state where the load of the physical server exceeds the threshold for a certain period of time continues, Although there is an advantage of suppressing excessive scale-in / scale-out against sudden load fluctuations that occur in the case of the load, if the load has exceeded the threshold for a long time, that is, the scale-in / scale-out Even if it is preferable to execute out, scale-in and scale-out are suppressed for a certain period. As a result, the state in which the power of the physical server is turned on for a certain period of time continues, and power may be consumed unnecessarily.

また、特許文献2に開示された技術において、スケールイン・スケールアウトの抑制時間を短くするために、判断期間(上述の一定時間)を短く設定してしまうと、本来スケールイン・スケールアウトを抑制するのが好ましい場合であっても、スケールイン・スケールアウトを実行してしまう恐れがある。 In the technique disclosed in Patent Document 2, if the determination period (the above-mentioned fixed time) is set short in order to shorten the scale-in / scale-out suppression time, the original scale-in / scale-out is suppressed. Even if it is preferable to do so, there is a risk of performing scale-in / scale-out.

この点、特許文献2では、スケールイン・スケールアウトを実行する条件である一定期間の調整に関して、具体的な開示はなく、ユーザや開発者の判断に委ねられているという課題も残る。 In this regard, in Patent Document 2, there is no specific disclosure regarding adjustment of a certain period, which is a condition for executing scale-in / scale-out, and there remains a problem that it is left to the judgment of the user or developer.

本発明は、前記従来技術の課題に鑑みて為されたものであり、その目的は、管理対象の負荷が閾値から外れたときに、その後の、管理対象の負荷の変化を過去の負荷変動の履歴を基に予測し、この予測結果に従って物理サーバに関する制御を実行することができるサーバ管理装置とサーバ管理方法およびサーバ管理プログラムを提供することにある。   The present invention has been made in view of the above-described problems of the prior art, and its purpose is to change the load of the management target after that when the load of the management target deviates from the threshold. An object is to provide a server management apparatus, a server management method, and a server management program capable of performing prediction based on a history and executing control relating to a physical server according to the prediction result.

前記目的を達成するために、本発明は、物理サーバの負荷と仮想サーバの負荷をそれぞれ収集し、前記収集した各負荷を、前記各負荷を採取した時間に対応づけて、負荷情報として負荷情報テーブルに格納し、前記各負荷のうち管理対象の負荷の変化を時間軸に沿って監視して、前記管理対象の負荷が閾値から外れたときには、その時点の前記管理対象の負荷を現在時刻の負荷として、前記負荷情報テーブルを検索し、前記現在時刻より過去の負荷であって、前記現在時刻と同時刻に採取された負荷の中から、前記現在時刻の負荷に類似する負荷に関する負荷情報を前記負荷情報テーブルから選択し、前記選択された負荷情報に従って前記管理対象の負荷が変化すると仮定して、前記管理対象の負荷が、その後も前記閾値から外れる傾向にあるか否かを予測し、前記予測結果に従って前記物理サーバに関する制御を実行することを特徴とする。 In order to achieve the above object, the present invention collects the load of a physical server and the load of a virtual server, and associates each collected load with the time at which each load is collected to load information as load information. Stored in a table, monitoring changes in the load of the management target among the loads along the time axis, and when the load of the management target deviates from a threshold, the load of the management target at that time is As the load, the load information table is searched, and load information related to a load similar to the load at the current time is selected from among the loads that are past the current time and collected at the same time as the current time. Assuming that the load of the management target changes according to the selected load information, the load of the management target tends to deviate from the threshold thereafter. Whether to predict, and executes control related to the physical server in accordance with the prediction result.

本発明によれば、物理サーバに関する制御を効率良く高精度に実行することができる。 ADVANTAGE OF THE INVENTION According to this invention, the control regarding a physical server can be performed efficiently with high precision.

本発明が適用されたクラスタシステムのブロック構成図である。1 is a block configuration diagram of a cluster system to which the present invention is applied. FIG. 構成情報テーブルの構成図である。It is a block diagram of a structure information table. 負荷情報テーブルの構成図である。It is a block diagram of a load information table. 過去の負荷情報から類似負荷情報を選択する類似負荷情報選択部の処理を説明するためのフローチャートである。It is a flowchart for demonstrating the process of the similar load information selection part which selects similar load information from the past load information. 過去の負荷情報からスケールアウトを制御するスケールアウト判断部の処理を説明するためのフローチャートである。It is a flowchart for demonstrating the process of the scale out judgment part which controls scale out from the past load information. スケールアウトを実行する場合の負荷の変動状態を示す特性図である。It is a characteristic view which shows the fluctuation state of the load in the case of performing scale-out. 過去の負荷情報からスケールインを制御するスケールイン判断部の処理を説明するためのフローチャートである。It is a flowchart for demonstrating the process of the scale-in determination part which controls scale-in from the past load information. スケールインを実行する場合の負荷の変動状態を示す特性図である。It is a characteristic view which shows the fluctuation state of the load in the case of performing scale-in.

本実施例は、物理サーバの負荷と仮想サーバの負荷をそれぞれ収集し、収集した各負荷を、各負荷を採取した時間に対応づけて、負荷情報として負荷情報テーブルに格納し、各負荷が時間軸に沿って変化する過程で、各負荷のうち管理対象の負荷が閾値から外れたときには、その時点の現在時刻より、過去の負荷であって、現在時刻と同時刻に採取された負荷の中から、現在時刻の負荷に類似する負荷に関する負荷情報を負荷情報テーブルから選択し、選択された負荷情報に従って管理対象の負荷が変化すると仮定して、管理対象の負荷が、その後も、閾値から外れる傾向にあると予測したときには、物理サーバに関する制御として、スケールアウトまたはスケールインを実行するものである。   In this embodiment, the physical server load and the virtual server load are collected respectively, and the collected loads are stored in the load information table as load information in association with the time when each load is collected. In the process of changing along the axis, when the load to be managed is out of the threshold among the loads, it is a past load from the current time at that time, and the load collected at the same time as the current time. From the load information table, load information related to the load similar to the load at the current time is selected, and the load to be managed is changed from the threshold value on the assumption that the load to be managed changes according to the selected load information. When it is predicted that there is a tendency, scale-out or scale-in is executed as control related to the physical server.

以下、本発明の一実施例を図面に基づいて説明する。図1は、本発明が適用されたクラスタシステムの構成図である。   Hereinafter, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a configuration diagram of a cluster system to which the present invention is applied.

図1において、クラスタシステムは、サーバ管理装置120と、複数の物理サーバ110と、負荷分散装置102とを備えており、各物理サーバ110は、サーバ管理装置120に接続されているとともに、負荷分散装置102を介してネットワーク101に接続されている。   In FIG. 1, the cluster system includes a server management apparatus 120, a plurality of physical servers 110, and a load distribution apparatus 102. Each physical server 110 is connected to the server management apparatus 120 and load distribution is performed. It is connected to the network 101 via the device 102.

各物理サーバ110は、CPU(処理部)111と、メモリ(記憶部)114と、ハードディスク(記憶部)112と、通信インタフェース113と、を備えており、CPU111は、通信インタフェース113を介してサーバ管理装置120と情報の授受を行う。 Each physical server 110 includes a CPU (processing unit) 111, a memory (storage unit) 114, a hard disk (storage unit) 112, and a communication interface 113. The CPU 111 is connected to the server via the communication interface 113. Exchanges information with the management device 120.

各物理サーバ110のメモリ114では、複数の仮想サーバ115が、各物理サーバ110上で動作するように、仮想化ソフトウェア117によって仮想化されている。即ち、各物理サーバ110上では、1または2以上の仮想サーバ115が動作するようになっている。各仮想サーバ115は、各仮想サーバ115の負荷を収集する負荷情報収集部116を備えている。 In the memory 114 of each physical server 110, a plurality of virtual servers 115 are virtualized by the virtualization software 117 so as to operate on each physical server 110. That is, one or two or more virtual servers 115 operate on each physical server 110. Each virtual server 115 includes a load information collection unit 116 that collects the load of each virtual server 115.

負荷分散装置102は、ネットワーク101からリクエストが受信したときに、受信したリクエストを各物理サーバ110を介して、各物理サーバ110の仮想サーバ115へ割り振る。 When receiving a request from the network 101, the load distribution apparatus 102 allocates the received request to the virtual server 115 of each physical server 110 via each physical server 110.

サーバ管理装置120は、メモリ(記憶部)121と、CPU(処理部)122と、通信インタフェース123と、ハードディスク(記憶部)124と、を備えており、CPU122は、通信インタフェース123を介して各物理サーバ110および各仮想サーバ115と情報の授受を行う。 The server management device 120 includes a memory (storage unit) 121, a CPU (processing unit) 122, a communication interface 123, and a hard disk (storage unit) 124. Information is exchanged with the physical server 110 and each virtual server 115.

メモリ121は、負荷情報収集部130と、構成情報収集部131と、負荷情報テーブル132と、構成情報テーブル133と、スケールアウト判断部134と、スケールイン判断部135と、類似負荷情報選択部136と、を備えている。   The memory 121 includes a load information collection unit 130, a configuration information collection unit 131, a load information table 132, a configuration information table 133, a scale-out determination unit 134, a scale-in determination unit 135, and a similar load information selection unit 136. And.

負荷情報収集部130と、構成情報収集部131と、スケールアウト判断部134と、スケールイン判断部135および類似負荷情報選択部136は、CPU122によって実行されるプログラムとして構成されている。 The load information collection unit 130, the configuration information collection unit 131, the scale-out determination unit 134, the scale-in determination unit 135, and the similar load information selection unit 136 are configured as programs executed by the CPU 122.

構成情報収集部131は、CPU122の実行により、現在時刻の物理サーバ110上に割当てられている仮想サーバ115の構成に関する構成情報を各物理サーバ110から収集し、収集した構成情報を構成情報テーブル133に蓄積する。 The configuration information collection unit 131 collects configuration information regarding the configuration of the virtual server 115 allocated on the physical server 110 at the current time from each physical server 110 by the execution of the CPU 122, and the collected configuration information is stored in the configuration information table 133. To accumulate.

図2に、構成情報テーブル133の構成を示す。構成情報テーブル133は、各物理サーバ110を識別するために、予め付与された物理サーバID(IDentifire)フィールド202と、各物理サーバ110に含まれる仮想サーバ115を識別するために、予め付与された仮想サーバIDフィールド203とから構成される。 FIG. 2 shows the configuration of the configuration information table 133. The configuration information table 133 is assigned in advance to identify the physical server ID (IDentifire) field 202 assigned in advance to identify each physical server 110 and the virtual server 115 included in each physical server 110. And a virtual server ID field 203.

物理サーバIDフィールド202の各エントリーには、物理サーバ110の識別子として、例えば、物理サーバ110が3台で構成されていた場合、「物理サーバ1」、「物理サーバ2」、「物理サーバ3」が格納される。   In each entry of the physical server ID field 202, as an identifier of the physical server 110, for example, when there are three physical servers 110, "physical server 1", "physical server 2", "physical server 3" Is stored.

仮想サーバIDフィールド203の各エントリーには、仮想サーバ115の識別子が格納される。例えば、「物理サーバ1」に対応したエントリーには、「物理サーバ1」に属する仮想サーバとして、「仮想サーバ1〜3」が格納され、「物理サーバ2」に対応したエントリーには、「物理サーバ2」に属する仮想サーバとして、「仮想サーバ4〜5」が格納され、「物理サーバ3」に対応したエントリーには、「物理サーバ3」に属する仮想サーバとして、「仮想サーバ6〜7」が格納される。 Each entry of the virtual server ID field 203 stores the identifier of the virtual server 115. For example, the entries corresponding to “physical server 1” store “virtual servers 1 to 3” as virtual servers belonging to “physical server 1”, and the entry corresponding to “physical server 2” includes “physical server 1”. “Virtual servers 4 to 5” are stored as virtual servers belonging to “server 2”, and “virtual servers 6 to 7” are stored as virtual servers belonging to “physical server 3” in entries corresponding to “physical server 3”. Is stored.

負荷情報収集部130は、物理サーバ内の負荷情報収集部118と、仮想サーバ内の負荷情報収集部116と連携し、一定時間おきに物理サーバ110と仮想サーバ115の負荷情報を収集し、収集した負荷情報を負荷情報テーブル132に蓄積する。 The load information collection unit 130 collects and collects load information of the physical server 110 and the virtual server 115 at regular intervals in cooperation with the load information collection unit 118 in the physical server and the load information collection unit 116 in the virtual server. The load information is stored in the load information table 132.

具体的には、各物理サーバ110内の負荷情報収集部118は、各物理サーバ110から、各物理サーバ110の負荷を収集するとともに、収集した負荷を、当該負荷を採取した時刻(時間)に対応づけて、負荷情報として、通信インタフェース113を介してサーバ管理装置120に転送する。仮想サーバ115内の負荷情報収集部116は、各物理サーバ110上で動作する1または2以上の仮想サーバ115から、各仮想サーバ115の負荷を収集するとともに、収集した負荷を、当該負荷を採取した時刻(時間)に対応づけて、負荷情報として、通信インタフェース113を介してサーバ管理装置120に転送する。 Specifically, the load information collection unit 118 in each physical server 110 collects the load of each physical server 110 from each physical server 110 and the collected load at the time (time) when the load is collected. Correspondingly, load information is transferred to the server management apparatus 120 via the communication interface 113. The load information collection unit 116 in the virtual server 115 collects the load of each virtual server 115 from one or more virtual servers 115 operating on each physical server 110, and collects the collected load. The load information is transferred to the server management apparatus 120 via the communication interface 113 in association with the time (time).

なお、仮想サーバ115の負荷情報は仮想化ソフトウェア117を介して取得することが可能であれば、仮想サーバ115の外部に、負荷情報収集部118を設けていても良い。 As long as the load information of the virtual server 115 can be acquired via the virtualization software 117, the load information collection unit 118 may be provided outside the virtual server 115.

サーバ管理装置120の負荷情報収集部130は、負荷情報収集部116の収集による負荷情報を、通信インタフェース123を介して受信し、受信した負荷情報を負荷情報テーブル132に格納するとともに、負荷情報収集部118の収集による負荷情報を、通信インタフェース123を介して受信し、受信した負荷情報を負荷情報テーブル132に格納する。   The load information collection unit 130 of the server management device 120 receives the load information collected by the load information collection unit 116 via the communication interface 123, stores the received load information in the load information table 132, and collects the load information. The load information collected by the unit 118 is received via the communication interface 123, and the received load information is stored in the load information table 132.

この際、負荷情報収集部130は、各物理サーバ110の負荷と、各物理サーバ110上で動作する仮想サーバ115の負荷をそれぞれ間接的に収集し、収集した各負荷を、各負荷を採取した時刻(時間)および年月日に対応づけて、負荷情報として、負荷情報テーブル132に格納する。 At this time, the load information collection unit 130 indirectly collects the load of each physical server 110 and the load of the virtual server 115 operating on each physical server 110, and collects each collected load. It is stored in the load information table 132 as load information in association with time (time) and date.

ここで、負荷としては、物理サーバ115と仮想サーバ115のCPU使用率、メモリ使用率、ディスク使用率、ネットワーク帯域使用率、仮想サーバ115上で稼動するアプリケーションの処理待ちキュー数、データベースとのコネクション数、Full GC(Garbage Collection)の発生頻度、セッション数などが挙げられる。 Here, the load includes the CPU usage rate of the physical server 115 and the virtual server 115, the memory usage rate, the disk usage rate, the network bandwidth usage rate, the number of queues for processing applications running on the virtual server 115, and the connection to the database. Number, occurrence frequency of Full GC (Garbage Collection), number of sessions, etc.

各負荷には、閾値として、スケールイン閾値とスケールアウト閾値が予め設定されている。 For each load, a scale-in threshold value and a scale-out threshold value are set in advance as threshold values.

図3に、負荷情報テーブル132の構成を示す。負荷情報テーブル301は、時刻フィールド302と、負荷を採取した物理サーバ110のサーバIDフィールド303と、CPU使用率フィールド304と、メモリ使用率フィールド305とから構成される。 FIG. 3 shows the configuration of the load information table 132. The load information table 301 includes a time field 302, a server ID field 303 of the physical server 110 that collected the load, a CPU usage rate field 304, and a memory usage rate field 305.

時刻フィールド302の各エントリーには、物理サーバ110または仮想サーバ115が負荷を採取した時刻(時間)が年月日とともに格納される。サーバIDフィールド303の各エントリーには、負荷を採取した物理サーバ110または仮想サーバ115のサーバID、例えば、「物理サーバ1」、「物理サーバ2」、「物理サーバ3」などが格納される。CPU使用率フィールド304の各エントリーには、負荷を採取した物理サーバ110または仮想サーバ115のCPU使用率、例えば、「10%」、「20%」、「15%」などが格納される。メモリ使用率フィールド305の各エントリーには、負荷を採取した物理サーバ110または仮想サーバ115のメモリ使用率、例えば、「15%」、「10%」、「25%」などが格納される。   Each entry in the time field 302 stores the time (time) when the physical server 110 or the virtual server 115 collected the load together with the date. Each entry in the server ID field 303 stores the server ID of the physical server 110 or virtual server 115 that collected the load, for example, “physical server 1”, “physical server 2”, “physical server 3”, and the like. Each entry of the CPU usage rate field 304 stores the CPU usage rate of the physical server 110 or virtual server 115 from which the load is collected, for example, “10%”, “20%”, “15%”, and the like. Each entry of the memory usage rate field 305 stores the memory usage rate of the physical server 110 or the virtual server 115 that collected the load, for example, “15%”, “10%”, “25%”, and the like.

スケールアウト判断部134とスケールイン判断部135は、負荷情報収集部130の収集による各負荷の変化を時間軸に沿って監視して、各負荷のうち、例えば、各物理サーバ110の負荷が閾値から外れるか否かを判断し、各物理サーバ110の負荷が閾値から外れると判断したときには、類似負荷情報選択部136の選択による負荷情報(過去の負荷変動の履歴を示す負荷情報)に従って各物理サーバ110の負荷が変化すると仮定して、各物理サーバ110の負荷が、その後も閾値から外れる傾向にあるか否かを予測し、この予測結果に従って各物理サーバ110に関する制御を実行する判断部の一要素を構成する。   The scale-out determination unit 134 and the scale-in determination unit 135 monitor the change of each load due to the collection of the load information collection unit 130 along the time axis, and among the loads, for example, the load of each physical server 110 is a threshold value. If the load of each physical server 110 is determined to be out of the threshold value, each physical server 110 is loaded according to the load information selected by the similar load information selection unit 136 (load information indicating the past load fluctuation history). Assuming that the load of the server 110 changes, it is predicted whether or not the load of each physical server 110 tends to deviate from the threshold value thereafter, and a control unit that executes control related to each physical server 110 according to the prediction result Consists of one element.

具体的には、スケールアウト判断部134は、例えば、各物理サーバ110の負荷が、スケールアウト閾値を上回るとき(スケールアウト閾値を超えたとき)、各物理サーバ110の負荷が閾値から外れたとして、肯定の判断結果を類似負荷情報選択部136に出力するとともに、各物理サーバ110の負荷が、その後も、スケールアウト閾値を上回る傾向にあるか否かを予測し、この予測で肯定の結果を得たときに、各物理サーバ110上で動作する仮想サーバ115の数を増大させる制御として、スケールアウトを実行する。   Specifically, for example, when the load on each physical server 110 exceeds the scale-out threshold (when the load exceeds the scale-out threshold), the scale-out determination unit 134 determines that the load on each physical server 110 has deviated from the threshold. , Output a positive determination result to the similar load information selection unit 136, and predict whether the load of each physical server 110 tends to exceed the scale-out threshold thereafter. When obtained, scale-out is executed as control for increasing the number of virtual servers 115 operating on each physical server 110.

スケールイン判断部135は、例えば、各物理サーバ110の負荷が、スケールイン閾値を下回るとき(スケールイン閾値未満のとき)、各物理サーバ110の負荷が閾値から外れたとして、肯定の判断結果を類似負荷情報選択部136に出力するとともに、各物理サーバ110の負荷が、その後も、スケールイン閾値を下回る傾向にあるか否かを予測し、この予測で肯定の結果を得たときに、各物理サーバ110上で動作する仮想サーバ115の数を減少させる制御として、スケールインを実行する。   For example, when the load on each physical server 110 falls below the scale-in threshold (less than the scale-in threshold), the scale-in determination unit 135 determines that the load on each physical server 110 has deviated from the threshold, and gives a positive determination result. When outputting to the similar load information selection unit 136 and predicting whether the load of each physical server 110 tends to be lower than the scale-in threshold after that, when a positive result is obtained in this prediction, As control for reducing the number of virtual servers 115 operating on the physical server 110, scale-in is executed.

一方、類似負荷情報選択部136は、スケールアウト判断部134またはスケールイン判断部135で肯定の判断をしたときに、その時点の負荷、例えば、各物理サーバ110の負荷を現在時刻の負荷として、負荷情報テーブル132を検索し、現在時刻より過去の負荷であって、現在時刻と同時刻に採取された負荷の中から、現在時刻の負荷に類似する負荷に関する負荷情報を負荷情報テーブル132から選択する。   On the other hand, when the similar load information selection unit 136 makes a positive determination in the scale-out determination unit 134 or the scale-in determination unit 135, the load at that time, for example, the load of each physical server 110 is set as the load at the current time. The load information table 132 is searched, and load information related to a load similar to the load at the current time is selected from the load information table 132 from among the loads that are past the current time and collected at the same time as the current time. To do.

以下、類似負荷情報選択部136の処理を、図4のフローチャートに従って説明する。 Hereinafter, the processing of the similar load information selection unit 136 will be described with reference to the flowchart of FIG.

まず、類似負荷情報選択部136は、例えば、物理サーバ110の負荷が、スケールアウト閾値を上回ったこと、またはスケールイン閾値を下回ったことを条件に、現在時刻の負荷に類似する負荷に関する類似負荷情報を選択するための処理を開始し(ステップ401)、過去の負荷情報に属する日々の中から、候補日となる複数の日を選択する(ステップ402)。例えば、類似負荷情報選択部136は、過去の負荷情報に属する日々の中から、複数の候補日として、先月同日、先週同曜日、前日の3日を選択する。 First, the similar load information selection unit 136, for example, a similar load related to a load similar to the load at the current time on the condition that the load of the physical server 110 exceeds the scale-out threshold or falls below the scale-in threshold. A process for selecting information is started (step 401), and a plurality of days as candidate days are selected from the days belonging to the past load information (step 402). For example, the similar load information selection unit 136 selects the same day last month, the same day last week, and the third day of the previous day as a plurality of candidate days from the days belonging to the past load information.

次に、類似負荷情報選択部136は、現在時刻の負荷に類似する負荷に関する類似負荷情報を選択するに際して、以下の方法を採用する。例えば、現在時刻tTODAYより一定時間T前までの負荷と、過去の同時刻間(t’-Tからt’まで)の負荷との差分を求める。このとき、時刻tでの負荷をLt-とすると、時刻tTODAY時点までの負荷と、時刻t’時点までの負荷との差分Diff(t’)は、以下のように計算できる。 Next, the similar load information selection unit 136 adopts the following method when selecting similar load information regarding a load similar to the load at the current time. For example, the difference between the load until a certain time T before the current time t TODAY and the load between the same time in the past (from t′-T to t ′) is obtained. At this time, assuming that the load at time t is L t− , the difference Diff (t ′) between the load up to time t TODAY and the load up to time t ′ can be calculated as follows.

この計算方法を用いて、類似負荷情報選択部136は、現在時刻の負荷を基準として、先月同日の同時刻tLAST-MONTHの負荷と、先週同曜日の同時刻tLAST-WEEKの負荷と、前日の同時刻tYESTERDAYの負荷との差分をそれぞれ算出する。この際、類似負荷情報選択部136は、全ての候補日について、現在時刻の負荷と各候補日の負荷との差分を算する(ステップ403)。 Using this calculation method, the similar load information selection unit 136 uses the load at the current time as a reference, the load at the same time t LAST-MONTH on the same day last month, the load at the same time t LAST-WEEK on the same day last week, The difference from the load at the same time t YESTERDAY of the previous day is calculated. At this time, the similar load information selection unit 136 calculates the difference between the load at the current time and the load on each candidate day for all candidate dates (step 403).

次に、類似負荷情報選択部136は、複数の候補日の中から、各算出結果を基に負荷の差分が最小となる候補日を選択し、選択した候補日の負荷情報を類似負荷情報として選択し(ステップ404)、このルーチンでの処理を終了する(ステップ405)。 Next, the similar load information selection unit 136 selects a candidate date having the smallest load difference based on each calculation result from the plurality of candidate dates, and sets the selected candidate date load information as similar load information. Selection is made (step 404), and the processing in this routine is terminated (step 405).

これにより、類似負荷情報選択部136は、物理サーバ110の負荷が、スケールアウト閾値を上回ったとき、またはスケールイン閾値を下回ったとき、その時点の物理サーバ110の負荷を現在時刻の負荷として、負荷情報テーブル132を検索し、現在時刻より過去の負荷であって、現在時刻と同時刻に採取された負荷の中から、現在時刻の負荷に類似する負荷に関する類似負荷情報を負荷情報テーブル132から選択することができる。 Thereby, when the load on the physical server 110 exceeds the scale-out threshold or falls below the scale-in threshold, the similar load information selection unit 136 sets the load on the physical server 110 at that time as the current time load. The load information table 132 is searched, and similar load information related to a load similar to the load at the current time is retrieved from the load information table 132 from among the loads that are past the current time and collected at the same time as the current time. You can choose.

次に、スケールアウト判断部の処理を図5のフローチャートに従って説明する。 Next, the process of the scale-out determination unit will be described with reference to the flowchart of FIG.

スケールアウト判断部134は、スケールアウトの判断を開始すると(ステップ501)、負荷情報収集部130の収集による各負荷を時間軸に沿って監視し、各負荷のうち、例えば、物理サーバ110の最新の負荷が、スケールアウト閾値を上回ったか否かを判断する(ステップ502)。 When the scale-out determination unit 134 starts the determination of scale-out (step 501), the scale-out determination unit 134 monitors each load collected by the load information collection unit 130 along the time axis, and among the loads, for example, the latest of the physical server 110 It is determined whether or not the load exceeds the scale-out threshold (step 502).

スケールアウト判断部134は、ステップ502で、物理サーバ110の最新の負荷が、スケールアウト閾値以下であると判断した場合(No)、スケールアウトを実行することなく、このルーチンでの処理を終了し(ステップ508)、物理サーバ110の最新の負荷がスケールアウト閾値を上回ったと判断した場合には(Yes)、負荷情報テーブル132を検索し、この検索結果を基に過去の負荷情報が存在するか否かを判定する(ステップ503)。 If the scale-out determination unit 134 determines in step 502 that the latest load on the physical server 110 is equal to or less than the scale-out threshold (No), the scale-out determination unit 134 ends the processing in this routine without executing the scale-out. (Step 508) If it is determined that the latest load of the physical server 110 has exceeded the scale-out threshold (Yes), the load information table 132 is searched, and whether past load information exists based on the search result. It is determined whether or not (step 503).

スケールアウト判断部134は、ステップ503において、過去の負荷情報が存在しないと判定したときには(NO)、ステップ507の処理に移行してスケールアウトを実行する。 When the scale-out determination unit 134 determines in step 503 that past load information does not exist (NO), the scale-out determination unit 134 proceeds to the processing in step 507 and executes scale-out.

即ち、過去の負荷情報が存在しないと判定したときには、過去の負荷情報を基にスケールアウトを実行するか否かを判断できないが、物理サーバ110の負荷が、スケールアウト閾値を上回っていることを考慮し、スケールアウトを実行する。 That is, when it is determined that there is no past load information, it is not possible to determine whether to execute scale-out based on the past load information, but it is determined that the load of the physical server 110 exceeds the scale-out threshold. Consider and scale out.

一方、スケールアウト判断部134は、ステップ503において、過去の負荷情報が存在すると判定したときには(Yes)、過去の負荷情報の中から、現在時刻の負荷に最も類似している負荷に関する類似負荷情報を選択するための処理を類似負荷情報選択部136に要求する。 On the other hand, when the scale-out determination unit 134 determines in step 503 that the past load information exists (Yes), the similar load information related to the load most similar to the load at the current time among the past load information. Is requested to the similar load information selection unit 136.

類似負荷情報選択部136は、スケールアウト判断部134からの要求に応答して、負荷情報テーブル132を検索し、物理サーバ110の過去の負荷情報と、物理サーバ110の過去の負荷情報の中から、現在時刻の負荷情報に最も類似している負荷情報を類似負荷情報として選択する。スケールアウト判断部134は、類似負荷情報選択部136により選択された類似負荷情報に属する時刻のうち現在時刻と同時刻なる時刻を選択する(ステップ504)。 In response to the request from the scale-out determination unit 134, the similar load information selection unit 136 searches the load information table 132, and from among the past load information of the physical server 110 and the past load information of the physical server 110. The load information that is most similar to the load information at the current time is selected as the similar load information. The scale-out determination unit 134 selects a time that is the same as the current time among the times belonging to the similar load information selected by the similar load information selection unit 136 (step 504).

例えば、スケールアウト判断部134は、図6に示すように、物理サーバ110の負荷が時間軸に沿って変化している過程で、物理サーバ110の負荷が、時刻602でスケールアウト閾値th1を上回ったときには、現在時刻の負荷に最も類似している負荷に関する類似負荷情報を選択するための処理を類似負荷情報選択部136に要求する。 For example, as shown in FIG. 6, the scale-out determination unit 134 increases the load on the physical server 110 above the scale-out threshold th1 at time 602 in the process of changing the load on the physical server 110 along the time axis. The similar load information selection unit 136 is requested to select similar load information related to the load most similar to the load at the current time.

類似負荷情報選択部136は、スケールアウト判断部134からの要求に応答して、負荷情報テーブル132を検索し、物理サーバ110の過去の負荷情報の中から、現在時刻(時刻602)の負荷情報に最も類似している負荷情報を類似負荷情報として選択する。 The similar load information selection unit 136 searches the load information table 132 in response to the request from the scale-out determination unit 134, and loads the load information at the current time (time 602) from the past load information of the physical server 110. Is selected as the similar load information.

スケールアウト判断部134は、類似負荷情報選択部136により選択された類似負荷情報に属する過去の日の時刻のうち現在時刻と同時刻となる時刻を、tとして選択する(ステップ504)。 The scale-out determination unit 134 selects, as t 1 , a time that is the same as the current time among the past days belonging to the similar load information selected by the similar load information selection unit 136 (step 504).

ここで、過去の日の時刻とは、現在時刻よりも過去の時刻のうち現在時刻と同時刻であって、前述した先月同日、先週同曜日、前日の時刻である。例えば、現在時刻が午後2時であれば、過去の日の時刻は、先月同日の午後2時、先週同曜日の午後2時、前日の午後2時である。 Here, the time of the past day is the same time as the current time among the past times than the current time, and is the same day of the previous month, the same day of the previous week, and the time of the previous day. For example, if the current time is 2:00 pm, the time of the past day is 2:00 pm on the same day last month, 2:00 pm on the same day last week, and 2:00 pm on the previous day.

負荷情報テーブル134に、過去の負荷情報が存在する場合、スケールアウト判断部134は、過去の負荷情報(類似負荷情報選択部136で選択された類似負荷情報)に従って物理サーバ110の負荷が変化すると仮定して、将来の物理サーバ110の負荷を予測し、この予測結果を基にスケールアウトを実行するか否かを判断する。 When past load information exists in the load information table 134, the scale-out determination unit 134 changes the load of the physical server 110 according to past load information (similar load information selected by the similar load information selection unit 136). Assuming that the future load on the physical server 110 is predicted, it is determined whether or not to perform scale-out based on the prediction result.

この際、仮想サーバ115の数を増加させるためのスケールアウトを実行すると、リクエストを処理するための計算資源が増加するため、物理サーバ110の負荷を減少させることができるが、その一方で、スケールアウトにより、物理サーバ110が起動すると、その分消費電力が増加するため、できるだけスケールアウトを行わないことが好ましい。 At this time, if the scale-out for increasing the number of virtual servers 115 is executed, the computational resources for processing the request increase, so the load on the physical server 110 can be reduced. When the physical server 110 is activated due to out, power consumption increases correspondingly. Therefore, it is preferable not to scale out as much as possible.

そこで、本発明を適用したクラスタシステムでは、一時的な負荷増加はスケールアウトが不要であるとしていことから、例えば、図6に示すように、物理サーバ110の負荷が時間軸に沿って変化している過程で、物理サーバ110の負荷が、時刻602でスケールアウト閾値th1を上回ったときには、類似負荷情報選択部136が、負荷情報テーブル132を検索し、物理サーバ110の過去の負荷情報の中から、現在時刻(時刻602)の負荷情報に最も類似している負荷情報を、過去の類似負荷情報として選択する。 Therefore, in the cluster system to which the present invention is applied, the temporary load increase does not need to be scaled out. For example, as shown in FIG. 6, the load on the physical server 110 changes along the time axis. When the load on the physical server 110 exceeds the scale-out threshold th1 at time 602, the similar load information selection unit 136 searches the load information table 132 and includes the past load information on the physical server 110. The load information most similar to the load information at the current time (time 602) is selected as past similar load information.

過去の類似負荷情報が選択された後、スケールアウト判断部134は、図6に示すように、現在時刻における物理サーバ110の負荷が、時刻602でスケールアウト閾値th1を上回ったときには、その後、物理サーバ110の過去の類似負荷情報に従って変化すると仮定し、過去の類似負荷情報に属する過去の日の時刻のうち、現在時刻(時刻602)と同時刻となる時刻を、tとするとともに、時刻tから時刻t(t=t+負荷下降探索時間)までの一定時間605を負荷下降探索時間とし(ステップ505)、時刻tから一定時間606が経過する時刻tの間に、物理サーバ110の過去の負荷が、下降してスケールアウト閾値th1以下となるか否かを調べる(ステップ506)。 After the past similar load information is selected, as shown in FIG. 6, when the load on the physical server 110 at the current time exceeds the scale-out threshold th1 at time 602, the scale-out determination unit 134 assumed to vary according to past similar load information of the server 110, of the time of the previous day belonging to past similar load information, a time at which the current time (time 602) and the same time, with the t 1, time A fixed time 605 from t 1 to time t 2 (t 2 = t 1 + load drop search time) is set as a load drop search time (step 505), and between time t 1 and time t 2 when the fixed time 606 elapses. Then, it is checked whether or not the past load of the physical server 110 falls and becomes equal to or smaller than the scale-out threshold th1 (step 506).

ここで、図6は、類似負荷情報選択部136により選択された過去の類似負荷情報の特性図であって、グラフ601は、物理サーバ110の過去の負荷の特性を表している。このため、スケールアウト判断部134は、現在時刻における物理サーバ110の負荷が、スケールアウト閾値th1を上回ったときには、その後、過去の類似負荷情報であるグラフ601に従って変化すると仮定し、グラフ601の時刻のうち、現在時刻(時刻602)と同時刻となる時刻を、tとしている。 Here, FIG. 6 is a characteristic diagram of past similar load information selected by the similar load information selection unit 136, and a graph 601 represents past load characteristics of the physical server 110. FIG. For this reason, when the load on the physical server 110 at the current time exceeds the scale-out threshold th1, the scale-out determination unit 134 assumes that the load changes thereafter according to the graph 601 that is past similar load information, and the time of the graph 601 among the, the time at which the current time (time 602) and the same time, is set to t 1.

物理サーバ110の過去の負荷が、時刻602から、その後、一時的に上昇し、その後下降して、時刻603からスケールアウト閾値th1以下となった場合(Yes)、スケールアウト判断部134は、物理サーバ110の過去の負荷の上昇は一時的なものであると判断し、スケールアウトを抑止して、スケールアウトを実行することなく、このルーチンでの処理を終了する(ステップ508)。 When the past load of the physical server 110 temporarily increases from time 602 and then decreases and then decreases to the scale-out threshold th1 or less from time 603 (Yes), the scale-out determination unit 134 The server 110 determines that the increase in the past load is temporary, suppresses the scale-out, and terminates the processing in this routine without executing the scale-out (step 508).

次に、時刻604で、物理サーバ110の負荷が、スケールアウト閾値th1を上回った場合、スケールアウト判断部134は、再び、類似負荷情報選択部136に類似負荷情報の選択を要求する。これにより、類似負荷情報選択部136は、負荷情報テーブル132を検索し、物理サーバ110の過去の負荷情報の中から、現在時刻(時刻604)の負荷情報に最も類似している負荷情報を過去の類似負荷情報として選択する。 Next, when the load on the physical server 110 exceeds the scale-out threshold th1 at time 604, the scale-out determination unit 134 requests the similar load information selection unit 136 to select similar load information again. As a result, the similar load information selection unit 136 searches the load information table 132, and from the past load information of the physical server 110, the load information most similar to the load information at the current time (time 604) is stored in the past. As similar load information.

過去の類似負荷情報が選択された後、スケールアウト判断部134は、現在時刻における物理サーバ110の負荷が、スケールアウト閾値th1を上回ったときには、その後、物理サーバ110の過去の類似負荷情報に従って変化すると仮定し、過去の類似負荷情報に属する過去の日の時刻のうち、現在時刻(時刻604)と同時刻となる時刻をtとするとともに、時刻tから一定時間606を負荷下降探索時間とし、一定時間606が経過する時刻tの間に、物理サーバ110の過去の負荷が、下降してスケールアウト閾値th1以下となるか否かを調べる(ステップ506)。 After the past similar load information is selected, the scale-out determination unit 134 changes according to the past similar load information of the physical server 110 when the load of the physical server 110 at the current time exceeds the scale-out threshold th1. then assuming, of times of day in the past that belong to past similar load information, a time at which the current time (time 604) and the same time with the t 1, the load descends search time for a predetermined time 606 from the time t 1 and then, during the time t 2 when the predetermined time 606 has elapsed, past load of the physical server 110 checks whether the scale-out threshold th1 or less lowered (step 506).

ステップ506において、物理サーバ110の過去の負荷が、時刻tから一定時間606が経過する時刻tの間に、スケールアウト閾値th1以下とならず、その後も上昇傾向にあると予測したときには(No)、スケールアウト判断部134は、物理サーバ110の過去の負荷の上昇は一時的なものではないと判断し、物理サーバ110上で動作する仮想サーバ115の数を増大させる制御として、スケールアウトを実行する(ステップ507)。 In step 506, past load of the physical server 110, between times t 2 for a predetermined time 606 has elapsed from the time t 1, not the scale-out threshold th1 or less, when subsequently also predicted to be on the rise ( No), the scale-out determination unit 134 determines that the increase in the past load on the physical server 110 is not temporary, and performs scale-out as control for increasing the number of virtual servers 115 operating on the physical server 110. Is executed (step 507).

上述したように、スケールアウト判断部134は、物理サーバ110の過去の負荷が、スケールアウト閾値th1を上回ったときに、その後も、スケールアウト閾値th1を一定時間606に亘って上回る傾向にあると予測したときには、物理サーバ110上で動作する仮想サーバ115の数を増大させる制御として、スケールアウトを実行し、物理サーバ110の過去の負荷が、スケールアウト閾値th1を上回ったときに、その後、一時的に増加した後、スケールアウト閾値th1以下になると予測したときには、物理サーバ115上で動作する仮想サーバ115の数を増大させる制御の実行を抑止することになる。 As described above, when the past load of the physical server 110 exceeds the scale-out threshold value th1, the scale-out determination unit 134 tends to exceed the scale-out threshold value th1 over a certain period of time 606. When predicted, scale-out is executed as control for increasing the number of virtual servers 115 operating on the physical server 110. When the past load of the physical server 110 exceeds the scale-out threshold th1, If the number of virtual servers 115 operating on the physical server 115 is predicted to be less than or equal to the scale-out threshold th1 after the increase, the execution of control for increasing the number of virtual servers 115 operating on the physical server 115 is suppressed.

次に、スケールイン判断部の処理を図7のフローチャートに従って説明する。 Next, the processing of the scale-in determination unit will be described with reference to the flowchart of FIG.

スケールイン判断を開始すると(ステップ701)、スケールイン判断部135は、負荷情報収集部130の収集による各負荷の変化を時間軸に沿って監視し、例えば、物理サーバ110の最新の負荷が、スケールイン閾値を下回ったか否かを判断する(ステップ702)。 When the scale-in determination is started (step 701), the scale-in determination unit 135 monitors changes in loads by the collection of the load information collection unit 130 along the time axis. For example, the latest load of the physical server 110 is It is determined whether or not the scale-in threshold has been exceeded (step 702).

ステップ702において、スケールイン判断部135は、物理サーバ110の負荷が、スケールイン閾値以上であると判断した場合(No)、スケールインを実行することなく、このルーチンでの処理を終了し(ステップ711)、物理サーバ110の負荷が、スケールイン閾値を下回ったと判断した場合には(Yes)、負荷情報テーブル132を検索し、この検索結果を基に過去の負荷情報が存在するか否かを判定する(ステップ703)。 In Step 702, when the scale-in determination unit 135 determines that the load on the physical server 110 is equal to or greater than the scale-in threshold (No), the scale-in determination unit 135 ends the processing in this routine without executing the scale-in (Step S702). 711), when it is determined that the load of the physical server 110 has fallen below the scale-in threshold (Yes), the load information table 132 is searched, and whether or not past load information exists based on the search result is determined. Determination is made (step 703).

スケールイン判断部135は、ステップ703において、過去の負荷情報が存在しないと判定したときには(NO)、過去の負荷情報を基にスケールインを実行するか否かを判断できないが、物理サーバ110の負荷が、スケールイン閾値を下回っていることを考慮し、ステップ710の処理に移行してスケールインを実行し、その後、このルーチンでの処理を終了する(ステップ711)。 When the scale-in determination unit 135 determines in step 703 that the past load information does not exist (NO), the scale-in determination unit 135 cannot determine whether to execute the scale-in based on the past load information. Considering that the load is below the scale-in threshold value, the process proceeds to step 710 to execute scale-in, and then the process in this routine is terminated (step 711).

一方、スケールイン判断部135は、ステップ703において、過去の負荷情報が存在すると判定したときには(Yes)、過去の負荷情報から、現在時刻の負荷に最も類似している負荷を選択するための処理を類似負荷情報選択部136に要求する。 On the other hand, when the scale-in determination unit 135 determines in step 703 that past load information exists (Yes), the scale-in determination unit 135 selects a load most similar to the load at the current time from the past load information. Is requested to the similar load information selection unit 136.

類似負荷情報選択部136は、スケールイン判断部135からの要求に応答して、負荷情報テーブル132を検索し、物理サーバ110の過去の負荷情報の中から、現在時刻の負荷情報に最も類似している負荷情報を類似負荷情報として選択し、選択した類似負荷情報に属する過去の日の時刻のうち現在時刻と同時刻なる時刻tを選択する(ステップ704)。 The similar load information selection unit 136 searches the load information table 132 in response to the request from the scale-in determination unit 135, and is most similar to the load information at the current time from the past load information of the physical server 110. the load information is similar load selected as information to select a time t 1 comprising the current time and the time of the time in the past day belong to the selected similar load information (step 704).

例えば、スケールイン判断部135は、図8に示すように、物理サーバ110の負荷が時間軸に沿って変化している過程で、物理サーバ110の負荷が、時刻802でスケールイン閾値th2を下回ったときには、現在時刻の負荷に最も類似している負荷を選択するための処理を類似負荷情報選択部136に要求する。 For example, as illustrated in FIG. 8, the scale-in determination unit 135 is configured such that the load on the physical server 110 falls below the scale-in threshold th2 at time 802 in the process in which the load on the physical server 110 changes along the time axis. The similar load information selection unit 136 is requested to select a load most similar to the load at the current time.

類似負荷情報選択部136は、スケールイン判断部135からの要求に応答して、負荷情報テーブル132を検索し、物理サーバ110の過去の負荷情報の中から、現在時刻(時刻802)の負荷情報に最も類似している負荷情報を過去の類似負荷情報として選択する。 The similar load information selection unit 136 searches the load information table 132 in response to the request from the scale-in determination unit 135, and loads the load information at the current time (time 802) from the past load information of the physical server 110. Is selected as the past similar load information.

過去の類似負荷情報が選択された後、スケールイン判断部135は、類似負荷情報選択部136により選択された類似負荷情報に属する過去の日の時刻のうち現在時刻と同時刻となる時刻を、tとして選択する(ステップ704)。 After the past similar load information is selected, the scale-in determination unit 135 sets a time that is the same as the current time among the past days belonging to the similar load information selected by the similar load information selection unit 136, It is selected as t 1 (step 704).

この後、スケールイン判断部135は、類似負荷情報選択部136で選択された過去の負荷情報と時刻tを基に、物理サーバ110の将来の負荷の変化を予測し、この予測結果を基にスケールインを実行するか否かを判断する。この際、物理サーバ110が起動中は、常に電力を消費するため、可能な限りスケールインを行うことで、消費電力を削減することが望ましい。 Thereafter, Scale In determining unit 135, based on the load information and the time t 1 of the last selected in a similar load information selecting unit 136, predicts future changes in the load of the physical server 110, based on the prediction result Whether or not to perform scale-in is determined. At this time, since power is always consumed while the physical server 110 is running, it is desirable to reduce power consumption by performing scale-in as much as possible.

そこで、本発明を適用したクラスタシステムでは、一定期間に渡り負荷が減少する場合には、スケールインを実行することとしていることから、スケールイン判断部135は、一時的な負荷減少は、スケールインが不要であると判断し、また、負荷減少中に一時的な負荷増加が発生している場合には、長期間では負荷減少しているとみなしてスケールインを実行すべきであると判断する。 Therefore, in the cluster system to which the present invention is applied, the scale-in determination unit 135 executes the scale-in when the load decreases for a certain period of time. If there is a temporary increase in load while the load is decreasing, it is determined that the load should decrease over a long period of time and that the scale-in should be executed. .

具体的には、例えば、図8に示すように、物理サーバ110の負荷が時間軸に沿って変化している過程で、物理サーバ110の負荷が、時刻802でスケールイン閾値th2を下回ったときには、スケールイン判断部135は、類似負荷情報の選択を類似負荷情報選択部136に要求する。 Specifically, for example, as shown in FIG. 8, when the load on the physical server 110 changes along the time axis, the load on the physical server 110 falls below the scale-in threshold th2 at time 802. The scale-in determination unit 135 requests the similar load information selection unit 136 to select similar load information.

類似負荷情報選択部136は、スケールイン判断部135からの要求に応答して、負荷情報テーブル132を検索し、過去の物理サーバの負荷情報の中から、現在時刻(時刻802)の負荷情報に最も類似している負荷情報を、過去の類似負荷情報として選択する。 In response to the request from the scale-in determination unit 135, the similar load information selection unit 136 searches the load information table 132 to obtain the load information at the current time (time 802) from the past physical server load information. The most similar load information is selected as past similar load information.

過去の類似負荷情報が選択された後、スケールイン判断部135は、現在時刻における物理サーバ110の負荷が、スケールイン閾値th2を下回ったときには、その後、物理サーバ110の過去の類似負荷情報に従って変化すると仮定し、過去の類似負荷情報に属する過去の日の時刻のうち、現在時刻(時刻802)と同時刻となる時刻tを、t=tとするとともに、時刻tから時刻tまでの一定時間807を負荷上昇探索時間とし(ステップ705)、時刻tから一定時間807が経過する時刻tの間に、物理サーバ110の過去の負荷が、上昇してスケールイン閾値th2以上となるか否かを調べる(ステップ706)。 After the past similar load information is selected, the scale-in determination unit 135 changes according to the past similar load information of the physical server 110 when the load of the physical server 110 at the current time falls below the scale-in threshold th2. Assuming that the time t, which is the same time as the current time (time 802), of the past days belonging to the similar load information in the past is t = t 1 and from time t 1 to time t 2 the predetermined time 807 as a load increase search time (step 705), during the time t 2 when the predetermined time 807 from the time t 1 has elapsed, past load of the physical server 110, increased scale in threshold th2 or more as a It is checked whether or not (step 706).

ここで、図8は、類似負荷情報選択部136により選択された過去の類似負荷情報の特性図であって、グラフ801は、物理サーバ110の過去の負荷の特性を表している。このため、スケールイン判断部135は、現在時刻における物理サーバ110の負荷が、スケールイン閾値th2を下回ったときには、その後、過去の類似負荷情報であるグラフ801に従って変化すると仮定し、グラフ801の時刻のうち、現在時刻(時刻802)と同時刻となる時刻tを、tとしている。 Here, FIG. 8 is a characteristic diagram of past similar load information selected by the similar load information selection unit 136, and a graph 801 represents past load characteristics of the physical server 110. FIG. Therefore, when the load of the physical server 110 at the current time falls below the scale-in threshold th2, the scale-in determination unit 135 assumes that the load changes thereafter according to the graph 801 that is past similar load information, and the time of the graph 801 of, the time t as the current time (time 802) and the same time, is set to t 1.

ステップ706において、時刻tから一定時間807が経過する時刻tの間に、物理サーバ110の過去の負荷が、スケールイン閾値th2を下回るとともに、その後も、スケールイン閾値th2を下回るとことが予測されるときには(No)、スケールイン判断部135は、スケールインを実行する(ステップ710)。 In step 706, during the time t 2 for a predetermined time 807 has elapsed from the time t 1, past load of the physical server 110, together below the scale in threshold th2, that then, if the lower scale in threshold th2 When predicted (No), the scale-in determination unit 135 executes scale-in (step 710).

一方、ステップ706で、物理サーバ110の過去の負荷が、時刻802から、その後、一時的に下降し、その後上昇して、時刻803からスケールイン閾値th2以上となることが予測されるときには(Yes)、スケールイン判断部135は、現在時刻(時刻803)と同時刻となる時刻を、tとするとともに、時刻tから時刻tまでの一定時間808を負荷下降探索時間とし(ステップ707)、時刻tから一定時間808が経過する時刻tの間に、物理サーバ110の過去の負荷が、下降してスケールイン閾値th2を下回るか否かを調べる(ステップ708)。 On the other hand, when it is predicted in step 706 that the past load on the physical server 110 temporarily decreases from time 802 and then increases and then increases to the scale-in threshold th2 or more from time 803 (Yes ) scale in determining unit 135, a time at which the current time (time 803) and the same time, with the t 3, the predetermined time 808 from time t 3 to time t 4 and the load descends search time (step 707 ), during the time t 4 when a certain time 808 elapses from the time t 3, past load of the physical server 110 checks whether or not lower than the scale in threshold th2 is lowered (step 708).

ステップ708で、時刻tから一定時間808が経過する時刻tの間に、物理サーバ110の過去の負荷が、スケールイン閾値th2を下回ることがないと予測したときには(No)、スケールイン判断部135は、スケールインを実行することなく、このルーチンでの処理を終了する(ステップ711)。 In step 708, during the time t 4 when a predetermined time 808 from the time t 3 has elapsed, past load of the physical server 110, when it is predicted that there is no fall below Scale In threshold th2 (No), Scale In decision The unit 135 ends the processing in this routine without executing the scale-in (step 711).

ステップ708で、時刻tから一定時間808が経過する時刻tの間に、物理サーバ110の過去の負荷が、スケールイン閾値th2を下回ることがあると予測したときには(Yes)、スケールイン判断部135は、物理サーバ110の過去の負荷が、スケールイン閾値th2を下回った時刻tをt=tとし(ステップ709)、ステップ706の処理に戻る。 In step 708, during the time t 4 when a certain time 808 elapses from the time t 3, past load of the physical server 110, when it is predicted that there is a fall below Scale In threshold th2 (Yes), Scale In decision parts 135, past load of the physical server 110, the time t falls below the scale in threshold th2 as t = t 1 (step 709), the process returns to step 706.

次に、物理サーバ110の過去の負荷が、時刻804でスケールイン閾値th2を下回ったときには、スケールイン判断部135は、再び、類似負荷情報の選択を類似負荷情報選択部136に要求する。 Next, when the past load of the physical server 110 falls below the scale-in threshold th2 at time 804, the scale-in determination unit 135 requests the similar load information selection unit 136 to select similar load information again.

類似負荷情報選択部136は、スケールイン判断部135からの要求に応答して、負荷情報テーブル132を検索し、物理サーバ110の過去の負荷情報の中から、現在時刻(時刻804)の負荷情報に最も類似している負荷情報を、過去の類似負荷情報として選択する。 The similar load information selection unit 136 searches the load information table 132 in response to the request from the scale-in determination unit 135, and loads the load information at the current time (time 804) from the past load information of the physical server 110. Is selected as past similar load information.

過去の類似負荷情報が選択された後、スケールイン判断部135は、現在時刻における物理サーバ110の負荷が、スケールイン閾値th2を下回ったときには、その後、過去の類似負荷情報(グラフ801)に従って変化すると仮定し、過去の類似負荷情報に属する過去の日の時刻のうち、現在時刻(時刻804)と同時刻となる時刻tを、tとするとともに、時刻tから時刻tまでの一定時間809を負荷上昇探索時間とし(ステップ705)、時刻tから一定時間809が経過する時刻tの間に、物理サーバ110の過去の負荷が、上昇してスケールイン閾値th2以上となるか否かを調べる(ステップ706)。 After the past similar load information is selected, the scale-in determination unit 135 changes according to the past similar load information (graph 801) when the load of the physical server 110 at the current time falls below the scale-in threshold th2. then assuming, of times of day in the past that belong to past similar load information, certain time t comprising the current time (time 804) and the same time, with the t 1, from time t 1 to time t 2 time 809 and load increase search time (step 705), during the time t 1 to time t 2 to a predetermined time 809 has elapsed, or past load of the physical server 110, a scale-in threshold th2 or elevated Whether or not is checked (step 706).

物理サーバ110の過去の負荷が、時刻804から、その後、一時的に下降し、その後上昇して、時刻805からスケールイン閾値th2以上となった場合、スケールイン判断部135は、現在時刻(時刻805)と同時刻となる時刻を、tとするとともに、時刻tから時刻tまでの一定時間810を負荷下降探索時間とし(ステップ707)、時刻tから一定時間810が経過する時刻tの間に、物理サーバ110の過去の負荷が、下降してスケールイン閾値th2を下回るか否かを調べる(ステップ708)。 When the past load of the physical server 110 temporarily decreases from time 804, then increases, and then increases to the scale-in threshold th2 or more from time 805, the scale-in determination unit 135 determines the current time (time time the time 805) and the same time, with the t 3, the predetermined time 810 from time t 3 to time t 4 and the load descends search time (step 707), a fixed time 810 from the time t 3 has elapsed between t 4, past load of the physical server 110 checks whether or not lower than the scale in threshold th2 is lowered (step 708).

時刻tから一定時間808が経過する時刻tの間に、物理サーバ110の過去の負荷が、時刻806でスケールイン閾値th2を下回るときには、スケールイン判断部135は、時刻806を時刻tに設定し(ステップ709)、ステップ706の処理に戻る。 Between time t 3 of the time t 4 when a predetermined time 808 has elapsed, past load of the physical server 110, when below the scale in threshold th2 at time 806, the scale-in determining unit 135, the time 806 to the time t Set (step 709), the process returns to step 706.

ステップ706では、スケールイン判断部135は、時刻806を時刻tに設定し、時刻tから時刻tの間に、物理サーバ110の過去の負荷が、スケールイン閾値th2を下回るとともに、その後も、スケールイン閾値th2を下回ることが予測されるときに、即ち、物理サーバ110の過去の負荷が、その後も、時刻t(時刻804)時の負荷まで上昇しないことが予測されるときには、スケールインを実行する(ステップ710)。 In step 706, the scale-in determining unit 135 sets the time 806 to the time t, while the time t time t 2, the last load of the physical server 110, together below the scale in threshold th2, even then, When it is predicted that the value falls below the scale-in threshold th2, that is, when the past load of the physical server 110 is predicted not to increase to the load at the time t 1 (time 804), the scale-in Is executed (step 710).

この際、スケールイン判断部135は、時刻804をスケールイン開始時刻とし、時刻804でスケールインを実行する。   At this time, the scale-in determination unit 135 sets the time 804 as the scale-in start time, and executes the scale-in at the time 804.

即ち、スケールイン判断部135は、物理サーバ110の過去の負荷の下降は一時的なものではないと判断し、物理サーバ110上で動作する仮想サーバ115の数を減少させる制御として、スケールインを時刻804で実行する。 That is, the scale-in determination unit 135 determines that the decrease in the past load on the physical server 110 is not temporary, and performs scale-in as control for reducing the number of virtual servers 115 operating on the physical server 110. Run at time 804.

上述したように、スケールイン判断部135は、物理サーバ110の負荷が、スケールイン閾値th2を下回ったときに、その後も、スケールイン閾値th2を一定期間に亘って下回る傾向にあると予測したとき、または物理サーバ110の負荷が、その後、一時的にはスケールイン閾値th2以上となることがあっても、長期間ではスケールイン閾値th2を下回る傾向にあると予測したときには、物理サーバ110上で動作する仮想サーバ115の数を減少させる制御として、スケールインを実行し、物理サーバ110の負荷が、スケールイン閾値th2を下回ったときに、その後、一時的に減少した後、スケールイン閾値th2以上になると予測したときには、物理サーバ110上で動作する仮想サーバ115の数を減少させる制御の実行を抑止することになる。 As described above, when the scale-in determination unit 135 predicts that the load on the physical server 110 is below the scale-in threshold th2 and then tends to fall below the scale-in threshold th2 over a certain period of time. Even if the load on the physical server 110 may temporarily exceed the scale-in threshold th2 after that, if it is predicted that the load will fall below the scale-in threshold th2 over a long period of time, As a control to reduce the number of operating virtual servers 115, scale-in is executed, and when the load on the physical server 110 falls below the scale-in threshold th2, then temporarily decreases, then the scale-in threshold th2 or higher When it is predicted that the number of virtual servers 115 operating on the physical server 110 will be reduced, the execution of control that reduces the number of virtual servers 115 is suppressed.

この際、スケールイン判断部135は、物理サーバ110上に仮想サーバ115が存在しないときには、物理サーバ110の電源をオフに制御することで、消費電力を低減できる。   At this time, when the virtual server 115 does not exist on the physical server 110, the scale-in determination unit 135 can reduce power consumption by controlling the power of the physical server 110 to be off.

本実施例によれば、物理サーバ110の負荷が閾値から外れたときに、その後の、物理サーバ110の負荷の変化を過去の負荷変動の履歴を基に予測し、この予測結果に従って物理サーバ110に関する制御として、スケールアウトまたはスケールインを実行するようにしたため、スケールアウトまたはスケールインを効率良く高精度に実行することができる。 According to the present embodiment, when the load on the physical server 110 deviates from the threshold value, a subsequent change in the load on the physical server 110 is predicted based on the past load fluctuation history, and according to the prediction result, the physical server 110 Since the scale-out or the scale-in is executed as the control regarding the scale-out, the scale-out or the scale-in can be executed efficiently and with high accuracy.

また、本実施例によれば、現在発生している負荷変動が一時的なものであると判断した場合には、スケールインまたはスケールアウトを抑制するようにしたため、不要な構成変更を削減することができる。   Further, according to the present embodiment, when it is determined that the currently occurring load fluctuation is temporary, scale-in or scale-out is suppressed, so unnecessary configuration changes can be reduced. Can do.

本実施例においては、スケールアウト判断部134でスケールアウトを実行するか否かを判断するとき、またはスケールイン判断部135でスケールインを実行するか否かを判断するときに、物理サーバ110の負荷が、スケールアウト閾値th1を上回るか否かを判断したり、スケールイン閾値th2を下回るか否かを判断したりするものについて述べてが、スケールアウトまたはスケールインを実行するか否かを判断するための管理対象の負荷としては、物理サーバ110の負荷の代わりに、物理サーバ全体の負荷、または物理サーバ110上で動作する仮想サーバ115の負荷、あるいは物理サーバ110上で動作する仮想サーバ全体の負荷を用いることもできる。   In this embodiment, when the scale-out determination unit 134 determines whether to perform scale-out, or when the scale-in determination unit 135 determines whether to perform scale-in, the physical server 110 Describes whether the load exceeds the scale-out threshold th1 or whether the load falls below the scale-in threshold th2, but determines whether to perform scale-out or scale-in As a load to be managed, instead of the load of the physical server 110, the load of the entire physical server, the load of the virtual server 115 operating on the physical server 110, or the entire virtual server operating on the physical server 110 Can also be used.

本実施例において、管理対象の負荷の閾値として、スケールアウト閾値th1とスケールイン閾値th2を設定するに際して、両者の値を同じすることもでき、また、両者の値を異なる値にすることもできる。   In this embodiment, when setting the scale-out threshold value th1 and the scale-in threshold value th2 as the threshold values of the load to be managed, both values can be the same, or both values can be different values. .

101 ネットワーク
102 負荷分散装置
110 物理サーバ
111 CPU
112 ハードディスク
113 通信インタフェース
114 メモリ
115 仮想サーバ
116 負荷情報収集部
117 仮想化ソフトウェア
118 負荷情報収集部
120 サーバ管理装置
121 メモリ
122 CPU
123 通信インタフェース
124 ハードディスク
130 負荷情報収集部
131 構成情報収集部
132 負荷情報テーブル
133 構成情報テーブル
134 スケールアウト判断部
135 スケールイン判断部
136 類似負荷情報選択部
201 構成情報テーブル
202 物理サーバID
203 仮想サーバID
301 負荷情報テーブル
302 時刻
303 サーバID
304 CPU使用率
305 メモリ使用率
101 Network 102 Load Balancing Device 110 Physical Server 111 CPU
112 Hard disk 113 Communication interface 114 Memory 115 Virtual server 116 Load information collection unit 117 Virtualization software 118 Load information collection unit 120 Server management device 121 Memory 122 CPU
123 Communication interface 124 Hard disk 130 Load information collection unit 131 Configuration information collection unit 132 Load information table 133 Configuration information table 134 Scale-out determination unit 135 Scale-in determination unit 136 Similar load information selection unit 201 Configuration information table 202 Physical server ID
203 Virtual server ID
301 Load information table 302 Time 303 Server ID
304 CPU usage rate 305 Memory usage rate

Claims (13)

物理サーバの負荷と前記物理サーバ上で動作する1または2以上の仮想サーバの負荷をそれぞれ収集し、前記収集した各負荷を、前記各負荷を採取した時間に対応づけて、負荷情報として負荷情報テーブルに格納する負荷情報収集部と、
前記負荷情報収集部の収集による前記各負荷のうち管理対象の負荷の変化を時間軸に沿って監視して、前記管理対象の負荷が閾値から外れるか否かを判断する判断部と、
前記判断部で肯定の判断をしたときに、その時点の前記管理対象の負荷を現在時刻の負荷として、前記負荷情報テーブルを検索し、前記現在時刻より過去の負荷であって、前記現在時刻と同時刻に採取された負荷の中から、前記現在時刻の負荷に類似する負荷に関する負荷情報を前記負荷情報テーブルから選択する類似負荷情報選択部と、を備え、
前記判断部は、
前記類似負荷情報選択部により選択された負荷情報に従って前記管理対象の負荷が変化すると仮定して、前記管理対象の負荷が、その後も前記閾値から外れる傾向にあるか否かを予測し、前記予測結果に従って前記物理サーバに関する制御を実行してなる、サーバ管理装置。
Load information is collected as load information by collecting the load of the physical server and the load of one or more virtual servers operating on the physical server, and associating the collected loads with the time at which the loads were collected. Load information collection unit to be stored in the table;
A determination unit that monitors changes in the load of the management target among the loads collected by the load information collection unit along a time axis, and determines whether or not the load of the management target deviates from a threshold value;
When the determination unit makes an affirmative determination, the load information table is searched using the load to be managed at that time as the load at the current time, and the load is a load earlier than the current time, and the current time and A load information selection unit that selects, from the load information table, load information related to a load similar to the load at the current time from among the loads collected at the same time,
The determination unit
Assuming that the load of the management target changes according to the load information selected by the similar load information selection unit, predict whether or not the load of the management target will tend to deviate from the threshold, and A server management apparatus that executes control related to the physical server according to a result.
請求項1に記載のサーバ管理装置において、
前記判断部は、
前記管理対象の負荷が、スケールアウト閾値を上回るときに、前記管理対象の負荷が前記閾値から外れたとして、肯定の判断結果を前記類似負荷情報選択部に出力するとともに、前記管理対象の負荷が、その後も前記スケールアウト閾値を上回る傾向にあるか否かを予測し、前記予測で肯定の結果を得たときに、前記物理サーバ上で動作する前記仮想サーバの数を増大させる制御を実行してなる、サーバ管理装置。
The server management apparatus according to claim 1,
The determination unit
When the load to be managed exceeds a scale-out threshold, the load to be managed is out of the threshold, and an affirmative determination result is output to the similar load information selection unit, and the load to be managed is Then, it is predicted whether or not it tends to exceed the scale-out threshold, and when the result of the prediction is affirmative, control is performed to increase the number of the virtual servers operating on the physical server. A server management device.
請求項1に記載のサーバ管理装置において、
前記判断部は、
前記管理対象の負荷が、スケールイン閾値を下回るときに、前記管理対象の負荷が前記閾値から外れたとして、肯定の判断結果を前記類似負荷情報選択部に出力するとともに、前記管理対象の負荷が、その後も前記スケールイン閾値を下回る傾向にあるか否かを予測し、前記予測で肯定の結果を得たときに、前記物理サーバ上で動作する前記仮想サーバの数を減少させる制御を実行してなる、サーバ管理装置。
The server management apparatus according to claim 1,
The determination unit
When the load to be managed falls below the scale-in threshold, the load to be managed is out of the threshold, and an affirmative determination result is output to the similar load information selection unit, and the load to be managed is Then, it is predicted whether or not it tends to fall below the scale-in threshold, and when a positive result is obtained in the prediction, control is performed to reduce the number of the virtual servers operating on the physical server. A server management device.
請求項2に記載のサーバ管理装置において、
前記判断部は、
前記管理対象の負荷が、その後も前記スケールアウト閾値を一定期間に亘って上回る傾向にあると予測したときには、前記物理サーバ上で動作する前記仮想サーバの数を増大させる制御を実行し、
前記管理対象の負荷が、その後一時的に増加した後、前記スケールアウト閾値以下になると予測したときには、前記物理サーバ上で動作する前記仮想サーバの数を増大させる制御の実行を抑止してなる、サーバ管理装置。
The server management apparatus according to claim 2,
The determination unit
When it is predicted that the load to be managed will tend to exceed the scale-out threshold for a certain period thereafter, control for increasing the number of the virtual servers operating on the physical server is executed.
When the load to be managed is temporarily increased after that and is predicted to be equal to or less than the scale-out threshold, execution of control for increasing the number of the virtual servers operating on the physical server is suppressed. Server management device.
請求項3に記載のサーバ管理装置において、
前記判断部は、
前記管理対象の負荷が、その後も前記スケールイン閾値を一定期間に亘って下回る傾向にあると予測したとき、または前記管理対象の負荷が、その後一時的には前記スケールイン閾値以上となることがあっても、長期間では前記スケールイン閾値を下回る傾向にあると予測したときには、前記物理サーバ上で動作する前記仮想サーバの数を減少させる制御を実行し、
前記管理対象の負荷が、その後一時的に減少した後、前記スケールイン閾値以上になると予測したときには、前記物理サーバ上で動作する前記仮想サーバの数を減少させる制御の実行を抑止してなる、サーバ管理装置。
The server management apparatus according to claim 3,
The determination unit
When it is predicted that the load to be managed will tend to be lower than the scale-in threshold for a certain period thereafter, or the load to be managed may temporarily become greater than or equal to the scale-in threshold thereafter. Even if it is predicted that there is a tendency to fall below the scale-in threshold over a long period of time, control is performed to reduce the number of the virtual servers operating on the physical server,
When the load to be managed is predicted to be equal to or larger than the scale-in threshold after the temporary decrease after that, the execution of control for reducing the number of virtual servers operating on the physical server is suppressed. Server management device.
請求項5に記載のサーバ管理装置において、
前記判断部は、前記物理サーバ上に前記仮想サーバが存在しないときには、前記物理サーバの電源をオフに制御してなる、サーバ管理装置。
The server management apparatus according to claim 5,
The determination unit is a server management apparatus configured to control power-off of the physical server when the virtual server does not exist on the physical server.
物理サーバの負荷と前記物理サーバ上で動作する1または2以上の仮想サーバの負荷をそれぞれ収集し、前記収集した各負荷を、前記各負荷を採取した時間に対応づけて、負荷情報として負荷情報テーブルに格納する負荷情報収集部と、
前記負荷情報収集部の収集による前記各負荷のうち管理対象の負荷の変化を時間軸に沿って監視して、前記管理対象の負荷が閾値から外れるか否かを判断する判断部と、
前記判断部で肯定の判断をしたときに、その時点の前記管理対象の負荷を現在時刻の負荷として、前記負荷情報テーブルを検索し、前記現在時刻より過去の負荷であって、前記現在時刻と同時刻に採取された負荷の中から、前記現在時刻の負荷に類似する負荷に関する負荷情報を前記負荷情報テーブルから選択する類似負荷情報選択部と、を備えたサーバ管理方法であって、
前記判断部は、
前記類似負荷情報選択部により選択された負荷情報に従って前記管理対象の負荷が変化すると仮定して、前記管理対象の負荷が、その後も前記閾値から外れる傾向にあるか否かを予測するステップと、
前記ステップの予測結果に従って前記物理サーバに関する制御を実行するステップと、を備えてなる、サーバ管理方法。
Load information is collected as load information by collecting the load of the physical server and the load of one or more virtual servers operating on the physical server, and associating the collected loads with the time at which the loads were collected. Load information collection unit to be stored in the table;
A determination unit that monitors changes in the load of the management target among the loads collected by the load information collection unit along a time axis, and determines whether or not the load of the management target deviates from a threshold value;
When the determination unit makes an affirmative determination, the load information table is searched using the load to be managed at that time as the load at the current time, and the load is a load earlier than the current time, and the current time and A load management information selection unit that selects, from the load information table, load information related to a load similar to the load at the current time from among the loads collected at the same time, and a server management method comprising:
The determination unit
Assuming that the load of the management target changes according to the load information selected by the similar load information selection unit, predicting whether the load of the management target tends to deviate from the threshold after that,
Executing a control on the physical server according to the prediction result of the step.
請求項7に記載のサーバ管理方法において、
前記判断部は、
前記管理対象の負荷が、スケールアウト閾値を上回るときに、前記管理対象の負荷が前記閾値から外れたとして、肯定の判断結果を前記類似負荷情報選択部に出力するステップと、
前記管理対象の負荷が、その後も前記スケールアウト閾値を上回る傾向にあるか否かを予測するステップと、
前記ステップの予測で肯定の結果を得たときに、前記物理サーバ上で動作する前記仮想サーバの数を増大させる制御を実行するステップと、を備えてなる、サーバ管理方法。
The server management method according to claim 7,
The determination unit
Outputting a positive determination result to the similar load information selection unit, assuming that the load to be managed is out of the threshold when the load to be managed exceeds a scale-out threshold;
Predicting whether the load to be managed tends to exceed the scale-out threshold thereafter;
Executing a control to increase the number of the virtual servers operating on the physical server when a positive result is obtained in the prediction of the step.
請求項7に記載のサーバ管理方法において、
前記判断部は、
前記管理対象の負荷が、スケールイン閾値を下回るときに、前記管理対象の負荷が前記閾値から外れたとして、肯定の判断結果を前記類似負荷情報選択部に出力するステップと
前記管理対象の負荷が、その後も前記スケールイン閾値を下回る傾向にあるか否かを予測するステップと、
前記ステップの予測で肯定の結果を得たときに、前記物理サーバ上で動作する前記仮想サーバの数を減少させる制御を実行するステップと、を備えてなる、サーバ管理方法。
The server management method according to claim 7,
The determination unit
When the load to be managed falls below the scale-in threshold, the load to be managed is out of the threshold, and a step of outputting a positive determination result to the similar load information selection unit and the load to be managed are Predicting whether or not the scale-in threshold tends to be lower than the scale-in threshold afterwards;
Executing a control to reduce the number of the virtual servers operating on the physical server when a positive result is obtained in the prediction of the step.
請求項8に記載のサーバ管理方法において、
前記判断部は、
前記管理対象の負荷が、その後も前記スケールアウト閾値を一定期間に亘って上回る傾向にあると予測したときには、前記物理サーバ上で動作する前記仮想サーバの数を増大させる制御を実行するステップと、
前記管理対象の負荷が、その後一時的に増加した後、前記スケールアウト閾値以下になると予測したときには、前記物理サーバ上で動作する前記仮想サーバの数を増大させる制御の実行を抑止するステップと、を備えてなる、サーバ管理方法。
The server management method according to claim 8, wherein
The determination unit
Executing a control to increase the number of the virtual servers operating on the physical server when the load to be managed is predicted to tend to exceed the scale-out threshold for a certain period thereafter;
When the load to be managed is temporarily increased after that and is predicted to be equal to or less than the scale-out threshold, suppressing the execution of control for increasing the number of virtual servers operating on the physical server; A server management method comprising:
請求項9に記載のサーバ管理方法において、
前記判断部は、
前記管理対象の負荷が、その後も前記スケールイン閾値を一定期間に亘って下回る傾向にあると予測したとき、または前記管理対象の負荷が、その後一時的には前記スケールイン閾値以上となることがあっても、長期間では前記スケールイン閾値を下回る傾向にあると予測したときには、前記物理サーバ上で動作する前記仮想サーバの数を減少させる制御を実行するステップと、
前記管理対象の負荷が、その後一時的に減少した後、前記スケールイン閾値以上になると予測したときには、前記物理サーバ上で動作する前記仮想サーバの数を減少させる制御の実行を抑止するステップと、を備えてなる、サーバ管理方法。
The server management method according to claim 9, wherein
The determination unit
When it is predicted that the load to be managed will tend to be lower than the scale-in threshold for a certain period thereafter, or the load to be managed may temporarily become greater than or equal to the scale-in threshold thereafter. Even if it is predicted that there is a tendency to fall below the scale-in threshold over a long period of time, a step of executing control to reduce the number of the virtual servers operating on the physical server;
When the load to be managed is predicted to be equal to or larger than the scale-in threshold after the temporary decrease after that, suppressing the execution of control for reducing the number of virtual servers operating on the physical server; A server management method comprising:
請求項11に記載のサーバ管理方法において、
前記判断部は、
前記物理サーバ上に前記仮想サーバが存在しないときには、前記物理サーバの電源をオフに制御するステップを備えてなる、サーバ管理方法。
The server management method according to claim 11,
The determination unit
A server management method comprising a step of controlling the physical server to be turned off when the virtual server does not exist on the physical server.
請求項7〜13のうちいずれか1項に記載の各ステップを計算機に実行させるためのサーバ管理プログラム。   The server management program for making a computer perform each step of any one of Claims 7-13.
JP2009273559A 2009-12-01 2009-12-01 Server management apparatus, server management method, and server management program Pending JP2011118525A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009273559A JP2011118525A (en) 2009-12-01 2009-12-01 Server management apparatus, server management method, and server management program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009273559A JP2011118525A (en) 2009-12-01 2009-12-01 Server management apparatus, server management method, and server management program

Publications (1)

Publication Number Publication Date
JP2011118525A true JP2011118525A (en) 2011-06-16

Family

ID=44283800

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009273559A Pending JP2011118525A (en) 2009-12-01 2009-12-01 Server management apparatus, server management method, and server management program

Country Status (1)

Country Link
JP (1) JP2011118525A (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013024601A1 (en) 2011-08-15 2013-02-21 株式会社日立システムズ Virtual server control system and program
WO2013102975A1 (en) * 2012-01-06 2013-07-11 日本電気株式会社 Virtual machine management device and virtual machine management method
WO2014073024A1 (en) 2012-11-09 2014-05-15 Hitachi, Ltd. Management computer, computer system, and instance management method
JP2014164715A (en) * 2013-02-27 2014-09-08 Fujitsu Ltd Control device, resource control program, and resource control method
WO2014192132A1 (en) * 2013-05-31 2014-12-04 株式会社日立製作所 Load distribution device and method
JP2015011362A (en) * 2013-06-26 2015-01-19 富士通株式会社 Analysis support program, analysis support apparatus, and analysis support method
JP2015503781A (en) * 2011-12-22 2015-02-02 アルカテル−ルーセント Method and apparatus for energy efficient distributed elastic load balancing
JP2015087936A (en) * 2013-10-30 2015-05-07 富士ゼロックス株式会社 Information processing device, information processing system, and program
US9489429B2 (en) 2011-11-16 2016-11-08 Hitachi, Ltd. Computer system, data management method, and program
WO2017013872A1 (en) * 2015-07-21 2017-01-26 日本電気株式会社 Resource allocation system, resource allocation method, and computer-readable recording medium
JP2017211928A (en) * 2016-05-27 2017-11-30 本田技研工業株式会社 Distributed processing control system and distributed processing control method
JP2018041190A (en) * 2016-09-06 2018-03-15 富士ゼロックス株式会社 Information processing device, control method and program
JP2018106517A (en) * 2016-12-27 2018-07-05 富士通株式会社 Information processing device, fail-over time measurement method, and fail-over time measurement program
JP2019508795A (en) * 2016-03-04 2019-03-28 グーグル エルエルシー Resource allocation for computer processing
US10565009B2 (en) 2015-12-08 2020-02-18 Nec Corporation Planning system for planning disposition of virtual machine, planning method, and recording medium for storing planning program
JP7132386B1 (en) 2021-03-31 2022-09-06 株式会社日立製作所 Storage system and storage system load balancing method
JP2022173862A (en) * 2021-05-10 2022-11-22 株式会社日立製作所 CONTAINER MANAGEMENT SYSTEM AND CONTAINER MANAGEMENT METHOD

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013024601A1 (en) 2011-08-15 2013-02-21 株式会社日立システムズ Virtual server control system and program
US9489429B2 (en) 2011-11-16 2016-11-08 Hitachi, Ltd. Computer system, data management method, and program
JP2015503781A (en) * 2011-12-22 2015-02-02 アルカテル−ルーセント Method and apparatus for energy efficient distributed elastic load balancing
US9223630B2 (en) 2011-12-22 2015-12-29 Alcatel Lucent Method and apparatus for energy efficient distributed and elastic load balancing
WO2013102975A1 (en) * 2012-01-06 2013-07-11 日本電気株式会社 Virtual machine management device and virtual machine management method
WO2014073024A1 (en) 2012-11-09 2014-05-15 Hitachi, Ltd. Management computer, computer system, and instance management method
JP2014164715A (en) * 2013-02-27 2014-09-08 Fujitsu Ltd Control device, resource control program, and resource control method
US9384059B2 (en) 2013-05-31 2016-07-05 Hitachi, Ltd. Comparing resource costs between allocation plans in a load balance apparatus
WO2014192132A1 (en) * 2013-05-31 2014-12-04 株式会社日立製作所 Load distribution device and method
JP2015011362A (en) * 2013-06-26 2015-01-19 富士通株式会社 Analysis support program, analysis support apparatus, and analysis support method
JP2015087936A (en) * 2013-10-30 2015-05-07 富士ゼロックス株式会社 Information processing device, information processing system, and program
WO2017013872A1 (en) * 2015-07-21 2017-01-26 日本電気株式会社 Resource allocation system, resource allocation method, and computer-readable recording medium
US10565009B2 (en) 2015-12-08 2020-02-18 Nec Corporation Planning system for planning disposition of virtual machine, planning method, and recording medium for storing planning program
JP2019508795A (en) * 2016-03-04 2019-03-28 グーグル エルエルシー Resource allocation for computer processing
US10558501B2 (en) 2016-03-04 2020-02-11 Google Llc Resource allocation for computer processing
US12541403B2 (en) 2016-03-04 2026-02-03 Google Llc Resource allocation for computer processing
JP2017211928A (en) * 2016-05-27 2017-11-30 本田技研工業株式会社 Distributed processing control system and distributed processing control method
JP2018041190A (en) * 2016-09-06 2018-03-15 富士ゼロックス株式会社 Information processing device, control method and program
JP2018106517A (en) * 2016-12-27 2018-07-05 富士通株式会社 Information processing device, fail-over time measurement method, and fail-over time measurement program
JP7132386B1 (en) 2021-03-31 2022-09-06 株式会社日立製作所 Storage system and storage system load balancing method
JP2022157664A (en) * 2021-03-31 2022-10-14 株式会社日立製作所 Storage system and storage system load balancing method
JP2022173862A (en) * 2021-05-10 2022-11-22 株式会社日立製作所 CONTAINER MANAGEMENT SYSTEM AND CONTAINER MANAGEMENT METHOD

Similar Documents

Publication Publication Date Title
JP2011118525A (en) Server management apparatus, server management method, and server management program
JP5332065B2 (en) Cluster configuration management method, management apparatus, and program
EP2071458B1 (en) Power control method for virtual machine and virtual computer system
JP5544967B2 (en) Virtual machine management program and virtual machine management apparatus
US9405563B2 (en) Resource management method and apparatus for virtual machine system, and virtual machine system
JP5476485B2 (en) Service reservation management method, virtual computer system, and storage medium
JP4839328B2 (en) Server power consumption control apparatus, server power consumption control method, and computer program
JP6157869B2 (en) Long-term resource provisioning through cascade allocation
US7441135B1 (en) Adaptive dynamic buffering system for power management in server clusters
JP6248560B2 (en) Management program, management method, and management apparatus
JP6233413B2 (en) Task assignment determination device, control method, and program
JP2012094030A (en) Computer system and processing control method
JP2011186793A (en) Hypervisor, computer system, and virtual processor scheduling method
JP2015007942A (en) Program, virtual machine management method, and information processing apparatus
CN113672345A (en) IO prediction-based cloud virtualization engine distributed resource scheduling method
JP2016126562A (en) Information processing system, management apparatus, and control method of information processing system
CN104199739A (en) Speculation type Hadoop scheduling method based on load balancing
JP2020160775A (en) Container activation host selection device, container activation host selection system, container activation host selection method and program
WO2013171944A1 (en) Virtual machine management system, virtual machine management method, and program
CN116974698A (en) Virtual machine scheduling method, device, equipment and computer readable storage medium
JP5257709B2 (en) Virtual computer migration method, virtual computer system, and management server
JP5997659B2 (en) Distributed processing system and distributed processing method
JP2013127685A (en) Information processing system and operation management method
KR20150070930A (en) Resource allocation system and method for migration considering optimal cost
JP5056346B2 (en) Information processing apparatus, information processing system, virtual server movement processing control method, and program