Method and device for recovering virtual machine

A technology for virtual machines and computing nodes, applied in the field of virtual technology, can solve problems such as resource and process conflicts, virtual machine services cannot run normally, etc., and achieve the effect of reducing conflicts

Inactive Publication Date: 2017-07-25
ZTE CORP
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In the existing method for restoring a virtual machine, during the rebirth of the virtual machine, when the failed computing node is powered off due to reasons other than the computing node itself such as power supply, the environment may recover after a period of time or human intervention may occur. Power off and on again. During the power-on process of the computing node, in the correspondence between virtual machines, computing nodes, virtual machine status and operating status, find the virtual machine corresponding to the computing node itself and the virtual machine status to the running status. and operating state, change the operating state corresponding to the found virtual machine whose operating state is empty state to the power-on state, and start the found virtual machine whose operating state is empty state, thus causing a fault The computing node and the destination computing node configure the same virtual machine at the same time, causing a series of resource and process conflicts such as Internet Protocol (IP, Internet Protocol) addresses, and may even cause the business of the virtual machine to fail to run normally.

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 device for recovering virtual machine
  • Method and device for recovering virtual machine
  • Method and device for recovering virtual machine

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0073] In the first embodiment, after a certain computing node fails, the control node detects that the virtual machine needs to be regenerated in a different place, and judges that the condition for regenerating in a different place is met, and searches for The first operating state corresponding to the virtual machine that needs to be regenerated in another place; it is judged that the found first operation state is an empty state, and the computing node corresponding to the virtual machine that needs to be regenerated in a different place is changed to the target computing node in the corresponding relationship.

[0074] During the power-on process of the failed computing node, the first computing node and the first operating state corresponding to the virtual machine that needs to be regenerated in different places are searched in the corresponding relationship, and it is judged that the found first computing node is the target computing node instead of the By itself, the p...

no. 2 example

[0076] In the second embodiment, after a certain computing node fails, the control node detects that the virtual machine needs to be regenerated in a different place, and judges that the condition for regenerating in a different place is met. In the correspondence between the virtual machine, the computing node and the operating state, search The first operating state corresponding to the virtual machine that needs to be regenerated from another location.

[0077] During the power-on process of the failed computing node, the first computing node and the first operating state corresponding to the virtual machine that needs to be regenerated in different places are searched in the corresponding relationship.

[0078] The control node determines that the found first operating state is an empty state, and changes the computing node corresponding to the virtual machine that needs to be regenerated in the corresponding relationship to the target computing node. The faulty computing ...

no. 3 example

[0081] In the third embodiment, after a certain computing node fails, in the process of power on again, in the corresponding relationship between the virtual machine, computing node and operation state, find the first computing node and the first operating state corresponding to the virtual machine state: judging that the found first computing node is itself, and the found first operating state is an empty state, and changing the first operating state corresponding to the virtual machine to a power-on state.

[0082] The control node detects that the virtual machine needs to be regenerated in a different place, judges that the conditions for regenerating in a different place are met, searches for the first operating state corresponding to the virtual machine in the corresponding relationship, judges that the found first operating state is not empty, and ends the process. The process of rebirth in different places.

[0083] The computing node looks up the second computing node ...

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 method and a device for recovering a virtual machine. The method comprises the following steps that: a control node detects that a virtual machine needs to be subjected to remote regeneration, and a first operation state corresponding to the virtual machine which needs to be subjected to the remote regeneration is searched in a corresponding relationship among the virtual machine, a computational node and an operation state; a judgment result shows that the searched first operation state is a dummy state, the computational node corresponding to the virtual machine which needs to be subjected to the remote regeneration in the corresponding relationship is changed into a target computational node; and the control node searches a second operation state corresponding to the virtual machine which needs to be subjected to the remote regeneration in the corresponding relationship, judges the searched second operation state as the dummy state, changes the second operation state corresponding to the virtual machine which needs to be subjected to the remote regeneration in the corresponding relationship into a virtual machine under reconstruction, and sends a message of carrying out the remote regeneration to a destination computational node. By use of the method, a conflict caused in a way that two different computational nodes carries out a recovery operation on the same virtual machine is reduced.

Description

technical field [0001] The invention relates to virtual technology, in particular to a method and device for restoring a virtual machine. Background technique [0002] OpenStack is a free software and open source cloud computing management platform project authorized by the Apache license, jointly developed and initiated by NASA (National Aeronautics and Space) and Rackspace. OpenStack provides various complementary services. The infrastructure as a service (IaaS) solution is an open source project designed to provide software for the construction and management of public and private clouds. [0003] In OpenStack's implementation of virtual machines, when a computing node goes down abnormally, the virtual machine on the computing node cannot run. The machine can be restarted on an available computing node in time. The rebirth of the virtual machine in this scenario is the rebirth of the virtual machine in a different place. When the virtual machine is reborn in a different...

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/14
CPCG06F9/455G06F9/45533G06F11/1484G06F2009/45575
Inventor 尹德升
Owner ZTE CORP
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