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

A cross-node virtual machine cluster high availability implementation method and device

An implementation method and virtual machine technology, which is applied in the field of high-availability realization of virtual machine clusters, can solve problems such as damage, cluster split brain, and inability to provide services outside the cluster, and achieve the effect of avoiding abnormal cluster status

Active Publication Date: 2020-03-10
SUZHOU METABRAIN INTELLIGENT TECH CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When the network cable of the host physical network card is pulled out due to human factors or other factors, the heartbeat of the nodes in the cluster is lost. In this case, when the heartbeat is lost, the nodes at both ends of the link cannot detect the heartbeat signal of the peer node. , the fence operation will continue to be performed on the peer node, but because the physical network cable of the node is pulled out or damaged, the fence operation on the nodes at both ends of the link will not succeed, resulting in a split-brain state of the cluster
When the cluster is in the split-brain state, the node in the state of losing heartbeat will continue to send fence operations to allow the peer node to perform fence operations, but the fence operations will not be executed successfully, and the result is that the state of the entire cluster is abnormal , unable to continue to provide services outside the cluster 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
  • A cross-node virtual machine cluster high availability implementation method and device
  • A cross-node virtual machine cluster high availability implementation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] The core idea of ​​the present invention is to provide a cross-node virtual machine cluster high-availability implementation method and device, which can solve the cluster split-brain problem caused by the failure of the physical network card of the host machine or the failure of the external switch, and avoid abnormal cluster status caused by external factors , to ensure the effective provision of external services.

[0039] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0040] The first cross-node virtua...

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 present application discloses a cross-node virtual machine cluster high-availability method and device, the method includes establishing a cluster through the pacemaker resource management tool; obtaining the network connection mode and virtual address of the virtual machine; obtaining the Information about the physical network card that provides the heartbeat link for the virtual machine; obtain the status of the cluster; query whether the virtual machine on the peer host has been fenced by calling the fence script on the peer node, if If the number of fence operation failures exceeds a preset threshold, the physical network card of the host machine causing the split brain is determined, and the virtual machine on the host machine causing the split brain is removed from the cluster. The above cross-node virtual machine cluster high-availability implementation method and device can solve the cluster split-brain problem caused by the failure of the physical network card of the host machine or the failure of the external switch, avoid abnormal cluster status caused by external factors, and ensure effective external service provision.

Description

technical field [0001] The invention belongs to the technical field of cluster communication, and in particular relates to a cross-node virtual machine cluster high-availability realization method and device. Background technique [0002] In the prior art, the cluster solution is based on the high-availability characteristics of virtual machine clusters realized by pacemaker resource manager and its components corosync (providing heartbeat support), fence_virsh (providing fault recovery), etc., through pacemaker, each node broadcasts to all other The node sends a heartbeat signal. When the heartbeat of a node is lost, other nodes perform fence operations on the node by starting the fence script resource, including restarting and shutting down the node. [0003] Two or more nodes communicating with each other in the cluster usually send a heartbeat signal to ensure that the nodes are running normally. Usually, when a node fails (downtime, crashes), it will stop communicating...

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/08H04L29/06H04L12/26H04L12/24
CPCH04L41/0663H04L43/0817H04L43/10H04L43/16H04L67/1044H04L67/131
Inventor 孙京本刘如意李佩
Owner SUZHOU METABRAIN INTELLIGENT TECH CO LTD
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