Virtual machine dynamic migration method, device and storage medium

By analyzing the communication relationships and resource requirements between virtual machines and dynamically adjusting the running positions of virtual machines, it solves the problem of network resource waste caused by improper allocation of virtual machines in cloud computing and optimizes the network load of the data center.

CN114048006BActive Publication Date: 2024-10-29CHINA TELECOM CORP LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111430827.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-29
Publication Date
2024-10-29
Estimated Expiration
2041-11-29

AI Technical Summary

Technical Problem

In cloud computing, users do not mark the affinity attributes between virtual machines, which leads to frequent allocation of virtual machines to different hosts, resulting in a waste of network resources.

Method used

By obtaining the traffic and flow direction information of virtual machines, it analyzes the communication relationships between virtual machines, determines virtual machine groups with affinity relationships, and performs dynamic migration scheduling according to resource requirements to optimize the running position of virtual machines.

Benefits of technology

It effectively reduces the network transmission pressure between hosts in the data center, reduces unnecessary network transmission, and reduces the network load within the data center.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114048006B_ABST
    Figure CN114048006B_ABST
Patent Text Reader

Abstract

The present disclosure provides a method, device and storage medium for dynamic migration of virtual machines, wherein the method includes: obtaining the flow and flow direction information corresponding to the virtual machine; analyzing and processing the flow and flow information based on the address allocation information corresponding to the virtual machine to determine the communication relationship information between the virtual machines; determining the virtual machine topology information corresponding to the virtual machine with affinity relationship based on the communication relationship information; scheduling and processing the virtual machine with affinity relationship based on the virtual machine topology information. The method, device and storage medium disclosed in the present disclosure can effectively reduce the network transmission pressure between hosts within the data center, reduce the network transmission pressure between hosts within the data center, and can reduce unnecessary network transmission between hosts and reduce the network load within the data center.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of cloud computing technology, and in particular to a method, device and storage medium for dynamic migration of a virtual machine. Background Art

[0002] When receiving a virtual machine resource application submitted by a user, considering the network resource consumption within the data center and the transmission efficiency between virtual machines, if two or more virtual machines frequently communicate with each other, they tend to be deployed on the same host. However, users usually do not configure affinity attributes when applying for resources. As an infrastructure, the cloud computing resource pool cannot perceive the topological relationship structure between virtual machines carrying applications. When users do not mark the affinity attributes between virtual machines, the cloud resource pool will schedule the virtual machines to the host with the best resources (usually the host with the most abundant resources) in turn according to the conventional scheduling algorithm. Using the existing virtual machine allocation method, it is easy for two virtual machines that frequently communicate with each other to run on different hosts, resulting in a waste of network resources in the data center. Summary of the invention

[0003] In view of this, a technical problem to be solved by the present invention is to provide a method, device and storage medium for dynamic migration of a virtual machine.

[0004] According to a first aspect of the present disclosure, a method for dynamic migration of virtual machines is provided, comprising: obtaining traffic and flow direction information corresponding to the virtual machines; analyzing and processing the traffic and flow information based on address allocation information corresponding to the virtual machines to determine communication relationship information between virtual machines; determining virtual machine topology information corresponding to virtual machines with affinity relationships based on the communication relationship information; and scheduling and processing the virtual machines with affinity relationships based on the virtual machine topology information.

[0005] Optionally, obtaining the traffic and flow direction information corresponding to the virtual machine includes: periodically obtaining the traffic and flow direction information between IP addresses in the cloud computing resource pool based on a preset data collection cycle; analyzing and processing the traffic and traffic information based on the address allocation information corresponding to the virtual machine includes: analyzing and processing the traffic and flow direction information between the IP addresses based on the IP address allocation information corresponding to the virtual machine.

[0006] Optionally, determining the virtual machine topology information corresponding to the virtual machines with affinity according to the communication relationship information includes: determining the virtual machines with affinity according to the communication relationship information; setting the virtual machines with affinity as a virtual machine group; determining the resource requirements of the virtual machine group; and generating the virtual machine topology information according to the resource requirements.

[0007] Optionally, generating the virtual machine topology information according to the resource demand includes: determining whether the host on which each virtual machine in the virtual machine group runs can meet the resource demand; if so, selecting a target host from the hosts that can meet the resource demand; and scheduling the virtual machines with affinity based on the virtual machine topology information includes: migrating the virtual machines in the virtual machine group that are not running on the target host to the target host.

[0008] Optionally, generating the virtual machine topology information according to the resource demand includes: if the hosts on which the various virtual machines in the virtual machine group run cannot meet the resource demand, determining whether there is a first host in the host cluster that meets the resource demand; if so, selecting the target host from the first host; and scheduling the virtual machines with affinity based on the virtual machine topology information includes: migrating all virtual machines in the virtual machine group to the target host.

[0009] Optionally, generating the virtual machine topology information according to the resource demand includes: if it is determined that there is no first host meeting the resource demand in the host cluster, determining whether the number of virtual machines in the virtual machine group is greater than or equal to 2; if so, removing the virtual machine with the smallest traffic in the virtual machine group to determine the resource demand of the virtual machine group; if not, determining whether there is a second host in the host cluster; wherein the second host meets the resource demand by migrating virtual machines that do not have affinity; if it is determined that the second host exists in the host cluster, migrating the virtual machine that does not have affinity from the second host, and using the second host as the target host.

[0010] According to a second aspect of the present disclosure, a virtual machine dynamic migration device is provided, comprising: a network status monitoring module, used to obtain traffic and flow direction information corresponding to the virtual machine; a network status analysis module, used to analyze and process the traffic and flow information based on address allocation information corresponding to the virtual machine, so as to determine communication relationship information between virtual machines; a virtual machine management module, used to determine virtual machine topology information corresponding to virtual machines with affinity relationships based on the communication relationship information; and a virtual machine scheduling module, used to schedule and process the virtual machines with affinity relationships based on the virtual machine topology information.

[0011] Optionally, the network status monitoring module is used to periodically obtain the traffic and flow direction information between IP addresses in the cloud computing resource pool based on a preset data collection period; the network status analysis module is used to analyze and process the traffic and flow direction information between the IP addresses based on the IP address allocation information corresponding to the virtual machine.

[0012] Optionally, the virtual machine management module is used to determine the virtual machines with affinity according to the communication relationship information; set the virtual machines with affinity as a virtual machine group; determine the resource requirements of the virtual machine group; and generate the virtual machine topology information according to the resource requirements.

[0013] Optionally, the virtual machine management module is used to determine whether the host on which each virtual machine in the virtual machine group runs can meet the resource requirements; if so, select a target host from the hosts that can meet the resource requirements; and the virtual machine scheduling module is used to migrate the virtual machines in the virtual machine group that are not running on the target host to the target host.

[0014] Optionally, the virtual machine management module is used to determine whether there is a first host in the host cluster that meets the resource requirements if the hosts on which the virtual machines in the virtual machine group are running cannot meet the resource requirements; if so, select the target host from the first host; and the virtual machine scheduling module is used to migrate all virtual machines in the virtual machine group to the target host.

[0015] Optionally, the virtual machine management module is used to determine whether the number of virtual machines in the virtual machine group is greater than or equal to 2 if it is determined that there is no first host that meets the resource requirements in the host cluster; if so, remove the virtual machine with the smallest traffic in the virtual machine group to determine the resource requirements of the virtual machine group; if not, determine whether there is a second host in the host cluster; wherein the second host meets the resource requirements by migrating virtual machines that do not have affinity; and the virtual machine scheduling module is used to migrate the virtual machine that does not have affinity from the second host if it is determined that there is the second host in the host cluster, and use the second host as the target host.

[0016] According to a third aspect of the present disclosure, a virtual machine dynamic migration device is provided, comprising: a memory; and a processor coupled to the memory, wherein the processor is configured to execute the method as described above based on instructions stored in the memory.

[0017] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the instructions are executed by a processor according to the method described above.

[0018] The virtual machine dynamic migration method, device and storage medium disclosed in the present invention can effectively reduce the network transmission pressure between hosts within a data center, reduce unnecessary network transmission between hosts, and reduce the network load within the data center by dynamically adjusting the running location of the virtual machine based on the network topology relationship between the virtual machines and optimizing the dynamic migration and scheduling of the virtual machines. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0020] Figure 1 A flowchart of an embodiment of a method for dynamic migration of a virtual machine;

[0021] Figure 2 A schematic diagram of a process for determining virtual machine topology information according to an embodiment of a method for dynamic migration of a virtual machine;

[0022] Figure 3 is a flow chart of another embodiment of a method for dynamic migration of a virtual machine;

[0023] Figure 4 Schematic diagram for virtual machine scheduling;

[0024] Figure 5 is a module diagram according to an embodiment of a device for dynamic migration of a virtual machine;

[0025] Figure 6 It is a module diagram according to another embodiment of the apparatus for dynamic migration of virtual machines. DETAILED DESCRIPTION

[0026] The present disclosure is described more fully below with reference to the accompanying drawings, in which exemplary embodiments of the present disclosure are described. The technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.

[0027] Figure 1 FIG. 1 is a flow chart of an embodiment of a method for dynamic migration of a virtual machine. Figure 1 As shown:

[0028] Step 101, obtaining the flow and flow direction information corresponding to the virtual machine.

[0029] Step 102: Analyze and process the traffic and traffic information based on the address allocation information corresponding to the virtual machine to determine the communication relationship information between the virtual machines.

[0030] Step 103: Determine virtual machine topology information corresponding to virtual machines with affinity according to the communication relationship information. For example, if the traffic between two virtual machines is greater than a traffic threshold within a unit time such as 1 day, it is determined that the two virtual machines have affinity.

[0031] Step 104: schedule virtual machines with affinity based on virtual machine topology information.

[0032] The virtual machine dynamic migration method disclosed in the present invention dynamically adjusts the running location of the virtual machine based on the network topology relationship of the communication between virtual machines, effectively reduces the network transmission pressure between hosts within the data center, can reduce unnecessary network transmission between hosts, and alleviate the network load within the data center.

[0033] In one embodiment, the traffic and flow direction information between IP addresses in the cloud computing resource pool is obtained based on a preset data collection period, and the data collection period can be set, for example, to 1 minute, 2 minutes, etc. Based on the IP address allocation information corresponding to the virtual machine, the traffic and flow direction information between the IP addresses is analyzed and processed.

[0034] Monitor the traffic flow between IP addresses in the cloud computing resource pool, regularly analyze the traffic and flow between IP addresses, and find two or more virtual machines that frequently communicate with each other based on the allocation information of virtual machine IP addresses. Based on the communication relationship between virtual machines, maintain the topological structure information of virtual machines that frequently communicate with each other, and use the scheduling algorithm to schedule virtual machines that frequently communicate with each other to the same host or adjacent hosts.

[0035] Figure 2 FIG. 1 is a flow chart of determining virtual machine topology information according to an embodiment of a method for dynamic migration of virtual machines. Figure 2 As shown:

[0036] Step 201: Determine virtual machines with affinity relationships according to communication relationship information.

[0037] Step 202: Set virtual machines with affinity to form a virtual machine group.

[0038] Step 203: determine the resource requirements of the virtual machine group.

[0039] Step 204: Generate virtual machine topology information according to resource requirements.

[0040] There are many methods for generating virtual machine topology information and performing scheduling according to resource requirements. For example, judging whether the host on which each virtual machine in the virtual machine group runs can meet the resource requirements, if so, selecting a target host from the hosts that can meet the resource requirements; migrating the virtual machines in the virtual machine group that are not running on the target host to the target host.

[0041] If the hosts on which the virtual machines in the virtual machine group run cannot meet the resource requirements, determine whether there is a first host in the host cluster that meets the resource requirements. If so, select a target host from the first host; and migrate all the virtual machines in the virtual machine group to the target host.

[0042] If it is determined that there is no first host that meets the resource requirements in the host cluster, it is determined whether the number of virtual machines in the virtual machine group is greater than or equal to 2. If so, the virtual machine with the smallest traffic is removed from the virtual machine group to determine the resource requirements of the virtual machine group; if not, it is determined whether there is a second host in the host cluster. The second host meets the resource requirements by migrating virtual machines that do not have affinity. If it is determined that there is a second host in the host cluster, the virtual machine that does not have affinity is migrated from the second host, and the second host is used as the target host.

[0043] In one embodiment, traffic and flow direction information is read periodically, the traffic flow relationship between network IPs in the resource pool is analyzed, and combined with the binding information between the virtual machine and the IP, two or more virtual machines that frequently communicate with each other are found, the virtual machines that frequently communicate with each other are marked as a virtual machine group, and the resource requirements of the virtual machine group are calculated.

[0044] The scheduling algorithm selects the best host for the virtual machine group and migrates the virtual machines in the virtual machine group that are not on the best host to the host. The migration scheduling algorithm is based on the principle of introducing as few migration times as possible and as little unnecessary transmission traffic between hosts as possible. Two or more virtual machines that frequently communicate with each other are scheduled as a group.

[0045] Figure 3 FIG. 1 is a flow chart of another embodiment of a method for dynamic migration of a virtual machine. Figure 3 As shown:

[0046] Step 301, monitor and analyze the traffic flow between virtual machines.

[0047] Step 302 , determine whether there are virtual machine groups that frequently communicate with each other, if yes, go to step 303 , if not, go to step 301 .

[0048] Step 303: group and mark the virtual machines that frequently communicate with each other.

[0049] Step 304, determine whether they are running on the same host, if yes, go to step 301, if not, go to step 305.

[0050] Step 305: Calculate resource requirements based on virtual machine groups.

[0051] Step 306 , determine whether the host currently running the virtual machine group can meet the demand, if yes, proceed to step 307 , if not, proceed to step 309 .

[0052] Step 307: Select the best host among the hosts that meet the requirements.

[0053] Step 308: Schedule other virtual machines in the virtual machine group to the optimal host.

[0054] Step 309 , determining whether there is a host in the cluster that meets the resource requirements of the virtual machine group, if yes, proceeding to step 307 , if not, proceeding to step 310 .

[0055] Step 310 , determining whether there are more than two virtual machines in the virtual machine group, if yes, proceeding to step 311 , if no, proceeding to step 312 .

[0056] Step 311: remove the virtual machine with the smallest traffic from the virtual machine group and calculate new resource requirements.

[0057] Step 312, determine whether there is a host that can meet the requirements by migrating independent virtual machines, if yes, go to step 313, if not, go to step 301.

[0058] Step 313: Migrate the independent virtual machine to another host.

[0059] In one embodiment, there are hosts A, B, and C in the cloud resource pool, and the virtual machines carried and resource consumption are shown in Table 1 below:

[0060]

[0061]

[0062] Table 1 - Virtual Machine and Resource Consumption

[0063] By analyzing the flow of network traffic within the cloud resource pool, it is found that vm3 and vm4 frequently communicate with each other and run on different hosts. vm3 and vm4 are grouped as virtual machine group vmg1 (10CPU, 80Gmem), and there is no schedulable host in the virtual machine pool. Figure 4As shown, independent virtual machines that can be migrated (without traffic interaction with other virtual machines) are found on hosts A and B where vm3 and vm4 are running. Therefore, vm1 is migrated to host B, vm4 is migrated to host A, and vmg1 is scheduled to the same host to reduce the traffic interaction between hosts A and B.

[0064] In one embodiment, Figure 5 As shown, the present disclosure provides a virtual machine dynamic migration device 50, including a network status monitoring module 51, a network status analysis module 52, a virtual machine management module 53 and a virtual machine scheduling module 54. The network status monitoring module 51 obtains the flow and flow direction information corresponding to the virtual machine. The network status analysis module 52 analyzes and processes the flow and flow information based on the address allocation information corresponding to the virtual machine to determine the communication relationship information between the virtual machines.

[0065] The virtual machine management module 53 determines virtual machine topology information corresponding to the virtual machines with affinity according to the communication relationship information. The virtual machine scheduling module 54 schedules the virtual machines with affinity based on the virtual machine topology information.

[0066] In one embodiment, the network status monitoring module 51 periodically obtains the traffic and flow direction information between IP addresses in the cloud computing resource pool based on a preset data collection period. The network status analysis module 52 analyzes and processes the traffic and flow direction information between IP addresses based on the IP address allocation information corresponding to the virtual machine.

[0067] The virtual machine management module 53 determines virtual machines with affinity according to the communication relationship information, sets the virtual machines with affinity as a virtual machine group, determines the resource requirements of the virtual machine group, and generates virtual machine topology information according to the resource requirements.

[0068] The virtual machine management module 53 determines whether the host running each virtual machine in the virtual machine group can meet the resource requirements, and if so, selects a target host from the hosts that can meet the resource requirements. The virtual machine scheduling module 54 migrates the virtual machines in the virtual machine group that are not running on the target host to the target host.

[0069] If the hosts running the virtual machines in the virtual machine group cannot meet the resource requirements, the virtual machine management module 53 determines whether there is a first host in the host cluster that meets the resource requirements; if so, the virtual machine management module 53 selects a target host from the first hosts. The virtual machine scheduling module 54 migrates all virtual machines in the virtual machine group to the target host.

[0070] If it is determined that there is no first host that meets the resource requirements in the host cluster, the virtual machine management module 53 determines whether the number of virtual machines in the virtual machine group is greater than or equal to 2; if so, the virtual machine management module 53 removes the virtual machine with the smallest traffic in the virtual machine group to determine the resource requirements of the virtual machine group; if not, it is determined whether there is a second host in the host cluster. The second host meets the resource requirements by migrating virtual machines that do not have affinity. If it is determined that there is a second host in the host cluster, the virtual machine scheduling module 54 migrates the virtual machine that does not have affinity from the second host and uses the second host as the target host.

[0071] In one embodiment, Figure 6 FIG. 1 is a schematic diagram of a module of another embodiment of a virtual machine dynamic migration device according to the present disclosure. Figure 6 As shown, the device may include a memory 61, a processor 62, a communication interface 63 and a bus 64. The memory 61 is used to store instructions, the processor 62 is coupled to the memory 61, and the processor 62 is configured to execute the above-mentioned virtual machine dynamic migration method based on the instructions stored in the memory 61.

[0072] The memory 61 may be a high-speed RAM memory, a non-volatile memory, etc., or a memory array. The memory 61 may also be divided into blocks, and the blocks may be combined into virtual volumes according to certain rules. The processor 62 may be a central processing unit CPU, or an application specific integrated circuit ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the virtual machine dynamic migration method disclosed in the present invention.

[0073] In one embodiment, the present disclosure provides a computer-readable storage medium storing computer instructions, which implement the method in any of the above embodiments when the instructions are executed by a processor.

[0074] The virtual machine dynamic migration method, device and storage medium in the above-mentioned embodiments can effectively reduce the network transmission pressure between hosts within the data center, reduce unnecessary network transmission between hosts, and reduce the network load within the data center by dynamically adjusting the running location of the virtual machine based on the network topology relationship between the virtual machines and optimizing the dynamic migration and scheduling of the virtual machine.

[0075] The method and system of the present disclosure may be implemented in many ways. For example, the method and system of the present disclosure may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above order of steps for the method is for illustration only, and the steps of the method of the present disclosure are not limited to the order specifically described above, unless otherwise specifically stated. In addition, in some embodiments, the present disclosure may also be implemented as a program recorded in a recording medium, which includes machine-readable instructions for implementing the method according to the present disclosure. Therefore, the present disclosure also covers a recording medium storing a program for executing the method according to the present disclosure.

[0076] The description of the present disclosure is given for the purpose of illustration and description, and is not intended to be exhaustive or to limit the present disclosure to the disclosed form. Many modifications and variations will be apparent to those of ordinary skill in the art. The embodiments are selected and described in order to better illustrate the principles and practical applications of the present disclosure, and to enable those of ordinary skill in the art to understand the present disclosure and thereby design various embodiments with various modifications suitable for specific uses.

Claims

1. A method for dynamic migration of a virtual machine, comprising: Obtain the traffic and flow direction information corresponding to the virtual machine; Based on the address allocation information corresponding to the virtual machine, the traffic and traffic information are analyzed and processed to determine the communication relationship information between the virtual machines; Determining virtual machine topology information corresponding to virtual machines having affinity relationships according to the communication relationship information includes: Determine the virtual machines with affinity according to the communication relationship information; set the virtual machines with affinity as a virtual machine group; determine the resource requirements of the virtual machine group; generate the virtual machine topology information according to the resource requirements; Wherein, generating the virtual machine topology information according to the resource demand includes: if the hosts on which the virtual machines in the virtual machine group run cannot meet the resource demand, determining whether there is a first host in the host cluster that meets the resource demand, and if so, selecting a target host from the first host; if it is determined that there is no first host in the host cluster that meets the resource demand, determining whether the number of virtual machines in the virtual machine group is greater than or equal to 2; if so, removing the virtual machine with the smallest traffic in the virtual machine group to determine the resource demand of the virtual machine group; if not, determining whether there is a second host in the host cluster; wherein the second host meets the resource demand by migrating virtual machines that do not have affinity; if it is determined that there is the second host in the host cluster, migrating the virtual machine that does not have affinity from the second host, and using the second host as the target host; The method further comprises: performing scheduling processing on the virtual machines having affinity relationships based on the virtual machine topology information, including: Migrate all virtual machines in the virtual machine group to the target host.

2. The method according to claim 1, wherein obtaining the flow and flow direction information corresponding to the virtual machine comprises: Based on the preset data collection cycle, the traffic and flow direction information between IP addresses in the cloud computing resource pool are obtained regularly; The analyzing and processing the traffic and traffic information based on the address allocation information corresponding to the virtual machine includes: Based on the IP address allocation information corresponding to the virtual machine, the traffic and flow direction information between the IP addresses are analyzed and processed.

3. The method according to claim 2, wherein generating the virtual machine topology information according to the resource demand comprises: Determine whether the host on which each virtual machine in the virtual machine group runs can meet the resource demand; If yes, selecting a target host from the hosts that can meet the resource requirement; The scheduling process of the virtual machines having affinity based on the virtual machine topology information includes: Migrate the virtual machines in the virtual machine group that are not running on the target host to the target host.

4. A virtual machine dynamic migration device, comprising: A network status monitoring module is used to obtain the flow and flow direction information corresponding to the virtual machine; A network status analysis module, configured to analyze and process the traffic and traffic information based on address allocation information corresponding to the virtual machines, so as to determine communication relationship information between the virtual machines; A virtual machine management module, configured to determine virtual machine topology information corresponding to virtual machines having affinity relationships according to the communication relationship information; Wherein, the virtual machine management module is used to determine the virtual machines with affinity according to the communication relationship information; set the virtual machines with affinity as a virtual machine group; determine the resource requirements of the virtual machine group; generate the virtual machine topology information according to the resource requirements; wherein, the generating of the virtual machine topology information according to the resource requirements includes: if the hosts on which the virtual machines in the virtual machine group run cannot meet the resource requirements, then determine whether there is a first host that meets the resource requirements in the host cluster, and if so, select a target host from the first host; if it is determined that there is no first host that meets the resource requirements in the host cluster, then determine whether the number of virtual machines in the virtual machine group is greater than or equal to 2; if so, remove the virtual machine with the smallest traffic in the virtual machine group to determine the resource requirements of the virtual machine group; if not, determine whether there is a second host in the host cluster; wherein, the second host meets the resource requirements by migrating virtual machines that do not have affinity; if it is determined that there is the second host in the host cluster, then migrate the virtual machine that does not have affinity from the second host and use the second host as the target host; A virtual machine scheduling module, used for scheduling the virtual machines having affinity relationships based on the virtual machine topology information; The virtual machine scheduling module is used to migrate all virtual machines in the virtual machine group to the target host.

5. The device according to claim 4, wherein: The network status monitoring module is used to periodically obtain the traffic and flow direction information between IP addresses in the cloud computing resource pool based on a preset data collection period; The network status analysis module is used to analyze and process the traffic and flow direction information between the IP addresses based on the IP address allocation information corresponding to the virtual machine.

6. The device according to claim 5, wherein: The virtual machine management module is used to determine whether the host on which each virtual machine in the virtual machine group runs can meet the resource demand; if so, select a target host from the hosts that can meet the resource demand; The virtual machine scheduling module is used to migrate the virtual machines in the virtual machine group that are not running on the target host to the target host.

7. A virtual machine dynamic migration device, comprising: Memory; and a processor coupled to the memory, wherein the processor is configured to execute the method according to any one of claims 1 to 3 based on instructions stored in the memory. 8 . A computer-readable storage medium storing computer instructions, wherein the instructions are executed by a processor to execute the method according to claim 1 .

Citation Information

Patent Citations

  • Load balancing method of virtual machines, related equipment and trunking system

    CN104184813A