JP2014035661A - Virtual machine system and high-speed live migration method thereof - Google Patents

Virtual machine system and high-speed live migration method thereof Download PDF

Info

Publication number
JP2014035661A
JP2014035661A JP2012176811A JP2012176811A JP2014035661A JP 2014035661 A JP2014035661 A JP 2014035661A JP 2012176811 A JP2012176811 A JP 2012176811A JP 2012176811 A JP2012176811 A JP 2012176811A JP 2014035661 A JP2014035661 A JP 2014035661A
Authority
JP
Japan
Prior art keywords
bandwidth
virtual machine
traffic
physical host
migration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2012176811A
Other languages
Japanese (ja)
Other versions
JP5758358B2 (en
Inventor
Konomi Mochizuki
このみ 望月
Yasushi Yamazaki
裕史 山崎
Takashi Kurimoto
崇 栗本
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 JP2012176811A priority Critical patent/JP5758358B2/en
Publication of JP2014035661A publication Critical patent/JP2014035661A/en
Application granted granted Critical
Publication of JP5758358B2 publication Critical patent/JP5758358B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To perform high-speed live migration capable ensuring an enough band necessary for memory copy, when performing the migration of a virtual machine between physical hosts.SOLUTION: A VM management server 16 which performs the management of a virtual machine is provided, and a management device 20 is provided in order to limit a band of each stream of traffic in a network during execution of live migration. The management device 20 calculates a band necessary for the live migration and determines whether or not there is a free band larger than the band on the basis of information based on a result of monitoring the traffic in the network and information based on a result of monitoring a state of the virtual machine when the VM management server 16 decides on the execution of the live migration, and decides a band control method and performs band control settings to a switch or a physical host in the network when the free band is not sufficient.

Description

本発明は、仮想マシン技術に関し、特に、複数の物理ホストを有して仮想マシンの動作を停止させることなく物理ホスト間で仮想マシンの移動を行うライブマイグレーションを可能にした仮想マシンシステムと、そのライブマイグレーション方法とに関する。   The present invention relates to a virtual machine technology, and in particular, a virtual machine system that has a plurality of physical hosts and enables live migration that moves a virtual machine between physical hosts without stopping the operation of the virtual machine, and its Related to live migration method.

負荷の最適配置や省電力化などを目的として、仮想マシン技術が注目されている。仮想マシン(VM:Virtual Machine)は、コンピュータの動作をエミュレートするソフトウェアによって実現されるものであり、仮想マシン技術を用いることによって、1台の物理ホスト(物理的な実体としてのコンピュータ)上で、異なるオペレーティングシステム(OS:Operating System)を動作させてそのOS上で各種のアプリケーションソフトウェア(APL)を実行させたり、あるいは、本来ならば異なるコンピュータアーキテクチャ環境で動作するソフトウェアを実行させたりすることができる。仮想マシン技術は、例えば、データセンタなどで広く用いられている。   Virtual machine technology is attracting attention for the purpose of optimal load arrangement and power saving. A virtual machine (VM) is realized by software that emulates the operation of a computer, and on a single physical host (computer as a physical entity) by using virtual machine technology. A different operating system (OS) may be operated to execute various application software (APL) on the OS, or software that originally operates in a different computer architecture environment may be executed. it can. Virtual machine technology is widely used in data centers, for example.

また、ネットワークに接続された異なる物理ホスト間で、仮想マシンの動作を止めずにOSごとその仮想マシンを移動させる「ライブマイグレーション技術」がある。ライブマイグレーションは、ネットワークを介して、仮想マシンのメモリ情報のコピーを移行先の物理ホストに送信することで実現している。このライブマイグレーション技術により、例えばある物理ホストが高負荷になった際に、当該物理ホスト上で動作している仮想マシンを他の物理ホストに移動させることによって、高負荷状態を解消することができる。   In addition, there is a “live migration technology” that moves a virtual machine for each OS between different physical hosts connected to a network without stopping the operation of the virtual machine. Live migration is realized by sending a copy of memory information of a virtual machine to a migration destination physical host via a network. With this live migration technology, for example, when a physical host is heavily loaded, the virtual machine running on the physical host can be moved to another physical host to eliminate the high load state. .

図1は、仮想マシンのライブマイグレーションを説明する図である。移行元の物理ホスト11と移行先の物理ホスト12とは、ネットワーク13で接続しており、また共有ストレージ14を共有している。各物理ホスト11,12では、それぞれ、仮想化ソフトウェア15が動作しており、仮想化ソフトウェア15によって物理ホスト11,12上に仮想マシンVMが実現されている。仮想マシンVMでは、オペレーティングシステムOSとアプリケーションソフトウェアAPLが実行されている。ライブマイグレーションは、移行元の物理ホスト11から移行先の物理ホスト12へのネットワーク13を介したメモリコピーによって達成される。   FIG. 1 is a diagram for explaining live migration of a virtual machine. The migration source physical host 11 and the migration destination physical host 12 are connected by a network 13 and share a shared storage 14. In each physical host 11, 12, the virtualization software 15 is operating, and a virtual machine VM is realized on the physical hosts 11, 12 by the virtualization software 15. In the virtual machine VM, an operating system OS and application software APL are executed. Live migration is achieved by memory copy from the migration source physical host 11 to the migration destination physical host 12 via the network 13.

非特許文献1には、仮想マシンを管理するVM管理サーバを物理ホストとは別個に設け、物理ホスト上で動作している仮想マシンに対し、VM管理サーバがライブマイグレーションの実行指示を与えると、仮想マシンの動作を継続したまま、移行元の物理ホストと移行先の物理ホストとの間のネットワークを通じて、メモリ情報の送信を行うことが開示されている。送信中に発生するメモリ差分情報が決められた量まで少なくなると、移行元の物理ホストの仮想マシンを一旦停止し、移行先の物理ホストで、仮想マシンを立ち上げる。これによって、仮想マシンのライブマイグレーションを実現している。図2は、ライブマイグレーションに要する時間を説明する図である。ライブマイグレーションのためにメモリコピーを行う場合、メモリコピーを行っている間においても移行元の物理ホスト上の仮想マシンではメモリ情報が変化する。そこで、移行元の物理ホストでの仮想マシンの全メモリ領域に相当するメモリコピーを実行したのち、そのメモリコピーの間に変化したメモリ情報に関する差分をコピーして移行先の物理ホストに送信する必要がある。この差分コピーの間にもメモリ状態は変化するから、さらにその間の差分をコピーする必要がある。このように、メモリコピーと何回かの差分コピーを実行してメモリ差分情報が上記の量にまで小さくなると(ここまでに要する時間をマイグレーション時間と呼ぶ)、移行元で仮想マシン(VM)を停止し、最後に残った差分をコピーし、その後、移行先で仮想マシンを立ち上げ、仮想マシンによる処理を再開する。ここでの移行元での仮想マシンの停止から移行先での仮想マシンの再開までに要する時間をダウンタイムと呼ぶ。ライブマイグレーションの全体の要する時間(総マイグレーション時間)は、マイグレーション時間とダウンタイムとの和で表される。   In Non-Patent Document 1, when a VM management server that manages a virtual machine is provided separately from a physical host, and the VM management server gives an execution instruction for live migration to a virtual machine operating on the physical host, It is disclosed that memory information is transmitted through a network between a migration source physical host and a migration destination physical host while the operation of the virtual machine is continued. When the memory difference information generated during transmission decreases to a predetermined amount, the virtual machine of the migration source physical host is temporarily stopped and the virtual machine is started up on the migration destination physical host. This realizes live migration of virtual machines. FIG. 2 is a diagram for explaining the time required for live migration. When performing memory copy for live migration, the memory information changes in the virtual machine on the migration source physical host even during the memory copy. Therefore, after executing a memory copy corresponding to the entire memory area of the virtual machine on the migration source physical host, it is necessary to copy the difference regarding the memory information changed during the memory copy and send it to the migration destination physical host. There is. Since the memory state also changes during this differential copy, it is necessary to copy the difference between them. As described above, when the memory copy and the difference copy are executed several times and the memory difference information is reduced to the above amount (the time required up to this point is called the migration time), the virtual machine (VM) is transferred to the migration source. Stop and copy the last remaining difference, then start up the virtual machine at the migration destination and resume processing by the virtual machine. Here, the time required from the stop of the virtual machine at the migration source to the restart of the virtual machine at the migration destination is referred to as downtime. The total time required for live migration (total migration time) is represented by the sum of migration time and downtime.

ところで、仮想マシン環境を構成するネットワークには、仮想マシンのライブマイグレーション用のネットワークの他にも、共有ストレージアクセスのためのSAN(ストレージエリアネットワーク:Storage Area Network)、予備系の仮想マシンとの同期をとるためのフォールトトレランス(fault tolerance)用ネットワーク、VM管理サーバとの通信のためのネットワーク、WAN(広域ネットワーク:Wide Area Network)と接続するネットワークなど、さまざまなネットワークが必要である。図3は、仮想マシンとネットワーク環境の一例を示している。インタフェース数の制限やコストの面などから全てのネットワークを物理的に分離することは非効率であり、物理リンクをこれらのネットワークで共用し仮想ローカルエリアネットワーク(VLAN:Virtual Local Area Network)技術などにより論理的にネットワークを分けることで、効率よくリソースを使用することができる。ただし、仮想マシンのライブマイグレーションの実行時において、移行元の物理ホストと移行先の物理ホストの間のネットワークには、仮想マシンのライブマイグレーション用のメモリ情報以外にも、さまざまなトラフィックが流れている可能性がある。   By the way, in addition to a network for live migration of virtual machines, the network constituting the virtual machine environment includes a SAN (Storage Area Network) for shared storage access and synchronization with a standby virtual machine. Various networks are required, such as a network for fault tolerance, a network for communication with the VM management server, and a network connected to a WAN (Wide Area Network). FIG. 3 shows an example of a virtual machine and a network environment. It is inefficient to physically separate all networks due to the limitation of the number of interfaces and cost, etc., and physical links are shared by these networks and virtual local area network (VLAN) technology is used. By dividing the network logically, resources can be used efficiently. However, when performing virtual machine live migration, various traffic flows through the network between the migration source physical host and the migration destination physical host, in addition to the memory information for virtual machine live migration. there is a possibility.

図4は、ライブマイグレーションの実行時に想定されるネットワークトラフィックの一例を示す図である。図4では、複数の物理ホストがネットワークで接続されている仮想マシンシステムが示されており、ここでは、それぞれ物理ホストであるホスト#1〜ホスト#3がスイッチ(SW)#1に接続し、同様に、ホスト#4〜ホスト#6がスイッチ#2に接続している。スイッチ#1及びスイッチ#2は、さらに、ルータを介してパケット転送網にも接続している。スイッチ#1には、さらに、共有ストレージ14と、VM管理サーバ16も接続している。ここで、ホスト#3は、予備系の仮想マシン(VM)のためのものであるとし、ホスト#1からホスト#2に仮想マシンVM1をライブマイグレーションする場合を考える。このとき、ホスト#1と共有ストレージ14の間には共有ストレージアクセスのトラフィックが発生し、ホスト#1とパケット転送網の間にはユーザトラフィックが発生し、ホスト#1とホスト#3との間にはフォールトトレランス同期情報のトラフィックが発生しており、これらのトラフィックによって、ホスト#1とスイッチ#1との間の物理リンクの帯域が消費されて、ホスト#1とホスト#2との間でのライブマイグレーションのためのメモリコピー用帯域が小さくなる。ライブマイグレーションのために使用できる帯域が十分に確保できないと、メモリコピーに時間がかかってライブマイグレーション完了までに時間がかかるようになったり、メモリ差分情報がなかなか小さくならずにマイグレーション失敗となったりする可能性がある。   FIG. 4 is a diagram illustrating an example of network traffic assumed when live migration is executed. FIG. 4 shows a virtual machine system in which a plurality of physical hosts are connected via a network. Here, host # 1 to host # 3, which are physical hosts, are connected to a switch (SW) # 1, Similarly, host # 4 to host # 6 are connected to switch # 2. Switch # 1 and switch # 2 are further connected to a packet transfer network via a router. Further, the shared storage 14 and the VM management server 16 are also connected to the switch # 1. Here, it is assumed that the host # 3 is for a standby virtual machine (VM), and the virtual machine VM1 is live migrated from the host # 1 to the host # 2. At this time, shared storage access traffic is generated between the host # 1 and the shared storage 14, user traffic is generated between the host # 1 and the packet transfer network, and between the host # 1 and the host # 3. Traffic of fault tolerance synchronization information is generated in this, and the bandwidth of the physical link between the host # 1 and the switch # 1 is consumed by these traffics, and between the host # 1 and the host # 2 The memory copy bandwidth for live migration is reduced. If sufficient bandwidth that can be used for live migration cannot be secured, it will take time to complete memory migration, and it will take time to complete live migration, or the memory difference information will not become too small and migration will fail. there is a possibility.

“VMware vSphereTM vSphere vMotionTM:ダウンタイムなしで仮想マシンを移行”、[online]、[2012年6月7日検索]、インターネット〈http://www.vmware.com/jp/products/datacenter-virtualization/vsphere/vmotion/overview.html〉“VMware vSphereTM vSphere vMotionTM: Migrate Virtual Machines Without Downtime”, [online], [Search June 7, 2012], Internet <http://www.vmware.com/en/products/datacenter-virtualization/ vsphere / vmotion / overview.html>

上述したように、従来のネットワーク環境において仮想マシンのライブマイグレーションを行おうとする場合、ネットワークでの他のトラフィックの影響によりメモリコピー用に十分な帯域が確保できなくなり、ライブマイグレーションに時間がかかったりライブマイグレーションの失敗などが起きたりする。   As described above, when performing live migration of a virtual machine in a conventional network environment, sufficient bandwidth for memory copy cannot be secured due to the influence of other traffic on the network, and it takes time for live migration. A migration failure may occur.

本発明の目的は、ライブマイグレーションのメモリコピーに必要な帯域を十分に確保できて高速でライブマイグレーションを行うことができる仮想マシンシステムと、そのような仮想マシンシステムにおけるライブマイグレーション方法とを提供することにある。   An object of the present invention is to provide a virtual machine system capable of sufficiently securing a bandwidth necessary for memory copy of live migration and performing live migration at high speed, and a live migration method in such a virtual machine system. It is in.

本発明の仮想マシンシステムは、複数の物理ホストと物理ホスト間を接続するネットワークと仮想マシンを管理するVM管理サーバとを有し、各物理ホスト上で仮想マシンが動作可能な仮想マシンシステムであって、物理ホストまたはネットワークに組み込まれてトラフィックを特定して監視するトラフィック監視手段と、物理ホストまたはネットワークに組み込まれてトラフィックの帯域制御を行う帯域制御手段と、物理ホストまたはVM管理サーバに組み込まれて仮想マシンの状態に関する情報を収集するVM状態監視手段と、VM管理サーバが移行元の物理ホストから移行先の物理ホストへの仮想マシンのライブマイグレーションの実施を決定したときに、トラフィック監視手段及びVM状態監視手段から情報を収集し、収集した情報に基づいてライブマイグレーションの実施に必要な帯域を求め、移行元の物理ホストから移行先の物理ホストまでのリンクの空き帯域が必要な帯域を上回っているかを判定し、空き帯域が不足する場合に帯域制御方法を決定して帯域制御方法に基づいて帯域制御手段にリンクにおけるトラフィックの帯域制御を設定する管理装置と、を有する。   The virtual machine system of the present invention is a virtual machine system having a network connecting a plurality of physical hosts and a physical host and a VM management server for managing the virtual machines and capable of operating virtual machines on each physical host. Built in a physical host or network to identify and monitor traffic, a bandwidth control means incorporated in a physical host or network to control traffic bandwidth, and incorporated in a physical host or VM management server. A VM status monitoring unit that collects information on the status of the virtual machine, and a traffic monitoring unit when the VM management server determines to perform live migration of the virtual machine from the migration source physical host to the migration destination physical host; Information collected from VM status monitoring means Based on this, the bandwidth required for performing live migration is determined, and it is determined whether the available bandwidth of the link from the migration source physical host to the migration destination physical host exceeds the required bandwidth. And a management device that determines a control method and sets bandwidth control of traffic on the link in the bandwidth control unit based on the bandwidth control method.

本発明のライブマイグレーション方法は、複数の物理ホストと物理ホスト間を接続するネットワークと仮想マシンを管理するVM管理サーバとを有し各物理ホスト上で仮想マシンが動作可能な仮想マシンシステムにおける、移行元の物理ホストから移行先の物理ホストへの仮想マシンのライブマイグレーションを行う方法であって、VM管理サーバがライブマイグレーションの実施を決定したときに、移行元の物理ホストから移行先の物理ホストまでのリンクにおけるトラフィックの状態に関する情報を収集する段階と、仮想マシンの状態に関する情報を収集する段階と、トラフィックの状態に関する情報と仮想マシンの状態に関する情報とに基づいてライブマイグレーションの実施に必要な帯域を求める段階と、リンクの空き帯域が必要な帯域を上回っているかを判定して空き帯域が不足する場合に帯域制御方法を決定する段階と、帯域制御方法に基づいてリンクにおけるトラフィックの帯域制御を物理ホストまたはネットワークに組み込まれた帯域制御手段に設定する段階と、を有する。   The live migration method of the present invention provides a migration in a virtual machine system having a network connecting a plurality of physical hosts and a physical host and a VM management server for managing the virtual machine and capable of operating the virtual machine on each physical host. A method for live migration of a virtual machine from an original physical host to a migration destination physical host, from the migration source physical host to the migration destination physical host when the VM management server decides to perform live migration. The amount of bandwidth required to perform live migration based on the stage of collecting information about the traffic state on the link, the stage of collecting information about the virtual machine state, and the information about the traffic state and the virtual machine state. And a free link bandwidth is required. Determining the bandwidth control method when there is a shortage of available bandwidth by judging whether the bandwidth exceeds the bandwidth, and bandwidth control of traffic on the link based on the bandwidth control method to the bandwidth control means incorporated in the physical host or network Setting.

本発明では、ライブマイグレーションの実施を決定したときに、トラフィックの状態や仮想マシンの状態に応じてトラフィックの帯域制御が必要かどうかを判定し、必要である場合には帯域制御を行うことにより、ライブマイグレーションのメモリコピーに必要な帯域を確保する。したがって本発明によれば、メモリコピーに必要な帯域が確保されるので、高速ライブマイグレーションを実現でき、これによって、例えば、物理ホストの過負荷状態解消のためにライブマイグレーションを実施する場合には、過負荷状態を素早く解消することが可能となる。また、メモリコピー用の帯域が狭いことによるライブマイグレーション失敗を防ぐことが可能となる。   In the present invention, when it is decided to perform live migration, it is determined whether traffic bandwidth control is necessary according to the traffic state or virtual machine state, and if necessary, by performing bandwidth control, Secure the bandwidth required for live migration memory copy. Therefore, according to the present invention, the bandwidth necessary for memory copy is ensured, so that high-speed live migration can be realized. For example, when performing live migration to eliminate an overload state of a physical host, It is possible to quickly eliminate the overload condition. In addition, it is possible to prevent live migration failure due to a narrow band for memory copy.

仮想マシン(VM)のライブマイグレーションを説明する図である。It is a figure explaining the live migration of a virtual machine (VM). ライブマイグレーションに必要な時間を説明する図である。It is a figure explaining time required for live migration. 仮想マシンとネットワーク環境の一例を示す図である。It is a figure which shows an example of a virtual machine and a network environment. ライブマイグレーションの実行時に想定されるネットワークトラフィックの一例を示す図である。It is a figure which shows an example of the network traffic assumed at the time of execution of live migration. 本発明の実施の一形態の仮想マシンシステムにおける高速ライブマイグレーションを説明するブロック図である。It is a block diagram explaining the high-speed live migration in the virtual machine system of one embodiment of this invention. 管理装置の構成の一例を示すブロック図である。It is a block diagram which shows an example of a structure of a management apparatus. 仮想マシンシステムの第1の例(機能構成A)を示すブロック図である。It is a block diagram which shows the 1st example (functional structure A) of a virtual machine system. 仮想マシンシステムの第2の例(機能構成B)を示すブロック図である。It is a block diagram which shows the 2nd example (functional structure B) of a virtual machine system. 仮想マシンシステムの第3の例(機能構成C)を示すブロック図である。It is a block diagram which shows the 3rd example (functional structure C) of a virtual machine system. 仮想マシンシステムの第4の例(機能構成D)を示すブロック図である。It is a block diagram which shows the 4th example (functional structure D) of a virtual machine system. 仮想マシンシステムの第5の例(機能構成E)を示すブロック図である。It is a block diagram which shows the 5th example (functional structure E) of a virtual machine system. 仮想マシンシステムの第6の例(機能構成F)を示すブロック図である。It is a block diagram which shows the 6th example (functional structure F) of a virtual machine system. 帯域制御決定方法の第1の例を示すフローチャートである。It is a flowchart which shows the 1st example of the band control determination method. 帯域制御決定方法の第2の例を示すフローチャートである。It is a flowchart which shows the 2nd example of the band control determination method. 帯域制御決定方法の第3の例を示すフローチャートである。It is a flowchart which shows the 3rd example of the band control determination method. 実施例1の構成を示すブロック図である。1 is a block diagram illustrating a configuration of Example 1. FIG. 実施例1での動作を示すシーケンス図である。FIG. 6 is a sequence diagram illustrating an operation in the first embodiment. 実施例2の構成を示すブロック図である。6 is a block diagram illustrating a configuration of Example 2. FIG. 実施例2での動作を示すシーケンス図である。FIG. 10 is a sequence diagram illustrating an operation in the second embodiment.

次に、本発明を実施するための形態について、図面を参照して説明する。図5は、本発明の実施の一形態の仮想マシンシステムにおけるライブマイグレーションを説明する図である。   Next, modes for carrying out the present invention will be described with reference to the drawings. FIG. 5 is a diagram illustrating live migration in the virtual machine system according to the embodiment of this invention.

図5に示した仮想マシンシステムは、図4に示したものと同様に、複数の物理ホスト(ここではホスト#1〜ホスト#6)がネットワークによって接続された構成を有している。ホスト#1〜ホスト#3がスイッチ(SW)#1に接続し、同様に、ホスト#4〜ホスト#6がスイッチ#2に接続している。スイッチ#1及びスイッチ#2は、さらに、ルータを介してパケット転送網にも接続している。スイッチ#1には、共有ストレージ14と、仮想マシンの管理を行うVM管理サーバ16も接続している。さらにこの仮想マシンシステムでは、ライブマイグレーションの実行時にネットワーク内の各トラフィックの帯域を制限するために、管理装置20が設けられている。管理装置20は、ライブマイグレーションを実行する同一グループの物理ホスト及びVM管理サーバ16に接続する。管理装置20からの接続は直接接続である必要はなく、ネットワーク上の到達性があればよい。したがって図示したものでは、管理装置20は、VM管理サーバ16とスイッチ#1とスイッチ#2とに対して直接接続している。   The virtual machine system shown in FIG. 5 has a configuration in which a plurality of physical hosts (here, host # 1 to host # 6) are connected by a network, similar to the one shown in FIG. Host # 1 to host # 3 are connected to switch (SW) # 1, and similarly, host # 4 to host # 6 are connected to switch # 2. Switch # 1 and switch # 2 are further connected to a packet transfer network via a router. A shared storage 14 and a VM management server 16 that manages virtual machines are also connected to the switch # 1. Further, in this virtual machine system, a management device 20 is provided in order to limit the bandwidth of each traffic in the network when performing live migration. The management apparatus 20 is connected to the physical host and the VM management server 16 in the same group that executes live migration. The connection from the management apparatus 20 does not need to be a direct connection, but only has reachability on the network. Therefore, in the illustrated example, the management apparatus 20 is directly connected to the VM management server 16, the switch # 1, and the switch # 2.

本実施形態では、各物理ホストまたは複数の物理ホストを束ねるスイッチに、トラフィック監視機能と帯域制御機能とが実装されている。トラフィック監視機能は、仮想マシンのライブマイグレーションを実行する物理ホスト間を流れるトラフィックを特定する機能、具体的にはライブマイグレーションを実行する物理ホスト間のリンクを流れるトラフィックの種別や帯域を監視する機能である。帯域制御機能は、管理装置20から指示された通りにトラフィックの帯域制御を行う機能である。また、各物理ホストまたはVM管理サーバ16に、物理ホストの負荷状況、各仮想マシンのCPU使用率やメモリ利用率、アプリケーションの動作状態などを監視してそれらに関する情報を収集するVM状態監視機能が実装されている。本実施形態では、VM管理サーバ16がある物理ホスト上の仮想マシンを他の物理ホストにライブマイグレーションすることを決定すると、VM管理サーバ16はその旨を管理装置20に伝え、管理装置20は、トラフィック監視機能やVM状態監視機能から、移行元の物理ホストと移行先の物理ホストとの間のリンクを流れるトラフィック量や仮想マシンの動作状況等を取得し、帯域制御方法を決定し、その結果を帯域制御機能に対して設定する。ここでいう帯域制御方法とは、どのようなタイプの帯域制御(例えば、単に転送速度を制限するのか、シェーピングを行うのか、仮想マシンからの出力の停止を行うのか、など)を行うのかを示している。   In this embodiment, a traffic monitoring function and a bandwidth control function are implemented in a switch that bundles each physical host or a plurality of physical hosts. The traffic monitoring function is a function that identifies the traffic that flows between physical hosts that perform live migration of virtual machines, specifically, the function that monitors the type and bandwidth of traffic that flows through the link between physical hosts that perform live migration. is there. The bandwidth control function is a function for performing traffic bandwidth control as instructed by the management apparatus 20. In addition, each physical host or VM management server 16 has a VM status monitoring function that monitors the load status of the physical host, the CPU usage rate and the memory usage rate of each virtual machine, the operation status of the application, and collects information related thereto. Has been implemented. In this embodiment, when the VM management server 16 decides to live migrate a virtual machine on a physical host to another physical host, the VM management server 16 informs the management device 20 to that effect. From the traffic monitoring function and VM status monitoring function, obtain the amount of traffic flowing through the link between the migration source physical host and the migration destination physical host, the operating status of the virtual machine, etc., and determine the bandwidth control method. Is set for the bandwidth control function. The bandwidth control method here refers to what type of bandwidth control (for example, whether to simply limit the transfer speed, perform shaping, or stop output from the virtual machine, etc.) ing.

このような帯域制御を行うことより、本実施形態では、ライブマイグレーションのメモリコピーに必要な帯域を確保することが可能となって高速ライブマイグレーションを実現できる。これによって、例えば、物理ホストの過負荷状態解消のためにライブマイグレーションを実施する場合には、過負荷状態を素早く解消することが可能となる。また、メモリコピー用の帯域が狭いことによるライブマイグレーション失敗を防ぐことが可能となる。   By performing such bandwidth control, according to the present embodiment, it is possible to secure a bandwidth required for live migration memory copy, thereby realizing high-speed live migration. As a result, for example, when live migration is performed to eliminate an overload condition of a physical host, the overload condition can be quickly resolved. In addition, it is possible to prevent live migration failure due to a narrow band for memory copy.

以下、図5に示した仮想マシンシステムでのライブマイグレーションの実行例を説明する。   Hereinafter, an example of performing live migration in the virtual machine system illustrated in FIG. 5 will be described.

例えば、ホスト#3は、フォールトトレランス構成における予備系として用意されているものとし、ホスト#1上で仮想マシンVM1が稼働しているものとし、図5(a)において[1]に示すように、VM管理サーバ16が、仮想マシンVM1をホスト#1からホスト#2へマイグレーションすることを決定したものとする。マイグレーション開始前の状態において、ホスト#1と共有ストレージ14との間にはスイッチ#1を介して共有ストレージアクセスのトラフィックが存在し、ホスト#1とパケット転送網との間にはスイッチ#1とルータとを介してユーザトラフィックが存在し、ホスト#1とホスト#3をの間にはスイッチ#1を介してフォールトトレランス同期情報のトラフィックが存在する。ライブマイグレーションの開始が決定されると、管理装置20は、ライブマイグレーションでのメモリコピーによって使用されることになるリンクについて、そのリンク上でのトラフィックを制限する。このトラフィックの制限においては、図5(b)において[2]に示すように、管理装置20は、トラフィック監視機能やVM状態監視機能から情報を収集し、帯域制御方法を決定し、決定された方法と帯域値とを物理ホストあるいはスイッチの帯域制御機能に設定する。これにより、図5に示した例では、[3]に示すように、ホスト#1とホスト#2との間の経路を通過する他のトラフィックの帯域が制限されて、ライブマイグレーションのメモリコピーの十分な帯域が確保され、高速ライブマイグレーションが実現することになる。   For example, it is assumed that the host # 3 is prepared as a standby system in the fault tolerance configuration, the virtual machine VM1 is operating on the host # 1, and as shown in [1] in FIG. Assume that the VM management server 16 determines to migrate the virtual machine VM1 from the host # 1 to the host # 2. Before the start of migration, there is shared storage access traffic between the host # 1 and the shared storage 14 via the switch # 1, and the switch # 1 is connected between the host # 1 and the packet transfer network. User traffic exists via the router, and fault tolerance synchronization information traffic exists between the host # 1 and the host # 3 via the switch # 1. When the start of the live migration is determined, the management apparatus 20 restricts traffic on the link to be used by the memory copy in the live migration. In this traffic restriction, as shown in [2] in FIG. 5B, the management device 20 collects information from the traffic monitoring function and the VM state monitoring function, determines the bandwidth control method, and is determined. The method and bandwidth value are set in the bandwidth control function of the physical host or switch. Accordingly, in the example shown in FIG. 5, as shown in [3], the bandwidth of other traffic passing through the path between the host # 1 and the host # 2 is limited, and the memory copy of the live migration is limited. Sufficient bandwidth will be secured and high-speed live migration will be realized.

ここでは、1つの仮想マシンをライブマイグレーションする場合を説明したが、本実施形態に基づく方法は、同時に複数の仮想マシンをライブマイグレーションする際にも適用することができる。また、本実施形態に基づく方法が適用されるネットワークの構成も図5などに示したものに限定されるものではない。   Although the case of live migration of one virtual machine has been described here, the method based on this embodiment can also be applied to live migration of a plurality of virtual machines at the same time. Further, the network configuration to which the method according to the present embodiment is applied is not limited to that shown in FIG.

次に、本実施形態の仮想マシンシステムの具体的な構成例と帯域制御の方法について説明する。以下では、説明を簡単にするために、単一の仮想マシンのライブマイグレーションを行う場合を取り上げる。   Next, a specific configuration example and a bandwidth control method of the virtual machine system of this embodiment will be described. In the following, for the sake of simplicity, the case of live migration of a single virtual machine will be taken up.

まず、管理装置20の構成について説明する。図6は、管理装置20の構成の一例を示している。   First, the configuration of the management device 20 will be described. FIG. 6 shows an example of the configuration of the management apparatus 20.

管理装置20は、ネットワークとのインタフェースとしてパケットを受信するパケット受信部21と、ネットワークとのインタフェースとしてパケットを送信するパケット送信部22と、必要なデータを格納するデータ保存部23と、VM管理サーバ16との通信を行うVM管理サーバ通信部24と、帯域制御に必要となる情報を収集する情報収集部25と、情報収集部25で取得した情報を用いて、定められた時間内に仮想マシンのライブマイグレーションを完了させるための帯域を計算する必要帯域計算部26と、VM管理サーバ通信部24及び情報収集部25で得た情報と必要帯域計算部26で計算された帯域とに基づいて、帯域制御方法を決定し各リンクにおける各トラフィックの帯域を決定する帯域制御決定部27と、帯域制御決定部27で決定された結果に基づき、各物理ホストや仮想マシン、スイッチに対して帯域制御設定を行う帯域制御設定部28と、を備えている。ここでVM管理サーバ通信部24は、VM管理サーバ16との間で、仮想マシンのライブマイグレーションの対象となる仮想マシンの情報や、ライブマイグレーションの開始タイミング、帯域制御設定完了通知等の通信を行う。また、情報収集部25は、スイッチまたは物理ホストに設けられて上述したトラフィック監視機能を実行するトラフィック監視部から、仮想マシンのライブマイグレーションを行う物理ホスト間のリンクを流れるトラフィックの情報を収集し、VM管理サーバ16または物理ホストに設けられて上述したVM状態監視機能を実行するVM状態監視部から、物理ホストの負荷状況、各仮想マシンのCPU使用率やメモリ利用率、アプリケーションの動作状況などを収集する。   The management device 20 includes a packet receiving unit 21 that receives a packet as an interface with a network, a packet transmission unit 22 that transmits a packet as an interface with the network, a data storage unit 23 that stores necessary data, and a VM management server VM management server communication unit 24 that communicates with 16, information collection unit 25 that collects information necessary for bandwidth control, and information acquired by information collection unit 25, a virtual machine within a predetermined time Based on the necessary bandwidth calculation unit 26 for calculating the bandwidth for completing the live migration of VM, the information obtained by the VM management server communication unit 24 and the information collection unit 25, and the bandwidth calculated by the necessary bandwidth calculation unit 26, A bandwidth control determination unit 27 that determines a bandwidth control method and determines a bandwidth of each traffic in each link; Based on the result determined in section 27, and each physical host or a virtual machine, the band control setting unit 28 that performs bandwidth control setting for the switch, the. Here, the VM management server communication unit 24 communicates with the VM management server 16 such as information on a virtual machine that is a target of live migration of the virtual machine, live migration start timing, and notification of completion of bandwidth control setting. . Further, the information collecting unit 25 collects information on traffic flowing through the link between the physical hosts that perform live migration of the virtual machine from the traffic monitoring unit that is provided in the switch or the physical host and executes the traffic monitoring function described above. From the VM status monitoring unit that is provided in the VM management server 16 or the physical host and executes the above-described VM status monitoring function, the load status of the physical host, the CPU usage rate and the memory usage rate of each virtual machine, the operation status of the application, etc. collect.

本実施形態の仮想マシンシステムでは、上述したトラフィック監視機能を実行するトラフィック監視部を各物理ホストに設けるかスイッチに設けるか、上述した帯域制御機能を実行する帯域制御部を各物理ホストに設けるかスイッチに設けるか、そして、上述したVM状態監視機能を実行するVM状態監視部を各物理ホストに設けるかVM管理サーバ16に設けるか、に応じて、複数の機能構成パターンを考えることができる。以下では、1つのスイッチにホスト#1〜ホスト#3とVM管理サーバ16と管理装置20とが接続しており、ホスト#1が仮想マシンの移行元であり、ホスト#2が仮想マシンの移行先であり、ホスト#3は予備系の仮想マシンのものであるとする。スイッチはさらにパケット転送網にも接続している。   In the virtual machine system of this embodiment, whether the traffic monitoring unit that executes the above-described traffic monitoring function is provided in each physical host or switch, or whether the bandwidth control unit that executes the above-described bandwidth control function is provided in each physical host. A plurality of functional configuration patterns can be considered depending on whether the switch is provided and the VM state monitoring unit that executes the above-described VM state monitoring function is provided in each physical host or the VM management server 16. In the following, the host # 1 to the host # 3, the VM management server 16, and the management apparatus 20 are connected to one switch, the host # 1 is the migration source of the virtual machine, and the host # 2 is the migration of the virtual machine It is assumed that the host # 3 belongs to the standby virtual machine. The switch is also connected to a packet transfer network.

機能構成A:
図7は、仮想マシンシステムの機能構成パターンの1つとして、機能構成Aを示している。機能構成Aでは、トラフィック監視部31をスイッチに設け、帯域制御部32もスイッチに設け、各物理ホストには、当該物理ホストの負荷状態と、当該物理ホスト上で動作する各仮想マシンのCPU使用率、メモリ使用率及びアプリケーションの動作状態とを監視するようにVM状態監視部33が設けられている。
Functional configuration A:
FIG. 7 shows a functional configuration A as one of the functional configuration patterns of the virtual machine system. In the functional configuration A, the traffic monitoring unit 31 is provided in the switch, the bandwidth control unit 32 is also provided in the switch, and each physical host has a load state of the physical host and a CPU usage of each virtual machine operating on the physical host. The VM state monitoring unit 33 is provided to monitor the rate, the memory usage rate, and the operation state of the application.

機能構成B:
図8は、仮想マシンシステムの機能構成パターンの1つとして、機能構成Bを示している。機能構成Bでは、トラフィック監視部31をスイッチに設け、帯域制御部32もスイッチに設け、VM状態監視部33をVM管理サーバ16に設けている。この場合、VM状態監視部33は、VM管理サーバ16に設けられているので、各物理ホストの負荷状態と、各物理ホスト上で動作する各仮想マシンのCPU使用率、メモリ使用率及びアプリケーションの動作状態とを監視する。
Functional configuration B:
FIG. 8 shows a functional configuration B as one of the functional configuration patterns of the virtual machine system. In the functional configuration B, the traffic monitoring unit 31 is provided in the switch, the bandwidth control unit 32 is also provided in the switch, and the VM state monitoring unit 33 is provided in the VM management server 16. In this case, since the VM state monitoring unit 33 is provided in the VM management server 16, the load state of each physical host, the CPU usage rate, the memory usage rate, and the application usage rate of each virtual machine operating on each physical host are set. Monitor the operating status.

機能構成C:
図9は、仮想マシンシステムの機能構成パターンの1つとして、機能構成Cを示している。機能構成Cでは、トラフィック監視部31を各物理ホストに設け、帯域制御部32をスイッチに設け、VM状態監視部33を各物理ホストに設けている。VM状態監視部33は、該当する物理ホストの負荷状態と、その物理ホスト上で動作する各仮想マシンのCPU使用率、メモリ使用率及びアプリケーションの動作状態とを監視する。
Functional configuration C:
FIG. 9 shows a functional configuration C as one of the functional configuration patterns of the virtual machine system. In the functional configuration C, the traffic monitoring unit 31 is provided in each physical host, the bandwidth control unit 32 is provided in the switch, and the VM state monitoring unit 33 is provided in each physical host. The VM state monitoring unit 33 monitors the load state of the corresponding physical host, the CPU usage rate, the memory usage rate, and the application operating state of each virtual machine operating on the physical host.

機能構成D:
図10は、仮想マシンシステムの機能構成パターンの1つとして、機能構成Dを示している。機能構成Dでは、各物理ホストごとに、トラフィック監視部31と帯域制御部32とVM状態監視部33とを設けている。VM状態監視部33は、該当する物理ホストの負荷状態と、その物理ホスト上で動作する各仮想マシンのCPU使用率、メモリ使用率及びアプリケーションの動作状態とを監視する。
Functional configuration D:
FIG. 10 shows a functional configuration D as one of the functional configuration patterns of the virtual machine system. In the functional configuration D, a traffic monitoring unit 31, a bandwidth control unit 32, and a VM state monitoring unit 33 are provided for each physical host. The VM state monitoring unit 33 monitors the load state of the corresponding physical host, the CPU usage rate, the memory usage rate, and the application operating state of each virtual machine operating on the physical host.

機能構成E:
図11は、仮想マシンシステムの機能構成パターンの1つとして、機能構成Eを示している。機能構成Eでは、トラフィック監視部31を各物理ホストに設け、帯域制御部32をスイッチに設け、VM状態監視部33をVM管理サーバ16に設けている。この場合、VM状態監視部33は、VM管理サーバ16に設けられているので、各物理ホストの負荷状態と、各物理ホスト上で動作する各仮想マシンのCPU使用率、メモリ使用率及びアプリケーションの動作状態とを監視する。
Functional configuration E:
FIG. 11 shows a functional configuration E as one of the functional configuration patterns of the virtual machine system. In the functional configuration E, the traffic monitoring unit 31 is provided in each physical host, the bandwidth control unit 32 is provided in the switch, and the VM state monitoring unit 33 is provided in the VM management server 16. In this case, since the VM state monitoring unit 33 is provided in the VM management server 16, the load state of each physical host, the CPU usage rate, the memory usage rate, and the application usage rate of each virtual machine operating on each physical host are set. Monitor the operating status.

機能構成F:
図12は、仮想マシンシステムの機能構成パターンの1つとして、機能構成Fを示している。機能構成Fでは、トラフィック監視部31を各物理ホストに設け、帯域制御部32も各物理ホストに設け、VM状態監視部33をVM管理サーバ16に設けている。この場合、VM状態監視部33は、VM管理サーバ16に設けられているので、各物理ホストの負荷状態と、各物理ホスト上で動作する各仮想マシンのCPU使用率、メモリ使用率及びアプリケーションの動作状態とを監視する。
Functional configuration F:
FIG. 12 shows a functional configuration F as one of the functional configuration patterns of the virtual machine system. In the functional configuration F, the traffic monitoring unit 31 is provided in each physical host, the bandwidth control unit 32 is also provided in each physical host, and the VM state monitoring unit 33 is provided in the VM management server 16. In this case, since the VM state monitoring unit 33 is provided in the VM management server 16, the load state of each physical host, the CPU usage rate, the memory usage rate, and the application usage rate of each virtual machine operating on each physical host are set. Monitor the operating status.

次に、管理装置20の必要帯域計算部26における必要帯域の計算について説明する。ここでいう必要帯域とは、定められた時間内に仮想マシンのライブマイグレーションを完了させるために、移行元の物理ホストと移行先の物理ホストとの間のリンクに要求される帯域のことである。   Next, calculation of the required bandwidth in the required bandwidth calculation unit 26 of the management device 20 will be described. The required bandwidth here is the bandwidth required for the link between the migration source physical host and the migration destination physical host in order to complete the live migration of the virtual machine within a predetermined time. .

必要帯域計算部26は、情報収集部25がトラフィック監視部31及びVM状態監視部33から取得した情報に基づいて必要帯域を計算するが、迅速に計算を行うために、例えば、データ保存部23内に予めグラフデータ、数式またはテーブルなどを格納しておき、VM状態監視部33から得られた、マイグレーション対象の仮想マシンのメモリ容量とメモリ利用率とから、予め設定された時間t以内にライブマイグレーションが終了するための必要帯域を計算する。例えば、必要帯域をBとし、Bが、メモリ量m、メモリ利用率u、メモリ書き込み速度W及びメモリコピー時間tの関数で表される場合、数式:B=f(m,u,w,t)がデータ保存部23に格納されている。当該数式に、VM状態監視部33から取得した、メモリ量m、メモリ利用率u及びメモリ書き込み速度wの3つのパラメータと、メモリコピー時間として設定された値tとを代入することで、必要帯域Bを得ることができる。   The necessary bandwidth calculation unit 26 calculates the necessary bandwidth based on the information acquired by the information collecting unit 25 from the traffic monitoring unit 31 and the VM state monitoring unit 33. In order to perform the calculation quickly, for example, the data storage unit 23 In advance, graph data, mathematical formulas, tables, etc. are stored in advance, and live within a preset time t from the memory capacity and memory usage rate of the virtual machine to be migrated obtained from the VM state monitoring unit 33. Calculate the bandwidth required to complete the migration. For example, when the required bandwidth is B and B is expressed as a function of the memory amount m, the memory usage rate u, the memory writing speed W, and the memory copy time t, the formula: B = f (m, u, w, t ) Is stored in the data storage unit 23. By substituting three parameters of the memory amount m, the memory usage rate u, and the memory writing speed w acquired from the VM state monitoring unit 33 and the value t set as the memory copy time, the required bandwidth is obtained. B can be obtained.

ここで説明した必要帯域の計算方法は一例であって、他の方法によって必要帯域を計算するようにしてもよい。   The necessary bandwidth calculation method described here is an example, and the necessary bandwidth may be calculated by other methods.

次に、管理装置20の帯域制御決定部27における帯域制御決定方法について説明する。帯域制御の対象とするトラフィックをどのように定めるかによって、異なる帯域制御決定方法を考えることができる。以下、それぞれの帯域制御決定方法について説明する。   Next, a bandwidth control determination method in the bandwidth control determination unit 27 of the management device 20 will be described. Depending on how the traffic to be subjected to bandwidth control is determined, different bandwidth control determination methods can be considered. Hereinafter, each band control determination method will be described.

帯域制御決定方法(1):
マイグレーションの対象となる仮想マシンに関係するトラフィックだけを考慮して、その仮想マシンに関係するトラフィックのみを帯域制御の対象とする方法が考えられる。これを帯域制御決定方法(1)とする。この帯域制御決定方法は、各物理ホストに帯域制御部32が設けられている場合に適した方法である。図13は、帯域制御決定方法(1)での処理を示している。
Band control determination method (1):
A method can be considered in which only traffic related to a virtual machine to be migrated is considered, and only traffic related to the virtual machine is subjected to bandwidth control. This is the band control determination method (1). This bandwidth control determination method is a method suitable when the bandwidth controller 32 is provided in each physical host. FIG. 13 shows processing in the bandwidth control determination method (1).

帯域制御決定方法(1)では、まず、ステップ111において、必要帯域計算部26から、メモリコピー時間tおよび必要帯域値を取得し、情報収集部25から、VM1(マイグレーション対象の仮想マシン)のトラフィック情報と、この仮想マシンVM1で動作中のアプリケーションの情報と、マイグレーションの移行元の物理ホストと移行先の物理ホストとの間の空き帯域を取得する。次に、ステップ112において、空き帯域が必要帯域を上回っているかどうかを判断する。上回っている場合には、帯域制御を実施する必要がないので、ステップ113において、VM管理サーバ16に対して仮想マシンのライブマイグレーションの開始を依頼して、帯域制御決定処理を終了する。これに対し、ステップ112において空き帯域が必要帯域を上回っていない場合には、ステップ114において制御方法を決定し、その決定結果に基づき、ステップ115において制御方法と制御先(どの物理ホストあるいはスイッチで帯域制御を行うか)を帯域制御設定部28に通知して、帯域制御決定処理を終了する。   In the bandwidth control determination method (1), first, in step 111, the memory copy time t and the required bandwidth value are acquired from the required bandwidth calculation unit 26, and the traffic of the VM1 (migration target virtual machine) from the information collection unit 25 The information, the information of the application running on the virtual machine VM1, and the free bandwidth between the migration source physical host and the migration destination physical host are acquired. Next, in step 112, it is determined whether the free bandwidth exceeds the required bandwidth. If it exceeds the upper limit, it is not necessary to perform bandwidth control. In step 113, the VM management server 16 is requested to start live migration of the virtual machine, and the bandwidth control determination process is terminated. On the other hand, if the available bandwidth does not exceed the required bandwidth in step 112, the control method is determined in step 114, and based on the determination result, the control method and control destination (in which physical host or switch is selected) in step 115. The bandwidth control setting unit 28 is notified of whether or not bandwidth control is to be performed, and the bandwidth control determination process is terminated.

ここで、ステップ114の制御方法の決定では、どのような制御方法を選択するかによって、以下のようなバリエーション(1)−1〜(1)−5がある。これらのバリエーションのうちからどれか一つを選んで用いてもよいし、あるいは、複数を選択して優先順位を設定した上で制御可能なバリエーションを選択してもよい。   Here, in the determination of the control method in step 114, there are the following variations (1) -1 to (1) -5 depending on which control method is selected. Any one of these variations may be selected and used, or a controllable variation may be selected after selecting a plurality and setting priority.

バリエーション(1)−1では、仮想マシンVM1で動作中のアプリケーションの情報から、ユーザトラフィックの入力を一時的に(設定したメモリコピー時間tの間)遮断してよいと判断され、かつ、入力を遮断したことにより生じるホスト間の空き帯域が必要帯域よりも大きい場合に、制御方法として「仮想マシンVM1のユーザトラフィックの入力を時間tだけ遮断する」ことを選択し、制御先として、移行元の物理ホストを選択する。   In variation (1) -1, it is determined from the information of the application running on the virtual machine VM1 that the user traffic input may be temporarily blocked (for the set memory copy time t), and the input is When the free bandwidth between the hosts caused by the blocking is larger than the required bandwidth, select “block the user traffic input of the virtual machine VM1 only for time t” as the control method, and use the migration source as the control destination. Select a physical host.

バリエーション(1)−2では、仮想マシンVM1で動作中のアプリケーションの情報から、ユーザトラフィックの出力を一時的に(設定したメモリコピー時間tの間)停止してよいと判断され、かつ、出力を停止したことにより生じるホスト間の空き帯域が必要帯域よりも大きい場合に、制御方法として「仮想マシンVM1のユーザトラフィックの出力を時間tだけ停止する」ことを選択し、制御先として、移行元の物理ホストを選択する。バリエーション(1)−2では、ユーザトラフィック以外のトラフィックについても同様に帯域制御を行うことが可能である。   In the variation (1) -2, it is determined from the information of the application running on the virtual machine VM1 that the output of the user traffic may be temporarily stopped (for the set memory copy time t), and the output is When the free bandwidth between the hosts caused by the stop is larger than the required bandwidth, the control method is selected to stop the output of the user traffic of the virtual machine VM1 for the time t, and the control destination is the migration source Select a physical host. In variation (1) -2, bandwidth control can be performed in the same manner for traffic other than user traffic.

バリエーション(1)−3では、仮想マシンVM1で動作中のアプリケーションの情報から、ユーザトラフィックの出力を一時的に(設定したメモリコピー時間tの間)、ある帯域値xまでシェーピングしてよいと判断され、かつ、出力を帯域xにシェーピングしたことにより生じるホスト間の空き帯域が必要帯域よりも大きい場合に、制御方法として「仮想マシンVM1のユーザトラフィックの出力の帯域を時間tにわたって値xにシェーピングする」を選択し、制御先として、移行元の物理ホストを選択する。バリエーション(1)−3では、ユーザトラフィック以外のトラフィックについても同様に帯域制御を行うことが可能である。   In variation (1) -3, it is determined from the information of the application running on the virtual machine VM1 that the user traffic output may be temporarily shaped (during the set memory copy time t) to a certain bandwidth value x. If the free bandwidth between hosts generated by shaping the output into the band x is larger than the necessary bandwidth, the control method is to shape the bandwidth of the user traffic output of the virtual machine VM1 into the value x over time t. Select "Yes", and select the migration source physical host as the control destination. In variation (1) -3, it is possible to perform bandwidth control similarly for traffic other than user traffic.

バリエーション(1)−4では、仮想マシンVM1で動作中のアプリケーションの情報から、ユーザトラフィックの出力が、時間t’後に、一時的に(設定したメモリコピー時間tの間)必要帯域分だけ空くと判断され、かつ、t’の間はマイグレーションを待機することが可能であると判断された場合に、制御方法として「仮想マシンのライブマイグレーションを時間t’の経過後に実施する」を選択し、制御先としてVM管理サーバ16を選択する。バリエーション(1)−4は、ライブマイグレーションのメモリコピーと競合するトラフィックの帯域を制御するものであるというよりも、競合するトラフィックの影響が少ない期間にライブマイグレーションの実行をタイムシフトしようとするものである。   In the variation (1) -4, when the output of the user traffic temporarily becomes empty (during the set memory copy time t) after the time t ′, based on the information of the application running on the virtual machine VM1. If it is determined and it is determined that it is possible to wait for migration during t ′, the control method is selected to “perform live migration of virtual machine after time t ′” and control The VM management server 16 is selected as the destination. Variation (1) -4 is intended to time-shift execution of live migration during a period when the influence of competing traffic is small, rather than controlling the bandwidth of traffic competing with the memory copy of live migration. is there.

バリエーション(1)−5では、仮想マシンVM1で動作中のアプリケーションの情報から、その仮想マシンVM1のユーザに対して出力制限依頼を行うことが可能であると判断され、かつ、ユーザが帯域値xに出力制限することにより生じるホスト間の空き帯域が必要帯域よりも大きい場合に、制御方法として「ユーザに、仮想マシンVM1の出力を帯域値xに制限するよう依頼する」を選択し、制御先として移行元の物理ホストを選択する。   In the variation (1) -5, it is determined from the information of the application running on the virtual machine VM1 that it is possible to make an output restriction request to the user of the virtual machine VM1, and the user sets the bandwidth value x When the available bandwidth between the hosts generated by restricting the output to is larger than the required bandwidth, the control method is selected to "request the user to limit the output of the virtual machine VM1 to the bandwidth value x" Select the migration source physical host.

帯域制御決定方法(2):
マイグレーションの対象となる仮想マシンVM1に関係するトラフィックだけでなく、移動元の物理ホストで動作している他の1または複数の仮想マシンを考慮して、帯域制御方法を決定することが考えられる。この場合、帯域制御の対象としても、仮想マシンVM1だけでなく、移動元の物理ホストで動作している他の仮想マシンが含まれることになる。この帯域制御決定方法を帯域制御決定方法(2)とする。この帯域制御決定方法は、各物理ホストに帯域制御部32が設けられている場合に適した方法である。また、上記の帯域制御決定方法(1)の各バリエーションを用いてもメモリコピー帯域を確保できない場合に、この帯域制御決定方法(2)を用いるようにしてもよい。図14は、帯域制御決定方法(2)での処理を示している。
Band control determination method (2):
It is conceivable to determine the bandwidth control method in consideration of not only traffic related to the virtual machine VM1 to be migrated but also one or more other virtual machines operating on the migration source physical host. In this case, the bandwidth control target includes not only the virtual machine VM1 but also other virtual machines operating on the migration source physical host. This bandwidth control determination method is referred to as a bandwidth control determination method (2). This bandwidth control determination method is a method suitable when the bandwidth controller 32 is provided in each physical host. Further, this bandwidth control determination method (2) may be used when the memory copy bandwidth cannot be secured even if each variation of the bandwidth control determination method (1) is used. FIG. 14 shows processing in the bandwidth control determination method (2).

帯域制御決定方法(2)では、まず、ステップ121において、必要帯域計算部26から、メモリコピー時間tおよび必要帯域値を取得し、情報収集部25から、VM1(マイグレーション対象の仮想マシン)と他の仮想マシンとについてのトラフィック情報と、この仮想マシンVM1と他の仮想マシンとで動作中のアプリケーションの情報と、マイグレーションの移行元の物理ホストと移行先の物理ホストとの間の空き帯域を取得する。次に、ステップ122において、空き帯域が必要帯域を上回っているかどうかを判断する。上回っている場合には、帯域制御を実施する必要がないので、ステップ123において、VM管理サーバ16に対して仮想マシンのライブマイグレーションの開始を依頼して、帯域制御決定処理を終了する。これに対し、ステップ122において空き帯域が必要帯域を上回っていない場合には、ステップ124において制御方法を決定し、その決定結果に基づき、ステップ125において制御方法と制御先(どの物理ホストあるいはスイッチで帯域制御を行うか)を帯域制御設定部28に通知して、帯域制御決定処理を終了する。   In the bandwidth control determination method (2), first, in step 121, the memory copy time t and the required bandwidth value are acquired from the required bandwidth calculation unit 26, and VM1 (virtual machine to be migrated) and others are acquired from the information collection unit 25. Traffic information about the virtual machine, information about applications running on this virtual machine VM1 and other virtual machines, and free bandwidth between the migration source physical host and the migration destination physical host To do. Next, in step 122, it is determined whether the free bandwidth exceeds the required bandwidth. If it exceeds the upper limit, it is not necessary to perform bandwidth control. In step 123, the VM management server 16 is requested to start live migration of the virtual machine, and the bandwidth control determination processing is terminated. On the other hand, if the available bandwidth does not exceed the required bandwidth in step 122, the control method is determined in step 124, and based on the determination result, the control method and control destination (in which physical host or switch is selected) in step 125. The bandwidth control setting unit 28 is notified of whether or not bandwidth control is to be performed, and the bandwidth control determination process is terminated.

ここで、ステップ124の制御方法の決定では、どのような制御方法を選択するかによって、以下のようなバリエーション(2)−1〜(2)−5がある。これらのバリエーションのうちからどれか一つを選んで用いてもよいし、あるいは、複数を選択して優先順位を設定した上で制御可能なバリエーションを選択してもよい。   Here, the determination of the control method in step 124 includes the following variations (2) -1 to (2) -5 depending on what control method is selected. Any one of these variations may be selected and used, or a controllable variation may be selected after selecting a plurality and setting priority.

バリエーション(2)−1では、仮想マシンVM1および他の仮想マシンで動作中のアプリケーションの情報から、ユーザトラフィックの入力を一時的に(設定したメモリコピー時間tの間)遮断してよいと判断される仮想マシンがあり、かつ、それらの入力を遮断したことにより生じるホスト間の空き帯域が必要帯域よりも大きい場合に、制御方法として「遮断可の仮想マシンのユーザトラフィックの入力を時間tだけ遮断する」を選択し、制御先として移行元の物理ホストを選択する。   In variation (2) -1, it is determined from the information of applications running on the virtual machine VM1 and other virtual machines that user traffic input may be temporarily blocked (for the set memory copy time t). If the available bandwidth between hosts is larger than the required bandwidth, and the control method is to block the user traffic input of the virtual machine that can be blocked for the time t. Select "Yes", and select the migration source physical host as the control destination.

バリエーション(2)−2では仮想マシンVM1および他の仮想マシンで動作中のアプリケーションの情報から、ユーザトラフィックの出力を一時的に(設定したメモリコピー時間tの間)停止してよいと判断される仮想マシンがあり、かつ、それらの出力を停止したことにより生じるホスト間の空き帯域が必要帯域よりも大きい場合に、制御方法として「出力の停止が可能な仮想マシンのユーザトラフィックの出力を時間tだけ停止する」を選択し、制御先として、移行元の物理ホストを選択する。バリエーション(2)−2では、ユーザトラフィック以外のトラフィックについても同様に帯域制御を行うことが可能である。   In variation (2) -2, it is determined from the information of applications running on the virtual machine VM1 and other virtual machines that the output of user traffic may be temporarily stopped (for the set memory copy time t). When there is a virtual machine and the free bandwidth between the hosts caused by stopping the output of the virtual machine is larger than the required bandwidth, the control method is “output the user traffic of the virtual machine whose output can be stopped for the time t. Select "Stop only", and select the migration source physical host as the control destination. In variation (2) -2, it is possible to perform bandwidth control similarly for traffic other than user traffic.

バリエーション(2)−3では、仮想マシンVM1および他の仮想マシンで動作中のアプリケーションの情報から、ユーザトラフィックの出力を一時的に(設定したメモリコピー時間tの間)、ある帯域値xまでシェーピングしてよいと判断される仮想マシンがあり、かつ、それらの出力を帯域xにシェーピングしたことにより生じるホスト間の空き帯域が必要帯域よりも大きい場合に、制御方法として、「シェーピングが可能な仮想マシンのユーザトラフィックの出力の帯域を時間tにわたって値xにシェーピングする」を選択し、制御先として、移行元の物理ホストを選択する。バリエーション(2)−3では、ユーザトラフィック以外のトラフィックについても同様に帯域制御を行うことが可能である。また、帯域のシェーピング値は仮想マシンごとに異なっていてもよい。   In variation (2) -3, the user traffic output is temporarily shaped (for the set memory copy time t) from the information of the application running on the virtual machine VM1 and other virtual machines to a certain band value x. If there is a virtual machine that is determined to be acceptable and the available bandwidth between the hosts resulting from shaping their output into the bandwidth x is larger than the required bandwidth, the control method is “Shape output bandwidth of user traffic of machine to value x over time t” is selected, and the migration source physical host is selected as the control destination. In variation (2) -3, it is possible to perform bandwidth control similarly for traffic other than user traffic. Further, the bandwidth shaping value may be different for each virtual machine.

バリエーション(2)−4では、仮想マシンVM1および他の仮想マシンで動作中のアプリケーションの情報から、それらの仮想マシンのユーザトラフィックの出力の合計が、時間t’後に、一時的に(設定したメモリコピー時間tの間)必要帯域分だけ空くと判断され、かつ、t’の間はマイグレーションを待機することが可能であると判断された場合に、制御方法として「仮想マシンVM1のライブマイグレーションを時間t’の経過後に実施する」を選択し、制御先としてVM管理サーバ16を選択する。バリエーション(2)−4は、ライブマイグレーションのメモリコピーと競合するトラフィックの帯域を制御するものであるというよりも、競合するトラフィックの影響が少ない期間にライブマイグレーションの実行をタイムシフトしようとするものである。   In the variation (2) -4, the total of user traffic outputs of the virtual machines VM1 and other virtual machines running on the virtual machine VM1 and other virtual machines is temporarily (set memory) after time t ′. When it is determined that the necessary bandwidth is freed during the copy time t), and it is determined that the migration can be waited during t ′, the control method “live live migration of virtual machine VM1” “Execute after elapse of t ′” is selected, and the VM management server 16 is selected as a control destination. Variation (2) -4 is intended to shift the execution of live migration during a period when the influence of competing traffic is small, rather than controlling the bandwidth of traffic competing with the memory copy of live migration. is there.

バリエーション(2)−5では、仮想マシンVM1および他の仮想マシンで動作中のアプリケーションの情報から、ユーザに対して出力制限依頼を行うことが可能であると判断される仮想マシンがあり、かつ、ユーザがその仮想マシンを帯域値xに出力制限することにより生じるホスト間の空き帯域が必要帯域も大きい場合に、制御方法として「出力制限が可能な仮想マシンに対し、ユーザに当該仮想マシンへの出力を帯域値xに制限するよう依頼する」を選択し、制御先として移行元の物理ホストを選択する。   In variation (2) -5, there is a virtual machine that is determined to be able to make an output restriction request to the user from the information of applications running on the virtual machine VM1 and other virtual machines, and When the available bandwidth between hosts that is generated by the user restricting the output of the virtual machine to the bandwidth value x is also large, the control method is as follows. “Request to limit output to bandwidth value x” is selected, and the migration source physical host is selected as the control destination.

帯域制御決定方法(3):
トラフィックを仮想マシンで区別することなく、マイグレーションの移行元の物理ホストと移行先との物理ホストの間のトラフィックをまとめて制御することが考えられる。この場合、トラフィック種別(ユーザトラフィックであるか、共有ストレージアクセスのトラフィックであるか、フォールトトレランス同期機能のトラフィックであるか、など)ごとの制御は可能であるとする。この帯域制御決定方法を帯域制御決定方法(3)とする。この帯域制御決定方法は、帯域制御部32が各物理ホストに設けられている場合とスイッチに設けられている場合とのいずれの場合であっても適用可能である。図15は、帯域制御決定方法(3)での処理を示している。
Band control determination method (3):
It is conceivable to collectively control traffic between a migration source physical host and a migration destination physical host without distinguishing the traffic by virtual machines. In this case, it is assumed that control for each traffic type (whether user traffic, shared storage access traffic, fault tolerance synchronization function traffic, or the like) is possible. This bandwidth control determination method is referred to as bandwidth control determination method (3). This bandwidth control determination method is applicable regardless of whether the bandwidth control unit 32 is provided in each physical host or the switch. FIG. 15 shows processing in the bandwidth control determination method (3).

帯域制御決定方法(3)では、まず、ステップ131において、必要帯域計算部26から、メモリコピー時間tおよび必要帯域値を取得し、情報収集部25から、マイグレーションの移行元の物理ホストと移行先の物理ホストとの間のトラフィック情報と空き帯域とを取得する。次に、ステップ132において、空き帯域が必要帯域を上回っているかどうかを判断する。上回っている場合には、帯域制御を実施する必要がないので、ステップ133において、VM管理サーバ16に対して仮想マシンのライブマイグレーションの開始を依頼して、帯域制御決定処理を終了する。これに対し、ステップ132において空き帯域が必要帯域を上回っていない場合には、ステップ134において制御方法を決定し、その決定結果に基づき、ステップ135において制御方法と制御先(どの物理ホストあるいはスイッチで帯域制御を行うか)を帯域制御設定部28に通知して、帯域制御決定処理を終了する。   In the bandwidth control determination method (3), first, in step 131, the memory copy time t and the required bandwidth value are acquired from the required bandwidth calculation unit 26, and the migration source physical host and the migration destination are acquired from the information collection unit 25. Get traffic information and free bandwidth with other physical hosts. Next, in step 132, it is determined whether the available bandwidth exceeds the required bandwidth. If it exceeds the upper limit, it is not necessary to perform bandwidth control. In step 133, the VM management server 16 is requested to start live migration of the virtual machine, and the bandwidth control determination process is terminated. On the other hand, if the available bandwidth does not exceed the required bandwidth in step 132, the control method is determined in step 134. Based on the determination result, the control method and control destination (in which physical host or switch is selected) in step 135. The bandwidth control setting unit 28 is notified of whether or not bandwidth control is to be performed, and the bandwidth control determination process is terminated.

ここで、ステップ134の制御方法の決定では、どのような制御方法を選択するかによって、以下のようなバリエーション(3)−1,(3)−2がある。これらのバリエーションのうちから一つを選んで用いてもよいし、あるいは、優先順位を設定した上で制御可能なバリエーションを選択してもよい。   Here, in the determination of the control method in step 134, there are the following variations (3) -1 and (3) -2 depending on what control method is selected. One of these variations may be selected and used, or a controllable variation may be selected after setting the priority order.

バリエーション(3)−1では、トラフィック情報から、移行元の物理ホストの出力ユーザトラフィックを一時的に(設定したメモリコピー時間tの間)遮断してよいと判断され、かつ、出力を停止したことにより生じるホスト間の空き帯域が必要帯域よりも大きい場合に、制御方法として「移行元の物理ホストのユーザトラフィックの出力を時間tだけ停止する」を選択し、制御先として、移行元の物理ホストまたはスイッチを選択する。バリエーション(3)−1では、ユーザトラフィック以外のトラフィックについても同様に帯域制御を行うことが可能である。   In variation (3) -1, it is determined from the traffic information that the output user traffic of the migration source physical host may be temporarily blocked (for the set memory copy time t), and the output is stopped. When the free bandwidth between hosts caused by the above is larger than the required bandwidth, select “Stop the output of user traffic from the migration source physical host for time t” as the control method, and use the migration source physical host as the control destination. Or select a switch. In variation (3) -1, it is possible to perform bandwidth control similarly for traffic other than user traffic.

バリエーション(3)−2では、トラフィック情報から、移行元の物理ホストの出力ユーザトラフィックを一時的に(設定したメモリコピー時間tの間)、ある帯域値xまでシェーピングしてよいと判断され、かつ、出力を帯域xにシェーピングしたことにより生じるホスト間の空き帯域が必要帯域よりも大きい場合に、制御方法として「移行元の物理ホストのユーザトラフィックの出力帯域を時間tにわたって値xにシェーピングする」を選択し、制御先として、移行元の物理ホストまたはスイッチを選択する。バリエーション(3)−2では、ユーザトラフィック以外のトラフィックについても同様に帯域制御を行うことが可能である。   In variation (3) -2, it is determined from the traffic information that the output user traffic of the migration source physical host may be temporarily shaped (during the set memory copy time t) to a certain bandwidth value x, and When the free bandwidth between hosts generated by shaping the output into the bandwidth x is larger than the necessary bandwidth, the control method is “shape the output bandwidth of the user traffic of the migration source physical host to the value x over time t” And select the migration source physical host or switch as the control destination. In variation (3) -2, bandwidth control can be similarly performed for traffic other than user traffic.

以上、本実施形態の仮想マシンシステムにおける機能構成パターンの例と帯域制御決定方法の例とを説明したが、これらの機能構成パターンと帯域制御決定方法との組み合わせのうち特に有効なものは、以下の表1に示すものである。   As described above, the example of the functional configuration pattern and the example of the bandwidth control determination method in the virtual machine system according to the present embodiment have been described. Among the combinations of the functional configuration pattern and the bandwidth control determination method, particularly effective ones are as follows: It shows in Table 1.

Figure 2014035661
Figure 2014035661

次に、表1に示した組み合わせのうちのいくつかをさらに詳しく説明する。   Next, some of the combinations shown in Table 1 will be described in more detail.

[実施例1]
機能構成パターンとして機能構成Aを選択し、帯域制御決定方法として帯域制御決定方法(3)を選択し、制御方法のバリエーションとしてバリエーション(3)−1を選択した場合を説明する。図16は、この場合の仮想マシンシステムを構成を示している。スイッチにはトラフィック監視部31と帯域制御部32が設けられ、各物理ホストにはVM状態監視部33が設けられる。ネットワークはVLANとして構成されており、トラフィックはVLANによって識別でき、また、VLANごとに帯域制御を実施できるものとする。
[Example 1]
A case will be described in which the functional configuration A is selected as the functional configuration pattern, the bandwidth control determination method (3) is selected as the bandwidth control determination method, and the variation (3) -1 is selected as a variation of the control method. FIG. 16 shows the configuration of the virtual machine system in this case. A traffic monitoring unit 31 and a bandwidth control unit 32 are provided in the switch, and a VM state monitoring unit 33 is provided in each physical host. The network is configured as a VLAN, traffic can be identified by VLAN, and bandwidth control can be performed for each VLAN.

何らかの理由により、ホスト#1で動作中の仮想マシンVM1をホスト#1からホスト#2へライブマイグレーションすることが決定し、また、ライブマイグレーションのメモリコピーに要すことのできる時間がtであるものとする。図17はこの場合の処理の流れを示している。   For some reason, the virtual machine VM1 running on the host # 1 is decided to live migrate from the host # 1 to the host # 2, and the time required for live migration memory copy is t And FIG. 17 shows the flow of processing in this case.

ステップ201においてVM管理サーバ16が仮想マシンVM1のライブマイグレーションの実施を決定すると、その旨がVM管理サーバ16から管理装置20のVM管理サーバ通信部24に通知され(ステップ202)、さらに、VM管理サーバ通信部24から情報収集部25に通知される(ステップ203)。情報収集部25は、スイッチのトラフィック監視部31からトラフィック情報を収集し(ステップ204)、収集した情報を必要帯域計算部26に通知し(ステップ205)、ホスト#1のVM状態監視部33から仮想マシン(VM)情報を収集し(ステップ206)、収集した情報を必要帯域計算部26に通知する(ステップ207)。すると必要帯域計算部26は、ステップ208において必要帯域を計算する。ここでは、必要帯域がY[bps]になったものとする。必要帯域計算部26は、必要帯域の情報を帯域制御決定部27に通知し(ステップ209)、帯域制御決定部27はステップ210において帯域制御方法を決定する。ここでは、空き帯域が必要帯域Y[bps]を上回っておらず、ユーザトラフィックの遮断が可能であり、その遮断可能なユーザトラフィックの帯域が必要帯域(Y[bps])を上回っているので、制御方法として、スイッチに対してユーザトラフィックの遮断を指示することが選択される。この決定された帯域制御方法は、帯域制御決定部27から帯域制御設定部28に通知され(ステップ211)、帯域制御設定部28は、ステップ212において、スイッチにユーザトラフィックの遮断を設定し、ステップ213において、設定したことをVM管理サーバ通信部24に通知する。VM管理サーバ通信部24は、VM管理サーバ16に対してライブマイグレーションを依頼し(ステップ214)、VM管理サーバ16は、ホスト#1に対してライブマイグレーションを指示する(ステップ215)。すると、ステップ216において、ホスト#1からホスト#2へのメモリコピーが行われ、ステップ217において、ホスト#1上の仮想マシンを停止してホスト#2上で仮想マシンを立ち上げる仮想マシン(VM)切替が実施される。その結果、ホスト#2上で仮想マシンVM1が動作することになる。ホスト#2からVM管理サーバ16に対して切り替えの完了通知がなされ(ステップ218)、VM管理サーバ16はVM管理サーバ通信部24に対してライブマイグレーションの完了を通知し(ステップ219)、これを受けてVM管理サーバ通信部24は帯域制御設定部28に通知を行う(ステップ220)。帯域制御設定部28は、通知を受けて、ステップ221において、スイッチに対し、ユーザトラフィックの遮断の解除を設定する。   When the VM management server 16 determines to perform live migration of the virtual machine VM1 in step 201, the VM management server 16 notifies the VM management server communication unit 24 of the management apparatus 20 to that effect (step 202), and further performs VM management. The server communication unit 24 notifies the information collection unit 25 (step 203). The information collecting unit 25 collects traffic information from the traffic monitoring unit 31 of the switch (step 204), notifies the collected information to the necessary bandwidth calculating unit 26 (step 205), and from the VM state monitoring unit 33 of the host # 1. Virtual machine (VM) information is collected (step 206), and the collected information is notified to the necessary bandwidth calculator 26 (step 207). Then, the required bandwidth calculation unit 26 calculates the required bandwidth in step 208. Here, it is assumed that the necessary bandwidth is Y [bps]. The required bandwidth calculation unit 26 notifies the bandwidth control determination unit 27 of the required bandwidth information (step 209), and the bandwidth control determination unit 27 determines the bandwidth control method in step 210. Here, since the free bandwidth does not exceed the necessary bandwidth Y [bps], the user traffic can be blocked, and the bandwidth of the user traffic that can be blocked exceeds the necessary bandwidth (Y [bps]). As a control method, instructing the switch to block user traffic is selected. The determined bandwidth control method is notified from the bandwidth control determination unit 27 to the bandwidth control setting unit 28 (step 211). In step 212, the bandwidth control setting unit 28 sets the blocking of user traffic in the switch, and the step In step 213, the VM management server communication unit 24 is notified of the setting. The VM management server communication unit 24 requests the VM management server 16 to perform live migration (step 214), and the VM management server 16 instructs the host # 1 to perform live migration (step 215). Then, in step 216, memory copy from the host # 1 to the host # 2 is performed. In step 217, the virtual machine (VM) that stops the virtual machine on the host # 1 and starts the virtual machine on the host # 2 ) Switching is performed. As a result, the virtual machine VM1 operates on the host # 2. The host # 2 notifies the VM management server 16 of the switching completion (step 218), and the VM management server 16 notifies the VM management server communication unit 24 of the completion of live migration (step 219). In response, the VM management server communication unit 24 notifies the bandwidth control setting unit 28 (step 220). In response to the notification, the bandwidth control setting unit 28 sets release of blocking of the user traffic to the switch in step 221.

[実施例2]
機能構成パターンとして機能構成Dを選択し、帯域制御決定方法として帯域制御決定方法(1)を選択し、制御方法のバリエーションとしてバリエーション(1)−1及び(1)−3を選択した場合を説明する。図18は、この場合の仮想マシンシステムを構成を示している。各物理ホストごとに、トラフィック監視部31と帯域制御部32とVM状態監視部33とが設けられている。トラフィックは仮想マシンごとに識別でき、仮想マシンごとに帯域制御を行うことができるものとする。
[Example 2]
The case where the functional configuration D is selected as the functional configuration pattern, the bandwidth control determination method (1) is selected as the bandwidth control determination method, and the variations (1) -1 and (1) -3 are selected as variations of the control method will be described. To do. FIG. 18 shows the configuration of the virtual machine system in this case. A traffic monitoring unit 31, a bandwidth control unit 32, and a VM state monitoring unit 33 are provided for each physical host. Traffic can be identified for each virtual machine, and bandwidth control can be performed for each virtual machine.

何らかの理由により、ホスト#1で動作中の仮想マシンVM1をホスト#1からホスト#2へライブマイグレーションすることが決定し、また、ライブマイグレーションのメモリコピーに要すことのできる時間がtであるものとする。図19はこの場合の処理の流れを示している。   For some reason, the virtual machine VM1 running on the host # 1 is decided to live migrate from the host # 1 to the host # 2, and the time required for live migration memory copy is t And FIG. 19 shows the flow of processing in this case.

ステップ251においてVM管理サーバ16が仮想マシンVM1のライブマイグレーションの実施を決定すると、その旨がVM管理サーバ16から管理装置20のVM管理サーバ通信部24に通知され(ステップ252)、さらに、VM管理サーバ通信部24から情報収集部25に通知される(ステップ253)。情報収集部25は、ホスト#1のトラフィック監視部31からトラフィック情報を収集し(ステップ254)、収集した情報を必要帯域計算部26に通知し(ステップ255)、ホスト#1のVM状態監視部33から仮想マシン(VM)情報を収集し(ステップ256)、収集した情報を必要帯域計算部26に通知する(ステップ257)。すると必要帯域計算部26は、ステップ258において必要帯域を計算する。ここでは、必要帯域がY[bps]になったものとする。必要帯域計算部26は、必要帯域の情報を帯域制御決定部27に通知し(ステップ259)、帯域制御決定部27はステップ260において帯域制御方法を決定する。ここでは、空き帯域が必要帯域Y[bps]を上回っておらず、ユーザトラフィックの遮断は不可であるがユーザトラフィックの帯域をX[bps]にシェーピングすることが可能であるので、制御方法として、ホスト#1に対して仮想マシンVM1のユーザトラフィックのX[bps]へのシェーピング実行を指示することが選択される。この決定された帯域制御方法は、帯域制御決定部27から帯域制御設定部28に通知され(ステップ261)、帯域制御設定部28は、ステップ262において、ホスト#1に対し、仮想マシンVM1のユーザトラフィックのX[bps]へのシェーピングを設定し、ステップ263において、設定したことをVM管理サーバ通信部24に通知する。VM管理サーバ通信部24は、VM管理サーバ16に対してライブマイグレーションを依頼し(ステップ264)、VM管理サーバ16は、ホスト#1に対してライブマイグレーションを指示する(ステップ265)。すると、ステップ266において、ホスト#1からホスト#2へのメモリコピーが行われ、ステップ267において、ホスト#1上の仮想マシンを停止してホスト#2上で仮想マシンを立ち上げる仮想マシン(VM)切替が実施される。その結果、ホスト#2上で仮想マシンVM1が動作することになる。ホスト#2からVM管理サーバ16に対して切り替えの完了通知がなされ(ステップ268)、VM管理サーバ16はVM管理サーバ通信部24に対してライブマイグレーションの完了を通知し(ステップ269)、これを受けてVM管理サーバ通信部24は帯域制御設定部28に通知を行う(ステップ270)。帯域制御設定部28は、通知を受けて、ステップ271において、ホスト#2に対し、仮想マシンVM1のユーザトラフィックのシェーピングの解除を設定する。   When the VM management server 16 decides to perform live migration of the virtual machine VM1 in step 251, a notification to that effect is sent from the VM management server 16 to the VM management server communication unit 24 of the management apparatus 20 (step 252). The server communication unit 24 notifies the information collection unit 25 (step 253). The information collection unit 25 collects traffic information from the traffic monitoring unit 31 of the host # 1 (step 254), notifies the collected information to the necessary bandwidth calculation unit 26 (step 255), and the VM state monitoring unit of the host # 1 Virtual machine (VM) information is collected from 33 (step 256), and the collected information is notified to the necessary bandwidth calculator 26 (step 257). Then, the required bandwidth calculation unit 26 calculates the required bandwidth in step 258. Here, it is assumed that the necessary bandwidth is Y [bps]. The required bandwidth calculation unit 26 notifies the bandwidth control determination unit 27 of the required bandwidth information (step 259), and the bandwidth control determination unit 27 determines the bandwidth control method in step 260. Here, the free bandwidth does not exceed the required bandwidth Y [bps], and the user traffic cannot be blocked, but the user traffic bandwidth can be shaped to X [bps]. It is selected to instruct the host # 1 to execute shaping of the user traffic of the virtual machine VM1 to X [bps]. The determined bandwidth control method is notified from the bandwidth control determination unit 27 to the bandwidth control setting unit 28 (step 261). In step 262, the bandwidth control setting unit 28 sends the user of the virtual machine VM1 to the host # 1. Traffic shaping to X [bps] is set, and in step 263, the setting is notified to the VM management server communication unit 24. The VM management server communication unit 24 requests the VM management server 16 to perform live migration (step 264), and the VM management server 16 instructs the host # 1 to perform live migration (step 265). Then, in step 266, the memory copy from the host # 1 to the host # 2 is performed. In step 267, the virtual machine (VM) that stops the virtual machine on the host # 1 and starts the virtual machine on the host # 2 is set. ) Switching is performed. As a result, the virtual machine VM1 operates on the host # 2. The host # 2 notifies the VM management server 16 of the switching completion (step 268), and the VM management server 16 notifies the VM management server communication unit 24 of the completion of live migration (step 269). In response, the VM management server communication unit 24 notifies the bandwidth control setting unit 28 (step 270). In response to the notification, the bandwidth control setting unit 28 sets the cancellation of the shaping of the user traffic of the virtual machine VM1 for the host # 2 in step 271.

11,12 物理ホスト
13 ネットワーク
14 共有ストレージ
15 仮想化ソフトウェア
16 VM管理サーバ
20 管理装置
21 パケット受信部
22 パケット送信部
23 データ保存部
24 VM管理サーバ通信部
25 情報収集部
26 必要帯域計算部
27 帯域制御決定部
28 帯域制御設定部
31 トラフィック監視部
32 帯域制御部
33 VM状態監視部
DESCRIPTION OF SYMBOLS 11, 12 Physical host 13 Network 14 Shared storage 15 Virtualization software 16 VM management server 20 Management apparatus 21 Packet receiving part 22 Packet transmission part 23 Data storage part 24 VM management server communication part 25 Information collection part 26 Necessary bandwidth calculation part 27 Band Control decision unit 28 Band control setting unit 31 Traffic monitoring unit 32 Band control unit 33 VM state monitoring unit

Claims (8)

複数の物理ホストと前記物理ホスト間を接続するネットワークと仮想マシンを管理するVM管理サーバとを有し、前記各物理ホスト上で仮想マシンが動作可能な仮想マシンシステムであって、
前記物理ホストまたは前記ネットワークに組み込まれてトラフィックを特定して監視するトラフィック監視手段と、
前記物理ホストまたは前記ネットワークに組み込まれて前記トラフィックの帯域制御を行う帯域制御手段と、
前記物理ホストまたは前記VM管理サーバに組み込まれて前記仮想マシンの状態に関する情報を収集するVM状態監視手段と、
前記VM管理サーバが移行元の物理ホストから移行先の物理ホストへの前記仮想マシンのライブマイグレーションの実施を決定したときに、前記トラフィック監視手段及び前記VM状態監視手段から情報を収集し、収集した前記情報に基づいて前記ライブマイグレーションの実施に必要な帯域を求め、前記移行元の物理ホストから前記移行先の物理ホストまでのリンクの空き帯域が前記必要な帯域を上回っているかを判定し、前記空き帯域が不足する場合に帯域制御方法を決定して該帯域制御方法に基づいて前記帯域制御手段に前記リンクにおけるトラフィックの帯域制御を設定する管理装置と、
を有する、仮想マシンシステム。
A virtual machine system comprising a plurality of physical hosts, a network connecting the physical hosts, and a VM management server for managing virtual machines, wherein the virtual machines can operate on the physical hosts,
Traffic monitoring means incorporated in the physical host or the network to identify and monitor traffic;
Band control means for controlling the bandwidth of the traffic incorporated in the physical host or the network;
VM status monitoring means for collecting information relating to the status of the virtual machine incorporated in the physical host or the VM management server;
When the VM management server decided to perform live migration of the virtual machine from the migration source physical host to the migration destination physical host, information was collected from the traffic monitoring unit and the VM state monitoring unit Obtaining a bandwidth necessary for performing the live migration based on the information, determining whether a free bandwidth of a link from the migration source physical host to the migration destination physical host exceeds the necessary bandwidth, A management device that determines a bandwidth control method when the available bandwidth is insufficient and sets bandwidth control of traffic in the link in the bandwidth control means based on the bandwidth control method;
A virtual machine system.
前記管理装置は、
前記トラフィック監視手段及び前記VM状態監視手段から情報を収集する情報収集手段と、
前記情報収集手段で取得した情報を用いて、定められた時間内に前記ライブマイグレーションを完了させるために必要な帯域を計算する必要帯域計算手段と、
前記VM管理サーバと前記情報収集手段とから得た情報と前記必要帯域計算手段で計算された帯域とに基づいて帯域制御方法を決定し前記リンクにおける前記トラフィックの帯域を決定する帯域制御決定手段と、
前記帯域制御決定手段で決定した結果に基づき、前記帯域制御手段に帯域制御を設定する帯域制御設定手段と、
を有する、請求項1に記載の仮想マシンシステム。
The management device
Information collecting means for collecting information from the traffic monitoring means and the VM state monitoring means;
Using the information acquired by the information collecting means, necessary bandwidth calculating means for calculating a bandwidth necessary for completing the live migration within a predetermined time;
Bandwidth control determining means for determining a bandwidth control method based on information obtained from the VM management server and the information collecting means and a bandwidth calculated by the required bandwidth calculating means and determining a bandwidth of the traffic in the link; ,
Based on the result determined by the bandwidth control determining means, bandwidth control setting means for setting bandwidth control to the bandwidth control means,
The virtual machine system according to claim 1, comprising:
前記ネットワークはスイッチを有して前記複数のホストと前記VM管理サーバと前記管理装置とが前記スイッチに接続する、請求項1または2に記載の仮想マシンシステム。   The virtual machine system according to claim 1, wherein the network includes a switch, and the plurality of hosts, the VM management server, and the management apparatus are connected to the switch. 複数の物理ホストと前記物理ホスト間を接続するネットワークと仮想マシンを管理するVM管理サーバとを有し前記各物理ホスト上で仮想マシンが動作可能な仮想マシンシステムにおける、移行元の物理ホストから移行先の物理ホストへの仮想マシンのライブマイグレーションを行う方法であって、
前記VM管理サーバが前記ライブマイグレーションの実施を決定したときに、移行元の物理ホストから移行先の物理ホストまでのリンクにおけるトラフィックの状態に関する情報を収集する段階と、
前記仮想マシンの状態に関する情報を収集する段階と、
前記トラフィックの状態に関する情報と前記仮想マシンの状態に関する情報とに基づいて前記ライブマイグレーションの実施に必要な帯域を求める段階と、
前記リンクの空き帯域が前記必要な帯域を上回っているかを判定して前記空き帯域が不足する場合に帯域制御方法を決定する段階と、
該帯域制御方法に基づいて前記リンクにおけるトラフィックの帯域制御を前記物理ホストまたは前記ネットワークに組み込まれた帯域制御手段に設定する段階と、
を有する方法。
Migrating from a migration source physical host in a virtual machine system having a plurality of physical hosts, a network connecting the physical hosts, and a VM management server for managing virtual machines and capable of operating virtual machines on each physical host A method for live migration of a virtual machine to a destination physical host,
When the VM management server decides to perform the live migration, collecting information regarding the traffic state in the link from the migration source physical host to the migration destination physical host;
Collecting information about the state of the virtual machine;
Obtaining a bandwidth required for performing the live migration based on information on the traffic state and information on the state of the virtual machine;
Determining whether a free bandwidth of the link exceeds the required bandwidth and determining a bandwidth control method when the free bandwidth is insufficient;
Setting bandwidth control of traffic on the link to the physical host or bandwidth control means incorporated in the network based on the bandwidth control method;
Having a method.
前記ライブマイグレーションの対象となる仮想マシンに関するトラフィックのみに基づいて前記帯域制御方法を決定する、請求項4に記載の方法。   The method according to claim 4, wherein the bandwidth control method is determined based only on traffic relating to the virtual machine that is the target of the live migration. 前記ライブマイグレーションの対象となる仮想マシンに関するトラフィックと、前記移行元の物理ホストで動作する他の仮想マシンに関するトラフィックとに基づいて、前記帯域制御方法を決定する、請求項4に記載の方法。   The method according to claim 4, wherein the bandwidth control method is determined based on traffic relating to a virtual machine to be subjected to live migration and traffic relating to another virtual machine operating on the migration source physical host. 前記リンク上の全てのトラフィックに基づいて前記帯域制御方法と決定する、請求項4に記載の方法。   The method according to claim 4, wherein the bandwidth control method is determined based on all traffic on the link. 前記ネットワークはスイッチを有して前記複数のホストと前記VM管理サーバとが前記スイッチに接続し、前記スイッチにおいて帯域制御を実行する、請求項4または7に記載の方法。   The method according to claim 4 or 7, wherein the network includes a switch, the plurality of hosts and the VM management server are connected to the switch, and bandwidth control is executed in the switch.
JP2012176811A 2012-08-09 2012-08-09 Virtual machine system and high-speed live migration method thereof Expired - Fee Related JP5758358B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012176811A JP5758358B2 (en) 2012-08-09 2012-08-09 Virtual machine system and high-speed live migration method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012176811A JP5758358B2 (en) 2012-08-09 2012-08-09 Virtual machine system and high-speed live migration method thereof

Publications (2)

Publication Number Publication Date
JP2014035661A true JP2014035661A (en) 2014-02-24
JP5758358B2 JP5758358B2 (en) 2015-08-05

Family

ID=50284622

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012176811A Expired - Fee Related JP5758358B2 (en) 2012-08-09 2012-08-09 Virtual machine system and high-speed live migration method thereof

Country Status (1)

Country Link
JP (1) JP5758358B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105025067A (en) * 2014-04-30 2015-11-04 中国银联股份有限公司 Information security technology research platform
CN108337179A (en) * 2017-01-19 2018-07-27 华为技术有限公司 Link flow control method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011180889A (en) * 2010-03-02 2011-09-15 Nec Corp Network resource management system, device, method and program
JP2011186821A (en) * 2010-03-09 2011-09-22 Nec Corp Virtual-environment management system, device, method, and program
JP2011198299A (en) * 2010-03-23 2011-10-06 Fujitsu Ltd Program, computer, communicating device, and communication control system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011180889A (en) * 2010-03-02 2011-09-15 Nec Corp Network resource management system, device, method and program
JP2011186821A (en) * 2010-03-09 2011-09-22 Nec Corp Virtual-environment management system, device, method, and program
JP2011198299A (en) * 2010-03-23 2011-10-06 Fujitsu Ltd Program, computer, communicating device, and communication control system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105025067A (en) * 2014-04-30 2015-11-04 中国银联股份有限公司 Information security technology research platform
CN105025067B (en) * 2014-04-30 2018-12-25 中国银联股份有限公司 A kind of information security technology research platform
CN108337179A (en) * 2017-01-19 2018-07-27 华为技术有限公司 Link flow control method and device

Also Published As

Publication number Publication date
JP5758358B2 (en) 2015-08-05

Similar Documents

Publication Publication Date Title
EP2629490B1 (en) Optimizing traffic load in a communications network
Mann et al. Remedy: Network-aware steady state VM management for data centers
EP3201761B1 (en) Load balancing
EP2972855B1 (en) Automatic configuration of external services based upon network activity
KR101781063B1 (en) Two-level resource management method and appratus for dynamic resource management
US9395786B2 (en) Cross-layer power management in a multi-layer system
EP2867772B1 (en) Dynamic resource allocation for virtual machines
US9600319B2 (en) Computer-readable medium, apparatus, and method for offloading processing from a virtual switch to a physical switch
JP2010244524A (en) Determining method of method for moving virtual server, and management server thereof
CN106681839B (en) Elastic calculation dynamic allocation method
US20200409755A1 (en) Mechanism to automatically prioritize i/o for nfv workloads at platform overload
JP2011180889A (en) Network resource management system, device, method and program
Farahnakian et al. Hierarchical vm management architecture for cloud data centers
Han et al. SAVE: Energy-aware virtual data center embedding and traffic engineering using SDN
Babu et al. Interference aware prediction mechanism for auto scaling in cloud
JP5758358B2 (en) Virtual machine system and high-speed live migration method thereof
JP5257709B2 (en) Virtual computer migration method, virtual computer system, and management server
CN109739634A (en) A kind of atomic task execution method and device
JP5876425B2 (en) Virtual machine live migration scheduling method and virtual machine system
Luo et al. Network-aware re-scheduling: Towards improving network performance of virtual machines in a data center
US8139477B2 (en) Network element bypass in computing computer architecture
JP6186287B2 (en) System management server and control method
WO2019176606A1 (en) Vm performance guaranteeing system and vm performance guaranteeing method
CN105335234A (en) Method for immediately migrating virtual machine
JP2010231601A (en) Grid computing system, method and program for controlling resource

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140729

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20141027

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20141031

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150318

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150324

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150513

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150603

R150 Certificate of patent or registration of utility model

Ref document number: 5758358

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees