JP6331549B2 - Virtual machine management apparatus, virtual machine management method, and virtual machine management system - Google Patents

Virtual machine management apparatus, virtual machine management method, and virtual machine management system Download PDF

Info

Publication number
JP6331549B2
JP6331549B2 JP2014061421A JP2014061421A JP6331549B2 JP 6331549 B2 JP6331549 B2 JP 6331549B2 JP 2014061421 A JP2014061421 A JP 2014061421A JP 2014061421 A JP2014061421 A JP 2014061421A JP 6331549 B2 JP6331549 B2 JP 6331549B2
Authority
JP
Japan
Prior art keywords
virtual machine
machine
performance information
virtual
physical
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.)
Active
Application number
JP2014061421A
Other languages
Japanese (ja)
Other versions
JP2015184965A (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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP2014061421A priority Critical patent/JP6331549B2/en
Publication of JP2015184965A publication Critical patent/JP2015184965A/en
Application granted granted Critical
Publication of JP6331549B2 publication Critical patent/JP6331549B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Description

本発明は、仮想マシン管理装置、仮想マシン管理方法、及び仮想マシン管理システムに関し、特に、仮想マシン性能値の時系列情報を用いて移動候補の仮想マシンを選択する仮想マシン管理装置、仮想マシン管理方法、及び仮想マシン管理システムに関する。   The present invention relates to a virtual machine management apparatus, a virtual machine management method, and a virtual machine management system, and in particular, a virtual machine management apparatus and a virtual machine management that select a virtual machine that is a movement candidate using time-series information of virtual machine performance values. The present invention relates to a method and a virtual machine management system.

近年、システムの高度化、複雑化が進み、システムを構成する物理サーバの台数が急激に増えきた。それとともに、サーバの維持管理に要する手間とコストが増大し、大きな課題となっている。加えて、サーバはピークの負荷に対応できるよう、一定の余剰リソースを必要とする。普段は使わないリソースも用意しているため、サーバコストは膨らみがちである。クラウド環境ではサーバを仮想化することで、物理的に1台のサーバ上に複数の仮想マシンを構築し、異なるシステムを稼働させられる。これにより、リソースの利用効率は飛躍的に高まる。   In recent years, the sophistication and complexity of the system has progressed, and the number of physical servers constituting the system has rapidly increased. At the same time, the labor and cost required for the maintenance and management of the server increase, which is a big problem. In addition, the server needs certain surplus resources to cope with peak loads. Server resources tend to swell because resources that are not normally used are also prepared. In a cloud environment, by virtualizing a server, a plurality of virtual machines can be physically built on one server and different systems can be operated. As a result, resource utilization efficiency increases dramatically.

仮想マシンおよび物理マシンの負荷の変動を用いて、適切な仮想マシンの配置及び移動を実現する、仮想マシン移動管理サーバの一例が特許文献1に記載されている。   An example of a virtual machine migration management server that implements appropriate placement and migration of virtual machines using fluctuations in loads on virtual machines and physical machines is described in Patent Document 1.

特許文献1記載の仮想マシン移動管理サーバは、仮想マシンおよび物理マシンの負荷の変化をそれぞれ高次方程式で表し、二つの高次方程式をそれぞれ正規化した後に足したときの値が一定の閾値を超過することをもって、二つのマシンの負荷のピークが重複すると判断し、物理マシンのうちCPU負荷が最も小さい物理マシン、またはピークが重複しない物理マシンを、移動先物理マシンとして決定し、物理マシンの負荷を軽減する。   The virtual machine migration management server described in Patent Document 1 represents a change in the load of a virtual machine and a physical machine as a high-order equation, and a threshold value that is constant after adding the two high-order equations after normalization is set. It is determined that the load peaks of the two machines overlap with each other, and the physical machine with the smallest CPU load among the physical machines or the physical machine with no overlapping peaks is determined as the destination physical machine. Reduce the load.

ところで、近年のクラウドシステム等では、一つの物理マシンに多数の仮想マシンを稼働させることが求められている。多数の仮想マシンは物理マシンのリソースを共有して消費するが、例えば処理要求に応じてリソース消費量が変動し続ける仮想マシンもあれば、処理要求に応じずリソース消費量がほとんど定常的な仮想マシンもある。   By the way, in recent cloud systems and the like, it is required to operate a large number of virtual machines on one physical machine. Many virtual machines share and consume physical machine resources, but for example, there are virtual machines whose resource consumption continues to fluctuate in response to processing requests. There is also a machine.

しかしながら、特許文献1記載の仮想マシン移動管理サーバのように負荷のピークの重複によって特定できるのは、リソース消費量が外部からの処理要求に応じてダイナミックに時間変動していて、かつ、リソース消費量の時間変動の傾向が物理マシンのそれと類似する仮想マシンである。そのようにすると、リソース消費量がダイナミックに変動するが、変動幅が物理マシンのそれに対して相対的に非常に小さいが、リソース消費量の時間変動が物理マシンのそれと一致しているような仮想マシンが誤って特定されてしまい、その結果仮想マシンの配置精度が悪化するという問題がある。   However, as in the virtual machine migration management server described in Patent Document 1, the resource consumption can be identified by overlapping the load peak dynamically according to the processing request from the outside, and the resource consumption It is a virtual machine whose quantity has a tendency of time variation similar to that of a physical machine. By doing so, the resource consumption fluctuates dynamically, but the fluctuation range is relatively small relative to that of the physical machine, but the time variation of the resource consumption coincides with that of the physical machine. There is a problem in that the machine is specified by mistake, and as a result, the placement accuracy of the virtual machine deteriorates.

特開2008−288593号公報JP 2008-288593 A

上述の特許文献1に記載された仮想マシン移動管理技術のように、仮想マシンに変動負荷が掛かったことによってリソース消費量が時間変動する場合のリソース消費量のピークをもとに移動すべき仮想マシンを特定する場合、仮想マシンのリソース消費量の変動が緩やかな仮想マシンが存在していると意図しない仮想マシンが移動すべき仮想マシンとして特定されてしまうという問題があった。   As in the virtual machine migration management technique described in Patent Document 1 above, the virtual to be moved based on the peak of the resource consumption when the resource consumption varies over time due to a fluctuating load on the virtual machine. When a machine is specified, there is a problem that an unintended virtual machine is specified as a virtual machine to be moved if there is a virtual machine whose resource consumption of the virtual machine is gradual.

本発明の目的は、上述の課題を解決し、移動すべき仮想マシンを適切に選択する仮想マシン管理装置、仮想マシン管理方法、及び仮想マシン管理システムを提供することである。   An object of the present invention is to solve the above-described problems and provide a virtual machine management device, a virtual machine management method, and a virtual machine management system that appropriately select a virtual machine to be moved.

本発明の仮想マシン管理装置は、1以上の仮想マシンを有する物理マシンおよび前記仮想マシンの性能情報をそれぞれ時系列に記憶する記憶部と、前記物理マシンおよび各前記仮想マシンにおける前記性能情報の影響度に基づいて、一の移動候補仮想マシンを選択して出力する選択部と、を含む。   The virtual machine management apparatus of the present invention includes a physical unit having one or more virtual machines and a storage unit that stores performance information of the virtual machines in time series, and the influence of the performance information on the physical machines and the virtual machines. A selection unit that selects and outputs one migration candidate virtual machine based on the degree.

本発明の仮想マシン管理システムは、複数の仮想マシンを有する物理マシンと、前記複数の仮想マシンのうち前記物理マシンから他の物理マシンに移動をさせる候補である移動候補仮想マシンを選択して出力する移動候補マシン選択装置と、前記移動候補仮想マシンを前記物理マシンから他の物理マシンに移動させる仮想マシン移動装置と、を含み、前記移動候補マシン選択装置は、前記物理マシンおよび前記仮想マシンの性能情報をそれぞれ時系列に記憶する記憶部と、前記物理マシンおよび各前記仮想マシンにおける前記性能情報の影響度に基づいて、一の移動候補仮想マシンを選択して出力する選択部と、前記仮想マシン移動装置に、前記移動候補仮想マシンを他の物理マシンに移動をさせる仮想マシン移動指示部と、を含む。   The virtual machine management system of the present invention selects and outputs a physical machine having a plurality of virtual machines and a movement candidate virtual machine that is a candidate for moving from the physical machine to another physical machine among the plurality of virtual machines. A movement candidate machine selection device that moves the movement candidate virtual machine from the physical machine to another physical machine, and the movement candidate machine selection device includes the physical machine and the virtual machine. A storage unit that stores performance information in time series, a selection unit that selects and outputs one migration candidate virtual machine based on the influence degree of the performance information in the physical machine and each virtual machine, and the virtual And a virtual machine movement instruction unit that causes the movement candidate virtual machine to move to another physical machine.

本発明の仮想マシン管理方法は、1以上の仮想マシンを有する物理マシンおよび前記仮想マシンの性能情報をそれぞれ時系列に記憶し、前記物理マシンおよび各前記仮想マシンにおける前記性能情報の影響度に基づいて、一の移動候補仮想マシンを選択して出力する。   The virtual machine management method of the present invention stores a physical machine having one or more virtual machines and performance information of the virtual machine in time series, and is based on an influence degree of the performance information in the physical machine and each virtual machine. To select and output one migration candidate virtual machine.

本発明の効果は、移動すべき仮想マシンを適切に選択できることである。   An effect of the present invention is that a virtual machine to be moved can be appropriately selected.

本発明の第一の実施の形態の特徴的な構成を示すブロック図である。It is a block diagram which shows the characteristic structure of 1st embodiment of this invention. 本発明の第一の実施の形態における仮想マシン管理装置の全体的な処理を示すフローチャートである。It is a flowchart which shows the whole process of the virtual machine management apparatus in 1st embodiment of this invention. 本発明の第一の実施の形態における仮想マシン管理装置の全体的な処理を示すフローチャートである。It is a flowchart which shows the whole process of the virtual machine management apparatus in 1st embodiment of this invention. 本発明の第一の実施の形態における仮想マシン管理装置を適用した仮想マシン管理システムの構成を示すブロック図である。It is a block diagram which shows the structure of the virtual machine management system to which the virtual machine management apparatus in 1st embodiment of this invention is applied. 、本発明の第一の実施の形態における性能情報の例を示す図である。It is a figure which shows the example of the performance information in 1st embodiment of this invention.

(第一の実施の形態)
次に、本発明の第一の実施の形態について説明する。
(First embodiment)
Next, a first embodiment of the present invention will be described.

はじめに、本発明の第一の実施の形態の構成について説明する。図4は、本発明の第一の実施の形態における仮想マシン管理装置を適用した性能情報分析システムの構成を示すブロック図である。   First, the configuration of the first embodiment of the present invention will be described. FIG. 4 is a block diagram showing a configuration of a performance information analysis system to which the virtual machine management apparatus according to the first embodiment of the present invention is applied.

図4を参照すると、本発明の第一の実施の形態における性能情報分析システムは、仮想マシン管理装置1、物理マシン2(2−1、2−2)、仮想マシン3(3−1、3−2)、および仮想マシン移動装置4を含む。   Referring to FIG. 4, the performance information analysis system according to the first exemplary embodiment of the present invention includes a virtual machine management device 1, a physical machine 2 (2-1, 2-2), and a virtual machine 3 (3-1, 3). -2), and the virtual machine moving device 4.

ここで、仮想マシン管理装置1は、物理マシン2および仮想マシン3から取得した性能データから、移動対象とすべき仮想マシン3を選択し、選択結果に基づいて仮想マシン移動装置4に移動指示を行う、仮想マシン3を管理する装置である。   Here, the virtual machine management device 1 selects the virtual machine 3 to be moved from the performance data acquired from the physical machine 2 and the virtual machine 3, and instructs the virtual machine moving device 4 to move based on the selection result. It is an apparatus for managing the virtual machine 3 to be performed.

物理マシン2は、ここでは一台以上の仮想マシン3を実行することができる装置である。物理マシン2および仮想マシン3はそれぞれ、要求に応じて処理を行い、処理のために使用されたリソース量などを性能データとして内部で生成し、外部に提供することができるものである。図4の例においては、物理マシン2−1では、仮想マシン3−1から3−nが動作している。物理マシン2−2では仮想マシンは動作していない。   Here, the physical machine 2 is an apparatus that can execute one or more virtual machines 3. Each of the physical machine 2 and the virtual machine 3 performs processing according to a request, and internally generates the amount of resources used for the processing as performance data and can provide the same to the outside. In the example of FIG. 4, virtual machines 3-1 to 3-n are operating on the physical machine 2-1. The virtual machine is not operating on the physical machine 2-2.

仮想マシン移動装置4は、仮想マシン3を実行する物理マシン2−1を別の物理マシン、例えば物理マシン2−2に変更するよう、仮想マシン3を移動させるための装置である。   The virtual machine moving device 4 is a device for moving the virtual machine 3 so that the physical machine 2-1 that executes the virtual machine 3 is changed to another physical machine, for example, the physical machine 2-2.

仮想マシン管理装置1は、記憶部11、選択部12、指示部13および図示しない収集部14を含む。   The virtual machine management device 1 includes a storage unit 11, a selection unit 12, an instruction unit 13, and a collection unit 14 (not shown).

記憶部11は、物理マシン2および仮想マシン3から収集したCPU、メモリ、ディスクI/O、ネットワークI/O等の性能情報を記憶する。具体的には、日時、マシン名、CPU使用率、メモリ使用率(使用量)、ディスクI/O、ネットワークI/O等のデータを蓄積する。   The storage unit 11 stores performance information such as CPU, memory, disk I / O, and network I / O collected from the physical machine 2 and the virtual machine 3. Specifically, data such as date / time, machine name, CPU usage rate, memory usage rate (usage amount), disk I / O, network I / O, and the like are accumulated.

選択部12は、記憶部11に蓄積されたデータから、最も移動すべき仮想マシン3を選択する。
指示部13は、選択部12から、選択部12が選択したもっとも移動すべき仮想マシン3の情報を受け取り、移動の指示を行う。
収集部14は、物理マシン2および仮想マシン3から性能情報を収集して記憶部11にそれらデータを引き渡す。
図2は、本発明の第一の実施の形態における仮想マシン管理装置1の全体的な処理を示すフローチャートである。
The selection unit 12 selects the virtual machine 3 to be most moved from the data accumulated in the storage unit 11.
The instruction unit 13 receives from the selection unit 12 information on the virtual machine 3 that should be most moved, which is selected by the selection unit 12, and issues an instruction for movement.
The collection unit 14 collects performance information from the physical machine 2 and the virtual machine 3 and delivers the data to the storage unit 11.
FIG. 2 is a flowchart showing the overall processing of the virtual machine management device 1 according to the first embodiment of this invention.

ステップS101において、収集部14は、物理マシン2−1および物理マシン2−1に配置された仮想マシン3−1から3−nの、CPU、メモリ、ディスクI/O、ネットワークI/O等の性能情報を収集する。性能情報は時系列の形式で、所定の時間間隔(例えば1分)ごとに採取された値が収集される。   In step S101, the collection unit 14 determines the CPU, memory, disk I / O, network I / O, and the like of the physical machine 2-1 and the virtual machines 3-1 to 3-n arranged in the physical machine 2-1. Collect performance information. The performance information is collected in a time-series format and values collected at predetermined time intervals (for example, 1 minute).

ステップS102において、記憶部11は、収集した性能情報を記憶する。典型的には、マシン名と項目(CPU使用率、メモリ使用率等)の組み合わせにより特定される時系列において、値を採取した時刻と対応づいて、その値が記憶される。   In step S102, the storage unit 11 stores the collected performance information. Typically, in a time series specified by a combination of a machine name and an item (CPU usage rate, memory usage rate, etc.), the value is stored in association with the time at which the value was collected.

ステップS103において、選択部12は、記憶部11から性能情報を取得し、取得した性能情報を分析することにより、移動すべき仮想マシン3を選択する。選択の具体的な手法は、図3で詳細に述べる。例えば物理マシン2−1で動作する仮想マシン3−1が、移動すべき仮想マシンとして選択されたとする。   In step S103, the selection unit 12 acquires the performance information from the storage unit 11, and selects the virtual machine 3 to be moved by analyzing the acquired performance information. A specific method of selection will be described in detail in FIG. For example, it is assumed that the virtual machine 3-1 operating on the physical machine 2-1 is selected as a virtual machine to be moved.

ステップS104において、指示部13は、選択された移動すべき仮想マシンの情報に基づき、仮想マシン移動装置4に対して仮想マシンの移動指示を行う。仮想マシン移動装置4は、物理マシン2−1で稼働する仮想マシン3−1を、例えば物理マシン2−2で動作するように移動処理を行う。   In step S <b> 104, the instruction unit 13 instructs the virtual machine moving device 4 to move the virtual machine based on the selected information on the virtual machine to be moved. The virtual machine moving device 4 performs a moving process so that the virtual machine 3-1 operating on the physical machine 2-1 operates on the physical machine 2-2, for example.

以上により、仮想マシン管理装置1の一連の動作が終了する。   Thus, a series of operations of the virtual machine management device 1 is completed.

図3は、本発明の第一の実施の形態における仮想マシン管理装置1の、仮想マシンの選択処理を示すフローチャート、図5は、本発明の第一の実施の形態における物理マシン2および仮想マシン3のリソースのデータの例を示す図である。   FIG. 3 is a flowchart showing a virtual machine selection process of the virtual machine management apparatus 1 according to the first embodiment of the present invention, and FIG. 5 is a physical machine 2 and a virtual machine according to the first embodiment of the present invention. It is a figure which shows the example of the data of 3 resources.

ステップS201において、選択部12は、物理マシン2の性能情報と閾値とを比較して、所定のリソースのデータを抽出する。ここで、データの抽出は、1日や1か月などの所定期間の過去データを対象に、物理マシン2のマシン名に基づいてデータを抽出し、抽出したデータと閾値とを比較することにより行う。閾値との比較は、例えば、各リソースの使用量の最大値のなかで最も閾値に近づいたリソースの各時間のデータを特定して抽出する。他の例としては、例えば、各リソースの使用量の最大値のなかで閾値を超えた回数リソースや、各リソースの使用量の最大値のなかで閾値を超えている総時間が最も長いリソースを抽出するようにしてもよい。例えば閾値を30%と設定したとき、図5では30%を超えているのはCPUであるので、CPUが特定されデータが抽出される。   In step S <b> 201, the selection unit 12 compares the performance information of the physical machine 2 with the threshold value, and extracts predetermined resource data. Here, the data is extracted by extracting data based on the machine name of the physical machine 2 for past data of a predetermined period such as one day or one month, and comparing the extracted data with a threshold value. Do. For comparison with the threshold value, for example, data of each time of the resource that is closest to the threshold value among the maximum values of the usage amount of each resource is specified and extracted. Other examples include, for example, the resource whose number of times the threshold has been exceeded among the maximum value of each resource usage, or the resource with the longest total time that exceeds the threshold among the maximum value of each resource usage. You may make it extract. For example, when the threshold is set to 30%, in FIG. 5, it is the CPU that exceeds 30%, so the CPU is specified and data is extracted.

ステップS202において、選択部12は、物理マシン2の抽出データに関連するリソースを有する各仮想マシン3のリソースのデータを抽出する。図5では仮想マシン3−1および仮想マシン3−2がCPUを有しているので、これらが抽出される。   In step S <b> 202, the selection unit 12 extracts the resource data of each virtual machine 3 having resources related to the extracted data of the physical machine 2. In FIG. 5, since the virtual machine 3-1 and the virtual machine 3-2 have CPUs, these are extracted.

ステップS203において、選択部12は、物理マシン2、および、物理マシン2に対応する各仮想マシン3の類似度を算出する。類似度の算出は、所定期間における物理マシン2および仮想マシン3における特定リソースのデータを、時系列形式で見た場合の隣接する値の差の絶対値を、所定期間を通じて累積して合計した値を求める。すなわち、時刻をtとしたとき、物理マシン2の特定リソースのデータの値をP(t)、仮想マシン3の特定リソースのデータの値をV(t)としたとき、類似度CはΣ(tは所定期間について)|(P(t)−P(t−1))−(V(t)−V(t−1))|で表される。これを各仮想マシン3−1から3−nについて行い、C1からCnを求める。図5では仮想マシン3−1におけるCは0となり、仮想マシン3−2におけるCは50となる。なお類似度量の算出を行う対象期間である所定期間とは、例えば時刻を問わず任意のN時間(または一日、一週間)であったり、任意の一日のワーキングアワー(例えば8時から17時)であったりしてもよい。また、連続した時間ではなく断続的な時間でもよい。例えば任意の1週間のうちの平日のワーキングアワーを所定期間としてもよい。この場合には典型的には5個の独立した時間のデータを得てそれらを仮想的に連続したデータとして扱って所要の処理を行うことにしてもよい。このように所定期間を様々なやり方で定めることができることで、対象とする業務システムの特徴に応じて、効率よく、または精度高く、類似度の算出を行うことが可能となる。   In step S <b> 203, the selection unit 12 calculates the similarity between the physical machine 2 and each virtual machine 3 corresponding to the physical machine 2. The calculation of the similarity is a value obtained by accumulating the absolute values of the difference between adjacent values when the data of the specific resource in the physical machine 2 and the virtual machine 3 in a predetermined period is viewed in a time series format over the predetermined period. Ask for. That is, when the time is t, the specific resource data value of the physical machine 2 is P (t), and the specific resource data value of the virtual machine 3 is V (t), the similarity C is Σ ( t is expressed by | (P (t) −P (t−1)) − (V (t) −V (t−1)) |. This is performed for each of the virtual machines 3-1 to 3-n, and C1 to Cn are obtained. In FIG. 5, C in the virtual machine 3-1 is 0, and C in the virtual machine 3-2 is 50. Note that the predetermined period, which is the target period for calculating the amount of similarity, is, for example, any N hours (or one day, one week) regardless of the time, or any one day working hour (for example, from 8:00 to 17). Time). Further, intermittent time may be used instead of continuous time. For example, a weekday working hour in an arbitrary week may be set as the predetermined period. In this case, typically, data of five independent times may be obtained, and these may be treated as virtually continuous data to perform a required process. Since the predetermined period can be determined in various ways as described above, the similarity can be calculated efficiently or accurately according to the characteristics of the target business system.

ステップS204において、選択部12は、ステップS203で算出した類似度に基づいて影響度を算出する。仮想マシン3−1から3−nに対し、類似度Cから影響度を算出する。影響度は、所定期間における、仮想マシン3の挙動が、物理マシン2のリソース使用量の挙動にどれだけ影響を及ぼすかを示すものである。影響度は、S203でもとめたC1からCnに基づいて、これらの値が小さいほど、影響度の値が大きくなるよう算定される。その結果、Cがより小さい仮想マシン3−1について、より大きな(高い)影響度が得られる。   In step S204, the selection unit 12 calculates the influence level based on the similarity calculated in step S203. The influence degree is calculated from the similarity C for the virtual machines 3-1 to 3-n. The influence degree indicates how much the behavior of the virtual machine 3 affects the behavior of the resource usage of the physical machine 2 during a predetermined period. The influence degree is calculated based on C1 to Cn obtained in S203 so that the smaller the value, the larger the influence degree. As a result, a larger (higher) degree of influence is obtained for the virtual machine 3-1 having a smaller C.

ステップS205において、選択部12は、各仮想マシン3の影響度を比較し、影響度が大きい仮想マシン3を、移動候補仮想マシンとして選択し決定する。図5の例では、仮想マシン3−1が移動候補仮想マシンとして決定される。移動候補仮想マシンの移動元は現在の仮想マシンが動作する物理マシンである。移動候補仮想マシンの移動先は他の物理マシンである。移動先は、例えば、少なくとも移動元よりもリソース使用量の低い物理マシンとしてもよい。また他の例としては、移動候補仮想マシンを決定する方法を用いて仮想マシンと移動先との間で影響度を算出し、算出した影響度に基づき決定される物理マシン、例えば影響度が移動元よりも低い、またはもっとも低い物理マシンとしてもよい。または、リソース使用量の状況に基づいて手動で移動先を決めるようにしてもよい。なお影響度が高いマシンについて必ず移動しなければならないことはない。状況に応じて実際の移動要否を決定してもよい。物理マシンのリソース使用量を軽減したいときに、影響度が他より大きい仮想マシンを優先して移動させることで物理マシンのリソース使用量の平準化が達成できる。   In step S205, the selection unit 12 compares the degree of influence of each virtual machine 3, and selects and determines the virtual machine 3 having the large degree of influence as a migration candidate virtual machine. In the example of FIG. 5, the virtual machine 3-1 is determined as a migration candidate virtual machine. The migration source of the migration candidate virtual machine is a physical machine on which the current virtual machine operates. The destination of the migration candidate virtual machine is another physical machine. The migration destination may be, for example, a physical machine having a resource usage lower than that of the migration source. As another example, the degree of influence is calculated between the virtual machine and the movement destination using a method for determining the migration candidate virtual machine, and the physical machine determined based on the calculated degree of influence, for example, the degree of influence is moved. It may be the physical machine that is lower or lowest than the original. Alternatively, the destination may be determined manually based on the resource usage amount. It is not always necessary to move a high-impact machine. The actual necessity of movement may be determined according to the situation. When it is desired to reduce the resource usage of a physical machine, leveling of the resource usage of the physical machine can be achieved by preferentially moving a virtual machine having a larger influence degree than others.

次に、本発明の第一の実施の形態の特徴的な構成を説明する。図1は、本発明の第一の
実施の形態の特徴的な構成を示すブロック図である。
Next, a characteristic configuration of the first embodiment of the present invention will be described. FIG. 1 is a block diagram showing a characteristic configuration of the first embodiment of the present invention.

図1を参照すると、本発明の第一の実施の形態における仮想マシン管理装置は、記憶部11および選択部12を含む。   Referring to FIG. 1, the virtual machine management apparatus according to the first embodiment of the present invention includes a storage unit 11 and a selection unit 12.

ここで、記憶部11は、システムにおける複数の性能情報をそれぞれ時系列に記憶する。   Here, the storage unit 11 stores a plurality of pieces of performance information in the system in time series.

選択部12は、記憶部11に記憶された異なるマシンの性能情報から影響度の評価を行い、評価に基づき移動すべき仮想マシン3である移動候補仮想マシンを選択して出力する。   The selection unit 12 evaluates the degree of influence from the performance information of different machines stored in the storage unit 11, and selects and outputs a movement candidate virtual machine that is the virtual machine 3 to be moved based on the evaluation.

本発明の第一の実施の形態によれば、移動すべき仮想マシン3を適切に選択できる。   According to the first embodiment of the present invention, the virtual machine 3 to be moved can be appropriately selected.

その理由は、物理マシン2と仮想マシン3の双方から取得した性能情報のデータの値の変動の影響度に基づいて、物理マシン2と近似する振る舞いの仮想マシン3を選択するためである。   The reason for this is to select the virtual machine 3 that behaves closely to the physical machine 2 based on the influence of the fluctuation in the value of the performance information data acquired from both the physical machine 2 and the virtual machine 3.

また、本発明の第一の実施の形態によれば、精度の高い移動候補仮想マシンの選択ができる。   Further, according to the first embodiment of the present invention, it is possible to select a migration candidate virtual machine with high accuracy.

その理由は、物理マシン2と仮想マシン3の性能情報のデータの値のピークタイミングが互いに一致していることではなく、物理マシン2と仮想マシン3の性能情報のデータの値の影響度に基づいて移動候補仮想マシンが選択されるからである。   The reason is that the peak timings of the performance information data values of the physical machine 2 and the virtual machine 3 are not coincident with each other, but based on the influence degree of the performance information data values of the physical machine 2 and the virtual machine 3. This is because the migration candidate virtual machine is selected.

また、本発明の第一の実施の形態によれば、比較的計算リソースを使用せず、即時的に算出できる。   Further, according to the first embodiment of the present invention, it is possible to calculate immediately without using comparative resources.

その理由は、物理マシン2と仮想マシン3の性能情報のデータの値をそれぞれ所定期間だけ取り出して評価するため、所定期間を短くすればそれだけ扱うデータ量を少なくすることができるためである。また、近い過去のデータを使うため即時性のある計算結果が得られるためである。   This is because the performance information data values of the physical machine 2 and the virtual machine 3 are extracted and evaluated for a predetermined period, respectively, and if the predetermined period is shortened, the amount of data handled can be reduced accordingly. In addition, since immediate past data is used, an immediate calculation result is obtained.

また、本発明の第一の実施の形態によれば、候補となる仮想マシン3を順位付けして提示できるので、柔軟な運用が可能である。   Further, according to the first embodiment of the present invention, candidate virtual machines 3 can be ranked and presented, so that flexible operation is possible.

その理由は、影響度が仮想マシン3ごとに算出されて、その影響度の大小に応じて影響度が算出されることから、各仮想マシン3についてそれぞれの影響の度合いが決定されるためである。   The reason is that the degree of influence is determined for each virtual machine 3 because the degree of influence is calculated for each virtual machine 3 and the degree of influence is calculated according to the magnitude of the degree of influence. .

本発明は、移動候補の仮想マシンを選択する移動仮想マシン選択装置に適用できる。   The present invention can be applied to a migration virtual machine selection device that selects a migration candidate virtual machine.

1 仮想マシン管理装置
11 記憶部
12 選択部
13 指示部
14 収集部
2 物理マシン
3 仮想マシン
4 仮想マシン移動装置
DESCRIPTION OF SYMBOLS 1 Virtual machine management apparatus 11 Storage part 12 Selection part 13 Instruction part 14 Collection part 2 Physical machine 3 Virtual machine 4 Virtual machine movement apparatus

Claims (10)

1以上の仮想マシンを有する物理マシンおよび前記仮想マシンの性能情報をそれぞれ時系列に記憶する記憶部と、
前記物理マシンにおける前記性能情報に対する、各前記仮想マシンにおける前記性能情報の影響度に基づいて、一の移動候補仮想マシンを選択して出力する選択部と、
を含み、
前記影響度は、所定期間における、仮想マシンのリソース使用量の変化の大きさと、物理マシンのリソース使用量の変化の大きさとが、互いにどれだけ類似しているかを示す、
仮想マシン管理装置。
A storage unit that stores a physical machine having one or more virtual machines and performance information of the virtual machines in time series;
A selection unit that selects and outputs one migration candidate virtual machine based on the degree of influence of the performance information in each virtual machine with respect to the performance information in the physical machine;
Only including,
The degree of influence indicates how similar the magnitude of the change in the resource usage of the virtual machine and the magnitude of the change in the resource usage of the physical machine in a predetermined period are.
Virtual machine management device.
前記影響度は、前記物理マシンの性能情報の変化量と一の前記仮想マシンの性能情報の変化量との差分を合計した値に基づいて算出する
請求項1記載の仮想マシン管理装置。
The virtual machine management apparatus according to claim 1, wherein the influence degree is calculated based on a value obtained by summing a difference between a change amount of the performance information of the physical machine and a change amount of the performance information of one virtual machine.
前記選択部は、前記影響度が最も大きい仮想マシンを一の移動候補仮想マシンとして選択して出力する、
請求項2記載の仮想マシン管理装置。
The selection unit selects and outputs the virtual machine having the greatest influence as one movement candidate virtual machine,
The virtual machine management apparatus according to claim 2.
前記記憶部は、複数種類の性能情報について前記物理マシンおよび前記仮想マシンの性能情報をそれぞれ対応付けて時系列に記憶し、
前記選択部は、前記性能情報から所定の種類の性能情報を予め定めた閾値に基づいて選出し、前記選出された種類の性能情報を用いて移動候補仮想マシンを選択して出力する
請求項1乃至3のいずれか1項記載の仮想マシン管理装置。
The storage unit associates the performance information of the physical machine and the virtual machine with respect to a plurality of types of performance information and stores them in time series,
The selection unit selects a predetermined type of performance information from the performance information based on a predetermined threshold value, and selects and outputs a migration candidate virtual machine using the selected type of performance information. The virtual machine management device according to any one of claims 1 to 3.
1以上の仮想マシンを有する物理マシンと、
前記1以上の仮想マシンのうち前記物理マシンから他の物理マシンに移動をさせる候補である移動候補仮想マシンを選択して出力する移動候補マシン選択装置と、
前記移動候補仮想マシンを前記物理マシンから他の物理マシンに移動させる仮想マシン移動装置と、
を含み、
前記移動候補マシン選択装置は、
前記物理マシンおよび前記仮想マシンの性能情報をそれぞれ時系列に記憶する記憶部と、
前記物理マシンにおける前記性能情報に対する、各前記仮想マシンにおける前記性能情報の影響度に基づいて、一の移動候補仮想マシンを選択して出力する選択部と、
前記仮想マシン移動装置に、前記移動候補仮想マシンを他の物理マシンに移動をさせる仮想マシン移動指示部と、
を含み、
前記影響度は、所定期間における、仮想マシンのリソース使用量の変化の大きさと、物理マシンのリソース使用量の変化の大きさとが、互いにどれだけ類似しているかを示す、
仮想マシン管理システム。
A physical machine having one or more virtual machines;
A migration candidate machine selection device that selects and outputs a migration candidate virtual machine that is a candidate for migration from the physical machine to another physical machine among the one or more virtual machines;
A virtual machine moving device for moving the movement candidate virtual machine from the physical machine to another physical machine;
Including
The movement candidate machine selection device includes:
A storage unit that stores the performance information of the physical machine and the virtual machine in time series, and
A selection unit that selects and outputs one migration candidate virtual machine based on the degree of influence of the performance information in each virtual machine with respect to the performance information in the physical machine;
A virtual machine movement instruction unit that causes the virtual machine movement device to move the movement candidate virtual machine to another physical machine;
Only including,
The degree of influence indicates how similar the magnitude of the change in the resource usage of the virtual machine and the magnitude of the change in the resource usage of the physical machine in a predetermined period are.
Virtual machine management system.
前記影響度は、前記物理マシンの性能情報の変化量と一の前記仮想マシンの性能情報の変化量との差分を合計した値に基づいて算出される、
請求項5記載の仮想マシン管理システム。
The influence degree is calculated based on a value obtained by summing a difference between a change amount of the performance information of the physical machine and a change amount of the performance information of one virtual machine.
The virtual machine management system according to claim 5.
前記選択部は、前記影響度が最も大きい仮想マシンを一の移動候補仮想マシンとして選択して出力する、
請求項6記載の仮想マシン管理システム。
The selection unit selects and outputs the impact is most sizes have a virtual machine as a mobile candidate virtual machine,
The virtual machine management system according to claim 6.
1以上の仮想マシンを有する物理マシンおよび前記仮想マシンの性能情報をそれぞれ時系列に記憶し、
前記物理マシンにおける前記性能情報に対する、各前記仮想マシンにおける前記性能情報の影響度に基づいて、一の移動候補仮想マシンを選択して出力し、
前記影響度は、所定期間における、仮想マシンのリソース使用量の変化の大きさと、物理マシンのリソース使用量の変化の大きさとが、互いにどれだけ類似しているかを示す、
仮想マシン管理方法。
Storing a physical machine having one or more virtual machines and performance information of the virtual machines in time series,
Based on the impact of the performance information in each virtual machine on the performance information in the physical machine, select and output one migration candidate virtual machine ,
The degree of influence indicates how similar the magnitude of the change in the resource usage of the virtual machine and the magnitude of the change in the resource usage of the physical machine in a predetermined period are.
Virtual machine management method.
前記影響度は、前記物理マシンの性能情報の変化量と一の前記仮想マシンの性能情報の変化量との差分を合計した値に基づいて算出する
請求項8記載の仮想マシン管理方法。
The virtual machine management method according to claim 8, wherein the influence degree is calculated based on a value obtained by summing a difference between a change amount of the performance information of the physical machine and a change amount of the performance information of the one virtual machine.
の移動候補仮想マシンを選択して出力する場合、前記影響度が最も大きい仮想マシンを一の移動候補仮想マシンとして選択して出力する
請求項9記載の仮想マシン管理方法。
If selecting and outputting one of moving candidate virtual machine, the virtual machine management method according to claim 9, wherein the degree of influence selects and outputs a most size have a virtual machine as a mobile candidate virtual machine.
JP2014061421A 2014-03-25 2014-03-25 Virtual machine management apparatus, virtual machine management method, and virtual machine management system Active JP6331549B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014061421A JP6331549B2 (en) 2014-03-25 2014-03-25 Virtual machine management apparatus, virtual machine management method, and virtual machine management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014061421A JP6331549B2 (en) 2014-03-25 2014-03-25 Virtual machine management apparatus, virtual machine management method, and virtual machine management system

Publications (2)

Publication Number Publication Date
JP2015184965A JP2015184965A (en) 2015-10-22
JP6331549B2 true JP6331549B2 (en) 2018-05-30

Family

ID=54351407

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014061421A Active JP6331549B2 (en) 2014-03-25 2014-03-25 Virtual machine management apparatus, virtual machine management method, and virtual machine management system

Country Status (1)

Country Link
JP (1) JP6331549B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102072160B1 (en) * 2017-11-02 2020-02-03 한국전자통신연구원 Block cipher operation system, apparatus and method in non-uniform memory access environment
CN111367677A (en) * 2020-03-31 2020-07-03 中国工商银行股份有限公司 Cluster resource allocation method and system

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4519098B2 (en) * 2006-03-30 2010-08-04 株式会社日立製作所 Computer management method, computer system, and management program
JP4839361B2 (en) * 2008-11-11 2011-12-21 株式会社日立製作所 Virtual machine migration management server and virtual machine migration method
JP5544967B2 (en) * 2010-03-24 2014-07-09 富士通株式会社 Virtual machine management program and virtual machine management apparatus
JP5729466B2 (en) * 2011-04-20 2015-06-03 日本電気株式会社 Virtual machine management apparatus, virtual machine management method, and program
JPWO2013128836A1 (en) * 2012-03-02 2015-07-30 日本電気株式会社 Virtual server management apparatus and virtual server migration destination determination method
JP5853821B2 (en) * 2012-03-29 2016-02-09 富士通株式会社 Management device, resource management method, resource management program, and information processing system
JP6044131B2 (en) * 2012-06-25 2016-12-14 富士通株式会社 Program, management server, and virtual machine migration control method

Also Published As

Publication number Publication date
JP2015184965A (en) 2015-10-22

Similar Documents

Publication Publication Date Title
JP5218390B2 (en) Autonomous control server, virtual server control method and program
EP3089034B1 (en) System and method for optimizing energy consumption by processors
US9378056B2 (en) Management server, and virtual machine move control method
JP6224244B2 (en) Power balancing to increase working density and improve energy efficiency
JP6241300B2 (en) Job scheduling apparatus, job scheduling method, and job scheduling program
US9176804B2 (en) Memory dump optimization in a system
CN109684071B (en) Distribution of arbitrary workload among super-converged nodes
JP6233413B2 (en) Task assignment determination device, control method, and program
JP7011162B2 (en) Performance adjustment program and performance adjustment method
US20140282540A1 (en) Performant host selection for virtualization centers
EP3200076A1 (en) System and method for load estimation of virtual machines in a cloud environment and serving node
KR102141083B1 (en) Optimization methods, systems, electronic devices and storage media of database systems
JP2015007942A (en) Program, virtual machine management method, and information processing apparatus
WO2016178316A1 (en) Computer procurement predicting device, computer procurement predicting method, and program
US9742684B1 (en) Adaptive service scaling
US10248618B1 (en) Scheduling snapshots
CN103988179A (en) Optimization mechanisms for latency reduction and elasticity improvement in geographically distributed datacenters
JP6176390B2 (en) Information processing apparatus, analysis method, and program recording medium
JP5445739B2 (en) Resource allocation apparatus, resource allocation method, and program
CN110062922A (en) Stream processing system and method
JP6331549B2 (en) Virtual machine management apparatus, virtual machine management method, and virtual machine management system
JP6750368B2 (en) Virtual machine control program, virtual machine control method, and virtual machine control device
US20160253591A1 (en) Method and apparatus for managing performance of database
JP6963465B2 (en) Computer system and data processing control method
JP6340987B2 (en) Disk exhaustion prediction program, information processing apparatus, and disk exhaustion prediction method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170215

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20171228

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180130

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180323

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180416

R150 Certificate of patent or registration of utility model

Ref document number: 6331549

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150