WO2015081717A1 - 一种虚拟机迁移管理方法、装置及系统 - Google Patents
一种虚拟机迁移管理方法、装置及系统 Download PDFInfo
- Publication number
- WO2015081717A1 WO2015081717A1 PCT/CN2014/083869 CN2014083869W WO2015081717A1 WO 2015081717 A1 WO2015081717 A1 WO 2015081717A1 CN 2014083869 W CN2014083869 W CN 2014083869W WO 2015081717 A1 WO2015081717 A1 WO 2015081717A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- virtual machine
- migration
- computing node
- migrated
- migration time
- 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.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45504—Abstract machines for programme code execution, e.g. Java virtual machine [JVM], interpreters, emulators
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
- G06F9/485—Task life-cycle, e.g. stopping, restarting, resuming execution
- G06F9/4856—Task life-cycle, e.g. stopping, restarting, resuming execution resumption being on a different machine, e.g. task migration, virtual machine migration
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/4557—Distribution of virtual machine instances; Migration and load balancing
Definitions
- the invention relates to a method, device and system for managing virtual machine migration.
- the patent application claims that the Chinese patent application number is 201310656235.1 submitted on December 6, 2013, and the invention name is "a virtual machine migration management method, device and system" priority. The entire content of this application is hereby incorporated by reference.
- the present invention relates to the field of computer technologies, and in particular, to a virtual machine migration management method, apparatus, and system. Background technique
- Virtual machine hot migration is a key technology in the field of virtualization. It is an important means to realize dynamic resource scheduling of virtualized clusters, without interrupting service replacement and maintaining hosts.
- the basic principle of virtual machine hot migration is to migrate the running virtual machine from the source physical machine to the target physical machine without affecting the user's business or the user is not aware of it. In order to quickly solve resource hotspots and power integration, it may be necessary to determine the average value of multiple migrations at a time to calculate the maximum number of virtual machine migrations per host. The difference in virtual machine specifications and services leads to large deviations in migration time. The evaluation of migration time is inaccurate and it is impossible to make a reasonable virtual machine hot migration decision. Summary of the invention
- the embodiment of the present invention provides a virtual machine migration management method, device, and system, which can improve the virtual machine migration decision degree by dynamically calculating the virtual machine migration time.
- a first aspect of the embodiments of the present invention provides a virtual machine migration management method, where the method includes:
- the migration parameter includes an allocated memory size, a memory change rate, and a migration of the virtual machine to be migrated Network bandwidth
- the migration time of the source computing node and the current computing node are currently available - - the migration time is not less than the migration time, then it is determined that the virtual machine to be migrated is migrated from the source computing node to the destination computing node.
- the method further includes:
- the migration time is subtracted from the current available migration time of the source computing node, and the current available migration of the destination computing node The migration time is subtracted from time.
- N is the smallest integer value that satisfies aox ⁇ -1 being less than the default memory dirty page threshold.
- MV is the allocation of the virtual machine to be migrated
- MCR is the memory change rate of the virtual machine to be migrated
- migrated network bandwidth allocated for the virtual machine to be migrated N.
- N is the smallest integer value that satisfies aox ⁇ -1 is less than the default memory dirty page threshold
- CV is the memory compression ratio of the virtual machine to be migrated.
- the method further includes:
- the fifth possible implementation in the first aspect In the middle, if it is detected at the beginning of each round of resource scheduling that the computing node is performing virtual machine migration, the migration time MT of the computing node is initialized; two NiXT-MTVi; where the migration is being performed in the computing node The migration time of the virtual machine.
- the second aspect of the embodiments of the present invention provides a virtual machine migration management apparatus, including: a migration time calculation module, configured to calculate, according to a migration parameter of a virtual machine to be migrated, the migration of the virtual machine to be migrated from a source computing node to The purpose is to calculate a migration time of the node, where the migration parameter includes an allocated memory size, a memory change rate, and a migration network bandwidth of the virtual machine to be migrated;
- a migrating time management module configured to separately obtain a current available migration time of the source computing node and a current available migration time of the destination computing node;
- the migration judging module is configured to: if the current available migration time of the source computing node and the current available migration time of the destination computing node are not less than the migration time, determine to migrate the virtual machine to be migrated from the source computing node To the destination compute node.
- the migratable time management module is further configured to: after starting to migrate the to-be-migrated virtual machine from a source computing node to a destination computing node, at the source computing node The migration time is subtracted from the current available migration time, and the migration time is subtracted from the current available migration time of the destination compute node.
- the calculating, by the migration time calculation module, the migration time includes:
- the migration network bandwidth, N. is the preset maximum number of transmissions, and N is the smallest integer value that satisfies ⁇ -1 being less than the preset memory dirty page threshold.
- the calculating, by the migration time calculation module, the migration time includes:
- the migratable time management module is further configured to:
- ⁇ ] ⁇ ⁇ , where is the number of concurrently migrated virtual machines supported by the compute node, and is the resource scheduling period.
- the migratable time management module is further configured to:
- the migration time MH xT -MTVij of the computing node is initialized, where ⁇ ⁇ ⁇ is the migration of the virtual machine being migrated in the computing node time.
- the third aspect of the embodiments of the present invention further provides a virtual machine migration management system, including at least two computing node devices that carry virtual machines, and any one of the virtual machine migrations according to the second aspect of the embodiments of the present invention.
- Management device including at least two computing node devices that carry virtual machines, and any one of the virtual machine migrations according to the second aspect of the embodiments of the present invention.
- a fourth aspect of the embodiments of the present invention provides a virtual machine migration management system, including a source computing node, a destination computing node, and a virtual machine migration management device that carries at least one virtual machine to be migrated.
- the virtual machine migration management device is configured to calculate, according to the migration parameter of the virtual machine to be migrated, a migration time of the virtual machine to be migrated from the source computing node to the destination computing node, where network bandwidth is acquired separately Determining the current available migration time of the source computing node and the current available migration time of the destination computing node; if the current available migration time of the source computing node and the current available migration time of the destination computing node are not less than the migration time And determining to migrate the virtual machine to be migrated from the source computing node to the destination computing node.
- the migration time may be calculated by using any one of the following two implementation manners: - - Migration time of the virtual machine to be migrated from source compute node i to destination compute node j
- q MCRV x ( MV-. I BWV ) ⁇ 1, MV-.
- the allocated memory size of the virtual machine to be migrated the MCRVa is the memory change rate of the virtual machine to be migrated, and the migrated network bandwidth allocated for the virtual machine to be migrated, N.
- N is the smallest integer value that satisfies aox ⁇ -1 being less than the default memory dirty page threshold, and
- the memory change rate, the migrated network bandwidth allocated for the virtual machine to be migrated, N. is the preset maximum number of transmissions, and N is the smallest integer value that satisfies the aox ⁇ -1 being smaller than the preset memory dirty page threshold, CV The memory compression ratio of the virtual machine to be migrated.
- the embodiment of the present invention dynamically calculates the migration time by using the migration parameters of the virtual machine to be migrated, and compares the calculated migration time with the current available migration time of the source computing node and the destination computing node to improve the accuracy of the virtual machine migration decision. . DRAWINGS
- FIG. 1 is a schematic flowchart of a virtual machine migration management method according to an embodiment of the present invention
- FIG. 2 is a schematic flowchart of a virtual machine migration management method according to another embodiment of the present invention
- FIG. 3 is a schematic structural diagram of a virtual machine migration management apparatus according to an embodiment of the present invention
- FIG. 4 is a schematic structural diagram of a virtual machine migration management apparatus according to another embodiment of the present invention
- FIG. 5 is a schematic structural diagram of a virtual machine migration management system according to an embodiment of the present invention
- - Figure 7 is a block diagram showing the structure of the distributed resource management system mentioned in the embodiment of the present invention.
- the virtual machine migration management device may be implemented in a separate node device, or in a management node device of the distributed resource management system as shown in FIG. 7, and the distributed resource management system shown in FIG. 7 includes management.
- FIG. 1 is a schematic flowchart of a virtual machine migration management method according to an embodiment of the present invention.
- the migration of the virtual machine to be migrated from the source computing node to the destination computing node is calculated according to the migration parameter of the virtual machine to be migrated.
- the migration time where the migration parameter includes an allocated memory size of the virtual machine to be migrated, a memory change rate, and a migration network bandwidth.
- the virtual machine migration management device can determine the virtual machine that needs to be migrated from the computing node i to the computing node j according to factors such as load balancing, that is, the virtual machine to be migrated, and then the virtual machine to be migrated is obtained.
- the upper-layer service QoS Quality of Service
- MCRV memory change rate
- network QoS defined by the lower layer
- the memory allocated by the source computing node to the virtual machine ⁇ is M,., which is referred to as allocated memory in this embodiment.
- Transfer the virtual machine 1 ⁇ 's allocated memory ⁇ , from the source compute node i to the destination compute node j, the time consumption is:
- ⁇ 0 ⁇ ⁇ / ⁇ ⁇ ;
- Exemplary ⁇ units can Mb, BWT ⁇ units can Mb / s..) of two copies, the first copy time round.
- the allocated memory of the virtual machine ⁇ has / n x V,. ⁇ ., ⁇ is changed, and this part of memory needs to be transferred from the source computing node i to the destination.
- the third round, in the second round of copying time, the virtual machine ⁇ allocated memory has ⁇ xM ⁇ xMO ⁇ ⁇ is changed, this part of memory needs to be transferred from the source compute node i to the destination compute node j, the time consumption is: M tJ X MCRV tJ I BWV tJ (MCRV tJ x (MV tJ I BWV tJ ;
- the final migration time should be:
- n is the total number of transmissions (rounds)
- " min ⁇ N. , N ⁇ , where N.
- N the smallest integer value that satisfies ⁇ - 1 less than the preset memory dirty page threshold X.
- the memory dirty page is the memory page that changes during each round of copy transmission, and the memory dirty page threshold X It is the value of the number of dirty pages in the memory, which can be set by the administrator in advance. That is to say, when the number of dirty pages of a certain round of copying is smaller than the dirty value of the memory, the copy can be stopped.
- the virtual machine migration may be performed by compressing and copying the virtual machine memory first, and the memory compression ratio ⁇ . may be determined according to the compression algorithm used, and then the formula (1) may be adjusted to :
- an available migration time can be set for each computing node, that is, the time that the computing node can be used for virtual machine migration in each scheduling period.
- the initial migration time of each computing node is initialized when the resource scheduling is triggered every certain period or when there are typical events (such as adding/deleting a computing node to a virtual resource cluster, starting/closing a virtual machine, etc.), and thus Typical events that affect the available migration time (such as migrating a virtual machine that was originally running on its own compute node to another compute node, or migrating a virtual machine that was originally running on another compute node to its own compute node, etc.)
- the available migration time on the compute node is updated, and the virtual machine migration management device can obtain the current available migration time and destination calculation of the source compute node, ie, the compute node i, after the decision needs to be migrated from the compute node i to the virtual machine of the compute node j.
- the node is the current available migration time of node j.
- the migration time of the virtual machine to be migrated from the source computing node to the destination computing node calculated in S101 is compared with the current available migration time of the source computing node and the current available migration time of the destination computing node, respectively. Determining that the virtual machine to be migrated may be migrated from the source computing node to the destination computing node, if the current available migration time of the computing node and the current available migration time of the destination computing node are not less than the migration time; If the current available migration time of the computing node is less than the migration time or the current available migration time of the destination computing node is less than the migration time, it is determined that the virtual machine to be migrated cannot be migrated from the source computing node to the destination computing node.
- the virtual machine migration management device may separately perform the The current available migration time of the source computing node and the current available migration time of the destination computing node are respectively subtracted from the migration time, so that the next time the virtual machine migration needs to be performed, - -
- Plan to migrate for decision making Virtual machine migration to achieve accurate management of the available migration time for the corresponding compute nodes.
- the virtual machine migration management device may further wait for the current available migration time of the source computing node and the current available migration time of the destination computing node after the migration of the virtual machine to be migrated is completed. Accurate management.
- the virtual machine migration management method described in FIG. 1 can dynamically calculate the migration time according to the migration parameters of the virtual machine to be migrated, and calculate the obtained migration time and the current available migration time of the source computing node and the The purpose is to calculate the current available migration time of the node to determine whether the virtual machine migration can be performed.
- the number of concurrent migrations of the virtual machine of the computing node can be dynamically managed, and the virtual machine migration decision can be made more accurately.
- 2 is a schematic flowchart of a virtual machine migration management method according to another embodiment of the present invention.
- the virtual machine migration management method in this embodiment may include:
- S201 Initialize the available migration time of all computing nodes at the beginning of each round of resource scheduling.
- each computing node when initializing the available migration time of each computing node, it may be detected whether each computing node is currently performing virtual machine migration. If the current computing node i is performing migration to the virtual machine of the computing node j, The available migration time of the computing node i can be initialized to MT ⁇ N ⁇ T-MTV-., and the migration time of the virtual machine to be migrated from the source computing node to the destination computing node is calculated according to the migration parameter of the virtual machine to be migrated.
- the migration parameter includes the allocated memory size, the memory change rate, and the migration network bandwidth of the to-be-migrated virtual machine.
- the manner of calculating the migration time is specifically exemplified in the foregoing embodiment, and is not described in this embodiment.
- the migration time of the virtual machine to be migrated from the source computing node to the destination computing node is calculated according to the migration parameter of the virtual machine to be migrated, where the migration parameter includes the allocated memory size and the memory change rate of the virtual machine to be migrated. And migrating network bandwidth.
- the virtual machine migration management device can decide from the calculation section according to factors such as load balancing.
- the point i migrates to the virtual machine of the compute node j, that is, the virtual machine to be migrated, and then obtains the service change rate ⁇ defined by the service QoS (Quality of Service) of the upper layer of the virtual machine to be migrated? and the lower network QoS for defining migration network bandwidth BT, in turn, can calculate the virtual machine ⁇ J migrate from the computing node i to the computing node j J migration time MTV i;.
- QoS Quality of Service
- the migration time of the migration of the virtual machine to be migrated from the source computing node to the destination computing node calculated in S202 is compared with the current available migration time of the source computing node and the current available migration time of the destination computing node, respectively. Determining that the virtual machine to be migrated may be migrated from the source computing node to the destination computing node, if the current available migration time of the computing node and the current available migration time of the destination computing node are not less than the migration time; If the current available migration time of the computing node is less than the migration time or the current available migration time of the destination computing node is less than the migration time, it is determined that the virtual machine to be migrated cannot be migrated from the source computing node to the destination computing node.
- the virtual machine migration management device may respectively provide the source computing node and the destination computing node with the following current computing nodes.
- the migration time and the current available migration time of the destination compute node are respectively subtracted from the migration time.
- the virtual machine migration management device may also be configured to view the current available migration time of the source computing node after the migration of the virtual machine to be migrated is completed, and the present embodiment is described in conjunction with FIG. 2 .
- the virtual machine migration management method can be based on the virtual to be migrated - -
- the migration parameters of the virtual machine dynamically calculate the migration time, and compare the calculated migration time with the current available migration time of the source computing node and the current available migration time of the destination computing node to determine whether virtual machine migration is possible. It can dynamically manage the number of concurrent migrations of virtual machines on the compute nodes, and achieve more accurate decision-making on virtual machine migration.
- 3 is a schematic structural diagram of a virtual machine migration management apparatus according to an embodiment of the present invention.
- the virtual machine migration management apparatus of the present invention may be implemented in a management node device of a distributed resource management system, or may be implemented in other independent nodes. In the device.
- the virtual machine migration apparatus in this embodiment may include:
- the migration time calculation module 310 is configured to calculate, according to the migration parameter of the virtual machine to be migrated, a migration time of the virtual machine to be migrated from the source computing node to the destination computing node, where the migration parameter includes the allocation of the virtual machine to be migrated Memory size, memory change rate, and migration network bandwidth.
- the virtual machine migration management device can perform the virtual machine migration in a pre-copy manner, and the virtual machine migration management device can determine the virtual machine that needs to be migrated from the computing node i to the computing node j according to factors such as load balancing, that is, the virtual machine to be migrated, and then obtain the The service QoS (Quality of Service) of the upper layer of the virtual machine to be migrated is the memory change rate MO? ⁇ ; and the network QoS of the lower layer is defined as the migration network bandwidth ⁇ , and the migration time calculation module 310 calculates
- the migration time can be calculated according to formula (1):
- N MCRV ij (MV ij IB WV ⁇ ) ⁇ 1 , is the allocated memory size of the virtual machine to be migrated, N.
- N is the smallest integer value that satisfies ⁇ -1 being less than the default memory dirty page threshold.
- the virtual machine migration may be performed by first compressing and copying the virtual machine memory, and the memory compression ratio may be determined according to the compression algorithm used, and then the formula (1) may be adjusted to:
- the method of determination is the same as before.
- the migrating time management module 320 is configured to separately obtain the current available migration time of the source computing node and the current available migration time of the destination computing node.
- the migratable time management module 320 can set an available migration time for each computing node, for example, at regular intervals or with typical events (such as adding/deleting a computing node to a virtual resource cluster, starting/closing a virtual machine, etc.) Initialize the available migration time for each compute node when triggering resource scheduling.
- it may first detect whether each computing node is currently performing virtual machine migration. If the current computing node i is performing migration to the virtual machine of the computing node j, the calculation may be performed.
- the available migration time of the node i is initialized to the MT ⁇ N ⁇ T-MTV-., and the migration time calculation module 310 calculates, according to the migration parameter of the virtual machine to be migrated, the migration of the virtual machine to be migrated from the source computing node to the destination computing node. Migrate network bandwidth during migration.
- the node, etc. can update the available migration time on the computing node, and the virtual machine migration management device can obtain the source computing node, ie, the computing node i, after the decision needs to be migrated from the computing node i to the virtual machine 1 of the computing node j.
- the current available migration time and destination compute node is the current available migration time for compute node j.
- the virtual machine migration management device may respectively deliver the virtual machine migration instruction to the source computing node and the destination computing node. So that the virtual machine migration of the virtual machine to be migrated is started, and the current available migration time of the source computing node and the current available migration time of the destination computing node are respectively subtracted by the migratable time management module 320. time.
- the migrating time management module 320 may also be configured to use the current available migration time migration determining module 330 of the source computing node after the migration of the virtual machine to be migrated is completed. The current available migration time of the source computing node and the current available migration time of the destination computing node are not less than the migration time, and then the migration of the virtual machine to be migrated from the source computing node to the destination computing node is determined.
- the source to be migrated from the source computing node calculated by the migration time calculation module 310 - - the migration time of the migration to the destination compute node is compared with the current available migration time of the source compute node and the current available migration time of the destination compute node, respectively, if the current available migration time of the source compute node and the current compute node are currently If the available migration time is not less than the migration time, the migration determination module 330 determines that the virtual machine to be migrated can be migrated from the source computing node to the destination computing node; if the current available migration time of the source computing node is less than the If the migration time or the current available migration time of the destination computing node is less than the migration time, the migration determining module 330 determines that the virtual machine to be migrated cannot be migrated from the source computing node to the destination computing node.
- the migration determining module 330 may respectively deliver the virtual machine migration instruction to the source computing node and the destination computing node. So that the virtual machine migration of the virtual machine to be migrated is started, and at the same time, the migration judging module 330 can notify the migratable time management module 320 that the current available migration time of the source computing node and the current computing node are currently available. The migration time is subtracted from the migration time.
- the virtual machine migration management apparatus described in this embodiment, in conjunction with FIG. 3 can dynamically calculate the migration time according to the migration parameters of the virtual machine to be migrated, and calculate the obtained migration time and the current available migration time of the source computing node and the The purpose is to calculate the current available migration time of the node to determine whether the virtual machine migration can be performed.
- the number of concurrent migrations of the virtual machine of the computing node can be dynamically managed, and the virtual machine migration decision can be made more accurately.
- 4 is a schematic structural diagram of a virtual machine migration management apparatus according to another embodiment of the present invention. As shown in FIG.
- the virtual machine migration management apparatus 400 may include: at least one processor 401, such as a CPU, at least A network interface 403, a memory 404, and at least one communication bus 402.
- the communication bus 402 is used to implement connection communication between these components.
- the network interface 403 can optionally include a standard wired interface, a wireless interface (such as a WI-FI interface).
- an antenna device is included for signaling or data communication with other node devices.
- the memory 404 may be a high speed RAM memory or a non-volatile memory such as at least one disk memory.
- the memory 404 can optionally also be at least one storage device located remotely from the aforementioned processor 401.
- a set of program codes is stored in the memory 404, and the processor 401 is configured to call the program code stored in the memory 404 for performing the following operations: - calculating a migration time of the virtual machine to be migrated from the source computing node to the destination computing node according to the migration parameter of the virtual machine to be migrated, where the migration parameter includes an allocated memory size and a memory change rate of the virtual machine to be migrated And migrating network bandwidth;
- the virtual machine to be migrated is migrated from the source computing node to the destination computing node.
- the calculating, according to the migration parameter of the virtual machine to be migrated, the migration time of the virtual machine to be migrated from the source computing node to the destination computing node includes:
- q MCRVij x [MV ⁇ I BWV ⁇ ) ⁇ 1
- MV ⁇ j is the allocated memory size of the virtual machine to be migrated
- MCRVij is the virtual machine to be migrated
- the memory change rate, BWT ⁇ allocates the migrated network bandwidth to the VM to be migrated, N.
- N is the smallest integer value that satisfies aox ⁇ -1 being less than the default memory dirty page threshold.
- the virtual machine migration may be performed by first compressing and copying the virtual machine memory, and the memory compression ratio may be determined according to the compression algorithm used, and then the formula (1) may be adjusted to:
- n is the same as before.
- the processor 401 can also execute the following steps by calling the program code stored in the memory 404:
- the migration time is subtracted from the current available migration time of the source computing node, and the current available migration of the destination computing node The migration time is subtracted from time. So that the next time you need to perform a virtual machine
- the virtual machine migration management device may further wait for the current available migration time of the source computing node and the current available migration time of the destination computing node after the migration of the virtual machine to be migrated is completed. Accurate management.
- the processor 401 can also execute the following steps by calling the program code stored in the memory 404:
- the virtual machine migration management apparatus described in this embodiment may dynamically calculate the migration time according to the migration parameter of the virtual machine to be migrated, and calculate the obtained migration time and the current available migration time of the source computing node and the The purpose is to calculate the current available migration time of the node to determine whether the virtual machine migration can be performed.
- the number of concurrent migrations of the virtual machine of the computing node can be dynamically managed, and the virtual machine migration decision can be made more accurately.
- 5 is a schematic structural diagram of a virtual machine migration management system according to an embodiment of the present invention. As shown in the figure, the virtual machine migration management system in this embodiment may include at least two computing node devices 510 that carry virtual machines, and calculate The node device 520 is a computer node device 5n0 and a virtual machine migration management device 500, wherein:
- the virtual machine migration management device 500 may be configured to migrate the virtual machine to be migrated from the source computing node to the destination computing node according to the migration parameter of the virtual machine to be migrated.
- a migration time where the migration parameter includes an allocated memory size of the virtual machine to be migrated, a memory change rate, and a migration network bandwidth; respectively acquiring the source calculation section - - the current available migration time and the current available migration time of the destination computing node; if the current available migration time of the source computing node and the current available migration time of the destination computing node are not less than the migration time, Then, it is determined that the virtual machine to be migrated is migrated from the source computing node to the destination computing node.
- the computing node device is configured to perform a migration operation of the virtual machine to be migrated when the virtual machine migration management device determines to migrate the virtual machine to be migrated from the source computing node to the destination computing node.
- FIG. 6 is a virtual machine migration management system according to another embodiment of the present invention, which includes a source computing node i620 carrying at least one virtual machine to be migrated, a destination computing node j630, and a virtual machine migration management device 610. ,
- the virtual machine migration management device 610 is configured to calculate, according to the migration parameter of the virtual machine to be migrated, a variable rate of the migration of the virtual machine to be migrated from the source computing node i620 to the destination computing node j630 and a migration network bandwidth; Obtaining the current available migration time of the source computing node i620 and the current available migration time of the destination computing node j630 respectively; if the current available migration time of the source computing node i620 and the current available migration time of the destination computing node j630 If the migration time is not less than the migration time, it is determined that the virtual machine to be migrated is migrated from the source computing node i620 to the destination computing node j630.
- the migration time may be calculated by using any one of the following two implementations:
- N is the preset maximum number of transmissions
- N is the smallest integer value that satisfies ⁇ ⁇ ⁇ - 1 less than the preset memory dirty page threshold.
- the virtual machine migration management system introduced in this embodiment may be used to implement all or part of the virtual machine migration management method flow in any of the foregoing method embodiments.
- the embodiment of the present invention dynamically calculates the migration time according to the migration parameter of the virtual machine to be migrated, and compares the calculated migration time with the current available migration time of the source computing node and the destination calculation section.
- Dynamic management of concurrent virtual machine migrations of compute nodes enables more accurate decision making on virtual machine migration.
- the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Computer And Data Communications (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
Claims
Priority Applications (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR1020167008845A KR101814560B1 (ko) | 2013-12-06 | 2014-08-07 | 가상 머신 마이그레이션 관리 방법, 장치, 및 시스템 |
| JP2016519928A JP6168576B2 (ja) | 2013-12-06 | 2014-08-07 | 仮想マシンマイグレーション管理の方法、装置およびシステム |
| EP14795536.3A EP2894827B1 (en) | 2013-12-06 | 2014-08-07 | Method, apparatus, and system for managing migration of virtual machine |
| US14/557,994 US9720728B2 (en) | 2013-12-06 | 2014-12-02 | Migrating a VM when the available migration duration times of a source and destination node are greater than the VM's migration duration time |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310656235.1A CN103685256B (zh) | 2013-12-06 | 2013-12-06 | 一种虚拟机迁移管理方法、装置及系统 |
| CN201310656235.1 | 2013-12-06 |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US14/557,994 Continuation US9720728B2 (en) | 2013-12-06 | 2014-12-02 | Migrating a VM when the available migration duration times of a source and destination node are greater than the VM's migration duration time |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2015081717A1 true WO2015081717A1 (zh) | 2015-06-11 |
Family
ID=50321571
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2014/083869 Ceased WO2015081717A1 (zh) | 2013-12-06 | 2014-08-07 | 一种虚拟机迁移管理方法、装置及系统 |
Country Status (6)
| Country | Link |
|---|---|
| US (1) | US9720728B2 (zh) |
| EP (1) | EP2894827B1 (zh) |
| JP (1) | JP6168576B2 (zh) |
| KR (1) | KR101814560B1 (zh) |
| CN (1) | CN103685256B (zh) |
| WO (1) | WO2015081717A1 (zh) |
Families Citing this family (35)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103685256B (zh) * | 2013-12-06 | 2017-08-04 | 华为技术有限公司 | 一种虚拟机迁移管理方法、装置及系统 |
| US9558005B2 (en) | 2014-05-19 | 2017-01-31 | Intel Corporation | Reliable and deterministic live migration of virtual machines |
| CN107430518A (zh) * | 2015-03-27 | 2017-12-01 | 英特尔公司 | 用于虚拟机迁移的技术 |
| EP3314424A4 (en) * | 2015-06-26 | 2019-02-06 | Intel Corporation | METHOD FOR MIGRATING A VIRTUAL MACHINE |
| US9733970B2 (en) * | 2015-08-21 | 2017-08-15 | International Business Machines Corporation | Placement of virtual machines on preferred physical hosts |
| US9959138B1 (en) | 2015-09-11 | 2018-05-01 | Cohesity, Inc. | Adaptive self-maintenance scheduler |
| US9336042B1 (en) * | 2015-11-19 | 2016-05-10 | International Business Machines Corporation | Performing virtual machine live migration within a threshold time by adding available network path in multipath network |
| CN107566319B (zh) * | 2016-06-30 | 2021-01-26 | 中央大学 | 虚拟机器即时转移方法 |
| CN106227580A (zh) * | 2016-07-18 | 2016-12-14 | 浪潮(北京)电子信息产业有限公司 | 一种虚拟机的动态迁移方法及系统 |
| CN107977264B (zh) * | 2016-10-24 | 2022-06-10 | 阿里巴巴集团控股有限公司 | 一种虚拟机内存资源的调度方法以及装置 |
| US10545777B2 (en) * | 2016-11-08 | 2020-01-28 | International Business Machines Corporation | Generating a virtual machines relocation protocol |
| CN106874066B (zh) * | 2017-01-20 | 2021-01-26 | 中兴通讯股份有限公司 | 一种虚拟机迁移方法及装置、电子设备 |
| US10997132B2 (en) * | 2017-02-07 | 2021-05-04 | Oracle International Corporation | Systems and methods for live data migration with automatic redirection |
| CN106970824B (zh) * | 2017-03-07 | 2019-12-17 | 华中科技大学 | 一种基于带宽感知的虚拟机迁移压缩方法及系统 |
| CN108804198A (zh) * | 2017-04-26 | 2018-11-13 | 北京邮电大学 | 一种基于利用率变化趋势预测的虚拟机迁移时机确定方法 |
| US10375169B1 (en) * | 2017-05-24 | 2019-08-06 | United States Of America As Represented By The Secretary Of The Navy | System and method for automatically triggering the live migration of cloud services and automatically performing the triggered migration |
| CN107368349B (zh) * | 2017-07-17 | 2020-09-08 | 郑州云海信息技术有限公司 | 一种资源管理方法及装置 |
| JP6901683B2 (ja) * | 2017-09-22 | 2021-07-14 | 富士通株式会社 | 調整プログラム、調整装置および調整方法 |
| US10445129B2 (en) * | 2017-10-31 | 2019-10-15 | Vmware, Inc. | Virtual computing instance transfer path selection |
| CN108037980B (zh) * | 2018-01-02 | 2023-03-14 | 腾讯科技(深圳)有限公司 | 控制执行虚拟机热迁移的方法、装置和可读存储介质 |
| CN109408195B (zh) * | 2018-09-05 | 2022-04-22 | 华为云计算技术有限公司 | 虚拟机热迁移方法及装置 |
| CN109246229B (zh) * | 2018-09-28 | 2021-08-27 | 网宿科技股份有限公司 | 一种分发资源获取请求的方法和装置 |
| JP7198102B2 (ja) * | 2019-02-01 | 2022-12-28 | 日本電信電話株式会社 | 処理装置及び移動方法 |
| JP7177349B2 (ja) * | 2019-02-08 | 2022-11-24 | 富士通株式会社 | スケジュールプログラム、スケジュール装置およびスケジュール方法 |
| FR3094812A1 (fr) * | 2019-04-08 | 2020-10-09 | Orange | Procédé et dispositif de migration d’une fonction virtualisée en cas de défaillance de l’environnement technique de serveurs |
| US11301307B2 (en) * | 2019-07-24 | 2022-04-12 | Red Hat, Inc. | Predictive analysis for migration schedulers |
| US11409619B2 (en) | 2020-04-29 | 2022-08-09 | The Research Foundation For The State University Of New York | Recovering a virtual machine after failure of post-copy live migration |
| US11875169B2 (en) * | 2020-07-21 | 2024-01-16 | Google Llc | Optimizing replication-based migration of virtual machines |
| US11620156B2 (en) * | 2020-12-04 | 2023-04-04 | Red Hat, Inc. | Live migration with guaranteed maximum migration downtimes |
| KR102262645B1 (ko) | 2020-12-31 | 2021-06-09 | 박용정 | 클라우드 컴퓨팅 환경에서의 리소스관리를 위한 모니터링 시스템 및 방법 |
| CN113254161B (zh) * | 2021-06-29 | 2021-10-26 | 飞腾信息技术有限公司 | 一种基于cpu的快速虚拟机热迁移方法 |
| CN115543530A (zh) * | 2021-06-30 | 2022-12-30 | 华为技术有限公司 | 一种虚拟机迁移方法以及相关装置 |
| KR102403625B1 (ko) * | 2021-10-15 | 2022-05-30 | 오케스트로 주식회사 | 물리 서버 성능 저하를 고려하여 가상 머신 예측 관리를 구현한 가상 머신 배치 시스템 및 가상 머신 배치 방법 |
| CN115587222B (zh) * | 2022-12-12 | 2023-03-17 | 阿里巴巴(中国)有限公司 | 分布式图计算方法、系统及设备 |
| CN117806776B (zh) * | 2024-02-29 | 2024-05-10 | 山东海量信息技术研究院 | 一种数据迁移方法、装置及电子设备和存储介质 |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7484208B1 (en) * | 2002-12-12 | 2009-01-27 | Michael Nelson | Virtual machine migration |
| JP4438807B2 (ja) * | 2007-03-02 | 2010-03-24 | 日本電気株式会社 | 仮想マシンシステム、管理サーバ、仮想マシン移行方法及びプログラム |
| CN102866915A (zh) * | 2012-08-21 | 2013-01-09 | 华为技术有限公司 | 虚拟化集群整合方法、装置及虚拟化集群系统 |
| CN103685256A (zh) * | 2013-12-06 | 2014-03-26 | 华为技术有限公司 | 一种虚拟机迁移管理方法、装置及系统 |
Family Cites Families (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8095929B1 (en) * | 2007-04-16 | 2012-01-10 | Vmware, Inc. | Method and system for determining a cost-benefit metric for potential virtual machine migrations |
| US9110702B2 (en) | 2010-06-02 | 2015-08-18 | Microsoft Technology Licensing, Llc | Virtual machine migration techniques |
| JP5763961B2 (ja) * | 2011-04-14 | 2015-08-12 | キヤノン株式会社 | 通信装置、通信システム、通信装置の制御方法およびプログラム |
| CN103064733A (zh) * | 2011-10-20 | 2013-04-24 | 电子科技大学 | 云计算虚拟机热迁移技术 |
| KR101586598B1 (ko) | 2012-01-10 | 2016-01-18 | 후지쯔 가부시끼가이샤 | 가상 머신 관리 기록 매체, 방법 및 장치 |
| US20130226645A1 (en) * | 2012-02-24 | 2013-08-29 | Certain, Inc. | Method and apparatus for appointment matching and scheduling in event management |
| JP2013200615A (ja) * | 2012-03-23 | 2013-10-03 | Nec Corp | 仮想マシン移動制御システム、仮想マシン移動方法およびプログラム |
| US10282196B2 (en) * | 2012-04-06 | 2019-05-07 | Oracle International Corporation | System and method for moving enterprise software application components across environments |
| CN102662763B (zh) * | 2012-04-11 | 2014-03-26 | 华中科技大学 | 基于服务质量的虚拟机资源调度方法 |
| US9172587B2 (en) * | 2012-10-22 | 2015-10-27 | International Business Machines Corporation | Providing automated quality-of-service (‘QoS’) for virtual machine migration across a shared data center network |
| US9083724B2 (en) * | 2013-05-30 | 2015-07-14 | Netapp, Inc. | System iteratively reducing I/O requests during migration of virtual storage system |
-
2013
- 2013-12-06 CN CN201310656235.1A patent/CN103685256B/zh active Active
-
2014
- 2014-08-07 WO PCT/CN2014/083869 patent/WO2015081717A1/zh not_active Ceased
- 2014-08-07 JP JP2016519928A patent/JP6168576B2/ja active Active
- 2014-08-07 EP EP14795536.3A patent/EP2894827B1/en active Active
- 2014-08-07 KR KR1020167008845A patent/KR101814560B1/ko active Active
- 2014-12-02 US US14/557,994 patent/US9720728B2/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7484208B1 (en) * | 2002-12-12 | 2009-01-27 | Michael Nelson | Virtual machine migration |
| JP4438807B2 (ja) * | 2007-03-02 | 2010-03-24 | 日本電気株式会社 | 仮想マシンシステム、管理サーバ、仮想マシン移行方法及びプログラム |
| CN102866915A (zh) * | 2012-08-21 | 2013-01-09 | 华为技术有限公司 | 虚拟化集群整合方法、装置及虚拟化集群系统 |
| CN103685256A (zh) * | 2013-12-06 | 2014-03-26 | 华为技术有限公司 | 一种虚拟机迁移管理方法、装置及系统 |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2016537705A (ja) | 2016-12-01 |
| EP2894827A1 (en) | 2015-07-15 |
| CN103685256A (zh) | 2014-03-26 |
| KR20160049006A (ko) | 2016-05-04 |
| US9720728B2 (en) | 2017-08-01 |
| EP2894827A4 (en) | 2015-09-02 |
| US20150160972A1 (en) | 2015-06-11 |
| CN103685256B (zh) | 2017-08-04 |
| EP2894827B1 (en) | 2016-10-26 |
| JP6168576B2 (ja) | 2017-07-26 |
| KR101814560B1 (ko) | 2018-01-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2015081717A1 (zh) | 一种虚拟机迁移管理方法、装置及系统 | |
| US10263911B2 (en) | System and method for resource management | |
| CN105183561B (zh) | 一种资源分配方法和系统 | |
| US20170195282A1 (en) | Address Processing Method, Related Device, and System | |
| CN108475207A (zh) | 云应用的联合自动缩放 | |
| WO2014032287A1 (zh) | 中央处理器资源分配方法和计算节点 | |
| WO2016058415A1 (zh) | 一种应用伸缩管理方法及装置 | |
| WO2018059029A1 (zh) | 一种资源分配方法、相关设备及系统 | |
| EP3506575B1 (en) | Method and device for data transmission | |
| CN105391797A (zh) | 基于sdn的云服务器负载均衡方法及装置 | |
| WO2012100544A1 (zh) | 基于网络数据流向的虚拟机迁移方法、设备和集群系统 | |
| WO2015027771A1 (zh) | 一种虚拟机的资源配置方法和通信设备 | |
| CN106664259B (zh) | 虚拟网络功能扩容的方法和装置 | |
| CN105607950A (zh) | 一种虚拟机资源配置方法和装置 | |
| CN106713375A (zh) | 云资源的调配方法及装置 | |
| US10223219B2 (en) | Managing network failure using back-up networks | |
| CN106034153A (zh) | 带宽资源分配方法、数据传输方法、装置及系统 | |
| CN106059940B (zh) | 一种流量控制方法及装置 | |
| CN106534227B (zh) | 用于扩展分布式一致性服务的方法和设备 | |
| CN104991822A (zh) | 一种管理内存的方法和装置 | |
| CN109981412B (zh) | 集群中数据迁移方法、装置及存储介质 | |
| CN110290228A (zh) | 一种互联网协议ip地址分配方法及装置 | |
| WO2016192011A1 (zh) | 一种拥塞控制的方法及网元设备 | |
| CN107534678A (zh) | 建立vnfm与vim之间的连接的方法、装置及系统 | |
| JP6600250B2 (ja) | マルチコアcpuを有するパケット転送装置の制御装置及びプログラム |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| REEP | Request for entry into the european phase |
Ref document number: 2014795536 Country of ref document: EP |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2014795536 Country of ref document: EP |
|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 14795536 Country of ref document: EP Kind code of ref document: A1 |
|
| ENP | Entry into the national phase |
Ref document number: 2016519928 Country of ref document: JP Kind code of ref document: A |
|
| ENP | Entry into the national phase |
Ref document number: 20167008845 Country of ref document: KR Kind code of ref document: A |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |