Node fault positioning method, device and equipment and computer readable storage medium

A fault location and node technology, applied in computing, instrumentation, electrical digital data processing, etc., can solve problems such as redundant information, increased log information, and low log collection efficiency

Inactive Publication Date: 2020-05-19
LANGCHAO ELECTRONIC INFORMATION IND CO LTD
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But it also brings some problems: the increase in the number of nodes in the distributed storage system leads to a large increase in the log information generated during the operation of the nodes. Node fault location
[0003] The existing node fault location method is to collect all the pre-recorded log information, locate and troubleshoot problems based on all log information, the log information file is too large, there are too

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
  • Node fault positioning method, device and equipment and computer readable storage medium
  • Node fault positioning method, device and equipment and computer readable storage medium
  • Node fault positioning method, device and equipment and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0045] see figure 1 , figure 1 It is an implementation flowchart of a node fault location method in an embodiment of the present invention, and the method may include the following steps:

[0046] S101: When it is detected through the inotify process service that there is a modification action on the abnormal information record file, obtain the modified abnormal information record file.

[0047]The exception information record file can be pre-deployed to record the exception information generated by the node, and the inotify process service can be deployed to monitor the exception information record file. For example, the exception information record file can be monitored through the inotify process service. It can detect abnormal information in time and can be set to real-time monitoring. When the inotify process service detects that there is a modification action in the abnormal information record file, it indicates that there is a node abnormality in the system, so as to ...

Embodiment 2

[0061] see figure 2 , figure 2 It is another implementation flowchart of the node fault location method in the embodiment of the present invention, and the method may include the following steps:

[0062] S201: When it is detected through the inotify process service that there is a modification action in the abnormal information record file, obtain the modified abnormal information record file.

[0063] S202: Analyzing the modified exception information record file to obtain target exception information generated this time.

[0064] S203: Detect whether the target abnormality information carries the log function module identification information, if yes, execute step S204, if not, execute step S208.

[0065] S204: Determine the target function module corresponding to the target exception information, the generation period of the target exception information, and the target node information according to the log function module identification information.

[0066] The ident...

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 node fault positioning method, which comprises the following steps: when monitoring that an abnormal information record file has a modification action through an inotify process service, analyzing the modified abnormal information record file to obtain target abnormal information; detecting whether the target abnormal information carries log function module recognition information or not; if yes, a target function module log collection instruction corresponding to the log function module recognition information is generated, and node fault positioning is conducted according to the collected target function module log information; and if not, sending a full-amount log collection instruction to the log processing layer so as to carry out node fault positioning according to the collected full-amount log information. According to the method, the log collection efficiency is greatly improved, the fault positioning duration is shortened, and rapid troubleshooting ofnode faults is realized. The invention further discloses a node fault positioning device and equipment and a storage medium, which have corresponding technical effects.

Description

technical field [0001] The present invention relates to the technical field of distributed storage, in particular to a node fault location method, device, equipment and computer-readable storage medium. Background technique [0002] With the distributed storage system put into use, the reliability and security of user data storage have been greatly improved. But it also brings some problems: the increase in the number of nodes in the distributed storage system leads to a large increase in the log information generated during the operation of the nodes. When there is a problem with a node in the distributed storage system, it needs to be based on recorded log information. Node fault location. [0003] The existing node fault location method is to collect all the pre-recorded log information, locate and troubleshoot problems based on all log information, the log information file is too large, there are too many redundant information, the log collection efficiency is low, and ...

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
IPC IPC(8): G06F11/30
CPCG06F11/3034G06F11/3051G06F11/3065
Inventor 彭超峰贺计文
Owner LANGCHAO ELECTRONIC INFORMATION IND 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