Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Virtual machine fault rapid recovery method and system

A fast recovery, virtual machine technology, applied in the direction of software simulation/interpretation/simulation, generation of response errors, program control design, etc., can solve the application occasions where checkpoints are not suitable for time-sensitive, time-consuming and time-consuming and other problems, to achieve the effect of fast backup and recovery, small amount of backup data, and high reliability

Active Publication Date: 2019-07-16
XI AN JIAOTONG UNIV +1
View PDF4 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This mechanism takes advantage of the existing features of Xen and simplifies the implementation of virtual machine checkpoints, but the checkpoints implemented by this method are not suitable for time-sensitive applications, such as system Debug or high-reliability systems that require accurate output state protection, because migration is a process that takes a long time, the migration synchronization mechanism based on the pre-copy algorithm makes the final saved checkpoint state always ahead of the time point that should be captured (that is, the moment when the checkpoint is triggered)
However, there is a major defect in this method. Since the migration of the virtual machine takes a certain amount of time, the triggering moment of the migration always lags behind the moment when the virtual machine is stopped and the state of the virtual CPU is saved. Therefore, the checkpoint file saved by using the virtual machine online migration technology The state of the virtual machine is always ahead of the state of the virtual machine when the system triggers the save checkpoint
That is to say, when the instantaneous state of the system at time t is needed, the system state at time t+Δt (Δt is the total time of virtual machine migration) is saved by using this strategy. unacceptable

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 rapid recovery method and system
  • Virtual machine fault rapid recovery method and system
  • Virtual machine fault rapid recovery method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] Attached below figure 1 to attach Figure 4 and Examples describe the present invention in detail, but not as a limitation of the present invention.

[0026] In one embodiment, the present disclosure discloses a method for quickly recovering from a virtual machine failure, such as figure 1 shown, including the following steps:

[0027] S100. Back up the address mapping table of the virtual machine, set the physical page of the host computer corresponding to the virtual machine as read-only, and save the state of the virtual CPU and the state of the virtual peripheral at this moment.

[0028] S200. Using the copy-on-write technology, perform a write operation of the virtual machine corresponding to the physical page of the host machine.

[0029] S300. Determine whether the virtual machine is faulty or crashed; if yes, execute S400; if not, execute S500.

[0030] S400. Restore the backup virtual machine address mapping table, and then perform S700.

[0031] S500. Det...

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 virtual machine fault rapid recovery method and system. A virtual machine address mapping table is backed up, a host machine physical page corresponding to the virtual machine is set to be read-only, protection of host machine physical memory content corresponding to the virtual machine is achieved through the write-time copying technology, and after the virtual machine breaks down, the previous backup state of the virtual machine can be rapidly recovered. The method has the advantages of being small in backup data size, high in backup and recovery speed and the like,and reliable operation of the virtual machine is guaranteed.

Description

technical field [0001] The invention relates to a method and system for quickly recovering from a virtual machine fault, and belongs to the technical field of virtual machine fault processing. Background technique [0002] At present, the main method to improve the reliability of virtual machines is checkpoint technology. Checkpoint technology is a mirror file that saves the instantaneous state information of a process or system during operation. According to certain needs, the system can be rolled back to a previous running state status. The virtual machine memory checkpoint technology mainly has four important quantitative indicators, which are checkpoint size, downtime, total save time, and recovery time. [0003] Memory exclusion is an important means to reduce the size of the checkpoint. The part of the memory that does not need to be saved in the process includes read-only and dead. The incremental mechanism is a well-known checkpoint optimization technique, which on...

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): G06F9/455G06F11/07G06F11/14
CPCG06F9/45558G06F11/0712G06F11/1448
Inventor 王强董小社折波杨帆崔靖茹张哲安宁刚成永刚董凡覃遵颖朱晓芒
Owner XI AN JIAOTONG UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products