Method and system for realizing fault tolerance of virtual machine

An implementation method and system implementation technology, applied in response to error generation, error detection/correction, fault handling not based on redundancy, etc., can solve network stack connection status, loss of running memory status, and redundant startup of virtual machines for fault recovery time, application performance loss and other issues, to achieve the effects of reduced latency, reduced overhead, and improved overall throughput

Active Publication Date: 2020-07-10
SHANGHAI JIAO TONG UNIV
View PDF6 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The fault-tolerant logic of this type of system is relatively simple, and the impact on the performance of the virtual machine is also low, but the fault recovery requires a long time to start the virtual machine, and at the same time, the network stack connection status, running memory status and other information in the virtual machine are all lost. , the services provided by the virtual machine will be affected
The second type of virtual machine fault-tolerant system improves the high availability of virtual machine services by backing up all the runtime information of the virtual machine in real time. However, in order to ensure the external consistency (External Consistency) of the virtual machine, all the It can only be sent to the client after the whole machine is backed up, which greatly increases the response delay
This can still result in significant performance penalties for applications that frequently produce indeterminate results when executing (for example, transaction processing differences due to the order in which threads are scheduled to execute and the order in which locks are acquired)

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 system for realizing fault tolerance of virtual machine
  • Method and system for realizing fault tolerance of virtual machine
  • Method and system for realizing fault tolerance of virtual machine

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] The present invention will be described in detail below with reference to specific embodiments. The following examples will help those skilled in the art to further understand the present invention, but do not limit the present invention in any form. It should be noted that, for those skilled in the art, several changes and improvements can be made without departing from the inventive concept. These all belong to the protection scope of the present invention.

[0045] The present invention forms a high-performance and high-availability virtual machine fault-tolerant design through the redundant execution of the virtual machine and the mutual cooperation between the operating system and the virtual machine monitor. By running the virtual machine where the application program is located on multiple servers redundantly, and maintaining the operating system of the application program redundancy execution consistency through the efficient master-slave synchronization protoc...

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 method and a system for realizing fault tolerance of a virtual machine. The method comprises the steps of: redundantly operating the virtual machine where an application program is located in a plurality of servers, selecting one server as a master virtual machine, using the rest servers as slave virtual machines, wherein the virtualization configurations of the master virtual machine and the slave virtual machines are the same, and the master virtual machine and the slave virtual machines are redundant backups for fault switching; and enabling the master virtual machine and the slave virtual machines to carry out redundancy processing on the user request, and maintaining the consistency of the external visible states of the master virtual machine and the slave virtual machines through a master-slave synchronization protocol. Compared with the prior art, according to the invention, an efficient master-slave synchronization protocol and an operating system cooperating with a virtual machine monitor are used; the method greatly reduces the tail time delay of user request processing, reduces the frequency of state difference caused by uncertainty of redundantoperation of the master and slave virtual machines, reduces the expenditure of state synchronization of the master and slave virtual machines, remarkably improves the overall throughput of an application program in a fault-tolerant system, and remarkably reduces the delay of request processing.

Description

technical field [0001] The present invention relates to the technical field of virtual machines, and in particular, to a method and system for realizing fault tolerance of virtual machines. Background technique [0002] Virtual machine technology is widely used in today's various cloud services. By virtualizing fixed and limited physical computer resources into configurable, controllable and easy-to-manage virtual computer resources, it makes user purchase policies more flexible and flexible, and improves the utilization and efficiency of physical computing and storage resources. , so that the server management and operation and maintenance costs are greatly reduced. [0003] Due to the advantages of convenient management and cost-effectiveness of virtual machine cloud products, as its development continues to mature, more and more applications, Internet services, database systems, etc. are deployed in virtual machines. Among them are mission-critical applications that req...

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): G06F11/14G06F11/07G06F11/34G06F9/455G06F9/445G06F9/50
CPCG06F11/1484G06F11/0712G06F11/079G06F11/0793G06F11/3476G06F9/45558G06F9/44505G06F9/5016G06F2009/45562
Inventor 杨帆李文泰陈海波
Owner SHANGHAI JIAO TONG UNIV
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