Check patentability & draft patents in minutes with Patsnap Eureka AI!

Ceph-based virtual machine high availability implementation method and system

An implementation method and virtual machine technology, applied in the field of cloud computing, can solve problems such as solutions that cannot use shared storage, and achieve the effect of high availability

Active Publication Date: 2018-09-28
WUHAN OPENKER COMPUTING
View PDF8 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Creating lock space files and resource files on distributed storage will also be divided into many objects and stored on n physical server disks, and the objects of lock space files, resource files and virtual machine disk files are not necessarily mapped to On the same physical server disk, when the copy of the heartbeat lock is accessible, it does not mean that the copy of the virtual machine disk file is accessible, so the shared storage solution cannot be used to achieve high availability of the virtual machine by detecting lock space files and resource files

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
  • Ceph-based virtual machine high availability implementation method and system
  • Ceph-based virtual machine high availability implementation method and system
  • Ceph-based virtual machine high availability implementation method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036]The principle of the present invention is: based on the characteristics of the distributed storage and utilizing the exclusive lock mechanism provided by the distributed storage itself. When a computing node server acquires the exclusive lock of a mirror image, other computing node servers will no longer be able to acquire the exclusive lock of the mirror image. Each computing node server obtains the exclusive lock of the image of each local virtual machine in real time, and establishes the first heartbeat for each virtual machine, while the control node server regularly breaks the exclusive lock of the image that has been acquired, and provides Each virtual machine establishes a second heartbeat. When a computing node server fails or is powered off, and the computing node server cannot acquire the exclusive lock of the virtual machine image within the timeout period of the first heartbeat, the virtual machine will be shut down. machine. The control node server determin...

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, which relates to the technical field of cloud computing, discloses a Ceph-based virtual machine high availability implementation method and system. The method comprises: a control nodeserver sends virtual machine high availability configuration information to all computing node servers in real time; after each computing node server obtains an exclusive lock of a mirror image in real time, a first heartbeat timestamp of a virtual machine using the mirror image is recorded; if the exclusive lock of the mirror image can not be obtained and the first heartbeat of the virtual machine using the mirror image exceeds the time, the virtual machine is closed; the control node server breaks the exclusive lock of the mirror image that has been acquired regularly after or while the virtual machine is closed and a second heartbeat timestamp of the virtual machine using the mirror image is recorded; and when the exclusive lock of the mirror image is not obtained and the second heartbeat of the virtual machine using the mirror image exceeds the time, the virtual machine using the mirror image is dispatched to another computing node server for and is started again. Therefore, virtual machine high availability is realized by detecting the heartbeat of the virtual machine.

Description

technical field [0001] The invention relates to the technical field of cloud computing, in particular to a Ceph-based virtual machine high availability implementation method and system. Background technique [0002] In cloud computing data centers, virtual machines usually run on physical servers. When the physical server is powered off or has other failures, the virtual machines running on it will also be shut down, resulting in unexpected interruption of user services running in the virtual machines. To ensure automatic recovery of user services after unexpected interruptions, it is necessary to monitor the status of virtual machines in real time. When a physical server fails, transfer the virtual machines on it to other physical servers for restart. This is called virtual machine high available. [0003] In traditional data centers, the high availability of virtual machines requires the use of shared storage to store the disk files of virtual machines, so that all physic...

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
IPC IPC(8): H04L29/08H04L12/26H04L12/24G06F9/455
CPCG06F9/45558G06F2009/45575H04L41/0663H04L43/10H04L43/106H04L67/1095H04L67/1097
Inventor 阮泽林谢一
Owner WUHAN OPENKER COMPUTING
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