A method for realizing high availability of virtual machine based on shared storage message queue

A shared storage and message queue technology, applied in the field of cloud computing, can solve the problems of shared storage locks occupying a large space, shortening disk life, and large network bandwidth, achieving fast writing speed, fast reading speed, and low consumption

Active Publication Date: 2017-08-08
WUHAN OPENKER COMPUTING
View PDF4 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this method also has some disadvantages. Assuming that there are 10 servers in the data center, 30 virtual machines are running on each server, and a total of 300 virtual machines are all enabled with high availability of virtual machines, then: the space occupied by shared storage locks of virtual machines is relatively large , a total of 512×300=153600 bytes of storage space is required; virtual machine heartbeat detection occupies a large network bandwidth, and 512×300=153600 bytes will be transmitted every time the shared storage lock is read or updated; in order to obtain the status of the shared storage lock in real time, When the server updates the virtual machine shared storage lock, it will disable the cache and directly write to the disk, which will greatly shorten the disk life. The storage lock has bad sectors after 360000×10÷3600=1000 hours of use

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 method for realizing high availability of virtual machine based on shared storage message queue
  • A method for realizing high availability of virtual machine based on shared storage message queue
  • A method for realizing high availability of virtual machine based on shared storage message queue

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] The present invention will be described in further detail below in conjunction with the accompanying drawings.

[0033] Such as Figure 4 As shown, the data center includes a control node, a management network switch, a shared storage and at least two computing nodes, the control node runs a server program, and each computing node runs a client program. Control nodes, computing nodes, and management network switches are connected to form a management network, and control nodes, computing nodes, and shared storage are connected to form a storage network. Client programs and server programs preferentially transmit heartbeat messages through the management network. The network transmits heartbeat messages. The client program creates and maintains a virtual machine control block for each high-availability-enabled virtual machine running on this computing node, and the server-side program creates and maintains a A virtual machine control block is maintained, and the timeou...

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 high-availability implementation method for a virtual machine based on a shared storage message queue, involving the field of cloud computing, comprising steps: a server program initializes a continuous space on the shared storage as a logical volume; allocates a plurality of continuous sectors from the logical volume As the sector pool of the client program; the client program obtains the configuration information of the sector pool and the number of the virtual machine that has enabled high availability; the client program sends a heartbeat message and updates the time of the virtual machine control block maintained by the client program stamp; the server program receives the heartbeat message, and uses the time stamp carried in the heartbeat message to update the time stamp of the virtual machine control block maintained by the server program. The invention avoids unnecessary downtime of the virtual machine, the heartbeat detection mechanism consumes less system resources, has high performance, and prolongs the service life of the shared storage disk.

Description

technical field [0001] The invention relates to the field of cloud computing, in particular to a method for realizing high availability of a virtual machine based on a shared storage message queue. Background technique [0002] In a cloud computing data center, a virtual machine usually runs on a physical server. When the physical server is powered off or other failures occur, the virtual machine running on it will also shut down, resulting in unexpected interruption of user services running in the virtual machine. If you want to ensure that the user's business can be automatically restored after being unexpectedly interrupted, you need to monitor the status of the virtual machine in real time. When a physical server fails, transfer the virtual machine on it to another server for restart. This is called virtual machine high availability. . High availability of the virtual machine requires the use of shared storage to store the disk files of the virtual machine, so that all ...

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): H04L29/08H04L12/24
Inventor 阮泽林
Owner WUHAN OPENKER COMPUTING
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