JP2012198631A - Virtual machine arrangement device, virtual machine arrangement method and virtual machine arrangement program - Google Patents
Virtual machine arrangement device, virtual machine arrangement method and virtual machine arrangement program Download PDFInfo
- Publication number
- JP2012198631A JP2012198631A JP2011061013A JP2011061013A JP2012198631A JP 2012198631 A JP2012198631 A JP 2012198631A JP 2011061013 A JP2011061013 A JP 2011061013A JP 2011061013 A JP2011061013 A JP 2011061013A JP 2012198631 A JP2012198631 A JP 2012198631A
- Authority
- JP
- Japan
- Prior art keywords
- virtual machine
- processing
- physical
- virtual
- machine
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 18
- 238000012545 processing Methods 0.000 claims abstract description 176
- 238000004891 communication Methods 0.000 claims abstract description 30
- 230000004913 activation Effects 0.000 claims description 31
- 230000004044 response Effects 0.000 claims description 19
- 238000005259 measurement Methods 0.000 claims description 10
- 230000008859 change Effects 0.000 claims description 6
- 230000008569 process Effects 0.000 description 11
- 238000010586 diagram Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 6
- 230000005540 biological transmission Effects 0.000 description 4
- 230000005012 migration Effects 0.000 description 3
- 238000013508 migration Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
Images
Landscapes
- Debugging And Monitoring (AREA)
- Computer And Data Communications (AREA)
Abstract
Description
本発明は、複数の物理マシンのいずれかに仮想マシンを配置する技術に関する。 The present invention relates to a technique for arranging a virtual machine in any of a plurality of physical machines.
ユーザ端末からの要求を受けて、予め用意した物理マシンにより構成される仮想環境に仮想マシンを起動させ、起動した仮想マシンをユーザに利用させるコンピュータリソースの利用形態が一般的になりつつある。このようにすれば、ユーザが例えば何らかのウェブサービスを提供したい場合、自身で物理マシンを用意しなくとも、仮想環境における仮想マシンをウェブサーバ等として起動し、ウェブサービスを提供することができる。
特許文献1には、このような仮想環境における消費電力を低減することが記載されている。特許文献2には、このような仮想環境において起動された仮想マシンのパフォーマンスの実測データに基づいて仮想マシンを再配置することが記載されている。
In response to a request from a user terminal, a computer resource usage form is becoming common in which a virtual machine is activated in a virtual environment composed of physical machines prepared in advance and the activated virtual machine is used by the user. In this way, when the user wants to provide some web service, for example, the user can start the virtual machine in the virtual environment as a web server or the like and provide the web service without preparing a physical machine by himself.
しかしながら、仮想化技術により1台の物理マシンに複数の仮想マシンを起動させる場合、複数の仮想マシンが同一のハードウェアリソースを利用することになるため、ある仮想マシンの処理性能が、同一の物理マシンに起動された他の仮想マシンの稼働状況に影響を受ける場合があると考えられる。例えば、仮想マシンが頻繁にディスクI/O(Input/Output)を行えば、同一の物理マシンに起動している他の仮想マシンのディスクI/Oの処理性能が低下する場合があると考えられる。ここで、このような仮想環境において起動する仮想マシンは、同一物理マシンに起動している他の仮想マシンの影響をできるだけ受けずに稼働することが望ましい。 However, when a plurality of virtual machines are started on a single physical machine by virtualization technology, the plurality of virtual machines use the same hardware resource, so that the processing performance of a certain virtual machine has the same physical It may be affected by the operating status of other virtual machines started on the machine. For example, if a virtual machine frequently performs disk I / O (Input / Output), the processing performance of disk I / O of other virtual machines running on the same physical machine may decrease. . Here, it is desirable that a virtual machine activated in such a virtual environment operate as much as possible without being affected by other virtual machines activated on the same physical machine.
本発明は、このような状況に鑑みてなされたもので、1台の物理マシンに複数の仮想マシンが起動する仮想環境において、同一の物理マシンに起動している仮想マシンに対する他の仮想マシンの影響を低減する仮想マシン配置装置、仮想マシン配置方法、仮想マシン配置プログラムを提供する。 The present invention has been made in view of such a situation, and in a virtual environment in which a plurality of virtual machines are started on one physical machine, other virtual machines with respect to the virtual machines started on the same physical machine are provided. Provided are a virtual machine arrangement device, a virtual machine arrangement method, and a virtual machine arrangement program that reduce influence.
上述した課題を解決するために、本発明は、送信される仮想マシンの起動要求に応じて、複数の物理マシンのいずれかに仮想マシンを起動させる仮想マシン配置装置であって、物理マシンにおいて仮想マシンが動作する際の処理負荷が高いハードウェア処理の種別を示す処理特性が記憶されている処理特性記憶部と、起動要求を受信する通信部と、通信部が起動要求を受信すると、処理特性記憶部から処理特性を読み出し、同一種別の処理負荷が高い複数の仮想マシンが同一の物理マシンに起動しないように、複数の物理マシンのうちいずれかの物理マシンに、起動要求に応じた仮想マシンを起動させる仮想マシン配置部と、を備えることを特徴とする。 In order to solve the above-described problems, the present invention provides a virtual machine placement apparatus that starts a virtual machine in any of a plurality of physical machines in response to a virtual machine start request transmitted. A processing characteristic storage unit storing a processing characteristic indicating a type of hardware processing with a high processing load when the machine operates, a communication unit that receives an activation request, and a processing characteristic when the communication unit receives the activation request. Read the processing characteristics from the storage unit, and in order to prevent multiple virtual machines with the same type of high processing load from starting up on the same physical machine, either one of the multiple physical machines can respond to the startup request. And a virtual machine arrangement unit that activates.
また、本発明は、ハードウェア処理の種別には、ディスクI/OとネットワークI/Oとのいずれかまたは方が含まれることを特徴とする。 Further, the present invention is characterized in that the type of hardware processing includes one or both of disk I / O and network I / O.
また、本発明は、複数の物理マシン毎に、物理マシンにおいて起動している仮想マシンを識別する仮想マシン識別情報が対応付けられた仮想マシン配置情報が記憶される仮想マシン配置情報記憶部を備え、処理特性記憶部には、仮想マシンを識別する仮想マシン識別情報に対応付けて、処理特性が記憶され、通信部は、仮想マシン識別情報が含まれる起動要求を受信し、仮想マシン配置部は、通信部が受信した起動要求に含まれる仮想マシン識別情報に対応する処理特性を処理特性記憶部から読み出し、読み出した処理特性が示す種別と同一種別の処理負荷が高い他の仮想マシンが起動していない物理マシンを、仮想マシン配置記憶情報記憶部に記憶された仮想マシン配置情報から抽出し、物理マシンに仮想マシンを起動させることを特徴とする。 In addition, the present invention includes a virtual machine arrangement information storage unit that stores virtual machine arrangement information in which virtual machine identification information for identifying a virtual machine activated on a physical machine is associated with each of a plurality of physical machines. The processing characteristic storage unit stores the processing characteristic in association with the virtual machine identification information for identifying the virtual machine, the communication unit receives an activation request including the virtual machine identification information, and the virtual machine arrangement unit The processing characteristic corresponding to the virtual machine identification information included in the activation request received by the communication unit is read from the processing characteristic storage unit, and another virtual machine having the same processing load as the type indicated by the read processing characteristic is activated. The physical machine is extracted from the virtual machine arrangement information stored in the virtual machine arrangement storage information storage unit, and the physical machine is started up. That.
また、本発明は、物理マシンにおいて起動している仮想マシンのハードウェア処理の処理負荷を計測し、計測結果に基づいた処理特性を処理特性記憶部に記憶させる処理特性計測部と、を備えることを特徴とする。 In addition, the present invention includes a processing characteristic measurement unit that measures a processing load of hardware processing of a virtual machine activated in a physical machine and stores a processing characteristic based on the measurement result in a processing characteristic storage unit. It is characterized by.
また、本発明は、処理特性記憶部には、定められた時間帯毎に変化する処理特性が記憶され、仮想マシン配置部は、時間帯毎に変化する処理特性に応じて、同一種別の処理負荷が高い複数の仮想マシンが同一時間帯に同一の物理マシンに起動しないように、物理マシンに起動している仮想マシンを、複数の物理マシンのうち他の物理マシンに移動させることを特徴とする。 Further, according to the present invention, the processing characteristic storage unit stores processing characteristics that change for each predetermined time zone, and the virtual machine placement unit performs processing of the same type according to the processing characteristics that change for each time zone. The feature is that a virtual machine that is running on a physical machine is moved to another physical machine among the multiple physical machines so that multiple virtual machines with high loads do not start on the same physical machine during the same time period. To do.
また、本発明は、送信される仮想マシンの起動要求に応じて、複数の物理マシンのいずれかに仮想マシンを起動させ、物理マシンにおいて仮想マシンが動作する際の処理負荷が高いハードウェア処理の種別を示す処理特性が記憶されている処理特性記憶部を備えた仮想マシン配置装置の仮想マシン配置方法であって、起動要求を受信するステップと、起動要求を受信すると、処理特性記憶部から処理特性を読み出し、同一種別の処理負荷が高い複数の仮想マシンが同一の物理マシンに起動しないように、複数の物理マシンのうちいずれかの物理マシンに、起動要求に応じた仮想マシンを起動させるステップと、を備えることを特徴とする。 In addition, the present invention provides a hardware processing that has a high processing load when a virtual machine is activated in one of a plurality of physical machines in response to a transmitted virtual machine activation request. A virtual machine placement method of a virtual machine placement device having a processing characteristic storage unit that stores a processing characteristic indicating a type, the step of receiving a startup request, and processing from the processing characteristic storage unit when receiving a startup request A step of reading the characteristics and starting one of the plurality of physical machines in response to the start request so that a plurality of virtual machines having the same type of processing load are not started to the same physical machine And.
また、本発明は、送信される仮想マシンの起動要求に応じて、複数の物理マシンのいずれかに仮想マシンを起動させ、物理マシンにおいて仮想マシンが動作する際の処理負荷が高いハードウェア処理の種別を示す処理特性が記憶されている処理特性記憶部を備えた仮想マシン配置装置のコンピュータに、起動要求を受信するステップと、起動要求を受信すると、処理特性記憶部から処理特性を読み出し、同一種別の処理負荷が高い複数の仮想マシンが同一の物理マシンに起動しないように、複数の物理マシンのうちいずれかの物理マシンに、起動要求に応じた仮想マシンを起動させるステップと、を実行させる仮想マシン配置プログラムである。 In addition, the present invention provides a hardware processing that has a high processing load when a virtual machine is activated in one of a plurality of physical machines in response to a transmitted virtual machine activation request. A step of receiving an activation request to the computer of the virtual machine placement apparatus having a processing characteristic storage unit storing a processing characteristic indicating the type, and when receiving the activation request, the processing characteristic is read from the processing characteristic storage unit, and the same Causing any one of the plurality of physical machines to start a virtual machine in response to the start request so that a plurality of virtual machines having a high processing load of the type are not started to the same physical machine. This is a virtual machine placement program.
以上説明したように、本発明によれば、送信される仮想マシンの起動要求に応じて、複数の物理マシンのいずれかに仮想マシンを起動させる仮想マシン配置装置であって、物理マシンにおいて仮想マシンが動作する際の処理負荷が高いハードウェア処理の種別を示す処理特性が記憶されている処理特性記憶部と、起動要求を受信する通信部と、通信部が起動要求を受信すると、処理特性記憶部から処理特性を読み出し、同一種別の処理負荷が高い複数の仮想マシンが同一の物理マシンに起動しないように、複数の物理マシンのうちいずれかの物理マシンに、起動要求に応じた仮想マシンを起動させる仮想マシン配置部と、を備えるようにしたので、1台の物理マシンに複数の仮想マシンが起動する仮想環境において、同一の物理マシンに起動している仮想マシンに対する他の仮想マシンの影響を低減することができる。 As described above, according to the present invention, a virtual machine placement apparatus that starts a virtual machine in any of a plurality of physical machines in response to a request to start a virtual machine transmitted. A processing characteristic storage unit storing a processing characteristic indicating a type of hardware processing that has a high processing load when operating, a communication unit that receives an activation request, and a processing characteristic storage when the communication unit receives the activation request In order to prevent multiple virtual machines with high processing load of the same type from starting on the same physical machine, a virtual machine that responds to the start request is assigned to one of the physical machines. The virtual machine placement section to be started is provided, so in the virtual environment where multiple virtual machines are started on one physical machine, the same physical machine is started. It is possible to reduce the influence of other virtual machines for in that virtual machine.
以下、本発明の一実施形態について、図面を参照して説明する。
図1は、本実施形態による仮想マシン配置装置20を備えた仮想マシン提供システム1の構成を示すブロック図である。仮想マシン提供システム1は、仮想マシン配置装置20の他に、ユーザ端末10と、物理マシン30−1、物理マシン30−2、物理マシン30−3、・・・とのコンピュータ装置を備えており、これらのコンピュータ装置はネットワークを介して接続されている。複数の物理マシン30は同様の構成であり、特に区別しない場合には「−1」、「−2」等を省略して物理マシン30として説明する。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
FIG. 1 is a block diagram illustrating a configuration of a virtual
仮想マシン提供システム1は、ユーザ端末10からの仮想マシンの起動要求に応じて、複数の物理マシン30によって構成される仮想環境に仮想マシンを起動させ、ユーザ端末10に利用させるリソース提供サービスを提供する。このようなサービスはクラウドサービスなどとも呼ばれるものである。
The virtual
ユーザ端末10は、仮想マシン提供システム1によって提供される仮想マシンを利用するユーザのコンピュータ装置である。ユーザ端末10は、ユーザからの入力に応じて、仮想マシンの起動要求を仮想マシン配置装置20に送信する。ユーザ端末10は、起動された仮想マシンにネットワークを介して接続し、利用することができる。図2は、本実施形態においてユーザ端末10からの起動要求によって起動される複数の仮想マシンの例を示す図である。ここでは、WEBサーバである仮想マシンAと、WEBサーバである仮想マシンBと、AP(Application)サーバである仮想マシンCと、APサーバである仮想マシンDと、DB(DataBase)サーバである仮想マシンEとの5台の仮想マシンが起動され、このような三層構造の仮想マシンが互いに協調して動作するウェブサービスを提供する。また、ここでは、1台のユーザ端末10を示して説明するが、仮想マシン提供システム1には複数のユーザの複数のユーザ端末10が接続されていて良い。
The
仮想マシン配置装置20は、ユーザ端末10からの仮想マシンの起動要求に応じて、複数の物理マシン30のいずれかに仮想マシンを起動させるクラウド管理装置である。仮想マシン配置装置20は、通信部21と、処理特性記憶部22と、仮想マシン配置情報記憶部23と、仮想マシン配置部24と、処理特性計測部25とを備えている。
通信部21は、ネットワークを介して接続された他のコンピュータ装置と通信を行う。例えば、通信部21は、ユーザ端末10から送信される、起動したい仮想マシンを識別する仮想マシン識別情報(仮想マシンID)が含まれる起動要求や、その仮想マシンの処理特性等の情報を受信する。
The virtual
The
処理特性記憶部22には、物理マシン30において仮想マシンが動作する際の処理負荷が高いハードウェア処理の種別を示す処理特性が記憶されている。ハードウェア処理の種別には、CPU(Central Processing Unit)とディスクI/OとネットワークI/O(Input/Output)とのいずれかまたは複数が含まれる。ディスクI/Oは、ハードディスクの読み書き処理であり、ネットワークI/Oは、ネットワークを介した他のコンピュータ装置との通信処理である。
The processing
図3は、処理特性記憶部22に記憶される処理特性のデータ例を示す図である。ここでは、処理特性記憶部22には、仮想マシンを識別する仮想マシンIDに対応付けて、役割と、処理特性とが記憶される。さらに、依存関係を示す情報が付加されていても良い。役割は、例えば、三層構造のウェブサービスにおけるその仮想マシンの役割を示す情報であり、WEBサーバ、APサーバ、DBサーバなどが存在する。あるいは、例えば、ファイアウォールなどの役割であっても良い。処理特性は、仮想マシンの役割に応じた処理負荷が高いことが予想されるハードウェア処理の種別を示す。ハードウェア処理には、例えば、CPU動作、ディスクI/O、ネットワークI/Oなどがある。例えば、WEBサーバであればCPUとネットワークI/Oの処理負荷が高く、APサーバであればCPUの処理負荷が高く、DBサーバであればディスクI/Oの処理負荷が高いことなどが考えられる。このように、仮想マシンIDには処理負荷の高い複数の処理特性が対応付けられても良い。特に処理負荷の高いハードウェア処理が存在しない場合は、処理特性は対応付けられないようにしても良い。
FIG. 3 is a diagram illustrating an example of processing characteristic data stored in the processing
ここで、同一の役割を持つ仮想マシンが同一の物理マシンに起動されると、特定の種別のハードウェア処理の処理負荷が過剰になり、仮想マシンの動作が、同一の物理マシンで動作する他の仮想マシンの動作に影響を与えることが考えられる。そこで、例えば、WEBサーバである仮想マシンAは、同様のハードウェア処理の処理負荷が高いWEBサーバである仮想マシンBとは異なる物理マシンに起動されることが望ましい。依存関係は、このような仮想マシン間の関係を示している。このような依存関係を参照すれば、システム構成、仮想マシン間の通信の有無や頻度等に応じた仮想マシンの配置を行うことができる。例えば、WEBサーバである仮想マシンAと仮想マシンBとは、冗長化や負荷分散等を考慮し、異なる物理マシン30上に配置されることが望ましい。また、通信を行う仮想マシンを同一の物理マシン30に配置すれば、ネットワークリソースを効率化することができるため、仮想マシンAと仮想マシンCまたは仮想マシンD、仮想マシンBと仮想マシンCまたは仮想マシンDは同一の物理マシン30上に配置されることが望ましい。また、処理特性がCPUまたはネットワークI/OであるWEBサーバまたはAPサーバは、処理特性がディスクI/OであるDサーバとは利用するコンピュータリソースが競合しないと思われるため、同一の物理マシン30上に配置することができる。
このような処理特性記憶部22に記憶されるデータは、ユーザによってユーザ端末10に入力されて送信されるようにしても良いし、仮想マシン配置装置20が役割に応じた処理特性を予め記憶しておき、ユーザ端末10からは仮想マシンの役割を示す情報を受信し、その役割に応じた処理特性を記憶させるようにしても良い。あるいは、処理特性計測部25により、稼働中の物理マシン30から計測された処理負荷に基づいて処理特性が記憶されるようにしても良い。
Here, if virtual machines with the same role are started on the same physical machine, the processing load of a specific type of hardware processing will be excessive, and the virtual machine will operate on the same physical machine. This may affect the operation of the virtual machine. Therefore, for example, it is desirable that the virtual machine A, which is a WEB server, is started on a physical machine different from the virtual machine B, which is a WEB server having a high processing load on hardware. The dependency relationship indicates such a relationship between virtual machines. By referring to such dependency relationships, virtual machines can be arranged according to the system configuration, the presence / absence of communication between virtual machines, the frequency, and the like. For example, it is desirable that the virtual machine A and the virtual machine B, which are WEB servers, are arranged on different physical machines 30 in consideration of redundancy and load distribution. In addition, if the virtual machines that perform communication are arranged in the same physical machine 30, network resources can be made more efficient. Therefore, virtual machine A and virtual machine C or virtual machine D, virtual machine B and virtual machine C or virtual machine The machine D is preferably arranged on the same physical machine 30. Further, since the WEB server or AP server whose processing characteristics are CPU or network I / O does not seem to compete with the D server whose processing characteristics are disk I / O, the same physical machine 30 is used. Can be placed on top.
Such data stored in the processing
仮想マシン配置情報記憶部23には、複数の物理マシン30毎に、その物理マシン30において起動している仮想マシンを識別する仮想マシンIDが対応付けられた仮想マシン配置情報が記憶される。図4は、仮想マシン配置情報記憶部23に記憶される仮想マシン配置情報のデータ例を示す図である。例えば、物理マシンIDが「1」である物理マシン30上に、仮想マシンIDが「A」である仮想マシンと、仮想マシンIDが「C」である仮想マシンとが起動されていることが示されている。このような仮想マシン配置情報は、仮想マシン配置部24によって仮想マシンが起動された際、または移動された際に、仮想マシン配置部24によって書き込まれる。
The virtual machine arrangement
仮想マシン配置部24は、通信部21が、ユーザ端末10から送信された起動要求を受信すると、処理特性記憶部22から処理特性を読み出し、同一種別の処理負荷が高い複数の仮想マシンが同一の物理マシン30に起動しないように、複数の物理マシン30のうちいずれかの物理マシン30に、起動要求に応じた仮想マシンを起動させる。具体的には、仮想マシン配置部24は、通信部21が受信した起動要求に含まれる仮想マシンIDに対応する処理特性を処理特性記憶部22から読み出し、読み出した処理特性が示す種別と同一種別の処理負荷が高い他の仮想マシンが起動していない物理マシン30の物理マシンIDを、仮想マシン配置情報記憶部23に記憶された仮想マシン配置情報から抽出し、抽出した仮想マシンIDが示す物理マシン30に仮想マシンを起動させる。このようにすれば、同一のハードウェア処理の処理負荷が高い複数の仮想マシンが、同一の物理マシン30において起動されないようにすることができ、同一の物理マシン30に起動している仮想マシンに対する他の仮想マシンの影響を低減することができる。また、仮想マシン配置部24は、仮想マシン間の通信の有無の情報や通信の頻度に応じた仮想マシンの配置を行うこともできる。すなわち、通信を行う仮想マシンを同一の物理マシン30に配置すれば、ネットワークリソースを効率化することができる。
When the
また、仮想マシン配置部24は、物理マシン30に起動された仮想マシンを他の物理マシン30に移動させる移動処理を行う。ここでは、仮想マシン配置装置20は、物理マシン上で稼働している仮想マシンを停止させずに他の物理マシン上に移動させるマイグレーション(ホットマイグレーション)の処理を行う。例えば、物理マシン30−1上に起動された仮想マシンa、仮想マシンc、仮想マシンfのうち、仮想マシンfを、物理マシン30−1から物理マシン30−2に移動させる処理を行う(仮想マシンf´)。このような移動処理は、仮想マシン配置部24が送信する移動要求に応じて、物理マシン30の仮想化機能により行われる。
In addition, the virtual
処理特性計測部25は、物理マシン30において起動された仮想マシンのハードウェア処理の処理負荷を計測し、計測結果に基づいた処理特性を処理特性記憶部22に記憶させる。例えば、処理特性計測部25は、複数の物理マシン30のそれぞれから、その物理マシン30において稼働している仮想マシンのハードウェア処理の種別毎の稼働状況を収集する。稼働状況とは、例えば、単位時間当たりのCPU稼働率、ディスクI/O(Mbps)、ネットワークI/O(Mbps)などの値である。例えば、処理特性計測部25は、このようなハードウェア処理の種別毎の値の閾値を自身の記憶領域に予め記憶しておき、閾値と比較することにより処理負荷が高いか否かを判定する。収集したハードウェア処理の稼働状況の値が閾値を超えていれば、処理負荷が高いと判定し、そのハードウェア処理の種別を処理特性として処理特性記憶部22に記憶させる。収集したハードウェア処理の稼働状況の値が閾値を超えていなければ、処理負荷は高くないと判定する。
The processing
物理マシン30は、コンピュータリソースを仮想化し、複数の仮想マシンを起動させる仮想化機能を備えるコンピュータ装置である。物理マシン30は、仮想マシン配置装置20からの起動要求に応じて、自身のコンピュータリソースに仮想マシンを起動する。また、仮想マシン配置装置20からの仮想マシンの移動要求に応じて、自身のコンピュータリソース上に起動した仮想マシンを、他の仮想マシンに移動させるマイグレーションの処理を行う。
The physical machine 30 is a computer device having a virtualization function for virtualizing computer resources and starting a plurality of virtual machines. The physical machine 30 activates the virtual machine to its own computer resource in response to the activation request from the virtual
次に、本実施形態による仮想マシン配置装置20を備えた仮想マシン提供システム1の動作例を説明する。
図5は、仮想マシン配置装置20が処理特性に応じて仮想マシンを起動させる動作例を示すフローチャートである。
ユーザ端末10に、起動したい仮想マシンが選択されて仮想マシンIDが入力され、その仮想マシンの処理特性が入力されると、ユーザ端末10は、入力された仮想マシンIDが含まれる起動要求と、処理特性とを仮想マシン配置装置20に送信する。仮想マシン配置装置20の通信部21は、ユーザ端末10から送信された起動要求と処理特性とを受信し(ステップS1)、受信した処理特性を処理特性記憶部22に記憶させる(ステップS2)。
Next, an operation example of the virtual
FIG. 5 is a flowchart illustrating an operation example in which the virtual
When a virtual machine to be activated is selected and a virtual machine ID is input to the
仮想マシン配置装置20の仮想マシン配置部24は、仮想マシン配置情報記憶部23に記憶された仮想マシン配置情報を読み出し、通信部21が受信した起動要求に対応する処理特性が示す種別と同一の種別の処理特性に対応する仮想マシンIDが対応付けられていない物理マシンIDを、仮想マシン配置情報記憶部23から抽出する(ステップS3)。そして、抽出した物理マシンIDが示す物理マシン30に、仮想マシンの起動要求を送信し、物理マシン30に仮想マシンを起動させる(ステップS4)。
The virtual
なお、仮想マシン配置装置20の処理特性記憶部22には、定められた時間帯毎に変化する処理特性が記憶されるようにしても良い。図6は、このような処理特性のデータ例を示す図である。ここでは、昼と夜との時間帯毎に、当該時間帯の処理特性が対応付けられて記憶される。例えば、昼は7時から19時、夜は19時から7時までの時間帯を示す。例えば、仮想マシンは、昼間は処理負荷が高いが、夜間は処理負荷が低いなどの傾向が存在する場合がある。そこで、このような傾向に応じて、物理マシン30上に起動している仮想マシンを他の物理マシン30に移動させ、同一の処理特性の仮想マシンが同一の物理マシン30に起動しないようにしても良い。
Note that the processing
このとき、仮想マシン配置部24は、時間帯毎に変化する処理特性に応じて、同一種別の処理負荷が高い複数の仮想マシンが同一時間帯に同一の物理マシンに起動しないように、物理マシン30に起動している仮想マシンを、複数の物理マシン30のうち他の物理マシン30に移動させる。例えば、仮想マシンIDが「A」である仮想マシンは、昼の時間帯はCPUとネットワークI/Oの処理負荷が高く、夜の時間帯はネットワークI/Oのみの処理負荷が高いとする。一方、仮想マシンIDが「F」である仮想マシンは、昼の時間帯は処理負荷が高いハードウェア処理がなく、夜の時間帯はCPUとネットワークI/Oのみの処理負荷が高いとする。このとき、昼の時間帯には、仮想マシンAと仮想マシンFとが同一の物理マシン30に起動していても良いが、夜の時間帯には、ネットワークI/Oの処理負荷が過剰になる可能性があるため、夜の時間帯には仮想マシンFを他の物理マシン30に移動させる。このようにすれば、仮想環境の物理マシン30のハードウェアリソースを、効率良く利用することができる。
以上説明したように、本実施形態によれば、仮想環境で稼働する複数の仮想マシンの役割や処理特性に応じて、仮想マシンを物理マシン30上に効率良く配置することができる。
At this time, the virtual
As described above, according to the present embodiment, virtual machines can be efficiently arranged on the physical machine 30 according to the roles and processing characteristics of a plurality of virtual machines operating in a virtual environment.
なお、本発明における処理部の機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することにより仮想マシンの配置を行ってもよい。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものとする。また、「コンピュータシステム」は、ホームページ提供環境(あるいは表示環境)を備えたWWWシステムも含むものとする。また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムが送信された場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリ(RAM)のように、一定時間プログラムを保持しているものも含むものとする。 The program for realizing the function of the processing unit in the present invention is recorded on a computer-readable recording medium, and the program recorded on the recording medium is read by the computer system and executed to thereby arrange the virtual machine. May be performed. Here, the “computer system” includes an OS and hardware such as peripheral devices. The “computer system” includes a WWW system having a homepage providing environment (or display environment). The “computer-readable recording medium” refers to a storage device such as a flexible medium, a magneto-optical disk, a portable medium such as a ROM and a CD-ROM, and a hard disk incorporated in a computer system. Further, the “computer-readable recording medium” refers to a volatile memory (RAM) in a computer system that becomes a server or a client when a program is transmitted via a network such as the Internet or a communication line such as a telephone line. In addition, those holding programs for a certain period of time are also included.
また、上記プログラムは、このプログラムを記憶装置等に格納したコンピュータシステムから、伝送媒体を介して、あるいは、伝送媒体中の伝送波により他のコンピュータシステムに伝送されてもよい。ここで、プログラムを伝送する「伝送媒体」は、インターネット等のネットワーク(通信網)や電話回線等の通信回線(通信線)のように情報を伝送する機能を有する媒体のことをいう。また、上記プログラムは、前述した機能の一部を実現するためのものであっても良い。さらに、前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるもの、いわゆる差分ファイル(差分プログラム)であっても良い。 The program may be transmitted from a computer system storing the program in a storage device or the like to another computer system via a transmission medium or by a transmission wave in the transmission medium. Here, the “transmission medium” for transmitting the program refers to a medium having a function of transmitting information, such as a network (communication network) such as the Internet or a communication line (communication line) such as a telephone line. The program may be for realizing a part of the functions described above. Furthermore, what can implement | achieve the function mentioned above in combination with the program already recorded on the computer system, and what is called a difference file (difference program) may be sufficient.
1 仮想マシン提供システム
10 ユーザ端末
20 仮想マシン配置装置
21 通信部
22 処理特性記憶部
23 仮想マシン配置情報記憶部
24 仮想マシン配置部
25 処理特性計測部
30 物理マシン
DESCRIPTION OF
Claims (7)
前記物理マシンにおいて前記仮想マシンが動作する際の処理負荷が高いハードウェア処理の種別を示す処理特性が記憶されている処理特性記憶部と、
前記起動要求を受信する通信部と、
前記通信部が前記起動要求を受信すると、前記処理特性記憶部から前記処理特性を読み出し、同一種別の処理負荷が高い複数の仮想マシンが同一の物理マシンに起動しないように、前記複数の物理マシンのうちいずれかの物理マシンに、起動要求に応じた仮想マシンを起動させる仮想マシン配置部と、
を備えることを特徴とする仮想マシン配置装置。 A virtual machine placement device that starts a virtual machine in any of a plurality of physical machines in response to a virtual machine start request transmitted,
A processing characteristic storage unit that stores a processing characteristic indicating a type of hardware processing having a high processing load when the virtual machine operates in the physical machine;
A communication unit that receives the activation request;
When the communication unit receives the activation request, the processing characteristic is read from the processing characteristic storage unit, and the plurality of physical machines are configured so that a plurality of virtual machines having the same type of processing load are not activated on the same physical machine. A virtual machine placement unit for starting a virtual machine in response to the start request on any of the physical machines,
A virtual machine placement apparatus comprising:
ことを特徴とする請求項1に記載の仮想マシン配置装置。 The virtual machine placement apparatus according to claim 1, wherein the type of hardware processing includes one or both of disk I / O and network I / O.
前記処理特性記憶部には、前記仮想マシンを識別する仮想マシン識別情報に対応付けて、前記処理特性が記憶され、
前記通信部は、前記仮想マシン識別情報が含まれる前記起動要求を受信し、
前記仮想マシン配置部は、前記通信部が受信した前記起動要求に含まれる前記仮想マシン識別情報に対応する処理特性を前記処理特性記憶部から読み出し、読み出した前記処理特性が示す種別と同一種別の処理負荷が高い他の仮想マシンが起動していない物理マシンを、前記仮想マシン配置記憶情報記憶部に記憶された前記仮想マシン配置情報から抽出し、当該物理マシンに前記仮想マシンを起動させる
ことを特徴とする請求項1または請求項2のいずれか1項に記載の仮想マシン配置装置。 For each of the plurality of physical machines, a virtual machine arrangement information storage unit that stores virtual machine arrangement information associated with virtual machine identification information for identifying the virtual machine activated on the physical machine is provided.
The processing characteristic storage unit stores the processing characteristic in association with virtual machine identification information for identifying the virtual machine,
The communication unit receives the activation request including the virtual machine identification information;
The virtual machine placement unit reads processing characteristics corresponding to the virtual machine identification information included in the activation request received by the communication unit from the processing characteristic storage unit, and has the same type as the type indicated by the read processing characteristics Extracting a physical machine in which another virtual machine having a high processing load is not activated from the virtual machine arrangement information stored in the virtual machine arrangement storage information storage unit, and causing the physical machine to activate the virtual machine. The virtual machine placement apparatus according to claim 1, wherein the virtual machine placement apparatus is a virtual machine placement apparatus.
を備えることを特徴とする請求項1から請求項3までのいずれか1項に記載の仮想マシン配置装置。 A processing characteristic measurement unit that measures a processing load of hardware processing of the virtual machine that is activated in the physical machine, and stores a processing characteristic based on the measurement result in the processing characteristic storage unit;
The virtual machine placement device according to any one of claims 1 to 3, further comprising:
前記仮想マシン配置部は、前記時間帯毎に変化する前記処理特性に応じて、同一種別の処理負荷が高い複数の仮想マシンが同一時間帯に同一の物理マシンに起動しないように、前記物理マシンに起動している前記仮想マシンを、複数の前記物理マシンのうち他の物理マシンに移動させる
ことを特徴とする請求項1から請求項4までのいずれか1項に記載の仮想マシン配置装置。 The processing characteristics storage unit stores the processing characteristics that change every predetermined time period,
The virtual machine placement unit is configured to prevent the plurality of virtual machines having a high processing load of the same type from starting up in the same physical machine in the same time zone according to the processing characteristics that change for each time zone. The virtual machine placement apparatus according to any one of claims 1 to 4, wherein the virtual machine that is activated in the next step is moved to another physical machine among the plurality of physical machines.
前記起動要求を受信するステップと、
前記起動要求を受信すると、前記処理特性記憶部から前記処理特性を読み出し、同一種別の処理負荷が高い複数の仮想マシンが同一の物理マシンに起動しないように、前記複数の物理マシンのうちいずれかの物理マシンに、起動要求に応じた仮想マシンを起動させるステップと、
を備えることを特徴とする仮想マシン配置方法。 Processing that indicates a type of hardware processing that has a high processing load when the virtual machine is activated in any one of the plurality of physical machines in response to the transmitted virtual machine activation request. A virtual machine placement method of a virtual machine placement device having a processing property storage unit in which properties are stored,
Receiving the activation request;
When the activation request is received, the processing characteristic is read from the processing characteristic storage unit, and any one of the plurality of physical machines is configured so that a plurality of virtual machines having a high processing load of the same type do not start on the same physical machine. Starting a virtual machine in response to the start request on the physical machine,
A virtual machine arrangement method comprising:
前記起動要求を受信するステップと、
前記起動要求を受信すると、前記処理特性記憶部から前記処理特性を読み出し、同一種別の処理負荷が高い複数の仮想マシンが同一の物理マシンに起動しないように、前記複数の物理マシンのうちいずれかの物理マシンに、起動要求に応じた仮想マシンを起動させるステップと、
を実行させる仮想マシン配置プログラム。 Processing that indicates a type of hardware processing that has a high processing load when the virtual machine is activated in any one of the plurality of physical machines in response to the transmitted virtual machine activation request. In the computer of the virtual machine placement apparatus having a processing characteristic storage unit in which characteristics are stored,
Receiving the activation request;
When the activation request is received, the processing characteristic is read from the processing characteristic storage unit, and any one of the plurality of physical machines is configured so that a plurality of virtual machines having a high processing load of the same type do not start on the same physical machine. Starting a virtual machine in response to the start request on the physical machine,
Virtual machine placement program that executes
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011061013A JP5501276B2 (en) | 2011-03-18 | 2011-03-18 | Virtual machine placement apparatus, virtual machine placement method, virtual machine placement program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011061013A JP5501276B2 (en) | 2011-03-18 | 2011-03-18 | Virtual machine placement apparatus, virtual machine placement method, virtual machine placement program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2012198631A true JP2012198631A (en) | 2012-10-18 |
JP5501276B2 JP5501276B2 (en) | 2014-05-21 |
Family
ID=47180812
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011061013A Active JP5501276B2 (en) | 2011-03-18 | 2011-03-18 | Virtual machine placement apparatus, virtual machine placement method, virtual machine placement program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5501276B2 (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104038357A (en) * | 2013-03-05 | 2014-09-10 | 杭州华三通信技术有限公司 | Virtual machine positioning method and device in layer-2 network interconnection environment |
JP2016506107A (en) * | 2012-11-22 | 2016-02-25 | 華為技術有限公司Huawei Technologies Co.,Ltd. | Management control method, apparatus and system for virtual machine |
JP2016133964A (en) * | 2015-01-19 | 2016-07-25 | 株式会社日立製作所 | Computation resource allocation method and system |
JP2016526734A (en) * | 2013-07-01 | 2016-09-05 | アマゾン・テクノロジーズ、インコーポレイテッド | Cryptographically guaranteed resource hosting the virtual machine |
US9569245B2 (en) | 2014-03-31 | 2017-02-14 | Fujitsu Limited | System and method for controlling virtual-machine migrations based on processor usage rates and traffic amounts |
JP2018022520A (en) * | 2013-05-21 | 2018-02-08 | アマゾン・テクノロジーズ・インコーポレーテッド | Determination and monitoring performance of computer resource service |
JP2019133291A (en) * | 2018-01-30 | 2019-08-08 | 富士通株式会社 | Information processing apparatus, information processing system and control program |
WO2020130797A1 (en) * | 2018-12-21 | 2020-06-25 | Mimos Berhad | Method of preparing virtual machine, method of managing downloading and uploading files at virtual machine and system therefor |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10161987A (en) * | 1996-11-27 | 1998-06-19 | Toshiba Corp | Method and system for load distribution of computer system |
JP2005174087A (en) * | 2003-12-12 | 2005-06-30 | Nomura Research Institute Ltd | Distributed processing system |
JP2010117760A (en) * | 2008-11-11 | 2010-05-27 | Hitachi Ltd | Virtual machine movement management server and virtual machine movement method |
JP2010205209A (en) * | 2009-03-06 | 2010-09-16 | Hitachi Ltd | Management computer, computer system, and physical resource allocating method |
JP2011028328A (en) * | 2009-07-21 | 2011-02-10 | Toshiba Corp | Virtual machine arrangement program and device |
JP2011028547A (en) * | 2009-07-27 | 2011-02-10 | Ntt Data Corp | Virtual machine starting terminal and virtual machine starting program |
-
2011
- 2011-03-18 JP JP2011061013A patent/JP5501276B2/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10161987A (en) * | 1996-11-27 | 1998-06-19 | Toshiba Corp | Method and system for load distribution of computer system |
JP2005174087A (en) * | 2003-12-12 | 2005-06-30 | Nomura Research Institute Ltd | Distributed processing system |
JP2010117760A (en) * | 2008-11-11 | 2010-05-27 | Hitachi Ltd | Virtual machine movement management server and virtual machine movement method |
JP2010205209A (en) * | 2009-03-06 | 2010-09-16 | Hitachi Ltd | Management computer, computer system, and physical resource allocating method |
JP2011028328A (en) * | 2009-07-21 | 2011-02-10 | Toshiba Corp | Virtual machine arrangement program and device |
JP2011028547A (en) * | 2009-07-27 | 2011-02-10 | Ntt Data Corp | Virtual machine starting terminal and virtual machine starting program |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2016506107A (en) * | 2012-11-22 | 2016-02-25 | 華為技術有限公司Huawei Technologies Co.,Ltd. | Management control method, apparatus and system for virtual machine |
US9698988B2 (en) | 2012-11-22 | 2017-07-04 | Huawei Technologies Co., Ltd. | Management control method, apparatus, and system for virtual machine |
CN104038357A (en) * | 2013-03-05 | 2014-09-10 | 杭州华三通信技术有限公司 | Virtual machine positioning method and device in layer-2 network interconnection environment |
JP2018022520A (en) * | 2013-05-21 | 2018-02-08 | アマゾン・テクノロジーズ・インコーポレーテッド | Determination and monitoring performance of computer resource service |
JP2016526734A (en) * | 2013-07-01 | 2016-09-05 | アマゾン・テクノロジーズ、インコーポレイテッド | Cryptographically guaranteed resource hosting the virtual machine |
US9569245B2 (en) | 2014-03-31 | 2017-02-14 | Fujitsu Limited | System and method for controlling virtual-machine migrations based on processor usage rates and traffic amounts |
JP2016133964A (en) * | 2015-01-19 | 2016-07-25 | 株式会社日立製作所 | Computation resource allocation method and system |
JP2019133291A (en) * | 2018-01-30 | 2019-08-08 | 富士通株式会社 | Information processing apparatus, information processing system and control program |
JP7003692B2 (en) | 2018-01-30 | 2022-01-20 | 富士通株式会社 | Information processing equipment, information processing system and control program |
WO2020130797A1 (en) * | 2018-12-21 | 2020-06-25 | Mimos Berhad | Method of preparing virtual machine, method of managing downloading and uploading files at virtual machine and system therefor |
Also Published As
Publication number | Publication date |
---|---|
JP5501276B2 (en) | 2014-05-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5501276B2 (en) | Virtual machine placement apparatus, virtual machine placement method, virtual machine placement program | |
US10657061B1 (en) | Resource distribution using attributes of versioned hash rings | |
WO2017107018A1 (en) | Method, device, and system for discovering the relationship of applied topology | |
KR101373461B1 (en) | Terminal and method for using cloud sevices | |
JP5530759B2 (en) | Resource linkage system and resource linkage method | |
JP4677813B2 (en) | Server performance measurement method, server performance measurement system, and computer program used therefor | |
KR20170110708A (en) | Opportunistic Resource Migration for Resource Deployment Optimization | |
JP4811830B1 (en) | Computer resource control system | |
JP5585140B2 (en) | Virtual computer system management program, management apparatus, and management method | |
TW201020756A (en) | Power optimization via virtualization opportunity | |
JP2014186652A (en) | Data transfer device, data transfer system, data transfer method and program | |
JP2010157124A5 (en) | Data storage device, system, and control method | |
JP2012069056A (en) | Cloud service relocation system and method, and program | |
WO2012053393A1 (en) | Method and device for deploying virtual computers | |
JPWO2018131556A1 (en) | Resource setting control device, resource setting control system, resource setting control method, and resource setting control program | |
US8700572B2 (en) | Storage system and method for controlling storage system | |
JP2008123303A (en) | Information processor, information processing method, and program | |
JP2011243162A (en) | Quantity control device, quantity control method and quantity control program | |
JP2011238073A (en) | Server group integrated management system | |
US9769007B1 (en) | Passive data protection system migration | |
JP2014513344A (en) | Method and apparatus for moving a software object in the background | |
CN111159789A (en) | Method, device, equipment and storage medium for monitoring file | |
JP5577283B2 (en) | Virtual machine starting device, virtual machine starting method, virtual machine starting program | |
JP2011186821A (en) | Virtual-environment management system, device, method, and program | |
JP2010026828A (en) | Method for controlling virtual computer |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20130328 |
|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20130515 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20130816 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20140130 |
|
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: 20140212 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20140311 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5501276 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |