WO2015062390A1 - 虚拟机迁移方法、装置及系统 - Google Patents
虚拟机迁移方法、装置及系统 Download PDFInfo
- Publication number
- WO2015062390A1 WO2015062390A1 PCT/CN2014/087734 CN2014087734W WO2015062390A1 WO 2015062390 A1 WO2015062390 A1 WO 2015062390A1 CN 2014087734 W CN2014087734 W CN 2014087734W WO 2015062390 A1 WO2015062390 A1 WO 2015062390A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- node
- idle
- address
- data block
- migrated
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/563—Data redirection of data network streams
Definitions
- the present invention relates to communications technologies, and in particular, to a virtual machine migration method, apparatus, and system.
- virtual machine migration that is, the operating system is migrated to another physical node without interrupting any host services in the operating system to be migrated.
- the virtual machine migration between the source node and the destination node mainly includes: using a transmission control protocol/internet protocol, or using a conversion cable technology to directly access remote memory (Rematic Direct Memory Access, RDMA for short).
- RDMA Remote Memory Access
- the present invention provides a virtual machine migration method, apparatus and system for improving the performance of other virtual machines connected between a source node and a destination node.
- a virtual machine migration method which includes:
- the first control node Determining, by the first control node, a first address of the first idle node in the first super node, where the first idle node is a node having idle resources in the first super node, and the first super node includes the first a control node, a first node, and at least one of the first idle nodes;
- the migration data block is a part of data ready to be migrated from the first node to the second node, and the second node is set in the second super node.
- the first control node is After the first node sends the first address of the first idle node, the method further includes:
- an address mapping message sent by the second control node so as to determine a mapping relationship between a third address of the second idle node and the first address, where the address mapping message includes the a mapping relationship between a second address of the second node and a third address of the second idle node, where the second idle node is a node in the second super node where resources are idle.
- the first control node sends the first address of the idle node to the first node Previously, it also included:
- the first control node allocates the idle node to the first node according to the idle node request.
- the second aspect provides a virtual machine migration method, including:
- the first node migrates the migrated data block to the second node by using the first idle node.
- the method before the first node migrates the migrated data block to the second node by using the first idle node, the method further includes:
- the migration data information Transmitting, by the first node, the migration data information to the first idle node, so that the first idle node establishes an address mapping relationship with the migrated data block in the first node, the migration data information And including size information of the migrated data block, and address information of the migrated data block in the first node.
- the first node receives a first idle child node sent by the first control node Before an address, it also includes:
- the first node sends a idle node request to the first control node, and the idle node requests to request to allocate the idle node.
- a virtual machine migration apparatus including:
- a determining module configured to determine a first address of the first idle node in the first super node, where the first idle node is a node with idle resources in the first super node, and the first super node includes the first a control node, a first node, and at least one of the first idle nodes;
- a sending module configured to send the first address of the first idle node to the first node, so that the first node migrates the migrated data block to the second node by using the first address,
- the migrated data block is a portion of data ready to migrate from the first node to the second node, the second node being disposed in the second super node.
- the method further includes: receiving a module
- the receiving module is configured to receive an address mapping message sent by the second control node, so as to determine a mapping relationship between a third address of the second idle node and the first address, where the address mapping message includes a mapping relationship between a second address of the second node and a third address of the second idle node, where the second idle node is a node in the second super node where resources are idle.
- the receiving module is further configured to receive a idle node request sent by the first node, where Said idle node request for requesting allocation of said idle node;
- the sending module is further configured to allocate the idle node to the first node according to the idle node request.
- a virtual machine migration apparatus including:
- a sending module configured to receive a first address of the first idle node sent by the first control node, to migrate the migrated data block to the second node by using the first address, where the migrated data block is prepared from the first One node migrates to a portion of data of the second node, and the second node is disposed in the second super node;
- a migration module configured to migrate the migrated data block to the second node by using the first idle node.
- the migrating module is further configured to send, by the first node, migration data information to the first idle node, so that the first idle node establishes Address mapping relationship between the migrated data blocks in the first node,
- the migration data information includes size information of the migrated data block, and address information of the migrated data block in the first node.
- the sending module is further configured to send a idle node request to the first control node, where The idle node request is used to request allocation of the idle node.
- the fifth aspect provides a virtual machine migration system, comprising: the virtual machine migration apparatus according to any one of the third aspects, and the virtual machine migration apparatus according to the fourth aspect.
- the virtual machine migration method, device, and system provided by the embodiment of the present invention determine, by the first control node, a first address of the idle node in the first super node, where the idle node is a node that has idle resources in the first super node; Then, the first control node sends the first address of the idle node to the first node, so that the first node migrates the migrated data block to the second node by using the first address, wherein the migrated data block is ready to migrate from the first node to A part of the data of the second node, and the second node is set in the second super node.
- the data to be migrated in the first node is divided into a plurality of migrated data blocks, and the migrated data block is migrated from the first address of the first node to the second node through the corresponding idle node, thereby reducing virtual machine migration. Performance of other applications and virtual machines connected to the migration network. Further, on-demand scheduling is implemented, and the utilization of idle resources in the data is improved.
- FIG. 1 is a flowchart of a virtual machine migration method according to an embodiment of the present invention
- FIG. 2 is a flowchart of a virtual machine migration method according to another embodiment of the present invention.
- FIG. 3 is a flowchart of a virtual machine migration method according to still another embodiment of the present invention.
- FIG. 4 is a schematic structural diagram of a virtual machine migration apparatus according to an embodiment of the present invention.
- FIG. 5 is a schematic structural diagram of a virtual machine migration apparatus according to another embodiment of the present invention.
- FIG. 6 is a schematic structural diagram of a virtual machine migration apparatus according to still another embodiment of the present invention.
- FIG. 7 is a schematic structural diagram of a virtual machine migrator according to an embodiment of the present invention.
- FIG. 8 is a schematic structural diagram of a virtual machine migrator according to another embodiment of the present invention.
- the virtual machine migration method provided by the embodiment of the present invention may be specifically applied to the virtual machine migration between the super nodes connected through the memory sharing network.
- the virtual machine migration method provided in this embodiment may be specifically implemented by the virtual machine migration method device.
- the virtual machine migration device can be implemented in software and/or hardware. The virtual machine migration method, apparatus, and system provided in this embodiment are described in detail below.
- FIG. 1 is a flowchart of a virtual machine migration method according to an embodiment of the present invention. As shown in FIG. 1, the method in this embodiment includes:
- Step 101 The first control node determines a first address of the first idle node in the first super node, where the first idle node is a node that has idle resources in the first super node.
- the first super node includes a first control node, a first node, and at least one idle child node.
- the first control node is responsible for monitoring the network of each node in the first super node and the idle state of the central processing unit. And if the first monitoring node determines that the network of the node in the first super node is in an idle state, determining that the node is the first idle node, and further determining that the address of the node is the first address of the first idle node.
- Step 102 The first control node sends the first address of the first idle node to the first node, so that the first node migrates the migrated data block to the second node by using the first address.
- the migration data block is a part of data ready to be migrated from the first node to the second node, that is, the first node divides the data to be migrated from the first node to the second node into multiple data blocks.
- the migrated data block is one of the plurality of data blocks; wherein the second node is disposed in the second super node, and the first node may be virtual machine memory.
- the first control node determines the first address of the first idle node in the first super node
- the first address is sent to the first node, and then the first node compares the size of the migrated data block with the migrated data block.
- the first address of the first node is sent to the first idle node, and then the first idle node monitors the migrated data block corresponding to the first node, and finally, the first idle node passes the network node control (NIC)
- NIC network node control
- each first idle node corresponds to an address of the migrated data block in the first node that does not intersect each other.
- the first address of the first idle node in the first super node is determined by the first control node, where the first idle node is a node with idle resources in the first super node; and then, the first control The node sends the first address of the first idle node to the first node, so that the first node migrates the migrated data block to the second node by using the first address, wherein the migrated data block is ready to migrate from the first node to the second node Part of the data, the second node is set in the second super node.
- the data to be migrated in the first node is divided into a plurality of migrated data blocks, and the migrated data block is migrated from the first address of the first node to the second node by the corresponding first idle node, thereby reducing the virtual Machine migration to the performance of other applications and virtual machines connected to the migration network. Further, on-demand scheduling is implemented, and the utilization of idle resources in the data is improved.
- the method may further include: the first control node receiving the address mapping message sent by the second control node, so as to determine a mapping relationship between the third address of the second idle node and the first address, where The address mapping message includes a mapping relationship between the second address of the second node and the third address of the second idle node, where the second idle node is a node in the second super node where the resource is idle.
- the second controller node may apply a second idle node in the second super node to receive the first node in a similar manner to the first control node.
- the migrated data block is received by the second idle node, and the migrated data block is written into the second node.
- the method may further include:
- the first control node may allocate the idle node to the idle node request.
- the first node may allocate the idle node to the idle node request.
- the first node may send a idle node request to the first control node, where the idle node request is used to request to allocate the idle node as the first node, where the idle node is at least one. Then, the first control node may notify the first node of the first address of the first idle node by using a response mode according to the idle node request sent by the first node. For example, when the virtual machine migration is initially performed, the data migration includes four data migration blocks, M1, M2, M3, and M4, and each data migration block has a size of 1 GB, and the first node sends a idle node request to the first control node. The idle node request needs to request 3 idle nodes as the first node.
- the first node sends the second address of the second node to the first control node. Then, after detecting the three available idle nodes N1, N2, and N3, the first control node sends the information of the first address of the three idle nodes to the first node, that is, the source node.
- FIG. 2 is a flowchart of a virtual machine migration method according to another embodiment of the present invention. As shown in FIG. 2, the method in this embodiment includes:
- Step 201 The first node receives a first address of the first idle node sent by the first control node, where the migrated data block is migrated to the second node by using the first address.
- the migrated data block in this embodiment is a part of data ready to be migrated from the first node to the second node, wherein the second node is set in the second super node.
- the first control node is responsible for monitoring the network of each node and the idle state of the central processing unit CPU in the first super node. If the first monitoring node determines that the network of one of the first super nodes is in an idle state, determining that the node is the first idle node, and further sending the address of the node as the first address of the idle child node to the first node.
- Step 202 The first node migrates the migrated data block to the second node by using the first idle node.
- the first node determines a specific location of the first idle node in the first super node, and then, the first node and the first idle The nodes respectively correspond to themselves through their own NICs, that is, the responsible data is sent to the memory blocks of the virtual machines in the second node.
- the first node receives the first address of the first idle node sent by the first control node, and uses the first address to migrate the migrated data block to the second node by using the first address, and then the first node passes the first
- the idle node migrates the migrated data block to the second node.
- the data to be migrated in the first node is divided into a plurality of migrated data blocks, and the migrated data block is obtained.
- the migration from the first address of the first node to the second node by the corresponding first idle node reduces the performance of the virtual machine migration to other applications and virtual machines connected in the migration network. Further, on-demand scheduling is implemented, and the utilization of idle resources in the data is improved.
- the method may further include:
- the first node sends the migration data information to the first idle node to map the relationship between the establishment of the first idle node and the migrated data block in the first node, where the migration data information includes the size information of the migrated data block. And the address information of the migrated data block in the first node.
- the first node sends the migrated data information to the first idle node, and each of the first idle nodes may establish an address mapping relationship with the migrated data block in the corresponding first node, and then the first idle node may The migrated data block is read from the corresponding first node by its own NIC, for example, the data is directly read from the first node by using a read-only memory. Further, after each first idle node can respectively establish an address mapping relationship of the corresponding migrated data block, the first node locks the migrated data block to prevent the data in the migrated data block from being changed, and ensures that the data is migrated. The correctness of the data in the block.
- the method may further include:
- the first node sends a first idle node request to the first control node, the first idle node requesting to request to allocate the first idle node as the first node.
- first idle node request may further include the number of the first idle node that the first node needs to apply for.
- FIG. 3 is a flowchart of a virtual machine migration method according to still another embodiment of the present invention. As shown in FIG. 3, the method in this embodiment includes:
- Step 301 The first node sends a first idle node request to the first control node, where the first idle node request is used to request to allocate the first idle node as the first node.
- the first idle node request may include the number of first idle nodes that the first node needs to apply to the first control node.
- Step 302 The first control node sends the first address of the first idle node to the first node according to the monitoring result.
- the first control node is responsible for monitoring the network of each node and the idle state of the central processing unit CPU in the first super node.
- the first control node sends a first address of the first idle node to the first node according to the monitoring result, that is, the first super node The address of the node where the network is idle.
- Step 303 The first node sends the migration data information to the first idle node.
- the migration data information in this embodiment includes size information of the migrated data block, and location information of the migrated data block in the first node. Further, the first node locks and protects the migrated data block to ensure the correctness of the data.
- Step 304 The first idle node establishes an address mapping relationship with the corresponding migrated data block in the first node.
- Step 305 The first node sends the migrated data block corresponding to the first idle node to the location corresponding to the second node by using the local network adapter NIC.
- the second node may apply for the first idle node, and specifically implement the implementation manners of steps 301 to 304, and details are not described herein again.
- the method may further include:
- Step 314 The first control node receives the second address mapping message sent by the second control node.
- the second address mapping message includes an address mapping relationship between the second idle node and the corresponding second node, where the second idle node is a node in the second super node where the resource is idle.
- the first control point may determine, according to the information that the first address of the first idle node is sent to the first node, the first node and the second node. Corresponding relationship between the idle nodes, so that the migrated data block of the first node can be sent to the second node through the first idle node and the second idle node.
- the implementation method may be looped after the migration data block is migrated to the second node by using the foregoing implementation method, and only needs to be implemented. Pay attention to data that is not migrated, that is, dirty pages.
- the first node may continue to apply for the idle node to the first control point according to the size of the data that has been migrated until the data in the first node reaches a preset value, and then the first node copies the remaining data, that is, the dirty page, to the destination at one time. Node, and thus the virtual machine migration process ends.
- FIG. 4 is a schematic structural diagram of a virtual machine migration apparatus according to an embodiment of the present invention.
- the virtual machine migration device includes: a determining module 41 and a sending module 42, where
- a determining module 41 configured to determine a first address of the first idle node in the first super node,
- An idle node is a node having idle resources in the first super node, and the first super node includes a first control node, a first node, and at least one first idle node;
- the sending module 42 is configured to send, to the first node, a first address of the first idle node, so that the first node migrates the migrated data block to the second node by using the first address, and migrates the data block to prepare to migrate from the first node to the second node.
- a part of the data of the second node, and the second node is set in the second super node.
- the data to be migrated in the first node is divided into a plurality of migrated data blocks, and the migrated data block is migrated from the first address of the first node to the second node by using the corresponding idle node.
- FIG. 5 is a schematic structural diagram of a virtual machine migration apparatus according to another embodiment of the present invention.
- the virtual machine migration apparatus may further include: a receiving module 43.
- the receiving module 43 is configured to receive an address mapping message sent by the second control node, so as to determine a mapping relationship between the third address of the second idle node and the first address, where the address mapping message includes the second node.
- the receiving module 43 is further configured to receive a idle node request sent by the first node, where the idle node request is used to request to allocate the idle node.
- the sending module 42 is further configured to allocate the idle node to the first node according to the idle node request.
- allocation according to the requirement of the idle node by the first node may be implemented.
- FIG. 6 is a schematic structural diagram of a virtual machine migration apparatus according to still another embodiment of the present invention.
- the virtual machine migration device includes: a sending module 61 and a migration module 62, where
- the sending module 61 is configured to receive a first address of the first idle node sent by the first control node, to migrate the migrated data block to the second node by using the first address, and migrate the data block to prepare to migrate from the first node to the first node. Part of the data of the two nodes, the second node is set in the second super node;
- the migration module 62 is configured to migrate the migrated data block to the second node by using the first idle node.
- the first node locks the migrated data block to prevent the data in the migrated data block from being changed, and ensures the correctness of the data in the migrated data block.
- the migration module 62 is further configured to: send, by the first node, the migration data information to the first idle node, so that the first idle node establishes an address mapping relationship with the migrated data block in the first node,
- the migration data information includes size information of the migrated data block, and address information of the migrated data block in the first node.
- the sending module 61 is further configured to send a idle node request to the first control node, where the idle node request is used to request to allocate the idle node.
- request allocation for the requirement of the idle node can be implemented.
- This embodiment provides a virtual machine migration system, including: any virtual machine migration apparatus in the embodiment shown in FIG. 3 or FIG. 4 and any virtual machine migration apparatus in the embodiment shown in FIG. 6.
- FIG. 7 is a schematic structural diagram of a virtual machine migrator according to an embodiment of the present invention.
- the virtual machine migrator includes: a processor 71 and a transmitter 72, where
- the processor 71 is configured to determine a first address of the first idle node in the first super node, where the first idle node is a node that has idle resources in the first super node, and the first super node includes the first control node and the first node. And at least one first idle node;
- the transmitter 72 is configured to send, to the first node, a first address of the first idle node, so that the first node migrates the migrated data block to the second node by using the first address, and migrates the data block to prepare to migrate from the first node to the second node.
- a part of the data of the second node, and the second node is set in the second super node.
- the data to be migrated in the first node is divided into a plurality of migrated data blocks, and the migrated data block is migrated from the first address of the first node to the second node by using the corresponding idle node.
- the virtual machine migrator may further include: a receiver 73.
- the receiver 73 is configured to receive an address mapping message sent by the second control node, so as to determine a mapping relationship between the third address of the second idle node and the first address, where the address mapping message includes the second node.
- the receiver 73 is further configured to receive a idle node request sent by the first node, where the idle node request is used to request to allocate the idle node.
- the sending module 72 is further configured to allocate the idle node to the first node according to the idle node request.
- allocation according to the requirement of the idle node by the first node may be implemented.
- FIG. 8 is a schematic structural diagram of a virtual machine migrator according to another embodiment of the present invention. As shown in FIG. 8, the virtual machine migrator includes: a transmitter 81 and a processor 82, where
- the transmitter 81 is configured to receive a first address of the first idle node sent by the first control node, to migrate the migrated data block to the second node by using the first address, and migrate the data block to prepare to migrate from the first node to the first node. Part of the data of the two nodes, the second node is set in the second super node;
- the processor 82 is configured to migrate the migrated data block to the second node by using the first idle node.
- the first node locks the migrated data block to prevent the data in the migrated data block from being changed, and ensures the correctness of the data in the migrated data block.
- the processor 82 is further configured to: send, by the first node, the migration data information to the first idle node, so that the first idle node establishes an address mapping relationship with the migrated data block in the first node,
- the migration data information includes size information of the migrated data block, and address information of the migrated data block in the first node.
- the sender 81 is further configured to send a idle node request to the first control node, where the idle node request is used to request to allocate the idle node.
- request allocation for the requirement of the idle node can be implemented.
- This embodiment provides a virtual machine migration system, including: any virtual machine migration apparatus in the embodiment shown in FIG. 7 and any virtual machine migration apparatus in the embodiment shown in FIG. 8.
- the aforementioned program can be stored in a computer readable storage medium.
- the program when executed, performs the steps including the foregoing method embodiments; and the foregoing storage medium includes various media that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
一种虚拟机迁移方法、装置及系统。该方法包括:第一控制节点确定第一超节点中空闲节点的第一地址,其中,该空闲节点为第一超节点中有空闲资源的节点;接着,第一控制节点向第一节点发送空闲节点的第一地址,以使第一节点将迁移数据块通过第一地址迁移到第二节点,其中,迁移数据块为准备从第一节点迁移到第二节点的一部分数据,第二节点设置在第二超节点中。从而实现了将第一节点中准备迁移的数据分为多个迁移数据块,并将该迁移数据块通过对应的空闲节点从第一节点的第一地址迁移到第二节点,降低了虚拟机迁移对连接在迁移网络中的其他应用及虚拟机的性能。进一步的,实现了按需调度,并提高数据中的空闲资源的利用率。
Description
本发明涉及通信技术,尤其涉及一种虚拟机迁移方法、装置及系统。
现代虚拟机技术提供的重要技术中有虚拟机迁移,即在不中断待迁移的操作系统中任何主机服务的情况下,将操作系统迁移到另外一个物理节点上。
现有技术中,源节点和目的节点之间的虚拟机迁移主要包括:运用传输控制协议/网间协议,或运用转换线缆技术与远程内存直接访问(Remote Direct Memory Access,简称为RDMA)相结合的方式,在源节点和目的节点之间进行内存页拷贝,
然而,将虚拟机从源节点迁移到目的节点的过程中,由于源节点与目的节点之间的网卡带宽有限,导致连接在源节点与目的节点之间的其他虚拟机的性能下降。
发明内容
本发明提供一种虚拟机迁移方法、装置及系统,用以提高连接在源节点与目的节点之间的其他虚拟机的性能。
第一个方面,提供一种虚拟机迁移方法,其特征在于,包括:
第一控制节点确定第一超节点中第一空闲节点的第一地址,所述第一空闲节点为所述第一超节点中有空闲资源的节点,所述第一超节点包括所述第一控制节点、第一节点和至少一个所述第一空闲节点;
所述第一控制节点向所述第一节点发送所述第一空闲节点的所述第一地址,以使所述第一节点将迁移数据块通过所述第一地址迁移到第二节点,所述迁移数据块为准备从所述第一节点迁移到第二节点的一部分数据,所述第二节点设置在第二超节点中。
在第一方面的第一种可能的实现方式中,所述第一控制节点向所述
第一节点发送所述第一空闲节点的所述第一地址之后,还包括:
所述第一控制节点接收所述第二控制节点发送的地址映射消息,以使确定第二空闲节点的第三地址与所述第一地址之间的映射关系,所述地址映射消息包括所述第二节点的第二地址与所述第二空闲节点的第三地址之间的映射关系,所述第二空闲节点为所述第二超节点中资源空闲的节点。
在第一方面或是第一方面的第一种可能的实现方式中,在第二种可能的实现方式中,所述第一控制节点向所述第一节点发送所述空闲节点的第一地址之前,还包括:
所述第一控制节点接收所述第一节点发送的空闲节点请求,所述空闲节点请求用以请求分配所述空闲节点;
所述第一控制节点向所述第一节点发送所述空闲子节点的所述第一地址,包括:
所述第一控制节点根据所述空闲节点请求,将所述空闲节点分配给所述第一节点。
第二个方面,提供一种虚拟机迁移方法,包括:
第一节点接收第一控制节点发送的第一空闲节点的第一地址,用以将迁移数据块通过所述第一地址迁移到第二节点,所述迁移数据块为准备从所述第一节点迁移到第二节点的一部分数据,所述第二节点设置在第二超节点中;
所述第一节点通过所述第一空闲节点将所述迁移数据块迁移到所述第二节点。
在第二方面的第一种可能的实现方式中,所述第一节点通过所述第一空闲节点将所述迁移数据块迁移到所述第二节点之前,还包括:
所述第一节点向所述第一空闲节点发送迁移数据信息,以使所述第一空闲节点建立与所述第一节点中所述迁移数据块之间的地址映射关系,所述迁移数据信息包括所述迁移数据块的大小信息,以及所述迁移数据块在所述第一节点中的地址信息。
在第二方面或是第二方面的第一种可能的实现方式中,在第二种可能的实现方式中,所述第一节点接收所述第一控制节点发送的第一空闲子节点的第一地址之前,还包括:
所述第一节点向所述第一控制节点发送空闲节点请求,所述空闲节点请求用以请求分配所述空闲节点。
第三个方面,提供一种虚拟机迁移装置,包括:
确定模块,用于确定第一超节点中第一空闲节点的第一地址,所述第一空闲节点为所述第一超节点中有空闲资源的节点,所述第一超节点包括所述第一控制节点、第一节点和至少一个所述第一空闲节点;
发送模块,用于向所述第一节点发送所述第一空闲节点的所述第一地址,以使所述第一节点将迁移数据块通过所述第一地址迁移到第二节点,所述迁移数据块为准备从所述第一节点迁移到第二节点的一部分数据,所述第二节点设置在第二超节点中。
在第三方面的第一种可能的实现方式中,还包括:接收模块;
所述接收模块,用于接收所述第二控制节点发送的地址映射消息,以使确定第二空闲节点的第三地址与所述第一地址之间的映射关系,所述地址映射消息包括所述第二节点的第二地址与所述第二空闲节点的第三地址之间的映射关系,所述第二空闲节点为所述第二超节点中资源空闲的节点。
在第三方面或是第三方面的第一种可能的实现方式中,在第二种可能的实现方式中,所述接收模块,还用于接收所述第一节点发送的空闲节点请求,所述空闲节点请求用以请求分配所述空闲节点;
所述发送模块,还用于根据所述空闲节点请求,将所述空闲节点分配给所述第一节点。
第四个方面,提供一种虚拟机迁移装置,包括:
发送模块,用于接收第一控制节点发送的第一空闲节点的第一地址,用以将迁移数据块通过所述第一地址迁移到第二节点,所述迁移数据块为准备从所述第一节点迁移到第二节点的一部分数据,所述第二节点设置在第二超节点中;
迁移模块,用于通过所述第一空闲节点将所述迁移数据块迁移到所述第二节点。
在第四方面的第一种可能的实现方式中,所述迁移模块,还用于所述第一节点向所述第一空闲节点发送迁移数据信息,以使所述第一空闲节点建立与所述第一节点中所述迁移数据块之间的地址映射关系,所述
迁移数据信息包括所述迁移数据块的大小信息,以及所述迁移数据块在所述第一节点中的地址信息。
在第四方面或是第四方面的第一种可能的实现方式中,在第二种可能的实现方式中,所述发送模块,还用于向所述第一控制节点发送空闲节点请求,所述空闲节点请求用以请求分配所述空闲节点。
第五个方面,提供一种虚拟机迁移系统,包括:如第三方面任一所述的虚拟机迁移装置和如第四方面所述的虚拟机迁移装置。
本发明实施例提供的虚拟机迁移方法、装置及系统,通过第一控制节点确定第一超节点中空闲节点的第一地址,其中,该空闲节点为第一超节点中有空闲资源的节点;接着,第一控制节点向第一节点发送空闲节点的第一地址,以使第一节点将迁移数据块通过第一地址迁移到第二节点,其中,迁移数据块为准备从第一节点迁移到第二节点的一部分数据,第二节点设置在第二超节点中。从而实现了将第一节点中准备迁移的数据分为多个迁移数据块,并将该迁移数据块通过对应的空闲节点从第一节点的第一地址迁移到第二节点,降低了虚拟机迁移对连接在迁移网络中的其他应用及虚拟机的性能。进一步的,实现了按需调度,并提高数据中的空闲资源的利用率。
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本发明一实施例提供的虚拟机迁移方法的流程图;
图2为本发明另一实施例提供的虚拟机迁移方法的流程图;
图3为本发明再一实施例提供的虚拟机迁移方法的流程图;
图4为本发明一实施例提供的虚拟机迁移装置的结构示意图;
图5为本发明另一实施例提供的虚拟机迁移装置的结构示意图;
图6为本发明再一实施例提供的虚拟机迁移装置的结构示意图;
图7为本发明一实施例提供的虚拟机迁移器的结构示意图;
图8为本发明另一实施例提供的虚拟机迁移器的结构示意图。
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明实施例提供的虚拟机迁移方法具体可以应用于通过内存共享网络互连的超节点之间的虚拟机迁移,本实施例提供的虚拟机迁移方法具体可以通过虚拟机迁移方法装置来执行,该虚拟机迁移装置可以采用软件和/或硬件的方式来实现。以下对本实施例提供的虚拟机迁移方法、装置及系统进行详细地说明。
图1为本发明一实施例提供的虚拟机迁移方法的流程图。如图1所示,本实施例的方法包括:
步骤101、第一控制节点确定第一超节点中第一空闲节点的第一地址,其中,该第一空闲节点为第一超节点中有空闲资源的节点。
在本实施例中,第一超节点包括第一控制节点、第一节点和至少一个空闲子节点。
需要说明的是,该第一控制节点负责监测第一超节点中各个节点的网络、以及中央处理器的空闲状态。若第一监控节点确定第一超节点中的节点的网络处于空闲状态,则确定该节点为第一空闲节点,并进一步确定该节点的地址为第一空闲节点的第一地址。
步骤102、第一控制节点向第一节点发送第一空闲节点的第一地址,以使第一节点将迁移数据块通过第一地址迁移到第二节点。
在本实施例中,迁移数据块为准备从第一节点迁移到第二节点的一部分数据,也就是说,第一节点将准备从第一节点迁移到第二节点的数据划分为多个数据块,该迁移数据块为该多个数据块中的一个;其中,第二节点设置在第二超节点中,并且,第一节点可以为虚拟机内存。
具体的,在第一控制节点确定第一超节点中第一空闲节点的第一地址之后,将第一地址发送给第一节点,接着,第一节点将迁移数据块的大小和迁移数据块对应在第一节点的首地址发送给该第一空闲节点,然后,该第一空闲节点对第一节点中自身对应的迁移数据块进行监控,最终,第一空闲节点通过网络节点控制(NIC)将自身对应在第一节点的迁移数据块发送到第二节点,即目标节点。
需要说明的是,每个第一空闲节点对应在第一节点中迁移数据块的地址互不相交。
在本实施例中,通过第一控制节点确定第一超节点中第一空闲节点的第一地址,其中,该第一空闲节点为第一超节点中有空闲资源的节点;接着,第一控制节点向第一节点发送第一空闲节点的第一地址,以使第一节点将迁移数据块通过第一地址迁移到第二节点,其中,迁移数据块为准备从第一节点迁移到第二节点的一部分数据,第二节点设置在第二超节点中。从而实现了将第一节点中准备迁移的数据分为多个迁移数据块,并将该迁移数据块通过对应的第一空闲节点从第一节点的第一地址迁移到第二节点,降低了虚拟机迁移对连接在迁移网络中的其他应用及虚拟机的性能。进一步的,实现了按需调度,并提高数据中的空闲资源的利用率。
可选的,在步骤102之后,还可以包括:第一控制节点接收第二控制节点发送的地址映射消息,以使确定第二空闲节点的第三地址与第一地址之间的映射关系,其中,该地址映射消息包括第二节点的第二地址与第二空闲节点的第三地址之间的映射关系,第二空闲节点为第二超节点中资源空闲的节点。
具体的,在第二节点的负载较重的情况下,第二控制器节点可以采用与第一控制节点类似的方法,在第二超节点中申请第二空闲节点,用以在接收第一节点的迁移数据块时,通过第二空闲节点接收迁移数据块,并将迁移数据块写入到第二节点中。
在上述实施例的基础上,在步骤101之前,还可以包括:
第一控制节点接收第一节点发送的第一空闲节点请求,该第一空闲节点请求用以请求分配第一空闲节点为第一节点;
进一步的,第一控制节点可以根据空闲节点请求,分配空闲节点给
第一节点。
需要说明的是,第一节点可以向第一控制节点发送空闲节点请求,该空闲节点请求用以请求分配空闲节点为第一节点,其中,该空闲节点至少为一个。接着,第一控制节点根据第一节点发送的空闲节点请求,可以通过应答方式将第一空闲节点的第一地址告知第一节点。例如,虚拟机迁移初始时,数据迁移包括有4个数据迁移块,M1、M2、M3和M4,并且每个数据迁移块的大小分别为1GB,第一节点向第一控制节点发送空闲节点请求,该空闲节点请求需要请求3个空闲节点为第一节点,进一步的,第一节点向第一控制节点发送第二节点的第二地址。然后,第一控制节点在检测到三个可用的空闲节点N1,N2,N3后,会将这三个空闲节点的第一地址的信息发送给第一节点,即源节点。
图2为本发明另一实施例提供的虚拟机迁移方法的流程图。如图2所示,本实施例的方法包括:
步骤201、第一节点接收第一控制节点发送的第一空闲节点的第一地址,用以将迁移数据块通过第一地址迁移到第二节点。
本实施例中的迁移数据块为准备从第一节点迁移到第二节点的一部分数据,其中,第二节点设置在第二超节点中。
具体的,该第一控制节点负责监测各个节点的网络、以及第一超节点中中央处理器CPU的空闲状态。若第一监控节点确定第一超节点中的一个节点的网络处于空闲状态,则确定该节点为第一空闲节点,并进一步的将该节点的地址作为空闲子节点的第一地址发送给第一节点。
步骤202、第一节点通过第一空闲节点将迁移数据块迁移到第二节点。
具体的,在第一节点接收第一控制节点发送的第一空闲节点的第一地址之后,第一节点确定第一超节点中第一空闲节点的具体位置,接着,第一节点和第一空闲节点分别通过自身的NIC将自身对应,即负责的数据发送到第二节点中的虚拟机的内存块中。
在本实施例中,通过第一节点接收第一控制节点发送的第一空闲节点的第一地址,用以将迁移数据块通过第一地址迁移到第二节点,接着,第一节点通过第一空闲节点将迁移数据块迁移到第二节点。从而实现了将第一节点中准备迁移的数据分为多个迁移数据块,并将该迁移数据块
通过对应的第一空闲节点从第一节点的第一地址迁移到第二节点,降低了虚拟机迁移对连接在迁移网络中的其他应用及虚拟机的性能。进一步的,实现了按需调度,并提高数据中的空闲资源的利用率。
在上述实施例的基础上,在步骤201之后,还可以包括:
第一节点向第一空闲节点发送迁移数据信息,以使第一空闲节点的建立与第一节点中迁移数据块之间的地址映射关系,其中,该迁移数据信息包括该迁移数据块的大小信息,以及该迁移数据块在第一节点中的地址信息。
在本实施例中,第一节点向第一空闲节点发送迁移数据信息,每个第一空闲节点可以分别建立与相应的第一节点中迁移数据块的地址映射关系,接着,第一空闲节点可以通过自身的NIC从对应第一节点中读取迁移数据块,例如,采用只读内存方式直接从第一节点中读取数据。进一步的,每个第一空闲节点可以分别建立相应的迁移数据块的地址映射关系之后,第一节点对迁移数据块进行加锁,以避免迁移数据块中的数据不会被更改,确保迁移数据块中的数据的正确性。
在上述实施例的基础上,步骤201之前,还可以包括:
第一节点向第一控制节点发送第一空闲节点请求,该第一空闲节点请求用以请求分配第一空闲节点为所述第一节点。
需要说明的是,第一空闲节点请求还可以包括第一节点需要申请第一空闲节点的个数。
图3为本发明再一实施例提供的虚拟机迁移方法的流程图。如图3所示,本实施例的方法包括:
步骤301、第一节点向第一控制节点发送第一空闲节点请求,该第一空闲节点请求用以请求分配第一空闲节点为所述第一节点。
需要说明的是,该第一空闲节点请求可以包括第一节点需要向第一控制节点申请的第一空闲节点的个数。
步骤302、第一控制节点根据监控结果,向第一节点发送第一空闲节点的第一地址。
在本实施例中,该第一控制节点负责监测各个节点的网络、以及第一超节点中中央处理器CPU的空闲状态。第一控制节点根据监控结果,以应答当时向第一节点发送第一空闲节点的第一地址,即第一超节点中
网络处于空闲状态的节点的地址。
步骤303、第一节点向第一空闲节点发送迁移数据信息。
本实施例中的迁移数据信息包括该迁移数据块的大小信息,以及该迁移数据块在第一节点中的位置信息。进一步的,第一节点对迁移数据块进行加锁保护,保证数据的正确性。
步骤304、第一空闲节点建立与第一节点中对应的迁移数据块之间的地址映射关系。
步骤305、第一节点通过自身本地的网络适配器NIC,将第一空闲节点对应负责的迁移数据块发送到第二节点对应的位置中。
进一步的,在上述实施例的基础上,在第二节点负载较重的情况下,第二节点可以申请第一空闲节点,并具体采用步骤301至步骤304的实现方式,在此不再赘述。
需要说明的是,在步骤305之前,还可以包括:
步骤314、第一控制节点接收第二控制节点发送的第二地址映射消息。
在本实施例中,该第二地址映射消息包括第二空闲节点与对应在第二节点之间的地址映射关系,其中,第二空闲节点为第二超节点中资源空闲的节点。在第一控制节点接收第二控制节点发送的第二地址映射消息之后,第一控制点可以根据向第一节点发送第一空闲节点的第一地址的信息,确定第一节点与第二节点之间各空闲节点的对应关系,从而,可以将第一节点的迁移数据块通过第一空闲节点和第二空闲节点发送给第二节点。
需要说明的是,在将第一节点中准备迁移的数据迁移到第二节点的过程中,可以在采用上述实现方法将迁移数据块迁移到第二节点之后,循环上述的实现方法,并只需要关注没有迁移的数据,即脏页。第一节点可以根据已经迁移的数据大小继续向第一控制点申请空闲节点,直到第一节点中的数据达到预设值,接着,第一节点一次性的将剩余数据,即脏页拷到目的节点,从而虚拟机迁移过程结束。
图4为本发明一实施例提供的虚拟机迁移装置的结构示意图。如图4所示,该虚拟机迁移装置,包括:确定模块41和发送模块42,其中,
确定模块41,用于确定第一超节点中第一空闲节点的第一地址,第
一空闲节点为第一超节点中有空闲资源的节点,第一超节点包括第一控制节点、第一节点和至少一个第一空闲节点;
发送模块42,用于向第一节点发送第一空闲节点的第一地址,以使第一节点将迁移数据块通过第一地址迁移到第二节点,迁移数据块为准备从第一节点迁移到第二节点的一部分数据,第二节点设置在第二超节点中。
在本实施例中,实现了将第一节点中准备迁移的数据分为多个迁移数据块,并将该迁移数据块通过对应的空闲节点从第一节点的第一地址迁移到第二节点,降低了虚拟机迁移对连接在迁移网络中的其他应用及虚拟机的性能。进一步的,实现了按需调度,并提高数据中的空闲资源的利用率。
图5为本发明另一实施例提供的虚拟机迁移装置的结构示意图。如图5所示,在上述实施例的基础上,该虚拟机迁移装置,还可以包括:接收模块43。具体的,接收模块43,用于接收第二控制节点发送的地址映射消息,以使确定第二空闲节点的第三地址与第一地址之间的映射关系,地址映射消息包括第二节点的第二地址与第二空闲节点的第三地址之间的映射关系,第二空闲节点为第二超节点中资源空闲的节点。
在上述实施例的基础上,接收模块43,还用于接收第一节点发送的空闲节点请求,空闲节点请求用以请求分配空闲节点;
发送模块42,还用于根据空闲节点请求,将空闲节点分配给第一节点。
在本实施例中,可以实现根据第一节点对空闲节点的需求进行分配。
图6为本发明再一实施例提供的虚拟机迁移装置的结构示意图。如图6所示,该虚拟机迁移装置,包括:发送模块61和迁移模块62,其中,
发送模块61,用于接收第一控制节点发送的第一空闲节点的第一地址,用以将迁移数据块通过第一地址迁移到第二节点,迁移数据块为准备从第一节点迁移到第二节点的一部分数据,第二节点设置在第二超节点中;
迁移模块62,用于通过第一空闲节点将迁移数据块迁移到第二节点。
在本实施例中,第一节点对迁移数据块进行加锁,以避免迁移数据块中的数据不会被更改,确保迁移数据块中的数据的正确性。
在上述实施例的基础上,迁移模块62,还用于第一节点向第一空闲节点发送迁移数据信息,以使第一空闲节点建立与第一节点中迁移数据块之间的地址映射关系,迁移数据信息包括迁移数据块的大小信息,以及迁移数据块在第一节点中的地址信息。
进一步的,在上述实施例的基础上,发送模块61,还用于向第一控制节点发送空闲节点请求,空闲节点请求用以请求分配空闲节点。
在本实施例中,可以实现对空闲节点的需求进行请求分配。
本实施例提供一种虚拟机迁移系统,包括:如图3或图4所示实施例中的任一虚拟机迁移装置和如图6所示实施例中的任一虚拟机迁移装置。
图7为本发明一实施例提供的虚拟机迁移器的结构示意图。如图7所示,该虚拟机迁移器,包括:处理器71和发送器72,其中,
处理器71,用于确定第一超节点中第一空闲节点的第一地址,第一空闲节点为第一超节点中有空闲资源的节点,第一超节点包括第一控制节点、第一节点和至少一个第一空闲节点;
发送器72,用于向第一节点发送第一空闲节点的第一地址,以使第一节点将迁移数据块通过第一地址迁移到第二节点,迁移数据块为准备从第一节点迁移到第二节点的一部分数据,第二节点设置在第二超节点中。
在本实施例中,实现了将第一节点中准备迁移的数据分为多个迁移数据块,并将该迁移数据块通过对应的空闲节点从第一节点的第一地址迁移到第二节点,降低了虚拟机迁移对连接在迁移网络中的其他应用及虚拟机的性能。进一步的,实现了按需调度,并提高数据中的空闲资源的利用率。
进一步的,在上述实施例的基础上,该虚拟机迁移器,还可以包括:接收器73。具体的,接收器73,用于接收第二控制节点发送的地址映射消息,以使确定第二空闲节点的第三地址与第一地址之间的映射关系,地址映射消息包括第二节点的第二地址与第二空闲节点的第三地址之间的映射关系,第二空闲节点为第二超节点中资源空闲的节点。
在上述实施例的基础上,接收器73,还用于接收第一节点发送的空闲节点请求,空闲节点请求用以请求分配空闲节点;
发送模块72,还用于根据空闲节点请求,将空闲节点分配给第一节点。
在本实施例中,可以实现根据第一节点对空闲节点的需求进行分配。
图8为本发明另一实施例提供的虚拟机迁移器的结构示意图。如图8所示,该虚拟机迁移器,包括:发送器81和处理器82,其中,
发送器81,用于接收第一控制节点发送的第一空闲节点的第一地址,用以将迁移数据块通过第一地址迁移到第二节点,迁移数据块为准备从第一节点迁移到第二节点的一部分数据,第二节点设置在第二超节点中;
处理器82,用于通过第一空闲节点将迁移数据块迁移到第二节点。
在本实施例中,第一节点对迁移数据块进行加锁,以避免迁移数据块中的数据不会被更改,确保迁移数据块中的数据的正确性。
在上述实施例的基础上,处理器82,还用于第一节点向第一空闲节点发送迁移数据信息,以使第一空闲节点建立与第一节点中迁移数据块之间的地址映射关系,迁移数据信息包括迁移数据块的大小信息,以及迁移数据块在第一节点中的地址信息。
进一步的,在上述实施例的基础上,发送器81,还用于向第一控制节点发送空闲节点请求,空闲节点请求用以请求分配空闲节点。
在本实施例中,可以实现对空闲节点的需求进行请求分配。
本实施例提供一种虚拟机迁移系统,包括:如图7所示实施例中的任一虚拟机迁移装置和如图8所示实施例中的任一虚拟机迁移装置。
本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。
Claims (13)
- 一种虚拟机迁移方法,其特征在于,包括:第一控制节点确定第一超节点中第一空闲节点的第一地址,所述第一空闲节点为所述第一超节点中有空闲资源的节点,所述第一超节点包括所述第一控制节点、第一节点和至少一个所述第一空闲节点;所述第一控制节点向所述第一节点发送所述第一空闲节点的所述第一地址,以使所述第一节点将迁移数据块通过所述第一地址迁移到第二节点,所述迁移数据块为准备从所述第一节点迁移到第二节点的一部分数据,所述第二节点设置在第二超节点中。
- 根据权利要求1所述的方法,其特征在于,所述第一控制节点向所述第一节点发送所述第一空闲节点的所述第一地址之后,还包括:所述第一控制节点接收所述第二控制节点发送的地址映射消息,以使确定第二空闲节点的第三地址与所述第一地址之间的映射关系,所述地址映射消息包括所述第二节点的第二地址与所述第二空闲节点的第三地址之间的映射关系,所述第二空闲节点为所述第二超节点中资源空闲的节点。
- 根据权利要求1或2所述的方法,其特征在于,所述第一控制节点向所述第一节点发送所述空闲节点的第一地址之前,还包括:所述第一控制节点接收所述第一节点发送的空闲节点请求,所述空闲节点请求用以请求分配所述空闲节点;所述第一控制节点向所述第一节点发送所述空闲子节点的所述第一地址,包括:所述第一控制节点根据所述空闲节点请求,将所述空闲节点分配给所述第一节点。
- 一种虚拟机迁移方法,其特征在于,包括:第一节点接收第一控制节点发送的第一空闲节点的第一地址,用以将迁移数据块通过所述第一地址迁移到第二节点,所述迁移数据块为准备从所述第一节点迁移到第二节点的一部分数据,所述第二节点设置在第二超节点中;所述第一节点通过所述第一空闲节点将所述迁移数据块迁移到所述第二节点。
- 根据权利要求4所述的方法,其特征在于,所述第一节点通过 所述第一空闲节点将所述迁移数据块迁移到所述第二节点之前,还包括:所述第一节点向所述第一空闲节点发送迁移数据信息,以使所述第一空闲节点建立与所述第一节点中所述迁移数据块之间的地址映射关系,所述迁移数据信息包括所述迁移数据块的大小信息,以及所述迁移数据块在所述第一节点中的地址信息。
- 根据权利要求4或5所述的方法,其特征在于,所述第一节点接收所述第一控制节点发送的第一空闲子节点的第一地址之前,还包括:所述第一节点向所述第一控制节点发送空闲节点请求,所述空闲节点请求用以请求分配所述空闲节点。
- 一种虚拟机迁移装置,其特征在于,包括:确定模块,用于确定第一超节点中第一空闲节点的第一地址,所述第一空闲节点为所述第一超节点中有空闲资源的节点,所述第一超节点包括所述第一控制节点、第一节点和至少一个所述第一空闲节点;发送模块,用于向所述第一节点发送所述第一空闲节点的所述第一地址,以使所述第一节点将迁移数据块通过所述第一地址迁移到第二节点,所述迁移数据块为准备从所述第一节点迁移到第二节点的一部分数据,所述第二节点设置在第二超节点中。
- 根据权利要求7所述的装置,其特征在于,还包括:接收模块;所述接收模块,用于接收所述第二控制节点发送的地址映射消息,以使确定第二空闲节点的第三地址与所述第一地址之间的映射关系,所述地址映射消息包括所述第二节点的第二地址与所述第二空闲节点的第三地址之间的映射关系,所述第二空闲节点为所述第二超节点中资源空闲的节点。
- 根据权利要求7或8所述的装置,其特征在于,所述接收模块,还用于接收所述第一节点发送的空闲节点请求,所述空闲节点请求用以请求分配所述空闲节点;所述发送模块,还用于根据所述空闲节点请求,将所述空闲节点分配给所述第一节点。
- 一种虚拟机迁移装置,其特征在于,包括:发送模块,用于接收第一控制节点发送的第一空闲节点的第一地 址,用以将迁移数据块通过所述第一地址迁移到第二节点,所述迁移数据块为准备从所述第一节点迁移到第二节点的一部分数据,所述第二节点设置在第二超节点中;迁移模块,用于通过所述第一空闲节点将所述迁移数据块迁移到所述第二节点。
- 根据权利要求10所述的装置,其特征在于,所述迁移模块,还用于所述第一节点向所述第一空闲节点发送迁移数据信息,以使所述第一空闲节点建立与所述第一节点中所述迁移数据块之间的地址映射关系,所述迁移数据信息包括所述迁移数据块的大小信息,以及所述迁移数据块在所述第一节点中的地址信息。
- 根据权利要求10或11所述的装置,其特征在于,所述发送模块,还用于向所述第一控制节点发送空闲节点请求,所述空闲节点请求用以请求分配所述空闲节点。
- 一种虚拟机迁移系统,其特征在于,包括:如权利要求7-9任一所述的虚拟机迁移装置和如权利要求10-12所述的虚拟机迁移装置。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310518434.6 | 2013-10-28 | ||
CN201310518434.6A CN104580328A (zh) | 2013-10-28 | 2013-10-28 | 虚拟机迁移方法、装置及系统 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2015062390A1 true WO2015062390A1 (zh) | 2015-05-07 |
Family
ID=53003301
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2014/087734 WO2015062390A1 (zh) | 2013-10-28 | 2014-09-29 | 虚拟机迁移方法、装置及系统 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104580328A (zh) |
WO (1) | WO2015062390A1 (zh) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017082757A1 (en) * | 2015-11-13 | 2017-05-18 | Huawei Technologies Co., Ltd. | Computer data processing system and method for communication traffic based optimization of virtual machine communication |
CN110971647B (zh) * | 2018-09-30 | 2023-12-05 | 南京工程学院 | 一种大数据系统的节点迁移方法 |
CN114048041B (zh) * | 2022-01-14 | 2022-04-08 | 湖南大学 | 一种基于空闲节点主动的安全内存共享方法 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101924693A (zh) * | 2009-04-01 | 2010-12-22 | 威睿公司 | 用于在虚拟机间迁移进程的方法和系统 |
CN102479099A (zh) * | 2010-11-22 | 2012-05-30 | 中兴通讯股份有限公司 | 虚拟机管理系统及其使用方法 |
US20120221744A1 (en) * | 2011-02-25 | 2012-08-30 | International Business Machines Corporation | Migrating Virtual Machines with Adaptive Compression |
CN103250139A (zh) * | 2012-11-07 | 2013-08-14 | 华为技术有限公司 | 一种迁移计算节点的方法及装置 |
-
2013
- 2013-10-28 CN CN201310518434.6A patent/CN104580328A/zh active Pending
-
2014
- 2014-09-29 WO PCT/CN2014/087734 patent/WO2015062390A1/zh active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101924693A (zh) * | 2009-04-01 | 2010-12-22 | 威睿公司 | 用于在虚拟机间迁移进程的方法和系统 |
CN102479099A (zh) * | 2010-11-22 | 2012-05-30 | 中兴通讯股份有限公司 | 虚拟机管理系统及其使用方法 |
US20120221744A1 (en) * | 2011-02-25 | 2012-08-30 | International Business Machines Corporation | Migrating Virtual Machines with Adaptive Compression |
CN103250139A (zh) * | 2012-11-07 | 2013-08-14 | 华为技术有限公司 | 一种迁移计算节点的方法及装置 |
Also Published As
Publication number | Publication date |
---|---|
CN104580328A (zh) | 2015-04-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20220318184A1 (en) | Virtual rdma switching for containerized applications | |
US10698717B2 (en) | Accelerator virtualization method and apparatus, and centralized resource manager | |
US9678918B2 (en) | Data processing system and data processing method | |
US10263911B2 (en) | System and method for resource management | |
US10642777B2 (en) | System and method for maximizing bandwidth of PCI express peer-to-peer (P2P) connection | |
JP6751780B2 (ja) | アクセラレーション・リソース処理方法及び装置 | |
TWI430102B (zh) | 網路卡資源配置方法、儲存媒體、及電腦 | |
CN110392084B (zh) | 在分布式系统中管理地址的方法、设备和计算机程序产品 | |
WO2018035856A1 (zh) | 实现硬件加速处理的方法、设备和系统 | |
WO2017041398A1 (zh) | 数据传输方法和装置 | |
WO2016101288A1 (zh) | 一种远程直接数据存取方法、设备和系统 | |
CN108028833A (zh) | 一种nas数据访问的方法、系统及相关设备 | |
US20130151747A1 (en) | Co-processing acceleration method, apparatus, and system | |
US11201836B2 (en) | Method and device for managing stateful application on server | |
WO2015196815A1 (zh) | Ip硬盘与存储系统,及其数据操作方法 | |
WO2015000302A1 (zh) | 一种数据传输方法、设备及系统 | |
US20140358869A1 (en) | System and method for accelerating mapreduce operation | |
EP3506575B1 (en) | Method and device for data transmission | |
KR20130107618A (ko) | Usb 디바이스 장치의 데이터를 클라이언트 단말을 통해 서버로 전송하는 데이터 처리 방법 및 클라이언트 단말 | |
US20230152978A1 (en) | Data Access Method and Related Device | |
WO2015067035A1 (zh) | 数据拷贝管理装置及其数据拷贝方法 | |
US9479438B2 (en) | Link aggregation based on virtual interfaces of VLANs | |
CN116204487A (zh) | 远程数据访问方法及装置 | |
WO2015062390A1 (zh) | 虚拟机迁移方法、装置及系统 | |
CN113424149A (zh) | 跨虚拟机边界的低时延事件 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 14858337 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 14858337 Country of ref document: EP Kind code of ref document: A1 |