Supercharge Your Innovation With Domain-Expert AI Agents!

A virtual machine failure repair method and device

A fault repair and virtual machine technology, applied in the virtual field, can solve problems such as failure to repair

Active Publication Date: 2018-05-29
HUAWEI TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, the tenant's VM can no longer rely on the DHCP service for VM failure recovery
It can be seen that the above-mentioned VM fault recovery method cannot perform fault recovery on the VM in the scenario of no DHCP service

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
  • A virtual machine failure repair method and device
  • A virtual machine failure repair method and device
  • A virtual machine failure repair method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0040] see figure 1 , figure 1 is a schematic flowchart of a method for repairing a virtual machine failure provided by an embodiment of the present invention, as shown in figure 1 shown, including the following steps:

[0041] 101. When it is detected that the original virtual machine fails, use the image template to create a new virtual machine.

[0042] In this embodiment, the above-mentioned image template may be an image template used to create the above-me...

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

A fault recovery method and device for a virtual machine, the method comprising: when it is detected that an original virtual machine has failed, using an image template to create a new virtual machine (101); setting the MAC address of the original virtual machine to the MAC address of the new virtual machine, and mounting the data disk of the original virtual machine to the new virtual machine (102); and starting the new virtual machine (103), wherein when the data disk in the new virtual machine is partitioned, the reservation area where the service data in the data disk is located is not formatted. The method can be used to troubleshoot a VM under no DHCP service scenario.

Description

technical field [0001] The present invention relates to the field of virtual technology, in particular to a virtual machine failure repair method and device. Background technique [0002] With the development of virtual technology, virtual machines (Virtual Machine, VM) are currently more and more widely used. However, a system disk failure may occur during the running of the VM, for example, the system disk failure of the VM is caused by a guest operating system (Guest Operation System, Guest OS). And when the VM system disk fails, the VM cannot work normally, resulting in business damage. The current solutions for dealing with VM faults mainly use the following methods: [0003] After the VM fails, the VM is set to boot from the network, and applies for an IP from the Dynamic Host Configuration Protocol (DHCP) server, and the VM uses the applied IP to connect to the Trivial File Transfer Protocol (TFTP) server to download the micro Operating system (micro OS); the VM st...

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/07G06F9/455
CPCG06F11/07
Inventor 谢军勇阳代平
Owner HUAWEI TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More