Method, device and system for recovering virtual machine after deadlock
A recovery method and virtual machine technology, applied in the computer field, can solve problems such as long time consumption, out-of-sync storage data, business interruption, etc., and achieve the effect of avoiding business disasters for too long
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0057] like figure 1 As shown, the embodiment of the present invention provides a computing node 100, including:
[0058] The hardware layer 110 , the virtual machine monitor VMM50 running on the hardware layer 110 , and the virtual machine VM running on the VMM, the virtual machine VM includes a privileged virtual machine 701 and at least one service virtual machine 702 .
[0059] The hardware layer 110 includes a processor, a hard disk, a network card, a memory, and the like. Wherein, the processor may be a central processing unit (CPU, Central Processing Unit), a digital signal processor (DSP, Digital Signal Processing), a field programmable gate array (FPGA, Field Programmable Gate Array) and the like.
[0060] like figure 2 As shown, the virtual machine mainly includes: virtual hardware 21, a guest operating system 22 running on the virtual hardware 21; the virtual hardware 21 includes: at least one virtual processor 23; virtual memory (VMEM) 24; virtual hard disk ( V...
Embodiment 2
[0074] As shown in Figure 3 (a), the embodiment of the present invention provides a recovery method after a virtual machine deadlock, the execution subject of the method may be a virtual machine monitor, specifically, it may be XenHypervisor, including:
[0075] 301. When a deadlock occurs in a virtual machine, send a non-maskable interrupt to the virtual machine and configure virtual processor resources of the virtual machine.
[0076] 302. After the virtual machine responds to the non-maskable interrupt and collects the last words, schedule the first virtual processor from one or more virtual processors included in the configured virtual processor resource and execute the Load the kernel boot program of the virtual machine on the first virtual processor, so that the virtual machine resumes the business process according to the collected last words; the last words include the stacks of each virtual processor corresponding to the virtual machine at the time of deadlock informa...
Embodiment 3
[0093] As shown in Figure 4(a), the embodiment of the present invention provides another recovery method after a virtual machine deadlock, including:
[0094] 401. The virtual machine monitor VMM initializes a monitoring timer.
[0095] 402. The virtual machine VM generates heartbeat information according to a predetermined first time interval. The virtual machine VM here may be a privileged virtual machine or a business virtual machine.
[0096] 403. In the calling mode provided by the VMM, the VM sends the heartbeat information to the VMM at a predetermined second time interval. Preferably, the call mode is a hyper call.
[0097] 404. The VMM receives heartbeat information sent by the VM at a predetermined second time interval; the VMM updates a monitoring timer according to the heartbeat information.
[0098] It should be noted that the first time interval and the second time interval involved in steps 402, 403, and 404 may be the same time interval, or may be different ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com