Virtual machine failure detection and recovery method

A fault detection and virtual machine technology, applied in the field of virtual machine fault detection and recovery, to ensure data integrity and consistency, prevent business interruption, and prevent wrong migration.

Inactive Publication Date: 2016-02-17
G CLOUD TECH
View PDF3 Cites 22 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] The technical problem solved by the present invention is to provide a virtual machine fault detection and recovery method, which solves the problem of service interruption caused by node faults, automatically realizes fault recovery in a short period of time, and starts the virtual machine to continue running business

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 failure detection and recovery method
  • Virtual machine failure detection and recovery method
  • Virtual machine failure detection and recovery method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] See figure 1 , 2 Shown, method of the present invention comprises the steps:

[0032] Step 1: Deploy an NFS network file system environment, create a mount point on the NFS server, put the image on the mount point of the NFS server, mount the shared storage on all nodes, and then use the image to create a virtual machine ;

[0033] Step 2: Start the detection node timer to detect whether the network and power supply are in a normal state, otherwise it is necessary to send a fault recovery instruction to the scheduler;

[0034] Step 3: Use the scheduler to select available nodes according to the preset cpu load policy and other scheduling rules;

[0035] Step 4: According to the configuration file generated when creating the virtual machine, regenerate a virtual machine that is the same as the original one;

[0036] Step 5: Start the created virtual machine;

[0037] Step 6: End.

[0038] The timing task continuously detects the status of the physical machine, and ...

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 the fields of cloud computing and network technique and in particular relates to a virtual machine failure detection and recovery method. The method comprises the following steps: 1, deploying an NFS network file system environment, establishing a mount point on an NFS server, putting a mirror image on the mount point of the NFS server, mounting shared storage on all the nodes, and establishing a virtual machine for the mirror image; 2, starting a detection node timer, detecting whether the network and the power supply are positioned in a normal state, otherwise transmitting a failure recovery instruction to a scheduler; 3, selecting available nodes by virtue of the scheduler according to the preset cpu load strategy and other scheduling rules; 4, regenerating a virtual machine which is the same as the original machine according to a configuration file generated in the process of establishing the virtual machine; and 5, starting the established virtual machine. According to the method disclosed by the invention, the problem that the virtual machine cannot be continuously used after physical node downtime is solved, and the method can be used for virtual machine failure detection and recovery.

Description

technical field [0001] The invention relates to the field of cloud computing and network technology, in particular to a virtual machine fault detection and recovery method. Background technique [0002] With the increasing development of the cloud computing industry, information security has already become the focus of attention. The security of data and the stability of application business operation are becoming more and more important. If the physical machine fails and the virtual machine is not migrated in time, the following problems will occur: [0003] One is that the business on the virtual machine is interrupted, the outside world cannot continue to access, and the business cannot continue, resulting in increasing losses to users. [0004] The second is data loss. Without a fault recovery mechanism, the data on the virtual machine cannot be migrated. As a result, the data before the fault cannot continue to be used, and the business cannot continue normally. Manual...

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/07H04L12/24
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