Cluster alarm method and device, setting and storage medium

A cluster and detection technology, applied in the field of clusters, can solve problems such as inability to maintain clusters, high latency in cluster maintenance, and over-monitoring of clusters, so as to reduce the time for discovering and repairing operating failures, reduce the frequency of cluster downtime, and increase cluster downtime. effect of duration

Pending Publication Date: 2020-06-09
GUANGZHOU HUYA TECH CO LTD
View PDF4 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] However, the dimensions of cluster maintenance operations are different, the monitoring indicators used are different, and the analysis methods are also different
If all users use the same collected monitoring indicators for analysis, it is easy to cause excessive monitoring of the cluster, occupying too many cluster computing resources, storage resources, etc., but it is impossible for users to perform targeted maintenance operations on the cluster. The maintenance of the cluster has high latency and poor pertinence

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
  • Cluster alarm method and device, setting and storage medium
  • Cluster alarm method and device, setting and storage medium
  • Cluster alarm method and device, setting and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0056] Figure 1A It is a flow chart of a cluster alarm method provided by Embodiment 1 of the present invention, Figure 1B It is a schematic structural diagram of a cluster alarm system provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation of monitoring and alarming a cluster, and the method can be executed by an alarm device of the cluster. The alarm device of the cluster may be nodes (Nodes) in the cluster, and the nodes may be Internet of Things devices, computers, servers, mobile terminals, and the like. In this embodiment, a cluster alarm device is used as a server for detailed description, and the server may be an independent server or a cluster server.

[0057] refer to Figure 1A , the method specifically includes the following steps:

[0058] S110. Detect event information of each resource deployed in the cluster and aimed at operation failure.

[0059] In this embodiment, the resources of the cluster include hardware r...

Embodiment 2

[0097] figure 2 It is a flow chart of a cluster alarm method provided by Embodiment 2 of the present invention.

[0098] This embodiment is further refined on the basis of the foregoing embodiments, and specifically, at least includes: a description of a detection method for an operation failure.

[0099] refer to figure 2, the method specifically includes the following steps:

[0100] S210. Determine resources deployed in the cluster.

[0101] In an embodiment, a cluster management tool may be used to detect the cluster. Exemplarily, when the cluster is built using Kubernetes, the resource interface exposed by the Kubernetes cluster can be used to monitor the cluster.

[0102] Specifically, the resource interface can be used to obtain information about the program deployed in the cluster and the environment information in which the program runs, and the environment information can include the running status of each resource in the cluster. For example, you can use the ...

Embodiment 3

[0144] image 3 It is a schematic structural diagram of a cluster alarm device provided by Embodiment 3 of the present invention. This embodiment is applicable to the situation of monitoring and alarming a cluster, and the device can be integrated into an alarm device of the cluster. The alarm device of the cluster may be nodes (Nodes) in the cluster, and the nodes may be Internet of Things devices, computers, servers, mobile terminals, and the like. In this embodiment, a cluster alarm device is used as a server for detailed description, and the server may be an independent server or a cluster server.

[0145] refer to image 3 , the device specifically includes the following structures: an event information detection module 310 , a target user determination module 320 and a distribution module 330 .

[0146] An event information detection module 310, configured to detect event information for operation failures of each resource deployed in the cluster;

[0147] A target u...

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 embodiment of the invention discloses a cluster alarm method and device, setting and a storage medium. The method comprises the following steps: detecting event information of each resource deployed in a cluster for an operation fault; determining a target user associated with the event information based on a preset distribution strategy; and distributing the event information to the target user, and performing maintenance operation for the operation fault on the resource. The problems of excessive monitoring and lack of pertinence due to the fact that the monitoring state of the cluster is determined by analyzing the same monitoring index are solved; according to the method, the pertinence of maintenance operation on the operation fault of each resource in the cluster is improved, thetime for discovering and repairing the operation fault is reduced, the duration of normal operation of the cluster is prolonged, and the downtime frequency of the cluster is reduced.

Description

technical field [0001] The embodiments of the present invention relate to cluster technologies, and in particular to a cluster alarm method, device, setting and storage medium. Background technique [0002] A container cluster is a computer cluster with multiple containers deployed. The containers or microservices in the container cluster can be managed and connected to the external environment in an orderly manner, so as to achieve tasks such as scheduling, load balancing, and distribution. [0003] Generally, you can use the container cluster management tool to monitor the container cluster. The container cluster management tool may be Kubernetes, which is referred to as K8s for short, and is an open-source application for managing containerized applications on multiple hosts in a cloud platform. The main monitoring objects of the container cluster management tool are the container unit (Pod), the host machine, the virtual machine and the core process of the cluster in t...

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): G06F11/30G06F11/34
CPCG06F11/3006G06F11/3051G06F11/3409
Inventor 王玉君毛茂德王华夏王兴刚
Owner GUANGZHOU HUYA TECH CO LTD
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