Unlock instant, AI-driven research and patent intelligence for your innovation.

Freezing method and device of virtual machine

A freezing method and virtual machine technology, applied in the field of freezing method and device, capable of solving problems such as business interruption, virtual machine memory data loss, etc.

Pending Publication Date: 2022-03-01
NEW H3C BIG DATA TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the embodiments of the present invention provide a method and device for freezing a virtual machine, so as to solve the problems of data loss and service interruption in the memory of the virtual machine caused by an unavailable fault in the shared storage

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
  • Freezing method and device of virtual machine
  • Freezing method and device of virtual machine
  • Freezing method and device of virtual machine

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative efforts belong to the protection scope of the present invention.

[0033] In order to ensure the continuous availability of the business to the greatest extent, when the shared storage fails and is unavailable, the virtual machine that depends on the shared storage is forcibly shut down, and the shared storage is uninstalled. If there are other hosts in the cluster that can normally access the shared storage, the The vi...

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 freezing method and device of a virtual machine. The method comprises the following steps: acquiring a current storage state of a storage pool in a file system; judging whether the current storage state is abnormal or not; when the current storage state is abnormal, issuing an on-hook instruction to a target virtual machine having a dependency relationship with the storage pool, so that the target virtual machine suspends communication interaction with the storage pool; and issuing a closing instruction to the target virtual machine, so that the file descriptor running on the target virtual machine is closed, and further communication interaction between the target virtual machine and the storage pool is not carried out any more. According to the method and the device, when the storage pool has the unavailable fault, the communication interaction between the target virtual machine and the storage pool is paused through the on-hook instruction, and then the file descriptor running on the target virtual machine is closed through the closing instruction, so that the running state and the memory data of the target virtual machine can be completely reserved, and the user experience is improved. And the problem of memory data loss or damage is avoided.

Description

technical field [0001] The invention relates to the technical field of shared storage, in particular to a method and device for freezing a virtual machine. Background technique [0002] As a storage space shared by two or more processes, shared storage is more and more widely used on current mainstream cloud platforms. However, due to network and hardware reasons, shared storage inevitably has the possibility of failure. When the shared storage fails and becomes unavailable, the virtual machine that relies on the shared storage cannot run normally, resulting in the loss or damage of the memory data of the virtual machine, interrupting the corresponding business, and seriously affecting the continuous availability of the business. [0003] Usually, in order to ensure the continuous availability of the business to the greatest extent, when the shared storage fails and is unavailable, the virtual machine that depends on the shared storage is forcibly shut down, and the shared s...

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/455
CPCG06F9/45558G06F2009/45575G06F2009/45587
Inventor 高亮
Owner NEW H3C BIG DATA TECH CO LTD