JP2014041414A - Migration system of virtual machine, control device, and migration method - Google Patents

Migration system of virtual machine, control device, and migration method Download PDF

Info

Publication number
JP2014041414A
JP2014041414A JP2012182340A JP2012182340A JP2014041414A JP 2014041414 A JP2014041414 A JP 2014041414A JP 2012182340 A JP2012182340 A JP 2012182340A JP 2012182340 A JP2012182340 A JP 2012182340A JP 2014041414 A JP2014041414 A JP 2014041414A
Authority
JP
Japan
Prior art keywords
server
communication path
migration
virtual machine
client terminal
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.)
Pending
Application number
JP2012182340A
Other languages
Japanese (ja)
Inventor
Hitoshi Kaneko
斉 金子
Kenichi Higuchi
健一 樋口
Yasushi Yamazaki
裕史 山崎
Aki Fukuoka
亜希 福岡
Konomi Mochizuki
このみ 望月
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 JP2012182340A priority Critical patent/JP2014041414A/en
Publication of JP2014041414A publication Critical patent/JP2014041414A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a migration system that allows a service stoppage time to be shortened upon executing a live migration of a virtual machine.SOLUTION: A migration system is configured to include: a first server that is provided at a first data center and is connected to a client terminal via a first communication route in a network; a second server that is provided at a second data center and connected to a client terminal via a second communication route in the network; a network switching device that can switch a first and a second communication route serving as communication routes between the client terminal and the first and second servers; and a control device that, after instructing the first server to the effect that a virtual machine provided to the client terminal via the first communication route by the first server is migrated to the second sever, prior to completion of a migration of the virtual machine from the first server to the second server, instructs the network switching device to the effect that a communication route to be connected to the client terminal is switched from the first communication route to the second communication route.

Description

本発明は、異なるデータセンタ拠点間で仮想マシンのライブマイグレーションを実行するためのマイグレーションシステム、制御装置およびマイグレーション方法に関する。   The present invention relates to a migration system, a control device, and a migration method for performing live migration of virtual machines between different data center bases.

仮想マシン(Virtual Machine:以下では、「VM」と表記する)のライブマイグレーションの一例が、特許文献1に開示されている。ライブマイグレーションとは、あるコンピュータにおけるVMで稼働中のOS(Operating System)およびソフトウェアプログラムを停止させることなく、他のコンピュータに「移行」させることを意味する。ライブマイグレーションでは、VMを動作させるコンピュータを単に変更するだけでなく、その過程でも、クライアントに対してVM使用のサービスを提供し続ける必要がある。以下に、ライブマイグレーションの一例を簡単に説明する。   An example of live migration of a virtual machine (hereinafter referred to as “VM”) is disclosed in Patent Document 1. Live migration means “migrating” to another computer without stopping an OS (Operating System) and a software program running on a VM in the computer. In live migration, it is necessary not only to change the computer that operates the VM, but also to continue providing VM usage services to the client in the process. An example of live migration will be briefly described below.

図8は従来のマイグレーションシステムの一構成例を示すブロック図である。   FIG. 8 is a block diagram showing a configuration example of a conventional migration system.

図8に示すように、データセンタDC1内にサーバ121が設けられ、データセンタDC2内にサーバ122が設けられている。これらの2つのデータセンタDC1、DC2のそれぞれに設けられたLAN(Local Area Network)が1つのネットワークNWを介して接続されている。ネットワークNWは、例えば、WAN(Wide Area Network)である。ネットワークNWにおける通信では、通信規約として、例えば、TCP(Transmission Control Protocol)/IP(Internet Protocol)が使用される。   As shown in FIG. 8, a server 121 is provided in the data center DC1, and a server 122 is provided in the data center DC2. A LAN (Local Area Network) provided in each of these two data centers DC1 and DC2 is connected via one network NW. The network NW is, for example, a WAN (Wide Area Network). In communication in the network NW, for example, TCP (Transmission Control Protocol) / IP (Internet Protocol) is used as a communication protocol.

サーバ121、122は、クライアントに提供するVMを動作させる情報処理装置である。サーバ121はネットワークNWのL3スイッチ43aと接続され、サーバ122はネットワークNWのL3スイッチ43bと接続されている。L3スイッチ43aとL3スイッチ43bは仮想ネットワークVLAN3を介して接続されている。   The servers 121 and 122 are information processing apparatuses that operate VMs provided to clients. The server 121 is connected to the L3 switch 43a of the network NW, and the server 122 is connected to the L3 switch 43b of the network NW. The L3 switch 43a and the L3 switch 43b are connected via the virtual network VLAN3.

クライアント端末50は、クライアントがサーバ121またはサーバ122でVMを使用するための端末であり、ネットワークNWのOFS41と接続されている。クライアント端末50は、VM宛にデータをパケットで送信する際、VMに予め割り当てられたIPアドレスをパケットのヘッダの宛先に書き込み、パケットを送信する。   The client terminal 50 is a terminal for the client to use the VM in the server 121 or the server 122, and is connected to the OFS 41 of the network NW. When the client terminal 50 transmits data to the VM in a packet, the client terminal 50 writes an IP address previously assigned to the VM to the destination of the packet header and transmits the packet.

管理装置30は、サーバ121、122の負荷を監視し、サーバの負荷が予め決められた閾値以上になると、負荷が閾値以上になったサーバの情報を含む負荷情報を制御装置100に送信する。   The management device 30 monitors the loads of the servers 121 and 122, and when the load on the server exceeds a predetermined threshold value, transmits the load information including the information on the server whose load exceeds the threshold value to the control device 100.

OFC(Open Flow Controller)45は、ネットワーク内に設けられたOFS(Open Flow Switch)41を制御する。OFC45は、制御装置100と接続され、IPアドレスに対応するMAC(Media Access Control)アドレスの変更情報を含む経路切替指示を制御装置100から受け取ると、その変更情報を含む経路切替情報をOFS41に通知する。   An OFC (Open Flow Controller) 45 controls an OFS (Open Flow Switch) 41 provided in the network. When the OFC 45 is connected to the control device 100 and receives a route switching instruction including change information of a MAC (Media Access Control) address corresponding to the IP address from the control device 100, the OFC 45 notifies the OFS 41 of the route switching information including the change information. To do.

OFS41はネットワーク切替装置の一種である。OFS41は、OFC45から受信する経路切替情報にしたがってフローテーブルを更新し、フローテーブルを参照してクライアント端末50とサーバ121、122との通信経路を切り替える。   OFS 41 is a type of network switching device. The OFS 41 updates the flow table according to the path switching information received from the OFC 45, and switches the communication path between the client terminal 50 and the servers 121 and 122 with reference to the flow table.

制御装置100は、管理装置30から負荷情報を受信すると、負荷の高いサーバで稼働しているVMを負荷の低いサーバに移行させるために、負荷の高いサーバに、VM移行の動作を指示する。また、VMの移動先のサーバからGARP(Gratuitous Address Resolution Protocol)通知を受信すると、経路切替指示をOFC45に送信する。   Upon receiving the load information from the management device 30, the control device 100 instructs the high load server to perform a VM transfer operation in order to transfer the VM running on the high load server to the low load server. Further, when a GARP (Gratuitous Address Resolution Protocol) notification is received from the VM destination server, a path switching instruction is transmitted to the OFC 45.

図9は図8に示すシステムの動作手順を示すシーケンス図である。   FIG. 9 is a sequence diagram showing an operation procedure of the system shown in FIG.

ここでは、データセンタDC1内のサーバ121で稼働中のVMを、サーバ121の過負荷などの要因に因り、データセンタDC2のサーバ122にマイグレーションする場合で説明する。その際、遅延防止、およびVMの負荷分散だけでなく、ネットワークの負荷分散も実現するために、VMのライブマイグレーション(以下では、VMマイグレーションと称する)に連動して、仮想ネットワークVLANによる通信経路も切り替える。   Here, a case will be described in which a VM running on the server 121 in the data center DC1 is migrated to the server 122 in the data center DC2 due to factors such as an overload of the server 121. At this time, in order to realize not only delay prevention and load distribution of the VM but also network load distribution, the communication path by the virtual network VLAN is linked with the live migration of the VM (hereinafter referred to as VM migration). Switch.

制御装置100は管理装置30を介してサーバ121の負荷を監視する。制御装置100は、サーバ121の過負荷を検出すると、VM移行を指示する旨のVM移行指示を、管理装置30を介してサーバ121に送信する(ステップ301)。サーバ121は、稼働中のVMで使用されるOS、ソフトウェアプログラムおよびデータを、仮想ネットワークVLAN3を介してサーバ122にコピーするVM移行動作を行い(ステップ303)、続いて、VM切替動作を行う(ステップ304)。この「VM切替」とは、サーバ121で稼働しているVMを一旦停止し、VMのコピー中に生じたデータ分をサーバ122に新たに稼働させるVMにコピーした後、新たに稼働させるVM側でメモリ再開処理を行うことである。   The control device 100 monitors the load on the server 121 via the management device 30. When detecting an overload of the server 121, the control device 100 transmits a VM migration instruction for instructing VM migration to the server 121 via the management device 30 (step 301). The server 121 performs a VM migration operation for copying the OS, software program, and data used by the running VM to the server 122 via the virtual network VLAN 3 (step 303), and then performs a VM switching operation (step 303). Step 304). This “VM switching” means that the VM operating on the server 121 is temporarily stopped, the data generated during the copying of the VM is copied to the VM that is newly operated on the server 122, and then the VM that is newly operated The memory restart process is performed.

サーバ122は、VMマイグレーションが終了すると、GARP通知を制御装置100に送信する(ステップ305)。このGARP通知は、IPアドレスで指定されるVMに関して、「VM移行」と「VM切替」を含むVMマイグレーションが終了したことと、VMの移動先となるサーバ122を制御装置100に通知するためのものである。そのため、GARP通知は、サーバ121で稼働していたVMを指定するためのIPアドレスとVMの移動先となるサーバ122のMACアドレスの情報を含む。   When the VM migration is completed, the server 122 transmits a GARP notification to the control device 100 (step 305). This GARP notification is for notifying the control apparatus 100 that the VM migration including “VM migration” and “VM switching” has been completed for the VM specified by the IP address, and the server 122 that is the migration destination of the VM. Is. Therefore, the GARP notification includes information on the IP address for designating the VM running on the server 121 and the MAC address of the server 122 that is the migration destination of the VM.

制御装置100は、GARP通知をサーバ122から受信すると、VMマイグレーションが終了したことを認識し、VMおよびクライアント端末50間の通信経路を仮想ネットワークVLAN1から仮想ネットワークVLAN2に切り替えるための経路切替指示をOFC45に送信する(ステップ306)。OFC45は、制御装置100から経路切替指示を受け取ると、経路切替情報をOFS41に送信する(ステップ307)。   When the control device 100 receives the GARP notification from the server 122, the control device 100 recognizes that the VM migration has ended, and issues a path switching instruction for switching the communication path between the VM and the client terminal 50 from the virtual network VLAN1 to the virtual network VLAN2. (Step 306). When the OFC 45 receives a path switching instruction from the control device 100, the OFC 45 transmits path switching information to the OFS 41 (step 307).

OFS41は、OFC45から経路変更情報を受け取ると、フローテーブルにおいて、VMのIPアドレスに対応するMACアドレスをサーバ121からサーバ122に書き換える。そして、OFS41は、更新したフローテーブルにしたがって、経路切替処理を実行する。具体的には、OFS41は、クライアント端末−サーバ間のフローを仮想ネットワークVLAN1から仮想ネットワークVLAN2に切り替える。   Upon receiving the path change information from the OFC 45, the OFS 41 rewrites the MAC address corresponding to the VM IP address from the server 121 to the server 122 in the flow table. Then, the OFS 41 executes a path switching process according to the updated flow table. Specifically, the OFS 41 switches the flow between the client terminal and the server from the virtual network VLAN1 to the virtual network VLAN2.

特開2011−210032号公報(第7図)Japanese Patent Laying-Open No. 2011-210032 (FIG. 7)

同じデータセンタ内でライブマイグレーションを行う場合、仮想ネットワークVLAN1から仮想ネットワークVLAN2への切り替えのようなネットワークの切り替えを行う必要がない。そのため、クライアント端末50からVM宛に送信されたパケットが行先不明で損失してしまうパケットロスが発生する時間は、図9に示すステップ304の「VM切替」の時間で済む。   When live migration is performed in the same data center, there is no need to perform network switching such as switching from the virtual network VLAN1 to the virtual network VLAN2. For this reason, the time required for the packet loss in which the packet transmitted from the client terminal 50 to the VM is lost due to the unknown destination is the time for “VM switching” in step 304 shown in FIG.

しかし、異なるデータセンタ間でライブマイグレーションを行う場合、つまり、ライブマイグレーションがデータセンタ間に跨る場合、ステップ304の「VM切替」からネットワーク切替終了まで、サービス停止時間が継続するため、パケットロスの量が多くなってしまう。   However, when live migration is performed between different data centers, that is, when live migration spans between data centers, the service stop time continues from “VM switching” in step 304 to the end of network switching. Will increase.

この問題を、特許文献1に開示された方法で説明する。特許文献1の図7を参照すると、Manager151は、VM125からVM起動通知711を受け取ってから、ノード104に切替指示433を送信している。そのため、特許文献1に開示された方法では、上記の問題が発生するおそれがある。   This problem will be described with the method disclosed in Patent Document 1. Referring to FIG. 7 of Patent Document 1, the Manager 151 transmits a switching instruction 433 to the node 104 after receiving the VM activation notification 711 from the VM 125. Therefore, the method disclosed in Patent Document 1 may cause the above problem.

本発明は上述したような技術が有する問題点を解決するためになされたものであり、ライブマイグレーションを実施する際のサービス停止時間を短縮可能にした、仮想マシンのマイグレーションシステム、制御装置およびマイグレーション方法を提供することを目的とする。   The present invention has been made in order to solve the above-described problems of the technology, and a virtual machine migration system, control apparatus, and migration method capable of shortening the service stop time when performing live migration The purpose is to provide.

上記目的を達成するための本発明の仮想マシンのマイグレーションシステムは、
第1のデータセンタに設けられ、ネットワーク内の第1の通信経路を介してクライアント端末と接続される第1のサーバと、
前記第1のデータセンタとは異なる第2のデータセンタに設けられ、前記ネットワーク内の第2の通信経路を介して前記クライアント端末と接続される第2のサーバと、
前記クライアント端末と前記第1および第2のサーバとの通信経路となる、前記第1および第2の通信経路を切り替え可能なネットワーク切替装置と、
前記第1のサーバが前記第1の通信経路を介して前記クライアント端末に提供している仮想マシンを、該第1のサーバに対して前記第2のサーバに移行する旨を指示した後、該仮想マシンの前記第1のサーバから前記第2のサーバへの移行が完了する前に、前記クライアント端末に接続される通信経路を前記第1の通信経路から前記第2の通信経路に切り替えるように、前記ネットワーク切替装置に通信経路の切り替えを指示する制御装置と、
を有する構成である。
In order to achieve the above object, a virtual machine migration system of the present invention comprises:
A first server provided in the first data center and connected to the client terminal via a first communication path in the network;
A second server provided in a second data center different from the first data center and connected to the client terminal via a second communication path in the network;
A network switching device capable of switching between the first and second communication paths, which is a communication path between the client terminal and the first and second servers;
After instructing the first server to migrate the virtual machine provided to the client terminal via the first communication path to the second server by the first server, Before the migration of the virtual machine from the first server to the second server is completed, the communication path connected to the client terminal is switched from the first communication path to the second communication path. A control device that instructs the network switching device to switch a communication path;
It is the structure which has.

また、本発明の制御装置は、第1のデータセンタに設けられ、ネットワーク内の第1の通信経路を介してクライアント端末と接続される第1のサーバと、第2のデータセンタに設けられ、前記ネットワーク内の第2の通信経路を介して前記クライアント端末と接続される第2のサーバと、該クライアント端末と前記第1および第2のサーバとの通信経路となる、前記第1および第2の通信経路を切り替え可能なネットワーク切替装置と接続される制御装置であって、
前記第1のサーバが前記第1の通信経路を介して前記クライアント端末に提供している仮想マシンを、該第1のサーバに対して前記第2のサーバに移行する旨を指示するVM切替制御部と、
前記仮想マシンの前記第1のサーバから前記第2のサーバへの移行が完了する前に、前記クライアント端末に接続される通信経路を前記第1の通信経路から前記第2の通信経路に切り替えるように、前記ネットワーク切替装置に通信経路の切り替えを指示するNW切替制御部と、
を有する構成である。
The control device of the present invention is provided in a first data center, provided in a first server connected to a client terminal via a first communication path in a network, and provided in a second data center, The second server connected to the client terminal via a second communication path in the network, and the first and second communication paths between the client terminal and the first and second servers A control device connected to a network switching device capable of switching the communication path of
VM switching control for instructing the first server to migrate the virtual machine provided to the client terminal via the first communication path by the first server to the second server And
Before the migration of the virtual machine from the first server to the second server is completed, the communication path connected to the client terminal is switched from the first communication path to the second communication path. NW switching control unit for instructing the network switching device to switch the communication path;
It is the structure which has.

さらに、本発明の仮想マシンのマイグレーション方法は、第1のデータセンタに設けられ、ネットワーク内の第1の通信経路を介してクライアント端末と接続される第1のサーバと、第2のデータセンタに設けられ、前記ネットワーク内の第2の通信経路を介して前記クライアント端末と接続される第2のサーバと、該クライアント端末と前記第1および第2のサーバとの通信経路となる、前記第1および第2の通信経路を切り替え可能なネットワーク切替装置と接続される制御装置による、仮想マシンのマイグレーション方法であって、
前記第1のサーバが前記第1の通信経路を介して前記クライアント端末に提供している仮想マシンを、該第1のサーバに対して前記第2のサーバに移行する旨を指示し、
前記仮想マシンの前記第1のサーバから前記第2のサーバへの移行が完了する前に、前記クライアント端末に接続される通信経路を前記第1の通信経路から前記第2の通信経路に切り替えるように、前記ネットワーク切替装置に通信経路の切り替えを指示するものである。
Further, the virtual machine migration method of the present invention is provided in the first data center, connected to the client terminal via the first communication path in the network, and in the second data center. A first server provided and connected to the client terminal via a second communication path in the network; and the communication path between the client terminal and the first and second servers. And a virtual machine migration method by a control device connected to a network switching device capable of switching the second communication path,
Instructing the first server to move the virtual machine provided to the client terminal via the first communication path to the second server by the first server,
Before the migration of the virtual machine from the first server to the second server is completed, the communication path connected to the client terminal is switched from the first communication path to the second communication path. In addition, it instructs the network switching device to switch the communication path.

本発明によれば、異なるデータセンタ間で仮想マシンのライブマイグレーションを実施する際に発生するサービス停止時間を短縮できる。   According to the present invention, it is possible to shorten the service stop time that occurs when performing live migration of virtual machines between different data centers.

第1の実施形態のVMマイグレーションの一構成例を示すブロック図である。It is a block diagram showing an example of 1 composition of VM migration of a 1st embodiment. 図1に示した制御装置の一構成例を示すブロック図である。It is a block diagram which shows the example of 1 structure of the control apparatus shown in FIG. 第1の実施形態のVMマイグレーションの手順を示すシーケンス図である。It is a sequence diagram which shows the procedure of VM migration of 1st Embodiment. 第1の実施形態のVMマイグレーションの効果を説明するための表である。It is a table | surface for demonstrating the effect of VM migration of 1st Embodiment. 第2の実施形態におけるサーバの一構成例を示すブロック図である。It is a block diagram which shows one structural example of the server in 2nd Embodiment. 第2の実施形態における制御装置の一構成例を示すブロック図である。It is a block diagram which shows the example of 1 structure of the control apparatus in 2nd Embodiment. 第2の実施形態のVMマイグレーションの手順を示すシーケンス図である。It is a sequence diagram which shows the procedure of VM migration of 2nd Embodiment. 従来のマイグレーションシステムの構成例を示すブロック図である。It is a block diagram which shows the structural example of the conventional migration system. 図8に示したシステムの手順を示すシーケンス図である。It is a sequence diagram which shows the procedure of the system shown in FIG.

従来技術では、制御装置は、VMマイグレーション終了(新たなVMの動作開始)に伴う「GARP通知」をトリガにしてOFCを介してOFSに「経路切替指示」を発したが、本発明では、VMマイグレーションが終了する前に、制御装置がOFCを介してOFSに経路切替指示を発することで、パケットロスの時間を低減するものである。これを実現可能にするための本発明の実施形態を、以下に説明する。   In the prior art, the control device issues a “path switching instruction” to the OFS via the OFC triggered by a “GARP notification” accompanying the end of VM migration (starting operation of a new VM). The packet loss time is reduced by issuing a path switching instruction to the OFS via the OFC before the migration is completed. An embodiment of the present invention for realizing this will be described below.

(第1の実施形態)
本実施形態のVMマイグレーションについて説明する。
(First embodiment)
The VM migration of this embodiment will be described.

図1は本実施形態のVMマイグレーションの一構成例を示すブロック図である。なお、図8を参照して説明した構成と同様な構成についての詳細な説明を省略する。   FIG. 1 is a block diagram illustrating a configuration example of VM migration according to the present embodiment. A detailed description of the same configuration as that described with reference to FIG. 8 is omitted.

図1に示すように、データセンタDC1内にサーバ21が設けられ、データセンタDC2内にサーバ22が設けられている。サーバ21、22は、クライアントに提供するVMを動作させる情報処理装置である。サーバ21はネットワークNWのL3スイッチ43aと接続され、サーバ22はネットワークNWのL3スイッチ43bと接続されている。   As shown in FIG. 1, a server 21 is provided in the data center DC1, and a server 22 is provided in the data center DC2. The servers 21 and 22 are information processing apparatuses that operate VMs provided to clients. The server 21 is connected to the L3 switch 43a of the network NW, and the server 22 is connected to the L3 switch 43b of the network NW.

なお、説明を簡単にするために、本実施形態では、図1に示すように、サーバがサーバ21、22の2台の場合で説明するが、VMを稼働させることが可能なサーバの台数が3台以上であってもよい。データセンタの数も2つに限らない。また、OFC45に1つのOFS41が接続される場合を示しているが、複数のOFS41がOFC45に接続されていてもよい。   In order to simplify the description, in the present embodiment, as illustrated in FIG. 1, the description will be made on the case where there are two servers 21 and 22, but the number of servers capable of operating VMs is as follows. Three or more units may be used. The number of data centers is not limited to two. Moreover, although the case where one OFS 41 is connected to the OFC 45 is shown, a plurality of OFS 41 may be connected to the OFC 45.

次に、本実施形態における制御装置10の構成を説明する。図2は図1に示した制御装置の一構成例を示すブロック図である。   Next, the configuration of the control device 10 in the present embodiment will be described. FIG. 2 is a block diagram showing an example of the configuration of the control device shown in FIG.

図2に示すように、制御装置10は、制御部11、VM切替制御部12、およびNW切替制御部13を含む構成である。制御部11は、パラメタ抽出部14と、Config部15と、X値計算部16と、連動制御部17とを有する。   As illustrated in FIG. 2, the control device 10 includes a control unit 11, a VM switching control unit 12, and an NW switching control unit 13. The control unit 11 includes a parameter extraction unit 14, a Config unit 15, an X value calculation unit 16, and an interlock control unit 17.

Config部15には、経路切替指示を送信するタイミングを決定するために用いられるパラメタの値が予め格納されている。Config部15が記憶するパラメタについては後述する。   The Config unit 15 stores in advance parameter values that are used to determine the timing for transmitting the path switching instruction. Parameters stored by the Config unit 15 will be described later.

パラメタ抽出部14は、管理装置30から負荷情報を受信すると、負荷情報から高負荷のサーバの情報を読み出し、そのサーバに予め決められたパラメタの値を要求する。そして、パラメタ抽出部14は、移行対象のVMを動作させているサーバからパラメタの値を取得すると、取得したパラメタの値をConfig部15から読み出したパラメタの値と一緒にしてX値計算部16に渡す。   When the load information is received from the management device 30, the parameter extraction unit 14 reads information on a high-load server from the load information and requests a predetermined parameter value from the server. Then, when the parameter extraction unit 14 acquires the parameter value from the server operating the migration target VM, the parameter extraction unit 14 combines the acquired parameter value with the parameter value read from the Config unit 15, and the X value calculation unit 16. To pass.

X値計算部16は、連動制御部17がVM移行指示を送信した時刻の情報を連動制御部17から受け取り、パラメタ抽出部14からパラメタの値を受け取ると、パラメタの値を所定の計算式に代入して、「VM移行指示を送信した時刻」から「経路切替指示を送信する時刻」までの時間Xを算出する。以下に、算出方法の一例を説明する。   When the X value calculation unit 16 receives information on the time at which the interlock control unit 17 has transmitted the VM migration instruction from the link control unit 17 and receives the parameter value from the parameter extraction unit 14, the X value calculation unit 16 converts the parameter value into a predetermined calculation formula. By substituting, the time X from “the time when the VM migration instruction is transmitted” to “the time when the path switching instruction is transmitted” is calculated. Hereinafter, an example of the calculation method will be described.

<パラメタ>
C: メモリコピー帯域[Mb/s]
M: サーバ21のメモリ領域[Mbyte]
R: サーバ21のメモリ使用率
V: VM切替時間[sec]
P: 調整パラメタ
N: ネットワーク切り替え時間[sec]
T: VM移行指示からメモリコピー開始までの時間[sec]
これらのパラメタのうち、C,M,V,P,NおよびTはConfig部15に予め格納されている。
<Parameter>
C: Memory copy bandwidth [Mb / s]
M: Memory area of server 21 [Mbyte]
R: Memory usage rate of server 21 V: VM switching time [sec]
P: Adjustment parameter N: Network switching time [sec]
T: Time from VM migration instruction to memory copy start [sec]
Among these parameters, C, M, V, P, N, and T are stored in the Config unit 15 in advance.

X値計算部16は、サーバ21からパラメタRおよびTの値を取得し、Config部15からパラメタC,M,V,P,NおよびTの値を読み出し、これらのパラメタの値を、下記の式(1)に代入して、X値を算出する。   The X value calculation unit 16 acquires the values of the parameters R and T from the server 21, reads the values of the parameters C, M, V, P, N, and T from the Config unit 15, and sets the values of these parameters as follows: Substituting into the formula (1), the X value is calculated.

X = (M×R×8×P/C)+(V/2)−N+T・・・式(1)
ただし、式(1)において、Xが負の場合には、連動制御部17が送信するVM移行指示と経路切替指示を逆転させて調整する。
X = (M × R × 8 × P / C) + (V / 2) −N + T Equation (1)
However, in the formula (1), when X is negative, the VM shift instruction and the path switching instruction transmitted by the interlock control unit 17 are reversed and adjusted.

連動制御部17は、管理対象のサーバ21、22のMACアドレスの情報を記憶する。連動制御部17は、管理装置30から負荷情報を受信すると、負荷情報から高負荷のサーバの情報を読み出し、そのサーバ宛にVM移行指示を送信するようにVM切替制御部12に通知する。また、連動制御部17は、X値計算部17からX値を受け取ると、VM移行指示を送信した時刻からXの時間経過したときに、経路切替指示を送信するようにNW切替制御部13に通知する。このとき、連動制御部17は、VM移行指示を送信した際にVMをどのサーバに移行させるかを認識しているので、移行前のVMが使用していたIPアドレスと移行先のサーバのMACアドレスの情報を含む経路情報を経路切替指示に添付する。   The interlock control unit 17 stores information on the MAC addresses of the servers 21 and 22 to be managed. When the load control information is received from the management device 30, the interlock control unit 17 reads information on the high load server from the load information, and notifies the VM switching control unit 12 to transmit a VM migration instruction to the server. Further, when the interlock control unit 17 receives the X value from the X value calculation unit 17, when the time X has elapsed from the time when the VM transition instruction is transmitted, the interlock control unit 17 transmits the route switching instruction to the NW switching control unit 13. Notice. At this time, since the interlock control unit 17 recognizes which server the VM is to be migrated to when the VM migration instruction is transmitted, the IP address used by the VM before migration and the MAC of the migration destination server The route information including the address information is attached to the route switching instruction.

VM切替制御部12は、連動制御部17からの通知にしたがって、指定されたサーバ宛にVM移行指示を送信する。このVM移行指示には、移行対象のVMを特定するための情報と、移行先のサーバを特定するための情報が含まれている。   The VM switching control unit 12 transmits a VM migration instruction to the designated server in accordance with the notification from the interlock control unit 17. This VM migration instruction includes information for identifying the migration target VM and information for identifying the migration destination server.

NW切替制御部13は、連動制御部17からの通知にしたがって、経路切替指示をOFC45に送信する。本実施形態では、VM移行指示をトリガとし、VM移行指示からX秒後に「経路切替指示」を発するようにしている。Xの値は、「経路切替指示」に因るOFS41での経路切替が、「VM切替」のちょうど中間点で終了するように、上記のパラメタから算出される。   The NW switching control unit 13 transmits a path switching instruction to the OFC 45 according to the notification from the interlock control unit 17. In this embodiment, a VM transition instruction is used as a trigger, and a “route switching instruction” is issued X seconds after the VM transition instruction. The value of X is calculated from the above parameters so that the path switching in the OFS 41 due to the “path switching instruction” ends just at the midpoint of the “VM switching”.

なお、制御部11、VM切替制御部12およびNW切替制御部13の一部または全部は、各機能を実行するための専用回路で構成されてもよく、プログラムを記憶するメモリ(不図示)とCPU(Central Processing Unit)(不図示)とが制御部10に予め設けられ、CPUがプログラムにしたがって処理を実行することで仮想的に構成されてもよい。   Note that a part or all of the control unit 11, the VM switching control unit 12, and the NW switching control unit 13 may be configured by a dedicated circuit for executing each function, and a memory (not shown) that stores a program. A CPU (Central Processing Unit) (not shown) may be provided in the control unit 10 in advance, and the CPU may be configured virtually by executing processing according to a program.

また、サーバ21で稼働するVMで使用されていたIPアドレスは、GARP通知よりも前に、管理装置30から制御装置10に予め通知されていてもよく、管理装置30が負荷情報を制御装置10に送信する際に制御装置10に通知してもよく、その方法は限定されない。   Further, the IP address used in the VM running on the server 21 may be notified in advance from the management device 30 to the control device 10 before the GARP notification, and the management device 30 sends the load information to the control device 10. The control device 10 may be notified when transmitting to the mobile station, and the method is not limited.

次に、本実施形態のVMマイグレーションにおける、マイグレーション方法の動作手順を説明する。図3は本実施形態のVMマイグレーションの動作手順を示すシーケンス図である。   Next, the operation procedure of the migration method in the VM migration of this embodiment will be described. FIG. 3 is a sequence diagram showing an operation procedure of VM migration according to this embodiment.

ここでは、データセンタDC1内のサーバ21で稼働中のVMを、サーバ21の過負荷などの要因に因り、データセンタDC2のサーバ22にマイグレーションする場合で説明する。   Here, a case will be described in which a VM operating on the server 21 in the data center DC1 is migrated to the server 22 in the data center DC2 due to factors such as an overload of the server 21.

制御装置10は管理装置30を介してサーバ21の負荷を監視する。制御装置10は、サーバ21の過負荷を検出すると、メモリ使用率等のパラメタの値をサーバ21から取得する(ステップ201)。続いて、制御装置10は、VM移行指示を管理装置30を介してサーバ21に送信する(ステップ202、203)。サーバ21は、稼働中のVMで使用されるOS、ソフトウェアプログラムおよびデータを、仮想ネットワークVLAN3を介してサーバ22にコピーするVM移行動作を行う(ステップ204)。   The control device 10 monitors the load on the server 21 via the management device 30. When the control device 10 detects an overload of the server 21, the control device 10 acquires values of parameters such as a memory usage rate from the server 21 (step 201). Subsequently, the control device 10 transmits a VM migration instruction to the server 21 via the management device 30 (steps 202 and 203). The server 21 performs a VM migration operation for copying the OS, software program, and data used by the running VM to the server 22 via the virtual network VLAN 3 (step 204).

一方、制御装置10は、ステップ202の後、X値を算出し、VM移行指示を送信してからX秒後に経路切替指示をOFC45に送信する(ステップ205)。サーバ21、22は、ステップ204の後、VM切替動作を行う(ステップ206)。OFC45は、制御装置10から経路切替指示を受信すると、経路切替情報を含む経路切替指示をOFC41に送信する(ステップ207)。OFC45は、OFC41から受信した経路切替情報にしたがってフローテーブルを更新し、VMの通信経路として、仮想ネットワークVLAN1から仮想ネットワークVLAN2に切り替える。その結果、ステップ206のVM切替の中間で、ネットワーク切替が終了する。   On the other hand, after step 202, the control device 10 calculates an X value, and transmits a path switching instruction to the OFC 45 X seconds after transmitting the VM migration instruction (step 205). The servers 21 and 22 perform a VM switching operation after step 204 (step 206). When receiving the path switching instruction from the control device 10, the OFC 45 transmits a path switching instruction including the path switching information to the OFC 41 (step 207). The OFC 45 updates the flow table according to the path switching information received from the OFC 41, and switches from the virtual network VLAN1 to the virtual network VLAN2 as the VM communication path. As a result, the network switching is completed in the middle of the VM switching in step 206.

サーバ22は、VM切替動作が終了すると、GARP通知を制御装置10に送信する(ステップ208)。制御装置10は、GARP通知をサーバ22から受信すると、VMマイグレーションが終了したことを認識する。   When the VM switching operation ends, the server 22 transmits a GARP notification to the control device 10 (step 208). When receiving the GARP notification from the server 22, the control device 10 recognizes that the VM migration has ended.

図3を参照して説明したように、VM切替の途中でネットワーク切替が終了しているため、VM切替の後にネットワーク切替にかかる時間が不要となり、クライアントに対するサービスの停止がVM切替の時間で済む。   As described with reference to FIG. 3, since the network switching is completed in the middle of the VM switching, the time required for the network switching after the VM switching is unnecessary, and the service stop for the client can be performed for the time of the VM switching. .

次に、本実施形態のマイグレーション方法による効果を具体例で説明する。図4は本実施形態のVMマイグレーションによるシミュレーションの結果を示す表である。   Next, the effect of the migration method of this embodiment will be described using a specific example. FIG. 4 is a table showing the results of simulation by VM migration of this embodiment.

図4は、パターン1およびパターン2の2つのパターンの場合を示す。パターン1は、メモリコピー帯域Cが100[Mb/sec]の場合であり、パターン2は、メモリコピー帯域Cが1000[Mb/sec]の場合である。   FIG. 4 shows the case of two patterns of pattern 1 and pattern 2. Pattern 1 is when the memory copy bandwidth C is 100 [Mb / sec], and pattern 2 is when the memory copy bandwidth C is 1000 [Mb / sec].

VM移行指示の時刻をT0とすると、パターン1の場合、時刻T0からネットワーク切替時刻(NM切替時刻)までの時間が49.05秒であり、時刻T0からVM切替時刻までの時間が48.3〜49.8である。また、パターン2の場合、時刻T0からNM切替時刻までの時間が5.85秒であり、時刻T0からVM切替時刻までの時間が5.3〜6.8である。パターン1、2のいずれの場合でも、ネットワーク切替がVM切替中に行われていることがわかる。時刻T0は、制御装置10がサーバ21に対してVMをサーバ21に移行する旨を指示した時刻に相当する。   Assuming that the VM migration instruction time is T0, in the case of pattern 1, the time from the time T0 to the network switching time (NM switching time) is 49.05 seconds, and the time from the time T0 to the VM switching time is 48.3. ~ 49.8. In the case of Pattern 2, the time from time T0 to NM switching time is 5.85 seconds, and the time from time T0 to VM switching time is 5.3 to 6.8. In either case of patterns 1 and 2, it can be seen that network switching is performed during VM switching. The time T0 corresponds to the time when the control apparatus 10 instructs the server 21 to migrate the VM to the server 21.

従来では、パケットロスの発生する時間が「VM切替時間V+ネットワーク切替時間N」であったのに対し、本実施形態のマイグレーション方法では、パケットロスの発生する時間を「VM切替時間V」に短縮できる。図4に示す例では、パケットロスの発生する時間が4.5秒から1.5秒に短縮されている。   Conventionally, the time when packet loss occurs is “VM switching time V + network switching time N”, but in the migration method of this embodiment, the time when packet loss occurs is shortened to “VM switching time V”. it can. In the example shown in FIG. 4, the time when packet loss occurs is shortened from 4.5 seconds to 1.5 seconds.

本実施形態によれば、制御装置が、VM移行前のサーバから抽出したパラメタの値に基づいて、VM移行指示を送信した時刻から経路切替指示を送信するまでの時間を算出し、VMマイグレーションの終了前に経路切替指示を送信している。その結果、VM切替の動作の途中で、ネットワーク切り替えが行われる。そのため、制御装置がGARP通知を受信してから経路切替指示を送信する従来技術に比べて、「ネットワーク切替」の時間分、クライアントに対するサービスの停止時間を短縮することができる。   According to the present embodiment, the control device calculates the time from the time when the VM migration instruction is transmitted to the time when the route switching instruction is transmitted based on the value of the parameter extracted from the server before the VM migration. A route switching instruction is transmitted before the end. As a result, network switching is performed during the VM switching operation. Therefore, the service stop time for the client can be shortened by “network switching” time compared to the conventional technique in which the control device transmits the route switching instruction after receiving the GARP notification.

また、クライアント端末50とVMとが仮想ネットワークVLANで通信していない場合、サーバ22は、VMマイグレーションが終了したとき、ネットワークNWに設けられた全てのネットワーク機器に対して、MACアドレスの変更を通知するためのARP通知をブロードキャストで通知する必要がある。これに対して、本実施形態では、VMマイグレーションに連動して仮想ネットワークVLANによる通信経路も切り替えているので、ネットワークの負荷分散を実現することができる。   If the client terminal 50 and the VM are not communicating with each other via the virtual network VLAN, the server 22 notifies the change of the MAC address to all the network devices provided in the network NW when the VM migration is completed. In order to do so, it is necessary to broadcast an ARP notification. On the other hand, in the present embodiment, since the communication path by the virtual network VLAN is switched in conjunction with the VM migration, the load distribution of the network can be realized.

(第2の実施形態)
第1の実施形態では、経路切替指示を発するタイミングを制御装置が所定のパラメタの値に基づいて決定するものであったが、本実施形態は、VMの移行先のサーバが経路切替指示の発生トリガとなる「ダミーのGARP通知」を制御装置に送信するものである。
(Second Embodiment)
In the first embodiment, the control device determines the timing for issuing a path switching instruction based on the value of a predetermined parameter. However, in this embodiment, the VM migration destination server generates a path switching instruction. A “dummy GARP notification” as a trigger is transmitted to the control device.

本実施形態のVMマイグレーションを説明する。なお、本実施形態のシステムの全体は、図1に示したシステムと同様であり、図1または図8を参照して説明した構成と同様な構成についての詳細な説明を省略し、第1の実施形態と異なる点を詳しく説明する。   The VM migration of this embodiment will be described. Note that the entire system of the present embodiment is the same as the system shown in FIG. 1, and a detailed description of the same configuration as the configuration described with reference to FIG. 1 or FIG. Differences from the embodiment will be described in detail.

はじめに、本実施形態におけるサーバ22の構成を説明する。図5は本実施形態におけるサーバの一構成例を示すブロック図である。   First, the configuration of the server 22 in the present embodiment will be described. FIG. 5 is a block diagram showing a configuration example of the server in the present embodiment.

本実施形態では、VMがサーバ21からサーバ22にライブマイグレーションする場合とし、サーバ22の構成を説明するが、サーバ21もサーバ22と同様な構成であってもよい。また、本実施形態では、本発明のライブマイグレーション方法に関連する構成について説明し、VMを稼働するための機能についての詳細な説明を省略する。   In this embodiment, it is assumed that the VM performs live migration from the server 21 to the server 22, and the configuration of the server 22 will be described. However, the server 21 may have the same configuration as the server 22. In this embodiment, a configuration related to the live migration method of the present invention will be described, and a detailed description of a function for operating a VM will be omitted.

図5に示すように、サーバ22は、VMで使用されるOS、ソフトウェアプログラムおよびデータを格納するための記憶部25と、ネットワークNWを介してクライアント端末50とデータを送受信する通信部26と、各部を制御する制御部27とを有する。   As shown in FIG. 5, the server 22 includes a storage unit 25 for storing the OS, software program, and data used in the VM, a communication unit 26 that transmits and receives data to and from the client terminal 50 via the network NW, And a control unit 27 that controls each unit.

制御部27は、メモリコピー等のVM移行の動作が終了し、サーバ21でのVM停止を検出すると、ダミーのGARP通知を制御装置10に送信する。ダミーのGARP通知は、制御装置10に経路切替指示を発生させるためのトリガとなるものである。ダミーのGARP通知には、少なくとも制御装置10に経路切替指示を送信可能にするための情報が含まれていればよい。例えば、サーバ21で稼働していたVMを指定するためのIPアドレスとVMの移動先となるサーバ22のMACアドレスの情報がダミーのGARP通知に含まれている。そして、制御部27は、VMマイグレーションが終了すると、GARP通知を制御装置10に送信する。このGARP通知には、VMマイグレーションが終了したことを示す情報が含まれている。   The control unit 27 transmits a dummy GARP notification to the control device 10 when the VM migration operation such as memory copy is completed and the VM stop in the server 21 is detected. The dummy GARP notification serves as a trigger for causing the control device 10 to generate a path switching instruction. The dummy GARP notification only needs to include at least information for enabling transmission of a path switching instruction to the control device 10. For example, the dummy GARP notification includes information on the IP address for specifying the VM operating on the server 21 and the MAC address of the server 22 that is the migration destination of the VM. Then, when the VM migration ends, the control unit 27 transmits a GARP notification to the control device 10. This GARP notification includes information indicating that the VM migration has ended.

次に、本実施形態における制御装置10の構成を説明する。図6は本実施形態における制御装置の一構成例を示すブロック図である。   Next, the configuration of the control device 10 in the present embodiment will be described. FIG. 6 is a block diagram illustrating a configuration example of the control device according to the present embodiment.

図6に示すように、本実施形態の制御装置10は、連動制御部17を含む制御部11と、VM切替制御部12と、NW切替制御部13とを有する構成である。   As shown in FIG. 6, the control device 10 of the present embodiment is configured to include a control unit 11 including an interlocking control unit 17, a VM switching control unit 12, and an NW switching control unit 13.

連動制御部17は、管理対象のサーバ21、22のMACアドレスの情報を記憶する。連動制御部17は、管理装置30から負荷情報を受信すると、負荷情報から高負荷のサーバの情報を読み出し、そのサーバ宛にVM移行指示を送信するようにVM切替制御部12に通知する。また、連動制御部17は、サーバからダミーのGARP通知を受け取ると、経路切替指示を送信するようにNW切替制御部13に通知する。このとき、連動制御部17は、VMをどのサーバに移行させるかを認識しているので、移行前のVMが使用していたIPアドレスと移行先のサーバのMACアドレスの情報を含む経路情報を経路切替指示に添付する。   The interlock control unit 17 stores information on the MAC addresses of the servers 21 and 22 to be managed. When the load control information is received from the management device 30, the interlock control unit 17 reads information on the high load server from the load information, and notifies the VM switching control unit 12 to transmit a VM migration instruction to the server. Also, upon receiving a dummy GARP notification from the server, the interlock control unit 17 notifies the NW switching control unit 13 to transmit a route switching instruction. At this time, since the interlock control unit 17 recognizes which server the VM is to be migrated to, the path information including the IP address used by the VM before the migration and the MAC address information of the migration destination server is obtained. Attached to the route switching instruction.

VM切替制御部12は、連動制御部17からの通知にしたがって、指定されたサーバ宛にVM移行指示を送信する。このVM移行指示には、移行対象のVMを特定するための情報と、移行先のサーバを特定するための情報が含まれている。NW切替制御部13は、連動制御部17からの通知にしたがって、経路切替指示をOFC45に送信する。   The VM switching control unit 12 transmits a VM migration instruction to the designated server in accordance with the notification from the interlock control unit 17. This VM migration instruction includes information for identifying the migration target VM and information for identifying the migration destination server. The NW switching control unit 13 transmits a path switching instruction to the OFC 45 according to the notification from the interlock control unit 17.

次に、本実施形態のVMマイグレーションにおける、マイグレーション方法の動作手順を説明する。図7は本実施形態のVMマイグレーションの動作手順を示すシーケンス図である。   Next, the operation procedure of the migration method in the VM migration of this embodiment will be described. FIG. 7 is a sequence diagram illustrating the operation procedure of the VM migration according to this embodiment.

本実施形態においても、データセンタDC1内のサーバ21で稼働中のVMを、サーバ21の過負荷などの要因に因り、データセンタDC2のサーバ22にマイグレーションする場合で説明する。   Also in the present embodiment, a case will be described where a VM operating on the server 21 in the data center DC1 is migrated to the server 22 in the data center DC2 due to factors such as an overload of the server 21.

制御装置10は管理装置30を介してサーバ21の負荷を監視する。制御装置10は、サーバ21の過負荷を検出すると、VM移行指示を管理装置30を介してサーバ21に送信する(ステップ251、252)。サーバ21は、稼働中のVMで使用されるOS、ソフトウェアプログラムおよびデータを、仮想ネットワークVLAN3を介してサーバ22にコピーするVM移行動作を行う(ステップ253)。   The control device 10 monitors the load on the server 21 via the management device 30. When detecting an overload of the server 21, the control device 10 transmits a VM migration instruction to the server 21 via the management device 30 (steps 251 and 252). The server 21 performs a VM migration operation for copying the OS, software program, and data used by the running VM to the server 22 via the virtual network VLAN 3 (step 253).

サーバ22は、ステップ253のVM移行動作が終了したときに、ダミーのGARP通知を制御装置10に送信し(ステップ254)、続いて、サーバ21、22は、VM切替動作を開始する(ステップ255)。制御装置10は、ダミーのGARP通知をサーバ22から受信すると、VMのIPアドレスとサーバ22のMACアドレスの情報を含む経路切替指示をOFC45に送信する(ステップ256)。サーバ22は、VM切替動作が終了すると、GARP通知を制御装置10に送信する(ステップ257)。制御装置10は、GARP通知をサーバ22から受信すると、この時点で、VMマイグレーションが終了したことを認識する。   When the VM migration operation in step 253 is completed, the server 22 transmits a dummy GARP notification to the control device 10 (step 254). Subsequently, the servers 21 and 22 start the VM switching operation (step 255). ). When receiving the dummy GARP notification from the server 22, the control device 10 transmits a path switching instruction including information on the VM IP address and the MAC address of the server 22 to the OFC 45 (step 256). When the VM switching operation ends, the server 22 transmits a GARP notification to the control device 10 (step 257). When receiving the GARP notification from the server 22, the control device 10 recognizes that the VM migration has ended at this point.

一方、OFC45は、制御装置10から経路切替指示を受信すると、経路切替情報を含む経路切替指示をOFC41に送信する(ステップ258)。OFC45は、OFC41から受信した経路切替情報にしたがってフローテーブルを更新し、VMの通信経路として、仮想ネットワークVLAN1から仮想ネットワークVLAN2に切り替える。   On the other hand, when the OFC 45 receives the path switching instruction from the control device 10, the OFC 45 transmits a path switching instruction including the path switching information to the OFC 41 (step 258). The OFC 45 updates the flow table according to the path switching information received from the OFC 41, and switches from the virtual network VLAN1 to the virtual network VLAN2 as the VM communication path.

図7を参照して説明したように、VM移行動作が終了したときに、サーバ22から送出されるダミーのGARP通知をトリガとして、制御装置10が経路切替指示を発しているため、「VM切替」の時間分、クライアントに対するサービスの停止時間が短縮される。   As described with reference to FIG. 7, when the VM migration operation ends, the control device 10 issues a route switching instruction triggered by a dummy GARP notification sent from the server 22. ”, The service stop time for the client is shortened.

本実施形態によれば、制御装置が、VMマイグレーションの終了前に、サーバから受信した、ダミーのGARP通知をトリガとして、経路切替指示を送信している。その結果、制御装置がGARP通知を受信してから経路切替指示を送信する従来技術に比べて、クライアントに対するサービスの停止時間を短縮することができる。サーバがダミーのGARP通知をVM切替動作の前に送信すれば、「VM切替」動作の時間分、サービス停止時間を短縮できる。   According to the present embodiment, the control device transmits a path switching instruction using a dummy GARP notification received from the server as a trigger before the VM migration ends. As a result, the service stop time for the client can be shortened as compared with the conventional technique in which the control device transmits the path switching instruction after receiving the GARP notification. If the server transmits a dummy GARP notification before the VM switching operation, the service stop time can be shortened by the time of the “VM switching” operation.

なお、上述の実施形態では、サーバ21からサーバ22にVMを移行する場合で説明したが、はじめにサーバ22でVMを稼働させ、サーバ22からサーバ21にVMを移行してもよい。また、上述の実施形態では、サーバ21がサーバ22に比べて高負荷の場合で説明したので、管理装置30がサーバ21を監視する場合で説明したが、管理装置30は、サーバ21、22を均等に監視してもよく、また、サーバ22が低負荷または予備装置であることを予め認識している場合には、サーバ22を監視していなくてもよい。   In the above-described embodiment, a case has been described in which the VM is migrated from the server 21 to the server 22, but the VM may be first operated on the server 22 and the VM may be migrated from the server 22 to the server 21. Further, in the above-described embodiment, since the server 21 is described as having a higher load than the server 22, the management device 30 has been described as monitoring the server 21. The server 22 may be monitored equally, and when the server 22 recognizes in advance that the server 22 is a low load or a spare device, the server 22 may not be monitored.

また、上述の実施形態において、サーバ22はGARP通知を制御装置10に送信する際、仮想ネットワークVLAN2にブロードキャストで送信してもよい。   In the above-described embodiment, the server 22 may transmit the GARP notification to the control device 10 by broadcast to the virtual network VLAN2.

また、上述の実施形態では、サーバ21が高負荷になったときにVMマイグレーションを実施する場合で説明したが、サーバ21に故障が発生した場合など他の要因によってVMマイグレーションを実施する場合にも、本発明を適用してもよい。   In the above-described embodiment, the case where the VM migration is performed when the server 21 is heavily loaded has been described. However, when the VM migration is performed due to other factors, such as when a failure occurs in the server 21. The present invention may be applied.

10 制御装置
21、22 サーバ
30 管理装置
41 OFS
45 OFC
50 クライアント端末
NW ネットワーク
10 control device 21, 22 server 30 management device 41 OFS
45 OFC
50 Client terminal NW network

Claims (7)

第1のデータセンタに設けられ、ネットワーク内の第1の通信経路を介してクライアント端末と接続される第1のサーバと、
前記第1のデータセンタとは異なる第2のデータセンタに設けられ、前記ネットワーク内の第2の通信経路を介して前記クライアント端末と接続される第2のサーバと、
前記クライアント端末と前記第1および第2のサーバとの通信経路となる、前記第1および第2の通信経路を切り替え可能なネットワーク切替装置と、
前記第1のサーバが前記第1の通信経路を介して前記クライアント端末に提供している仮想マシンを、該第1のサーバに対して前記第2のサーバに移行する旨を指示した後、該仮想マシンの前記第1のサーバから前記第2のサーバへの移行が完了する前に、前記クライアント端末に接続される通信経路を前記第1の通信経路から前記第2の通信経路に切り替えるように、前記ネットワーク切替装置に通信経路の切り替えを指示する制御装置と、
を有する仮想マシンのマイグレーションシステム。
A first server provided in the first data center and connected to the client terminal via a first communication path in the network;
A second server provided in a second data center different from the first data center and connected to the client terminal via a second communication path in the network;
A network switching device capable of switching between the first and second communication paths, which is a communication path between the client terminal and the first and second servers;
After instructing the first server to migrate the virtual machine provided to the client terminal via the first communication path to the second server by the first server, Before the migration of the virtual machine from the first server to the second server is completed, the communication path connected to the client terminal is switched from the first communication path to the second communication path. A control device that instructs the network switching device to switch a communication path;
A virtual machine migration system.
請求項1記載の仮想マシンのマイグレーションシステムにおいて、
前記制御装置は、
前記第1のサーバに関する所定のパラメタの値を取得し、取得したパラメタの値に基づいて、該第1のサーバに対して前記仮想マシンを前記第2のサーバに移行する旨を指示した時刻である移行指示時刻から前記ネットワーク切り替え装置に前記通信経路の切り替えを指示するまでの時間を算出し、前記移行指示時刻から該時間が経過したときに、前記ネットワーク切替装置に前記通信経路の切り替えを指示する、仮想マシンのマイグレーションシステム。
The virtual machine migration system according to claim 1,
The control device includes:
A value of a predetermined parameter related to the first server is acquired, and based on the acquired parameter value, the time when the first server is instructed to migrate the virtual machine to the second server. Calculate the time from a certain transition instruction time to instructing the network switching device to switch the communication path, and when the time has elapsed from the transition instruction time, instruct the network switching device to switch the communication path A virtual machine migration system.
請求項1記載の仮想マシンのマイグレーションシステムにおいて、
前記第2のサーバは、
前記仮想マシンが前記第1のサーバで停止したことを検出すると、ダミーのGARP通知を前記制御装置に送信し、
前記制御装置は、
前記第2のサーバから前記ダミーのGARP通知を受信すると、前記ネットワーク切替装置に前記通信経路の切り替えを指示する、仮想マシンのマイグレーションシステム。
The virtual machine migration system according to claim 1,
The second server is
Upon detecting that the virtual machine has stopped at the first server, a dummy GARP notification is sent to the control device;
The control device includes:
A virtual machine migration system that instructs the network switching device to switch the communication path when receiving the dummy GARP notification from the second server.
第1のデータセンタに設けられ、ネットワーク内の第1の通信経路を介してクライアント端末と接続される第1のサーバと、第2のデータセンタに設けられ、前記ネットワーク内の第2の通信経路を介して前記クライアント端末と接続される第2のサーバと、該クライアント端末と前記第1および第2のサーバとの通信経路となる、前記第1および第2の通信経路を切り替え可能なネットワーク切替装置と接続される制御装置であって、
前記第1のサーバが前記第1の通信経路を介して前記クライアント端末に提供している仮想マシンを、該第1のサーバに対して前記第2のサーバに移行する旨を指示するVM切替制御部と、
前記仮想マシンの前記第1のサーバから前記第2のサーバへの移行が完了する前に、前記クライアント端末に接続される通信経路を前記第1の通信経路から前記第2の通信経路に切り替えるように、前記ネットワーク切替装置に通信経路の切り替えを指示するNW切替制御部と、
を有する制御装置。
A first server provided in the first data center and connected to the client terminal via a first communication path in the network; and a second communication path provided in the second data center and in the network. Network switching capable of switching between the first and second communication paths, which is a communication path between the client terminal and the first and second servers, and a second server connected to the client terminal via A control device connected to the device,
VM switching control for instructing the first server to migrate the virtual machine provided to the client terminal via the first communication path by the first server to the second server And
Before the migration of the virtual machine from the first server to the second server is completed, the communication path connected to the client terminal is switched from the first communication path to the second communication path. NW switching control unit for instructing the network switching device to switch the communication path;
Control device.
請求項4記載の制御装置において、
前記第1のサーバに関する所定のパラメタの値を取得するパラメタ抽出部と、
前記パラメタ抽出部が取得した前記所定のパラメタの値に基づいて、前記第1のサーバに対して前記仮想マシンを前記第2のサーバに移行する旨を指示した時刻である移行指示時刻から前記ネットワーク切り替え装置に前記通信経路の切り替えを指示するまでの時間を算出する計算部と、をさらに有し、
前記NW切替制御部は、
前記移行指示時刻から前記計算部が算出した時間が経過したときに、前記ネットワーク切替装置に前記通信経路の切り替えを指示する、制御装置。
The control device according to claim 4, wherein
A parameter extraction unit for obtaining a value of a predetermined parameter relating to the first server;
Based on the value of the predetermined parameter acquired by the parameter extraction unit, the network starts from a migration instruction time which is a time when the first server is instructed to migrate the virtual machine to the second server. A calculation unit that calculates a time until the switching device is instructed to switch the communication path, and
The NW switching control unit
A control device that instructs the network switching device to switch the communication path when a time calculated by the calculation unit has elapsed from the transition instruction time.
第1のデータセンタに設けられ、ネットワーク内の第1の通信経路を介してクライアント端末と接続される第1のサーバと、第2のデータセンタに設けられ、前記ネットワーク内の第2の通信経路を介して前記クライアント端末と接続される第2のサーバと、該クライアント端末と前記第1および第2のサーバとの通信経路となる、前記第1および第2の通信経路を切り替え可能なネットワーク切替装置と接続される制御装置による、仮想マシンのマイグレーション方法であって、
前記第1のサーバが前記第1の通信経路を介して前記クライアント端末に提供している仮想マシンを、該第1のサーバに対して前記第2のサーバに移行する旨を指示し、
前記仮想マシンの前記第1のサーバから前記第2のサーバへの移行が完了する前に、前記クライアント端末に接続される通信経路を前記第1の通信経路から前記第2の通信経路に切り替えるように、前記ネットワーク切替装置に通信経路の切り替えを指示する、仮想マシンのマイグレーション方法。
A first server provided in the first data center and connected to the client terminal via a first communication path in the network; and a second communication path provided in the second data center and in the network. Network switching capable of switching between the first and second communication paths, which is a communication path between the client terminal and the first and second servers, and a second server connected to the client terminal via A virtual machine migration method by a control device connected to a device,
Instructing the first server to move the virtual machine provided to the client terminal via the first communication path to the second server by the first server,
Before the migration of the virtual machine from the first server to the second server is completed, the communication path connected to the client terminal is switched from the first communication path to the second communication path. A method for migrating a virtual machine that instructs the network switching device to switch a communication path.
請求項6記載の仮想マシンのマイグレーション方法において、
前記第1のサーバに関する所定のパラメタの値を取得し、
取得したパラメタの値に基づいて、該第1のサーバに対して前記仮想マシンを前記第2のサーバに移行する旨を指示した時刻である移行指示時刻から前記ネットワーク切り替え装置に前記通信経路の切り替えを指示するまでの時間を算出し、
前記移行指示時刻から該時間が経過したときに、前記ネットワーク切替装置に前記通信経路の切り替えを指示する、仮想マシンのマイグレーション方法。
The virtual machine migration method according to claim 6,
Obtaining a value of a predetermined parameter relating to the first server;
Based on the acquired parameter value, the communication path is switched to the network switching device from the migration instruction time, which is the time when the first server is instructed to migrate the virtual machine to the second server. Calculate the time until
A method for migrating a virtual machine, which instructs the network switching device to switch the communication path when the time has elapsed from the migration instruction time.
JP2012182340A 2012-08-21 2012-08-21 Migration system of virtual machine, control device, and migration method Pending JP2014041414A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012182340A JP2014041414A (en) 2012-08-21 2012-08-21 Migration system of virtual machine, control device, and migration method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012182340A JP2014041414A (en) 2012-08-21 2012-08-21 Migration system of virtual machine, control device, and migration method

Publications (1)

Publication Number Publication Date
JP2014041414A true JP2014041414A (en) 2014-03-06

Family

ID=50393643

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012182340A Pending JP2014041414A (en) 2012-08-21 2012-08-21 Migration system of virtual machine, control device, and migration method

Country Status (1)

Country Link
JP (1) JP2014041414A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015146374A1 (en) * 2014-03-28 2015-10-01 株式会社Nttドコモ Virtualized resource management node and virtual machine migration method
JP2017161988A (en) * 2016-03-07 2017-09-14 日本電気株式会社 Server system, server device, method for enabling program execution, and program
WO2019225367A1 (en) * 2018-05-24 2019-11-28 日本電信電話株式会社 Information processing device, control device, transfer method, and program
WO2023095246A1 (en) * 2021-11-25 2023-06-01 日本電信電話株式会社 Control device, server, control system, and control method

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015146374A1 (en) * 2014-03-28 2015-10-01 株式会社Nttドコモ Virtualized resource management node and virtual machine migration method
EP3125122A1 (en) * 2014-03-28 2017-02-01 Ntt Docomo, Inc. Virtualized resource management node and virtual machine migration method
EP3125122A4 (en) * 2014-03-28 2017-03-29 Ntt Docomo, Inc. Virtualized resource management node and virtual machine migration method
JPWO2015146374A1 (en) * 2014-03-28 2017-04-13 株式会社Nttドコモ Virtualization resource management node and virtual machine migration method
US10120710B2 (en) 2014-03-28 2018-11-06 Ntt Docomo, Inc. Virtualized resource management node and virtual migration method for seamless virtual machine integration
JP2017161988A (en) * 2016-03-07 2017-09-14 日本電気株式会社 Server system, server device, method for enabling program execution, and program
US10467047B2 (en) 2016-03-07 2019-11-05 NEC Corporatian Server system and execution-facilitating method
WO2019225367A1 (en) * 2018-05-24 2019-11-28 日本電信電話株式会社 Information processing device, control device, transfer method, and program
WO2023095246A1 (en) * 2021-11-25 2023-06-01 日本電信電話株式会社 Control device, server, control system, and control method

Similar Documents

Publication Publication Date Title
US10601728B2 (en) Software-defined data center and service cluster scheduling and traffic monitoring method therefor
RU2651149C2 (en) Sdn-controller, data processing center system and the routed connection method
Obadia et al. Failover mechanisms for distributed SDN controllers
US20180307522A1 (en) Software-defined data center, and deployment method for service cluster therein
US9323570B2 (en) Computer system and migration method of virtual machine
EP2985952B1 (en) Method and device for protecting service reliability, and network virtualization system
JP5488979B2 (en) Computer system, controller, switch, and communication method
US10164824B2 (en) Indicating a master network controller in a virtual router redundancy protocol
WO2016177049A1 (en) Method and device for achieving capacity expansion and reduction of access apparatus
CN112769632A (en) Method and system for detecting network fault of data center
WO2020030000A1 (en) Disaster recovery switching method, related device and computer storage medium
CN109587286A (en) A kind of equipment connection control method and device
JP2009303090A (en) Load distribution server, network load distribution method and congestion avoidance method
JP2016536920A (en) Apparatus and method for network performance monitoring
US8908702B2 (en) Information processing apparatus, communication apparatus, information processing method, and relay processing method
JP2014041414A (en) Migration system of virtual machine, control device, and migration method
US20150334019A1 (en) Routing control method and non-transitory computer-readable recording medium storing routing control program
Benet et al. Minimizing live VM migration downtime using OpenFlow based resiliency mechanisms
US10447581B2 (en) Failure handling at logical routers according to a non-preemptive mode
JP6386485B2 (en) Management system, management method and management program
JP6604336B2 (en) Information processing apparatus, information processing method, and program
CN105765903A (en) Topology discovery method and device
CN105704257A (en) Media access control (MAC) address election method and device
JP2017022579A (en) Communication system, communication node and substitution processing method for communication system
CN114866509A (en) Virtual IP switching method, device and system

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20141031