Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Shared storage message queue-based implementation method for high availability of virtual machines

A technology of shared storage and message queue, which is applied in the field of cloud computing, can solve the problems of large space occupied by shared storage locks, shortened disk life, large network bandwidth, etc., and achieves fast writing speed, fast reading speed and low consumption

Active Publication Date: 2014-12-31
WUHAN OPENKER COMPUTING
View PDF4 Cites 32 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
  • Shared storage message queue-based implementation method for high availability of virtual machines
  • Shared storage message queue-based implementation method for high availability of virtual machines
  • Shared storage message queue-based implementation method for high availability of virtual machines

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

The invention discloses a shared storage message queue-based implementation method for high availability of virtual machines and relates to the field of cloud computing. The shared storage message queue-based implementation method for the high availability of the virtual machines comprises the following steps: initializing a piece of contiguous space on shared storage by a server program to serve as a logical volume; distributing a plurality of contiguous sectors from the logical volume to serve as a sector pool of a client program; acquiring the configuration information of the sector pool and the number of a virtual machine, of which the high availability is enabled, by the client program; sending a heartbeat message by the client program, and updating the timestamp of a virtual machine control block maintained by the client program; receiving the heartbeat message by the server program, and updating the timestamp of the virtual machine control block maintained by the server program by utilizing the timestamp carried in the heartbeat message. According to the shared storage message queue-based implementation method disclosed by the invention, the unnecessary stop time of the virtual machines is avoided; system resource consumption is low by adopting a heartbeat detection mechanism; the performance is high; the service life of the disk of the shared storage is prolonged.

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 Applications(China)
IPC IPC(8): H04L29/08H04L12/24
Inventor 阮泽林
Owner WUHAN OPENKER COMPUTING
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products