JP5827594B2 - Virtual machine placement apparatus and virtual machine placement method - Google Patents

Virtual machine placement apparatus and virtual machine placement method Download PDF

Info

Publication number
JP5827594B2
JP5827594B2 JP2012112926A JP2012112926A JP5827594B2 JP 5827594 B2 JP5827594 B2 JP 5827594B2 JP 2012112926 A JP2012112926 A JP 2012112926A JP 2012112926 A JP2012112926 A JP 2012112926A JP 5827594 B2 JP5827594 B2 JP 5827594B2
Authority
JP
Japan
Prior art keywords
physical server
virtual machine
evaluation
resource
score
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.)
Expired - Fee Related
Application number
JP2012112926A
Other languages
Japanese (ja)
Other versions
JP2013239095A (en
Inventor
彦俊 中里
彦俊 中里
正勝 藤原
正勝 藤原
清水 雅史
雅史 清水
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2012112926A priority Critical patent/JP5827594B2/en
Publication of JP2013239095A publication Critical patent/JP2013239095A/en
Application granted granted Critical
Publication of JP5827594B2 publication Critical patent/JP5827594B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Debugging And Monitoring (AREA)

Description

本発明は、物理サーバで構成される物理サーバ群の中から、アプリケーションを搭載した仮想マシンを実行させる物理サーバを決定する技術に関する。   The present invention relates to a technique for determining a physical server that executes a virtual machine on which an application is mounted from a group of physical servers configured by physical servers.

複数の仮想マシンを1台の物理サーバ上に配置して実行することで、1つの仮想マシンを1台の物理サーバで実行する場合に比べて、物理サーバの台数を削減する仮想化技術の検討が進んでいる。例えば、下記に示す特許文献1には、アプリケーションの過去のリソース使用状況に基づいて、今後のリソース使用状況を予測し、各物理サーバへ配置する仮想マシンの組み合わせを決定する技術が開示されている。   Examination of virtualization technology that reduces the number of physical servers by placing multiple virtual machines on one physical server and executing them, compared to executing one virtual machine on one physical server Is progressing. For example, Patent Document 1 shown below discloses a technique for predicting future resource usage based on the past resource usage of an application and determining a combination of virtual machines to be placed on each physical server. .

特開2011−170787号公報JP 2011-170787 A

しかしながら、特許文献1に記載の技術は、アプリケーションのリソース使用傾向が不規則に変化するような環境では、適切に予測ができないため、物理サーバにおいて、リソース競合が発生したり、仮想マシンの集約効率が低下したり、集約効率の低い物理サーバが多数散在することになったりして、物理サーバで構成される物理サーバ群を効率的に使用できないという問題がある。   However, since the technology described in Patent Document 1 cannot be appropriately predicted in an environment where the resource usage tendency of an application changes irregularly, resource contention occurs in a physical server, or the aggregation efficiency of virtual machines. Or a large number of physical servers with low aggregation efficiency are scattered, and there is a problem that a physical server group composed of physical servers cannot be used efficiently.

そこで、本発明は、仮想マシンを物理サーバへ配置するときに、集約効率を向上し、リソース競合を防止し、物理サーバの稼動台数を低減することを満足させるように制御する仮想マシン配置装置および仮想マシン配置方法を提供することを課題とする。   Therefore, the present invention provides a virtual machine placement device that controls to improve aggregation efficiency, prevent resource contention, and reduce the number of operating physical servers when placing virtual machines on physical servers, and It is an object to provide a virtual machine arrangement method.

本発明は、仮想マシンを、前記仮想マシンを実行する物理サーバに配置する仮想マシン配置装置であって、処理部と、前記物理サーバの使用リソース量に対する上限閾値および下限閾値と、前記仮想マシンを配置元の物理サーバから移動先の物理サーバに移動したときに発生するサービス中断時間と、前記サービス中断時間に対して許容できる限界を示す許容サービス中断時間閾値と、を記憶している記憶部と、を備え、前記処理部が、(1)前記配置元の物理サーバの使用リソース量が前記上限閾値を超えるか否かを判定し、(2)前記配置元の物理サーバの使用リソース量が前記上限閾値を超えると判定した場合、前記配置元の物理サーバの使用リソース量が前記上限閾値を下回るように、移動対象の仮想マシンを抽出し、前記サービス中断時間が前記許容サービス中断時間閾値以内と判定される前記物理サーバを移動先の物理サーバとして抽出し、(2a)前記移動先の物理サーバが抽出された場合、前記移動先の物理サーバを選択する優先順位の決定に用いる物理サーバスコアを、リソースの余裕を測る物差しである評価要素で示された前記使用リソース量により演算し、当該物理サーバスコアの大小関係に基づいて優先順位を付け、当該優先順位の最も高い前記移動先の物理サーバに前記移動対象の仮想マシンを移動し、(2b)前記移動先の物理サーバがない場合、前記サービス中断時間が前記許容サービス中断時間閾値以内と判定される前記物理サーバを増加して、(2a)の処理を実行し、(3)前記配置元の物理サーバの使用リソース量が前記上限閾値以下と判定した場合、前記配置元の物理サーバの使用リソース量が前記下限閾値を所定時間下回るか否かを判定し、前記配置元の物理サーバの使用リソース量が前記下限閾値を所定時間下回ると判定した場合、前記サービス中断時間が前記許容サービス中断時間閾値以内と判定される前記物理サーバを第2の移動先の物理サーバとして抽出し、前記第2の移動先の物理サーバが抽出された場合、前記第2の移動先の物理サーバを選択する優先順位の決定に用いる前記物理サーバスコアを、前記評価要素で示された前記使用リソース量により演算し、当該物理サーバスコアの大小関係に基づいて優先順位を付け、当該優先順位の最も高い前記第2の移動先の物理サーバに、前記配置元の物理サーバから前記仮想マシンを移する設定をし、前記配置元の物理サーバから前記仮想マシンすべてについて移動する設定が終了した場合、移する設定をした前記仮想マシンを前記第2の移動先の物理サーバへ移動することを特徴とする。 The present invention is a virtual machine placement device that places a virtual machine on a physical server that executes the virtual machine, and includes a processing unit, an upper limit threshold and a lower limit threshold for the amount of resources used by the physical server, and the virtual machine. A storage unit that stores a service interruption time that occurs when moving from a physical server that is an arrangement source to a physical server that is a movement destination, and an allowable service interruption time threshold that indicates an allowable limit for the service interruption time; The processing unit (1) determines whether or not the used resource amount of the physical server of the placement source exceeds the upper limit threshold, and (2) the used resource amount of the physical server of the placement source is the If it is determined that the upper limit threshold is exceeded, the migration target virtual machine is extracted so that the used resource amount of the placement source physical server falls below the upper limit threshold, and the service Extracts the physical server that interruption time is determined within the allowable service interruption time threshold as the destination physical server, (2a) when the physical servers of the destination is extracted, select a physical server of the destination the physical server scores used to determine the priority, computed by the use resource amount indicated by the evaluation element is a ruler to measure the margin of resources prioritized based on the magnitude relation of the physical server score, the When the migration target virtual machine is migrated to the migration destination physical server with the highest priority and (2b) there is no migration destination physical server, the service interruption time is determined to be within the allowable service interruption time threshold. Increase the number of physical servers to execute the process (2a), and (3) determine that the amount of used resources of the physical server that is the placement source is equal to or less than the upper threshold. If it is determined whether the used resource amount of the physical server of the placement source is below the lower limit threshold for a predetermined time, and it is determined that the used resource amount of the physical server of the placement source is lower than the lower limit threshold for a predetermined time When the physical server determined that the service interruption time is within the allowable service interruption time threshold is extracted as a second movement destination physical server, and the second movement destination physical server is extracted, the physical server score used to determine the priority for selecting 2 physical server of the destination, calculated by the use resource amount indicated by the evaluation element, the priority on the basis of the magnitude relation of the physical server score attached, the highest the second destination physical server of the priority, and the setting to move the virtual machine from the physical server of the arrangement source ones of the arrangement source If the settings from the management server to the mobile for all the virtual machines has been completed, characterized by moving the virtual machine settings to move to the second destination physical server.

また、本発明は、仮想マシンを、前記仮想マシンを実行する物理サーバに配置する仮想マシン配置装置の仮想マシン配置方法であって、前記仮想マシン配置装置が、処理部と、前記物理サーバの使用リソース量に対する上限閾値および下限閾値と、前記仮想マシンを配置元の物理サーバから移動先の物理サーバに移動したときに発生するサービス中断時間と、前記サービス中断時間に対して許容できる限界を示す許容サービス中断時間閾値と、を記憶している記憶部と、を備え、前記処理部が、(1)前記配置元の物理サーバの使用リソース量が前記上限閾値を超えるか否かを判定するステップ、(2)前記配置元の物理サーバの使用リソース量が前記上限閾値を超えると判定した場合、前記配置元の物理サーバの使用リソース量が前記上限閾値を下回るように、移動対象の仮想マシンを抽出し、前記サービス中断時間が前記許容サービス中断時間閾値以内と判定される前記物理サーバを移動先の物理サーバとして抽出するステップ、(2a)前記移動先の物理サーバが抽出された場合、前記移動先の物理サーバを選択する優先順位の決定に用いる物理サーバスコアを、リソースの余裕を測る物差しである評価要素で示された前記使用リソース量により演算し、当該物理サーバスコアの大小関係に基づいて優先順位を付け、当該優先順位の最も高い前記移動先の物理サーバに前記移動対象の仮想マシンを移動するステップ、(2b)前記移動先の物理サーバがない場合、前記サービス中断時間が前記許容サービス中断時間閾値以内と判定される前記物理サーバを増加して、(2a)の処理を実行するステップ、(3)前記配置元の物理サーバの使用リソース量が前記上限閾値以下と判定した場合、前記配置元の物理サーバの使用リソース量が前記下限閾値を所定時間下回るか否かを判定し、前記配置元の物理サーバの使用リソース量が前記下限閾値を所定時間下回ると判定した場合、前記サービス中断時間が前記許容サービス中断時間閾値以内と判定される前記物理サーバを第2の移動先の物理サーバとして抽出するステップ、前記第2の移動先の物理サーバが抽出された場合、前記第2の移動先の物理サーバを選択する優先順位の決定に用いる前記物理サーバスコアを、前記評価要素で示された前記使用リソース量により演算し、当該物理サーバスコアの大小関係に基づいて優先順位を付け、当該優先順位の最も高い前記第2の移動先の物理サーバに、前記配置元の物理サーバから前記仮想マシンを移動する設定を行うステップ、前記配置元の物理サーバから前記仮想マシンすべてについて移動する設定が終了した場合、移する設定をした前記仮想マシンを前記第2の移動先の物理サーバへ移動するステップを実行することを特徴とする。 The present invention is also a virtual machine placement method of a virtual machine placement device that places a virtual machine on a physical server that executes the virtual machine, wherein the virtual machine placement device uses a processing unit and the physical server. Upper and lower thresholds for the resource amount, service interruption time that occurs when the virtual machine is moved from the physical server of the placement source to the physical server of the migration destination, and tolerances that indicate acceptable limits for the service interruption time A storage unit that stores a service interruption time threshold, and the processing unit (1) determines whether or not a resource usage amount of the physical server that is the arrangement source exceeds the upper limit threshold; (2) When it is determined that the used resource amount of the physical server of the placement source exceeds the upper limit threshold, the used resource amount of the physical server of the placement source is the upper limit As below the value, to extract the virtual machine to be moved, to extract the physical server that the service interruption time is determined within said allowable service interruption time threshold as the destination physical server in step, (2a) the mobile When the destination physical server is extracted, the physical server score used to determine the priority order for selecting the destination physical server is calculated based on the amount of used resources indicated by the evaluation element that is a measure for measuring the margin of the resource. and prioritize based on the magnitude relation of the physical server score, moving at highest the destination physical server to the mobile target virtual machine of the priority, (2b) the destination physical server If no, then increase the physical server that the service interruption time is determined within said allowable service interruption time threshold, (2a) A step of executing processing; (3) if it is determined that the used resource amount of the physical server of the placement source is equal to or less than the upper limit threshold value, whether or not the used resource amount of the physical server of the placement source falls below the lower limit threshold value for a predetermined time And when it is determined that the used resource amount of the physical server of the placement source is lower than the lower limit threshold for a predetermined time, the physical server for which the service interruption time is determined to be within the allowable service interruption time threshold is set to the second A step of extracting as a physical server of a migration destination, when the physical server of the second migration destination is extracted, the physical server score used for determining a priority order for selecting the physical server of the second migration destination , calculated by the use resource amount indicated by the evaluation elements, prioritized based on the magnitude relation of the physical server scores the highest above the priority The second destination physical server, performing a setting to move the virtual machine from the physical server of the arrangement source if the setting to go about all the virtual machines from the physical server of the arrangement original is finished, transfer the virtual machine configuration for moving and to execute the step of moving to the second destination physical server.

このような構成によれば、マシン配置装置は、構成(2a)(2b)を備えて、物理サーバの増加を極力抑えることによって、仮想マシンの集約効率を向上することができる。また、マシン配置装置は、構成(2)を備えることによって、リソース競合を防止し、リソース使用効率を向上することができる。また、マシン配置装置は、構成(3)を備えることによって、集約効率の低い物理サーバを無くすことができるため、物理サーバの稼動台数を低減する(電力使用効率を向上する)ことができる。   According to such a configuration, the machine placement apparatus includes the configurations (2a) and (2b), and can suppress the increase in physical servers as much as possible, thereby improving the aggregation efficiency of virtual machines. In addition, the machine placement device can prevent resource contention and improve resource use efficiency by providing the configuration (2). In addition, since the machine placement apparatus includes the configuration (3), it is possible to eliminate physical servers with low aggregation efficiency, and thus it is possible to reduce the number of operating physical servers (improve power use efficiency).

また、本発明は、前記処理部が、リソースの前記評価要素が1種類の場合には、前記仮想マシンの実行スケジュールの所定期間に亘って、前記物理サーバの空きリソース量の合計値を前記物理サーバスコアとして算出し、前記空きリソース量の合計値が大きいほど、優先順位を高く設定することを特徴とする。 Further, the present invention, the processing unit, if the evaluation element of the resource is one kind, over a predetermined period of execution schedule of the virtual machine, the physical total amount of free resources of the physical server calculated as the server scores, as the sum of the vacant resource amount is large, characterized by high rather set the priority.

このような構成によれば、物理サーバの空きリソース量が大きいほど仮想マシンを移動しやすいので、集約効率の向上、リソース競合の防止および物理サーバの稼動台数の低減(電力使用効率の向上)を満足した上で、容易に移動先の物理サーバを見つけることができる。   According to such a configuration, the larger the amount of free resources on the physical server, the easier it is to move virtual machines. Therefore, it is possible to improve aggregation efficiency, prevent resource contention, and reduce the number of physical servers in operation (improve power usage efficiency). It is easy to find the destination physical server after satisfying.

また、本発明は、前記処理部が、前記仮想マシンの実行スケジュールを作成する際に、リソース量を切替えるタイミングを示すリソース割当タイミングをスケジュールの区切りとし、リソースの前記評価要素が複数種類の場合には、前記評価要素それぞれにおける前記使用リソース量を、前記リソース割当タイミングに挟まれた期間ごとに1つの評価軸に射影して評価尺度値として算出し、前記リソース割当タイミングに挟まれた期間内で複数の前記評価要素の前記評価尺度値の偏りを算出し、さらに前記算出した評価尺度値の偏りについて前記実行スケジュールの所定期間に亘って平均して求めた平均値を前記物理サーバスコアとして算出し、前記平均値が小さいほど、優先順位を高く設定することを特徴とする。 Further, the present invention, the processing unit, when creating the execution schedule of the virtual machines, the resource allocation timing indicating timing for switching the amount of resources as a delimiter of schedule, if the evaluation element of the resource is a plurality of types is the use resource amount in each of the evaluation elements, the resource allocation for each sandwiched period timing calculated as evaluation measure values by projecting a single evaluation axis, the period in which the sandwiched resource allocation timing calculated in calculating the deviation of the evaluation scale values of the plurality of evaluation elements, the further average value obtained by averaging over a predetermined period of the execution schedule for deviation of the calculated evaluation scale value as the physical server score and, as the average value is small, characterized by high rather set the priority.

このような構成によれば、リソースの評価要素が複数種類(例えば、CPU(Central Processing Unit)使用率、メモリ使用率等)の場合には、異なる評価要素間で比較ができるように、1つの評価軸に射影して求めた評価尺度値を算出し、その評価尺度値の偏りの平均値が、実行スケジュールの所定期間に亘って小さいほど仮想マシンを移動しやすいので、集約効率の向上、リソース競合の防止および物理サーバの稼動台数の低減(電力使用効率の向上)を満足した上で、容易に移動先の物理サーバを見つけることができる。   According to such a configuration, when there are a plurality of types of resource evaluation elements (for example, CPU (Central Processing Unit) usage rate, memory usage rate, etc.), one evaluation element can be compared between different evaluation elements. The evaluation scale value calculated by projecting to the evaluation axis is calculated, and the smaller the average deviation of the evaluation scale value over the predetermined period of the execution schedule, the easier it is to move the virtual machine. It is possible to easily find a destination physical server after satisfying prevention of competition and reduction of the number of operating physical servers (improvement of power use efficiency).

また、本発明は、前記処理部、前記仮想マシンの実行スケジュールを作成する際に、リソース量を切替えるタイミングを示すリソース割当タイミングをスケジュールの区切りとし、リソースの前記評価要素それぞれにおける前記使用リソース量を、前記リソース割当タイミングに挟まれた期間ごとに1つの評価軸に射影して評価尺度値として算出し、前記実行スケジュールの所定期間に亘って前記評価尺度値すべての中で最大の評価尺度値を前記物理サーバごとに抽出し、抽出した前記最大の評価尺度値を前記物理サーバスコアとし、抽出した前記最大の評価尺度値の中で小さい評価尺度値を有する物理サーバほど、優先順位を高く設定することを特徴とする。 Further, the present invention, the processing unit, the in creating the execution schedule of the virtual machines, the resource allocation timing indicating timing for switching the amount of resources and separators of schedule, the use resource amount in each of the evaluation blocks of a resource , said calculated as evaluation measure values by projecting a single evaluation axis for each period sandwiched resource allocation timing, maximum evaluation measure among all the rating scales value over a predetermined period of the execution schedule A value is extracted for each physical server, the extracted maximum evaluation measure value is set as the physical server score, and a physical server having a smaller evaluation measure value among the extracted maximum evaluation measure values has a higher priority. and characterized in that the Ku set.

このような構成によれば、リソースの評価要素が複数種類の場合には、異なる評価要素間で比較ができるように、1つの評価軸に射影して求めた評価尺度値を算出し、その評価尺度値の最大値が、実行スケジュールの所定期間に亘って小さいほど仮想マシンを移動しやすいので、集約効率の向上、リソース競合の防止および物理サーバの稼動台数の低減(電力使用効率の向上)を満足した上で、容易に移動先の物理サーバを見つけることができる。   According to such a configuration, when there are a plurality of types of resource evaluation elements, an evaluation scale value obtained by projecting on one evaluation axis is calculated so that comparison can be made between different evaluation elements, and the evaluation The smaller the maximum scale value is, the easier it is to move a virtual machine over a predetermined period of the execution schedule. This improves aggregation efficiency, prevents resource contention, and reduces the number of operating physical servers (improves power usage efficiency). It is easy to find the destination physical server after satisfying.

また、本発明は、前記処理部が、前記仮想マシンの実行スケジュールを作成する際に、リソース量を切替えるタイミングを示すリソース割当タイミングをスケジュールの区切りとし、リソースの前記評価要素が複数種類の場合には、前記評価要素それぞれにおける前記使用リソース量を、前記リソース割当タイミングに挟まれた期間ごとに1つの評価軸に射影して評価尺度値として算出し、前記リソース割当タイミングに挟まれた期間内で複数の前記評価要素の前記評価尺度値の偏りを算出し、さらに前記算出した評価尺度値の偏りについて前記実行スケジュールの所定期間に亘って平均して求めた平均値を第1の物理サーバスコアとして算出し、前記平均値が小さいほど、優先順位を高く設定し、前記評価要素それぞれにおける前記使用リソース量を、前記リソース割当タイミングに挟まれた期間ごとに1つの評価軸に射影して前記評価尺度値として算出し、前記実行スケジュールの所定期間に亘って前記評価尺度値すべての中で最大の評価尺度値を前記物理サーバごとに抽出し、抽出した前記最大の評価尺度値を前記物理サーバの第2の物理サーバスコアとし、抽出した前記最大の評価尺度値の中で小さい評価尺度値を有する物理サーバほど、優先順位を高く設定し、前記第1の物理サーバスコアおよび前記第2の物理サーバスコアそれぞれに重み計数を乗算し、両者を合計した合計値を前記物理サーバスコアとして設定することを特徴とする。 Further, the present invention, the processing unit, when creating the execution schedule of the virtual machines, the resource allocation timing indicating timing for switching the amount of resources as a delimiter of schedule, if the evaluation element of the resource is a plurality of types is the use resource amount in each of the evaluation elements, the resource allocation for each sandwiched period timing calculated as evaluation measure values by projecting a single evaluation axis, the period in which the sandwiched resource allocation timing in calculating the deviation of the evaluation scale values of the plurality of evaluation elements, further wherein the calculated evaluation scale value the average value obtained by averaging over a predetermined period of the execution schedule for bias first physical server scores calculated as the as the average value is smaller, the priority higher rather to set the said use Li in each of the evaluation element The over scan volume, projected to a single evaluation axis for each period sandwiched between the resource allocation timing calculated as the evaluation scale value, the rating scale value for a predetermined period of the execution schedule of all A maximum evaluation scale value is extracted for each physical server, the extracted maximum evaluation scale value is set as a second physical server score of the physical server , and a small evaluation scale value among the extracted maximum evaluation scale values more physical server having a highly rather set the priority, the weight count multiplied to each of the first physical server score and the second physical server scores, the total value which is the sum of both as the physical server score It is characterized by setting.

このような構成によれば、2つの異なる方法によって算出した物理サーバスコアに重み付けをして物理サーバスコアを算出するので、2つの異なる方法双方を加味して、集約効率の向上、リソース競合の防止および物理サーバの稼動台数の低減(電力使用効率の向上)を満足した上で、容易に移動先の物理サーバを見つけることができる。   According to such a configuration, the physical server score is calculated by weighting the physical server score calculated by two different methods. Therefore, the aggregation efficiency is improved and the resource competition is prevented by taking both two different methods into consideration. In addition, after satisfying the reduction in the number of operating physical servers (improvement of power usage efficiency), it is possible to easily find the physical server of the movement destination.

また、本発明は、前記処理部が、前記仮想マシンの実行スケジュールを作成する際に、リソース量を切替えるタイミングを示すリソース割当タイミングをスケジュールの区切りとし、リソースの前記評価要素が複数種類の場合には、前記評価要素それぞれにおける前記使用リソース量を、前記リソース割当タイミングに挟まれた期間ごとに1つの評価軸に射影して評価尺度値として算出し、前記リソース割当タイミングに挟まれた期間内で複数の前記評価要素の前記評価尺度値の偏りを算出し、さらに前記算出した評価尺度値の偏りについて前記実行スケジュールの所定期間に亘って平均して求めた平均値を前記物理サーバスコアとして算出し、前記平均値が小さいほど、優先順位を高く設定し、前記物理サーバスコアを複数の段階で表現し、前記物理サーバスコアが同じ段階で表されるときには、前記評価要素それぞれにおける前記使用リソース量を、前記リソース割当タイミングに挟まれた期間ごとに1つの評価軸に射影して前記評価尺度値として算出し、前記実行スケジュールの所定期間に亘って前記評価尺度値すべての中で最大の評価尺度値を前記物理サーバごとに抽出し、抽出した前記最大の評価尺度値を前記物理サーバスコアとし、抽出した前記最大の評価尺度値の中で小さい評価尺度値を有する物理サーバほど、優先順位を高く設定することを特徴とする。 Further, the present invention, the processing unit, when creating the execution schedule of the virtual machines, the resource allocation timing indicating timing for switching the amount of resources as a delimiter of schedule, if the evaluation element of the resource is a plurality of types is the use resource amount in each of the evaluation elements, the resource allocation for each sandwiched period timing calculated as evaluation measure values by projecting a single evaluation axis, the period in which the sandwiched resource allocation timing calculated in calculating the deviation of the evaluation scale values of the plurality of evaluation elements, the further average value obtained by averaging over a predetermined period of the execution schedule for deviation of the calculated evaluation scale value as the physical server score and, the higher the average value is smaller, the priority higher rather set the, representing the physical server score in a plurality of stages When the physical server score is represented by the same step, calculates the used resource amount of each of the evaluation factors, as the evaluation scale values by projecting a single evaluation axis for each period sandwiched between the resource allocation timing Then, the maximum evaluation scale value among all the evaluation scale values over the predetermined period of the execution schedule is extracted for each physical server, and the extracted maximum evaluation scale value is extracted as the physical server score. more physical server having a small rating scale value among the maximum rating scale value, characterized by high rather set the priority.

また、本発明は、前記処理部が、前記仮想マシンの実行スケジュールを作成する際に、リソース量を切替えるタイミングを示すリソース割当タイミングをスケジュールの区切りとし、リソースの前記評価要素が複数種類の場合には、前記評価要素それぞれにおける前記使用リソース量を、前記リソース割当タイミングに挟まれた期間ごとに1つの評価軸に射影して評価尺度値として算出し、前記実行スケジュールの所定期間に亘って前記評価尺度値すべての中で最大の評価尺度値を前記物理サーバごとに抽出し、抽出した前記最大の評価尺度値を前記物理サーバスコアとし、抽出した前記最大の評価尺度値の中で小さい評価尺度値を有する物理サーバほど、優先順位を高く設定し、前記物理サーバスコアを複数の段階で表現し、前記物理サーバスコアが同じ段階で表されるときには、前記評価要素それぞれにおける前記使用リソース量を、前記リソース割当タイミングに挟まれた期間ごとに1つの評価軸に射影して前記評価尺度値として算出し、前記リソース割当タイミングに挟まれた期間内で複数の前記評価要素の前記評価尺度値の偏りを算出し、さらに前記算出した評価尺度値の偏りについて前記実行スケジュールの所定期間に亘って平均して求めた平均値を前記物理サーバスコアとして算出し、前記平均値が小さいほど、優先順位を高く設定することを特徴とする。 Further, the present invention, the processing unit, when creating the execution schedule of the virtual machines, the resource allocation timing indicating timing for switching the amount of resources as a delimiter of schedule, if the evaluation element of the resource is a plurality of types is the use resource amount in each of the evaluation elements, the calculated as evaluation measure values by projecting a single evaluation axis for each period sandwiched resource allocation timing, over a predetermined period of the execution schedule the The maximum evaluation scale value among all the evaluation scale values is extracted for each physical server, the extracted maximum evaluation scale value is set as the physical server score, and the small evaluation scale is extracted among the extracted maximum evaluation scale values. more physical server having a value, and a high rather set the priority to represent the physical server score in multiple stages, the physical server When the score is expressed in the same stage, the use resource amount in each of the evaluation element, the projection and is calculated as the evaluation scale value in one evaluation axis for each period sandwiched between the resource allocation timing, the within a period sandwiched between the resource allocation timing to calculate the deviation of the evaluation scale values of the plurality of evaluation elements, it was obtained by averaging over a further predetermined period of the execution schedule for deviation of the calculated evaluation scale value calculating an average value as the physical server score, the more the average value is small, characterized by high rather set the priority.

このような構成によれば、2つの異なる方法によって算出した物理サーバスコアのうち、一方の方法によって算出した物理サーバスコアがほぼ等しい場合であっても、他方の方法によって算出した物理サーバスコアの違いによって優先順位を付けることができるので、集約効率の向上、リソース競合の防止および物理サーバの稼動台数の低減(電力使用効率の向上)を満足した上で、容易に移動先の物理サーバを見つけることができる。   According to such a configuration, even if the physical server scores calculated by one of the two different methods are substantially equal, the difference in the physical server scores calculated by the other method Can be prioritized, so it is easy to find the destination physical server after satisfying the improvement of aggregation efficiency, prevention of resource contention and reduction of the number of physical servers in operation (improvement of power usage efficiency). Can do.

本発明によれば、仮想マシンを物理サーバへ配置するときに、集約効率を向上し、リソース競合を防止し、物理サーバの稼動台数を低減することを満足させることができる。   According to the present invention, when a virtual machine is arranged on a physical server, it is possible to improve the aggregation efficiency, prevent resource contention, and reduce the number of operating physical servers.

仮想マシン実行システムの構成例を示す図である。It is a figure which shows the structural example of a virtual machine execution system. 仮想マシンの必要リソース量を示す図である。It is a figure which shows the required resource amount of a virtual machine. 仮想マシン配置装置の機能例を示す図である。It is a figure which shows the function example of a virtual machine arrangement | positioning apparatus. 仮想マシンの初期配置を決定するための初期配置処理フロー例を示す図である。It is a figure which shows the example of an initial arrangement process flow for determining the initial arrangement of a virtual machine. 仮想マシンを再配置するための再配置処理フロー例を示す図である。It is a figure which shows the example of a rearrangement process flow for rearranging a virtual machine. 仮想マシンを再配置するための再配置処理フロー例(つづき)を示す図である。It is a figure which shows the example of a rearrangement process flow (following) for rearranging a virtual machine. 記憶部に記憶される情報例を示す図であり、(a)はアプリケーションの処理スケジュールの一例を表し、(b)は仮想マシン必要リソース量情報の一例を表し、(c)は物理サーバリソース情報の一例を表し、(d)は許容サービス中断時間閾値情報の一例を表し、(e)は仮想マシンの移行時間情報の一例を表し、(f)は物理サーバスコア情報の一例を表し、(g)は仮想マシン配置情報の一例を表す。It is a figure which shows the example of information memorize | stored in a memory | storage part, (a) represents an example of a process schedule of an application, (b) represents an example of virtual machine required resource amount information, (c) represents physical server resource information. (D) represents an example of allowable service interruption time threshold information, (e) represents an example of virtual machine migration time information, (f) represents an example of physical server score information, (g ) Represents an example of virtual machine arrangement information.

本発明を実施するための形態(以降、「本実施形態」と称す。)について、適宜図面を参照しながら詳細に説明する。   A mode for carrying out the present invention (hereinafter referred to as “the present embodiment”) will be described in detail with reference to the drawings as appropriate.

(仮想マシン実行システム)
はじめに、本実施形態における仮想マシン実行システムの構成例について、図1を用いて説明する。
図1に示すように、仮想マシン実行システム50は、仮想マシン配置装置10、1台以上の物理サーバ20(20a,20b,・・20m)で構成される物理サーバ群21および記憶装置31を備える。仮想マシン配置装置10、物理サーバ20および記憶装置31は、ネットワーク40を介して、通信可能に接続されている。なお、図1では、記憶装置31は、1台しか記載していないが、2台以上であっても構わない。
(Virtual machine execution system)
First, a configuration example of a virtual machine execution system in the present embodiment will be described with reference to FIG.
As shown in FIG. 1, the virtual machine execution system 50 includes a virtual machine placement device 10, a physical server group 21 including one or more physical servers 20 (20a, 20b,... 20m), and a storage device 31. . The virtual machine placement device 10, the physical server 20, and the storage device 31 are connected to be communicable via the network 40. In FIG. 1, only one storage device 31 is shown, but two or more storage devices 31 may be used.

記憶装置31は、ネットワーク40を介して仮想マシンA(VM(Virtual Machine)プログラム)30a〜仮想マシンE(VMプログラム)30eを読み書きする機能を有する。なお、以降の説明では、仮想マシンA(30a)〜仮想マシンE(30e)を区別する必要がない場合には、仮想マシン30と表記することとする。また、図1には、5つの仮想マシン30が記載されているが、5つに限られることはなく、4以下または6以上であっても構わない。また、本実施形態では、1つの仮想マシン30は、1つのアプリケーションを実行するものとして説明する。   The storage device 31 has a function of reading and writing the virtual machine A (VM (Virtual Machine) program) 30 a to virtual machine E (VM program) 30 e via the network 40. In the following description, when there is no need to distinguish between the virtual machine A (30a) to the virtual machine E (30e), the virtual machine A will be referred to as the virtual machine 30. In FIG. 1, five virtual machines 30 are described, but the number is not limited to five and may be four or less or six or more. In the present embodiment, a description will be given assuming that one virtual machine 30 executes one application.

仮想マシン配置装置10は、記憶装置31に記憶されている仮想マシン30を物理サーバ20に配置する機能を有する。仮想マシン配置装置10は、物理サーバ20に仮想マシン30を配置するとき、物理サーバ20の集約効率を向上しつつリソース競合を防止するとともに、物理サーバ20の稼動台数を低減する(電力使用効率を向上する)ように制御を行う。なお、仮想マシン配置装置10の機能例の詳細については後記する。   The virtual machine placement apparatus 10 has a function of placing the virtual machine 30 stored in the storage device 31 on the physical server 20. When the virtual machine placement apparatus 10 places the virtual machine 30 on the physical server 20, the virtual machine placement apparatus 10 improves the aggregation efficiency of the physical server 20 while preventing resource contention and reducing the number of operating physical servers 20 (reducing power usage efficiency). Control). Details of the function example of the virtual machine placement apparatus 10 will be described later.

物理サーバ20は、仮想マシン配置装置10によって配置された仮想マシン30を実行する機能を有する。例えば、図1では、物理サーバ20aは、配置された仮想マシンA(30a)および仮想マシンC(30c)を実行する。また、物理サーバ20bは、配置された仮想マシンB(30b)、仮想マシンD(30d)、仮想マシンE(30e)を実行する。また、物理サーバ20mは、仮想マシン30が配置されていないため、電源がOFFされるかまたは低電力消費モードに移行される。そのため、仮想マシン実行システム50全体の電力消費効率が向上する。   The physical server 20 has a function of executing the virtual machine 30 placed by the virtual machine placement apparatus 10. For example, in FIG. 1, the physical server 20a executes the virtual machine A (30a) and the virtual machine C (30c) that are arranged. The physical server 20b executes the arranged virtual machine B (30b), virtual machine D (30d), and virtual machine E (30e). In addition, since the virtual machine 30 is not disposed in the physical server 20m, the power is turned off or the physical server 20m is shifted to the low power consumption mode. Therefore, the power consumption efficiency of the entire virtual machine execution system 50 is improved.

(仮想マシンを配置するときに考慮する3条件)
本発明では、仮想マシン配置装置10は、下記3条件を満足するようにして、仮想マシン30の配置を決定する。
条件1:物理サーバ20において、仮想マシン30の集約効率を高くすること
条件2:1台の物理サーバ20に配置された仮想マシン30間で、リソース競合が起きない範囲において、リソース使用効率を高くすること
条件3:リソース使用効率が低い物理サーバ20に配置されている仮想マシン30すべてを他の物理サーバ20に移動し、仮想マシン30が配置されていない物理サーバ20を電源OFFまたは低電力消費モードに移行させ、電力使用効率を高くすること
(Three conditions to consider when placing virtual machines)
In the present invention, the virtual machine placement apparatus 10 determines the placement of the virtual machine 30 so as to satisfy the following three conditions.
Condition 1: Increase the aggregation efficiency of the virtual machines 30 in the physical server 20 Condition 2: Increase the resource usage efficiency in a range where no resource conflict occurs between the virtual machines 30 arranged in one physical server 20 Condition 3: All the virtual machines 30 arranged on the physical server 20 with low resource use efficiency are moved to another physical server 20, and the physical server 20 on which the virtual machine 30 is not arranged is turned off or consumes low power. Shift to mode and increase power usage efficiency

(仮想マシンの必要リソース量の算出)
条件1〜3を満たすように、仮想マシン30をどの物理サーバ20に配置するかを決定するためには、まず、仮想マシン30(アプリケーション)の必要リソース量が明らかになっている必要がある。
(Calculation of required resource amount of virtual machine)
In order to determine which physical server 20 the virtual machine 30 is placed on so as to satisfy the conditions 1 to 3, first, it is necessary to clarify the required resource amount of the virtual machine 30 (application).

そこで、アプリケーションの処理を、事前に処理の実行期間をスケジューリング可能な処理と、不定期に突発的に発生する処理等のように事前に処理の実行期間をスケジューリングできない処理とに分類する。そして、スケジューリング可能な処理に対しては、処理の発生期間に対して必要なリソース量を割り当てる。また、スケジューリングできない処理に対しては、いつ処理が発生しても処理性能を確保できるように、常時リソースを割り当てる。このようにして、仮想マシン30の必要リソース量を決定する。   Therefore, application processing is classified into processing that can schedule the execution period of the process in advance and processing that cannot schedule the execution period of the process in advance, such as processing that occurs unexpectedly and unexpectedly. For a process that can be scheduled, a necessary resource amount is assigned to the generation period of the process. For a process that cannot be scheduled, resources are always allocated so that the processing performance can be ensured whenever the process occurs. In this way, the required resource amount of the virtual machine 30 is determined.

仮想マシン30の必要リソース量の決定方法について、図2を用いて具体的に説明する。
図2の上段は、1つのアプリケーション(仮想マシン30)を、そのアプリケーションを構成する処理a,b,cに分解できたものとし、第1期間〜第N期間までの各処理の必要リソース量を決定する場面を示している。
第1期間〜第N期間は、リソース量を切替えるタイミングを示すリソース割当タイミング(縦方向の破線)に挟まれた期間であって、この期間の間は、必要リソース量は一定とする。本来は、処理の発生期間中にのみ必要リソース量を割り当てることが望ましいが、処理の発生が頻繁に変化する場合には、仮想マシン30の配置先の物理サーバ20を決定するための計算量が増加してしまう。したがって、リソース割当タイミングを所定期間ごとに設定して揃えることによって、計算量を低減させている。
A method for determining the required resource amount of the virtual machine 30 will be specifically described with reference to FIG.
In the upper part of FIG. 2, it is assumed that one application (virtual machine 30) can be decomposed into processes a, b, and c constituting the application, and the amount of resources required for each process from the first period to the Nth period is shown. The scene to decide is shown.
The first period to the Nth period are periods between resource allocation timings (vertical broken lines) indicating the timing for switching the resource amount, and the required resource amount is constant during this period. Originally, it is desirable to allocate the necessary resource amount only during the process generation period. However, when the process generation frequently changes, the calculation amount for determining the physical server 20 where the virtual machine 30 is arranged is large. It will increase. Therefore, the amount of calculation is reduced by setting and allocating the resource allocation timing for each predetermined period.

図2の上段に示すように、処理aはスケジューリングできる処理であり、第1期間内および第N期間内に、両端矢印線とドットの付された矩形が表示されている。両端矢印線は、処理発生期間を表している。また、矩形は、割り当てた必要リソース量を表し、処理発生期間を含む第1期間および第N期間に示される。   As shown in the upper part of FIG. 2, the process a is a process that can be scheduled, and a rectangle with a double-ended arrow line and dots is displayed in the first period and the Nth period. A double-ended arrow line represents a processing occurrence period. In addition, the rectangle represents the necessary resource amount allocated, and is indicated in the first period and the Nth period including the process generation period.

処理bはスケジューリングできる処理であり、第1期間から第2期間にまたがって、両端矢印線(処理発生期間)が表示されている。この場合には、第1期間および第2期間に斜め線のハッチングが付された矩形で示すように必要リソース量が割り当てられる。また、第N−1期間から第N期間にまたがる両端矢印線(処理発生期間)に対して、第N−1期間および第N期間に斜め線の付された矩形で示すように必要リソース量が割り当てられる。   The process b is a process that can be scheduled, and a double-ended arrow line (process occurrence period) is displayed from the first period to the second period. In this case, a necessary resource amount is allocated as shown by a rectangle with hatching in the first period and the second period. Further, with respect to the double-ended arrow line (processing generation period) extending from the (N-1) period to the N period, the required resource amount is indicated by a rectangle with diagonal lines in the (N-1) period and the N period. Assigned.

処理cはスケジューリングできない処理である。この場合、いつ処理が発生しても処理性能を確保できるように、常に、縦線のハッチングが付された矩形で示すように必要リソース量が割り当てられる。
余裕分はアプリケーションを構成する処理a,b,c以外に、突発的に発生する処理に対応するため、リソース量が割り当てられる。
The process c is a process that cannot be scheduled. In this case, a necessary resource amount is always allocated as shown by a rectangle with vertical hatching so that processing performance can be ensured whenever processing occurs.
In addition to the processes a, b, and c constituting the application, the margin is assigned a resource amount in order to cope with a process that occurs unexpectedly.

上記のようにして、仮想マシン30の必要リソース量は、図2の下段に示すように、処理a,b,cと余裕分とを合計して、期間ごとに算出される。そして、仮想マシン30の必要リソース量の変更は、リソース割当タイミングのときに行われる。   As described above, the required resource amount of the virtual machine 30 is calculated for each period by adding the processes a, b, and c and the margin as shown in the lower part of FIG. The required resource amount of the virtual machine 30 is changed at the resource allocation timing.

(仮想マシン配置装置の機能)
次に、仮想マシン配置装置10の機能例について、図3を用いて説明する(適宜、図1参照)。
仮想マシン配置装置10は、処理部100、記憶部110および通信部120を備える。
通信部120は、通信インタフェースであり、ネットワーク40を介して物理サーバ20や記憶装置31と情報を送受信する。
(Function of virtual machine placement device)
Next, a function example of the virtual machine placement apparatus 10 will be described with reference to FIG. 3 (see FIG. 1 as appropriate).
The virtual machine placement apparatus 10 includes a processing unit 100, a storage unit 110, and a communication unit 120.
The communication unit 120 is a communication interface and transmits / receives information to / from the physical server 20 and the storage device 31 via the network 40.

処理部100は、必要リソース量演算部101、初期配置決定部102および再配置決定部103を備える。処理部100は、図示しないCPU(Central Processing Unit)およびメインメモリによって構成され、処理部100の各部は、記憶部110に記憶されているアプリケーションプログラムをメインメモリに展開して具現化される。   The processing unit 100 includes a necessary resource amount calculation unit 101, an initial arrangement determination unit 102, and a rearrangement determination unit 103. The processing unit 100 includes a CPU (Central Processing Unit) and a main memory (not shown), and each unit of the processing unit 100 is realized by developing an application program stored in the storage unit 110 in the main memory.

必要リソース量演算部101は、図2を用いて説明したように、仮想マシン30の必要リソース量を第1期間〜第N期間について算出する。   As described with reference to FIG. 2, the necessary resource amount calculation unit 101 calculates the necessary resource amount of the virtual machine 30 for the first period to the Nth period.

初期配置決定部102は、必要リソース量演算部101によって算出された必要リソース量を用いて、前記条件1(集約効率)および条件2(リソース使用効率)を満足するように、仮想マシン30を物理サーバ20に初期配置して、物理サーバ20の初期台数を決定する。   The initial placement determining unit 102 uses the required resource amount calculated by the required resource amount calculating unit 101 to physically execute the virtual machine 30 so as to satisfy the condition 1 (aggregation efficiency) and the condition 2 (resource usage efficiency). The server 20 is initially arranged and the initial number of physical servers 20 is determined.

再配置決定部103は、前記条件1(集約効率)、条件2(リソース使用効率)および条件3(電力使用効率)を満足するように、既に配置済の仮想マシン30を再配置(配置換え)する移動先の物理サーバ20を決定する。再配置の処理は、物理サーバ20が仮想マシン30の初期配置の状態から処理を実行している間に、使用リソース量が上限閾値を超えてリソース競合が起きそうになった場合や、使用リソース量が所定期間常に下限閾値を下回ると予想される場合に実行される。なお、使用リソース量とは、実際に処理に使用されているリソース量のことであって、前記した必要リソース量とは言葉の定義が異なる。ただし、使用リソース量の大きさおよび必要リソース量の大きさは一致する場合もあるし、異なる場合もある。   The reallocation determining unit 103 rearranges (rearranges) the virtual machines 30 that have already been arranged so as to satisfy the condition 1 (aggregation efficiency), the condition 2 (resource usage efficiency), and the condition 3 (power usage efficiency). The destination physical server 20 is determined. The rearrangement process is performed when the amount of used resources exceeds the upper limit threshold and resource contention is likely to occur while the physical server 20 is executing the process from the initial arrangement state of the virtual machine 30, or the used resources Executed when the amount is expected to always fall below the lower threshold for a predetermined period of time. The used resource amount is a resource amount actually used for processing, and the definition of the term is different from the above-described required resource amount. However, the size of the used resource amount and the required resource amount may be the same or may be different.

記憶部110は、メモリやハードディスク等の記憶媒体である。記憶部110には、アプリケーションの処理スケジュール111、仮想マシン必要リソース量情報112、物理サーバリソース情報113、許容サービス中断時間閾値情報114、仮想マシンの移行時間情報115、物理サーバスコア情報116および仮想マシン配置情報117が記憶される。記憶部110に記憶されている情報は、処理部100によって読み書きされる。記憶部110に記憶される各情報の一例については、図7に示した。   The storage unit 110 is a storage medium such as a memory or a hard disk. The storage unit 110 includes an application process schedule 111, virtual machine required resource amount information 112, physical server resource information 113, allowable service interruption time threshold information 114, virtual machine migration time information 115, physical server score information 116, and virtual machine. Arrangement information 117 is stored. Information stored in the storage unit 110 is read and written by the processing unit 100. An example of each piece of information stored in the storage unit 110 is shown in FIG.

アプリケーションの処理スケジュール111は、図2の上段で説明した、第1期間から第N期間までの間で発生する処理発生期間を、アプリケーション(仮想マシン30)ごとに関連付けた情報である(図7(a)参照)。
仮想マシン必要リソース量情報112は、図2の下段で説明した、仮想マシン30の必要リソース量の情報であり、仮想マシン30と必要リソース量とを関連付けた情報である(図7(b)参照)。なお、必要リソース量は、期間と関連付けて記憶される。
物理サーバリソース情報113は、リソース競合が起きないようにするための物理サーバ20の使用リソース量の上限閾値、およびリソース使用効率が低いか否かを判定するための使用リソース量の下限閾値を物理サーバ20と関連付けた情報である(図7(c)参照)。なお、図7(c)中の「評価要素」欄において、「評価要素1」「評価要素2」とは、例えば、空き容量、CPU使用率、メモリ使用率等であって、物理サーバ20の余裕を測る物差しを意味している。この評価要素の詳細については、後記する。また、図7(c)中の「リソース量」は、評価要素ごとのリソース量を意味している。
The application process schedule 111 is information that associates, for each application (virtual machine 30), a process occurrence period that occurs between the first period and the Nth period described in the upper part of FIG. a)).
The virtual machine required resource amount information 112 is information on the required resource amount of the virtual machine 30 described in the lower part of FIG. 2, and is information that associates the virtual machine 30 with the required resource amount (see FIG. 7B). ). The required resource amount is stored in association with the period.
The physical server resource information 113 indicates the upper limit threshold of the used resource amount of the physical server 20 for preventing resource contention and the lower limit threshold of the used resource amount for determining whether the resource use efficiency is low. This is information associated with the server 20 (see FIG. 7C). In the “evaluation element” column in FIG. 7C, “evaluation element 1” and “evaluation element 2” are, for example, free capacity, CPU usage rate, memory usage rate, etc. It means a ruler to measure the margin. Details of this evaluation element will be described later. Further, “resource amount” in FIG. 7C means a resource amount for each evaluation element.

許容サービス中断時間閾値情報114は、アプリケーションの処理が中断しても許容できるサービスの中断時間の閾値であり、仮想マシン30とサービス中断時間閾値とを関連付けた情報である(図7(d)参照)。
仮想マシンの移行時間情報115は、既に物理サーバ20に配置済の仮想マシン30を再配置して移動先の物理サーバ20に移動させる際に発生するサービス中断時間を、仮想マシン30と配置元の物理サーバ20と移動先の物理サーバ20と関連付けた情報である(図7(e)参照)。サービス中断時間は、例えば、再配置に係る物理サーバ20間の距離(経由するハブ等のノードの台数)によって異なる。
The allowable service interruption time threshold value information 114 is a threshold value of service interruption time that can be tolerated even if application processing is interrupted, and is information that associates the virtual machine 30 with the service interruption time threshold value (see FIG. 7D). ).
The virtual machine migration time information 115 indicates the service interruption time that occurs when the virtual machine 30 that has already been placed on the physical server 20 is rearranged and moved to the destination physical server 20. This is information associated with the physical server 20 and the destination physical server 20 (see FIG. 7E). The service interruption time varies depending on, for example, the distance between the physical servers 20 related to the rearrangement (the number of nodes such as hubs that are routed).

物理サーバスコア情報116は、物理サーバ20ごとに算出される物理サーバスコアに関する情報である(図7(f)参照)。本実施形態では、物理サーバスコアの最も大きな物理サーバ20に仮想マシン30が割り当てられるものとして説明するが、その逆であっても構わない。なお、物理サーバスコアの算出方法については後記する。
仮想マシン配置情報117は、仮想マシン30とその仮想マシン30が配置されている物理サーバ20とを関連付けた情報である(図7(g)参照)。
The physical server score information 116 is information related to the physical server score calculated for each physical server 20 (see FIG. 7F). In the present embodiment, the virtual machine 30 is described as being assigned to the physical server 20 having the largest physical server score, but the reverse may be possible. The calculation method of the physical server score will be described later.
The virtual machine arrangement information 117 is information that associates the virtual machine 30 with the physical server 20 on which the virtual machine 30 is arranged (see FIG. 7G).

ここで、処理部100における必要リソース量演算部101、初期配置決定部102および再配置決定部103の各処理と、記憶部110に記憶される情報との入出力関係について、説明する。   Here, an input / output relationship between each process of the required resource amount calculation unit 101, the initial arrangement determination unit 102, and the rearrangement determination unit 103 in the processing unit 100 and information stored in the storage unit 110 will be described.

必要リソース量演算部101は、アプリケーションの処理スケジュール111を入力とし、仮想マシン必要リソース量情報112を出力する。   The required resource amount calculation unit 101 receives the application process schedule 111 and outputs virtual machine required resource amount information 112.

初期配置決定部102は、仮想マシン必要リソース量情報112を入力とし、物理サーバスコア情報116を参照して、仮想マシン30の初期配置の状態を仮想マシン配置情報117に出力する。なお、初期配置決定部102は、物理サーバ20のリソース状態を入力とし、物理サーバスコアを演算するとともに、物理サーバスコア情報116に対して物理サーバスコアを読み書きする。   The initial placement determination unit 102 receives the virtual machine required resource amount information 112 as input, and refers to the physical server score information 116 and outputs the initial placement state of the virtual machine 30 to the virtual machine placement information 117. The initial placement determining unit 102 receives the resource state of the physical server 20 as an input, calculates a physical server score, and reads / writes the physical server score from / to the physical server score information 116.

再配置決定部103は、仮想マシン配置情報117に記憶されている仮想マシン30の初期配置の状態を入力とし、物理サーバリソース情報113を参照して、使用リソース量が上限閾値を超えるかまたは下限閾値を下回るかを判定し、再配置対象とする仮想マシン候補を抽出する。次に、再配置決定部103は、仮想マシン候補を再配置する場合、仮想マシンの移動時間情報115および許容サービス中断時間閾値情報114を参照して、サービス中断時間が許容サービス中断時間閾値を満足する移動先の物理サーバ20を抽出する。そして、再配置決定部103は、物理サーバスコア情報116を参照して、仮想マシン30の再配置の状態を仮想マシン配置情報117に出力する。なお、再配置決定部103は、物理サーバ20のリソース状態を入力とし、物理サーバスコアを演算するとともに、物理サーバスコア情報116に対して物理サーバスコアを読み書きする。   The relocation determination unit 103 receives the initial placement state of the virtual machine 30 stored in the virtual machine placement information 117 as an input, refers to the physical server resource information 113, and the used resource amount exceeds the upper limit threshold or the lower limit It is determined whether the value is below the threshold, and virtual machine candidates to be relocated are extracted. Next, when the virtual machine candidate is rearranged, the reallocation determination unit 103 refers to the migration time information 115 and the allowable service interruption time threshold information 114 of the virtual machine, and satisfies the allowable service interruption time threshold. The destination physical server 20 is extracted. Then, the rearrangement determination unit 103 refers to the physical server score information 116 and outputs the rearrangement state of the virtual machine 30 to the virtual machine arrangement information 117. The relocation determining unit 103 receives the resource state of the physical server 20 as an input, calculates the physical server score, and reads / writes the physical server score from / to the physical server score information 116.

(初期配置処理フロー)
次に、仮想マシン30の初期配置を決定するための初期配置処理フロー例について、図4を用いて説明する(適宜、図1,2参照)。
ステップS401では、初期配置決定部102は、物理サーバ台数設定ルールに従って物理サーバ20の初期台数を決定する。
物理サーバ台数設定ルールとは、第1期間から第N期間までの間で、期間ごとに配置予定の仮想マシン30の必要リソース量の合計値を算出し、最も大きな合計値の必要リソース量を配置可能な物理サーバ20の台数を求めることである。
(Initial placement processing flow)
Next, an example of an initial arrangement process flow for determining the initial arrangement of the virtual machine 30 will be described with reference to FIG. 4 (see FIGS. 1 and 2 as appropriate).
In step S401, the initial placement determination unit 102 determines the initial number of physical servers 20 according to the physical server number setting rule.
The physical server number setting rule is to calculate the total required resource amount of the virtual machine 30 scheduled to be arranged for each period from the first period to the Nth period, and arrange the required resource quantity with the largest total value. It is to obtain the number of possible physical servers 20.

ステップS402では、初期配置決定部102は、配置予定の仮想マシン30の中から、必要リソース量の大きい順に1つ選択する。ただし、当該必要リソース量とは、第1期間から第N期間までの間で必要リソース量を合計した合計値のことである。   In step S <b> 402, the initial placement determination unit 102 selects one virtual machine 30 to be placed in descending order of the required resource amount. However, the required resource amount is a total value obtained by adding the required resource amounts during the first period to the Nth period.

ステップS403では、初期配置決定部102は、物理サーバ選定ルールに従って、配置先の物理サーバ20を決定する。ただし、ステップS403の時点で決定する配置先の物理サーバ20は、配置先の候補であるので、複数であっても構わない。
物理サーバ選定ルールとは、配置予定の仮想マシン30の必要リソース量と、物理サーバ20に既に割当済のリソース量との合計値が、第1期間〜第N期間に亘って、物理サーバ20に設定した使用リソース量の上限閾値以下となる条件を満たすように、物理サーバ20を選ぶことである。なお、使用リソース量が上限閾値以下になるとは、リソースの評価要素が複数の場合には、リソースの評価要素それぞれについて、上限閾値以下となることを意味している。ただし、リソースの評価要素については後記する。また、上限閾値は、物理サーバリソース情報113に記憶されている。
In step S403, the initial placement determination unit 102 determines the placement destination physical server 20 according to the physical server selection rule. However, the placement destination physical server 20 determined at the time of step S403 may be a plurality of placement destination candidates, and may be plural.
The physical server selection rule is that the total value of the required resource amount of the virtual machine 30 to be arranged and the resource amount already allocated to the physical server 20 is given to the physical server 20 over the first period to the Nth period. The physical server 20 is selected so as to satisfy a condition that is equal to or less than the upper limit threshold of the used resource amount that has been set. Note that the usage resource amount being equal to or lower than the upper limit threshold means that when there are a plurality of resource evaluation elements, each resource evaluation element is equal to or lower than the upper limit threshold. However, resource evaluation elements will be described later. Further, the upper limit threshold value is stored in the physical server resource information 113.

一般的な仮想マシン30のリソースの使用方法は、予約モードと制限モードの2種類が知られている。予約モードでは、仮想マシン30は、その仮想マシン30が使用する最低限のリソース量を保証され、空きリソースが存在する場合には、最低限のリソース量を超えて空きリソースを使用できる。制限モードでは、仮想マシン30は、使用可能なリソース量の上限値を設定され、設定された上限値を超えてリソースを使用できない。本実施形態では、仮想マシン30が、制限モードでリソースを使用するものとする。   There are two known methods for using resources of a general virtual machine 30: a reservation mode and a restriction mode. In the reservation mode, the virtual machine 30 is guaranteed the minimum amount of resources used by the virtual machine 30, and when there are free resources, the free resources can be used exceeding the minimum amount of resources. In the restriction mode, the virtual machine 30 is set with an upper limit value of the amount of resources that can be used, and cannot use resources beyond the set upper limit value. In the present embodiment, it is assumed that the virtual machine 30 uses resources in the restricted mode.

ステップS404では、初期配置決定部102は、配置先の物理サーバ20があるか否かを判定する。
配置先の物理サーバ20がある場合(ステップS404でYes)、処理はステップS405へ進み、配置先の物理サーバ20がない場合(ステップS404でNo)、処理はステップS408へ進む。
In step S404, the initial placement determination unit 102 determines whether there is a physical server 20 that is the placement destination.
If there is a physical server 20 that is the placement destination (Yes in step S404), the process proceeds to step S405. If there is no physical server 20 that is the placement destination (No in step S404), the process proceeds to step S408.

ステップS405では、初期配置決定部102は、配置先の物理サーバ20のリソース状態に基づいて優先順位を示す物理サーバスコアを算出し、優先順位の最も高い物理サーバ20に仮想マシン30を配置する。   In step S405, the initial placement determination unit 102 calculates a physical server score indicating a priority order based on the resource state of the placement destination physical server 20, and places the virtual machine 30 on the physical server 20 with the highest priority order.

ここで、物理サーバスコアの算出方法について説明する。物理サーバスコアの算出方法は、リソースの評価要素の数によって異なる。
リソースの評価要素として、例えば、CPU使用率、メモリ使用率等がある。CPU使用率は、実行中のアプリケーションがCPUを占有している時間の割合を表す。メモリ使用率は、実行中のアプリケーションがメモリを占有している割合を表す。
Here, a method for calculating the physical server score will be described. The calculation method of the physical server score differs depending on the number of resource evaluation elements.
Examples of resource evaluation elements include a CPU usage rate and a memory usage rate. The CPU usage rate represents a ratio of time during which an executing application occupies the CPU. The memory usage rate represents a rate at which a running application occupies memory.

ここで、リソースの評価要素を1種類だけ(例えば、CPU使用率だけ)で考えた場合、初期配置決定部102は、第1期間〜第N期間(仮想マシン30の実行スケジュールの所定期間)に亘って、物理サーバ20の空きリソース量の合計値を算出し、空きリソース量の合計値が大きいほど、優先順位を高くするように物理サーバスコアを設定する。なお、優先順位が高いとは、物理サーバ20が選択されやすいことを意味している。つまり、物理サーバスコアは、リソース状態(空きリソース量の合計値)の違いによって異なる。   Here, when only one type of resource evaluation element is considered (for example, only the CPU usage rate), the initial placement determination unit 102 performs the first period to the Nth period (a predetermined period of the execution schedule of the virtual machine 30). Over all, the total value of the free resource amount of the physical server 20 is calculated, and the physical server score is set so that the priority is higher as the total value of the free resource amount is larger. Note that a high priority means that the physical server 20 is easily selected. That is, the physical server score differs depending on the difference in resource state (total value of free resource amount).

また、リソースの評価要素が複数の場合(CPU使用率、メモリ使用率等)、初期配置決定部102は、リソースの評価要素それぞれの評価尺度値を算出する。評価尺度値とは、CPU使用率の場合には、CPU使用率の最大値が100%で、使用時には80%であれば、0.8(=80÷100)と算出し、その算出した値を1つの評価軸に射影して求めた評価値である。また、メモリ使用率の場合には、評価尺度値は、最大メモリ容量が1GBで、使用時には700MBであれば、0.7(=700÷1000)と算出し、その算出した値を1つの評価軸に射影して求めた評価値である。ここで、1つの評価尺度に射影するとは、例えば、リソースの評価要素ごとに所定の重み係数を乗算することであっても構わない。つまり、CPU使用率の評価尺度値およびメモリ使用率の評価尺度値は、1つの評価軸(1次元)の評価値で表現されているため、その評価値の大きさを直接比較することができる。
そこで、初期配置決定部102は、まず、一つの期間(期間とは図2に示す第〇期間のこと)内において評価要素の種類を問わずこれらの評価尺度値の偏りを個別期間値として算出し、次に個別期間値をさらに第1期間〜第N期間に亘って平均して求めた平均値を全期間平均値として算出し、全期間平均値が小さいほど、優先順位を高くするように物理サーバスコアを設定する。つまり、物理サーバスコアは、リソース状態(評価尺度値の偏りの平均値)の違いによって異なる。
When there are a plurality of resource evaluation elements (CPU usage rate, memory usage rate, etc.), the initial placement determining unit 102 calculates an evaluation scale value for each of the resource evaluation elements. In the case of the CPU usage rate, the evaluation scale value is calculated as 0.8 (= 80 ÷ 100) if the maximum value of the CPU usage rate is 100% and 80% during use. Is an evaluation value obtained by projecting onto one evaluation axis. In the case of the memory usage rate, the evaluation scale value is calculated as 0.7 (= 700 ÷ 1000) when the maximum memory capacity is 1 GB and 700 MB at the time of use, and the calculated value is one evaluation. An evaluation value obtained by projecting onto an axis. Here, projecting onto one evaluation scale may be, for example, multiplying a predetermined weighting factor for each evaluation element of the resource. That is, since the evaluation scale value of the CPU usage rate and the evaluation scale value of the memory usage rate are expressed by the evaluation value of one evaluation axis (one-dimensional), the magnitudes of the evaluation values can be directly compared. .
Therefore, the initial arrangement determining unit 102 first calculates the deviation of these evaluation scale values as individual period values regardless of the type of evaluation element within one period (the period is the tenth period shown in FIG. 2). Then, the average value obtained by further averaging the individual period values over the first period to the Nth period is calculated as the average value for the entire period, and the priority is increased as the average value for the entire period is smaller. Set the physical server score. That is, the physical server score varies depending on the difference in resource state (average value of evaluation scale value bias).

ステップS406では、初期配置決定部102は、未配置の仮想マシン30が残っているか否かを判定する。
未配置の仮想マシン30が残っている場合(ステップS406でYes)、処理はステップS402へ戻り、未配置の仮想マシンが残っていない場合(ステップS406でNo)、処理はステップS407へ進む。
In step S <b> 406, the initial placement determination unit 102 determines whether or not an unplaced virtual machine 30 remains.
If an unallocated virtual machine 30 remains (Yes in step S406), the process returns to step S402. If no unallocated virtual machine remains (No in step S406), the process proceeds to step S407.

ステップS407では、初期配置決定部102は、物理サーバ台数を決定する。具体的には、物理サーバ20の台数は、配置予定の仮想マシン30が配置された物理サーバ20の台数となる。そして、初期配置の処理は終了する。
ステップS408では、初期配置決定部102は、物理サーバ20を増加する。そして、処理はステップS403へ戻る。
In step S407, the initial placement determination unit 102 determines the number of physical servers. Specifically, the number of physical servers 20 is the number of physical servers 20 on which the virtual machines 30 to be arranged are arranged. Then, the initial placement process ends.
In step S408, the initial arrangement determining unit 102 increases the physical server 20. Then, the process returns to step S403.

以上、図4に示す初期配置処理フローでは、初期配置決定部102は、ステップS401において、物理サーバ台数設定ルールに従って理論上の物理サーバ20の初期台数(理論上の最小台数)を設定することにより、条件1(集約効率)を満たすための初期状態を設定することができる。また、初期配置決定部102は、ステップS403において、物理サーバ選定ルールに従って配置先の物理サーバ20を決定することにより、条件2(リソース使用効率)を満たすための初期状態を設定することができる。また、初期配置決定部102は、必要リソース量の大きい順に仮想マシン30を選択し(ステップS402)、優先順位の最も高い物理サーバ20に当該仮想マシン30を配置する(ステップS405)ことにより、ランダムに仮想マシン30を配置する場合に比べて、物理サーバ20の台数を少なくすることができる。   As described above, in the initial arrangement processing flow shown in FIG. 4, the initial arrangement determining unit 102 sets the initial number of theoretical physical servers 20 (theoretical minimum number) according to the physical server number setting rule in step S401. , An initial state for satisfying condition 1 (aggregation efficiency) can be set. Further, in step S403, the initial placement determination unit 102 can set an initial state for satisfying the condition 2 (resource usage efficiency) by determining the placement destination physical server 20 according to the physical server selection rule. Further, the initial placement determination unit 102 selects the virtual machines 30 in descending order of the required resource amount (Step S402), and places the virtual machines 30 on the physical server 20 with the highest priority (Step S405), thereby randomly. The number of physical servers 20 can be reduced as compared with the case where the virtual machines 30 are arranged in the network.

(再配置処理フロー)
次に、配置済の仮想マシン30を他の物理サーバ20に再配置するための再配置処理フロー例について、図5,6を用いて説明する(適宜、図1,3参照)。なお、以下の説明では、再配置と移動とを同じ意味で用いている。また、再配置(移動)は、図2で説明したリソース割当タイミングに実行されるものとする。
(Relocation processing flow)
Next, an example of a relocation processing flow for relocating a virtual machine 30 that has already been allocated to another physical server 20 will be described with reference to FIGS. 5 and 6 (see FIGS. 1 and 3 as appropriate). In the following description, rearrangement and movement are used interchangeably. Further, it is assumed that rearrangement (movement) is performed at the resource allocation timing described with reference to FIG.

図5において、ステップS501では、再配置決定部103は、次の期間(期間とは図2に示す第〇期間のこと)において、物理サーバ20の使用リソース量が上限閾値を超えるか否かを判定する。
具体的には、再配置決定部103は、物理サーバリソース情報113を参照して、上限閾値とリソース量とを取得して、物理サーバ20の使用リソース量が上限閾値を超えるか否かを判定する。
上限閾値を超えると判定した場合(ステップS501でYes)、処理はステップS502へ進み、上限閾値以下と判定した場合(ステップS501でNo)、処理は図6の丸Aに進む。
In FIG. 5, in step S501, the relocation determining unit 103 determines whether or not the amount of used resources of the physical server 20 exceeds the upper limit threshold in the next period (the period is the tenth period shown in FIG. 2). judge.
Specifically, the rearrangement determination unit 103 refers to the physical server resource information 113, acquires the upper limit threshold value and the resource amount, and determines whether the used resource amount of the physical server 20 exceeds the upper limit threshold value. To do.
If it is determined that the upper limit threshold is exceeded (Yes in step S501), the process proceeds to step S502. If it is determined that the upper limit threshold is not exceeded (No in step S501), the process proceeds to circle A in FIG.

ステップS502では、再配置決定部103は、移動対象仮想マシン選定ルールに従って、移動する仮想マシン候補を抽出する。
移動対象仮想マシン選定ルールとは、物理サーバ20の使用リソース量が上限閾値を超えると予想される場合、物理サーバ20の使用リソース量が上限閾値を下回るように、使用リソース量の大きい仮想マシン30から順に、移動対象の仮想マシン候補として抽出することである。なお、移動対象の仮想マシン候補の台数は、物理サーバ20の使用リソース量と上限閾値との差分に基づいて、再配置決定部103によって決定される。このようにすることによって、計算量を低減することができる。また、使用リソース量が上限閾値を下回るとは、リソースの評価要素が複数の場合には、リソースの評価要素それぞれについて、上限閾値を下回ることを意味している。
In step S502, the reallocation determining unit 103 extracts virtual machine candidates to be moved according to the migration target virtual machine selection rule.
The migration target virtual machine selection rule is a virtual machine 30 having a large amount of used resources so that the amount of used resources of the physical server 20 falls below the upper limit threshold when the amount of used resources of the physical server 20 is expected to exceed the upper limit threshold. In order from the virtual machine candidates to be moved. Note that the number of virtual machine candidates to be moved is determined by the relocation determination unit 103 based on the difference between the used resource amount of the physical server 20 and the upper limit threshold value. By doing so, the amount of calculation can be reduced. Further, the usage resource amount being below the upper limit threshold means that when there are a plurality of resource evaluation elements, each resource evaluation element is lower than the upper limit threshold.

ステップS503では、再配置決定部103は、仮想マシン候補の中から、任意に仮想マシン30を選択し、移動先物理サーバ選定ルールに従って、移動先の物理サーバ20を抽出する。   In step S503, the relocation determining unit 103 arbitrarily selects the virtual machine 30 from the virtual machine candidates, and extracts the migration destination physical server 20 according to the migration destination physical server selection rule.

移動先物理サーバ選定ルールとは、前記した物理サーバ選定ルールに従って抽出された物理サーバ20の中で、配置予定の仮想マシン30を物理サーバ20へ移動する際のサービス中断時間が許容サービス中断時間以内である物理サーバ20を選ぶことである。具体的には、再配置決定部103は、記憶部110に記憶されている仮想マシンの移動時間情報116および許容サービス中断時間閾値情報114を参照して、サービス中断時間が許容サービス中断時間以内と判定される物理サーバ20を移動先の物理サーバ20として選ぶ。   The migration destination physical server selection rule is a service interruption time when moving the virtual machine 30 to be arranged to the physical server 20 among the physical servers 20 extracted according to the physical server selection rule described above is within an allowable service interruption time. The physical server 20 is selected. Specifically, the relocation determining unit 103 refers to the virtual machine migration time information 116 and the allowable service interruption time threshold information 114 stored in the storage unit 110, and determines that the service interruption time is within the allowable service interruption time. The physical server 20 to be determined is selected as the physical server 20 to be moved.

ステップS504では、再配置決定部103は、移動先の物理サーバ20があるか否かを判定する。
移動先の物理サーバ20がある場合(ステップS504でYes)、処理はステップS505に進み、移動先の物理サーバ20がない場合(ステップS504でNo)、処理はステップS507へ進む。
In step S504, the relocation determining unit 103 determines whether there is a physical server 20 that is the migration destination.
If there is a destination physical server 20 (Yes in step S504), the process proceeds to step S505. If there is no destination physical server 20 (No in step S504), the process proceeds to step S507.

ステップS505では、再配置決定部103は、移動先の物理サーバ20のリソース状態に基づいて優先順位を示す物理サーバスコアを演算し、優先順位の最も高い物理サーバ20に仮想マシン30を移動する。なお、物理サーバスコアの算出方法は、前記した通りである。   In step S505, the relocation determination unit 103 calculates a physical server score indicating a priority based on the resource state of the physical server 20 that is the movement destination, and moves the virtual machine 30 to the physical server 20 having the highest priority. The method for calculating the physical server score is as described above.

ステップS506では、再配置決定部103は、未移動の仮想マシン候補が残っているか否かを判定する。
未移動の仮想マシン候補が残っていると判定した場合(ステップS506でYes)、処理はステップS503へ戻り、未移動の仮想マシン候補が残っていないと判定した場合(ステップS506でNo)、処理は終了する。
In step S506, the reallocation determination unit 103 determines whether there are any unmoved virtual machine candidates remaining.
If it is determined that unmoved virtual machine candidates remain (Yes in step S506), the process returns to step S503, and if it is determined that no unmoved virtual machine candidates remain (No in step S506), processing is performed. Ends.

ステップS507では、再配置決定部103は、移動先物理サーバ選定ルールに従う物理サーバ20を増加する。そして、処理はステップS503へ戻る。   In step S507, the relocation determining unit 103 increases the number of physical servers 20 according to the migration destination physical server selection rule. Then, the process returns to step S503.

次に、図6の丸Aから処理を開始して、ステップS601では、再配置決定部103は、次の期間(期間とは図2に示す第〇期間のこと)において、物理サーバ20の使用リソース量が下限閾値を所定時間下回るか否かを判定する。なお、使用リソース量が下限閾値を下回るとは、リソースの評価要素が複数の場合には、リソースの評価要素それぞれについて、下限閾値を下回ることを意味している。
具体的には、再配置決定部103は、物理サーバリソース情報113を参照して、下限閾値とリソース量とを取得して、物理サーバ20の使用リソース量が下限閾値を所定時間下回るか否かを判定する。
下限閾値を所定時間下回ると判定した場合(ステップS601でYes)、処理はステップS602へ進み、下限閾値を所定時間下回らないと判定した場合(ステップS601でNo)、処理はステップS607に進む。
Next, the processing is started from the circle A in FIG. 6, and in step S601, the relocation determining unit 103 uses the physical server 20 in the next period (the period is the tenth period shown in FIG. 2). It is determined whether the resource amount is below a lower limit threshold for a predetermined time. Note that the usage resource amount being below the lower limit threshold means that when there are a plurality of resource evaluation elements, the resource evaluation elements are below the lower limit threshold.
Specifically, the reallocation determining unit 103 refers to the physical server resource information 113 to acquire the lower limit threshold value and the resource amount, and whether or not the used resource amount of the physical server 20 falls below the lower limit threshold value for a predetermined time. Determine.
If it is determined that the lower limit threshold is below a predetermined time (Yes in step S601), the process proceeds to step S602. If it is determined that the lower limit threshold is not decreased for a predetermined time (No in step S601), the process proceeds to step S607.

ステップS602では、再配置決定部103は、物理サーバ20上の仮想マシン30すべての中から、任意に1つの仮想マシン30を選択し、移動先物理サーバ選定ルールに従って、移動先の物理サーバ20を抽出する。   In step S602, the relocation determining unit 103 arbitrarily selects one virtual machine 30 from all the virtual machines 30 on the physical server 20, and selects the destination physical server 20 according to the destination physical server selection rule. Extract.

ステップS603では、再配置決定部103は、移動先の物理サーバ20があるか否かを判定する。
移動先の物理サーバ20があると判定した場合(ステップS603でYes)、処理はステップS604に進み、移動先の物理サーバ20がないと判定した場合(ステップS603でNo)、処理はステップS608へ進む。
In step S603, the relocation determination unit 103 determines whether there is a physical server 20 that is the migration destination.
If it is determined that there is a destination physical server 20 (Yes in step S603), the process proceeds to step S604. If it is determined that there is no destination physical server 20 (No in step S603), the process proceeds to step S608. move on.

ステップS604では、再配置決定部103は、移動先の物理サーバ20のリソース状態に基づいて優先順位を示す物理サーバスコアを演算し、優先順位の最も高い物理サーバ20に仮想マシン30を仮移動する。なお、物理サーバスコアの算出方法は、前記した通りである。   In step S604, the reallocation determination unit 103 calculates a physical server score indicating a priority based on the resource state of the migration destination physical server 20, and temporarily moves the virtual machine 30 to the physical server 20 with the highest priority. . The method for calculating the physical server score is as described above.

ステップS605では、再配置決定部103は、仮移動していない仮想マシン30が残っているか否かを判定する。
仮移動していない仮想マシン30が残っていると判定した場合(ステップS605でYes)、処理はステップS602へ戻り、仮移動していない仮想マシン30が残っていないと判定した場合(ステップS605でNo)、処理はステップS606へ進む。
In step S605, the reallocation determination unit 103 determines whether there are any remaining virtual machines 30 that have not been temporarily moved.
When it is determined that there are remaining virtual machines 30 that have not been temporarily moved (Yes in step S605), the process returns to step S602, and when it is determined that there are no remaining virtual machines 30 that have not been temporarily moved (in step S605). No), the process proceeds to step S606.

ステップS606では、再配置決定部103は、仮想マシン30を仮移動先の物理サーバ20へ移動する。そして、仮想マシン配置装置10は、仮想マシン30が配置されていない物理サーバ20を電源OFFまたは低消費電力モードに移行することで、電力使用効率を向上させることができる。   In step S <b> 606, the relocation determining unit 103 moves the virtual machine 30 to the temporary migration destination physical server 20. And the virtual machine arrangement | positioning apparatus 10 can improve electric power usage efficiency by shifting the physical server 20 in which the virtual machine 30 is not arrange | positioned to a power supply OFF or a low power consumption mode.

ステップS607では、再配置決定部103は、仮想マシン30の再配置を中止する。そして、処理は終了する。   In step S <b> 607, the rearrangement determination unit 103 stops rearrangement of the virtual machine 30. Then, the process ends.

ステップS608では、再配置決定部103は、仮想マシン30の移動を中止する。そして、処理は終了する。   In step S608, the reallocation determination unit 103 stops moving the virtual machine 30. Then, the process ends.

以上、図5に示す再配置処理フローでは、再配置決定部103は、移動対象仮想マシン選定ルールに従って移動する仮想マシン候補を抽出する(ステップS502)ことによって、条件2(リソース使用効率)を満たすことができる。また、再配置決定部103は、移動先物理サーバ選定ルールに従って、移動先の物理サーバ20を抽出する(ステップS503)ことによって、条件1(集約効率)を満たすことができる。また、再配置決定部103は、図6に示す処理を実行することによって、条件3(電力使用効率)を満たすことができる。   As described above, in the relocation processing flow shown in FIG. 5, the relocation determining unit 103 satisfies the condition 2 (resource usage efficiency) by extracting the virtual machine candidates to be moved according to the migration target virtual machine selection rule (step S502). be able to. Further, the relocation determining unit 103 can satisfy the condition 1 (aggregation efficiency) by extracting the physical server 20 that is the migration destination in accordance with the migration destination physical server selection rule (step S503). Further, the rearrangement determination unit 103 can satisfy the condition 3 (power usage efficiency) by executing the processing shown in FIG.

以上、本実施形態の仮想マシン実行システム50は、移動先物理サーバ選定ルール(サービス中断時間が許容サービス中断時間以内と判定される物理サーバ20を移動先の物理サーバ20として抽出する)を用いる(ステップS503)ことによって、条件1(集約効率)を満たすことができる。また、仮想マシン実行システム50は、移動対象仮想マシン選定ルール(物理サーバ20の使用リソース量が上限閾値を超えると予想される場合、物理サーバ20の使用リソース量が上限閾値を下回るように、使用リソース量の大きい仮想マシン30から順に、移動対象の仮想マシン候補を抽出する)を用いる(ステップS502)ことによって、条件2(リソース使用効率)を満たすことができる。また、仮想マシン実行システム50は、物理サーバ20の使用リソース量が下限閾値を所定時間下回る場合、当該物理サーバ20に配置されている仮想マシン30を他の物理サーバ20に移動する(図6に示す処理)ことによって、条件3(電力使用効率)を満たすことができる。   As described above, the virtual machine execution system 50 according to the present embodiment uses the migration destination physical server selection rule (extracts the physical server 20 determined that the service interruption time is within the allowable service interruption time as the migration destination physical server 20) ( By step S503), condition 1 (aggregation efficiency) can be satisfied. Further, the virtual machine execution system 50 uses the movement target virtual machine selection rule (if the amount of used resources of the physical server 20 is expected to exceed the upper limit threshold, use the amount of used resources of the physical server 20 below the upper limit threshold. Condition 2 (resource usage efficiency) can be satisfied by using (moving target virtual machine candidates are extracted in order from the virtual machine 30 with the largest resource amount) (step S502). Further, when the used resource amount of the physical server 20 falls below the lower threshold value for a predetermined time, the virtual machine execution system 50 moves the virtual machine 30 arranged in the physical server 20 to another physical server 20 (FIG. 6). Condition 3 (power usage efficiency) can be satisfied.

なお、本実施形態に記載した物理サーバ台数設定ルールの変形例として、第1期間において、配置予定の仮想マシン30の必要リソース量の合計値を算出し、その合計値の必要リソース量を配置可能な物理サーバ20の台数を求めるようにしても構わない。   As a modified example of the physical server number setting rule described in this embodiment, the total required resource amount of the virtual machine 30 to be arranged can be calculated and the required resource amount of the total value can be arranged in the first period. The number of physical servers 20 may be obtained.

また、物理サーバスコアの算出において、リソースの評価要素が複数の場合の変形例として、本実施形態に記載した方法以外に、4つの変形パターンについて説明する。
第1の変形パターンは、第1期間〜第N期間に亘って、リソースの評価要素の違いを問わず、リソースの評価要素すべての評価尺度値の中で最大の評価尺度値を物理サーバ20ごとに抽出し、次に、抽出した最大の評価尺度値を物理サーバ20間で比較して、比較した最大の評価尺度値の中で小さい評価尺度値を有する物理サーバ20ほど、優先順位が高くなるように設定する。つまり、余裕のある物理サーバ20ほど、優先順位が高くなるように設定する。
In addition, in the calculation of the physical server score, as a modification example when there are a plurality of resource evaluation elements, four modification patterns will be described in addition to the method described in the present embodiment.
In the first deformation pattern, the maximum evaluation scale value among the evaluation scale values of all the evaluation elements of the resources is set for each physical server 20 regardless of the difference of the evaluation elements of the resources over the first period to the Nth period. Next, the extracted maximum evaluation scale value is compared between the physical servers 20, and the physical server 20 having a smaller evaluation scale value among the compared maximum evaluation scale values has a higher priority. Set as follows. That is, the physical server 20 having a margin is set to have a higher priority.

第2の変形パターンは、本実施形態で説明した物理サーバスコアに重み係数αを乗算し、第1の変形パターンで説明した物理サーバスコアに重み係数βを乗算し、両者を加算して加算値を物理サーバスコアとして設定する。ただし、α+β=1である。   The second modified pattern is obtained by multiplying the physical server score described in the present embodiment by the weighting factor α, multiplying the physical server score described in the first modified pattern by the weighting factor β, and adding both to add the value. Is set as the physical server score. However, α + β = 1.

第3の変形パターンは、物理サーバスコアを、例えば、複数の段階で表現したとき、本実施形態で説明した物理サーバスコアが同じ段階に属していた場合、次に第1の変形パターンの方法で求めた物理サーバスコアの大小に基づいて物理サーバスコアを設定する。   For example, when the physical server score is expressed in a plurality of stages and the physical server score described in the present embodiment belongs to the same stage, the third modification pattern is a method of the first modification pattern. A physical server score is set based on the obtained physical server score.

第4の変形パターンは、物理サーバスコアを、例えば、複数の段階で表現したとき、第1の変形パターンの方法で求めた物理サーバスコアが同じ段階に属していた場合、本実施形態で説明した方法で説明した物理サーバスコアの大小に基づいて物理サーバスコアを設定する。   In the fourth modification pattern, when the physical server score is expressed in a plurality of stages, for example, when the physical server score obtained by the first modification pattern method belongs to the same stage, the fourth modification pattern has been described in the present embodiment. A physical server score is set based on the magnitude of the physical server score described in the method.

10 仮想マシン配置装置
20 物理サーバ
21 物理サーバ群
30 仮想マシン
31 記憶装置
50 仮想マシン実行システム
100 処理部
101 必要リソース量演算部
102 初期配置決定部
103 再配置決定部
110 記憶部
111 アプリケーションの処理スケジュール
112 仮想マシン必要リソース量情報
113 物理サーバリソース情報
114 許容サービス中断時間閾値情報
115 仮想マシンの移行時間情報
116 物理サーバスコア情報
117 仮想マシン配置情報
DESCRIPTION OF SYMBOLS 10 Virtual machine arrangement | positioning apparatus 20 Physical server 21 Physical server group 30 Virtual machine 31 Storage apparatus 50 Virtual machine execution system 100 Processing part 101 Required resource amount calculating part 102 Initial arrangement determination part 103 Relocation determination part 110 Storage part 111 Application processing schedule 112 Virtual machine required resource amount information 113 Physical server resource information 114 Allowable service interruption time threshold information 115 Virtual machine migration time information 116 Physical server score information 117 Virtual machine arrangement information

Claims (8)

仮想マシンを、前記仮想マシンを実行する物理サーバに配置する仮想マシン配置装置であって、
処理部と、前記物理サーバの使用リソース量に対する上限閾値および下限閾値と、前記仮想マシンを配置元の物理サーバから移動先の物理サーバに移動したときに発生するサービス中断時間と、前記サービス中断時間に対して許容できる限界を示す許容サービス中断時間閾値と、を記憶している記憶部と、を備え、
前記処理部は、
(1)前記配置元の物理サーバの使用リソース量が前記上限閾値を超えるか否かを判定し、
(2)前記配置元の物理サーバの使用リソース量が前記上限閾値を超えると判定した場合、前記配置元の物理サーバの使用リソース量が前記上限閾値を下回るように、移動対象の仮想マシンを抽出し、前記サービス中断時間が前記許容サービス中断時間閾値以内と判定される前記物理サーバを移動先の物理サーバとして抽出し、
(2a)前記移動先の物理サーバが抽出された場合、前記移動先の物理サーバを選択する優先順位の決定に用いる物理サーバスコアを、リソースの余裕を測る物差しである評価要素で示された前記使用リソース量により演算し、当該物理サーバスコアの大小関係に基づいて優先順位を付け、当該優先順位の最も高い前記移動先の物理サーバに前記移動対象の仮想マシンを移動し、
(2b)前記移動先の物理サーバがない場合、前記サービス中断時間が前記許容サービス中断時間閾値以内と判定される前記物理サーバを増加して、(2a)の処理を実行し、
(3)前記配置元の物理サーバの使用リソース量が前記上限閾値以下と判定した場合、前記配置元の物理サーバの使用リソース量が前記下限閾値を所定時間下回るか否かを判定し、前記配置元の物理サーバの使用リソース量が前記下限閾値を所定時間下回ると判定した場合、前記サービス中断時間が前記許容サービス中断時間閾値以内と判定される前記物理サーバを第2の移動先の物理サーバとして抽出し、
前記第2の移動先の物理サーバが抽出された場合、前記第2の移動先の物理サーバを選択する優先順位の決定に用いる前記物理サーバスコアを、前記評価要素で示された前記使用リソース量により演算し、当該物理サーバスコアの大小関係に基づいて優先順位を付け、当該優先順位の最も高い前記第2の移動先の物理サーバに、前記配置元の物理サーバから前記仮想マシンを移する設定をし、
前記配置元の物理サーバから前記仮想マシンすべてについて移動する設定が終了した場合、移する設定をした前記仮想マシンを前記第2の移動先の物理サーバへ移動する
ことを特徴とする仮想マシン配置装置。
A virtual machine placement device that places a virtual machine on a physical server that executes the virtual machine,
A processing unit, an upper limit threshold and a lower limit threshold for the amount of resource used by the physical server, a service interruption time that occurs when the virtual machine is moved from an allocation source physical server to a destination physical server, and the service interruption time A storage unit storing an allowable service interruption time threshold indicating an allowable limit with respect to
The processor is
(1) It is determined whether or not the used resource amount of the physical server of the placement source exceeds the upper limit threshold value,
(2) When it is determined that the used resource amount of the placement source physical server exceeds the upper limit threshold, the migration target virtual machine is extracted so that the used resource amount of the placement source physical server falls below the upper limit threshold And extracting the physical server determined as the service interruption time within the allowable service interruption time threshold as a destination physical server,
(2a) When the destination physical server is extracted , the physical server score used for determining the priority order for selecting the destination physical server is indicated by the evaluation element that is a measure for measuring the margin of the resource. was calculated by the amount of resources used to prioritize based on the magnitude relation of the physical server score, moving the movement target virtual machine to the highest said destination physical server of the priority,
(2b) If there is no physical server to be moved, increase the number of physical servers determined to be within the allowable service interruption time threshold , and execute the process (2a).
(3) When it is determined that the used resource amount of the physical server of the placement source is equal to or less than the upper limit threshold, it is determined whether the used resource amount of the physical server of the placement source is less than the lower limit threshold for a predetermined time, and the placement When it is determined that the amount of used resources of the original physical server is less than the lower limit threshold for a predetermined time, the physical server that is determined that the service interruption time is within the allowable service interruption time threshold is set as the second destination physical server. Extract and
When the second destination physical server is extracted, the physical server score used for determining the priority order for selecting the second destination physical server is the amount of resource used indicated by the evaluation element. calculated by, prioritized based on the magnitude relation of the physical server score, the highest the second destination physical server of the priority, to move the virtual machine from the physical server of the arrangement source Set
If the setting of moving for all the virtual machines from the physical server of the arrangement original is completed, the virtual machine is characterized in that moving the virtual machine settings to move to the second destination physical server arrangement apparatus.
前記処理部は、
リソースの前記評価要素が1種類の場合には、前記仮想マシンの実行スケジュールの所定期間に亘って、前記物理サーバの空きリソース量の合計値を前記物理サーバスコアとして算出し、前記空きリソース量の合計値が大きいほど、優先順位を高く設定する
ことを特徴とする請求項1に記載の仮想マシン配置装置。
The processor is
If the evaluation element of the resource is one kind, over a predetermined period of execution schedule of the virtual machine, and calculates the total value of the free resources of the physical server as the physical server score, the vacant resource amount higher the sum, the virtual machine placement apparatus according to claim 1, characterized in that the high rather set the priority.
前記処理部は、
前記仮想マシンの実行スケジュールを作成する際に、リソース量を切替えるタイミングを示すリソース割当タイミングをスケジュールの区切りとし、
リソースの前記評価要素が複数種類の場合には、
前記評価要素それぞれにおける前記使用リソース量を、前記リソース割当タイミングに挟まれた期間ごとに1つの評価軸に射影して評価尺度値として算出し、前記リソース割当タイミングに挟まれた期間内で複数の前記評価要素の前記評価尺度値の偏りを算出し、さらに前記算出した評価尺度値の偏りについて前記実行スケジュールの所定期間に亘って平均して求めた平均値を前記物理サーバスコアとして算出し、前記平均値が小さいほど、優先順位を高く設定する
ことを特徴とする請求項1に記載の仮想マシン配置装置。
The processor is
When creating the execution schedule of the virtual machine, the resource allocation timing indicating the timing of switching the resource amount is set as a schedule break,
If the evaluation element of the resource is a plurality of types,
The use resource amount in each of the evaluation elements, the calculated as evaluation measure values by projecting a single evaluation axis for each period sandwiched resource allocation timing, a plurality within a period sandwiched between the resource allocation timing Calculating a bias of the evaluation scale value of the evaluation element, and calculating an average value obtained by averaging over a predetermined period of the execution schedule for the bias of the calculated evaluation scale value, as the physical server score, virtual machine placement apparatus according to claim 1, characterized in that the higher the average value is smaller, a high rather set the priority.
前記処理部は、
前記仮想マシンの実行スケジュールを作成する際に、リソース量を切替えるタイミングを示すリソース割当タイミングをスケジュールの区切りとし、
リソースの前記評価要素それぞれにおける前記使用リソース量を、前記リソース割当タイミングに挟まれた期間ごとに1つの評価軸に射影して評価尺度値として算出し、前記実行スケジュールの所定期間に亘って前記評価尺度値すべての中で最大の評価尺度値を前記物理サーバごとに抽出し、抽出した前記最大の評価尺度値を前記物理サーバスコアとし、抽出した前記最大の評価尺度値の中で小さい評価尺度値を有する物理サーバほど、優先順位を高く設定する
ことを特徴とする請求項1に記載の仮想マシン配置装置。
The processor is
When creating the execution schedule of the virtual machine, the resource allocation timing indicating the timing of switching the resource amount is set as a schedule break,
The use resource amount in the evaluation elements each resource, the calculated as evaluation measure values by projecting a single evaluation axis for each period sandwiched resource allocation timing, the over a predetermined period of the execution schedule The maximum evaluation scale value among all the evaluation scale values is extracted for each physical server, the extracted maximum evaluation scale value is set as the physical server score, and the small evaluation scale is extracted among the extracted maximum evaluation scale values. more physical server having a value, the virtual machine placement apparatus according to claim 1, characterized in that the high rather set the priority.
前記処理部は、
前記仮想マシンの実行スケジュールを作成する際に、リソース量を切替えるタイミングを示すリソース割当タイミングをスケジュールの区切りとし、
リソースの前記評価要素が複数種類の場合には、
前記評価要素それぞれにおける前記使用リソース量を、前記リソース割当タイミングに挟まれた期間ごとに1つの評価軸に射影して評価尺度値として算出し、前記リソース割当タイミングに挟まれた期間内で複数の前記評価要素の前記評価尺度値の偏りを算出し、さらに前記算出した評価尺度値の偏りについて前記実行スケジュールの所定期間に亘って平均して求めた平均値を第1の物理サーバスコアとして算出し、前記平均値が小さいほど、優先順位を高く設定し、
前記評価要素それぞれにおける前記使用リソース量を、前記リソース割当タイミングに挟まれた期間ごとに1つの評価軸に射影して前記評価尺度値として算出し、前記実行スケジュールの所定期間に亘って前記評価尺度値すべての中で最大の評価尺度値を前記物理サーバごとに抽出し、抽出した前記最大の評価尺度値を前記物理サーバの第2の物理サーバスコアとし、抽出した前記最大の評価尺度値の中で小さい評価尺度値を有する物理サーバほど、優先順位を高く設定し、
前記第1の物理サーバスコアおよび前記第2の物理サーバスコアそれぞれに重み計数を乗算し、両者を合計した合計値を前記物理サーバスコアとして設定する
ことを特徴とする請求項1に記載の仮想マシン配置装置。
The processor is
When creating the execution schedule of the virtual machine, the resource allocation timing indicating the timing of switching the resource amount is set as a schedule break,
If the evaluation element of the resource is a plurality of types,
The use resource amount in each of the evaluation elements, the calculated as evaluation measure values by projecting a single evaluation axis for each period sandwiched resource allocation timing, a plurality within a period sandwiched between the resource allocation timing the calculated deviation of the rating scale value of the evaluation element is calculated, the more the average value obtained by averaging over a predetermined period of the execution schedule for deviation of the calculated evaluation scale value as a first physical server scores and, the higher the average value is small, and high rather set the priority,
Wherein the use resource amount in the evaluation elements each projection and calculated as the evaluation scale value in one evaluation axis for each period sandwiched between the resource allocation timing, the evaluation over a predetermined period of the execution schedule The maximum evaluation scale value among all the scale values is extracted for each physical server, the extracted maximum evaluation scale value is set as the second physical server score of the physical server, and the extracted maximum evaluation scale value more physical server having a small rating scale values in the medium, and high rather set the priority,
2. The virtual machine according to claim 1, wherein each of the first physical server score and the second physical server score is multiplied by a weighting factor, and a total value of both is set as the physical server score. Placement device.
前記処理部は、
前記仮想マシンの実行スケジュールを作成する際に、リソース量を切替えるタイミングを示すリソース割当タイミングをスケジュールの区切りとし、
リソースの前記評価要素が複数種類の場合には、
前記評価要素それぞれにおける前記使用リソース量を、前記リソース割当タイミングに挟まれた期間ごとに1つの評価軸に射影して評価尺度値として算出し、前記リソース割当タイミングに挟まれた期間内で複数の前記評価要素の前記評価尺度値の偏りを算出し、さらに前記算出した評価尺度値の偏りについて前記実行スケジュールの所定期間に亘って平均して求めた平均値を前記物理サーバスコアとして算出し、前記平均値が小さいほど、優先順位を高く設定し、
前記物理サーバスコアを複数の段階で表現し、前記物理サーバスコアが同じ段階で表されるときには、
前記評価要素それぞれにおける前記使用リソース量を、前記リソース割当タイミングに挟まれた期間ごとに1つの評価軸に射影して前記評価尺度値として算出し、前記実行スケジュールの所定期間に亘って前記評価尺度値すべての中で最大の評価尺度値を前記物理サーバごとに抽出し、抽出した前記最大の評価尺度値を前記物理サーバスコアとし、抽出した前記最大の評価尺度値の中で小さい評価尺度値を有する物理サーバほど、優先順位を高く設定する
ことを特徴とする請求項1に記載の仮想マシン配置装置。
The processor is
When creating the execution schedule of the virtual machine, the resource allocation timing indicating the timing of switching the resource amount is set as a schedule break,
If the evaluation element of the resource is a plurality of types,
The use resource amount in each of the evaluation elements, the calculated as evaluation measure values by projecting a single evaluation axis for each period sandwiched resource allocation timing, a plurality within a period sandwiched between the resource allocation timing Calculating a bias of the evaluation scale value of the evaluation element, and calculating an average value obtained by averaging over a predetermined period of the execution schedule for the bias of the calculated evaluation scale value, as the physical server score, as the average value is small, and high rather set the priority,
When the physical server score is expressed in multiple stages and the physical server score is expressed in the same stage,
Wherein the use resource amount in the evaluation elements each projection and calculated as the evaluation scale value in one evaluation axis for each period sandwiched between the resource allocation timing, the evaluation over a predetermined period of the execution schedule The largest evaluation scale value among all the scale values is extracted for each physical server, the extracted maximum evaluation scale value is set as the physical server score, and the smallest evaluation scale value among the extracted maximum evaluation scale values more physical server having a virtual machine arrangement according to claim 1, characterized in that the high rather set the priority.
前記処理部は、
前記仮想マシンの実行スケジュールを作成する際に、リソース量を切替えるタイミングを示すリソース割当タイミングをスケジュールの区切りとし、
リソースの前記評価要素が複数種類の場合には、
前記評価要素それぞれにおける前記使用リソース量を、前記リソース割当タイミングに挟まれた期間ごとに1つの評価軸に射影して評価尺度値として算出し、前記実行スケジュールの所定期間に亘って前記評価尺度値すべての中で最大の評価尺度値を前記物理サーバごとに抽出し、抽出した前記最大の評価尺度値を前記物理サーバスコアとし、抽出した前記最大の評価尺度値の中で小さい評価尺度値を有する物理サーバほど、優先順位を高く設定し、
前記物理サーバスコアを複数の段階で表現し、前記物理サーバスコアが同じ段階で表されるときには、
前記評価要素それぞれにおける前記使用リソース量を、前記リソース割当タイミングに挟まれた期間ごとに1つの評価軸に射影して前記評価尺度値として算出し、前記リソース割当タイミングに挟まれた期間内で複数の前記評価要素の前記評価尺度値の偏りを算出し、さらに前記算出した評価尺度値の偏りについて前記実行スケジュールの所定期間に亘って平均して求めた平均値を前記物理サーバスコアとして算出し、前記平均値が小さいほど、優先順位を高く設定する
ことを特徴とする請求項1に記載の仮想マシン配置装置。
The processor is
When creating the execution schedule of the virtual machine, the resource allocation timing indicating the timing of switching the resource amount is set as a schedule break,
If the evaluation element of the resource is a plurality of types,
The use resource amount, calculated as evaluation measure values by projecting a single evaluation axis for each period sandwiched between the resource allocation timing in each of the evaluation elements, the rating scale for a predetermined period of the execution schedule The maximum evaluation scale value among all the values is extracted for each physical server, the extracted maximum evaluation scale value is set as the physical server score, and a small evaluation scale value is extracted from the extracted maximum evaluation scale values. as a physical server that has, to a high rather than setting priorities,
When the physical server score is expressed in multiple stages and the physical server score is expressed in the same stage,
The use resource amount in each of the evaluation elements, projected to a single evaluation axis for each period sandwiched between the resource allocation timing calculated as the evaluation scale value, in a period sandwiched between the resource allocation timing calculating the deviation of the evaluation scale values of the plurality of evaluation elements, and further calculates an average value obtained by averaging over a predetermined period of the execution schedule for deviation of the calculated evaluation scale value as the physical server score , the virtual machine placement apparatus according to claim 1, characterized in that the higher the average value is smaller, a high rather set the priority.
仮想マシンを、前記仮想マシンを実行する物理サーバに配置する仮想マシン配置装置の仮想マシン配置方法であって、
前記仮想マシン配置装置は、
処理部と、前記物理サーバの使用リソース量に対する上限閾値および下限閾値と、前記仮想マシンを配置元の物理サーバから移動先の物理サーバに移動したときに発生するサービス中断時間と、前記サービス中断時間に対して許容できる限界を示す許容サービス中断時間閾値と、を記憶している記憶部と、を備え、
前記処理部は、
(1)前記配置元の物理サーバの使用リソース量が前記上限閾値を超えるか否かを判定するステップ、
(2)前記配置元の物理サーバの使用リソース量が前記上限閾値を超えると判定した場合、前記配置元の物理サーバの使用リソース量が前記上限閾値を下回るように、移動対象の仮想マシンを抽出し、前記サービス中断時間が前記許容サービス中断時間閾値以内と判定される前記物理サーバを移動先の物理サーバとして抽出するステップ、
(2a)前記移動先の物理サーバが抽出された場合、前記移動先の物理サーバを選択する優先順位の決定に用いる物理サーバスコアを、リソースの余裕を測る物差しである評価要素で示された前記使用リソース量により演算し、当該物理サーバスコアの大小関係に基づいて優先順位を付け、当該優先順位の最も高い前記移動先の物理サーバに前記移動対象の仮想マシンを移動するステップ、
(2b)前記移動先の物理サーバがない場合、前記サービス中断時間が前記許容サービス中断時間閾値以内と判定される前記物理サーバを増加して、(2a)の処理を実行するステップ、
(3)前記配置元の物理サーバの使用リソース量が前記上限閾値以下と判定した場合、前記配置元の物理サーバの使用リソース量が前記下限閾値を所定時間下回るか否かを判定し、前記配置元の物理サーバの使用リソース量が前記下限閾値を所定時間下回ると判定した場合、前記サービス中断時間が前記許容サービス中断時間閾値以内と判定される前記物理サーバを第2の移動先の物理サーバとして抽出するステップ、
前記第2の移動先の物理サーバが抽出された場合、前記第2の移動先の物理サーバを選択する優先順位の決定に用いる前記物理サーバスコアを、前記評価要素で示された前記使用リソース量により演算し、当該物理サーバスコアの大小関係に基づいて優先順位を付け、当該優先順位の最も高い前記第2の移動先の物理サーバに、前記配置元の物理サーバから前記仮想マシンを移動する設定を行うステップ、
前記配置元の物理サーバから前記仮想マシンすべてについて移動する設定が終了した場合、移する設定をした前記仮想マシンを前記第2の移動先の物理サーバへ移動するステップ
を実行することを特徴とする仮想マシン配置方法。
A virtual machine placement method of a virtual machine placement device for placing a virtual machine on a physical server that executes the virtual machine,
The virtual machine placement device is:
A processing unit, an upper limit threshold and a lower limit threshold for the amount of resource used by the physical server, a service interruption time that occurs when the virtual machine is moved from an allocation source physical server to a destination physical server, and the service interruption time A storage unit storing an allowable service interruption time threshold indicating an allowable limit with respect to
The processor is
(1) A step of determining whether or not the amount of used resources of the placement source physical server exceeds the upper limit threshold;
(2) When it is determined that the used resource amount of the placement source physical server exceeds the upper limit threshold, the migration target virtual machine is extracted so that the used resource amount of the placement source physical server falls below the upper limit threshold Extracting the physical server determined as the service interruption time within the allowable service interruption time threshold as a destination physical server,
(2a) When the destination physical server is extracted , the physical server score used for determining the priority order for selecting the destination physical server is indicated by the evaluation element that is a measure for measuring the margin of the resource. step of calculating the amount of resources used to prioritize based on the magnitude relation of the physical server score, moving the movement target virtual machine to the highest said destination physical server of the priority,
(2b) when there is no physical server to be moved, increasing the number of physical servers determined to be within the allowable service interruption time threshold , and executing the process (2a);
(3) When it is determined that the used resource amount of the physical server of the placement source is equal to or less than the upper limit threshold, it is determined whether the used resource amount of the physical server of the placement source is less than the lower limit threshold for a predetermined time, and the placement When it is determined that the amount of used resources of the original physical server is less than the lower limit threshold for a predetermined time, the physical server that is determined that the service interruption time is within the allowable service interruption time threshold is set as the second destination physical server. Extracting step,
When the second destination physical server is extracted, the physical server score used for determining the priority order for selecting the second destination physical server is the amount of resource used indicated by the evaluation element. calculated by, prioritized based on the magnitude relation of the physical server score, the highest the second destination physical server of the priority, to move the virtual machine from the physical server of the arrangement source Steps to configure ,
If the setting of moving for all the virtual machines from the physical server of the arrangement source is finished, and characterized by performing the step of moving the virtual machine settings to move to the second destination physical server To place virtual machines.
JP2012112926A 2012-05-17 2012-05-17 Virtual machine placement apparatus and virtual machine placement method Expired - Fee Related JP5827594B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012112926A JP5827594B2 (en) 2012-05-17 2012-05-17 Virtual machine placement apparatus and virtual machine placement method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012112926A JP5827594B2 (en) 2012-05-17 2012-05-17 Virtual machine placement apparatus and virtual machine placement method

Publications (2)

Publication Number Publication Date
JP2013239095A JP2013239095A (en) 2013-11-28
JP5827594B2 true JP5827594B2 (en) 2015-12-02

Family

ID=49764056

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012112926A Expired - Fee Related JP5827594B2 (en) 2012-05-17 2012-05-17 Virtual machine placement apparatus and virtual machine placement method

Country Status (1)

Country Link
JP (1) JP5827594B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10977072B2 (en) 2019-04-25 2021-04-13 At&T Intellectual Property I, L.P. Dedicated distribution of computing resources in virtualized environments
US11620150B2 (en) 2019-07-31 2023-04-04 Okestro Co., Ltd. Virtual machine management method using virtual machine deployment simulation

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150163157A1 (en) * 2013-12-09 2015-06-11 Alcatel-Lucent Usa Inc. Allocation and migration of cloud resources in a distributed cloud system
WO2015087449A1 (en) * 2013-12-13 2015-06-18 株式会社日立製作所 Computer system, and computer-system control method
KR101595854B1 (en) 2013-12-24 2016-02-19 주식회사 케이티 Method and Apparatus for placing a virtual machine in cloud system
US10120727B2 (en) 2014-02-27 2018-11-06 Intel Corporation Techniques to allocate configurable computing resources
JP2016053841A (en) * 2014-09-03 2016-04-14 日本電信電話株式会社 Power source state control device and program
JP6459633B2 (en) * 2015-02-27 2019-01-30 日本電気株式会社 Information processing system and control method thereof
JP6666553B2 (en) * 2016-05-10 2020-03-18 富士通株式会社 Information processing apparatus, job management method, and job management program
JP6741941B2 (en) * 2016-08-16 2020-08-19 富士通株式会社 Virtual machine management program, virtual machine management method, and virtual machine management apparatus
CN109905435A (en) * 2017-12-08 2019-06-18 京东方科技集团股份有限公司 Resource subscription method and system, storage medium, electronic equipment
JP7040319B2 (en) 2018-06-26 2022-03-23 富士通株式会社 Operation management device, destination recommended method and destination recommended program
CN114168266A (en) * 2021-12-15 2022-03-11 中能融合智慧科技有限公司 Virtual machine migration method and system
KR102557617B1 (en) * 2022-12-27 2023-07-21 오케스트로 주식회사 A virtual machine placement ecaluation device and a sever operating system using the same
KR102622088B1 (en) * 2023-03-31 2024-01-09 오케스트로 주식회사 A cloud operation evaluation device considering performance guarantee of the cloud operating environment and stability and a sever operating system using the same

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3861087B2 (en) * 2003-10-08 2006-12-20 株式会社エヌ・ティ・ティ・データ Virtual machine management apparatus and program
WO2008102739A1 (en) * 2007-02-23 2008-08-28 Nec Corporation Virtual server system and physical server selecting method
US8595737B2 (en) * 2009-03-17 2013-11-26 Hitachi, Ltd. Method for migrating a virtual server to physical server according to a variation ratio, a reference execution time, a predetermined occupied resource amount and a occupancy amount
JP5544967B2 (en) * 2010-03-24 2014-07-09 富士通株式会社 Virtual machine management program and virtual machine management apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10977072B2 (en) 2019-04-25 2021-04-13 At&T Intellectual Property I, L.P. Dedicated distribution of computing resources in virtualized environments
US11526374B2 (en) 2019-04-25 2022-12-13 At&T Intellectual Property I, L.P. Dedicated distribution of computing resources in virtualized environments
US11620150B2 (en) 2019-07-31 2023-04-04 Okestro Co., Ltd. Virtual machine management method using virtual machine deployment simulation

Also Published As

Publication number Publication date
JP2013239095A (en) 2013-11-28

Similar Documents

Publication Publication Date Title
JP5827594B2 (en) Virtual machine placement apparatus and virtual machine placement method
JP6241300B2 (en) Job scheduling apparatus, job scheduling method, and job scheduling program
JP5218390B2 (en) Autonomous control server, virtual server control method and program
JP5827678B2 (en) Method and apparatus for resource capacity evaluation in a virtual container system
JP6233413B2 (en) Task assignment determination device, control method, and program
US20140033220A1 (en) Process grouping for improved cache and memory affinity
JP6260407B2 (en) Storage management device, performance adjustment method, and performance adjustment program
US10740138B2 (en) Migration control apparatus and migration control method
Tang et al. Reducing fragmentation on torus-connected supercomputers
JP6149595B2 (en) Cache memory control program, processor incorporating cache memory, and cache memory control method
JP5765423B2 (en) Multi-core processor system and scheduling method
JP2011186701A (en) Resource allocation apparatus, resource allocation method and resource allocation program
KR20130088513A (en) Task distribution method on multicore system and apparatus thereof
JP5515889B2 (en) Virtual machine system, automatic migration method and automatic migration program
CN101908004A (en) Promote the apparatus and method that request is carried out
JP2011243117A (en) Input/output control program, information processor and input/output control method
US20220237016A1 (en) Apparatus for determining resource migration schedule
JP6237170B2 (en) Allocation determination apparatus, control method, and program
CN109725835A (en) For managing the method, equipment and computer program product of disk array
JP2014167713A (en) Information processing device, information processing system, information processing device management program and information processing device management method
CN116302327A (en) Resource scheduling method and related equipment
JP2019046041A (en) Information processing apparatus, information processing system, control method of information processing apparatus, and control program of information processing apparatus
JP2014206805A (en) Control device
JP7239861B2 (en) Resource allocation device, resource allocation method, and resource allocation program
JP2012181673A (en) Resource allocation device, resource allocation method, and program

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20140502

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20140528

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140822

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150526

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150609

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150724

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20151016

R150 Certificate of patent or registration of utility model

Ref document number: 5827594

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees