Method and device of online migration of virtual machine, and terminal device

A technology of virtual machines and client devices, applied in the field of communication, can solve the problems of server downtime, lost packets, affecting data consistency and integrity, etc.

Active Publication Date: 2013-02-06
HUAWEI TECH CO LTD
View PDF4 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in a scenario that requires high service availability, server downtime is unacceptable. Once an established session is forcibly interrupted, messages in transit will inevitably be lost, which may affect data consistency. and integrity

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
  • Method and device of online migration of virtual machine, and terminal device
  • Method and device of online migration of virtual machine, and terminal device
  • Method and device of online migration of virtual machine, and terminal device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0042] figure 1 An embodiment of the present invention provides a flow chart of a method for online migration of a virtual machine. The execution subject of this embodiment is a source host, and the source host is a server or a terminal device running a virtual machine. see figure 1 , the method includes:

[0043] 101: start online migration;

[0044]102: Copy the memory page of the virtual machine, and send the copied memory page to the destination host;

[0045] 103: When the number of memory pages in the update state in the virtual machine is less than a first preset threshold, modify the window threshold of the message sent by the virtual machine to a second preset threshold, and send the modified message Send the message to t...

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 method and device of online migration of a virtual machine, and a terminal device, belonging to the technical field of communication. The method comprises the steps of: starting online migration; copying internal memory pages of the virtual machine, sending the copied internal memory pages to a destination host; when the quantity of the internal memory pages in an updating state in the virtual machine is less than a first preset value, modifying a window threshold of a message sent by the virtual machine into a second preset threshold, sending the modified message to a destination client end device to ensure that message transmission is not continuously carried out between the destination client end device and the virtual machine; and suspending the operation of the virtual machine, copying the internal memory pages in the updating state, and sending the internal memory pages in the updating state to the destination host to ensure that the virtual machine is migrated on line. The invention avoids TCP connection abnormity for closing due to halt copying of a source host, and avoids data loss and incompletion caused by abnormal closing.

Description

technical field [0001] The invention relates to the field of communication technology, in particular to a method, device and terminal equipment for online migration of a virtual machine. Background technique [0002] VM (Virtual Machine, virtual machine) technology is often used in data centers and cluster computing occasions. This technology allows multiple operating systems to run on the same physical machine, provides reliable isolation, and greatly improves the reusability of physical resources. In order to achieve online maintenance, online upgrade and dynamic load balancing of servers, online migration can be performed, also known as live migration, that is, to migrate a virtual machine from one computer to another while keeping the virtual machine running, and transfer it to the destination computer. resume operation. [0003] So far, for VM migration, the mainstream pre-copy (pre-copy) strategy is generally adopted. The migration of the virtual machine is complete...

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
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/08H04L12/701
Inventor 向光蓉
Owner HUAWEI 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