JP2015153370A - Load distribution system, device and method - Google Patents

Load distribution system, device and method Download PDF

Info

Publication number
JP2015153370A
JP2015153370A JP2014029389A JP2014029389A JP2015153370A JP 2015153370 A JP2015153370 A JP 2015153370A JP 2014029389 A JP2014029389 A JP 2014029389A JP 2014029389 A JP2014029389 A JP 2014029389A JP 2015153370 A JP2015153370 A JP 2015153370A
Authority
JP
Japan
Prior art keywords
cloud
virtual machine
usage rate
company
cloud environment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2014029389A
Other languages
Japanese (ja)
Other versions
JP6097235B2 (en
Inventor
泰明 池田
Yasuaki Ikeda
泰明 池田
達彦 岩瀬
Tatsuhiko Iwase
達彦 岩瀬
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.)
Nippon Telegraph and Telephone Corp
Nippon Telegraph and Telephone West Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Nippon Telegraph and Telephone West Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp, Nippon Telegraph and Telephone West Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2014029389A priority Critical patent/JP6097235B2/en
Publication of JP2015153370A publication Critical patent/JP2015153370A/en
Application granted granted Critical
Publication of JP6097235B2 publication Critical patent/JP6097235B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

PROBLEM TO BE SOLVED: To distribute load on a private cloud and reduce use cost.SOLUTION: A load distribution system comprises: a first cloud; a second cloud in which cost occurs, the cost is higher than that when the first cloud is used according to use; and a load distribution device for controlling whether a virtual machine is operated by the first cloud or second cloud. The load distribution device comprises: use ratio acquisition means for acquiring a resource use ratio of the virtual machine which is operated by the first cloud, and a resource use ratio on the first cloud; and virtual machine management means for starting a new virtual machine by the second cloud, when the resource use ratio of the virtual machine exceeds a predetermined first threshold, and when the resource use ratio of the first cloud exceeds a predetermined second threshold, and starting a new virtual machine by the first cloud when the resource use ratio on the second cloud is equal to or less than the second threshold.

Description

本発明は、負荷分散システム、負荷分散装置及び負荷分散方法に関する。   The present invention relates to a load distribution system, a load distribution apparatus, and a load distribution method.

インターネットなどのネットワークを介してコンピュータ・リソースを利用するクラウドコンピューティング(以下、単にクラウド又はクラウド環境という。)が広く利用されている。クラウド上で安定したサービス提供を目的として、自社が管理しているクラウド環境(プライベートクラウド)におけるコンピュータ・リソースの不足を、他社が管理しているクラウド環境(パブリッククラウド)におけるコンピュータ・リソースで補う運用が行われている。このような運用形態は、ハイブリッドクラウドと呼ばれている。   Cloud computing using computer resources via a network such as the Internet (hereinafter simply referred to as cloud or cloud environment) is widely used. For the purpose of providing a stable service on the cloud, an operation to compensate for the shortage of computer resources in the cloud environment (private cloud) managed by the company with the computer resources in the cloud environment (public cloud) managed by another company Has been done. Such an operation form is called a hybrid cloud.

クラウド環境において提供しているサービスの品質などを維持するために、物理サーバにおける負荷、物理サーバ上で動作している仮想サーバ(又は仮想マシン)における負荷、処理遅延などを分散させることが一般的に行われている(例えば、特許文献1〜4)。   In order to maintain the quality of services provided in the cloud environment, it is common to distribute the load on the physical server, the load on the virtual server (or virtual machine) operating on the physical server, processing delay, etc. (For example, Patent Documents 1 to 4).

特許第4101251号公報Japanese Patent No. 4101251 特開2013−161283号公報JP 2013-161283 A 特開2011−237844号公報JP 2011-237844 A 特開2011−253371号公報JP 2011-253371 A

しかしながら、ハイブリッドクラウドにおいて他社が管理しているクラウド環境(以下、他社クラウド環境という。)を利用する場合には費用が発生するため、自社が管理しているクラウド環境においてコンピュータ・リソースが足りない場合にのみ他社クラウド環境を利用して、他社クラウド環境の利用時間を短くすることが求められる。特許文献1〜4に記載の技術などでは、負荷を分散させる対象の物理サーバ又は仮想サーバに均等又は一定の重み付けをして負荷の分散を図ることが行われているが、ハイブリッドクラウドにおいて発生する費用(コスト)を考慮した負荷分散は行われていない。   However, when using a cloud environment managed by another company (hereinafter referred to as another company's cloud environment) in a hybrid cloud, costs are incurred, and there are insufficient computer resources in the cloud environment managed by the company. It is required to use the other company's cloud environment only to shorten the usage time of the other company's cloud environment. In the techniques described in Patent Documents 1 to 4, the load is distributed evenly or uniformly by weighting the physical server or the virtual server to which the load is distributed. There is no load distribution taking cost into consideration.

上記事情に鑑み、本発明は、ハイブリッドクラウド環境において、プライベートクラウドと、利用に応じて利用コストが発生するパブリッククラウドとを利用する際に、プライベートクラウドにおける負荷を分散させつつ利用コストの削減を図ることができる負荷分散システム、負荷分散装置及び負荷分散方法を提供することを目的としている。   In view of the above circumstances, the present invention aims to reduce the use cost while distributing the load in the private cloud when using the private cloud and the public cloud in which the use cost is generated according to the use in the hybrid cloud environment. An object of the present invention is to provide a load distribution system, a load distribution apparatus, and a load distribution method.

本発明の一態様は、第第1のクラウドと、利用に応じて前記第1のクラウドを利用するより高い費用が発生する第2のクラウドと、仮想マシンを前記第1のクラウド及び前記第2のクラウドのいずれにて動作させるかを制御する負荷分散装置とを備える負荷分散システムであって、前記負荷分散装置は、前記第1のクラウドにおけるリソース利用率と前記第1のクラウドにおいて動作している仮想マシンのリソース利用率とを取得するリソース利用率取得手段と、仮想マシンのリソース利用率が予め定められた第1の閾値を超えている場合において、前記第1のクラウドにおけるリソース利用率が予め定められた第2の閾値を超えているとき、前記第2のクラウドにおいて新たな仮想マシンを起動させ、前記第2のクラウドにおけるリソース利用率が前記第2の閾値以下であるとき、前記第1のクラウドにおいて新たな仮想マシンを起動させる仮想マシン管理手段とを有することを特徴とする負荷分散システムである。   According to one aspect of the present invention, a first cloud, a second cloud that is more expensive to use the first cloud according to usage, a virtual machine that is the first cloud, and the second cloud A load distribution system that controls which of the cloud to operate, wherein the load distribution device operates in the first cloud and the resource usage rate in the first cloud Resource utilization rate acquisition means for acquiring the resource utilization rate of a virtual machine, and when the resource utilization rate of the virtual machine exceeds a predetermined first threshold, the resource utilization rate in the first cloud is When a predetermined second threshold value is exceeded, a new virtual machine is started in the second cloud, and the resource in the second cloud When use rate is equal to or less than the second threshold value, a load distribution system characterized by having a virtual machine management unit configured to start a new virtual machine in the first cloud.

また、本発明の一態様は、上記に記載の負荷分散システムにおいて、仮想マシンでユーザに提供するサービスには所定時間内の応答が要求される第1のサービスと、所定時間内の応答が要求されない第2のサービスとがあり、前記負荷分散装置は、前記第2のクラウドで動作する仮想マシンの応答遅延時間を取得する遅延時間取得手段を更に有し、前記仮想マシン管理手段は、前記遅延時間取得手段により得られた応答遅延時間が前記所定時間に応じて予め定められた遅延閾値を超えた場合に、前記第2のクラウドで動作している仮想マシンであって前記第1のサービスを提供している仮想マシンを前記第1のクラウドに移動させることを特徴とする。
また、本発明の一態様は、上記に記載の負荷分散システムにおいて、仮想マシン管理手段は、前記遅延時間取得手段により得られた応答遅延時間が前記遅延閾値を超えた場合に、前記第1のクラウドで動作している仮想マシンであって前記第2のサービスを提供している仮想マシンを前記第2のクラウドに移動させることを特徴とする。
また、本発明の一態様は、上記に記載の負荷分散システムにおいて、前記仮想マシン管理手段は、前記第1のクラウドの前記リソース利用率が前記第2の閾値以下であり、前記第2のクラウドで動作している仮想マシンを検出すると、当該仮想マシンを前記第1のクラウドに移動させることを特徴とする。
According to another aspect of the present invention, in the load balancing system described above, a service provided to a user by a virtual machine requires a first service that requires a response within a predetermined time and a response within a predetermined time. And the load distribution apparatus further includes a delay time acquisition unit that acquires a response delay time of a virtual machine operating in the second cloud, and the virtual machine management unit includes the delay service When the response delay time obtained by the time acquisition means exceeds a predetermined delay threshold according to the predetermined time, the virtual machine is operating in the second cloud and the first service is The provided virtual machine is moved to the first cloud.
According to another aspect of the present invention, in the load distribution system described above, when the response delay time obtained by the delay time acquisition unit exceeds the delay threshold, the virtual machine management unit A virtual machine that operates in a cloud and that provides the second service is moved to the second cloud.
One aspect of the present invention is the load distribution system according to the above, wherein the virtual machine management unit is configured such that the resource usage rate of the first cloud is equal to or less than the second threshold, and the second cloud When a virtual machine operating in is detected, the virtual machine is moved to the first cloud.

また、本発明の一態様は、第1のクラウドと、利用に応じて前記第1のクラウドを利用するより高い費用が発生する第2のクラウドと、仮想マシンを前記第1のクラウド及び前記第2のクラウドのいずれにて動作させるかを制御する負荷分散装置とを備える負荷分散システムにおける負荷分散装置であって、前記第1のクラウドにおけるリソース利用率と前記第1のクラウドにおいて動作している仮想マシンのリソース利用率とを取得するリソース利用率取得手段と、仮想マシンのリソース利用率が予め定められた第1の閾値を超えている場合において、前記第1のクラウドにおけるリソース利用率が予め定められた第2の閾値を超えているとき、前記第2のクラウドにおいて新たな仮想マシンを起動させ、前記第2のクラウドにおけるリソース利用率が前記第2の閾値以下であるとき、前記第1のクラウドにおいて新たな仮想マシンを起動させる仮想マシン管理手段とを有することを特徴とする負荷分散装置である。   Further, according to one embodiment of the present invention, a first cloud, a second cloud that is more expensive to use the first cloud according to usage, a virtual machine that includes the first cloud and the first cloud A load distribution apparatus in a load distribution system including a load distribution apparatus that controls which of the two clouds operates, and operates in the first cloud and the resource usage rate in the first cloud In the case where the resource utilization rate of the virtual machine exceeds the predetermined first threshold, the resource utilization rate in the first cloud is determined in advance. When the predetermined second threshold value is exceeded, a new virtual machine is started in the second cloud, and the resource in the second cloud is started. When scan utilization is below the second threshold value, a load balancer, characterized in that it comprises a virtual machine management unit configured to start a new virtual machine in the first cloud.

また、本発明の一態様は、第1のクラウドと、利用に応じて前記第1のクラウドを利用するより高い費用が発生する第2のクラウドと、仮想マシンを前記第1のクラウド及び前記第2のクラウドのいずれにて動作させるかを制御する負荷分散装置とを備える負荷分散システムにおける負荷分散方法であって、前記第1のクラウドにおけるリソース利用率と前記第1のクラウドにおいて動作している仮想マシンのリソース利用率とを取得するリソース利用率取得ステップと、仮想マシンのリソース利用率が予め定められた第1の閾値を超えている場合において、前記第1のクラウドにおけるリソース利用率が予め定められた第2の閾値を超えているとき、前記第2のクラウドにおいて新たな仮想マシンを起動させ、前記第2のクラウドにおけるリソース利用率が前記第2の閾値以下であるとき、前記第1のクラウドにおいて新たな仮想マシンを起動させる仮想マシン管理ステップとを有することを特徴とする負荷分散方法である。   Further, according to one embodiment of the present invention, a first cloud, a second cloud that is more expensive to use the first cloud according to usage, a virtual machine that includes the first cloud and the first cloud A load balancing method in a load balancing system including a load balancing device that controls which of the two clouds is operated, and operating in the first cloud and the resource usage rate in the first cloud In the resource utilization rate acquisition step for obtaining the resource utilization rate of the virtual machine, and when the resource utilization rate of the virtual machine exceeds a predetermined first threshold, the resource utilization rate in the first cloud is When a predetermined second threshold is exceeded, a new virtual machine is started in the second cloud, and the second cloud When the source utilization is below the second threshold value, a load distribution method characterized by having a virtual machine management step of activating a new virtual machine in the first cloud.

本発明によれば、第1のクラウドにおける仮想マシンの起動を第2のクラウドにおける仮想マシンの起動より優先させるので、第1のクラウド(プライベートクラウド)より高い費用が発生する第2のクラウド(パブリッククラウド)の利用を抑えて、プライベートクラウドにおける負荷を分散させつつ利用コストの削減を図ることが可能となる。   According to the present invention, the activation of the virtual machine in the first cloud is prioritized over the activation of the virtual machine in the second cloud, so that the second cloud (public cloud) that costs higher than the first cloud (private cloud) is generated. It is possible to reduce the usage cost while distributing the load in the private cloud by suppressing the use of the cloud.

本発明の実施形態における負荷分散システムの構成例を示すブロック図である。It is a block diagram which shows the structural example of the load distribution system in embodiment of this invention. 同実施形態における記憶部13が記憶する仮想マシン管理テーブルの一例を示す図である。It is a figure which shows an example of the virtual machine management table which the memory | storage part 13 in the same embodiment memorize | stores. 同実施形態における記憶部13が記憶するクラウド管理テーブルの一例を示す図である。It is a figure which shows an example of the cloud management table which the memory | storage part 13 in the same embodiment memorize | stores. 同実施形態における負荷分散装置1が行う負荷分散処理を示すフローチャートである。It is a flowchart which shows the load distribution process which the load distribution apparatus 1 in the embodiment performs. 同実施形態における負荷分散装置1が行う負荷分散処理の第1の振分処理を示すフローチャートである。It is a flowchart which shows the 1st distribution process of the load distribution process which the load distribution apparatus 1 in the embodiment performs. 同実施形態における負荷分散装置1が行う負荷分散処理の第2の振分処理を示すフローチャートである。It is a flowchart which shows the 2nd distribution process of the load distribution process which the load distribution apparatus 1 in the same embodiment performs. 同実施形態における負荷分散装置1が行う負荷分散処理の第3の振分処理を示すフローチャートである。It is a flowchart which shows the 3rd distribution process of the load distribution process which the load distribution apparatus 1 in the same embodiment performs. 同実施形態における分散処理システムの動作例を示すシーケンス図である。It is a sequence diagram which shows the operation example of the distributed processing system in the embodiment. 同実施形態における分散処理システムの別の動作例を示すシーケンス図である。It is a sequence diagram which shows another example of operation | movement of the distributed processing system in the embodiment. 同実施形態における分散処理システムの異なる動作例を示すシーケンス図である。It is a sequence diagram which shows the example of a different operation | movement of the distributed processing system in the embodiment.

以下、図面を参照して、本発明の実施形態における負荷分散システム、負荷分散装置及び負荷分散方法を説明する。図1は、本発明の実施形態における負荷分散システムの構成例を示すブロック図である。同図に示すように、負荷分散システムでは、自社クラウド環境(プライベートクラウド)と他社クラウド環境(パブリッククラウド)とがネットワーク6を介して通信可能に接続されている。また、複数のユーザ端末7がネットワーク5を介して自社クラウド環境と通信可能に接続されている。ユーザ端末7は、ネットワーク5を介して自社クラウド環境にて提供されるサービスと、自社クラウド環境を介して他社クラウド環境にて提供されるサービスとを受ける。本実施形態におけるサービスは、自社クラウド環境における仮想マシンや他社クラウド環境における仮想マシンによって行われるデータ処理などである。   Hereinafter, a load distribution system, a load distribution apparatus, and a load distribution method according to an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram illustrating a configuration example of a load distribution system according to an embodiment of the present invention. As shown in the figure, in the load balancing system, a company cloud environment (private cloud) and another company's cloud environment (public cloud) are communicably connected via a network 6. A plurality of user terminals 7 are connected via the network 5 so as to be communicable with the company cloud environment. The user terminal 7 receives a service provided in the company's cloud environment via the network 5 and a service provided in the other company's cloud environment via the company's cloud environment. The service in the present embodiment is data processing performed by a virtual machine in its own cloud environment or a virtual machine in another company's cloud environment.

自社クラウド環境は、サービスを利用するユーザや企業、又はクラウドインフラ提供事業者が自ら管理、運用するコンピュータ・リソースで構成されるクラウド環境である。自社クラウド環境は、負荷分散装置1、管理サーバ2、複数の処理サーバ3、及び、ルータ4を備えている。負荷分散装置1、管理サーバ2、複数の処理サーバ3、及び、ルータ4は、自社クラウド環境内におけるプライベートネットワークを介して互いに通信可能に接続されている。負荷分散装置1、管理サーバ2、及び、複数の処理サーバ3は、ルータ4を介してネットワーク6に接続されており、他社クラウド環境との通信を行うことができる。また、負荷分散装置1は、ネットワーク5を介して複数のユーザ端末7と通信可能に接続されている。ユーザ端末7は、負荷分散装置1を介して、自社クラウド環境及び他社クラウド環境にて提供されるサービスを受ける。   The in-house cloud environment is a cloud environment composed of computer resources that are managed and operated by a user or company that uses the service, or a cloud infrastructure provider. The in-house cloud environment includes a load balancer 1, a management server 2, a plurality of processing servers 3, and a router 4. The load balancer 1, the management server 2, the plurality of processing servers 3, and the router 4 are connected to be communicable with each other via a private network in the company cloud environment. The load balancer 1, the management server 2, and the plurality of processing servers 3 are connected to the network 6 via the router 4 and can communicate with the cloud environment of other companies. The load balancer 1 is connected to a plurality of user terminals 7 via a network 5 so as to be communicable. The user terminal 7 receives a service provided in its own cloud environment and another company's cloud environment via the load balancer 1.

処理サーバ3は、複数の仮想マシン(Virtual Machine:VM)を動作させることができる。処理サーバ3は、自装置で動作する仮想マシン上においてプログラム等を実行させることにより、ユーザ端末7を操作するユーザに対してサービスの提供を行う。負荷分散装置1は、自社クラウド環境における処理サーバ3における各仮想マシンの負荷や他社クラウド環境における仮想マシンの応答遅延に応じて、ユーザ端末7から受信するユーザ要求をいずれかの仮想マシンに割り当てる振分けを行う。管理サーバ2は自社クラウド環境と他社クラウド環境における仮想マシンの管理と制御とを行う。   The processing server 3 can operate a plurality of virtual machines (VMs). The processing server 3 provides a service to a user who operates the user terminal 7 by causing a program or the like to be executed on a virtual machine that operates on the apparatus itself. The load balancer 1 allocates a user request received from the user terminal 7 to any virtual machine according to the load of each virtual machine in the processing server 3 in the company cloud environment or the response delay of the virtual machine in the cloud environment of another company. I do. The management server 2 manages and controls virtual machines in its own cloud environment and other companies' cloud environments.

他社クラウド環境は、他の企業や他のクラウドインフラ提供事業者が管理、運営するコンピュータ・リソースで構成されるクラウド環境である。本実施形態では、他社クラウド環境における仮想マシンを利用すると、利用時間や利用したコンピュータ・リソースの量に応じて利用コストが発生することを前提としている。また、他社クラウド環境の利用コストは、自社クラウド環境の利用コストよりも高い利用コストとしている。また、他社クラウド環境の仮想マシンを利用したサービスの応答時間は、自社クラウド環境の仮想マシンを利用したサービスの応答時間よりも長い時間を要するものとしている。   The other company's cloud environment is a cloud environment composed of computer resources managed and operated by other companies or other cloud infrastructure providers. In the present embodiment, it is assumed that when a virtual machine in another company's cloud environment is used, a usage cost is generated according to the usage time and the amount of computer resources used. In addition, the usage cost of the other company's cloud environment is higher than the usage cost of its own cloud environment. The response time of a service using a virtual machine in another company's cloud environment requires a longer time than the response time of a service using a virtual machine in its own cloud environment.

他社クラウド環境は、ルータ81、及び、複数の処理サーバ82を備えている。ルータ81と複数の処理サーバ82とは他社クラウド環境内におけるプライベートネットワークを介して互いに通信可能に接続されている。処理サーバ82は、複数の仮想マシンを動作させることができる。処理サーバ82は、自装置で動作する仮想マシン上においてプログラム等を実行させることにより、ユーザに対してサービスの提供を行う。   The other company's cloud environment includes a router 81 and a plurality of processing servers 82. The router 81 and the plurality of processing servers 82 are connected to be communicable with each other via a private network in another company's cloud environment. The processing server 82 can operate a plurality of virtual machines. The processing server 82 provides a service to the user by causing a program or the like to be executed on a virtual machine that operates on the apparatus itself.

以下、自社クラウド環境における負荷分散装置1について説明する。負荷分散装置1は、仮想マシン登録部11、仮想マシン管理部12、記憶部13、遅延時間取得部14、及び、負荷分散部15を有している。仮想マシン登録部11は、自社クラウド環境と他社クラウド環境とを区別して、負荷分散の対象にする仮想マシンを登録する。仮想マシン管理部12は、自社クラウド環境における処理サーバ3のコンピュータ・リソースの使用状況(リソース利用率)を取得する。本実施形態では、コンピュータ・リソースとしてCPUとメモリとを対象にした説明を行うが、CPU及びメモリ以外をコンピュータ・リソースの対象にしてもよい。   Hereinafter, the load balancer 1 in the company cloud environment will be described. The load distribution apparatus 1 includes a virtual machine registration unit 11, a virtual machine management unit 12, a storage unit 13, a delay time acquisition unit 14, and a load distribution unit 15. The virtual machine registration unit 11 registers a virtual machine to be subjected to load balancing by distinguishing between the company's cloud environment and another company's cloud environment. The virtual machine management unit 12 acquires the use status (resource utilization rate) of the computer resource of the processing server 3 in the company cloud environment. In the present embodiment, the description is directed to the CPU and the memory as the computer resources, but other than the CPU and the memory may be the target of the computer resources.

記憶部13には、仮想マシン管理テーブルとクラウド管理テーブルとが記憶されている。仮想マシン管理テーブルは、自社クラウド環境及び他社クラウド環境において稼働している仮想マシンであって負荷分散装置1が負荷分散の対象にする仮想マシンに関する情報を記憶するテーブルである。クラウド管理テーブルは、負荷分散装置1が負荷分散の対象にする仮想マシンが稼働しているクラウド環境に関する情報を記憶するテーブルである。   The storage unit 13 stores a virtual machine management table and a cloud management table. The virtual machine management table is a table that stores information related to virtual machines that are operating in the company's cloud environment and the other company's cloud environment and that are subject to load distribution by the load balancer 1. The cloud management table is a table that stores information related to a cloud environment in which a virtual machine that is subject to load distribution by the load distribution apparatus 1 is operating.

図2は、本実施形態における記憶部13が記憶する仮想マシン管理テーブルの一例を示す図である。同図に示すように、仮想マシン管理テーブルは、物理マシン名、仮想マシン名、自社/他社フラグ、サービスクラス、システム名、CPU利用率、CPU利用率閾値、メモリ利用率、及び、メモリ利用率閾値の項目の列を有している。仮想マシン管理テーブルにおいて、各行は仮想マシンごとに存在する。仮想マシン管理テーブルの各行は、仮想マシンに対応する物理マシン名、仮想マシン名、自社/他社フラグ、サービスクラス、システム名、CPU利用率、CPU利用率閾値、メモリ利用率、及び、メモリ利用率閾値を示している。本実施形態では、CPU利用率とメモリ利用率とが仮想マシンにおける負荷を示す指標としてのリソース利用率として用いられる。   FIG. 2 is a diagram illustrating an example of a virtual machine management table stored in the storage unit 13 according to the present embodiment. As shown in the figure, the virtual machine management table includes a physical machine name, a virtual machine name, a company / other company flag, a service class, a system name, a CPU usage rate, a CPU usage rate threshold, a memory usage rate, and a memory usage rate. It has a column of threshold items. In the virtual machine management table, each row exists for each virtual machine. Each row of the virtual machine management table includes a physical machine name corresponding to the virtual machine, a virtual machine name, a company / other company flag, a service class, a system name, a CPU usage rate, a CPU usage threshold, a memory usage rate, and a memory usage rate. The threshold is shown. In the present embodiment, the CPU usage rate and the memory usage rate are used as resource usage rates as indices indicating the load on the virtual machine.

物理マシン名は、仮想マシンが配置されている処理サーバ3を識別する名称である。自社/他社フラグは、仮想マシンが自社クラウド環境と他社クラウド環境とのいずれに位置しているかを示す。本実施形態では、自社クラウド環境で仮想マシンが動作している場合には自社/他社フラグに「0」が割り当てられる。他社クラウド環境で仮想マシンが動作している場合には自社/他社フラグに「1」が割り当てられる。サービスクラスは、仮想マシンがユーザ(ユーザ端末7)に提供しているサービスに要求される条件を示す。本実施形態では、応答時間に応じて分類され、応答時間が所定値より小さいことがサービスの条件であることをサービスクラスに「A」が割り当てられる。応答時間に対する条件がないサービスのサービスクラスに「B」が割り当てられる。   The physical machine name is a name for identifying the processing server 3 in which the virtual machine is arranged. The in-house / other company flag indicates whether the virtual machine is located in the in-house cloud environment or the other company's cloud environment. In this embodiment, when a virtual machine is operating in the company cloud environment, “0” is assigned to the company / other company flag. When a virtual machine is operating in another company's cloud environment, “1” is assigned to the company / other company flag. The service class indicates a condition required for the service provided by the virtual machine to the user (user terminal 7). In this embodiment, “A” is assigned to a service class that is classified according to response time, and that the service condition is that the response time is smaller than a predetermined value. “B” is assigned to a service class of a service that does not have a condition for response time.

システム名は、仮想マシンが属するシステムを識別する識別子(名称)である。CPU利用率は、仮想マシンのCPU利用率である。メモリ利用率は、仮想マシンのメモリ利用率である。また、CPU利用率及びメモリ利用率は、各仮想マシンの所定時間における平均値である。CPU利用率閾値及びメモリ利用率閾値は、ユーザの要求を仮想マシンに振分ける際と仮想マシンの増設及び減設をする際とに用いられる基準値である。また、CPU利用率閾値及びメモリ利用率閾値には、予め定められた値が用いられる。   The system name is an identifier (name) that identifies the system to which the virtual machine belongs. The CPU usage rate is the CPU usage rate of the virtual machine. The memory usage rate is a memory usage rate of the virtual machine. Further, the CPU usage rate and the memory usage rate are average values of each virtual machine for a predetermined time. The CPU usage rate threshold value and the memory usage rate threshold value are reference values used when distributing user requests to virtual machines and when adding or removing virtual machines. Predetermined values are used for the CPU usage rate threshold and the memory usage rate threshold.

図2に示す例では、物理マシン名には自社クラウド環境における処理サーバ3を識別するhostA〜hostBが登録されている。仮想マシン名にはGuestA〜GuestEが登録されている。GuestA〜GuestCが自社クラウド環境において動作している仮想マシンであり、GuestD〜GuestEが他社クラウド環境において動作している仮想マシンである。GuestA〜GuestBに対するサービスクラスは応答時間に対して所定の条件が定められているクラスAである。GuestC〜GuestEに対するサービスクラスは、応答時間に対して条件が定められていない、又は他社クラウド環境においても満たすことができる緩い条件が定められている。   In the example shown in FIG. 2, host A to host B for identifying the processing server 3 in the company cloud environment are registered in the physical machine name. Guest A to Guest E are registered as virtual machine names. Guest A to Guest C are virtual machines operating in the company's cloud environment, and Guest D to Guest E are virtual machines operating in the other company's cloud environment. The service class for Guest A to Guest B is class A in which a predetermined condition is defined for the response time. In the service class for Guest C to Guest E, a condition is not defined for the response time, or a loose condition that can be satisfied even in a cloud environment of another company is defined.

また、GuestA、GuestBはsystemAとして管理されている。GuestC、GuestDはsystemBとして、GuestEはsystemCとして管理されている。GuestA〜GuestCそれぞれに対するCPU利用率は20%、20%、50%であり、メモリ利用率は30%、30%、60%となっている。なお、本実施形態では、他社クラウド環境において動作している仮想マシンが割り振られている処理サーバ82の物理マシン名、CPU利用率及びメモリ利用率を取得できないものとしている。   Guest A and Guest B are managed as system A. GuestC and GuestD are managed as systemB, and GuestE is managed as systemC. The CPU usage rates for Guest A to Guest C are 20%, 20%, and 50%, respectively, and the memory usage rates are 30%, 30%, and 60%. In the present embodiment, it is assumed that the physical machine name, CPU usage rate, and memory usage rate of the processing server 82 to which a virtual machine operating in a cloud environment of another company is allocated cannot be acquired.

図3は、本実施形態における記憶部13が記憶するクラウド管理テーブルの一例を示す図である。同図に示すように、クラウド管理テーブルは、クラウド名、自社/他社フラグ、CPU利用率測定値、CPU利用率閾値、メモリ利用率測定値、メモリ利用率閾値、遅延測定値、及び、遅延閾値の各項目の列を有している。クラウド管理テーブルにおいて、各行は、自社クラウド及び他社クラウドごとに存在する。クラウド管理テーブルの各行は、クラウド(クラウド環境)に対応するクラウド名、自社/他社フラグ、CPU利用率測定値、CPU利用率閾値、メモリ利用率測定値、メモリ利用率閾値、遅延測定値、及び、遅延閾値を示している。本実施形態では、CPU利用率測定値及びメモリ利用率測定値がクラウド環境における負荷を示す指標としてのリソース利用率として用いられる。   FIG. 3 is a diagram illustrating an example of a cloud management table stored in the storage unit 13 according to the present embodiment. As shown in the figure, the cloud management table includes a cloud name, a company / other company flag, a CPU usage rate measurement value, a CPU usage rate threshold value, a memory usage rate measurement value, a memory usage rate threshold value, a delay measurement value, and a delay threshold value. It has a column of each item. In the cloud management table, each row exists for each company cloud and another company cloud. Each row of the cloud management table includes a cloud name corresponding to the cloud (cloud environment), a company / other company flag, a CPU utilization measurement value, a CPU utilization threshold value, a memory utilization measurement value, a memory utilization threshold value, a delay measurement value, and , Shows the delay threshold. In this embodiment, the CPU utilization rate measurement value and the memory utilization rate measurement value are used as the resource utilization rate as an index indicating the load in the cloud environment.

クラウド名は、クラウド環境を識別する名称である。自社/他社フラグは、クラウド環境が自社クラウド環境と他社クラウド環境とのいずれであるかを示す。「0」が自社クラウド環境であることを示し、「1」が他社クラウド環境であることを示す。CPU利用率測定値は、クラウド環境における処理サーバ3(物理マシン)のCPU利用率である。メモリ利用率測定値は、クラウド環境における処理サーバ3(物理マシン)のメモリ利用率である。本実施形態においてCPU利用率測定値とメモリ利用率測定値とには、複数の処理サーバ3それぞれのCPU利用率の平均値とメモリ利用率の平均値とを用いる場合を説明するが、平均値以外の値、例えば総和や中央値などの他の統計値を用いるようにしてもよい。遅延測定値は、他社クラウド環境における仮想マシンの応答遅延時間である。   The cloud name is a name that identifies the cloud environment. The in-house / other company flag indicates whether the cloud environment is an in-house cloud environment or another company's cloud environment. “0” indicates that it is an in-house cloud environment, and “1” indicates that it is a cloud environment of another company. The CPU usage rate measurement value is the CPU usage rate of the processing server 3 (physical machine) in the cloud environment. The measured memory usage rate is a memory usage rate of the processing server 3 (physical machine) in the cloud environment. In the present embodiment, the case where the average value of the CPU usage rate and the average value of the memory usage rate of each of the plurality of processing servers 3 is used as the CPU usage rate measurement value and the memory usage rate measurement value will be described. Other statistical values such as sum and median may be used. The delay measurement value is a response delay time of the virtual machine in another company's cloud environment.

CPU利用率閾値、メモリ利用率閾値、及び、遅延閾値は、仮想マシンの増設、減設及び移動をする際に用いられる基準値である。また、クラウド管理テーブルにおけるCPU利用率閾値及びメモリ利用率閾値には所定の値が予め設定される。また、遅延閾値には、CPU利用率閾値及びメモリ利用率閾値と同様に、所定の値が予め設定される。遅延閾値は、サービスクラスが「A」のサービスを提供している仮想マシン(以下、クラスAの仮想マシンという。)に要求される応答時間に基づいて定められる閾値である。また、遅延閾値は、他社クラウド環境の仮想マシンの応答遅延時間が遅延閾値より大きい場合にサービス品質に低下が生じるか否かを判定できる閾値である。図3に示す例では、遅延閾値に150[msec]が設定されている。   The CPU usage rate threshold value, the memory usage rate threshold value, and the delay threshold value are reference values used when a virtual machine is added, removed, or moved. In addition, predetermined values are set in advance for the CPU utilization threshold and the memory utilization threshold in the cloud management table. Also, a predetermined value is set in advance as the delay threshold in the same manner as the CPU utilization threshold and the memory utilization threshold. The delay threshold value is a threshold value that is determined based on a response time required for a virtual machine that provides a service whose service class is “A” (hereinafter referred to as a class A virtual machine). The delay threshold value is a threshold value that can determine whether or not the service quality is deteriorated when the response delay time of the virtual machine in the other company's cloud environment is larger than the delay threshold value. In the example shown in FIG. 3, 150 [msec] is set as the delay threshold.

図1に戻り負荷分散装置1の説明を続ける。遅延時間取得部14は、他社クラウド環境における仮想マシンとの間における応答遅延時間を取得する。負荷分散部15は、ユーザ端末7からユーザの要求を受信した際に、自社クラウド環境と他社クラウド環境とにおいて動作している仮想マシンのいずれを用いてサービスを提供させるかを判定してユーザの要求を振分ける。負荷分散部15は、仮想マシン管理テーブル及びクラウド管理テーブルを参照し、自社クラウド環境におけるコンピュータ・リソースの使用状況と、他社クラウド環境の応答遅延時間とに基づいて、ユーザの要求の振分けを行う。管理サーバ2は、仮想マシンの増設及び減設や、自社クラウド環境と他社クラウド環境との間における仮想マシンの移動を行う。   Returning to FIG. 1, the description of the load balancer 1 will be continued. The delay time acquisition unit 14 acquires a response delay time with a virtual machine in another company's cloud environment. When the load distribution unit 15 receives a user request from the user terminal 7, the load distribution unit 15 determines which of the virtual machines operating in the company's cloud environment or the other company's cloud environment is to be used for providing the service. Distribute requests. The load distribution unit 15 refers to the virtual machine management table and the cloud management table, and distributes user requests based on the use state of computer resources in the company's cloud environment and the response delay time of the other company's cloud environment. The management server 2 adds and removes virtual machines and moves virtual machines between the company's cloud environment and another company's cloud environment.

図4から図7は、本実施形態における負荷分散装置1が行う負荷分散処理を示すフローチャートである。負荷分散装置1において、負荷分散処理が開始されると、仮想マシン登録部11は、負荷分散の対象にする仮想マシンに関する情報を記憶部13の仮想マシン管理テーブルに記憶させて登録するとともに、自社クラウド環境と負荷を分散させる際に用いる他社クラウド環境とに関する情報をクラウド管理テーブルに記憶させて登録する(ステップS11)。なお、仮想マシン登録部11が仮想マシン管理テーブル及びクラウド管理テーブルに情報を登録した直後においては、CPU利用率及びメモリ利用率には値がない状態である。また、仮想マシン登録部11が各テーブルに登録する情報は、ユーザや自社クラウド環境の管理者などにより予め定められた情報である。   4 to 7 are flowcharts illustrating the load distribution processing performed by the load distribution apparatus 1 according to the present embodiment. When the load balancing process is started in the load balancing apparatus 1, the virtual machine registration unit 11 stores and registers information related to the virtual machine to be load balanced in the virtual machine management table of the storage unit 13 and Information regarding the cloud environment and the cloud environment of another company used when distributing the load is stored and registered in the cloud management table (step S11). Note that immediately after the virtual machine registration unit 11 registers information in the virtual machine management table and the cloud management table, the CPU usage rate and the memory usage rate have no values. The information registered in each table by the virtual machine registration unit 11 is information predetermined by a user, an in-house cloud environment administrator, or the like.

仮想マシン管理テーブルに負荷分散の対象となる仮想マシンが登録されると、仮想マシン管理部12は、仮想マシン管理テーブルに登録されている仮想マシンの起動を要求する制御情報を管理サーバ2に送信する。管理サーバ2は、仮想マシン管理部12から受信した制御情報に応じて、自社クラウド環境における処理サーバ3上で仮想マシンを起動させる(ステップS12)。ここでは、他社クラウド環境を利用すると利用コストが発生するため、自社クラウド環境における処理サーバ3を優先的に用いることを前提としている。しかし、仮想マシン登録部11が仮想マシン管理テーブルに登録する仮想マシンに関する情報において、他社クラウド環境で動作させることが「自社/他社フラグ」で定められている場合には、管理サーバ2が他社クラウド環境における処理サーバ82で仮想マシンを起動させてもよい。   When a virtual machine to be load balanced is registered in the virtual machine management table, the virtual machine management unit 12 sends control information for requesting the activation of the virtual machine registered in the virtual machine management table to the management server 2 To do. The management server 2 activates the virtual machine on the processing server 3 in the company cloud environment according to the control information received from the virtual machine management unit 12 (step S12). Here, since the use cost occurs when using another company's cloud environment, it is assumed that the processing server 3 in the company's cloud environment is preferentially used. However, in the information related to the virtual machine registered in the virtual machine management table by the virtual machine registration unit 11, if the “own company / other company flag” specifies that the virtual machine registration unit 11 operates in the other company's cloud environment, The virtual machine may be activated by the processing server 82 in the environment.

管理サーバ2による仮想マシンの起動が完了すると、仮想マシン管理部12は、自社クラウド環境における各仮想マシンのCPU利用率及びメモリ利用率を取得し、取得したCPU利用率及びメモリ利用率を仮想マシン管理テーブルに記憶させて登録する。また、仮想マシン管理部12は、自社クラウド環境における各処理サーバ3のCPU利用率及びメモリ利用率を取得する。仮想マシン管理部12は、取得した各処理サーバ3のCPU利用率からCPU利用率測定値を算出し、取得した各処理サーバ3のメモリ利用率からメモリ利用率測定値を算出する。仮想マシン管理部12は、算出したCPU利用率測定値及びメモリ利用率測定値をクラウド管理テーブルに記憶させて登録する。また、遅延時間取得部14は、他社クラウド環境において動作している仮想マシンの応答遅延時間を測定し、測定した応答遅延時間を遅延測定値としてクラウド管理テーブルに記憶させて登録する(ステップS13)。なお、遅延時間取得部14による応答遅延の測定対象は、他社クラウド環境における一つの仮想マシンでもよいし、複数の仮想マシンでもよい。複数の仮想マシンを測定対象にした場合、遅延時間取得部14は測定結果の平均値などの統計値をクラウド管理テーブルに登録する。   When the activation of the virtual machine by the management server 2 is completed, the virtual machine management unit 12 acquires the CPU usage rate and the memory usage rate of each virtual machine in the company cloud environment, and uses the acquired CPU usage rate and the memory usage rate as the virtual machine. Store in the management table and register. Further, the virtual machine management unit 12 acquires the CPU usage rate and the memory usage rate of each processing server 3 in its own cloud environment. The virtual machine management unit 12 calculates a CPU usage rate measurement value from the acquired CPU usage rate of each processing server 3, and calculates a memory usage rate measurement value from the acquired memory usage rate of each processing server 3. The virtual machine management unit 12 stores and registers the calculated CPU usage rate measurement value and memory usage rate measurement value in the cloud management table. Further, the delay time acquisition unit 14 measures the response delay time of the virtual machine operating in the cloud environment of another company, and stores the measured response delay time as a delay measurement value in the cloud management table for registration (step S13). . Note that the response delay measurement target by the delay time acquisition unit 14 may be one virtual machine in another company's cloud environment or a plurality of virtual machines. When a plurality of virtual machines are set as measurement targets, the delay time acquisition unit 14 registers a statistical value such as an average value of measurement results in the cloud management table.

仮想マシン管理部12は、自社クラウド環境の管理者などからシステム停止の要求が入力されたか否かを判定し(ステップS14)、システム停止の要求が入力されている場合(ステップS14:YES)、負荷分散処理を終了させる。
システム停止の要求が入力されていない場合(ステップS14:NO)、仮想マシン管理部12は自社クラウド環境の各仮想マシンにおけるCPU利用率及びメモリ利用率を取得し、仮想マシン管理テーブルを更新する。また、仮想マシン管理部12は、自社クラウド環境の各処理サーバ3におけるCPU利用率及びメモリ利用率を取得し、クラウド管理テーブルを更新する。また、遅延時間取得部14は、他社クラウド環境における仮想マシンの応答遅延を測定し、クラウド管理テーブルを更新する(ステップS15)。ステップS15における仮想マシン管理部12及び遅延時間取得部14による処理は、ステップS13における処理と同様の処理である。
The virtual machine management unit 12 determines whether or not a system stop request has been input from an in-house cloud environment administrator or the like (step S14). If a system stop request has been input (step S14: YES), End the load balancing process.
When the request for stopping the system is not input (step S14: NO), the virtual machine management unit 12 acquires the CPU usage rate and the memory usage rate in each virtual machine in the company cloud environment, and updates the virtual machine management table. In addition, the virtual machine management unit 12 acquires the CPU usage rate and the memory usage rate in each processing server 3 in the company cloud environment, and updates the cloud management table. Further, the delay time acquisition unit 14 measures the response delay of the virtual machine in the other company's cloud environment, and updates the cloud management table (step S15). The processing by the virtual machine management unit 12 and the delay time acquisition unit 14 in step S15 is the same processing as the processing in step S13.

仮想マシン管理テーブル及びクラウド管理テーブルの更新が完了すると、仮想マシン管理部12は、仮想マシン管理テーブルを参照し、システムごとに自社クラウド環境の仮想マシンすべてのCPU利用率又はメモリ利用率のリソース値が対応する閾値を超えているか否かを判定する(ステップS16)。例えば、図2に示した仮想マシン管理テーブルにおいては、システム名「systemA」に属する自社クラウド環境の仮想マシン(GuestA及びGuestB)のCPU利用率がともにCPU利用率閾値を超えているか否か、自社クラウド環境の仮想マシン(GuestA及びGuestB)のメモリ利用率がともにメモリ利用率閾値を超えているか否かを判定する。なお、システムsystemBに属する仮想マシンのうち自社クラウド環境において動作している仮想マシンは仮想マシンGuestCのみであるので、仮想マシンGuestCが判定の対象になる。   When the update of the virtual machine management table and the cloud management table is completed, the virtual machine management unit 12 refers to the virtual machine management table, and for each system, the resource value of the CPU usage rate or the memory usage rate of all the virtual machines in its own cloud environment Is determined to exceed the corresponding threshold (step S16). For example, in the virtual machine management table shown in FIG. 2, whether the CPU utilization rate of the virtual machines (Guest A and Guest B) in the company cloud environment belonging to the system name “systemA” exceeds the CPU utilization threshold value. It is determined whether or not the memory usage rates of the virtual machines (Guest A and Guest B) in the cloud environment both exceed the memory usage rate threshold. Note that the virtual machine GuestC is the only virtual machine operating in the company cloud environment among the virtual machines belonging to the system systemB, and therefore the virtual machine GuestC is the target of determination.

ステップS16の判定においてリソース値が閾値を超えていない場合(ステップS16:NO)、仮想マシン管理部12は、処理をステップS14に戻す。一方、リソース値が閾値を超えている場合(ステップS16:YES)、仮想マシン管理部12は、クラウド管理テーブルを参照し、自社クラウド環境のCPU利用率測定値及びメモリ利用率測定値のリソース値のうち、対応する閾値を超えているリソース値があるか否かを判定する(ステップS17)。   If the resource value does not exceed the threshold value in the determination in step S16 (step S16: NO), the virtual machine management unit 12 returns the process to step S14. On the other hand, when the resource value exceeds the threshold value (step S16: YES), the virtual machine management unit 12 refers to the cloud management table, and the resource value of the CPU utilization rate measurement value and the memory utilization rate measurement value in its own cloud environment. In step S17, it is determined whether there is a resource value exceeding the corresponding threshold value.

ステップS17の判定において自社クラウド環境のリソース値に閾値を超えているリソース値がない場合(ステップS17:NO)、仮想マシン管理部12は、第1の振分処理を行う(ステップS18)。第1の振分処理は、自社クラウド環境のリソース利用率が低い状況において、自社クラウド環境に負荷の高いシステム(仮想マシン)が存在する場合に行われる処理である。   When there is no resource value that exceeds the threshold value in the resource value of the company cloud environment in the determination in step S17 (step S17: NO), the virtual machine management unit 12 performs the first distribution process (step S18). The first distribution process is a process performed when a system (virtual machine) having a high load exists in the company cloud environment in a situation where the resource utilization rate of the company cloud environment is low.

第1の振分処理(図5)を開始すると、仮想マシン管理部12は、自社クラウド環境に仮想マシンの増設を要求する情報を管理サーバ2に送信して、管理サーバ2によって処理サーバ3上に仮想マシンが起動される(ステップS181)。ステップS181において起動させる仮想マシンは、閾値を超えていたリソース値に対応する仮想マシンと同じシステムに属する仮想マシンである。   When the first distribution process (FIG. 5) is started, the virtual machine management unit 12 transmits information requesting the addition of a virtual machine to the own cloud environment to the management server 2, and the management server 2 performs processing on the processing server 3. The virtual machine is activated (step S181). The virtual machine that is activated in step S181 is a virtual machine that belongs to the same system as the virtual machine corresponding to the resource value that has exceeded the threshold value.

負荷分散部15は、ユーザの要求があるか否かを判定し(ステップS182)、ユーザの要求がない場合(ステップS182:NO)、第1の振分処理を終了させて、処理をステップS14(図4)に戻す。ユーザの要求がある場合(ステップS182:YES)、負荷分散部15は、仮想マシン管理テーブルを参照し、ユーザの要求を自社クラウド環境の仮想マシンに振分けて、自社クラウドの仮想マシンにサービスを提供させる(ステップS183)。このとき、負荷分散部15は、リソース利用率が最も低い仮想マシンや、リソース利用率が閾値を超えていない仮想マシンにユーザの要求を振分ける。負荷分散部15は、ユーザの要求を振分けると、第1の振分処理を終了させて処理をステップS14に戻す。   The load distribution unit 15 determines whether or not there is a user request (step S182). If there is no user request (step S182: NO), the first distribution process is terminated, and the process is performed in step S14. Return to FIG. When there is a user request (step S182: YES), the load distribution unit 15 refers to the virtual machine management table, distributes the user request to the virtual machine in the company cloud environment, and provides the service to the virtual machine in the company cloud. (Step S183). At this time, the load distribution unit 15 distributes the user request to the virtual machine with the lowest resource utilization rate or the virtual machine with the resource utilization rate not exceeding the threshold. When the load distribution unit 15 distributes the user request, the load distribution unit 15 ends the first distribution process and returns the process to step S14.

ステップS17の判定において自社クラウド環境のリソース値に閾値を超えているリソース値がある場合(ステップS17:YES)、仮想マシン管理部12は、クラウド管理テーブルを参照し、他社クラウド環境の遅延測定値が遅延閾値を超えているか否かを判定する(ステップS19)。   When there is a resource value that exceeds the threshold in the resource value of the company's cloud environment in the determination of step S17 (step S17: YES), the virtual machine management unit 12 refers to the cloud management table and measures the delay measurement value of the other company's cloud environment Whether or not exceeds the delay threshold (step S19).

ステップS19の判定において遅延測定値が遅延閾値を超えていない場合(ステップS19:NO)、仮想マシン管理部12は、第2の振分処理を行う(ステップS20)。第2の振分処理は、自社クラウド環境のリソース利用率が高、他社クラウド環境の応答遅延が小さい状態において、自社クラウド環境に負荷の高いシステム(仮想マシン)が存在する場合に行われる処理である。   When the delay measurement value does not exceed the delay threshold value in the determination in step S19 (step S19: NO), the virtual machine management unit 12 performs the second distribution process (step S20). The second distribution process is a process that is performed when a high load system (virtual machine) exists in the company cloud environment in a state where the resource utilization rate of the company cloud environment is high and the response delay of the other company cloud environment is small. is there.

第2の振分処理(図6)を開始すると、仮想マシン管理部12は、他社クラウド環境にクラスAの仮想の増設を要求する情報を管理サーバ2に送信して、管理サーバ2によって他社クラウド環境の処理サーバ82上に仮想マシンが起動される(ステップS201)。ステップS201において起動させる仮想マシンは、ステップS181と同様に、閾値を超えていたリソース値に対応する仮想マシンと同じシステムに属する仮想マシンである。   When the second distribution process (FIG. 6) is started, the virtual machine management unit 12 transmits information requesting the addition of a class A virtual to the other company's cloud environment to the management server 2, and the management server 2 uses the other company's cloud. A virtual machine is activated on the environment processing server 82 (step S201). The virtual machine to be activated in step S201 is a virtual machine that belongs to the same system as the virtual machine corresponding to the resource value that has exceeded the threshold value, as in step S181.

負荷分散部15は、ユーザの要求があるか否かを判定し(ステップS202)、ユーザの要求がない場合(ステップS202:NO)、第2の振分処理を終了させて、処理をステップS14(図4)に戻す。ユーザの要求がある場合(ステップS202:YES)、負荷分散部15は、仮想マシン管理テーブルを参照し、ユーザの要求するサービスクラスに対応する仮想マシンにユーザの要求を振分けて(ステップS203)、当該仮想マシンにサービスを提供させる。このとき、負荷分散部15は、仮想マシン管理テーブルを参照し、ユーザの要求するサービスクラス及びシステムに対応する仮想マシンのうち、リソース利用率が最も低い仮想マシンや、リソース利用率が閾値を超えていない仮想マシンにユーザの要求を振分ける。負荷分散部15は、ユーザの要求を振分けると、第2の振分処理を終了させて処理をステップS14に戻す。   The load distribution unit 15 determines whether or not there is a user request (step S202). If there is no user request (step S202: NO), the second distribution process is terminated, and the process is performed in step S14. Return to FIG. When there is a user request (step S202: YES), the load distribution unit 15 refers to the virtual machine management table and distributes the user request to the virtual machine corresponding to the service class requested by the user (step S203). The service is provided to the virtual machine. At this time, the load balancing unit 15 refers to the virtual machine management table, and among the virtual machines corresponding to the service class and system requested by the user, the virtual machine with the lowest resource utilization rate or the resource utilization rate exceeds the threshold value. Distribute user requests to non-virtual machines. When the load distribution unit 15 distributes the user request, the load distribution unit 15 ends the second distribution process and returns the process to step S14.

ステップS19の判定において遅延測定値が遅延閾値を超えている場合(ステップS19:YES)、仮想マシン管理部12は、第3の振分処理を行う(ステップS21)。第3の振分処理は、自社クラウド環境のリソース利用率が高く、他社クラウド環境の応答遅延が大きい状態において、自社クラウド環境に負荷の高いシステム(仮想マシン)が存在する場合に行われる処理である。   When the delay measurement value exceeds the delay threshold value in the determination in step S19 (step S19: YES), the virtual machine management unit 12 performs a third distribution process (step S21). The third sort process is a process that is performed when a high load system (virtual machine) exists in the company's cloud environment when the resource usage rate of the company's cloud environment is high and the response delay of the other company's cloud environment is large. is there.

第3の振分処理(図7)を開始すると、仮想マシン管理部12は、仮想マシンの再構成を行う(ステップS211)。ステップS211における仮想マシンの再構成は、他社クラウド環境において動作しているクラスAの仮想マシンを自社クラウド環境に移動させる処理である。クラスAの仮想マシンを自社クラウド環境に移動させるために、自社クラウド環境において動作しているクラスBの仮想マシンを他社クラウド環境に移してリソースを確保した後に、自社クラウド環境においてクラスAの仮想マシンを起動させる。   When the third distribution process (FIG. 7) is started, the virtual machine management unit 12 reconfigures the virtual machine (step S211). The reconfiguration of the virtual machine in step S211 is a process of moving the class A virtual machine operating in the cloud environment of another company to the company cloud environment. In order to move a Class A virtual machine to its own cloud environment, after moving the Class B virtual machine operating in its own cloud environment to another company's cloud environment and securing resources, the Class A virtual machine in its own cloud environment Start up.

具体的には、仮想マシン管理部12は、仮想マシン管理テーブルを参照して、他社クラウド環境において動作しているクラスAの仮想マシン数を検出する。仮想マシン管理部12は、検出した台数分の仮想マシンを自社クラウド環境において起動させるために必要となるリソース量を算出し、算出したリソース量を確保するために自社クラウド環境から他社クラウド環境に移すクラスBの仮想マシンの台数を算出する。仮想マシン管理部12は、算出したクラスBの仮想マシンの台数分の仮想マシンを他社クラウド環境において起動させることを要求する制御情報を管理サーバ2に送信する。   Specifically, the virtual machine management unit 12 refers to the virtual machine management table and detects the number of class A virtual machines operating in the cloud environment of another company. The virtual machine management unit 12 calculates the amount of resources required to start the detected number of virtual machines in the company's cloud environment, and moves from the company's cloud environment to another company's cloud environment in order to secure the calculated resource amount The number of class B virtual machines is calculated. The virtual machine management unit 12 transmits, to the management server 2, control information requesting that virtual machines corresponding to the calculated number of class B virtual machines be activated in the cloud environment of another company.

算出した台数分の仮想マシンが他社クラウド環境において起動すると、仮想マシン管理部12は、自社クラウド環境において動作しているクラスBの仮想マシンが提供するサービスを、他社クラウド環境において新たに起動させたクラスBの仮想マシンに移動させることを要求する制御情報を管理サーバ2に送信する。自社クラウド環境から他社クラウド環境へのクラスBのサービスの移動が完了すると、仮想マシン管理部12は、自社クラウド環境において動作している、算出した台数分のクラスBの仮想マシンの停止を要求する制御情報を管理サーバ2に送信する。   When the calculated number of virtual machines are started in another company's cloud environment, the virtual machine management unit 12 newly starts a service provided by the class B virtual machine operating in the company's cloud environment in the other company's cloud environment. Control information for requesting movement to a class B virtual machine is transmitted to the management server 2. When the movement of the class B service from the company cloud environment to the cloud environment of the other company is completed, the virtual machine management unit 12 requests the stop of the calculated number of class B virtual machines operating in the company cloud environment. Control information is transmitted to the management server 2.

自社クラウド環境においてクラスBの仮想マシンを停止させてクラスAの仮想マシンを起動させるために必要なリソースを確保できると、仮想マシン管理部12は、他社クラウド環境で動作しているクラスAの仮想マシンの台数と同じ台数の仮想マシンを自社クラウド環境において起動させることを要求する制御情報を管理サーバ2に送信する。   If the resources necessary to stop the Class B virtual machine and start the Class A virtual machine in the in-house cloud environment can be secured, the virtual machine management unit 12 can operate the Class A virtual machine operating in the other company's cloud environment. Control information requesting to start up the same number of virtual machines as the number of machines in the company's cloud environment is transmitted to the management server 2.

自社クラウド環境において新たなクラスAの仮想マシンが起動すると、仮想マシン管理部12は、他社クラウド環境において動作しているクラスAの仮想マシンが提供するサービスを、自社クラウド環境において新たに起動したクラスAの仮想マシンに移動させることを要求する制御情報を管理サーバ2に送信する。他社クラウド環境から自社クラウド環境へのクラスAのサービスの移動が完了すると、仮想マシン管理部12は、他社クラウド環境において動作しているクラスAの仮想マシンの停止を要求する制御情報を管理サーバ2に送信する。他社クラウド環境におけるクラスAの仮想マシンが停止すると仮想マシンの再構成は完了する。   When a new class A virtual machine is started in the company's cloud environment, the virtual machine management unit 12 starts the service provided by the class A virtual machine operating in the other company's cloud environment. Control information for requesting movement to the virtual machine of A is transmitted to the management server 2. When the movement of the class A service from the other company's cloud environment to the own cloud environment is completed, the virtual machine management unit 12 sends the control information for requesting the stop of the class A virtual machine operating in the other company's cloud environment to the management server 2. Send to. When a class A virtual machine in a cloud environment of another company stops, the reconfiguration of the virtual machine is completed.

以上の処理を仮想マシンの再構成として行うことにより、負荷分散装置1は、クラスAの仮想マシンを自社クラウド環境に集めて、応答遅延時間が増加した場合においても、サービスクラスがクラスAのユーザの要求に対するサービス品質を維持することができ、ユーザの利便性の低下を抑制することができる。   By performing the above processing as a reconfiguration of a virtual machine, the load balancer 1 collects class A virtual machines in its own cloud environment, and even if the response delay time increases, a user whose service class is class A The quality of service with respect to this request can be maintained, and a decrease in user convenience can be suppressed.

負荷分散部15は、仮想マシンの再構成が完了するとユーザの要求があるか否かを判定し(ステップS212)、ユーザの要求がない場合(ステップS212:NO)、第3の振分処理を終了させて、処理をステップS14(図4)に戻す。ユーザの要求がある場合(ステップS212:YES)、負荷分散部15は、ユーザの要求のサービスクラスがクラスAであれば自社クラウド環境の仮想マシンに振分け、ユーザの要求のサービスクラスがクラスBであれば他社クラウド環境の仮想マシンに振分けて、ユーザの要求するサービスを提供させる(ステップS213)。このとき、負荷分散部15は、仮想マシン管理テーブルを参照し、リソース利用率が低い仮想マシンや、リソース利用率が閾値を超えていない仮想マシンにユーザの要求を振分ける。負荷分散部15は、ユーザの要求を振分けると、第3の振分処理を終了させて処理をステップS14に戻す。   When the reconfiguration of the virtual machine is completed, the load distribution unit 15 determines whether there is a user request (step S212). If there is no user request (step S212: NO), the load distribution unit 15 performs the third distribution process. Then, the process is returned to step S14 (FIG. 4). When there is a user request (step S212: YES), the load distribution unit 15 distributes the virtual machine in the company cloud environment if the user request service class is class A, and the user request service class is class B. If there is, it is distributed to a virtual machine in another company's cloud environment to provide the service requested by the user (step S213). At this time, the load distribution unit 15 refers to the virtual machine management table and distributes the user request to a virtual machine with a low resource usage rate or a virtual machine with a resource usage rate not exceeding the threshold. When the load distribution unit 15 distributes the user request, the load distribution unit 15 ends the third distribution process and returns the process to step S14.

以上のように、負荷分散装置1は、自社クラウド環境におけるコンピュータ・リソースに対する負荷に応じて仮想マシンの増設や仮想マシンの再構成を行い、自社クラウド環境を優先的に利用することにより他社クラウド環境の利用を抑えて発生する利用コストを削減する。   As described above, the load balancer 1 increases the number of virtual machines or reconfigures virtual machines according to the load on the computer resources in the company's cloud environment, and uses the company's cloud environment preferentially to provide the cloud environment of other companies. To reduce the cost of use.

図8は、本実施形態における分散処理システムの動作例を示すシーケンス図である。図8には、自社クラウド環境におけるコンピュータ・リソースに対する負荷が高く閾値を超え、かつ他社クラウド環境における遅延測定値が遅延閾値を超えている場合(ピークトラフィック時)における動作例が示されている。負荷分散装置1が負荷分散処理を開始すると、仮想マシン登録部11が仮想マシン管理テーブルに仮想マシンを登録し(ステップS31)、仮想マシン管理部12が仮想マシンの起動を要求する制御情報を管理サーバ2に送信する(ステップS32)。管理サーバ2が自社クラウド環境の処理サーバ3において仮想マシンを起動させると(ステップS33)、仮想マシン管理部12が各仮想マシンのリソース利用率を取得し(ステップS34)、遅延時間取得部14が遅延測定値を取得し(ステップS35)、仮想マシン管理テーブル及びクラウド管理テーブルが更新される。   FIG. 8 is a sequence diagram illustrating an operation example of the distributed processing system according to the present embodiment. FIG. 8 shows an operation example when the load on the computer resources in the company cloud environment is high and exceeds the threshold, and the delay measurement value in the cloud environment of the other company exceeds the delay threshold (at peak traffic). When the load distribution apparatus 1 starts load distribution processing, the virtual machine registration unit 11 registers a virtual machine in the virtual machine management table (step S31), and the virtual machine management unit 12 manages control information for requesting activation of the virtual machine. It transmits to the server 2 (step S32). When the management server 2 activates a virtual machine in the processing server 3 in its own cloud environment (step S33), the virtual machine management unit 12 acquires the resource usage rate of each virtual machine (step S34), and the delay time acquisition unit 14 The delay measurement value is acquired (step S35), and the virtual machine management table and the cloud management table are updated.

仮想マシン管理部12は、自社クラウド環境におけるリソース値及び他社クラウド環境における遅延測定値に基づく判定により仮想マシンの再構成の要否の判定を行う(ステップS36)。図8に示している例では、ピークトラフィック時であるため、仮想マシン管理部12から管理サーバ2に対して仮想マシンの再構成を要求する制御情報が送信される(ステップS37)。制御情報を受信した管理サーバ2は、他社クラウド環境においてクラスBの仮想マシンを起動させた後に自社クラウド環境におけるクラスBの仮想マシンを停止させるとともに、自社クラウド環境においてクラスAの仮想マシンを起動させた後に他社クラウド環境におけるクラスAの仮想マシンを停止させて、仮想マシンの再構成を行う(ステップS38)。   The virtual machine management unit 12 determines whether or not it is necessary to reconfigure the virtual machine based on the determination based on the resource value in the company's cloud environment and the delay measurement value in the other company's cloud environment (step S36). In the example shown in FIG. 8, since it is during peak traffic, the virtual machine management unit 12 transmits control information for requesting reconfiguration of the virtual machine to the management server 2 (step S37). The management server 2 that has received the control information starts the class B virtual machine in the other company's cloud environment and then stops the class B virtual machine in the company's cloud environment and starts the class A virtual machine in the company's cloud environment. After that, the class A virtual machine in the other company's cloud environment is stopped and the virtual machine is reconfigured (step S38).

ユーザ端末7から負荷分散装置1にユーザ要求が入力されると(ステップS40)、負荷分散部15がユーザ要求のサービスクラスに応じて振分け先を判定し(ステップS41)、ユーザ要求のサービスクラスがクラスAの場合には自社クラウド環境の仮想マシンに振分け(ステップS42)、ユーザ要求のサービスクラスがクラスBの場合には他社クラウド環境の仮想マシンに振分ける(ステップS43)。   When a user request is input from the user terminal 7 to the load distribution apparatus 1 (step S40), the load distribution unit 15 determines a distribution destination according to the service class of the user request (step S41), and the service class of the user request is If it is class A, it is assigned to a virtual machine in its own cloud environment (step S42), and if the service class requested by the user is class B, it is assigned to a virtual machine in another company's cloud environment (step S43).

図9は、本実施形態における分散処理システムの別の動作例を示すシーケンス図である。図9には、自社クラウド環境におけるコンピュータ・リソースに対する負荷が低く閾値を超えていない場合(低トラフィック時)における動作例が示されている。なお、図9におけるステップS31からステップS36までの各処理は、図8に示した各処理と同じであるので説明を省略する。   FIG. 9 is a sequence diagram illustrating another operation example of the distributed processing system according to this embodiment. FIG. 9 shows an operation example when the load on the computer resource in the company cloud environment is low and does not exceed the threshold value (during low traffic). In addition, since each process from step S31 in FIG. 9 to step S36 is the same as each process shown in FIG. 8, description is abbreviate | omitted.

図9に示している例では、低トラフィック時であるため、ステップS36における仮想マシンの再構成の要否の判定において、再構成が不要と判定されるため、仮想マシンに対する操作は行われない。この後に、ユーザ端末7から負荷分散装置1にユーザ要求が入力されると(ステップS50)、負荷分散部15が仮想マシン管理テーブルを参照してユーザ要求の振分け先を判定し、自社クラウド環境の仮想マシンにユーザ要求を振分ける(ステップS52)。   In the example illustrated in FIG. 9, since there is a low traffic time, it is determined that reconfiguration is not necessary in the determination of whether or not the virtual machine needs to be reconfigured in step S <b> 36, and no operation is performed on the virtual machine. Thereafter, when a user request is input from the user terminal 7 to the load distribution apparatus 1 (step S50), the load distribution unit 15 refers to the virtual machine management table to determine the distribution destination of the user request, and The user request is distributed to the virtual machine (step S52).

以上のように、本実施形態における負荷分散装置1による負荷分散処理を行うことにより、自社クラウド環境における仮想マシンを優先的に利用することができ、他社クラウド環境の仮想マシンを利用することにより発生する利用コストを抑えることができる。また、負荷分散装置1は、自社クラウド環境におけるリソース利用率と他社クラウド環境の応答遅延とに基づいて、自社クラウド環境と他社クラウド環境とのいずれのクラウド環境を利用するかを選択しているので、仮想マシンで提供するサービス品質の低下を抑えつつ、利用コストの削減を図ることができる。具体的には、自社クラウド環境においてリソースが逼迫している場合には、応答時間に対する要求がない又は緩いクラスBの仮想マシンを他社クラウド環境に移動させ、クラスAの仮想マシンを自社クラウド環境にて起動させる。これにより、クラスAの仮想マシンで提供するサービス品質を低下させずに、他社クラウド環境の利用を削減することができる。   As described above, by performing load balancing processing by the load balancing apparatus 1 in the present embodiment, virtual machines in the company's cloud environment can be preferentially used, and generated by using virtual machines in other companies' cloud environments. Use costs can be reduced. In addition, the load balancer 1 selects which cloud environment to use, either the company's cloud environment or the other company's cloud environment, based on the resource usage rate in the company's cloud environment and the response delay of the other company's cloud environment. Therefore, it is possible to reduce the use cost while suppressing the deterioration of the service quality provided by the virtual machine. Specifically, if resources are tight in your own cloud environment, move class B virtual machines that do not require response time or are loose to another company's cloud environment, and move class A virtual machines to your own cloud environment. To start. As a result, the use of the cloud environment of other companies can be reduced without degrading the service quality provided by the class A virtual machine.

また、本実施形態における負荷分散装置1を用いることにより、サービス利用ユーザや企業ユーザは、自社クラウド環境の処理サーバ3を優先的に使用するので、他社クラウド環境の利用コストを削減することができる。また、他社クラウド環境の応答遅延が増加した場合でも、サービス品質を維持することができ、ユーザの利便性を向上させることができる。また、負荷分散装置1を用いることにより、クラウドインフラ提供事業者は、ユーザにプライベートクラウドを提供する場合に、他社クラウド環境のコンピュータ・リソースを必要に応じて活用することができるので、設備コストの低減を図ることができる。また、ネットワーク6における通信速度が低下して、他社クラウド環境の応答遅延が増加した場合でも、安定したサービス品質を保証することができ、SLA等の品質保証型のサービスも可能となる。   In addition, by using the load distribution apparatus 1 in the present embodiment, the service use user and the enterprise user preferentially use the processing server 3 in their own cloud environment, so that the use cost of the other company's cloud environment can be reduced. . Moreover, even when the response delay in the cloud environment of other companies increases, the service quality can be maintained and the convenience of the user can be improved. In addition, by using the load balancer 1, when providing a private cloud to a user, a cloud infrastructure provider can utilize the computer resources of another company's cloud environment as necessary. Reduction can be achieved. Further, even when the communication speed in the network 6 decreases and the response delay in the cloud environment of other companies increases, stable service quality can be guaranteed, and quality assurance type services such as SLA are also possible.

なお、負荷分散装置1は、他社クラウド環境において動作させている仮想マシンが存在している場合に、自社クラウド環境のコンピュータ・リソースに余裕があれば、他社クラウド環境の仮想マシンを自社クラウド環境に移動させてもよい。ここで、自社クラウド環境のコンピュータ・リソースに余裕がある状態とは、自社クラウド環境における各リソース値(CPU利用率測定値及びメモリ利用率測定値)すべてが対応する閾値以下になっている状態である。図10は、本実施形態における分散処理システムの異なる動作例を示すシーケンス図である。   Note that the load balancer 1 has a virtual machine that operates in another company's cloud environment, and if there are enough computer resources in the company's cloud environment, the virtual machine in the other company's cloud environment can be converted into the company's cloud environment. It may be moved. Here, there is a margin in computer resources in the company's cloud environment when all resource values (CPU utilization rate measurement values and memory utilization rate measurement values) in the company cloud environment are below the corresponding threshold values. is there. FIG. 10 is a sequence diagram illustrating a different operation example of the distributed processing system according to this embodiment.

図10において、負荷分散装置1の仮想マシン管理部12が自社クラウド環境の各仮想マシンのリソース利用率を取得し(ステップS61)、仮想マシン管理テーブルが更新される。仮想マシン管理部12は、クラウド管理テーブルを参照して、仮想マシンの再構成の要否判定を行う(ステップS62)。具体的には、自社クラウド環境のCPU利用率測定値がCPU利用率閾値以下であり、かつメモリ利用率測定値がメモリ利用率閾値以下であるか否かを判定し、測定値がともに閾値以下である場合に他社クラウド環境において仮想マシンが動作しているときに、自社クラウド環境に仮想マシンを移動させる仮想マシンの再構成を行う。   In FIG. 10, the virtual machine management unit 12 of the load balancer 1 acquires the resource usage rate of each virtual machine in the company cloud environment (step S61), and the virtual machine management table is updated. The virtual machine management unit 12 refers to the cloud management table and determines whether the virtual machine needs to be reconfigured (step S62). Specifically, it is determined whether the CPU usage rate measurement value of the company's cloud environment is less than or equal to the CPU usage rate threshold value, and the memory usage rate measurement value is less than or equal to the memory usage rate threshold value. If a virtual machine is operating in another company's cloud environment, reconfigure the virtual machine to move the virtual machine to the company's cloud environment.

仮想マシン管理部12は、自社クラウド環境のリソース値すべてが閾値以下であることを検出すると、仮想マシン管理テーブルを参照して他社クラウド環境において動作している仮想マシンを検出する。仮想マシン管理部12は、仮想マシンの再構成を要求する制御情報を管理サーバ2に送信する(ステップS63)。このとき、仮想マシン管理部12から管理サーバ2に送信される制御情報には、自社クラウド環境において新たな仮想マシンを起動させ、他社クラウド環境において動作している仮想マシンが提供しているサービスを起動した仮想マシンに移動させ、他社クラウド環境において動作している仮想マシンを停止させる要求が含まれている。   When the virtual machine management unit 12 detects that all the resource values of the company cloud environment are equal to or less than the threshold value, the virtual machine management unit 12 refers to the virtual machine management table and detects a virtual machine operating in the cloud environment of another company. The virtual machine management unit 12 transmits control information requesting reconfiguration of the virtual machine to the management server 2 (step S63). At this time, the control information transmitted from the virtual machine management unit 12 to the management server 2 includes a service provided by the virtual machine operating in the other company's cloud environment by starting a new virtual machine in the company's cloud environment. It includes a request to move to a started virtual machine and stop a virtual machine running in another company's cloud environment.

管理サーバ2は、仮想マシン管理部12から受信した制御情報に基づいて、自社クラウド環境において新たに仮想マシンを起動させる(ステップS64)。管理サーバ2は、他社クラウド環境において動作している仮想マシンが提供しているサービスが、自社クラウド環境において新たに起動した仮想マシンに移動させると、他社クラウド環境の仮想マシンを停止させる(ステップS65)。   Based on the control information received from the virtual machine management unit 12, the management server 2 starts a new virtual machine in the company cloud environment (step S64). When the service provided by the virtual machine operating in the other company's cloud environment is moved to the newly started virtual machine in the own company's cloud environment, the management server 2 stops the virtual machine in the other company's cloud environment (step S65). ).

なお、他社クラウド環境から自社クラウド環境に移動させる仮想マシンの台数は、自社クラウド環境におけるリソース利用率に応じて定めてもよいし、一台としてもよい。また、複数の仮想マシンが他社クラウド環境において動作している場合には、クラスAの仮想マシンを優先的に自社クラウド環境に移動させるようにしてもよい。   The number of virtual machines to be moved from the other company's cloud environment to the company's cloud environment may be determined according to the resource usage rate in the company's cloud environment, or may be one. Further, when a plurality of virtual machines are operating in a cloud environment of another company, a class A virtual machine may be preferentially moved to the company cloud environment.

図10において示したように、負荷分散装置1が自社クラウド環境のコンピュータ・リソースに余裕がある場合に、他社クラウド環境において動作している仮想マシンを自社クラウド環境に移動させることにより、他社クラウド環境の利用で発生する利用コストを更に削減することができる。なお、他社クラウド環境において動作している仮想マシンを自社クラウド環境に移動させるか否かの判定において、CPU利用率閾値とメモリ利用率閾値とそれぞれよりも低い値の閾値を用いるようにしてもよい。これにより、自社クラウド環境と他社クラウド環境との間で仮想マシンの頻繁な移動を防ぐことができ、安定したサービスの提供を行うことができる。   As shown in FIG. 10, when the load balancer 1 has sufficient computer resources in its own cloud environment, by moving a virtual machine operating in the other company's cloud environment to the own company's cloud environment, It is possible to further reduce the usage cost generated by the use of. In determining whether to move a virtual machine operating in another company's cloud environment to the company's own cloud environment, a threshold value lower than the CPU utilization threshold value and the memory utilization threshold value may be used. . As a result, frequent movement of virtual machines between the company's cloud environment and the cloud environment of other companies can be prevented, and a stable service can be provided.

なお、上述した実施形態では、他社クラウド環境が一つの場合について説明したが、ネットワーク6を介して接続された複数の他社クラウド環境があってもよい。この場合には、クラウド管理テーブルにおける行が他社クラウド環境ごとに存在することになる。複数の他社クラウド環境から仮想マシンを起動させる他社クラウド環境の選択には、例えば遅延測定値が短いものから優先的に選択するようにする。
また、上述した実施形態では、負荷分散装置1と管理サーバ2とが独立した個別の装置である場合について説明したが、一つの装置として構成されていてもよい。
In the above-described embodiment, the case where there is one other company's cloud environment has been described. However, there may be a plurality of other company's cloud environments connected via the network 6. In this case, a row in the cloud management table exists for each cloud environment of another company. In selecting a third-party cloud environment in which a virtual machine is activated from a plurality of third-party cloud environments, for example, the one having a short delay measurement value is selected preferentially.
In the above-described embodiment, the case where the load distribution device 1 and the management server 2 are independent individual devices has been described. However, the load distribution device 1 and the management server 2 may be configured as one device.

また、図4において示した負荷分散処理において、ステップS16から処理をステップS14に戻す際に、負荷分散部15はユーザの要求の有無を判定し、ユーザの要求がある場合に当該ユーザの要求を自社クラウド環境の仮想マシンに振分けるようにしてもよい。   In the load distribution process shown in FIG. 4, when the process returns from step S16 to step S14, the load distribution unit 15 determines whether or not there is a user request, and if there is a user request, the user request is issued. You may make it distribute to the virtual machine of an in-house cloud environment.

上述した実施形態における負荷分散装置1をコンピュータで実現するようにしてもよい。その場合、この機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することによって実現してもよい。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものとする。また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。更に「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムを送信する場合の通信線のように、短時間の間、動的にプログラムを保持するもの、その場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリのように、一定時間プログラムを保持しているものも含んでもよい。また上記プログラムは、前述した機能の一部を実現するためのものであってもよく、更に前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるものであってもよく、PLD(Programmable Logic Device)やFPGA(Field Programmable Gate Array)等のハードウェアを用いて実現されるものであってもよい。   You may make it implement | achieve the load distribution apparatus 1 in embodiment mentioned above with a computer. In that case, a program for realizing this function may be recorded on a computer-readable recording medium, and the program recorded on this recording medium may be read into a computer system and executed. Here, the “computer system” includes an OS and hardware such as peripheral devices. The “computer-readable recording medium” refers to a storage device such as a flexible medium, a magneto-optical disk, a portable medium such as a ROM and a CD-ROM, and a hard disk incorporated in a computer system. Further, the “computer-readable recording medium” is a program that dynamically holds a program for a short time, like a communication line when a program is transmitted via a network such as the Internet or a communication line such as a telephone line. In this case, a volatile memory inside a computer system serving as a server or a client in that case may be included and a program held for a certain period of time. Further, the program may be for realizing a part of the functions described above, and may be a program capable of realizing the functions described above in combination with a program already recorded in the computer system. It may be realized using hardware such as PLD (Programmable Logic Device) or FPGA (Field Programmable Gate Array).

以上、この発明の実施形態について図面を参照して詳述してきたが、具体的な構成はこの実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の設計等も含まれる。   The embodiment of the present invention has been described in detail with reference to the drawings. However, the specific configuration is not limited to this embodiment, and includes designs and the like that do not depart from the gist of the present invention.

1…負荷分散装置,11…仮想マシン登録部,12…仮想マシン管理部,13…記憶部,14…遅延時間取得部,15…負荷分散部,2…管理サーバ,3…処理サーバ,4…ルータ,5、6…ネットワーク,7…ユーザ端末,81…ルータ,82…処理サーバ   DESCRIPTION OF SYMBOLS 1 ... Load distribution apparatus, 11 ... Virtual machine registration part, 12 ... Virtual machine management part, 13 ... Memory | storage part, 14 ... Delay time acquisition part, 15 ... Load distribution part, 2 ... Management server, 3 ... Processing server, 4 ... Router, 5, 6 ... Network, 7 ... User terminal, 81 ... Router, 82 ... Processing server

Claims (6)

第1のクラウドと、利用に応じて前記第1のクラウドを利用するより高い費用が発生する第2のクラウドと、仮想マシンを前記第1のクラウド及び前記第2のクラウドのいずれにて動作させるかを制御する負荷分散装置とを備える負荷分散システムであって、
前記負荷分散装置は、
前記第1のクラウドにおけるリソース利用率と前記第1のクラウドにおいて動作している仮想マシンのリソース利用率とを取得するリソース利用率取得手段と、
仮想マシンのリソース利用率が予め定められた第1の閾値を超えている場合において、前記第1のクラウドにおけるリソース利用率が予め定められた第2の閾値を超えているとき、前記第2のクラウドにおいて新たな仮想マシンを起動させ、前記第2のクラウドにおけるリソース利用率が前記第2の閾値以下であるとき、前記第1のクラウドにおいて新たな仮想マシンを起動させる仮想マシン管理手段と
を有する
ことを特徴とする負荷分散システム。
The first cloud, the second cloud that generates higher costs depending on the usage, and the virtual machine is operated in either the first cloud or the second cloud. A load balancing system comprising a load balancing device for controlling
The load balancer is:
Resource usage rate acquisition means for acquiring a resource usage rate in the first cloud and a resource usage rate of a virtual machine operating in the first cloud;
When the resource usage rate of the virtual machine exceeds a predetermined first threshold, when the resource usage rate in the first cloud exceeds a predetermined second threshold, the second Virtual machine management means for starting a new virtual machine in the cloud and starting a new virtual machine in the first cloud when the resource usage rate in the second cloud is less than or equal to the second threshold A load balancing system characterized by that.
請求項1に記載の負荷分散システムにおいて、
仮想マシンでユーザに提供するサービスには所定時間内の応答が要求される第1のサービスと、所定時間内の応答が要求されない第2のサービスとがあり、
前記負荷分散装置は、
前記第2のクラウドで動作する仮想マシンの応答遅延時間を取得する遅延時間取得手段を更に有し、
前記仮想マシン管理手段は、
前記遅延時間取得手段により得られた応答遅延時間が前記所定時間に応じて予め定められた遅延閾値を超えた場合に、前記第2のクラウドで動作している仮想マシンであって前記第1のサービスを提供している仮想マシンを前記第1のクラウドに移動させる
ことを特徴とする負荷分散システム。
The load distribution system according to claim 1,
The service provided to the user in the virtual machine includes a first service that requires a response within a predetermined time, and a second service that does not require a response within a predetermined time,
The load balancer is:
A delay time acquiring means for acquiring a response delay time of a virtual machine operating in the second cloud;
The virtual machine management means includes
A virtual machine operating in the second cloud when the response delay time obtained by the delay time acquisition unit exceeds a delay threshold determined in advance according to the predetermined time; A load balancing system, wherein a virtual machine providing a service is moved to the first cloud.
請求項2に記載の負荷分散システムにおいて、
前記仮想マシン管理手段は、
前記遅延時間取得手段により得られた応答遅延時間が前記遅延閾値を超えた場合に、前記第1のクラウドで動作している仮想マシンであって前記第2のサービスを提供している仮想マシンを前記第2のクラウドに移動させる
ことを特徴とする負荷分散システム。
The load distribution system according to claim 2,
The virtual machine management means includes
A virtual machine operating in the first cloud and providing the second service when the response delay time obtained by the delay time acquisition means exceeds the delay threshold; The load distribution system, wherein the load distribution system is moved to the second cloud.
請求項1から請求項3のいずれか一項に記載の負荷分散システムにおいて、
前記仮想マシン管理手段は、
前記第1のクラウドの前記リソース利用率が前記第2の閾値以下であり、前記第2のクラウドで動作している仮想マシンを検出すると、当該仮想マシンを前記第1のクラウドに移動させる
ことを特徴とする負荷分散システム。
In the load distribution system according to any one of claims 1 to 3,
The virtual machine management means includes
When the resource usage rate of the first cloud is equal to or lower than the second threshold and a virtual machine operating in the second cloud is detected, the virtual machine is moved to the first cloud. Feature load balancing system.
第1のクラウドと、利用に応じて前記第1のクラウドを利用するより高い費用が発生する第2のクラウドと、仮想マシンを前記第1のクラウド及び前記第2のクラウドのいずれにて動作させるかを制御する負荷分散装置とを備える負荷分散システムにおける負荷分散装置であって、
前記第1のクラウドにおけるリソース利用率と前記第1のクラウドにおいて動作している仮想マシンのリソース利用率とを取得するリソース利用率取得手段と、
仮想マシンのリソース利用率が予め定められた第1の閾値を超えている場合において、前記第1のクラウドにおけるリソース利用率が予め定められた第2の閾値を超えているとき、前記第2のクラウドにおいて新たな仮想マシンを起動させ、前記第2のクラウドにおけるリソース利用率が前記第2の閾値以下であるとき、前記第1のクラウドにおいて新たな仮想マシンを起動させる仮想マシン管理手段と
を有することを特徴とする負荷分散装置。
The first cloud, the second cloud that generates higher costs depending on the usage, and the virtual machine is operated in either the first cloud or the second cloud. A load distribution apparatus in a load distribution system comprising a load distribution apparatus for controlling
Resource usage rate acquisition means for acquiring a resource usage rate in the first cloud and a resource usage rate of a virtual machine operating in the first cloud;
When the resource usage rate of the virtual machine exceeds a predetermined first threshold, when the resource usage rate in the first cloud exceeds a predetermined second threshold, the second Virtual machine management means for starting a new virtual machine in the cloud and starting a new virtual machine in the first cloud when the resource usage rate in the second cloud is less than or equal to the second threshold A load balancer.
第1のクラウドと、利用に応じて前記第1のクラウドを利用するより高い費用が発生する第2のクラウドと、仮想マシンを前記第1のクラウド及び前記第2のクラウドのいずれにて動作させるかを制御する負荷分散装置とを備える負荷分散システムにおける負荷分散方法であって、
前記第1のクラウドにおけるリソース利用率と前記第1のクラウドにおいて動作している仮想マシンのリソース利用率とを取得するリソース利用率取得ステップと、
仮想マシンのリソース利用率が予め定められた第1の閾値を超えている場合において、前記第1のクラウドにおけるリソース利用率が予め定められた第2の閾値を超えているとき、前記第2のクラウドにおいて新たな仮想マシンを起動させ、前記第2のクラウドにおけるリソース利用率が前記第2の閾値以下であるとき、前記第1のクラウドにおいて新たな仮想マシンを起動させる仮想マシン管理ステップと
を有することを特徴とする負荷分散方法。
The first cloud, the second cloud that generates higher costs depending on the usage, and the virtual machine is operated in either the first cloud or the second cloud. A load balancing method in a load balancing system comprising a load balancing device for controlling
A resource usage rate acquisition step of acquiring a resource usage rate in the first cloud and a resource usage rate of a virtual machine operating in the first cloud;
When the resource usage rate of the virtual machine exceeds a predetermined first threshold, when the resource usage rate in the first cloud exceeds a predetermined second threshold, the second A virtual machine management step of starting a new virtual machine in the cloud and starting a new virtual machine in the first cloud when the resource usage rate in the second cloud is equal to or lower than the second threshold value. A load balancing method characterized by the above.
JP2014029389A 2014-02-19 2014-02-19 Load distribution system, load distribution apparatus, and load distribution method Active JP6097235B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014029389A JP6097235B2 (en) 2014-02-19 2014-02-19 Load distribution system, load distribution apparatus, and load distribution method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014029389A JP6097235B2 (en) 2014-02-19 2014-02-19 Load distribution system, load distribution apparatus, and load distribution method

Publications (2)

Publication Number Publication Date
JP2015153370A true JP2015153370A (en) 2015-08-24
JP6097235B2 JP6097235B2 (en) 2017-03-15

Family

ID=53895487

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014029389A Active JP6097235B2 (en) 2014-02-19 2014-02-19 Load distribution system, load distribution apparatus, and load distribution method

Country Status (1)

Country Link
JP (1) JP6097235B2 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018120476A (en) * 2017-01-26 2018-08-02 富士ゼロックス株式会社 Information processing device and program
JP2018128956A (en) * 2017-02-10 2018-08-16 日本電信電話株式会社 Load distribution device and load distribution method
US10144131B2 (en) 2016-06-30 2018-12-04 Hitachi, Ltd. Operation monitoring server and operation monitoring system
JP2019032653A (en) * 2017-08-07 2019-02-28 日本電信電話株式会社 Distribution method
JP2019533913A (en) * 2017-09-28 2019-11-21 平安科技(深▲せん▼)有限公司Ping An Technology (Shenzhen) Co.,Ltd. Load balancing optimization method and apparatus based on cloud monitoring
JP2020113211A (en) * 2019-01-16 2020-07-27 Kddi株式会社 Information processing device, use situation notification method, and program
US11150947B2 (en) 2017-10-04 2021-10-19 Toyota Jidosha Kabushiki Kaisha Determining a deletion deadline for a staging environment
KR20230025152A (en) * 2021-08-13 2023-02-21 주식회사 이노그리드 High-performance cloud service system and method for metaverse
US11599292B2 (en) 2021-03-31 2023-03-07 Hitachi, Ltd. Storage system and load distribution method for storage system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013196287A (en) * 2012-03-19 2013-09-30 Oki Electric Ind Co Ltd Virtual machine control device and program
WO2014014479A1 (en) * 2012-07-20 2014-01-23 Hewlett-Packard Development Company, L.P. Policy-based scaling of network resources
WO2014024251A1 (en) * 2012-08-06 2014-02-13 富士通株式会社 Cloud service selection device, cloud service selection system, cloud service selection method, and cloud service selection program
JP2015153402A (en) * 2014-02-19 2015-08-24 富士通株式会社 Management device, task load distribution management method, and task load distribution management program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013196287A (en) * 2012-03-19 2013-09-30 Oki Electric Ind Co Ltd Virtual machine control device and program
WO2014014479A1 (en) * 2012-07-20 2014-01-23 Hewlett-Packard Development Company, L.P. Policy-based scaling of network resources
WO2014024251A1 (en) * 2012-08-06 2014-02-13 富士通株式会社 Cloud service selection device, cloud service selection system, cloud service selection method, and cloud service selection program
JP2015153402A (en) * 2014-02-19 2015-08-24 富士通株式会社 Management device, task load distribution management method, and task load distribution management program

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
江丸 裕教 外1名: "「動的配置法によるハイブリッドクラウドの運用管理コスト最小化」", 情報処理学会 論文誌(ジャーナル)[ONLINE], vol. 第54巻,第4号, JPN6016049329, 15 April 2013 (2013-04-15), pages 1581 - 1591, ISSN: 0003467745 *
神屋 郁子 外3名: "「複数のクラウドを利用したサーバ広域分散配置システムの構築」", 電子情報通信学会論文誌, vol. 第J96-B巻,第10号, JPN6016049328, 1 October 2013 (2013-10-01), pages 1164 - 1175, ISSN: 0003467744 *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10144131B2 (en) 2016-06-30 2018-12-04 Hitachi, Ltd. Operation monitoring server and operation monitoring system
JP2018120476A (en) * 2017-01-26 2018-08-02 富士ゼロックス株式会社 Information processing device and program
JP2018128956A (en) * 2017-02-10 2018-08-16 日本電信電話株式会社 Load distribution device and load distribution method
JP2019032653A (en) * 2017-08-07 2019-02-28 日本電信電話株式会社 Distribution method
JP2019533913A (en) * 2017-09-28 2019-11-21 平安科技(深▲せん▼)有限公司Ping An Technology (Shenzhen) Co.,Ltd. Load balancing optimization method and apparatus based on cloud monitoring
US10992581B2 (en) 2017-09-28 2021-04-27 Ping An Technology (Shenzhen) Co., Ltd. Methods and devices for optimizing load balancing based on cloud monitoring
US11150947B2 (en) 2017-10-04 2021-10-19 Toyota Jidosha Kabushiki Kaisha Determining a deletion deadline for a staging environment
JP2020113211A (en) * 2019-01-16 2020-07-27 Kddi株式会社 Information processing device, use situation notification method, and program
US11599292B2 (en) 2021-03-31 2023-03-07 Hitachi, Ltd. Storage system and load distribution method for storage system
KR20230025152A (en) * 2021-08-13 2023-02-21 주식회사 이노그리드 High-performance cloud service system and method for metaverse
KR102627514B1 (en) * 2021-08-13 2024-01-23 주식회사 이노그리드 High-performance cloud service system and method for metaverse

Also Published As

Publication number Publication date
JP6097235B2 (en) 2017-03-15

Similar Documents

Publication Publication Date Title
JP6097235B2 (en) Load distribution system, load distribution apparatus, and load distribution method
US9992273B2 (en) Intelligent load balancer selection in a multi-load balancer environment
US8904005B2 (en) Indentifying service dependencies in a cloud deployment
CN107534570B (en) Computer system, method and medium for virtualized network function monitoring
US8849971B2 (en) Load balancing in cloud-based networks
US8316125B2 (en) Methods and systems for automated migration of cloud processes to external clouds
US8862720B2 (en) Flexible cloud management including external clouds
US10268522B2 (en) Service aggregation using graduated service levels in a cloud network
US8612615B2 (en) Systems and methods for identifying usage histories for producing optimized cloud utilization
US9311162B2 (en) Flexible cloud management
US20100306767A1 (en) Methods and systems for automated scaling of cloud computing systems
US20090300635A1 (en) Methods and systems for providing a marketplace for cloud-based networks
US20100274890A1 (en) Methods and apparatus to get feedback information in virtual environment for server load balancing
US8589538B2 (en) Storage workload balancing
US20140244844A1 (en) Control device and resource control method
JP2013506908A (en) Dynamic load balancing and scaling of allocated cloud resources within the corporate network
US9672069B2 (en) Dynamic zone-based cloud management
US10841369B2 (en) Determining allocatable host system resources to remove from a cluster and return to a host service provider
US20180026855A1 (en) Network management system, device, and method
US20220174588A1 (en) Method for evaluating the devices of a network infrastructure for deploying a virtualised function
US20140189092A1 (en) System and Method for Intelligent Data Center Positioning Mechanism in Cloud Computing
JP5987181B2 (en) Distributed processing system and management method of distributed processing system
JP5575953B1 (en) Information system service providing apparatus, information system service providing method, and information system service providing program
US10877814B2 (en) Profiling workloads in host systems allocated to a cluster to determine adjustments to allocation of host systems to the cluster
JP2017143477A (en) Virtual network system, and network load distribution method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160317

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20161114

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170104

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170201

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20170214

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170217

R150 Certificate of patent or registration of utility model

Ref document number: 6097235

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250