JP2018206062A - Control program, control device, and control method - Google Patents

Control program, control device, and control method Download PDF

Info

Publication number
JP2018206062A
JP2018206062A JP2017110775A JP2017110775A JP2018206062A JP 2018206062 A JP2018206062 A JP 2018206062A JP 2017110775 A JP2017110775 A JP 2017110775A JP 2017110775 A JP2017110775 A JP 2017110775A JP 2018206062 A JP2018206062 A JP 2018206062A
Authority
JP
Japan
Prior art keywords
physical
machines
machine
information
virtual
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
JP2017110775A
Other languages
Japanese (ja)
Other versions
JP6928237B2 (en
Inventor
喜朗 久田
Yoshiro Hisada
喜朗 久田
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2017110775A priority Critical patent/JP6928237B2/en
Publication of JP2018206062A publication Critical patent/JP2018206062A/en
Application granted granted Critical
Publication of JP6928237B2 publication Critical patent/JP6928237B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

To provide a control program, a control device, and a control method capable of leveling the load of each physical machine.SOLUTION: Based on load information of a plurality of physical machines, a physical machine of an arrangement destination, at which a specific virtual machine is arranged to distribute a request accepted by any one of a plurality of virtual machines respectively built in any one of the plurality of physical machines, is specified. Then, based on load information of the specified physical machine, the number of virtual machines to which the request accepted by the specific virtual machine can be distributed, out of the plurality of virtual machines, is calculated. According to the arrangement of the specific virtual machine to the specified physical machine, the number of virtual machines corresponding to the calculated number, out of the plurality of virtual machines, are designated as virtual machines of a distribution destination to which the request accepted by the specific virtual machine is distributed.SELECTED DRAWING: Figure 9

Description

本発明は、制御プログラム、制御装置及び制御方法に関する。   The present invention relates to a control program, a control device, and a control method.

例えば、利用者にサービスを提供する事業者(以下、単に事業者とも呼ぶ)は、サービスの提供を行うための業務システム(以下、情報処理システムとも呼ぶ)を構築して稼働させる。   For example, a business provider (hereinafter simply referred to as a business operator) that provides a service to a user constructs and operates a business system (hereinafter also referred to as an information processing system) for providing the service.

具体的に、事業者は、例えば、利用者からの処理要求に対する処理を行う複数の仮想マシン(以下、VM:Virtual Machineとも呼ぶ)と、複数の仮想マシンに対して利用者からの処理要求の振り分けを行う仮想マシン(以下、負荷分散装置とも呼ぶ)とを有する業務システムの構築を行う。そして、負荷分散装置は、例えば、各仮想マシンの現在の負荷を参照し、負荷が相対的に低い仮想マシンに対して、利用者からの処理要求に対する処理を行わせる。これにより、事業者は、業務システムを構成する各仮想マシンの負荷を平準化しながら、利用者に対するサービスの提供を行うことが可能になる(例えば、特許文献1乃至4参照)。   Specifically, for example, a business operator can process a plurality of virtual machines (hereinafter also referred to as VM: Virtual Machine) that perform processing in response to a processing request from a user, and process requests from a user to a plurality of virtual machines. A business system having a virtual machine (hereinafter also referred to as a load balancer) that performs distribution is constructed. Then, for example, the load balancer refers to the current load of each virtual machine, and causes the virtual machine with a relatively low load to perform processing in response to a processing request from the user. Accordingly, the business operator can provide a service to the user while leveling the load on each virtual machine constituting the business system (see, for example, Patent Documents 1 to 4).

国際公開第2011/114623号International Publication No. 2011/114623 特開2015−022501号公報Japanese Patent Laid-Open No. 2015-022501 特表2013−506908号公報Special table 2013-506908 gazette 特開2006−048680号公報JP 2006-0486680 A

上記のような業務システムにおいて、利用者からの処理要求が増加した場合、一台の負荷分散装置では各仮想マシンに対して処理要求の振り分けを行うことができない場合がある。   In the business system as described above, when the number of processing requests from the user increases, there is a case where the processing requests cannot be distributed to each virtual machine with one load balancer.

そこで、事業者は、例えば、必要に応じて複数の負荷分散装置を用意する。そして、事業者は、複数の負荷分散装置のうちの一台を、他の負荷分散装置に対して利用者からの処理要求を振り分ける負荷分散装置(以下、単に管理装置とも呼ぶ)として機能させる。また、事業者は、管理装置以外の負荷分散装置のそれぞれを、管理装置から振り分けられた処理要求を各仮想マシンに振り分ける負荷分散装置として機能させる。これにより、事業者は、複数の負荷分散装置が動作する場合であっても、業務システムを構成する各仮想マシンの負荷を平準化しながら利用者に対してサービスの提供を行うことが可能になる。   Therefore, for example, the business operator prepares a plurality of load distribution devices as necessary. The operator causes one of the plurality of load distribution apparatuses to function as a load distribution apparatus (hereinafter also simply referred to as a management apparatus) that distributes processing requests from users to other load distribution apparatuses. Further, the business operator causes each of the load distribution apparatuses other than the management apparatus to function as a load distribution apparatus that distributes the processing request distributed from the management apparatus to each virtual machine. Thereby, even if a plurality of load balancers operate, the business can provide services to the user while leveling the load on each virtual machine constituting the business system. .

ここで、管理装置は、例えば、利用者からの処理要求の振り分けに加え、負荷分散装置の追加や削除を行う場合がある。具体的に、管理装置は、各仮想マシンが動作する物理マシンのそれぞれから、現在の負荷を示す情報(以下、負荷情報とも呼ぶ)を取得する。そして、管理装置は、例えば、現在の負荷が所定の閾値よりも高い物理マシンが存在する場合、その物理マシンで動作する負荷分散装置の負荷が高くなっていると判定し、その物理マシンで動作する負荷分散装置を追加する。これにより、管理装置は、仮想マシンごとの負荷情報を取得することなく、各物理マシンに負荷分散装置を追加すべきか否かの判定を行うことが可能になり、各負荷分散装置が処理要求を振り分ける仮想マシンの数の調整を行うことが可能になる。   Here, for example, the management apparatus may add or delete a load distribution apparatus in addition to the distribution of processing requests from users. Specifically, the management apparatus acquires information indicating the current load (hereinafter also referred to as load information) from each physical machine on which each virtual machine operates. Then, for example, when there is a physical machine whose current load is higher than a predetermined threshold, the management apparatus determines that the load of the load balancer operating on the physical machine is high, and operates on the physical machine. Add a load balancer. As a result, the management apparatus can determine whether or not a load balancer should be added to each physical machine without acquiring load information for each virtual machine. The number of virtual machines to be distributed can be adjusted.

しかしながら、各仮想マシンが動作する物理マシンでは、負荷分散装置が処理要求の振り分けを行わない仮想マシン(以下、他の仮想マシンとも呼ぶ)が動作する場合がある。そのため、管理装置は、物理マシンごとの負荷情報に基づいて負荷分散装置の追加を行う場合、負荷分散装置を必要以上に追加する可能性があり、負荷の大きい物理マシンの処理負荷がより増大する場合がある。   However, in a physical machine on which each virtual machine operates, a virtual machine (hereinafter also referred to as another virtual machine) in which the load distribution apparatus does not distribute processing requests may operate. Therefore, when adding a load distribution device based on the load information for each physical machine, the management device may add more load distribution devices than necessary, and the processing load of a physical machine with a large load increases further. There is a case.

そこで、一つの側面では、本発明は、各物理マシンの負荷を平準化することを可能とする制御プログラム、制御装置及び制御方法を提供することを目的とする。   Accordingly, in one aspect, an object of the present invention is to provide a control program, a control apparatus, and a control method that can level the load of each physical machine.

実施の形態の一態様では、それぞれが複数の物理マシンのいずれかに構築された複数の仮想マシンのいずれかに受け付けた要求を振り分ける特定の仮想マシンを、前記複数の物理マシンのいずれかに配置する制御プログラムにおいて、前記複数の物理マシンの負荷情報に基づき、前記特定の仮想マシンを配置する配置先の物理マシンを特定し、特定した前記物理マシンの負荷情報に基づき、前記複数の仮想マシンのうち、前記特定の仮想マシンが受け付けた要求を振り分け可能な仮想マシンの数を算出し、特定した前記物理マシンへの前記特定の仮想マシンの配置に応じて、前記複数の仮想マシンのうち、算出した前記数に応じた数の仮想マシンを、前記特定の仮想マシンが受け付けた要求を振り分ける振り分け先の仮想マシンとする、処理をコンピュータに実行させる。   In one aspect of the embodiment, a specific virtual machine that distributes a request received to any of a plurality of virtual machines, each of which is constructed on any of a plurality of physical machines, is disposed on any of the plurality of physical machines In the control program, the physical machine of the placement destination where the specific virtual machine is arranged is specified based on the load information of the plurality of physical machines, and the plurality of virtual machines are determined based on the load information of the specified physical machine. Among them, the number of virtual machines that can distribute the request received by the specific virtual machine is calculated, and the calculation is performed among the plurality of virtual machines according to the arrangement of the specific virtual machine on the specified physical machine. The number of virtual machines according to the number is set as a distribution-destination virtual machine that distributes requests received by the specific virtual machine. To be executed by a computer.

一つの側面によれば、各物理マシンの負荷を平準化することを可能とする。   According to one aspect, the load on each physical machine can be leveled.

図1は、情報処理システム10の全体構成を示す図である。FIG. 1 is a diagram illustrating an overall configuration of the information processing system 10. 図2は、管理装置1における処理の具体例について説明を行う。FIG. 2 describes a specific example of processing in the management apparatus 1. 図3は、管理装置1における処理の具体例について説明を行う。FIG. 3 illustrates a specific example of processing in the management apparatus 1. 図4は、管理装置1における処理の具体例について説明を行う。FIG. 4 describes a specific example of processing in the management apparatus 1. 図5は、管理装置1のハードウエア構成を示す図である。FIG. 5 is a diagram illustrating a hardware configuration of the management apparatus 1. 図6は、物理マシン2のハードウエア構成を示す図である。FIG. 6 is a diagram illustrating a hardware configuration of the physical machine 2. 図7は、管理装置1の機能のブロック図である。FIG. 7 is a block diagram of functions of the management apparatus 1. 図8は、物理マシン2の機能のうち、負荷分散装置3aによって実現される機能のブロック図である。FIG. 8 is a block diagram of functions realized by the load balancer 3 a among the functions of the physical machine 2. 図9は、第1の実施の形態における制御処理の概略を説明するフローチャート図である。FIG. 9 is a flowchart for explaining the outline of the control processing in the first embodiment. 図10は、第1の実施の形態における制御処理の概略を説明する図である。FIG. 10 is a diagram for explaining the outline of the control processing in the first embodiment. 図11は、第1の実施の形態における制御処理の概略を説明する図である。FIG. 11 is a diagram for explaining the outline of the control processing in the first embodiment. 図12は、第1の実施の形態における制御処理の概略を説明する図である。FIG. 12 is a diagram for explaining the outline of the control processing in the first embodiment. 図13は、第1の実施の形態における制御処理の概略を説明する図である。FIG. 13 is a diagram for explaining the outline of the control processing in the first embodiment. 図14は、第1の実施の形態における制御処理の概略を説明する図である。FIG. 14 is a diagram for explaining the outline of the control processing in the first embodiment. 図15は、第1の実施の形態における制御処理の概略を説明する図である。FIG. 15 is a diagram for explaining the outline of the control processing in the first embodiment. 図16は、第1の実施の形態における制御処理の詳細を説明するフローチャート図である。FIG. 16 is a flowchart for explaining the details of the control processing in the first embodiment. 図17は、第1の実施の形態における制御処理の詳細を説明するフローチャート図である。FIG. 17 is a flowchart for explaining the details of the control processing in the first embodiment. 図18は、第1の実施の形態における制御処理の詳細を説明するフローチャート図である。FIG. 18 is a flowchart for explaining the details of the control processing in the first embodiment. 図19は、第1の実施の形態における制御処理の詳細を説明するフローチャート図である。FIG. 19 is a flowchart for explaining the details of the control processing in the first embodiment. 図20は、第1の実施の形態における制御処理の詳細を説明するフローチャート図である。FIG. 20 is a flowchart for explaining the details of the control processing in the first embodiment. 図21は、第1の実施の形態における制御処理の詳細を説明するフローチャート図である。FIG. 21 is a flowchart for explaining the details of the control processing in the first embodiment. 図22は、第1の実施の形態における制御処理の詳細を説明するフローチャート図である。FIG. 22 is a flowchart for explaining the details of the control processing in the first embodiment. 図23は、第1の実施の形態における制御処理の詳細を説明するフローチャート図である。FIG. 23 is a flowchart for explaining the details of the control processing in the first embodiment. 図24は、振分管理情報131及びホスト管理情報132の具体例を説明する図である。FIG. 24 is a diagram illustrating specific examples of the distribution management information 131 and the host management information 132. 図25は、VM管理情報133の具体例を説明する図である。FIG. 25 is a diagram illustrating a specific example of the VM management information 133. 図26は、振分管理情報131及びホスト管理情報132の具体例を説明する図である。FIG. 26 is a diagram illustrating specific examples of the distribution management information 131 and the host management information 132. 図27は、VM管理情報133の具体例を説明する図である。FIG. 27 is a diagram illustrating a specific example of the VM management information 133. 図28は、振分管理情報131及びホスト管理情報132の具体例を説明する図である。FIG. 28 is a diagram illustrating specific examples of the distribution management information 131 and the host management information 132. 図29は、振分管理情報131及びホスト管理情報132の具体例を説明する図である。FIG. 29 is a diagram illustrating specific examples of the distribution management information 131 and the host management information 132.

[情報処理システムの構成]
図1は、情報処理システム10の全体構成を示す図である。図1に示す情報処理システム10は、例えば、利用者にサービスを提供するための業務システムである。図1に示す情報処理システム10において、管理装置1及び物理マシン2がデータセンター(図示しない)内に設けられている。そして、事業者端末5は、インターネットやイントラネット等のネットワークを介して、データセンターとアクセス可能になっている。
[Configuration of information processing system]
FIG. 1 is a diagram illustrating an overall configuration of the information processing system 10. An information processing system 10 illustrated in FIG. 1 is a business system for providing a service to a user, for example. In the information processing system 10 shown in FIG. 1, a management apparatus 1 and a physical machine 2 are provided in a data center (not shown). The business entity terminal 5 is accessible to the data center via a network such as the Internet or an intranet.

物理マシン2は、例えば、複数の物理マシンから構成される。各物理マシンは、CPU(Central Computing Unit)と、メモリ(DRAM:Dynamic Random Access Memory)と、ハードディスク(HDD:Hard Disk Drive)等の大容量メモリとを有する。そして、物理マシン2の物理リソースは、利用者に対してサービスを提供するための各処理を実行する複数の仮想マシン3に割当てられる。   The physical machine 2 is composed of a plurality of physical machines, for example. Each physical machine has a CPU (Central Computing Unit), a memory (DRAM: Dynamic Random Access Memory), and a large-capacity memory such as a hard disk (HDD: Hard Disk Drive). The physical resources of the physical machine 2 are allocated to a plurality of virtual machines 3 that execute processes for providing services to users.

仮想化ソフトウエア4は、物理マシン2のCPU、メモリ及びハードディスクを割当てることにより、仮想マシン3を動作させる基盤ソフトウエアである。仮想化ソフトウエア4は、例えば、物理マシン2で動作する。   The virtualization software 4 is basic software that operates the virtual machine 3 by assigning the CPU, memory, and hard disk of the physical machine 2. The virtualization software 4 operates on the physical machine 2, for example.

管理装置1は、例えば、利用者が利用者端末(図示しない)を介して送信した処理要求を受信した場合に、受信した処理要求を仮想マシン3のいずれかに振り分ける。管理装置1は、例えば、仮想マシン3からなるものであってよい。以下、管理装置1の処理の具体例について説明を行う。   For example, when the user receives a processing request transmitted via a user terminal (not shown), the management device 1 distributes the received processing request to one of the virtual machines 3. The management device 1 may be composed of, for example, a virtual machine 3. Hereinafter, a specific example of processing of the management apparatus 1 will be described.

[管理装置における処理の具体例]
図2から図4は、管理装置1における処理の具体例について説明を行う。なお、以下、物理マシン2が物理マシン21、22及び23からなるものとして説明を行う。また、物理マシン21、22及び23において動作する仮想マシン3の一部が、他の仮想マシン3に対して処理要求を振り分ける負荷分散装置31a、32a及び33a(以下、これらを総称して負荷分散装置3aとも呼ぶ)としてそれぞれ動作するものとして説明を行う。さらに、負荷分散装置31aがVM31b、31c及び31dに対して処理要求の振り分けを行い、負荷分散装置32aがVM32b、32c及び32dに対して処理要求の振り分けを行い、負荷分散装置33aがVM33b及び33cに対して処理要求の振り分けを行うものとして説明を行う。
[Specific example of processing in management device]
2 to 4 describe specific examples of processing in the management apparatus 1. In the following description, it is assumed that the physical machine 2 includes physical machines 21, 22, and 23. Also, a part of the virtual machine 3 operating on the physical machines 21, 22, and 23 distributes processing requests to other virtual machines 3, load distribution devices 31 a, 32 a, and 33 a (hereinafter collectively referred to as load distribution). The following description will be made assuming that each device operates as a device 3a. Further, the load balancer 31a distributes the processing requests to the VMs 31b, 31c, and 31d, the load balancer 32a distributes the processing requests to the VMs 32b, 32c, and 32d, and the load balancer 33a uses the VMs 33b and 33c. In the following description, processing requests are distributed.

管理装置1は、利用者端末(図示しない)等から処理要求を受信した場合、負荷分散装置31a、32a及び33aのうちのいずれかに対し、受信した処理要求を振り分ける。   When the management device 1 receives a processing request from a user terminal (not shown) or the like, the management device 1 distributes the received processing request to any one of the load distribution devices 31a, 32a, and 33a.

具体的に、管理装置1は、図2に示すように、例えば、物理マシン21、22及び23から各物理マシン全体としての負荷を示す情報(以下、単に負荷情報とも呼ぶ)を取得する。そして、管理装置1は、例えば、取得した各負荷情報に基づき、現在の負荷が最も小さい物理マシン2を特定する。その後、管理装置1は、図3に示すように、例えば、特定した物理マシン2において動作する負荷分散装置3aに対して処理要求の振り分けを行う。これにより、管理装置1は、各物理マシン2における負荷を平準化することが可能になる。   Specifically, as illustrated in FIG. 2, the management apparatus 1 acquires information (hereinafter also simply referred to as load information) indicating the load of each physical machine as a whole from the physical machines 21, 22, and 23, for example. Then, for example, the management device 1 identifies the physical machine 2 with the smallest current load based on the acquired load information. Thereafter, as shown in FIG. 3, the management device 1 distributes processing requests to, for example, the load distribution device 3 a operating in the identified physical machine 2. As a result, the management device 1 can level the load on each physical machine 2.

また、管理装置1は、例えば、定期的なタイミングにおいて、各物理マシン2において負荷分散装置の追加または削除を行う必要があるか否かの判定を行う。   Further, the management device 1 determines whether or not it is necessary to add or delete a load balancer in each physical machine 2 at regular timing, for example.

具体的に、管理装置1は、図3に示すように、例えば、取得した各負荷情報に基づき、現在の負荷が予め定めた所定の閾値を上回っている物理マシン2が存在するか否かを判定する。そして、所定の閾値を上回っている物理マシン2が存在する場合、管理装置1は、その物理マシン2において動作する負荷分散装置3aの負荷が高くなっていると判定し、新たな負荷分散装置3aの追加を行う。これにより、管理装置1は、例えば、負荷分散装置3aが高負荷になることに伴って、処理要求に対する応答が遅延することを防止することが可能になる。また、管理装置1は、この場合、各物理マシン2において生成された仮想マシン3それぞれの負荷情報を取得することなく、新たな負荷分散装置3aの追加を行うか否かの判定を行うことが可能になる。   Specifically, as shown in FIG. 3, for example, the management apparatus 1 determines whether or not there is a physical machine 2 in which the current load exceeds a predetermined threshold value based on each acquired load information. judge. When there is a physical machine 2 that exceeds a predetermined threshold, the management apparatus 1 determines that the load of the load balancer 3a that operates in the physical machine 2 is high, and a new load balancer 3a. Add. As a result, the management device 1 can prevent a response to a processing request from being delayed due to, for example, a high load on the load distribution device 3a. Further, in this case, the management device 1 can determine whether or not to add a new load distribution device 3a without acquiring the load information of each virtual machine 3 generated in each physical machine 2. It becomes possible.

ここで、物理マシン2には、負荷分散装置3aが処理要求の振り分けを行わない仮想マシン3(他の仮想マシン3)が生成される場合がある。具体的に、図4に示す例において、物理マシン21には、他の仮想マシン3であるVM31e、31f及び31gが生成され、物理マシン22には、他の仮想マシン3であるVM32eが生成されている。そのため、管理装置1は、物理マシンごと2の負荷情報に基づいて負荷分散装置3aの追加を行う場合、負荷分散装置3aを必要以上に追加する可能性があり、各物理マシン2の処理負担がより増大する場合がある。   Here, in the physical machine 2, a virtual machine 3 (other virtual machine 3) in which the load distribution device 3a does not distribute the processing request may be generated. Specifically, in the example illustrated in FIG. 4, VMs 31 e, 31 f and 31 g which are other virtual machines 3 are generated on the physical machine 21, and a VM 32 e which is another virtual machine 3 is generated on the physical machine 22. ing. Therefore, when adding the load distribution device 3a based on the load information of each physical machine 2, the management device 1 may add more load distribution devices 3a than necessary, and the processing load of each physical machine 2 is increased. May increase more.

そこで、本実施の形態における管理装置1は、複数の物理マシン2の負荷情報に基づき、複数の物理マシン2のいずれかに構築された複数の仮想マシン3のいずれかに受け付けた処理要求を振り分ける特定の負荷分散装置3a(以下、特定の仮想マシン3とも呼ぶ)を配置する配置先の物理マシン2を特定する。そして、管理装置1は、特定した物理マシン2の負荷情報に基づき、複数の仮想マシン3のうち、特定の負荷分散装置3が受け付けた処理要求を振り分け可能な仮想マシン3の数を算出する。   Therefore, the management apparatus 1 according to the present embodiment distributes the processing request received to any of the plurality of virtual machines 3 constructed in any of the plurality of physical machines 2 based on the load information of the plurality of physical machines 2. An arrangement destination physical machine 2 in which a specific load distribution apparatus 3a (hereinafter also referred to as a specific virtual machine 3) is arranged is specified. Based on the load information of the identified physical machine 2, the management apparatus 1 calculates the number of virtual machines 3 that can distribute the processing requests received by the specific load distribution apparatus 3 among the plurality of virtual machines 3.

さらに、管理装置1は、特定した物理マシン2への特定の負荷分散装置3aの配置に応じて、複数の仮想マシン3のうち、算出した数に応じた数の仮想マシン3を、特定の負荷分散装置3aが受け付けた処理要求を振り分ける振り分け先の仮想マシン3とする。   Furthermore, the management apparatus 1 assigns the number of virtual machines 3 corresponding to the calculated number out of the plurality of virtual machines 3 according to the arrangement of the specific load distribution apparatus 3 a to the specified physical machine 2. A distribution destination virtual machine 3 that distributes a processing request received by the distribution apparatus 3a is assumed.

すなわち、管理装置1は、新たな負荷分散装置3aの追加を行う場合、負荷が比較的小さい物理マシン2に対して新たな負荷分散装置3aの追加を行う。そして、管理装置1は、負荷が大きい物理マシン2に生成された負荷分散装置3aが処理要求の振り分けを行っている仮想マシン3(仮想マシン3の一部)に対する振り分けを、新たな負荷分散装置3aに行わせる。   That is, when adding a new load balancer 3a, the management device 1 adds a new load balancer 3a to a physical machine 2 having a relatively small load. Then, the management apparatus 1 distributes the virtual machine 3 (part of the virtual machine 3) to which the load distribution apparatus 3a generated in the physical machine 2 having a large load distributes the processing request to the new load distribution apparatus. Let 3a do.

これにより、管理装置1は、負荷が大きい物理マシン2に対して新たな負荷分散装置3aが追加されることを防止することが可能になる。また、管理装置1は、負荷が大きい物理マシン2に生成された負荷分散装置3aが振り分けを行う仮想マシン3の数を減らすことによって、負荷が大きい物理マシン2の負荷を抑制することが可能になる。そのため、管理装置1は、各物理マシン2の負荷を平準化させることが可能になる。   As a result, the management apparatus 1 can prevent a new load distribution apparatus 3a from being added to the physical machine 2 with a large load. In addition, the management apparatus 1 can suppress the load on the physical machine 2 having a large load by reducing the number of virtual machines 3 to which the load distribution apparatus 3a generated in the physical machine 2 having a large load distributes. Become. Therefore, the management apparatus 1 can level the load on each physical machine 2.

[情報処理システムのハードウエア構成]
次に、情報処理システム10のハードウエア構成について説明する。図5は、管理装置1のハードウエア構成を示す図である。また、図6は、物理マシン2のハードウエア構成を示す図である。
[Hardware configuration of information processing system]
Next, the hardware configuration of the information processing system 10 will be described. FIG. 5 is a diagram illustrating a hardware configuration of the management apparatus 1. FIG. 6 is a diagram illustrating a hardware configuration of the physical machine 2.

管理装置1は、図5に示すように、プロセッサであるCPU101と、メモリ102と、外部インターフェース(以下、I/Oユニットとも呼ぶ)103と、記憶媒体104とを有する。各部は、バス105を介して互いに接続される。   As illustrated in FIG. 5, the management apparatus 1 includes a CPU 101 that is a processor, a memory 102, an external interface (hereinafter also referred to as an I / O unit) 103, and a storage medium 104. Each unit is connected to each other via a bus 105.

記憶媒体104は、例えば、記憶媒体104内のプログラム格納領域(図示しない)に、負荷分散装置3aの管理を行う処理(以下、制御処理とも呼ぶ)を行うためのプログラム110を記憶する。また、記憶媒体104は、例えば、制御処理を行う際に用いられる情報を記憶する情報格納領域130(以下、記憶部130とも呼ぶ)を有する。   The storage medium 104 stores, for example, a program 110 for performing processing (hereinafter also referred to as control processing) for managing the load distribution device 3a in a program storage area (not shown) in the storage medium 104. In addition, the storage medium 104 includes, for example, an information storage area 130 (hereinafter also referred to as a storage unit 130) that stores information used when performing control processing.

CPU101は、プログラム110の実行時に、プログラム110を記憶媒体104からメモリ102にロードし、プログラム110と協働して制御処理を行う。また、外部インターフェース103は、例えば、物理マシン2と通信を行う。   When executing the program 110, the CPU 101 loads the program 110 from the storage medium 104 to the memory 102 and performs control processing in cooperation with the program 110. The external interface 103 communicates with the physical machine 2, for example.

また、物理マシン2は、図6に示すように、プロセッサであるCPU201と、メモリ202と、外部インターフェース(以下、I/Oユニットとも呼ぶ)203と、記憶媒体204とを有する。各部は、バス205を介して互いに接続される。   Further, as illustrated in FIG. 6, the physical machine 2 includes a CPU 201 that is a processor, a memory 202, an external interface (hereinafter also referred to as an I / O unit) 203, and a storage medium 204. Each unit is connected to each other via a bus 205.

記憶媒体204は、例えば、記憶媒体204内のプログラム格納領域(図示しない)に、制御装置を行うためのプログラム210を記憶する。また、記憶媒体204は、例えば、制御処理を行う際に用いられる情報を記憶する情報格納領域230(以下、記憶部230とも呼ぶ)を有する。   The storage medium 204 stores, for example, a program 210 for performing the control device in a program storage area (not shown) in the storage medium 204. In addition, the storage medium 204 includes, for example, an information storage area 230 (hereinafter also referred to as a storage unit 230) that stores information used when performing control processing.

CPU201は、プログラム210の実行時に、プログラム210を記憶媒体204からメモリ202にロードし、プログラム210と協働して制御処理を行う。また、外部インターフェース203は、例えば、管理装置1及び事業者端末5と通信を行う。   When executing the program 210, the CPU 201 loads the program 210 from the storage medium 204 to the memory 202 and performs control processing in cooperation with the program 210. The external interface 203 communicates with, for example, the management device 1 and the operator terminal 5.

[情報処理システムの機能]
次に、情報処理システム10の機能について説明する。図7は、管理装置1の機能のブロック図である。また、図8は、物理マシン2の機能のうち、負荷分散装置3aによって実現される機能のブロック図である。
[Information processing system functions]
Next, functions of the information processing system 10 will be described. FIG. 7 is a block diagram of functions of the management apparatus 1. FIG. 8 is a block diagram of functions realized by the load balancer 3 a among the functions of the physical machine 2.

[管理装置の機能]
初めに、管理装置1の機能について説明を行う。管理装置1のCPU101は、プログラム110と協働することにより、図7に示すように、処理要求受付部111と、処理要求振分部112と、情報取得部113と、情報管理部114と、配置先特定部115と、マシン数算出部116と、振分先決定部117として動作する。また、情報格納領域130には、例えば、振分管理情報131と、ホスト管理情報132と、VM管理情報133と、閾値情報134とが記憶される。
[Management device functions]
First, the function of the management apparatus 1 will be described. As shown in FIG. 7, the CPU 101 of the management apparatus 1 cooperates with the program 110 to process the process request accepting unit 111, the process request distributing unit 112, the information acquiring unit 113, the information managing unit 114, It operates as an arrangement destination specifying unit 115, a machine number calculation unit 116, and a distribution destination determination unit 117. Further, in the information storage area 130, for example, distribution management information 131, host management information 132, VM management information 133, and threshold information 134 are stored.

処理要求受付部111は、例えば、利用者端末(図示しない)から送信された処理要求を受信する。そして、処理要求振分部112は、例えば、処理要求受付部111が受信した処理要求を、負荷分散装置3aのうちのいずれかに振り分ける。   For example, the processing request reception unit 111 receives a processing request transmitted from a user terminal (not shown). Then, for example, the processing request distribution unit 112 distributes the processing request received by the processing request reception unit 111 to one of the load distribution devices 3a.

情報取得部113は、例えば、定期的なタイミングにおいて、各物理マシン2から負荷情報を取得する。そして、情報管理部114は、情報取得部113が取得した負荷情報に基づいて、情報格納領域130に記憶された振分管理情報131、ホスト管理情報132及びVM管理情報133を更新する。振分管理情報131は、管理装置1及び各負荷分散装置3aに関する情報であり、ホスト管理情報132は、各物理マシン2に関する情報である。また、VM管理情報133は、負荷分散装置3aが処理要求を振り分ける各仮想マシン3に関する情報である。   For example, the information acquisition unit 113 acquires load information from each physical machine 2 at regular timing. Then, the information management unit 114 updates the distribution management information 131, the host management information 132, and the VM management information 133 stored in the information storage area 130 based on the load information acquired by the information acquisition unit 113. The distribution management information 131 is information related to the management device 1 and each load distribution device 3a, and the host management information 132 is information related to each physical machine 2. The VM management information 133 is information regarding each virtual machine 3 to which the load distribution apparatus 3a distributes processing requests.

配置先特定部115は、各物理マシン2の負荷情報に基づき、新たな負荷分散装置3aを配置する配置先の物理マシン2を特定する。具体的に、配置先特定部115は、例えば、現在の負荷が閾値情報134を上回る物理マシン2が存在する場合に、新たな負荷分散装置3aを配置する配置先の物理マシン2の特定を行う。   Based on the load information of each physical machine 2, the placement destination specifying unit 115 specifies the placement destination physical machine 2 on which the new load distribution device 3a is placed. Specifically, for example, when there is a physical machine 2 whose current load exceeds the threshold information 134, the placement destination specifying unit 115 specifies the placement destination physical machine 2 in which the new load distribution device 3a is placed. .

マシン数算出部116は、配置先特定部115が特定した物理マシン2の負荷情報に基づき、各仮想マシン3のうち、新たな負荷分散装置3aが処理要求を振り分け可能な仮想マシン3の数を算出する。   Based on the load information of the physical machine 2 specified by the placement destination specifying unit 115, the number-of-machines calculation unit 116 calculates the number of virtual machines 3 among the virtual machines 3 to which the new load balancer 3a can distribute processing requests. calculate.

振分先決定部117は、配置先特定部115が特定した物理マシン2への新たな負荷分散装置3aの配置に応じて、各仮想マシン3のうち、マシン数算出部116が算出した数に応じた数の仮想マシン3を、新たな負荷分散装置3aが処理要求を振り分ける仮想マシン3として決定する。   The distribution destination determination unit 117 sets the number calculated by the number-of-machines calculation unit 116 of each virtual machine 3 according to the arrangement of the new load distribution device 3a on the physical machine 2 specified by the arrangement destination specification unit 115. The corresponding number of virtual machines 3 are determined as virtual machines 3 to which the new load distribution device 3a distributes processing requests.

[物理マシン(負荷分散装置)の機能]
次に、物理マシン2の機能のうち、負荷分散装置3aによって実現される機能について説明を行う。物理マシン2のCPU201は、プログラム210と協働することにより、図8に示すように、処理要求受付部311と、処理要求振分部312として機能する。また、情報格納領域230には、例えば、管理装置1における情報格納領域130と同様に、例えば、振分管理情報131と、ホスト管理情報132と、VM管理情報133とが記憶される。
[Physical machine (load balancer) functions]
Next, of the functions of the physical machine 2, functions realized by the load distribution device 3a will be described. The CPU 201 of the physical machine 2 functions as a processing request reception unit 311 and a processing request distribution unit 312 as shown in FIG. For example, as in the information storage area 130 in the management apparatus 1, for example, distribution management information 131, host management information 132, and VM management information 133 are stored in the information storage area 230.

処理要求受付部311は、例えば、管理装置1から送信された処理要求を受信する。そして、処理要求振分部312は、例えば、処理要求受付部311が受信した処理要求を、仮想マシン3のうちのいずれかに振り分ける。   For example, the processing request reception unit 311 receives a processing request transmitted from the management device 1. Then, for example, the processing request distribution unit 312 distributes the processing request received by the processing request reception unit 311 to one of the virtual machines 3.

[第1の実施の形態の概略]
次に、第1の実施の形態の概略について説明を行う。図9は、第1の実施の形態における制御処理の概略を説明するフローチャート図である。図10から図15は、第1の実施の形態における制御処理の概略を説明する図である。図10から図15を参照しながら、図9に示す第1の実施の形態における制御処理の概略について説明を行う。
[Outline of First Embodiment]
Next, an outline of the first embodiment will be described. FIG. 9 is a flowchart for explaining the outline of the control processing in the first embodiment. FIG. 10 to FIG. 15 are diagrams for explaining the outline of the control processing in the first embodiment. The outline of the control processing in the first embodiment shown in FIG. 9 will be described with reference to FIGS.

[第1の実施の形態における負荷分散装置]
初めに、第1の実施の形態における負荷分散装置3aについて説明を行う。
[Load distribution apparatus in first embodiment]
First, the load distribution device 3a in the first embodiment will be described.

第1の実施の形態における負荷分散装置3aは、図10に示すように、1以上の物理マシン2に生成された複数の仮想マシン3のそれぞれに対して、管理装置1によって振り分けられた処理要求を振り分ける。   As illustrated in FIG. 10, the load distribution apparatus 3 a according to the first embodiment is configured to process requests distributed by the management apparatus 1 to each of a plurality of virtual machines 3 generated in one or more physical machines 2. Sort out.

すなわち、第1の実施の形態における負荷分散装置3aは、自装置と同じ物理マシン2に生成されている仮想マシン3だけでなく、他の物理マシン2に生成されている仮想マシン3に対しても処理要求の振り分けを行う。   That is, the load balancer 3a according to the first embodiment applies not only to the virtual machine 3 generated in the same physical machine 2 as the own apparatus but also to the virtual machine 3 generated in another physical machine 2. Also distributes processing requests.

具体的に、図10に示す例において、物理マシン21において生成された負荷分散装置3aは、物理マシン21において生成された仮想マシン3であるVM31b、31c及び31dと、物理マシン22において生成された仮想マシン3であるVM32b、32c及び32dとに対して、管理装置1によって振り分けられた処理要求の振り分けを行う。また、図10に示す例において、物理マシン21において生成された負荷分散装置3cは、物理マシン23において生成された仮想マシン3であるVM33b及び31cに対して、管理装置1によって振り分けられた処理要求の振り分けを行う。   Specifically, in the example illustrated in FIG. 10, the load distribution apparatus 3 a generated in the physical machine 21 is generated in the VMs 31 b, 31 c, and 31 d that are the virtual machines 3 generated in the physical machine 21 and the physical machine 22. The processing requests distributed by the management apparatus 1 are distributed to the VMs 32b, 32c, and 32d that are the virtual machines 3. In the example illustrated in FIG. 10, the load distribution device 3 c generated in the physical machine 21 receives the processing requests distributed by the management device 1 to the VMs 33 b and 31 c that are the virtual machines 3 generated in the physical machine 23. Sort out.

これにより、管理装置1は、例えば、各物理マシン2において生成された負荷分散装置3aの負荷が小さい場合、複数の物理マシン2において生成された仮想マシン3に対する処理要求の振り分けを、1台の負荷分散装置3aに行わせること可能になる。そのため、管理装置1は、各物理マシン2の処理負担を軽減させることが可能になる。なお、以下、1台の負荷分散装置3aが処理要求を振り分ける1以上の仮想マシン3が動作する1以上の物理マシン2をグループとも呼ぶ。   Thereby, for example, when the load of the load distribution device 3a generated in each physical machine 2 is small, the management device 1 distributes the processing requests to the virtual machines 3 generated in the plurality of physical machines 2. This can be performed by the load balancer 3a. Therefore, the management apparatus 1 can reduce the processing load on each physical machine 2. Hereinafter, one or more physical machines 2 on which one or more virtual machines 3 on which one load distribution apparatus 3a distributes processing requests are also called a group.

[第1の実施の形態の概略についてのフローチャート図]
次に、第1の実施の形態の概略についてのフローチャート図について説明を行う。
[Flowchart of Outline of First Embodiment]
Next, the flowchart of the outline of the first embodiment will be described.

管理装置1は、図9に示すように、仮想マシン追加判定タイミングまで待機する(S1のNO)。仮想マシン追加判定タイミングは、例えば、現在の負荷が情報格納領域130に予め記憶された閾値情報134を上回っている物理マシン2の存在を検知したタイミングであってよい。具体的に、管理装置1は、例えば、図11に示すように、他の仮想マシン3であるVM31eが生成されたことに伴って、物理マシン21の負荷が閾値情報134を上回ったことを検知した場合に、仮想マシン追加タイミングになったものと判定するものであってよい。   As shown in FIG. 9, the management apparatus 1 waits until the virtual machine addition determination timing (NO in S1). The virtual machine addition determination timing may be, for example, a timing when the presence of the physical machine 2 in which the current load exceeds the threshold information 134 stored in advance in the information storage area 130 is detected. Specifically, for example, as illustrated in FIG. 11, the management apparatus 1 detects that the load on the physical machine 21 has exceeded the threshold information 134 in association with the generation of the VM 31e that is another virtual machine 3. In this case, it may be determined that the virtual machine addition timing has come.

そして、仮想マシン追加タイミングになった場合(S1のYES)、管理装置1は、図12に示すように、複数の物理マシン2の負荷情報に基づき、複数の物理マシン2から新たな負荷分散装置3aを配置する配置先の物理マシン2を特定する(S2)。さらに、管理装置1は、図12に示すように、S2の処理で特定した物理マシン2の負荷情報に基づき、複数の物理マシン2に構築された複数の仮想マシン3のうち、負荷分散装置3aが受け付けた処理要求を振り分け可能な仮想マシン3の数を算出する(S3)。   When the virtual machine addition timing comes (YES in S1), the management apparatus 1 starts a new load distribution apparatus from the plurality of physical machines 2 based on the load information of the plurality of physical machines 2, as shown in FIG. The placement-destination physical machine 2 on which 3a is placed is specified (S2). Further, as shown in FIG. 12, the management apparatus 1 loads the load distribution apparatus 3a among the plurality of virtual machines 3 constructed in the plurality of physical machines 2 based on the load information of the physical machine 2 specified in the process of S2. Calculates the number of virtual machines 3 that can distribute the processing request received (S3).

その後、管理装置1は、S2の処理で特定した物理マシン2への負荷分散装置3aの配置に応じて、複数の仮想マシン3のうち、S3の処理で算出した数に応じた数の仮想マシン3を、負荷分散装置3aが処理要求を振り分ける振り分け先の仮想マシン3とする(S4)。   Thereafter, the management apparatus 1 determines the number of virtual machines corresponding to the number calculated in the process of S3 among the plurality of virtual machines 3 in accordance with the arrangement of the load distribution apparatus 3a on the physical machine 2 specified in the process of S2. 3 is the virtual machine 3 that is the distribution destination to which the load distribution apparatus 3a distributes the processing request (S4).

具体的に、例えば、S2の処理において物理マシン22が特定された場合、管理装置1は、図13に示すように、新たな負荷分散装置3aである負荷分散装置32aを物理マシン22に生成する。そして、管理装置1は、例えば、物理マシン22で動作しているVM32b、32c及び32dに対する処理要求の振り分けを、新たな負荷分散装置3aである負荷分散装置32aに行わせる。   Specifically, for example, when the physical machine 22 is specified in the processing of S2, the management apparatus 1 generates a new load distribution apparatus 32a, which is a load distribution apparatus 3a, in the physical machine 22, as shown in FIG. . For example, the management apparatus 1 causes the load distribution apparatus 32a, which is a new load distribution apparatus 3a, to distribute processing requests to the VMs 32b, 32c, and 32d operating on the physical machine 22.

さらに、例えば、S3の処理において算出された仮想マシン3の数が6台以上である場合、管理装置1は、図14に示すように、物理マシン22に生成されたVM32b、32c及び32dに加え、物理マシン21に生成されたVM31b、31c及び31dに対する処理要求の振り分けを、新たな負荷分散装置3aである負荷分散装置32aに行わせる。そして、この場合、管理装置1は、例えば、図14に示すように、処理要求の振り分け先の仮想マシン3がなくなった負荷分散装置31aを削除する。   Further, for example, when the number of virtual machines 3 calculated in the process of S3 is 6 or more, the management apparatus 1 adds to the VMs 32b, 32c, and 32d generated in the physical machine 22 as shown in FIG. Then, the load distribution device 32a, which is a new load distribution device 3a, distributes processing requests to the VMs 31b, 31c, and 31d generated in the physical machine 21. In this case, for example, as illustrated in FIG. 14, the management device 1 deletes the load distribution device 31 a in which the virtual machine 3 that is the distribution destination of the processing request disappears.

一方、例えば、S2の処理において物理マシン23が特定され、S3の処理において算出された仮想マシン3の数が5台以上である場合、管理装置1は、図15に示すように、物理マシン23に生成されたVM33b及び33cに加え、物理マシン22に生成されたVM32b、32c及び32dに対する処理要求の振り分けを、既存の負荷分散装置3aである負荷分散装置33aに行わせる。   On the other hand, for example, when the physical machine 23 is specified in the process of S2 and the number of virtual machines 3 calculated in the process of S3 is five or more, the management apparatus 1 makes the physical machine 23 as shown in FIG. In addition to the generated VMs 33b and 33c, the load distribution device 33a, which is the existing load distribution device 3a, distributes processing requests to the VMs 32b, 32c, and 32d generated in the physical machine 22.

すなわち、管理装置1は、新たな負荷分散装置3aの追加を行う場合、負荷が比較的小さい物理マシン2に対して新たな負荷分散装置3aの追加を行う。そして、管理装置1は、負荷が大きい物理マシン2に生成された負荷分散装置3aが処理要求の振り分けを行っている仮想マシン3(仮想マシン3の一部)に対する振り分けを、新たな負荷分散装置3aに行わせる。   That is, when adding a new load balancer 3a, the management device 1 adds a new load balancer 3a to a physical machine 2 having a relatively small load. Then, the management apparatus 1 distributes the virtual machine 3 (part of the virtual machine 3) to which the load distribution apparatus 3a generated in the physical machine 2 having a large load distributes the processing request to the new load distribution apparatus. Let 3a do.

これにより、管理装置1は、負荷が大きい物理マシン2に対して新たな負荷分散装置3aが追加されることを防止することが可能になる。また、管理装置1は、負荷が大きい物理マシン2に生成された負荷分散装置3aが振り分けを行う仮想マシン3の数を減らすことによって、負荷が大きい物理マシン2の負荷を抑制することが可能になる。そのため、管理装置1は、各物理マシン2の負荷を平準化させることが可能になる。   As a result, the management apparatus 1 can prevent a new load distribution apparatus 3a from being added to the physical machine 2 with a large load. In addition, the management apparatus 1 can suppress the load on the physical machine 2 having a large load by reducing the number of virtual machines 3 to which the load distribution apparatus 3a generated in the physical machine 2 having a large load distributes. Become. Therefore, the management apparatus 1 can level the load on each physical machine 2.

[第1の実施の形態の詳細]
次に、第1の実施の形態の詳細について説明する。図16から図23は、第1の実施の形態における制御処理の詳細を説明するフローチャート図である。また、図24から図29は、第1の実施の形態における制御処理の詳細を説明する図である。図24から図29を参照しながら、図16から図23に示す制御処理の詳細を説明する。
[Details of First Embodiment]
Next, details of the first embodiment will be described. FIG. 16 to FIG. 23 are flowcharts for explaining the details of the control processing in the first embodiment. FIGS. 24 to 29 are diagrams for explaining the details of the control processing in the first embodiment. Details of the control process shown in FIGS. 16 to 23 will be described with reference to FIGS. 24 to 29.

[振り分け処理]
初めに、利用者端末(図示しない)等から処理要求が送信された場合に行われる処理(以下、振り分け処理とも呼ぶ)について説明を行う。図16及び図17は、振り分け処理を説明する図である。
[Distribution processing]
First, a process (hereinafter also referred to as a distribution process) performed when a process request is transmitted from a user terminal (not shown) or the like will be described. 16 and 17 are diagrams for explaining the distribution process.

管理装置1の処理要求受付部111は、図16に示すように、例えば、利用者が利用者端末(図示しない)を介して送信した処理要求を受信するまで待機する(S11のNO)。   As illustrated in FIG. 16, the processing request reception unit 111 of the management device 1 waits until a processing request transmitted by a user via a user terminal (not shown) is received (NO in S11).

そして、処理要求を受信した場合(S11のYES)、管理装置1の処理要求振分部112は、ホスト管理情報132を参照し、各グループの物理マシン2の負荷の和を算出する(S12)。その後、処理要求振分部112は、振分管理情報131を参照し、S12の処理で算出した和が最も小さいグループに対応する負荷分散装置を特定する(S13)。以下、振分管理情報131及びホスト管理情報132の具体例について説明を行う。   When a processing request is received (YES in S11), the processing request distribution unit 112 of the management apparatus 1 refers to the host management information 132 and calculates the sum of the loads on the physical machines 2 in each group (S12). . Thereafter, the process request distribution unit 112 refers to the distribution management information 131 and identifies a load balancer corresponding to the group having the smallest sum calculated in the process of S12 (S13). Hereinafter, specific examples of the distribution management information 131 and the host management information 132 will be described.

[振分管理情報及びホスト管理情報の具体例]
図24、図26、図28及び図29は、振分管理情報131及びホスト管理情報132の具体例を説明する図である。具体的に、図24(A)、図26(A)、図28(A)及び図29(A)は、振分管理情報131の具体例を説明する図である。また、図24(B)、図26(B)、図28(B)及び図29(B)は、ホスト管理情報132の具体例を説明する図である。なお、図24に示す振分管理情報131及びホスト管理情報132の内容は、図10で説明した各装置の状態に対応する。
[Specific examples of distribution management information and host management information]
24, 26, 28, and 29 are diagrams illustrating specific examples of the distribution management information 131 and the host management information 132. FIG. Specifically, FIGS. 24A, 26A, 28A, and 29A are diagrams illustrating specific examples of the distribution management information 131. FIG. FIGS. 24B, 26B, 28B, and 29B are diagrams illustrating specific examples of the host management information 132. FIG. Note that the contents of the distribution management information 131 and the host management information 132 shown in FIG. 24 correspond to the states of the devices described with reference to FIG.

図24(A)等に示す振分管理情報131は、各グループを識別する「グループID」と、各装置が管理装置1と負荷分散装置3aとのいずれであるかを示す「フラグ」と、各装置を識別する「装置ID」と、各装置のIPアドレスが設定される「IPアドレス」とを項目として有する。「フラグ」には、各装置が管理装置1であることを示す「true」、または、各装置が負荷分散装置3aであることを示す「false」のいずれかが設定される。また、図24(A)等に示す振分管理情報131は、管理装置1が処理要求の振り分けを行う負荷分散装置3aの台数、または、負荷分散装置3が処理要求の振り分けを行う仮想マシン3の台数が設定される「振り分け数」と、管理装置1が処理要求の振り分けを行う負荷分散装置3aの台数の上限値、または、負荷分散装置3が処理要求の振り分けを行う仮想マシン3の台数の上限値が設定される「上限値」とが設定される。さらに、図24(A)等に示す振分管理情報131は、各装置の現在の負荷情報が設定される「負荷情報」と、各装置が生成されている物理マシン2を識別する「ホストID」とが設定される。「負荷情報」には、例えば、各装置に割当てられたCPUの現在の平均使用率が設定される。   The distribution management information 131 shown in FIG. 24A and the like includes a “group ID” that identifies each group, a “flag” that indicates whether each device is the management device 1 or the load distribution device 3a, The items include “device ID” for identifying each device and “IP address” in which the IP address of each device is set. In the “flag”, either “true” indicating that each device is the management device 1 or “false” indicating that each device is the load balancer 3a is set. Further, the distribution management information 131 shown in FIG. 24A or the like indicates the number of load distribution apparatuses 3a to which the management apparatus 1 distributes processing requests, or the virtual machine 3 to which the load distribution apparatus 3 distributes processing requests. And the upper limit value of the number of load distribution devices 3a to which the management device 1 distributes processing requests, or the number of virtual machines 3 to which the load distribution device 3 distributes processing requests. An “upper limit value” is set in which an upper limit value is set. Furthermore, the distribution management information 131 shown in FIG. 24A and the like includes “load information” in which the current load information of each device is set, and “host ID” that identifies the physical machine 2 in which each device is generated. Is set. In the “load information”, for example, the current average usage rate of the CPU assigned to each device is set.

具体的に、図24(A)に示す振分管理装置1において、「グループID」が「0000」である情報には、「フラグ」として「true」が設定され、「装置ID」として「1000」が設定され、「IPアドレス」として「100.100.100.50」が設定されている。そして、図24(A)に示す振分管理装置1において、「グループID」が「0000」である情報には、「振り分け数」として「2(台)」が設定され、「上限値」として「4(台)」が設定され、「負荷情報」として「10%/秒」が設定され、「ホストID」として「2000」が設定される。また、図24(A)に示す振分管理装置1において、「グループID」が「0001」である情報には、「フラグ」として「false」が設定され、「装置ID」として「1001」が設定され、「IPアドレス」として「100.100.100.51」が設定されている。そして、図24(A)に示す振分管理装置1において、「グループID」が「0001」である情報には、「振り分け数」として「6(台)」が設定され、「上限値」として「6(台)」が設定され、「負荷情報」として「10%/秒」が設定され、「ホストID」として「2001」が設定される。図24(A)に含まれる他の情報については説明を省略する。   Specifically, in the distribution management device 1 shown in FIG. 24A, “true” is set as the “flag” and “1000” is set as the “device ID” in the information whose “group ID” is “0000”. Is set, and “100.100.100.50” is set as the “IP address”. In the distribution management apparatus 1 shown in FIG. 24A, “2 (units)” is set as the “number of distributions” in the information whose “group ID” is “0000”, and the “upper limit value” is set. “4 (unit)” is set, “10% / second” is set as “load information”, and “2000” is set as “host ID”. Also, in the distribution management device 1 shown in FIG. 24A, “false” is set as “flag” and “1001” is set as “device ID” in the information whose “group ID” is “0001”. Is set, and “100.100.100.51” is set as the “IP address”. In the distribution management apparatus 1 shown in FIG. 24A, “6 (units)” is set as the “number of distributions” and “upper limit value” is set in the information whose “group ID” is “0001”. “6 (unit)” is set, “10% / second” is set as “load information”, and “2001” is set as “host ID”. Description of other information included in FIG.

また、図24(B)等に示すホスト管理情報132には、各グループを識別する「グループID」と、各物理マシン2を識別する「ホストID」と、各物理マシン2のIPアドレスが設定される「IPアドレス」とを項目として有する。そして、図24(B)等に示すホスト管理情報132には、各物理マシン2に生成された仮想マシン3の数が設定される「VM数」と、負荷分散装置3aと負荷分散装置3aによって処理要求の振り分けが行われる仮想マシン3との合計数が設定される「自サービスVM数」と、各物理マシン2の現在の負荷情報が設定される「負荷情報」とを項目として有する。   In the host management information 132 shown in FIG. 24B and the like, a “group ID” for identifying each group, a “host ID” for identifying each physical machine 2, and the IP address of each physical machine 2 are set. “IP address” as an item. In the host management information 132 shown in FIG. 24B and the like, the “number of VMs” in which the number of virtual machines 3 generated in each physical machine 2 is set, the load balancer 3a, and the load balancer 3a. The item includes “number of own service VMs” in which the total number of virtual machines 3 to which processing requests are distributed is set, and “load information” in which the current load information of each physical machine 2 is set.

具体的に、図24(B)に示すホスト管理情報132において、「グループID」が「00001」であって「ホストID」が「20001」である情報には、「IPアドレス」として「100.100.100.1」が設定され、「VM数」として「4(台)」が設定され、「自サービスVM数」として「4(台)」が設定され、「負荷情報」として「30%/秒」が設定されている。また、図24(B)に示すホスト管理情報132において、「グループID」が「00001」であって「ホストID」が「20002」である情報には、「IPアドレス」として「100.100.100.2」が設定され、「VM数」として「3(台)」が設定され、「自サービスVM数」として「3(台)」が設定され、「負荷情報」として「20%/秒」が設定されている。図24(B)に含まれる他の情報については説明を省略する。   Specifically, in the host management information 132 shown in FIG. 24B, the information “IP ID” is “100.100” in the information whose “group ID” is “00001” and “host ID” is “20001”. 100.100.1 ”is set,“ 4 (units) ”is set as the“ number of VMs ”,“ 4 (units) ”is set as the“ number of own service VMs ”, and“ 30% ”is set as the“ load information ”. / Sec "is set. Also, in the host management information 132 shown in FIG. 24B, the information “IP ID” is “100.100.” In the information where “Group ID” is “00001” and “Host ID” is “20002”. “100.2” is set, “3 (units)” is set as the “number of VMs”, “3 (units)” is set as the “number of own service VMs”, and “20% / second” is set as the “load information” "Is set. Description of other information included in FIG.

そして、処理要求振分部112は、S12の処理において、例えば、図24(B)で説明したホスト管理情報132を参照し、「グループID」が「0001」である情報の「負荷情報」に設定された情報である「30%/秒」と「20%/秒」との和である「50%/秒」を算出する。また、処理要求振分部112は、例えば、図24(B)で説明したホスト管理情報132を参照し、「グループID」が「0002」である情報の「負荷情報」に設定された情報である「30%/秒」を特定する。すなわち、処理要求振分部112は、「グループID」が「0001」であるグループに含まれる各物理マシン2の負荷の和として「50%/秒」を算出し、「グループID」が「0002」であるグループに含まれる各物理マシン2の負荷の和として「30%/秒」を算出する。   Then, in the process of S12, the process request distribution unit 112 refers to, for example, the host management information 132 described with reference to FIG. 24B, and sets the “load information” of the information whose “group ID” is “0001”. “50% / second”, which is the sum of the set information “30% / second” and “20% / second”, is calculated. Further, the processing request distribution unit 112 refers to, for example, the host management information 132 described with reference to FIG. 24B, and is information set to “load information” of the information whose “group ID” is “0002”. A certain “30% / second” is specified. That is, the processing request distribution unit 112 calculates “50% / second” as the sum of the loads of the physical machines 2 included in the group whose “group ID” is “0001”, and the “group ID” is “0002”. "30% / second" is calculated as the sum of the loads of the physical machines 2 included in the group "."

その後、処理要求振分部112は、S13の処理において、図24(A)で説明した振分管理情報131を参照し、S12の処理において算出した「30%/秒」(S12の処理において算出した「50%/秒」及び「30%/秒」のうちの最小の値)に対応する「0001」が「グループID」に設定された情報の「装置ID」に設定された情報である「10001」を特定する。   Thereafter, the process request distribution unit 112 refers to the distribution management information 131 described with reference to FIG. 24A in the process of S13, and calculates “30% / second” calculated in the process of S12 (calculated in the process of S12). "0001" corresponding to "50% / second" and "30% / second") is the information set in "device ID" of the information set in "group ID" “10001” is specified.

図16に戻り、処理要求振分部112は、S13の処理で特定した負荷分散装置3aに、S11の処理で受け付けた処理要求を送信する(S14)。具体的に、S13の処理で特定した負荷分散装置3aの「グループID」が「10001」である場合、「グループID」が「10001」である負荷分散装置3aに対して、S11の処理で受け付けた処理要求を送信する。   Returning to FIG. 16, the process request distribution unit 112 transmits the process request received in the process of S11 to the load distribution apparatus 3a specified in the process of S13 (S14). Specifically, when the “group ID” of the load balancer 3a specified in the process of S13 is “10001”, the load balancer 3a whose “group ID” is “10001” is accepted in the process of S11. Send the processing request.

これにより、管理装置1は、各負荷分散装置3aにおける処理負担を平準化することが可能になる。   As a result, the management apparatus 1 can level the processing load on each load distribution apparatus 3a.

一方、負荷分散装置3aの処理要求受付部311は、図17に示すように、管理装置1から送信された処理要求を受信するまで待機する(S21のNO)。   On the other hand, as shown in FIG. 17, the processing request reception unit 311 of the load distribution device 3a waits until it receives a processing request transmitted from the management device 1 (NO in S21).

そして、処理要求を受信した場合(S21のYES)、処理要求振分部312は、VM管理情報133を参照し、自装置が処理要求を振り分ける仮想マシン3から、負荷情報が最も小さい仮想マシン3を特定する(S22)。以下、VM管理情報の具体例について説明を行う。   When the processing request is received (YES in S21), the processing request distribution unit 312 refers to the VM management information 133, and the virtual machine 3 with the smallest load information from the virtual machine 3 to which the own device distributes the processing request. Is specified (S22). Hereinafter, specific examples of the VM management information will be described.

[VM管理情報の具体例]
図25及び図27は、VM管理情報133の具体例を説明する図である。なお、図25に示すVM管理情報133の内容は、図10で説明した各装置の状態に対応する。
[Specific example of VM management information]
25 and 27 are diagrams for explaining a specific example of the VM management information 133. FIG. Note that the content of the VM management information 133 illustrated in FIG. 25 corresponds to the state of each device described with reference to FIG.

図25等に示すVM管理情報133は、各仮想マシン3が生成されている物理マシン2を識別する「ホストID」と、各仮想マシン3を識別する「VMID」と、各仮想マシン3のIPアドレスが設定される「IPアドレス」とを項目として有する。また、図25等に示すVM管理情報133は、各仮想マシン3が動作することによって利用者に提供するサービスを識別する「処理種別」と、各仮想マシン3の現在の負荷情報が設定される「負荷情報」とを項目として有する。   The VM management information 133 illustrated in FIG. 25 and the like includes a “host ID” that identifies the physical machine 2 in which each virtual machine 3 is generated, a “VMID” that identifies each virtual machine 3, and the IP of each virtual machine 3. “IP address” to which an address is set is included as an item. Further, the VM management information 133 illustrated in FIG. 25 and the like is set with a “processing type” for identifying a service provided to the user by the operation of each virtual machine 3 and the current load information of each virtual machine 3. “Load information” is included as an item.

具体的に、図25に示すVM管理情報133において、「ホストID」が「20001」であって「VMID」が「30001」である情報には、「IPアドレス」として「100.100.100.101」が設定され、「処理種別」として「A」が設定され、「負荷情報」として「10%/秒」が設定される。また、図25に示すVM管理情報133において、「ホストID」が「20001」であって「VMID」が「30002」である情報には、「IPアドレス」として「100.100.100.102」が設定され、「処理種別」として「A」が設定され、「負荷情報」として「5%/秒」が設定される。図25に含まれる他の情報については説明を省略する。   Specifically, in the VM management information 133 illustrated in FIG. 25, the information “host ID” is “20001” and “VMID” is “30001” has “100.100.100. 101 ”is set,“ A ”is set as“ Processing type ”, and“ 10% / second ”is set as“ Load information ”. Also, in the VM management information 133 shown in FIG. 25, the information “IP ID” is “100.100.100.102” for the information that “host ID” is “20001” and “VMID” is “30002”. Is set, “A” is set as the “processing type”, and “5% / second” is set as the “load information”. Description of other information included in FIG. 25 is omitted.

そして、S22の処理において、負荷分散装置31aが管理装置1から処理要求を受信した場合、処理要求振分部312は、例えば、図25に示すVM管理情報133を参照し、負荷分散装置31aが動作している物理マシン2に対応する「20001」が「ホストID」に設定された情報の「VMID」に設定された情報である「30001」、「30002」及び「30003」を特定する。ここで、図25に示すVM管理情報133において、「VMID」に「30001」、「30002」及び「30003」が設定された情報の「負荷情報」には、「10%/秒」、「5%/秒」及び「10%/秒」がそれぞれ設定されている。そのため、処理要求振分部312は、「5%/秒」(「10%/秒」、「5%/秒」及び「10%/秒」のうちの最小の値)が「負荷情報」に設定された情報の「VMID」に設定された情報である「30002」を特定する(S22)。   In the process of S22, when the load distribution apparatus 31a receives a process request from the management apparatus 1, the process request distribution unit 312 refers to, for example, the VM management information 133 illustrated in FIG. “20001” corresponding to the operating physical machine 2 identifies “30001”, “30002”, and “30003” that are information set in “VMID” of the information set in “Host ID”. Here, in the VM management information 133 illustrated in FIG. 25, “10% / second”, “5” is included in “load information” of information in which “30001”, “30002”, and “30003” are set in “VMID”. % / Second "and" 10% / second "are set. Therefore, the processing request distribution unit 312 sets “5% / second” (the minimum value among “10% / second”, “5% / second”, and “10% / second”) to “load information”. “30002”, which is the information set in “VMID” of the set information, is specified (S22).

図16に戻り、処理要求振分部312は、S22の処理で特定した仮想マシン3に、S21の処理で受け付けた処理要求を送信する(S23)。具体的に、処理要求振分部312は、S22の処理において、「VMID」が「30002」である仮想マシン3が特定された場合、「VMID」が「30002」である仮想マシン3に処理要求を送信する。   Returning to FIG. 16, the process request distribution unit 312 transmits the process request received in the process of S21 to the virtual machine 3 specified in the process of S22 (S23). Specifically, when the virtual machine 3 whose “VMID” is “30002” is identified in the processing of S22, the processing request distribution unit 312 requests the virtual machine 3 whose “VMID” is “30002”. Send.

これにより、負荷分散装置3aは、処理要求を振り分ける各仮想マシン3における処理負担を平準化することが可能になる。   As a result, the load distribution device 3a can level the processing load on each virtual machine 3 that distributes processing requests.

[情報更新処理]
次に、情報格納領域130に記憶された振分管理情報131、ホスト管理情報132及びVM管理情報133の更新を行う処理(以下、情報更新処理とも呼ぶ)について説明を行う。図18は、情報更新処理を説明する図である。
[Information update processing]
Next, processing for updating the distribution management information 131, the host management information 132, and the VM management information 133 stored in the information storage area 130 (hereinafter also referred to as information update processing) will be described. FIG. 18 is a diagram illustrating the information update process.

管理装置1の情報取得部113は、図18に示すように、情報取得タイミングまで待機する(S31のNO)。情報取得タイミングは、振分管理情報131、ホスト管理情報132及びVM管理情報133の更新に必要な情報を取得するタイミングであり、例えば、定期的なタイミングであってよい。   As illustrated in FIG. 18, the information acquisition unit 113 of the management device 1 waits until the information acquisition timing (NO in S31). The information acquisition timing is a timing for acquiring information necessary for updating the distribution management information 131, the host management information 132, and the VM management information 133, and may be a periodic timing, for example.

そして、情報取得タイミングになった場合(S31のYES)、情報取得部113は、各物理マシン2にアクセスし、振分管理情報131、ホスト管理情報132及びVM管理情報133の更新に必要な情報を取得する(S32)。   Then, when the information acquisition timing comes (YES in S31), the information acquisition unit 113 accesses each physical machine 2, and information necessary for updating the distribution management information 131, the host management information 132, and the VM management information 133 Is acquired (S32).

具体的に、情報取得部113は、例えば、ホスト管理情報132における「VM数」及び「自サービスVM数」に設定される情報を取得する。また、情報取得部113は、例えば、VM管理情報133における「VMID」、「IPアドレス」、「処理種別」及び「負荷情報」に設定される情報を取得する。   Specifically, the information acquisition unit 113 acquires information set in “number of VMs” and “number of own service VMs” in the host management information 132, for example. Further, the information acquisition unit 113 acquires information set in “VMID”, “IP address”, “processing type”, and “load information” in the VM management information 133, for example.

その後、管理装置1の情報管理部114は、S32の処理で取得した情報に基づき、情報格納領域130に記憶された振分管理情報131、ホスト管理情報132及びVM管理情報133を更新する(S33)。   Thereafter, the information management unit 114 of the management apparatus 1 updates the distribution management information 131, the host management information 132, and the VM management information 133 stored in the information storage area 130 based on the information acquired in the process of S32 (S33). ).

具体的に、情報管理部114は、例えば、S32の処理で取得した情報によって、ホスト管理情報132及びVM管理情報133を更新する。また、情報管理部114は、S32の処理で取得した情報から、振分管理情報131における「振り分け数」及び「上限値」に設定される情報と、ホスト管理情報132における「負荷情報」に設定される情報とを算出し、算出した情報によって、振分管理情報131及びホスト管理情報132を更新する。   Specifically, the information management unit 114 updates the host management information 132 and the VM management information 133 with the information acquired in the process of S32, for example. Further, the information management unit 114 sets the information set in the “distribution number” and “upper limit” in the distribution management information 131 and the “load information” in the host management information 132 from the information acquired in the process of S32. The distribution management information 131 and the host management information 132 are updated with the calculated information.

これにより、管理装置1は、仮想マシン3の状態の変化等に応じて随時更新された情報に基づいて、制御処理を行うことが可能になる。   As a result, the management apparatus 1 can perform control processing based on information updated as needed according to a change in the state of the virtual machine 3 or the like.

[制御処理の詳細]
次に、制御処理の詳細について説明を行う。図19から図23は、制御処理の詳細を説明する図である。
[Details of control processing]
Next, details of the control process will be described. 19 to 23 are diagrams illustrating details of the control process.

管理装置1の配置先特定部115は、図19に示すように、制御タイミングまで待機する(S41のNO)。制御タイミングは、例えば、定期的なタイミングであってよい。   As shown in FIG. 19, the placement destination specifying unit 115 of the management device 1 waits until the control timing (NO in S41). The control timing may be a periodic timing, for example.

そして、制御タイミングになった場合(S41のYES)、配置先特定部115は、情報格納領域130に記憶されたホスト管理情報132に含まれる負荷情報を取得する(S42)。具体的に、配置先特定部115は、ホスト管理情報132に含まれる情報のうち、物理マシン2ごとの負荷情報を取得する。また、配置先特定部115は、この場合、情報格納領域130に記憶された閾値情報134を取得する(S43)。   When the control timing comes (YES in S41), the placement destination specifying unit 115 acquires the load information included in the host management information 132 stored in the information storage area 130 (S42). Specifically, the placement destination specifying unit 115 acquires the load information for each physical machine 2 from the information included in the host management information 132. In this case, the placement destination specifying unit 115 acquires the threshold information 134 stored in the information storage area 130 (S43).

その後、配置先特定部115は、複数の物理マシン2から、S42の処理で取得した負荷情報がS43の処理で取得した閾値情報134を上回る物理マシン2を特定する(S44)。   Thereafter, the placement destination specifying unit 115 specifies the physical machine 2 from the plurality of physical machines 2 in which the load information acquired in the process of S42 exceeds the threshold information 134 acquired in the process of S43 (S44).

その結果、負荷情報が閾値情報134を上回る物理マシン2が存在しなかった場合(S45のNO)、配置先特定部115は、制御処理を終了する。すなわち、配置先特定部115は、この場合、新たな負荷分散装置3aを物理マシン2のいずれかに配置する必要がないと判定する。   As a result, when there is no physical machine 2 whose load information exceeds the threshold information 134 (NO in S45), the placement destination specifying unit 115 ends the control process. That is, in this case, the placement destination specifying unit 115 determines that it is not necessary to place a new load distribution device 3a in any of the physical machines 2.

一方、負荷情報が閾値情報134を上回る物理マシン2が存在した場合(S45のYES)、配置先特定部115は、図20以降に示すように、新たな負荷分散装置3aを物理マシン2のいずれかに配置するための処理を行う。以下、負荷情報が閾値情報134を上回る物理マシン2が存在する場合の具体例について説明を行う。   On the other hand, when there is a physical machine 2 whose load information exceeds the threshold information 134 (YES in S45), the placement destination specifying unit 115 assigns a new load balancer 3a to any of the physical machines 2, as shown in FIG. Performs processing to arrange the crab. Hereinafter, a specific example in the case where there is a physical machine 2 whose load information exceeds the threshold information 134 will be described.

[負荷情報が閾値情報を上回る物理マシンが存在する場合の具体例]
図26及び図27は、負荷情報が閾値情報134を上回る物理マシン2が存在する場合における振分管理情報131、ホスト管理情報132及びVM管理情報133の具体例について説明する図である。具体的に、図11で説明したように、物理マシン21に他の仮想マシン3であるVM31eが生成された結果、物理マシン21の負荷情報が閾値情報134を上回った場合における各情報の具体例について説明を行う。
[Specific example when there is a physical machine whose load information exceeds the threshold information]
26 and 27 are diagrams illustrating specific examples of the distribution management information 131, the host management information 132, and the VM management information 133 when there is a physical machine 2 whose load information exceeds the threshold information 134. FIG. Specifically, as described in FIG. 11, specific examples of each information when the load information of the physical machine 21 exceeds the threshold information 134 as a result of the VM 31e that is another virtual machine 3 being generated in the physical machine 21. Will be described.

この場合、情報管理部114は、図26(B)の下線部分に示すように、「グループID」が「0001」であって「ホストID」が「20001」である情報の「VM数」に設定されている値に1を加算する。一方、情報管理部114は、物理マシン21に生成されたVM31eが他の仮想マシン3であるため、「自サービスVM数」に設定されている値の更新を行わない。   In this case, the information management unit 114 sets the “number of VMs” of the information whose “group ID” is “0001” and “host ID” is “20001” as indicated by the underlined portion in FIG. Add 1 to the set value. On the other hand, the information management unit 114 does not update the value set in the “number of own service VMs” because the VM 31e generated in the physical machine 21 is another virtual machine 3.

また、情報管理部114は、この場合、「グループID」が「0001」であって「ホストID」が「20001」である情報の「負荷情報」を更新する。具体的に、情報管理部114は、図26(B)の下線部分に示すように、例えば、「グループID」が「0001」であって「ホストID」が「20001」である情報の「負荷情報」を「45%秒」に更新する。   Further, in this case, the information management unit 114 updates “load information” of information whose “group ID” is “0001” and whose “host ID” is “20001”. Specifically, as illustrated in the underlined portion of FIG. 26B, the information management unit 114, for example, “load” of information whose “group ID” is “0001” and “host ID” is “20001”. Information "is updated to" 45% seconds ".

さらに、情報管理部114は、物理マシン21に生成されたVM31eに対応する情報として、例えば、図27の下線部分に示すように、「ホストID」が「20001」であり、「VMID」が「30009」であり、「IPアドレス」が「100.100.100.109」であり、「処理種別」が「B」であり、「負荷情報」が「15%/秒」である情報を追加する。   Further, as information corresponding to the VM 31e generated in the physical machine 21, the information management unit 114 has “host ID” “20001” and “VMID” “ 30009 ”,“ IP Address ”is“ 100.100.100.109 ”,“ Processing Type ”is“ B ”, and“ Load Information ”is“ 15% / sec ”. .

そして、例えば、情報格納領域130に記憶されている閾値情報134が示す値が「40%/秒」である場合、配置先特定部115は、物理マシン21の負荷情報が閾値情報134を上回っていると判定し、新たな負荷分散装置3aを物理マシン2のいずれかに配置するための処理を開始する(S44、S45のYES)。   For example, when the value indicated by the threshold information 134 stored in the information storage area 130 is “40% / second”, the placement destination specifying unit 115 indicates that the load information of the physical machine 21 exceeds the threshold information 134. And start processing for placing a new load balancer 3a in any of the physical machines 2 (YES in S44 and S45).

図19に戻り、負荷情報が閾値情報134を上回る物理マシン2が存在した場合(S45のYES)、配置先特定部115は、図20に示すように、ホスト管理情報132を参照し、複数の物理マシン2のうち、存在した物理マシン2において動作する負荷分散装置3aによって処理要求が振り分けられている1以上の仮想マシン3が動作する1以上の物理マシン2を特定する(S51)。   Returning to FIG. 19, when there is a physical machine 2 whose load information exceeds the threshold information 134 (YES in S45), the placement destination specifying unit 115 refers to the host management information 132 as shown in FIG. Among the physical machines 2, one or more physical machines 2 on which one or more virtual machines 3 to which processing requests are distributed by the load balancer 3a operating on the existing physical machines 2 operate are specified (S51).

具体的に、物理マシン21の負荷情報が閾値情報134を上回っている場合、配置先特定部115は、例えば、図26(B)で説明したホスト管理情報132を参照し、物理マシン21と、「グループID」に設定された情報が物理マシン21と同じである物理マシン22とを特定する。   Specifically, when the load information of the physical machine 21 exceeds the threshold information 134, the placement destination specifying unit 115 refers to the host management information 132 described with reference to FIG. The physical machine 22 in which the information set in the “group ID” is the same as the physical machine 21 is specified.

そして、配置先特定部115は、ホスト管理情報132を参照し、S51の処理で特定した1以上の物理マシンから、負荷情報が所定の閾値未満である物理マシン2を特定する(S52)。所定の閾値は、例えば、各物理マシン2の負荷情報が示す値から、S45の処理で存在した物理マシン2において動作している負荷分散装置3aの負荷情報が示す値を減算した値であってよい。   Then, the placement destination specifying unit 115 refers to the host management information 132 and specifies the physical machine 2 whose load information is less than a predetermined threshold from one or more physical machines specified in the process of S51 (S52). The predetermined threshold is, for example, a value obtained by subtracting the value indicated by the load information of the load balancer 3a operating in the physical machine 2 existing in the process of S45 from the value indicated by the load information of each physical machine 2. Good.

具体的に、物理マシン21の負荷情報が閾値情報134を上回っている場合、配置先特定部115は、例えば、図26(A)で説明した振分管理情報131を参照し、物理マシン21の負荷分散装置3aに対応する「10001」が「装置ID」に設定された情報の「負荷情報」に設定されている情報である「10%/秒」を特定する。また、配置先特定部115は、例えば、図26(B)で説明したホスト管理情報132を参照し、物理マシン21と同じグループに含まれる物理マシン22に対応する「20002」が「ホストID」に設定された情報の「負荷情報」に設定されている情報である「20%/秒」を特定する。   Specifically, when the load information of the physical machine 21 exceeds the threshold information 134, the placement destination specifying unit 115 refers to the distribution management information 131 described with reference to FIG. “10001” corresponding to the load balancer 3a specifies “10% / second” which is information set in “load information” of information set in “device ID”. For example, the placement destination specifying unit 115 refers to the host management information 132 described with reference to FIG. 26B, and “20002” corresponding to the physical machine 22 included in the same group as the physical machine 21 is “host ID”. “20% / second”, which is the information set in the “load information” of the information set in “1”, is specified.

そして、情報格納領域130に記憶された閾値情報134が「40%/秒」である場合、所定の閾値は、特定した値である「10%/秒」を閾値情報134である「40%/秒」から減算した「30%/秒」であり、特定した値である「20%/秒」よりも大きい。そのため、配置先特定部115は、この場合、負荷情報が所定の閾値未満である物理マシン2として物理マシン22を特定する。   When the threshold information 134 stored in the information storage area 130 is “40% / second”, the predetermined threshold is “10% / second”, which is the specified value, and the threshold information 134 is “40% / second”. “30% / second” subtracted from “second”, which is larger than the specified value “20% / second”. Therefore, in this case, the placement destination specifying unit 115 specifies the physical machine 22 as the physical machine 2 whose load information is less than a predetermined threshold.

その後、負荷情報が所定の閾値未満である物理マシン2が存在した場合(S53のYES)、配置先特定部115は、存在した物理マシン2のいずれかを、新たな負荷分散装置3aの配置先の物理マシン2として決定し、決定した物理マシン2に対し、新たな負荷分散装置3aを配置する(S54)。   Thereafter, when there is a physical machine 2 whose load information is less than the predetermined threshold (YES in S53), the placement destination specifying unit 115 designates any of the existing physical machines 2 as the placement destination of the new load balancer 3a. And a new load balancer 3a is arranged for the determined physical machine 2 (S54).

さらに、管理装置1の振分先決定部117は、この場合、S53の処理で存在した物理マシン2において動作する仮想マシン3のうち、処理要求が振り分けされる仮想マシン3の全てを、S54の処理で配置した負荷分散装置3aが処理要求を振り分ける仮想マシン3として決定する(S55)。   Further, in this case, the distribution destination determination unit 117 of the management apparatus 1 selects all the virtual machines 3 to which the processing request is distributed among the virtual machines 3 operating in the physical machine 2 that existed in the processing of S53 in S54. The load distribution apparatus 3a arranged in the process determines the virtual machine 3 that distributes the process request (S55).

具体的に、物理マシン22において、負荷分散装置31aが処理要求を振り分ける仮想マシン3としてVM32b、32c及び32dが動作していた場合、振分先決定部117は、VM32b、32c及び32dを、新たな負荷分散装置3aである負荷分散装置32aが処理要求を振り分ける仮想マシン3として決定する。   Specifically, in the physical machine 22, when the VMs 32b, 32c, and 32d are operating as the virtual machines 3 to which the load distribution apparatus 31a distributes processing requests, the distribution destination determination unit 117 newly sets the VMs 32b, 32c, and 32d. The load balancer 32a, which is a simple load balancer 3a, determines the virtual machine 3 that distributes processing requests.

すなわち、配置先特定部115は、物理マシン21の負荷情報が閾値情報134を上回っている場合、物理マシン21で動作する負荷分散装置31aが処理要求を振り分ける仮想マシン3の数を抑制する。   That is, when the load information of the physical machine 21 exceeds the threshold information 134, the placement destination specifying unit 115 suppresses the number of virtual machines 3 to which the load distribution apparatus 31a operating on the physical machine 21 distributes processing requests.

これにより、管理装置1は、負荷情報が閾値情報134を上回っている物理マシン21の負荷を低減させることが可能になる。   As a result, the management apparatus 1 can reduce the load on the physical machine 21 whose load information exceeds the threshold information 134.

続いて、管理装置1のマシン数算出部116は、図21に示すように、S54の処理で配置した負荷分散装置3aが、S55の処理で決定した仮想マシン3以外の仮想マシン3に対しても処理要求を振り分けることが可能であるか否かを、S51の処理で特定した1以上の物理マシン2のうち、S54の処理で決定した物理マシン2以外の物理マシン2に生成された仮想マシン3毎に判定する(S61)。   Subsequently, as illustrated in FIG. 21, the machine number calculation unit 116 of the management apparatus 1 applies to the virtual machines 3 other than the virtual machine 3 determined by the load distribution apparatus 3 a arranged in the process of S <b> 54. The virtual machine generated in the physical machine 2 other than the physical machine 2 determined in the process of S54 among the one or more physical machines 2 specified in the process of S51 as to whether or not the process request can be distributed. A determination is made every three (S61).

そして、S55の処理で決定した仮想マシン3以外の仮想マシン3に対しても処理要求を振り分けることが可能であると判定した場合(S62のYES)、振分先決定部117は、S62の処理で振り分けることが可能であると判定した仮想マシン3を、S54の処理で配置した新たな負荷分散装置3aが処理要求を振り分ける仮想マシン3として決定する(S63)。   If it is determined that the processing request can be distributed to the virtual machines 3 other than the virtual machine 3 determined in S55 (YES in S62), the distribution destination determination unit 117 performs the process in S62. The virtual machine 3 that has been determined to be able to be distributed at step S54 is determined as the virtual machine 3 to which the new load distribution apparatus 3a arranged in the process of S54 distributes the processing request (S63).

すなわち、新たな負荷分散装置3aを生成した物理マシン2は、その物理マシン2において動作する仮想マシン3だけでなく、その物理マシン2において動作する仮想マシン3以外の仮想マシン3に対しても処理要求の振り分けを行うことが可能である場合がある。そのため、マシン数算出部116は、S61の処理において、S54の処理で配置した負荷分散装置3aがより多くの仮想マシン3に対して処理要求の振り分けを行うことが可能であるか否かの判定を行う。   In other words, the physical machine 2 that has generated the new load balancer 3 a performs processing not only on the virtual machine 3 that operates on the physical machine 2 but also on virtual machines 3 other than the virtual machine 3 that operates on the physical machine 2. It may be possible to distribute requests. Therefore, the number-of-machines calculation unit 116 determines whether or not the load distribution device 3a arranged in the process of S54 can distribute processing requests to more virtual machines 3 in the process of S61. I do.

具体的に、マシン数算出部116は、例えば、振分管理情報131における「振り分け数」に設定された値が「上限値」に設定された値を上回らない範囲内で、S54の処理で決定した物理マシン2以外の物理マシン2において動作する処理要求の振り分け先の仮想マシン3の数を、各物理マシン2に生成された仮想マシン3毎に、S54の処理で配置した負荷分散装置3aに対応する「振り分け数」に設定された値に加算する。そして、マシン数算出部116は、「振り分け数」に設定された値に対して仮想マシン3の数が加算された仮想マシン3を、新たな負荷分散装置3aが振り分ける仮想マシン3として決定する。   Specifically, the number-of-machines calculation unit 116 determines, for example, in the process of S54 within a range where the value set in the “number of distributions” in the distribution management information 131 does not exceed the value set in the “upper limit value”. The number of virtual machines 3 to which processing requests distributed on physical machines 2 other than the physical machine 2 are distributed are assigned to the load balancer 3a arranged in the process of S54 for each virtual machine 3 generated in each physical machine 2. Add to the value set in the corresponding "number of distributions". Then, the number-of-machines calculation unit 116 determines the virtual machine 3 obtained by adding the number of virtual machines 3 to the value set in the “number of distributions” as the virtual machine 3 to which the new load balancer 3a distributes.

その後、情報管理部114は、S45の処理で存在した物理マシン2で動作していた負荷分散装置3aが削除可能であるか否かを判定する(S64)。具体的に、情報管理部114は、S45の処理で存在した物理マシン2で動作していた負荷分散装置3aが処理要求の振り分けを行う仮想マシン3が存在しているか否かの判定を行う。なお、情報管理部114は、S62の処理において、S55の処理で決定した仮想マシン3以外の仮想マシン3に対して処理要求を振り分けることが可能でないと判定した場合も同様に(S62のNO)、S64の処理を行う。   Thereafter, the information management unit 114 determines whether or not the load balancer 3a operating on the physical machine 2 existing in the process of S45 can be deleted (S64). Specifically, the information management unit 114 determines whether or not there is the virtual machine 3 to which the load distribution apparatus 3a operating on the physical machine 2 existing in the process of S45 distributes the processing request. Similarly, when the information management unit 114 determines in the process of S62 that the process request cannot be distributed to the virtual machines 3 other than the virtual machine 3 determined in the process of S55 (NO in S62). , S64 is performed.

そして、S45の処理で存在した物理マシン2で動作していた負荷分散装置3aが削除可能であると判定した場合(S64のYES)、情報管理部114は、S45の処理で存在した物理マシン2で動作していた負荷分散装置3aの削除を行う(S65)。一方、S45の処理で存在した物理マシン2で動作していた負荷分散装置3aが削除可能でないと判定した場合(S64のNO)、情報管理部114は、S65の処理を行わない。   If it is determined that the load balancer 3a operating on the physical machine 2 existing in the process of S45 can be deleted (YES in S64), the information management unit 114 determines that the physical machine 2 existing in the process of S45. The load balancer 3a that has been operating in (1) is deleted (S65). On the other hand, when it is determined that the load balancer 3a operating on the physical machine 2 existing in the process of S45 cannot be deleted (NO in S64), the information management unit 114 does not perform the process of S65.

これにより、負荷情報が閾値情報134を上回っている物理マシン21の負荷をより低減させることが可能になる。   Thereby, it is possible to further reduce the load on the physical machine 21 whose load information exceeds the threshold information 134.

[振分管理情報及びホスト管理情報の具体例(1)]
次に、S63及びS65の処理が行われた場合における振分管理情報131及びホスト管理情報132の具体例について説明を行う。具体的に、各装置が図14で説明した状態になった場合に、情報更新処理において更新された振分管理情報131及びホスト管理情報132の具体例について説明を行う。
[Specific example of distribution management information and host management information (1)]
Next, specific examples of the distribution management information 131 and the host management information 132 when the processes of S63 and S65 are performed will be described. Specifically, specific examples of the distribution management information 131 and the host management information 132 updated in the information update process when each device is in the state described in FIG. 14 will be described.

情報管理部114は、この場合、図28(A)に示すように、図26(A)に示す振分管理情報131のうち、「グループID」に「00001」が設定され、「装置ID」に「10001」が設定された情報を削除する。そして、情報管理部114は、図28の下線部分に示すように、「グループID」に「00001」が設定され、「フラグ」に「false」が設定され、「装置ID」に「10003」が設定され、「IPアドレス」に「100.100.100.53」が設定され、「振り分け数」に「6」が設定され、「上限値」に「6」が設定され、「負荷情報」に「10%/秒」が設定され、「ホストID」に「20002」が設定された情報を追加する。   In this case, as shown in FIG. 28A, the information management unit 114 sets “00001” in “Group ID” in the distribution management information 131 shown in FIG. Information with “10001” set in is deleted. Then, the information management unit 114 sets “00001” to “Group ID”, “false” to “Flag”, and “10003” to “Device ID”, as indicated by the underlined portion in FIG. “100.100.100.53” is set in the “IP address”, “6” is set in the “number of distributions”, “6” is set in the “upper limit value”, and “load information” is set in the “load information”. Information in which “10% / second” is set and “20002” is set in “host ID” is added.

すなわち、情報管理部114は、物理マシン21において動作していた負荷分散装置31aが削除され、物理マシン22に負荷分散装置32aが生成されたことを示す情報を振分管理情報131に反映させる。また、情報管理部114は、物理マシン22に生成された3台の仮想マシン3のみでなく、物理マシン21に生成された3台の仮想マシン3に対する処理要求の振り分けを、負荷分散装置31aに代わって負荷分散装置32aが開始したことを示す情報を振分管理情報131に反映させる。   That is, the information management unit 114 causes the distribution management information 131 to reflect information indicating that the load balancer 31 a that has been operating in the physical machine 21 has been deleted and the load balancer 32 a has been generated in the physical machine 22. In addition, the information management unit 114 distributes processing requests to the three virtual machines 3 generated in the physical machine 21 as well as the three virtual machines 3 generated in the physical machine 22 to the load balancer 31a. Instead, information indicating that the load distribution device 32 a has started is reflected in the distribution management information 131.

また、情報管理部114は、この場合、図28(B)に示すように、「グループID」が「00001」であって「ホストID」が「20001」である情報の「VM数」及び「自サービスのVM数」に設定された値から1を減算する。そして、情報管理部114は、図28(B)に示すように、「グループID」が「00001」であって「ホストID」が「20002」である情報の「VM数」及び「自サービスのVM数」に設定された値に1を加算する。   Further, in this case, as shown in FIG. 28B, the information management unit 114 sets the “number of VMs” and the “group ID” of the information whose “group ID” is “00001” and “host ID” is “20001”. 1 is subtracted from the value set in the “number of VMs of own service”. Then, as shown in FIG. 28B, the information management unit 114 displays “number of VMs” and “own service” of the information whose “group ID” is “00001” and “host ID” is “20002”. 1 is added to the value set in the “number of VMs”.

すなわち、情報管理部114は、物理マシン21において動作していた負荷分散装置31aが削除され、物理マシン22に負荷分散装置32aが生成されたことを示す情報をホスト管理情報132に反映させる。   That is, the information management unit 114 causes the host management information 132 to reflect information indicating that the load balancer 31 a that has been operating in the physical machine 21 has been deleted and the load balancer 32 a has been generated in the physical machine 22.

図20に戻り、S53の処理において、負荷情報が所定の閾値未満である物理マシン2が存在しなかった場合(S53のNO)、配置先特定部115は、図22に示すように、ホスト管理情報132を参照し、他のグループの物理マシン2から、S51の処理で特定した1以上の物理マシン2以外の物理マシン2で動作している負荷分散装置3aを特定する(S71)。   Returning to FIG. 20, in the process of S53, when there is no physical machine 2 whose load information is less than the predetermined threshold (NO in S53), the placement destination specifying unit 115 performs host management as shown in FIG. Referring to the information 132, the load balancer 3a operating in the physical machine 2 other than the one or more physical machines 2 identified in the process of S51 is identified from the physical machines 2 in other groups (S71).

すなわち、配置先特定部115は、この場合、負荷情報が閾値情報134を上回っている物理マシン2と異なるグループの物理マシン2において動作している負荷分散装置3aのうち、負荷分散装置3aが処理要求を振り分けている仮想マシン3に対しても処理要求を振り分けることが可能な負荷分散装置3aの特定を行う。   That is, in this case, the placement destination specifying unit 115 performs processing by the load balancer 3a among the load balancers 3a operating in the physical machines 2 in a different group from the physical machines 2 whose load information exceeds the threshold information 134. The load balancer 3a that can distribute the processing request to the virtual machine 3 that distributes the request is specified.

具体的に、物理マシン21の負荷情報が閾値情報134を上回っている場合、配置先特定部115は、例えば、図26(B)で説明したホスト管理情報132を参照し、物理マシン21及び物理マシン22以外の物理マシン2である物理マシン23において動作する負荷分散装置33aを特定する。   Specifically, when the load information of the physical machine 21 exceeds the threshold information 134, the placement destination specifying unit 115 refers to, for example, the host management information 132 described with reference to FIG. The load balancer 33a that operates in the physical machine 23 that is the physical machine 2 other than the machine 22 is specified.

そして、マシン数算出部116は、S71の処理で特定した負荷分散装置3aのそれぞれが、S45で存在した物理マシン2において動作する負荷分散装置3aが処理要求を振り分ける仮想マシン3に対しても処理要求を振り分けることが可能であるか否かを、複数の物理マシン2のうち、S51の処理で特定した1以上の物理マシン2に生成された仮想マシン3毎に判定する(S72)。   Then, the number-of-machines calculation unit 116 processes each of the load balancers 3a identified in the process of S71 for the virtual machines 3 to which the load balancer 3a operating in the physical machine 2 existing in S45 distributes the processing request. Whether or not the request can be distributed is determined for each virtual machine 3 generated in one or more physical machines 2 identified in the process of S51 among the plurality of physical machines 2 (S72).

そして、処理要求を振り分けることが可能である負荷分散装置3aが存在しないと判定した場合(S73のNO)、配置先特定部115は、新たな物理マシン2を、新たな負荷分散装置3aの配置先の物理マシン2として決定する(S74)。   If it is determined that there is no load balancer 3a that can distribute processing requests (NO in S73), the placement destination specifying unit 115 assigns a new physical machine 2 to the new load balancer 3a. It is determined as the previous physical machine 2 (S74).

すなわち、配置先特定部115は、この場合、現在動作している物理マシン2のいずれかに、新たな負荷分散装置3aを生成することができないものと判定する。そのため、配置先特定部115は、新たな物理マシン2を用意し、その物理マシン2に新たな負荷分散装置3aを生成する必要があると判定する。そして、配置先特定部115は、例えば、事業者端末5に対し、上記の内容についての出力を行う。   That is, in this case, the placement destination specifying unit 115 determines that a new load distribution device 3a cannot be generated in any of the physical machines 2 that are currently operating. For this reason, the placement destination specifying unit 115 determines that it is necessary to prepare a new physical machine 2 and generate a new load distribution device 3 a in the physical machine 2. And the arrangement | positioning destination specific | specification part 115 performs the output about said content with respect to the provider terminal 5, for example.

一方、S73の処理において、処理要求を振り分けることが可能である物理マシン2が存在すると判定した場合(S73のYES)、配置先特定部115は、図23に示すように、振分先決定部117は、S73の処理で振り分けることが可能であると判定した仮想マシン3を、S71の処理で特定した負荷分散装置3aが処理要求を振り分ける仮想マシン3として決定する(S81)。   On the other hand, in the process of S73, when it is determined that there is a physical machine 2 that can distribute the process request (YES in S73), the placement destination specifying unit 115, as shown in FIG. 117 determines the virtual machine 3 determined to be able to be distributed in the process of S73 as the virtual machine 3 to which the load distribution apparatus 3a specified in the process of S71 distributes the processing request (S81).

具体的に、マシン数算出部116は、例えば、振分管理情報131における「振り分け数」に設定された値が「上限値」に設定された値を上回らない範囲内で、負荷が閾値情報134を上回った物理マシン2において動作する処理要求の振り分け先の仮想マシン3の数を、各物理マシン2に生成された仮想マシン3毎に、S71の処理で特定した負荷分散装置3aに対応する「振り分け数」に設定された値に加算する。そして、マシン数算出部116は、「振り分け数」に設定された値に対して仮想マシン3の数が加算された仮想マシン3を、S71の処理で特定した物理マシン2で動作している負荷分散装置3aが振り分ける仮想マシン3として決定する。   Specifically, the machine number calculation unit 116, for example, loads the threshold information 134 within a range in which the value set in the “number of distributions” in the distribution management information 131 does not exceed the value set in the “upper limit value”. The number of processing request distribution destination virtual machines 3 that operate in the physical machines 2 that exceed the number corresponding to the load balancer 3a identified in the processing of S71 for each virtual machine 3 generated in each physical machine 2 " Add to the value set in "Number of distributions". Then, the number-of-machines calculation unit 116 loads the virtual machine 3 in which the number of virtual machines 3 is added to the value set in the “number of distributions” operating on the physical machine 2 identified in the process of S71. The virtual machine 3 to be distributed by the distribution device 3a is determined.

その後、情報管理部114は、S45の処理で存在した物理マシン2で動作していた負荷分散装置3aが削除可能であるか否かを判定する(S82)。具体的に、情報管理部114は、S45の処理で存在した物理マシン2で動作していた負荷分散装置3aが処理要求の振り分けを行う仮想マシン3が存在しているか否かの判定を行う。   Thereafter, the information management unit 114 determines whether or not the load balancer 3a operating on the physical machine 2 existing in the process of S45 can be deleted (S82). Specifically, the information management unit 114 determines whether or not there is the virtual machine 3 to which the load distribution apparatus 3a operating on the physical machine 2 existing in the process of S45 distributes the processing request.

そして、S45の処理で存在した物理マシン2で動作していた負荷分散装置3aが削除可能であると判定した場合(S82のYES)、情報管理部114は、S45の処理で存在した物理マシン2で動作していた負荷分散装置3aの削除を行う(S83)。一方、S45の処理で存在した物理マシン2で動作していた負荷分散装置3aが削除可能でないと判定した場合(S82のNO)、情報管理部114は、S83の処理を行わない。   If it is determined that the load balancer 3a operating on the physical machine 2 existing in the process of S45 can be deleted (YES in S82), the information management unit 114 determines that the physical machine 2 existing in the process of S45. The load balancer 3a that was operating in step S3 is deleted (S83). On the other hand, when it is determined that the load balancer 3a operating on the physical machine 2 existing in the process of S45 cannot be deleted (NO in S82), the information management unit 114 does not perform the process of S83.

これにより、負荷情報が閾値情報134を上回っている物理マシン21の負荷をより低減させることが可能になる。   Thereby, it is possible to further reduce the load on the physical machine 21 whose load information exceeds the threshold information 134.

[振分管理情報及びホスト管理情報の具体例(2)]
次に、S81の処理が行われ、かつ、S83の処理が行われた場合における振分管理情報131及びホスト管理情報132の具体例について説明を行う。具体的に、各装置が図15で説明した状態になった場合に、情報更新処理において更新された振分管理情報131及びホスト管理情報132の具体例について説明を行う。
[Specific example of distribution management information and host management information (2)]
Next, specific examples of the distribution management information 131 and the host management information 132 when the process of S81 is performed and the process of S83 is performed will be described. Specifically, specific examples of the distribution management information 131 and the host management information 132 updated in the information update process when each device is in the state described in FIG. 15 will be described.

情報管理部114は、この場合、図29(A)の下線部分に示すように、図26(A)に示す振分管理情報131のうち、「グループID」に「00001」が設定された情報の「振り分け数」に設定された値を、物理マシン22で動作している仮想マシン3の台数である「3(台)」を減算した値に更新する。また、情報管理部114は、図29(A)の下線部分に示すように、図26(A)に示す振分管理情報131のうち、「グループID」に「00002」が設定された情報の「振り分け数」に設定された値を、物理マシン22で動作している仮想マシン3の台数である「3(台)」を加算した値に更新する。   In this case, as indicated by the underlined portion in FIG. 29A, the information management unit 114 is information in which “00001” is set in the “group ID” in the distribution management information 131 illustrated in FIG. Is updated to a value obtained by subtracting “3 (units)”, which is the number of virtual machines 3 operating on the physical machine 22. In addition, as shown in the underlined portion of FIG. 29A, the information management unit 114 includes information of “00002” set in “Group ID” in the distribution management information 131 shown in FIG. The value set in the “number of distributions” is updated to a value obtained by adding “3 (units)” which is the number of virtual machines 3 operating on the physical machine 22.

すなわち、情報管理部114は、負荷分散装置31aが処理要求を振り分けていた仮想マシン3の一部に対して、負荷分散装置33aが振り分けを開始したことを示す情報を振分管理情報131に反映させる。   That is, the information management unit 114 reflects in the distribution management information 131 information indicating that the load distribution device 33a has started distribution for a part of the virtual machine 3 to which the load distribution device 31a has distributed the processing request. Let

このように、本実施の形態における管理装置1は、複数の物理マシン2の負荷情報に基づき、複数の物理マシン2のいずれかに構築された複数の仮想マシン3のいずれかに受け付けた処理要求を振り分ける特定の負荷分散装置3aを配置する配置先の物理マシン2を特定する。そして、管理装置1は、特定した物理マシン2の負荷情報に基づき、複数の仮想マシン3のうち、特定の負荷分散装置3が受け付けた処理要求を振り分け可能な仮想マシン3の数を算出する。   As described above, the management apparatus 1 according to the present embodiment receives a processing request received in any of the plurality of virtual machines 3 constructed in any of the plurality of physical machines 2 based on the load information of the plurality of physical machines 2. The physical machine 2 that is the placement destination in which the specific load distribution device 3a for sorting is placed is identified. Based on the load information of the identified physical machine 2, the management apparatus 1 calculates the number of virtual machines 3 that can distribute the processing requests received by the specific load distribution apparatus 3 among the plurality of virtual machines 3.

さらに、管理装置1は、特定した物理マシン2への特定の負荷分散装置3aの配置に応じて、複数の仮想マシン3のうち、算出した数に応じた数の仮想マシン3を、特定の負荷分散装置3aが受け付けた処理要求を振り分ける振り分け先の仮想マシン3とする。   Furthermore, the management apparatus 1 assigns the number of virtual machines 3 corresponding to the calculated number out of the plurality of virtual machines 3 according to the arrangement of the specific load distribution apparatus 3 a to the specified physical machine 2. A distribution destination virtual machine 3 that distributes a processing request received by the distribution apparatus 3a is assumed.

すなわち、管理装置1は、新たな負荷分散装置3aの追加を行う場合、負荷が比較的小さい物理マシン2に対して新たな負荷分散装置3aの追加を行う。そして、管理装置1は、負荷が大きい物理マシン2に生成された負荷分散装置3aが処理要求の振り分けを行っている仮想マシン3(仮想マシン3の一部)に対する振り分けを、新たな負荷分散装置3aに行わせる。   That is, when adding a new load balancer 3a, the management device 1 adds a new load balancer 3a to a physical machine 2 having a relatively small load. Then, the management apparatus 1 distributes the virtual machine 3 (part of the virtual machine 3) to which the load distribution apparatus 3a generated in the physical machine 2 having a large load distributes the processing request to the new load distribution apparatus. Let 3a do.

これにより、管理装置1は、負荷が大きい物理マシン2に対して新たな負荷分散装置3aが追加されることを防止することが可能になる。また、管理装置1は、負荷が大きい物理マシン2に生成された負荷分散装置3aが振り分けを行う仮想マシン3の数を減らすことによって、負荷が大きい物理マシン2の負荷を抑制することが可能になる。そのため、管理装置1は、各物理マシン2の負荷を平準化させることが可能になる。   As a result, the management apparatus 1 can prevent a new load distribution apparatus 3a from being added to the physical machine 2 with a large load. In addition, the management apparatus 1 can suppress the load on the physical machine 2 having a large load by reducing the number of virtual machines 3 to which the load distribution apparatus 3a generated in the physical machine 2 having a large load distributes. Become. Therefore, the management apparatus 1 can level the load on each physical machine 2.

以上の実施の形態をまとめると、以下の付記のとおりである。   The above embodiment is summarized as follows.

(付記1)
それぞれが複数の物理マシンのいずれかに構築された複数の仮想マシンのいずれかに受け付けた要求を振り分ける特定の仮想マシンを、前記複数の物理マシンのいずれかに配置する制御プログラムにおいて、
前記複数の物理マシンの負荷情報に基づき、前記特定の仮想マシンを配置する配置先の物理マシンを特定し、
特定した前記物理マシンの負荷情報に基づき、前記複数の仮想マシンのうち、前記特定の仮想マシンが受け付けた要求を振り分け可能な仮想マシンの数を算出し、
特定した前記物理マシンへの前記特定の仮想マシンの配置に応じて、前記複数の仮想マシンのうち、算出した前記数に応じた数の仮想マシンを、前記特定の仮想マシンが受け付けた要求を振り分ける振り分け先の仮想マシンとする、
処理をコンピュータに実行させることを特徴とする制御プログラム。
(Appendix 1)
In a control program for allocating a specific virtual machine that distributes a request received to one of a plurality of virtual machines, each of which is constructed on one of a plurality of physical machines, to one of the plurality of physical machines,
Based on the load information of the plurality of physical machines, identify a physical machine to which the specific virtual machine is to be placed,
Based on the load information of the identified physical machine, out of the plurality of virtual machines, calculate the number of virtual machines that can distribute the request received by the specific virtual machine,
According to the arrangement of the specific virtual machine on the specified physical machine, among the plurality of virtual machines, the number of virtual machines corresponding to the calculated number is distributed to requests received by the specific virtual machine. A virtual machine to distribute to
A control program for causing a computer to execute processing.

(付記2)
付記1において、
前記複数の物理マシンの負荷情報は、前記複数の物理マシンごとの現在の負荷を示す情報であり、
前記特定する処理では、前記複数の物理マシンの負荷情報を参照し、前記複数の物理マシンに、現在の負荷が所定の閾値以上の物理マシンが存在する場合、前記配置先の物理マシンの決定を行う、
ことを特徴とする制御プログラム。
(Appendix 2)
In Appendix 1,
The load information of the plurality of physical machines is information indicating a current load for each of the plurality of physical machines,
In the specifying process, the load information of the plurality of physical machines is referred to, and when there are physical machines having a current load equal to or greater than a predetermined threshold in the plurality of physical machines, the physical machine of the placement destination is determined. Do,
A control program characterized by that.

(付記3)
付記2において、
前記特定する処理では、
前記複数の物理マシンのうち、現在の負荷が第1閾値以上の物理マシンにおいて動作する仮想マシンによって要求が振り分けられる1以上の仮想マシンが動作する1以上の物理マシンを特定し、
前記1以上の物理マシンのうちの現在の負荷が第2閾値未満の物理マシンから、前記配置先の物理マシンの決定を行う、
ことを特徴とする制御プログラム。
(Appendix 3)
In Appendix 2,
In the process of specifying,
Among the plurality of physical machines, specify one or more physical machines on which one or more virtual machines to which a request is distributed by a virtual machine that operates on a physical machine having a current load equal to or greater than a first threshold,
The physical machine of the placement destination is determined from physical machines whose current load is less than a second threshold among the one or more physical machines.
A control program characterized by that.

(付記4)
付記3において、
前記特定する処理では、
前記1以上の物理マシンに、現在の負荷が前記第2閾値未満の物理マシンが存在しない場合、前記複数の物理マシンのうち、前記1以上の物理マシン以外の物理マシンから、前記配置先の物理マシンの決定を行う、
ことを特徴とする制御プログラム。
(Appendix 4)
In Appendix 3,
In the process of specifying,
When there is no physical machine having a current load less than the second threshold value in the one or more physical machines, the physical location of the placement destination is selected from physical machines other than the one or more physical machines among the plurality of physical machines. Make machine decisions,
A control program characterized by that.

(付記5)
付記3において、
前記数に応じた数の仮想マシンを振り分け先の仮想マシンとする処理では、前記1以上の仮想マシンから、前記振り分け先の仮想マシンを決定する、
ことを特徴とする制御プログラム。
(Appendix 5)
In Appendix 3,
In the process of setting the number of virtual machines according to the number as the distribution destination virtual machine, the distribution destination virtual machine is determined from the one or more virtual machines.
A control program characterized by that.

(付記6)
付記5において、
前記数に応じた数の仮想マシンを振り分け先の仮想マシンとする処理では、各物理マシンにおいて動作する仮想マシンごとに、前記振り分け先の仮想マシンとして決定する、
ことを特徴とする制御プログラム。
(Appendix 6)
In Appendix 5,
In the process of assigning a number of virtual machines according to the number to a distribution destination virtual machine, for each virtual machine operating in each physical machine, determine as the distribution destination virtual machine,
A control program characterized by that.

(付記7)
付記6において、
前記数に応じた数の仮想マシンを振り分け先の仮想マシンとする処理では、前記1以上の仮想マシンのうち、前記1以上の仮想マシンに要求を振り分ける仮想マシンと異なる物理マシンで動作する仮想マシンを優先して、前記振り分け先の仮想マシンとして決定する、
ことを特徴とする制御プログラム。
(Appendix 7)
In Appendix 6,
In the process of assigning a number of virtual machines according to the number to a destination virtual machine, of the one or more virtual machines, a virtual machine that operates on a different physical machine from a virtual machine that distributes requests to the one or more virtual machines Priority is given to determining as a virtual machine of the distribution destination,
A control program characterized by that.

(付記8)
付記5において、さらに、
前記1以上の仮想マシンのすべてを前記振り分け先の仮想マシンとして決定した場合、前記1以上の仮想マシンに要求を振り分ける仮想マシンを削除する、
処理をコンピュータに実行させることを特徴とする制御プログラム。
(Appendix 8)
In Appendix 5,
If all of the one or more virtual machines are determined as the distribution destination virtual machines, the virtual machines that distribute requests to the one or more virtual machines are deleted.
A control program for causing a computer to execute processing.

(付記9)
付記1において、
算出する処理では、
特定した前記物理マシンの負荷情報を参照し、特定した前記物理マシンの現在の負荷と第3閾値との差を算出し、
特定した前記物理マシンの負荷の増加が前記差以下になる仮想マシンの追加数を、前記特定の仮想マシンが受け付けた要求を振り分け可能な仮想マシンの数として算出する、
ことを特徴とする制御プログラム。
(Appendix 9)
In Appendix 1,
In the calculation process,
Refer to the load information of the identified physical machine, calculate the difference between the current load of the identified physical machine and the third threshold,
Calculating the additional number of virtual machines in which the increase in the load of the identified physical machine is equal to or less than the difference, as the number of virtual machines to which requests received by the specific virtual machine can be distributed,
A control program characterized by that.

(付記10)
付記9において、
算出する処理では、特定した前記物理マシンの負荷の増加が前記差以下になる前記振り分け先の仮想マシンの数のうちの最大数を、前記特定の仮想マシンが受け付けた要求を振り分け可能な仮想マシンの数として算出する、
ことを特徴とする制御プログラム。
(Appendix 10)
In Appendix 9,
In the process of calculating, a virtual machine capable of distributing a request accepted by the specific virtual machine, the maximum number of the distribution-destination virtual machines in which the increase in load of the specified physical machine is equal to or less than the difference Calculated as the number of
A control program characterized by that.

(付記11)
それぞれが複数の物理マシンのいずれかに構築された複数の仮想マシンのいずれかに受け付けた要求を振り分ける特定の仮想マシンを、前記複数の物理マシンのいずれかに配置する制御装置において、
前記複数の物理マシンの負荷情報に基づき、前記特定の仮想マシンを配置する配置先の物理マシンを特定する配置先特定部と、
特定した前記物理マシンの負荷情報に基づき、前記複数の仮想マシンのうち、前記特定の仮想マシンが受け付けた要求を振り分け可能な仮想マシンの数を算出するマシン数算出部と、
特定した前記物理マシンへの前記特定の仮想マシンの配置に応じて、前記複数の仮想マシンのうち、算出した前記数に応じた数の仮想マシンを、前記特定の仮想マシンが受け付けた要求を振り分ける振り分け先の仮想マシンとする振分先決定部と、を有する、
ことを特徴とする制御装置。
(Appendix 11)
In a control apparatus that places a specific virtual machine that distributes a request received in any of a plurality of virtual machines, each of which is constructed in any of a plurality of physical machines, in any of the plurality of physical machines,
Based on load information of the plurality of physical machines, an arrangement destination specifying unit that specifies an arrangement destination physical machine in which the specific virtual machine is arranged;
Based on the identified physical machine load information, among the plurality of virtual machines, a machine number calculation unit that calculates the number of virtual machines that can distribute requests received by the specific virtual machine;
According to the arrangement of the specific virtual machine on the specified physical machine, among the plurality of virtual machines, the number of virtual machines corresponding to the calculated number is distributed to requests received by the specific virtual machine. A distribution destination determination unit as a distribution destination virtual machine,
A control device characterized by that.

(付記12)
付記11において、
前記複数の物理マシンの負荷情報は、前記複数の物理マシンごとの現在の負荷を示す情報であり、
前記配置先特定部は、前記複数の物理マシンの負荷情報を参照し、前記複数の物理マシンに、現在の負荷が所定の閾値以上の物理マシンが存在する場合、前記配置先の物理マシンの決定を行う、
ことを特徴とする制御装置。
(Appendix 12)
In Appendix 11,
The load information of the plurality of physical machines is information indicating a current load for each of the plurality of physical machines,
The placement destination specifying unit refers to the load information of the plurality of physical machines, and when there are physical machines having a current load equal to or greater than a predetermined threshold in the plurality of physical machines, the placement destination specifying unit is determined. I do,
A control device characterized by that.

(付記13)
付記12において、
前記配置先特定部は、
前記複数の物理マシンのうち、現在の負荷が第1閾値以上の物理マシンにおいて動作する仮想マシンによって要求が振り分けられる1以上の仮想マシンが動作する1以上の物理マシンを特定し、
前記1以上の物理マシンのうちの現在の負荷が第2閾値未満の物理マシンから、前記配置先の物理マシンの決定を行う、
ことを特徴とする制御装置。
(Appendix 13)
In Appendix 12,
The placement destination specifying unit is
Among the plurality of physical machines, specify one or more physical machines on which one or more virtual machines to which a request is distributed by a virtual machine that operates on a physical machine having a current load equal to or greater than a first threshold,
The physical machine of the placement destination is determined from physical machines whose current load is less than a second threshold among the one or more physical machines.
A control device characterized by that.

(付記14)
付記13において、
前記配置先特定部は、
前記1以上の物理マシンに、現在の負荷が前記第2閾値未満の物理マシンが存在しない場合、前記複数の物理マシンのうち、前記1以上の物理マシン以外の物理マシンから、前記配置先の物理マシンの決定を行う、
ことを特徴とする制御装置。
(Appendix 14)
In Appendix 13,
The placement destination specifying unit is
When there is no physical machine having a current load less than the second threshold value in the one or more physical machines, the physical location of the placement destination is selected from physical machines other than the one or more physical machines among the plurality of physical machines. Make machine decisions,
A control device characterized by that.

(付記15)
それぞれが複数の物理マシンのいずれかに構築された複数の仮想マシンのいずれかに受け付けた要求を振り分ける特定の仮想マシンを、前記複数の物理マシンのいずれかに配置する制御方法において、
前記複数の物理マシンの負荷情報に基づき、前記特定の仮想マシンを配置する配置先の物理マシンを特定し、
特定した前記物理マシンの負荷情報に基づき、前記複数の仮想マシンのうち、前記特定の仮想マシンが受け付けた要求を振り分け可能な仮想マシンの数を算出し、
特定した前記物理マシンへの前記特定の仮想マシンの配置に応じて、前記複数の仮想マシンのうち、算出した前記数に応じた数の仮想マシンを、前記特定の仮想マシンが受け付けた要求を振り分ける振り分け先の仮想マシンとする、
ことを特徴とする制御方法。
(Appendix 15)
In the control method of allocating a specific virtual machine that distributes a request received to any of a plurality of virtual machines, each of which is constructed on any of a plurality of physical machines, to any of the plurality of physical machines,
Based on the load information of the plurality of physical machines, identify a physical machine to which the specific virtual machine is to be placed,
Based on the load information of the identified physical machine, out of the plurality of virtual machines, calculate the number of virtual machines that can distribute the request received by the specific virtual machine,
According to the arrangement of the specific virtual machine on the specified physical machine, among the plurality of virtual machines, the number of virtual machines corresponding to the calculated number is distributed to requests received by the specific virtual machine. A virtual machine to distribute to
A control method characterized by that.

(付記16)
付記15において、
前記複数の物理マシンの負荷情報は、前記複数の物理マシンごとの現在の負荷を示す情報であり、
前記特定する工程では、前記複数の物理マシンの負荷情報を参照し、前記複数の物理マシンに、現在の負荷が所定の閾値以上の物理マシンが存在する場合、前記配置先の物理マシンの決定を行う、
ことを特徴とする制御方法。
(Appendix 16)
In Appendix 15,
The load information of the plurality of physical machines is information indicating a current load for each of the plurality of physical machines,
In the specifying step, the load information of the plurality of physical machines is referred to, and if there are physical machines having a current load equal to or greater than a predetermined threshold in the plurality of physical machines, the physical machine of the placement destination is determined. Do,
A control method characterized by that.

(付記17)
付記16において、
前記特定する工程では、
前記複数の物理マシンのうち、現在の負荷が第1閾値以上の物理マシンにおいて動作する仮想マシンによって要求が振り分けられる1以上の仮想マシンが動作する1以上の物理マシンを特定し、
前記1以上の物理マシンのうちの現在の負荷が第2閾値未満の物理マシンから、前記配置先の物理マシンの決定を行う、
ことを特徴とする制御方法。
(Appendix 17)
In Appendix 16,
In the identifying step,
Among the plurality of physical machines, specify one or more physical machines on which one or more virtual machines to which a request is distributed by a virtual machine that operates on a physical machine having a current load equal to or greater than a first threshold,
The physical machine of the placement destination is determined from physical machines whose current load is less than a second threshold among the one or more physical machines.
A control method characterized by that.

(付記18)
付記17において、
前記特定する工程では、
前記1以上の物理マシンに、現在の負荷が前記第2閾値未満の物理マシンが存在しない場合、前記複数の物理マシンのうち、前記1以上の物理マシン以外の物理マシンから、前記配置先の物理マシンの決定を行う、
ことを特徴とする制御方法。
(Appendix 18)
In Appendix 17,
In the identifying step,
When there is no physical machine having a current load less than the second threshold value in the one or more physical machines, the physical location of the placement destination is selected from physical machines other than the one or more physical machines among the plurality of physical machines. Make machine decisions,
A control method characterized by that.

1:管理装置 2:物理マシン
3:仮想マシン 4:仮想化ソフトウエア
5:事業者端末
1: Management device 2: Physical machine 3: Virtual machine 4: Virtualization software 5: Service provider terminal

Claims (12)

それぞれが複数の物理マシンのいずれかに構築された複数の仮想マシンのいずれかに受け付けた要求を振り分ける特定の仮想マシンを、前記複数の物理マシンのいずれかに配置する制御プログラムにおいて、
前記複数の物理マシンの負荷情報に基づき、前記特定の仮想マシンを配置する配置先の物理マシンを特定し、
特定した前記物理マシンの負荷情報に基づき、前記複数の仮想マシンのうち、前記特定の仮想マシンが受け付けた要求を振り分け可能な仮想マシンの数を算出し、
特定した前記物理マシンへの前記特定の仮想マシンの配置に応じて、前記複数の仮想マシンのうち、算出した前記数に応じた数の仮想マシンを、前記特定の仮想マシンが受け付けた要求を振り分ける振り分け先の仮想マシンとする、
処理をコンピュータに実行させることを特徴とする制御プログラム。
In a control program for allocating a specific virtual machine that distributes a request received to one of a plurality of virtual machines, each of which is constructed on one of a plurality of physical machines, to one of the plurality of physical machines,
Based on the load information of the plurality of physical machines, identify a physical machine to which the specific virtual machine is to be placed,
Based on the load information of the identified physical machine, out of the plurality of virtual machines, calculate the number of virtual machines that can distribute the request received by the specific virtual machine,
According to the arrangement of the specific virtual machine on the specified physical machine, among the plurality of virtual machines, the number of virtual machines corresponding to the calculated number is distributed to requests received by the specific virtual machine. A virtual machine to distribute to
A control program for causing a computer to execute processing.
請求項1において、
前記複数の物理マシンの負荷情報は、前記複数の物理マシンごとの現在の負荷を示す情報であり、
前記特定する処理では、前記複数の物理マシンの負荷情報を参照し、前記複数の物理マシンに、現在の負荷が所定の閾値以上の物理マシンが存在する場合、前記配置先の物理マシンの決定を行う、
ことを特徴とする制御プログラム。
In claim 1,
The load information of the plurality of physical machines is information indicating a current load for each of the plurality of physical machines,
In the specifying process, the load information of the plurality of physical machines is referred to, and when there are physical machines having a current load equal to or greater than a predetermined threshold in the plurality of physical machines, the physical machine of the placement destination is determined. Do,
A control program characterized by that.
請求項2において、
前記特定する処理では、
前記複数の物理マシンのうち、現在の負荷が第1閾値以上の物理マシンにおいて動作する仮想マシンによって要求が振り分けられる1以上の仮想マシンが動作する1以上の物理マシンを特定し、
前記1以上の物理マシンのうちの現在の負荷が第2閾値未満の物理マシンから、前記配置先の物理マシンの決定を行う、
ことを特徴とする制御プログラム。
In claim 2,
In the process of specifying,
Among the plurality of physical machines, specify one or more physical machines on which one or more virtual machines to which a request is distributed by a virtual machine that operates on a physical machine having a current load equal to or greater than a first threshold,
The physical machine of the placement destination is determined from physical machines whose current load is less than a second threshold among the one or more physical machines.
A control program characterized by that.
請求項3において、
前記特定する処理では、
前記1以上の物理マシンに、現在の負荷が前記第2閾値未満の物理マシンが存在しない場合、前記複数の物理マシンのうち、前記1以上の物理マシン以外の物理マシンから、前記配置先の物理マシンの決定を行う、
ことを特徴とする制御プログラム。
In claim 3,
In the process of specifying,
When there is no physical machine having a current load less than the second threshold value in the one or more physical machines, the physical location of the placement destination is selected from physical machines other than the one or more physical machines among the plurality of physical machines. Make machine decisions,
A control program characterized by that.
請求項3において、
前記数に応じた数の仮想マシンを振り分け先の仮想マシンとする処理では、前記1以上の仮想マシンから、前記振り分け先の仮想マシンを決定する、
ことを特徴とする制御プログラム。
In claim 3,
In the process of setting the number of virtual machines according to the number as the distribution destination virtual machine, the distribution destination virtual machine is determined from the one or more virtual machines.
A control program characterized by that.
請求項5において、
前記数に応じた数の仮想マシンを振り分け先の仮想マシンとする処理では、各物理マシンにおいて動作する仮想マシンごとに、前記振り分け先の仮想マシンとして決定する、
ことを特徴とする制御プログラム。
In claim 5,
In the process of assigning a number of virtual machines according to the number to a distribution destination virtual machine, for each virtual machine operating in each physical machine, determine as the distribution destination virtual machine,
A control program characterized by that.
請求項6において、
前記数に応じた数の仮想マシンを振り分け先の仮想マシンとする処理では、前記1以上の仮想マシンのうち、前記1以上の仮想マシンに要求を振り分ける仮想マシンと異なる物理マシンで動作する仮想マシンを優先して、前記振り分け先の仮想マシンとして決定する、
ことを特徴とする制御プログラム。
In claim 6,
In the process of assigning a number of virtual machines according to the number to a destination virtual machine, of the one or more virtual machines, a virtual machine that operates on a different physical machine from a virtual machine that distributes requests to the one or more virtual machines Priority is given to determining as a virtual machine of the distribution destination,
A control program characterized by that.
請求項5において、さらに、
前記1以上の仮想マシンのすべてを前記振り分け先の仮想マシンとして決定した場合、前記1以上の仮想マシンに要求を振り分ける仮想マシンを削除する、
処理をコンピュータに実行させることを特徴とする制御プログラム。
In claim 5, further:
If all of the one or more virtual machines are determined as the distribution destination virtual machines, the virtual machines that distribute requests to the one or more virtual machines are deleted.
A control program for causing a computer to execute processing.
請求項1において、
算出する処理では、
特定した前記物理マシンの負荷情報を参照し、特定した前記物理マシンの現在の負荷と第3閾値との差を算出し、
特定した前記物理マシンの負荷の増加が前記差以下になる仮想マシンの追加数を、前記特定の仮想マシンが受け付けた要求を振り分け可能な仮想マシンの数として算出する、
ことを特徴とする制御プログラム。
In claim 1,
In the calculation process,
Refer to the load information of the identified physical machine, calculate the difference between the current load of the identified physical machine and the third threshold,
Calculating the additional number of virtual machines in which the increase in the load of the identified physical machine is equal to or less than the difference, as the number of virtual machines to which requests received by the specific virtual machine can be distributed,
A control program characterized by that.
請求項9において、
算出する処理では、特定した前記物理マシンの負荷の増加が前記差以下になる前記振り分け先の仮想マシンの数のうちの最大数を、前記特定の仮想マシンが受け付けた要求を振り分け可能な仮想マシンの数として算出する、
ことを特徴とする制御プログラム。
In claim 9,
In the process of calculating, a virtual machine capable of distributing a request accepted by the specific virtual machine, the maximum number of the distribution-destination virtual machines in which the increase in load of the specified physical machine is equal to or less than the difference Calculated as the number of
A control program characterized by that.
それぞれが複数の物理マシンのいずれかに構築された複数の仮想マシンのいずれかに受け付けた要求を振り分ける特定の仮想マシンを、前記複数の物理マシンのいずれかに配置する制御装置において、
前記複数の物理マシンの負荷情報に基づき、前記特定の仮想マシンを配置する配置先の物理マシンを特定する配置先特定部と、
特定した前記物理マシンの負荷情報に基づき、前記複数の仮想マシンのうち、前記特定の仮想マシンが受け付けた要求を振り分け可能な仮想マシンの数を算出するマシン数算出部と、
特定した前記物理マシンへの前記特定の仮想マシンの配置に応じて、前記複数の仮想マシンのうち、算出した前記数に応じた数の仮想マシンを、前記特定の仮想マシンが受け付けた要求を振り分ける振り分け先の仮想マシンとする振分先決定部と、を有する、
ことを特徴とする制御装置。
In a control apparatus that places a specific virtual machine that distributes a request received in any of a plurality of virtual machines, each of which is constructed in any of a plurality of physical machines, in any of the plurality of physical machines,
Based on load information of the plurality of physical machines, an arrangement destination specifying unit that specifies an arrangement destination physical machine in which the specific virtual machine is arranged;
Based on the identified physical machine load information, among the plurality of virtual machines, a machine number calculation unit that calculates the number of virtual machines that can distribute requests received by the specific virtual machine;
According to the arrangement of the specific virtual machine on the specified physical machine, among the plurality of virtual machines, the number of virtual machines corresponding to the calculated number is distributed to requests received by the specific virtual machine. A distribution destination determination unit as a distribution destination virtual machine,
A control device characterized by that.
それぞれが複数の物理マシンのいずれかに構築された複数の仮想マシンのいずれかに受け付けた要求を振り分ける特定の仮想マシンを、前記複数の物理マシンのいずれかに配置する制御方法において、
前記複数の物理マシンの負荷情報に基づき、前記特定の仮想マシンを配置する配置先の物理マシンを特定し、
特定した前記物理マシンの負荷情報に基づき、前記複数の仮想マシンのうち、前記特定の仮想マシンが受け付けた要求を振り分け可能な仮想マシンの数を算出し、
特定した前記物理マシンへの前記特定の仮想マシンの配置に応じて、前記複数の仮想マシンのうち、算出した前記数に応じた数の仮想マシンを、前記特定の仮想マシンが受け付けた要求を振り分ける振り分け先の仮想マシンとする、
ことを特徴とする制御方法。
In the control method of allocating a specific virtual machine that distributes a request received to any of a plurality of virtual machines, each of which is constructed on any of a plurality of physical machines, to any of the plurality of physical machines,
Based on the load information of the plurality of physical machines, identify a physical machine to which the specific virtual machine is to be placed,
Based on the load information of the identified physical machine, out of the plurality of virtual machines, calculate the number of virtual machines that can distribute the request received by the specific virtual machine,
According to the arrangement of the specific virtual machine on the specified physical machine, among the plurality of virtual machines, the number of virtual machines corresponding to the calculated number is distributed to requests received by the specific virtual machine. A virtual machine to distribute to
A control method characterized by that.
JP2017110775A 2017-06-05 2017-06-05 Control program, control device and control method Active JP6928237B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017110775A JP6928237B2 (en) 2017-06-05 2017-06-05 Control program, control device and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017110775A JP6928237B2 (en) 2017-06-05 2017-06-05 Control program, control device and control method

Publications (2)

Publication Number Publication Date
JP2018206062A true JP2018206062A (en) 2018-12-27
JP6928237B2 JP6928237B2 (en) 2021-09-01

Family

ID=64957955

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017110775A Active JP6928237B2 (en) 2017-06-05 2017-06-05 Control program, control device and control method

Country Status (1)

Country Link
JP (1) JP6928237B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113687940A (en) * 2020-05-19 2021-11-23 阿里巴巴集团控股有限公司 Load balancing method and device and physical machine

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011237844A (en) * 2010-05-06 2011-11-24 Hitachi Ltd Load balancer and system
JP2013506908A (en) * 2009-09-30 2013-02-28 アルカテル−ルーセント Dynamic load balancing and scaling of allocated cloud resources within the corporate network
WO2014157512A1 (en) * 2013-03-29 2014-10-02 日本電気株式会社 System for providing virtual machines, device for determining paths, method for controlling paths, and program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013506908A (en) * 2009-09-30 2013-02-28 アルカテル−ルーセント Dynamic load balancing and scaling of allocated cloud resources within the corporate network
JP2011237844A (en) * 2010-05-06 2011-11-24 Hitachi Ltd Load balancer and system
WO2014157512A1 (en) * 2013-03-29 2014-10-02 日本電気株式会社 System for providing virtual machines, device for determining paths, method for controlling paths, and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113687940A (en) * 2020-05-19 2021-11-23 阿里巴巴集团控股有限公司 Load balancing method and device and physical machine
CN113687940B (en) * 2020-05-19 2024-02-27 阿里巴巴集团控股有限公司 Load balancing method and device and physical machine

Also Published As

Publication number Publication date
JP6928237B2 (en) 2021-09-01

Similar Documents

Publication Publication Date Title
US10635664B2 (en) Map-reduce job virtualization
US10079879B2 (en) Weighted rendezvous hashing
US9871855B2 (en) Balancing load across cache servers in a distributed data store
CN107534570B (en) Computer system, method and medium for virtualized network function monitoring
KR101941282B1 (en) Method of allocating a virtual machine for virtual desktop service
US8185893B2 (en) Starting up at least one virtual machine in a physical machine by a load balancer
JP5119077B2 (en) Virtual server resource adjustment system, resource adjustment device, virtual server resource adjustment method, and computer program
JP2015153402A (en) Management device, task load distribution management method, and task load distribution management program
JP5609730B2 (en) Information processing program and method, and transfer processing apparatus
CN110442610A (en) The method, apparatus of load balancing calculates equipment and medium
US11263107B2 (en) Application development support system and application development support method
US20220329651A1 (en) Apparatus for container orchestration in geographically distributed multi-cloud environment and method using the same
CN106713028A (en) Service degradation method and apparatus, and distributed task scheduling system
US20220318071A1 (en) Load balancing method and related device
US20190114079A1 (en) Apparatus for managing disaggregated memory and method thereof
JP2018206062A (en) Control program, control device, and control method
JP2019159977A (en) Control program, controller, and control method
KR20230063015A (en) Apparatus and method for managing virtual machine cpu resource in virtualization server
CN113918271A (en) Resource management method and device, electronic equipment and storage medium
CN113783919A (en) Access request distribution method, system, device and storage medium
JP6365027B2 (en) Allocation program, allocation device, allocation system, and allocation method
JP2018200585A (en) Scale-in management program, scale-in management device and scale-in management method
CN110865876A (en) Scheduling method and device for service dependent resources
Fahim et al. The load balancing improvement of a data center by a hybrid algorithm in cloud computing
JP2019086957A (en) Program, apparatus and method for processing distribution

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200310

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210209

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210302

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210426

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: 20210706

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210719

R150 Certificate of patent or registration of utility model

Ref document number: 6928237

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150