Storage synchronization method for virtual machine

A technology of virtual machine and standby virtual machine, which is applied in the field of cloud computing and can solve problems such as long copying time and high system overhead

Inactive Publication Date: 2016-08-03
G CLOUD TECH
View PDF5 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The technical problem solved by the present invention lies in a virtual machine storage synchronization method based on a shared virtual disk;

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
  • Storage synchronization method for virtual machine
  • Storage synchronization method for virtual machine

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0021] This implementation implements virtual machine disk data synchronization based on the Xen virtual machine based on the dual-machine hot backup tool remus.

[0022] First implement a new memory copy function remus_domain_save() function like the xc_domain_save() function. When a certain synchronization time is reached, the two machines start to synchronize, the primary virtual machine calls remus_domain_save(), and the standby virtual machine still calls the xc...

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 relates to a storage synchronization method for a virtual machine based on a shared virtual disk. The method comprises the following steps: firstly, storing a virtual disk image in a shared storage, and operating the virtual machine by adopting a snapshoot manner; then, acquiring a dirty page bitmap of a memory, and acquiring an address of the dirty page bitmap in a logic space of the virtual machine; obtaining a real address of the page in a memory space of a physical machine, and packaging the dirty pages of the memory into a data packet and transmitting the data packet to the virtual machine; mapping the page to the same address in the logic space of the virtual machine; finally, returning information, via a spare virtual machine, to a primary virtual machine to finish synchronization. According to the storage synchronization method for the virtual machine based on the virtual disk, the problems of long copying time and high system expenditure happening in a storage synchronization process of the virtual machine during error tolerance at present are solved; the storage synchronization method disclosed by the invention can be applied to an error tolerant technique for virtual machines.

Description

technical field [0001] The invention relates to the technical field of cloud computing, in particular to a virtual machine storage synchronization method based on a shared virtual disk. Background technique [0002] With the application of virtualization technology in servers, more and more enterprises choose to run key businesses on virtualized servers to improve the operating efficiency of key businesses. While people are widely using virtual machines, they begin to put forward higher requirements for virtual machines. High reliability is one of the important requirements. Virtual machine fault-tolerant technology has been widely used at present. The synchronization of memory and storage is the two most important aspects in the process of virtual machine fault tolerance. At present, memory synchronization mostly adopts the method of timing memory dirty page data copy, which is a relatively mature technology. Storage synchronization Since the dual-machine hot backup metho...

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/455G06F3/06
CPCG06F3/0608G06F3/065G06F9/45558G06F2009/45579
Inventor 莫展鹏杨松季统凯
Owner G CLOUD TECH
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