Virtual machine thermal migration method, device and system, storage medium and equipment

A virtual machine and machine heating technology, applied in the field of virtual machine hot migration, can solve the problems of migration failure, migration time enlargement, and failure to reduce in time, so as to improve resource competition, reduce load, and avoid performance degradation.

Active Publication Date: 2017-10-13
UCLOUD TECH CO LTD
View PDF4 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, in the existing hot migration process, if the disk data of the user virtual machine is very large, especially if the user virtual machine is running a high I/O (Input/Output, input/output) load service, the disk data of the virtual machine will Repeated updates will cause the disk migration process to be delayed, the migration time will be infinitely enlarged,

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Virtual machine thermal migration method, device and system, storage medium and equipment
  • Virtual machine thermal migration method, device and system, storage medium and equipment
  • Virtual machine thermal migration method, device and system, storage medium and equipment

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0028] Figure 1A is a flow chart of the virtual machine live migration method 100 according to the first embodiment of the present invention. The method 100 can be executed by a virtual machine live migration device on a physical machine.

[0029] Such as Figure 1A As shown, in step S101, the source disk data of the source virtual machine on the source physical machine is shared to the target physical machine in the form of virtual mirroring by using the shared storage technology.

[0030] Optionally, a shared storage technology such as iSCSI (Internet Small Computer System Interface, Internet Small Computer System Interface) or NBD (Network Block Device, network block storage) may be used. As an example, first, the local disk of the source virtual machine to be shared needs to be exported as a disk image on the source physical machine, and the file format of the disk image can be an image file format supported by virtualization systems such as QCOW2 and RAW. Then, the disk...

no. 1 example

[0041] Figure 1B is a flowchart of a virtual machine live migration method 100' according to a variant of the first embodiment of the present invention.

[0042] Such as Figure 1B As shown, in the method 100', the steps S101' to S104' are the same as the steps S101 to S104 of the method 100, and for the sake of brevity, the detailed description is omitted here.

[0043] After step S104', the disk data generated by the operation of the target virtual machine can also be saved on the target physical machine. Therefore, further, in step S105', according to the virtual image, a disk snapshot of the shared image is set up on the target physical machine, and the disk snapshot is used to store the target disk data generated by the target virtual machine.

[0044] Create a disk snapshot based on the virtual image on the target physical machine. The snapshot is an external snapshot relative to the disk image on the source physical machine, which is an associated mirror of the disk...

no. 2 example

[0052] figure 2 is a flowchart of a virtual machine live migration method 200 according to the second embodiment of the present invention. Such as figure 2 As shown, in method 200, steps S201-S204, S207-S209 have the same technical features as steps S101'-S107' in method 100', so the specific description of the same steps in method 200 is omitted here. Steps S205 and S206 will be described in detail below.

[0053] Step S205, according to the running status of the target physical machine and the target virtual machine, determine whether the load of the target physical machine and the target virtual machine is higher than a threshold, if the load is higher than the threshold, reselect a new The target physical machine, if the load is not higher than the threshold, then maintain the current target physical machine.

[0054] In some cases, after the target virtual machine is started, the load on the target physical machine may increase unexpectedly due to reasons such as inc...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a virtual machine thermal migration method, device and system, a storage medium and equipment. The method includes: sharing the source disk data of a source virtual machine on a source physical machine to a target physical machine, and forming a virtual mirror image of the source disk data on the target physical machine; building a target virtual machine on the target physical machine, wherein the configurations of the target virtual machine and the source virtual machine are identical; migrating the internal memory data and the state data of the source virtual machine to the physical machine; starting the target virtual machine according to the virtual mirror image, the internal memory data and the state data; judging whether the target physical machine needs to be reselected or not according to the operation states of the target physical machine and the target virtual machine; setting the disk snapshot of a sharing mirror image on the target physical machine according to the virtual image; combining the source disk data of the source virtual machine into the disk snapshot of the target virtual machine; removing the corresponding settings of the sharing storage technology from the source physical machine and the target physical machine.

Description

technical field [0001] The present invention relates to a virtualized computer system, in particular to a method, device, system, storage medium and equipment for hot migration of a virtual machine. Background technique [0002] In KVM (Kernel-based Virtual Machine, based on kernel virtual machine) virtualization, services run on virtual machines, and one or more virtual machines can run on a physical machine at the same time. [0003] Hot migration, also known as live migration (live migration). It means that the virtual machine is migrated between different physical hosts while ensuring the normal operation of the services on the virtual machine. After the current hot migration process starts the migration work, it will first migrate the disk of the virtual machine to the target physical machine, and then migrate the memory of the virtual machine to the target physical machine. After that, the target virtual machine has all the data of the source virtual machine and has ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F9/455
CPCG06F9/45558G06F2009/4557
Inventor 郑豪邱模炯
Owner UCLOUD TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products