Unlock instant, AI-driven research and patent intelligence for your innovation.

Virtual machine fault tolerance method and device

A virtual machine and primary virtual machine technology, applied in the field of virtual machine fault tolerance, can solve problems such as failure of fault tolerance function, failure of standby virtual machine to run normally, failure to achieve high availability of the system, etc., to achieve the effect of ensuring real-time performance

Active Publication Date: 2017-05-17
CHINA STANDARD SOFTWARE
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] When the primary virtual machine is heavily loaded and system events are frequent, the synchronization time between the primary virtual machine and the standby virtual machine increases. If the synchronization is interrupted at this time, the fault tolerance function will fail, that is, after the primary virtual machine fails, the standby virtual machine Unable to operate normally, resulting in the inability to meet the requirements for high availability of the system

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 fault tolerance method and device
  • Virtual machine fault tolerance method and device
  • Virtual machine fault tolerance method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0038] In order to clarify the data writing method of the standby virtual machine and the virtual machine fault tolerance method described above, a preferred embodiment is used to introduce the data writing method of the standby virtual machine, the virtual machine fault tolerance method and the device.

[0039] In this preferred embodiment, the files in the main virtual machine are divided into 10 data segments, which are named file block 1, file block 2, file block 3, file block 4, file block 5, file block 6, file block 7. File block 8, file block 9, file block 10. During the data synchronization process, 10 data fragments are synchronized to the standby virtual machine in no sequence.

[0040] During the data synchronization process, the standby virtual machine first caches the received data fragments in the prefetch buffer. Secondly, when the supervisor detects that the data synchronization process is terminated, it is judged whether the data segment in the prefetch buffe...

Embodiment 2

[0044] In order to set forth the present preferred embodiment more clearly, the nouns used below are now defined:

[0045] Migration: The operation of transferring a virtual machine located on physical computer A to physical computer B.

[0046] Live Migration: Migrate a virtual machine without suspending the virtual machine.

[0047] Primary virtual machine: The virtual machine that sends data in fault-tolerant operation.

[0048] Standby virtual machine: The virtual machine that receives data during fault-tolerant operation.

[0049] Buffer: An area of ​​memory where data is temporarily stored.

[0050] image 3 A technical architecture diagram of a fault-tolerant system including a primary virtual machine and a standby virtual machine according to an embodiment of the present invention is shown. It should be noted that both the primary virtual machine and the standby virtual machine in this preferred embodiment use the free software QEMU to operate. Also, KVM accelerat...

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 a virtual machine fault-tolerant method and device. The method includes the steps of judging whether cache data in a preset buffer are complete files; determining the synchronization completion status of a standby virtual machine according to a judgment result, and writing the cache data in the preset buffer into a related address; when a main virtual machine breaks down, starting a fault-tolerant function according to the synchronization completion status, determined at the time closest to fault occurrence time, of the standby virtual machine. On the premise that instantaneity of synchronous data is guaranteed, by means of the method and device, the consequences that when the main virtual machine breaks down due to synchronization interruption and incomplete synchronization data, the standby virtual machine is not in the synchronization status and the fault-tolerant function can not be started for fault tolerance are avoided.

Description

technical field [0001] The invention relates to the field of virtual machine fault tolerance, in particular to a virtual machine fault tolerance method and device. Background technique [0002] With the wide application of various cloud computing platforms, the requirements for high availability of the system are gradually increasing. One of the common methods to improve system availability is system fault tolerance. System fault tolerance technologies include: hardware redundancy, software backup and checkpoint, and virtual machine fault tolerance. Among the above system fault tolerance technologies, virtual machine fault tolerance is the current research hotspot of system fault tolerance in the cloud era. [0003] When performing fault-tolerant protection on a virtual machine, it is necessary to create a copy that is exactly the same as the virtual machine to be protected, which is called a standby virtual machine. While the primary virtual machine (that is, the protecte...

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): G06F11/14
Inventor 王峻青尹殷田媛媛
Owner CHINA STANDARD SOFTWARE