Method and device for virtual machine online migration

A virtual machine and host technology, applied in the field of virtualization, can solve the problems of increasing the amount of dirty page data, affecting the service performance of the virtual machine, increasing the amount of copied data, etc., to meet availability requirements, improve migration efficiency, and shorten downtime. Effect

Active Publication Date: 2019-12-06
NEW H3C TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, in the iterative process, if the virtual machine updates memory at a high rate, the same memory page will be modified and copied multiple times, increasing the amount of copied data and prolonging the migration time of the virtual machine
At the same time, it will also increase the amount of dirty page data copied last time, prolong the downtime of the virtual machine, and affect the service performance of the virtual machine

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present application as recited in the appended claims.

[0034] The terminology used in this application is for the purpose of describing particular embodiments only, and is not intended to limit the application. As used in this application and the appended claims, the singular forms "a", "the", and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It should also be understood that the term...

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 provides an online migration method and device for a virtual machine.The method comprises the steps that all memory data of the current source virtual machine is sent to a target host machine; dirty page data generated in the process of sending the memory data is synchronously copied to a pre-mounted shared memory; after the memory data is sent, the source virtual machine stops operating; after the source virtual machine is shut down, a dirty page record table is generated according to currently existing dirty pages; the dirty page record table is sent to the target host machine so that the host machine can read the dirty page data from the shared memory according to the dirty page record table to update the memory data.By means of the online migration method and device, the shutdown time of the virtual machine can be effectively shortened, the migration efficiency of the virtual machine can be improved, and scenarios with higher usability requirements can be met.

Description

technical field [0001] The present application relates to the technical field of virtualization, and in particular to a method and device for online migration of a virtual machine. Background technique [0002] Online migration, also known as live migration, is to migrate a virtual machine between different physical hosts while ensuring the normal operation of virtual machine services. At present, virtual machine online migration is mainly implemented through multiple rounds of memory iterations. The migration time of virtual machines is determined by the time of N iterations and the last copy time of dirty pages (memory pages modified by virtual machines). The downtime of virtual machines also depends on Time of last dirty page copy. [0003] However, during the iterative process, if the virtual machine updates memory at a high rate, the same memory page may be modified and copied multiple times, which increases the amount of copied data and prolongs the migration time of ...

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 Patents(China)
IPC IPC(8): G06F9/48G06F9/455
CPCG06F9/45533G06F9/4856
Inventor 钟晋明
Owner NEW H3C 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