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

A high-availability cluster detection method, system and controlled terminal

A cluster detection and clustering technology, applied in the computer field, can solve problems such as split-brain occurrence, and achieve the effect of ensuring reliability and avoiding the phenomenon of split-brain.

Active Publication Date: 2021-08-27
WUXI CHINAC DATA TECH SERVICE
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The purpose of the present invention is to disclose a high-availability cluster detection method, system and controlled terminal to solve the defects in the prior art, especially to solve the problem of the main node being busy or Detect the master-slave switching phenomenon caused by non-substantial downtime such as timeout, solve the technical problem of split-brain in the entire cluster caused by it, and ensure the reliability of the high-availability cluster and the high availability of services

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 high-availability cluster detection method, system and controlled terminal
  • A high-availability cluster detection method, system and controlled terminal
  • A high-availability cluster detection method, system and controlled terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0047] combine Figure 1 to Figure 4 As shown, this embodiment discloses a high-availability cluster detection method (hereinafter referred to as "method"). The method is applied to computer clusters, data centers (IDC), and cloud computing platforms, and is especially suitable for high-availability cluster scenarios. In this embodiment, one of the goals of cluster high availability is to eliminate single points of failure in the infrastructure. A single point of failure is a component of the technology stack that, if it becomes unavailable (Fail), will result in an interruption of service. In a high-availability cluster, a system that allows flexible IP address remapping, such as floating IP (Floating IP). On-demand IP address remapping eliminates the propagation and caching issues inherent in DNS changes by providing static IP addresses that can be easily remapped when needed. A domain name can remain associated with the same IP address, and the IP address itself can move...

Embodiment 2

[0076] ginseng Figure 5 As shown, this embodiment is based on the technical solution of a high-availability cluster detection method disclosed in Embodiment 1, and also discloses a high-availability cluster detection system 100 (hereinafter referred to as "system").

[0077] The system 100 includes: a heartbeat detection unit 31, configured to perform heartbeat detection on the master node A and the slave node B configured with keepalived based on the VRRP protocol. The first health check unit 32 performs a health check on the first channel established between the master node A and the slave node B and the second switch 20 . The second health check unit 33 performs a health check on the second channel established between the master node A and the slave node B and the third switch 30 . The decision-making unit 34, only when the first channel and the second channel simultaneously trigger the reselection of the master node strategy, will simultaneously trigger the selection of ...

Embodiment 3

[0081] ginseng Figure 6 As shown, this embodiment discloses a controlled terminal 200 , the controlled terminal 200 includes: a processor 51 , a storage device 52 , and a communication bus 53 establishing a communication connection between the processor 51 and the storage device 52 . The processor 51 is configured to execute one or more programs stored in the storage device 52, so as to implement the high-availability cluster detection method as described in the first embodiment. The storage device 52 includes a plurality of storage units, that is, a storage unit 521 to a storage unit 52i, wherein the parameter i is a positive integer greater than or equal to 2. The controlled terminal 200 can be regarded as a computer, a data center, a bare metal server, or a portable electronic device. The technical solutions of the controlled terminal 200 disclosed in this embodiment are the same as those in Embodiment 1 and / or Embodiment 2, as described in Embodiment 1 and / or Embodiment ...

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 invention provides a high-availability cluster detection method, and a high-availability cluster detection system and a controlled terminal based on the method. The high-availability cluster detection method performs heartbeat based on the VRRP protocol for the master node and the slave node configured with keepalived Detection, establish the first channel for health check between the master node and the slave node and the second switch, establish the second channel for health check between the master node and the slave node and the third switch, only between the first channel and the second switch When the second channel simultaneously triggers the master node re-election policy, the slave node is elected as the new master node. Through the high-availability cluster detection method and high-availability cluster detection system disclosed in this application, the existing keepalived heartbeat detection mechanism between the master and slave nodes is significantly improved, and the master node is prevented from being busy due to business or detection timeout, etc. The master-slave switching phenomenon caused by non-substantial downtime ensures the reliability of the high-availability cluster and the high availability of services.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a high-availability cluster detection method, system and controlled terminal. Background technique [0002] With the rapid development of the Internet, the user's business volume continues to increase, and the requirements for service reliability and performance are getting higher and higher. In order to meet the needs of users, HA (High Availability) clusters are often used in actual application environments to implement business processing. In a high-availability cluster, coordination between nodes is required to ensure the effectiveness of the cluster for business processing. If a node in the cluster has a problem, it will affect the performance of the entire cluster. Therefore, the cluster needs to have the function of quickly processing the problem node, so as to ensure the reliability of the cluster and the effectiveness of business processing. [0003] A high-availabil...

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): H04L12/26H04L12/721H04L12/931H04L12/947H04L29/08
CPCH04L43/10H04L45/70H04L49/25H04L49/354H04L67/1046H04L67/1097
Inventor 过育红朱正东仇大玉张银滨
Owner WUXI CHINAC DATA TECH SERVICE
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