Alarm processing method, device and equipment of storage equipment and storage medium
By acquiring and processing alarm information in storage devices, and determining alarm levels and correlations, the problem of fault location in complex fault scenarios is solved, and automated operation and maintenance and rapid fault identification of storage devices are realized.
Patent Information
- Application Number
- CN202410692596.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-30
- Publication Date
- 2024-09-17
AI Technical Summary
It is difficult for existing storage devices to accurately locate the cause of the fault in complex fault scenarios, which results in a prolonged fault location period and makes it difficult to find log information of serious alarm information.
By obtaining multiple target alarms generated by the storage device within a preset time period, determine the upper and lower level correlations between alarms according to the preset alarm association rules, generate alarm level information, and arrange the alarm level information according to the arrangement rules. Form alarm operation and maintenance information including root alarms to realize hierarchical processing and reporting of alarm information.
Clarify the main root alarms and associated secondary alarms to form hierarchical alarm level information, reduce the technical threshold of operation and maintenance personnel, realize automated operation and maintenance of storage devices, quickly identify fault points, and shorten fault location time.
Smart Images

Figure CN118656274A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of storage devices, and in particular to an alarm processing method, device, equipment and storage medium for storage devices. Background Art
[0002] When a storage device fails, it will generate corresponding alarm information and upload it, for example, to the Storage Management System (SMS). This method can identify most faults. However, for complex fault scenarios, multiple types of alarms will be triggered at the same time. At this time, it is difficult to present the root cause of the fault and it is difficult to accurately locate the fault. Summary of the invention
[0003] In view of this, the present invention provides an alarm processing method, apparatus, device and storage medium for a storage device to solve the problem of difficulty in accurately locating faults.
[0004] In a first aspect, the present invention provides an alarm processing method for a storage device, comprising:
[0005] Obtain multiple target alarms generated by the storage device within a preset time period;
[0006] Determine the upper and lower level association relationships between the plurality of target alarms according to the preset alarm association rules, and generate alarm level information;
[0007] Determine a root alarm according to the alarm level information, and arrange the alarm level information according to a preset arrangement rule to generate alarm operation and maintenance information including the root alarm;
[0008] Report the alarm operation and maintenance information.
[0009] In some optional embodiments, the method further comprises:
[0010] Determine the upper and lower alarms corresponding to each alarm in the alarm pool;
[0011] Adding an upper alarm member variable and a lower alarm member variable to the structure of the alarm, and assigning values to the upper alarm member variable and the lower alarm member variable according to the upper alarm and the lower alarm of the alarm;
[0012] Determining the upper and lower hierarchical association relationships between the plurality of target alarms according to the preset alarm association rule and generating alarm level information includes:
[0013] Parsing the structures of the plurality of target alarms, and determining the upper alarm and the lower alarm of the target alarm according to the assignment information of the upper alarm member variable and the lower alarm member variable of the target alarm;
[0014] According to the upper and lower alarms of the plurality of target alarms, determining the upper and lower hierarchical association relationship between the plurality of target alarms; wherein, for a first target alarm and a second target alarm having an associated relationship, the lower alarm of the first target alarm is consistent with the upper alarm of the second target alarm;
[0015] Hierarchical alarm level information corresponding to a plurality of the target alarms is generated.
[0016] In some optional implementations, determining the upper alarm and the lower alarm corresponding to each alarm in the alarm pool includes:
[0017] Performing association operations on the alarms in the alarm pool until all the alarms in the alarm pool are traversed to generate a corresponding alarm tree;
[0018] Determine the upper alarm and the lower alarm corresponding to each alarm in the alarm pool according to the alarm tree;
[0019] The association operation includes:
[0020] Determine an upper linked alarm of a pending alarm; the pending alarm is an alarm in the alarm pool;
[0021] Determine whether the pending alarm and the upper alarm of the pending alarm are consistent with the alarms in the constructed alarm tree;
[0022] When the pending alarm is consistent with the current root alarm of the first alarm tree, the upper linked alarm of the pending alarm is used as the upper linked alarm of the current root alarm and added to the first alarm tree;
[0023] When the upper alarm of the pending alarm is consistent with the current alarm of the second alarm tree, the pending alarm is added to the second alarm tree as the lower alarm of the current alarm;
[0024] When the pending alarm is consistent with the current root alarm of the first alarm tree, and the upper alarm of the pending alarm is consistent with the current alarm of the second alarm tree, the current alarm in the second alarm tree is used as the upper alarm of the current root alarm in the first alarm tree to form an alarm tree including the first alarm tree and the second alarm tree;
[0025] When the pending alarm and the upper-linked alarm of the pending alarm are inconsistent with any alarm in the constructed alarm tree, an alarm tree including the pending alarm and the upper-linked alarm of the pending alarm is constructed.
[0026] In some optional implementations, determining the upper and lower hierarchical association relationship between the plurality of target alarms according to the upper alarms and the lower alarms of the plurality of target alarms includes:
[0027] After determining the upper alarm and the lower alarm of the current target alarm, judging whether the upper alarm or the lower alarm of the current target alarm is consistent with the lower alarm or the upper alarm of the historical target alarm; the current target alarm is the target alarm obtained at the current moment within the preset time period, and the historical target alarm is the target alarm that has been obtained within the preset time period;
[0028] When the two are consistent, an association relationship between the current target alarm and the historical target alarm is established.
[0029] In some optional implementations, the arrangement rule includes: at least one of an effective association level rule, an alarm shielding rule, an alarm deduplication rule, and an alarm custom rule;
[0030] The step of arranging the alarm level information according to a preset arrangement rule to generate alarm operation and maintenance information including the root alarm includes:
[0031] In the case where the arrangement rule includes the effective association level rule, determining the effective level to be presented according to the effective association level rule, the effective level including the level corresponding to the root alarm; generating alarm operation and maintenance information according to the partial alarm level information corresponding to the effective level;
[0032] In the case where the arrangement rule includes the alarm shielding rule, shielding part of the alarm level information that hits the alarm shielding rule, and generating alarm operation and maintenance information according to the shielded alarm level information;
[0033] In the case where the arrangement rule includes the alarm deduplication rule, removing duplicate alarms in the alarm level information according to the alarm deduplication rule, and generating alarm operation and maintenance information according to the deduplicated alarm level information;
[0034] In the case where the orchestration rule includes the alarm customization rule, the alarm level information is customized according to the alarm customization rule, and the alarm operation and maintenance information is generated according to the customized alarm level information.
[0035] In some optional embodiments, the method further comprises:
[0036] Determine whether the target alarm is a serious alarm;
[0037] In the case where the target alarm is a serious alarm, collecting log information of the target alarm that is a serious alarm;
[0038] Report the log information.
[0039] In some optional embodiments, the method further comprises:
[0040] Determine the associated log location information corresponding to at least some of the alarms in the alarm pool;
[0041] Adding an associated log member variable to the structure of the alarm, and assigning a value to the associated log member variable according to the associated log location information of the alarm;
[0042] The log information of the target alarm that is a serious alarm is collected, including:
[0043] Parsing the structure of the target alarm belonging to the serious alarm, and determining the associated log position information of the target alarm belonging to the serious alarm according to the assignment information of the associated log member variable of the target alarm belonging to the serious alarm;
[0044] The log of the target alarm belonging to the serious alarm is located according to the associated log position information, and the corresponding log information is extracted.
[0045] In a second aspect, the present invention provides an alarm processing device for a storage device, comprising:
[0046] An acquisition module, used to acquire multiple target alarms generated by a storage device within a preset time period;
[0047] An association module, used to determine the upper and lower level association relationships between the plurality of target alarms according to a preset alarm association rule, and generate alarm level information;
[0048] An orchestration module, configured to determine a root alarm according to the alarm level information, and orchestrate the alarm level information according to a preset orchestration rule to generate alarm operation and maintenance information including the root alarm;
[0049] The reporting module is used to report the alarm operation and maintenance information.
[0050] In a third aspect, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the alarm processing method of the storage device of the first aspect or any corresponding embodiment thereof by executing the computer instructions.
[0051] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the alarm processing method for a storage device of the first aspect or any corresponding embodiment thereof.
[0052] In a fifth aspect, the present invention provides a computer program product, including computer instructions, and the computer instructions are used to enable a computer to execute the alarm processing method for a storage device of the above-mentioned first aspect or any corresponding embodiment thereof.
[0053] The present invention associates alarms through alarm association rules, which can clarify the main root alarm and the associated secondary alarms, making the alarm information more hierarchical and forming hierarchical alarm level information; the alarm is pre-processed according to the orchestration rules before the alarm is reported, so that the information to be reported can be reported and presented according to the customized orchestration, which is convenient for operation and maintenance management, and facilitates the realization of the automatic operation and maintenance capabilities of storage devices, and effectively reduces the technical threshold requirements for operation and maintenance personnel. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the related technologies, the drawings required for use in the specific embodiments or the related technical descriptions will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0055] Figure 1 is a flowchart of an alarm processing method for a storage device according to an embodiment of the present invention;
[0056] Figure 2 is a flowchart of an alarm processing method for another storage device according to an embodiment of the present invention;
[0057] Figure 3 is a schematic diagram of combining a first alarm tree and a second alarm tree according to an embodiment of the present invention;
[0058] Figure 4 is a schematic diagram of performing arrangement based on multiple arrangement rules according to an embodiment of the present invention;
[0059] Figure 5 is a structural block diagram of an alarm processing device for a storage device according to an embodiment of the present invention;
[0060] Figure 6 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0061] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0062] The alarm management system (Management Information System, MIS) of storage devices is mainly responsible for reporting key alarms, messages and other information of storage devices to the storage management system (Storage Management System, SMS), so that operation and maintenance personnel can discover faults in time and quickly find out the causes. It plays a vital role in the healthy operation and maintenance of storage devices.
[0063] Storage devices usually report various types of alarm information directly to the storage management system. This method can cover fault identification and location in most scenarios. However, for complex fault scenarios, multiple types of alarms will be triggered at the same time. For example, if the front-end interface card module fails, alarms such as link abnormality, module failure, and system degradation will be reported. At this time, it is difficult to clearly present the root cause of the fault. In addition, for serious alarm information, if there is no linkage processing mechanism, even if the alarm is reported, the entire fault location cycle will be prolonged, and sometimes the log information at the time of the fault cannot be found.
[0064] According to an embodiment of the present invention, an embodiment of an alarm processing method for a storage device is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0065] In this embodiment, a method for processing an alarm of a storage device is provided, which can be applied to a storage device. Figure 1 is a flowchart of an alarm processing method for a storage device according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps.
[0066] Step S101, obtaining multiple target alarms generated by a storage device within a preset time period.
[0067] In this embodiment, if a storage device encounters a problem such as a fault during operation, a corresponding alarm may be generated. In a complex fault scenario, the storage device may generate multiple alarms, and these alarms are generated time by time. In order to cope with complex fault scenarios, this embodiment predefines a certain time period (for example, 1 minute, 5 minutes, etc.), namely, a preset time period, and the alarms obtained within the preset time period are regarded as alarms that need to be processed, namely, target alarms.
[0068] Step S102: determining the upper and lower level association relationships between multiple target alarms according to a preset alarm association rule, and generating alarm level information.
[0069] In this embodiment, a rule for associating alarms, i.e., an alarm association rule, is predefined, and the alarm association rule indicates the upper-lower level association relationship between different alarms. After determining multiple target alarms, the upper-lower level association relationship between these target alarms can be determined based on the preset alarm association rule, and based on these association relationships, hierarchical alarm information including all target alarms, i.e., alarm level information, can be further formed.
[0070] For example, in the alarm association rule, there is an association relationship between alarm A and alarm B. If alarm A and alarm B are obtained within the current preset time period, that is, alarm A and alarm B are both target alarms, and based on the alarm association rule, it can be determined that there is an association relationship between alarm A and alarm B, and the generated alarm level information also includes the association relationship between alarm A and alarm B.
[0071] Step S103, determining the root alarm according to the alarm level information, and arranging the alarm level information according to a preset arrangement rule to generate alarm operation and maintenance information including the root alarm.
[0072] In this embodiment, the alarm level information can determine target alarms of different levels, which can indicate the importance of different target alarms. Generally, the higher the level corresponding to the target alarm, the more important it is. Therefore, the target alarm corresponding to the highest level in the alarm level information can be used as the root alarm, which is the most important alarm for this fault; the root alarm is subsequently reported to facilitate the analysis of the fault cause based on the root alarm and determine the corresponding fault solution.
[0073] In addition, the arrangement rules are pre-set. After the alarm level information is generated, the alarm level information is arranged based on the arrangement rules, so that the arranged alarms can clearly present the alarm correlation relationship, which is convenient for rapid identification of major alarms (root alarms) and minor alarms during subsequent operation and maintenance. The arranged information is the alarm operation and maintenance information, which can efficiently present the alarm information and the direct relationship between various alarms, and facilitate rapid confirmation of the fault point.
[0074] Step S104: reporting alarm operation and maintenance information.
[0075] In this embodiment, the alarm management system (MIS) and the storage management system (SMS) can be combined to realize the processing of the alarm. For example, after obtaining the target alarm, the alarm management system (MIS) can automatically associate and pre-process all the target alarms, and send the generated alarm level information to the storage management system (SMS), and the storage management system (SMS) automatically arranges it, and finally uses the arranged information as the alarm operation and maintenance information, and reports it.
[0076] The alarm processing method for storage devices provided in this embodiment associates alarms through alarm association rules, which can clarify the main root alarms and the associated secondary alarms, making the alarm information more hierarchical and forming hierarchical alarm level information; the alarms are pre-processed according to the orchestration rules before being reported, so that the information to be reported can be reported and presented according to the customized orchestration, which is convenient for operation and maintenance management, and convenient for realizing the automated operation and maintenance capabilities of storage devices, and effectively lowers the technical threshold requirements for operation and maintenance personnel.
[0077] In this embodiment, a method for processing an alarm of a storage device is provided, which can be applied to a storage device. Figure 2 is a flowchart of an alarm processing method for a storage device according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps.
[0078] Step S201, obtaining multiple target alarms generated by a storage device within a preset time period.
[0079] For details, please see Figure 1 Step S101 of the illustrated embodiment will not be described in detail here.
[0080] Step S202: determining the upper and lower level association relationships between multiple target alarms according to a preset alarm association rule, and generating alarm level information.
[0081] For details, please see Figure 1 Step S102 of the illustrated embodiment will not be described in detail here.
[0082] In some optional implementations, the association relationship between target alarms can be determined based on root cause analysis or other methods, but this method is complex to process, for example, it requires the use of a knowledge graph, and is not suitable for storage devices with low processing capabilities; in this embodiment, the structure of the alarm of the storage device is expanded to enable simple and convenient association. Specifically, the method also includes the following steps A1 to A2.
[0083] Step A1, determining the upper alarm and lower alarm corresponding to each alarm in the alarm pool.
[0084] In this embodiment, the alarm pool includes all alarms set in the storage device, and the alarms in the alarm pool are analyzed in advance to determine the upper alarm and lower alarm corresponding to each alarm; wherein the upper alarm is the alarm of the upper level of the alarm, and correspondingly, the lower alarm is the alarm of the lower level of the alarm. It can be understood that the alarm has an association relationship with both the upper alarm and the lower alarm.
[0085] Among them, some alarms do not have upper alarms or lower alarms. If an alarm does not have an upper alarm, the upper alarm of the alarm is empty, and the alarm is the topmost root alarm; if an alarm does not have a lower alarm, the lower alarm of the alarm is empty, and the alarm is the bottommost leaf alarm.
[0086] Optionally, the above step A1 "determining the upper alarm and the lower alarm corresponding to each alarm in the alarm pool" includes steps A11 to A12.
[0087] Step A11, performing association operations on the alarms in the alarm pool until all the alarms in the alarm pool are traversed to generate a corresponding alarm tree.
[0088] The association operation includes the following steps A111 to A116.
[0089] Step A111, determine the upstream alarm of the pending alarm; the pending alarm is the alarm in the alarm pool.
[0090] In this embodiment, the association operation is performed on each alarm in the alarm pool in sequence. For the convenience of description, the alarm currently being subjected to the association operation is referred to as a pending alarm.
[0091] Among them, for a certain alarm, it generally corresponds to one upper alarm and may correspond to one or more lower alarms. In order to accurately define the upper and lower levels between different alarms in the alarm pool, when performing the association operation, only the upper alarm of the pending alarm is determined, that is, there is no need to determine which lower alarms of the pending alarm are.
[0092] If the pending alarm does not have an upper alarm, then its upper alarm is empty. And it can be understood that if the pending alarm has an upper alarm, then its upper alarm is also an alarm in the alarm pool.
[0093] Step A112, determining whether the pending alarm and the uplinked alarm of the pending alarm are consistent with the alarms in the constructed alarm tree.
[0094] In this embodiment, when the association operation is performed on the alarms in the alarm pool, a corresponding alarm tree is constructed based on the alarms on which the association operation has been performed. It can be understood that when the association operation is performed for the first time, there is no constructed alarm tree.
[0095] After determining the upstream alarm of the pending alarm, it can be determined whether the pending alarm is consistent with an alarm in a certain constructed alarm tree, and whether the upstream alarm of the pending alarm is consistent with an alarm in a certain constructed alarm tree; if the pending alarm and / or the upstream alarm of the pending alarm are consistent with the alarm in a certain alarm tree, the constructed alarm tree can be updated based on the pending alarm and / or the upstream alarm of the pending alarm, otherwise it is necessary to construct a new alarm tree based on the pending alarm and the upstream alarm of the pending alarm.
[0096] Step A113: When the pending alarm is consistent with the current root alarm of the first alarm tree, the uplink alarm of the pending alarm is used as the uplink alarm of the current root alarm and added to the first alarm tree.
[0097] Step A114: When the upper alarm of the pending alarm is consistent with the current alarm of the second alarm tree, the pending alarm is added to the second alarm tree as the lower alarm of the current alarm.
[0098] Step A115, when the pending alarm is consistent with the current root alarm of the first alarm tree and the uplink alarm of the pending alarm is consistent with the current alarm of the second alarm tree, the current alarm in the second alarm tree is used as the uplink alarm of the current root alarm in the first alarm tree, forming an alarm tree including the first alarm tree and the second alarm tree.
[0099] Step A116: when the pending alarm and the upper-linked alarm of the pending alarm are inconsistent with any alarm in the constructed alarm tree, construct an alarm tree including the pending alarm and the upper-linked alarm of the pending alarm.
[0100] In this embodiment, for the convenience of description, A represents a pending alarm, and B represents an upper-linked alarm of the pending alarm A. Since the upper-linked alarm of an alarm is unique, for the pending alarm A, it is only necessary to compare it with the current root alarm of the constructed alarm tree. If the pending alarm A is consistent with the current root alarm of a certain alarm tree, then the alarm tree is the first alarm tree; and the upper-linked alarm B of the pending alarm can be used as the upper-linked alarm of the current root alarm, and the upper-linked alarm B is added to the first alarm tree to update the first alarm tree.
[0101] As for the upper alarm B of the pending alarm, since it may be consistent with the alarm of any node in the alarm tree, it is necessary to compare whether the upper alarm B is consistent with any node in the alarm tree; if the upper alarm B is consistent with an alarm in a certain alarm tree, for the convenience of description, the alarm tree is called the second alarm tree, and the alarm is called the current alarm. At this time, the pending alarm A can be used as the lower alarm of the next level of the current alarm, and the pending alarm A is added to the second alarm tree to update the second alarm tree.
[0102] In addition, if the pending alarm A is consistent with the current root alarm of the first alarm tree, and the upper alarm B is consistent with the current alarm of the second alarm tree, the first alarm tree and the second alarm tree can be combined into one alarm tree. Specifically, the current alarm in the second alarm tree is used as the upper alarm of the current root alarm in the first alarm tree (or, the current root alarm in the first alarm tree is used as the lower alarm of the current alarm in the second alarm tree), forming an alarm tree including the first alarm tree and the second alarm tree.
[0103] If the pending alarm A and its upper alarm B are not consistent with any alarm in the constructed alarm tree (for example, when the association operation is performed for the first time, there is no alarm tree), then an alarm tree including the pending alarm and the upper alarm of the pending alarm is constructed at this time. It can be understood that the root alarm of the alarm tree constructed at this time is the upper alarm B, and the leaf alarm is the pending alarm A.
[0104] Figure 3 FIG. 1 shows a schematic diagram of combining the first alarm tree with the second alarm tree. Figure 3 As shown in the figure, for pending alarm A and its uplink alarm B, Figure 3 The first alarm tree and the second alarm tree shown in FIG. 1 are combined, and the combined alarm tree is as follows: Figure 3 Shown on the right. Figure 3 In the figure, each circle corresponds to an alarm.
[0105] After the association operation is performed on all alarms in the alarm pool, one or more alarm trees may be generated.
[0106] Step A12, determining the upper alarm and lower alarm corresponding to each alarm in the alarm pool according to the alarm tree.
[0107] In this embodiment, since the alarm tree can represent the hierarchical relationship between each alarm, the upper and lower alarms of each alarm can be determined based on all generated alarm trees. Figure 3 For example, if the final generated alarm tree is Figure 3 As shown in the alarm tree on the right, for alarm B, its upper alarm is alarm 1, and its lower alarms include alarm A and alarm 3.
[0108] Step A2, adding an upper alarm member variable and a lower alarm member variable to the alarm structure, and assigning values to the upper alarm member variable and the lower alarm member variable according to the upper alarm and the lower alarm of the alarm.
[0109] Among them, each alarm is provided with a structure, which is provided with member variables representing the alarm information. In this embodiment, member variables are newly added to the structure of the alarm, namely, the upper alarm member variable and the lower alarm member variable. After determining the upper alarm and the lower alarm of a certain alarm, the upper alarm member variable and the lower alarm member variable of the alarm can be assigned values, so that the related information of each alarm can be clarified based on the structure.
[0110] Furthermore, the above step S202 of "determining the upper and lower hierarchical association relationships between multiple target alarms according to a preset alarm association rule, and generating alarm level information" may include the following steps B1 to B3.
[0111] Step B1, parsing the structures of multiple target alarms, and determining the upper alarm and lower alarm of the target alarm according to the assignment information of the upper alarm member variables and lower alarm member variables of the target alarm.
[0112] Step B2, determining the upper and lower hierarchical association relationship between the multiple target alarms according to the upper alarms and lower alarms of the multiple target alarms; wherein, for the first target alarm and the second target alarm having an associated relationship, the lower alarm of the first target alarm is consistent with the upper alarm of the second target alarm.
[0113] Step B3, generating hierarchical alarm level information corresponding to multiple target alarms.
[0114] In this embodiment, after the target alarm is obtained, its structure can be parsed, so that the assignment information of the upper alarm member variable and the lower alarm member variable can be extracted, so as to simply and quickly determine the upper alarm and lower alarm of each target alarm. If the lower alarm of a target alarm (the first target alarm) is consistent with the upper alarm of another target alarm (the second target alarm), it can be directly determined that the two target alarms have an associated relationship, and the former is the upper-level alarm of the latter.
[0115] Furthermore, in combination with the association relationship determined by the multiple target alarms, the alarm level information of these target alarms can be represented in a hierarchical form. For example, the alarm level information can be information in a tree structure.
[0116] Optionally, the above step B2 "determining the upper and lower hierarchical association relationship between multiple target alarms according to the upper alarms and lower alarms of the multiple target alarms" may include the following steps B21 to B22.
[0117] Step B21, after determining the upper alarm and lower alarm of the current target alarm, determine whether the upper alarm or lower alarm of the current target alarm is consistent with the lower alarm or upper alarm of the historical target alarm; the current target alarm is the target alarm obtained at the current moment within the preset time period, and the historical target alarm is the target alarm that has been obtained within the preset time period.
[0118] Step B22: when the two are consistent, establish an association relationship between the current target alarm and the historical target alarm.
[0119] In this embodiment, target alarms will be obtained sequentially within a preset time period. To improve processing efficiency, each time a target alarm is obtained, the target alarm obtained at the current moment can be used as the current target alarm, and accordingly, the target alarm obtained at the previous historical moment can be used as the historical target alarm. It can be understood that the number of historical target alarms may be 0, 1, or more, depending on the actual situation.
[0120] Based on the upper and lower alarms of the current target alarm and all historical target alarms, it can be determined which historical target alarm or alarms the current target alarm has an association relationship with. Specifically, if the upper alarm of the current target alarm is consistent with the lower alarm of a certain historical target alarm, the two have an association relationship; or, if the lower alarm of the current target alarm is consistent with the upper alarm of a certain historical target alarm, the two also have an association relationship. Based on these association relationships, the tree-structured alarm level information can be gradually constructed until all target alarms are processed, thereby generating the final alarm level information.
[0121] Step S203, determining the root alarm according to the alarm level information, and arranging the alarm level information according to a preset arrangement rule to generate alarm operation and maintenance information including the root alarm.
[0122] For details, please see Figure 1 Step S103 of the illustrated embodiment will not be described in detail here.
[0123] In some optional implementations, the arrangement rule includes: at least one of: effective association level rules, alarm shielding rules, alarm deduplication rules, and alarm custom rules. Accordingly, the above step S203 "arranging the alarm level information according to the preset arrangement rules to generate alarm operation and maintenance information including the root alarm" includes the following steps C1 to C4.
[0124] Step C1, when the arrangement rules include effective association level rules, determine the effective level to be presented according to the effective association level rules, the effective level includes the level corresponding to the root alarm; generate alarm operation and maintenance information according to the partial alarm level information corresponding to the effective level.
[0125] Step C2: when the arrangement rule includes an alarm shielding rule, part of the alarm level information that hits the alarm shielding rule is shielded, and alarm operation and maintenance information is generated according to the shielded alarm level information.
[0126] Step C3: when the arrangement rule includes an alarm deduplication rule, duplicate alarms in the alarm level information are removed according to the alarm deduplication rule, and alarm operation and maintenance information is generated according to the deduplicated alarm level information.
[0127] Step C4, when the orchestration rules include alarm customization rules, the alarm level information is customized according to the alarm customization rules, and the alarm operation and maintenance information is generated according to the customized alarm level information.
[0128] In this embodiment, an orchestration rule is formulated for each reported alarm. Specifically, an effective association level rule is customized to indicate the alarm presentation level, that is, to clarify how many levels of associated alarms need to be presented after the root alarm. Alarm deduplication rules are formulated for repeatedly reported alarms. For example, repeated alarms within a certain period of time can be merged. Alarm shielding rules are formulated for alarms that need to be shielded. The target alarms that need to be shielded can be located according to alarm keywords or time periods, and then the alarm shielding process is performed. Alarm customization rules are used to implement user customization, such as completing the customization of alarm levels and names; further customizing the presentation of alarm information according to actual customer needs can meet the customized needs of different customers, avoid a large number of alarms being reported at the same time, and make alarm reporting more hierarchical.
[0129] Among them, the orchestration rules may include the above-mentioned multiple specifications, and multiple rules are combined for orchestration to form the final alarm operation and maintenance information. Figure 4 A schematic diagram of performing arrangement based on multiple arrangement rules is shown, such as Figure 4 As shown, the original alarm level information can be processed in sequence according to the order of effective association level rules, alarm shielding rules, alarm customization rules, and alarm deduplication rules, and finally alarm operation and maintenance information that complies with these orchestration rules is generated.
[0130] For example, the alarm management system can automatically associate and pre-process all alarm information according to the established association rules, and automatically process the upper and lower alarms of each target alarm and report them to the storage management system. The storage management system can automatically arrange the reported alarms according to the customized arrangement rules. The alarm arrangement can realize the alarm presentation level, alarm shielding, duplicate reporting strategy, and alarm customization.
[0131] Optionally, in the case where the structure of the alarm includes an upper alarm and a lower alarm, the above step S203 "determining the root alarm according to the alarm level information" may specifically include the following steps D1 to D4.
[0132] Step D1, determining the highest level target alarm among all target alarms according to the alarm level information.
[0133] Step D2, determining whether the highest-level target alarm has an upper-link alarm.
[0134] Step D3: When there is no upper linked alarm for the target alarm at the highest level, the target alarm at the highest level is used as the root alarm.
[0135] Step D4: When the target alarm at the highest level has an upper alarm, the target alarm at the highest level is regarded as a real root alarm, and the upper alarm of the target alarm is regarded as a virtual root alarm. The generated alarm operation and maintenance information includes not only the real root alarm but also the virtual root alarm.
[0136] In this embodiment, after determining the alarm level information, the highest level target alarm can be determined based on the upper and lower level association relationship between the target alarms represented by the alarm level information, that is, for the target alarms collected within the current preset time period, there is no upper alarm of the highest level target alarm.
[0137] However, in the structure of the target alarm at the highest level, there may be further upper-linked alarms, that is, the member variables of the upper-linked alarms are not empty, so at this time, based on the structure of the target alarm at the highest level, the upper-linked alarms of the target alarm can be determined. In this embodiment, the target alarm at the highest level is taken as the real root alarm, that is, the real root alarm, and the upper-linked alarm is taken as the root alarm that is not directly obtained, that is, the virtual root alarm. Both the real root alarm and the virtual root alarm are added to the reported alarm operation and maintenance information, so that the fault analysis can be performed based on the virtual root alarm later, and the root cause of the fault can be located faster and more accurately.
[0138] Step S204, determining whether the target alarm is a serious alarm.
[0139] Step S205: When the target alarm is a severe alarm, log information of the target alarm that is a severe alarm is collected.
[0140] In this embodiment, when an alarm is generated, it is automatically confirmed whether there are any upper or lower associated alarms according to the alarm association rules. At the same time, for important and serious alarms, the log collection action can be actively triggered according to the established rules when the alarm occurs, and the key log information can be saved, shortening the log collection time during the problem location process, avoiding log flushing that causes the log at the time of the fault to be unable to be confirmed, facilitating rapid log analysis and location in the later stage, and reducing the difficulty of equipment operation and maintenance.
[0141] Optionally, the method further includes: determining associated log location information corresponding to at least some alarms in the alarm pool; adding associated log member variables to the alarm structure, and assigning values to the associated log member variables according to the associated log location information of the alarm.
[0142] In addition, the above-mentioned step S205 "collecting log information of the target alarm that is a serious alarm" includes: parsing the structure of the target alarm that is a serious alarm, and determining the associated log location information of the target alarm that is a serious alarm based on the assignment information of the associated log member variable of the target alarm that is a serious alarm; locating the log of the target alarm that is a serious alarm based on the associated log location information, and extracting the corresponding log information.
[0143] In this embodiment, when adding a member variable to the structure of the alarm, a "correlated log member variable" may also be added to the alarm, and the associated log member variable is used to indicate the associated log location information corresponding to the alarm. The associated log member variable may be set only for serious alarms (for example, for non-serious alarms, the associated log member variable is empty); or, since there is no unique regulation on whether an alarm is serious for different users or scenarios, the associated log member variables of all alarms may be assigned to generate the structure of each alarm.
[0144] After obtaining the target alarm, for serious target alarms, the action of log collection can be triggered, that is, by parsing the structure of the target alarm, the associated log location information can be extracted, and then the corresponding log is located based on the associated log location information, thereby extracting the log information of the target alarm. In this embodiment, for alarms with high timeliness requirements, key log collection can be actively linked to effectively protect key information at the time of failure and facilitate later problem location processing.
[0145] For example, when a serious alarm is confirmed, the alarm management system can notify the storage management system. The storage management system automatically triggers the collection of relevant log information based on the associated log location information, retains the key log information at the time of the failure, and reports the log information of the serious alarm.
[0146] Step S206: reporting alarm operation and maintenance information and log information.
[0147] For details, please see Figure 1 Step S104 of the illustrated embodiment will not be described in detail here.
[0148] The alarm processing method for storage devices provided in this embodiment performs correlation analysis on all alarms during the alarm reporting process, actively identifies the upper and lower alarms of the alarm, and then identifies the main alarm and the secondary alarm, and can automatically mark the main alarm; for serious alarms, it will actively trigger log collection and retain the log information at the time of the failure; through customized arrangement rules, customized reporting of alarm information can be completed, hierarchical reporting of alarms can be realized, the root alarm will be highlighted, and the associated levels will be presented according to custom requirements, so as to realize the automatic operation and maintenance function of alarm information, making the alarm management process more efficient. For complex fault scenarios, the main alarms can be clearly screened out, which is convenient for rapid location of problems and reduces the difficulty of operation and maintenance of storage devices; for serious fault scenarios, key log information at the time of alarm occurrence is actively collected, which can shorten the log collection time, save valid log information, and avoid the problem of logs being flushed.
[0149] In this embodiment, an alarm processing device for a storage device is also provided, and the device is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made are not repeated here. As used below, the term "module" may be a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0150] This embodiment provides an alarm processing device for a storage device, such as Figure 5 As shown, including:
[0151] An acquisition module 501 is used to acquire multiple target alarms generated by a storage device within a preset time period;
[0152] The association module 502 is used to determine the upper and lower level association relationship between the plurality of target alarms according to a preset alarm association rule, and generate alarm level information;
[0153] An orchestration module 503, configured to determine a root alarm according to the alarm level information, and orchestrate the alarm level information according to a preset orchestration rule to generate alarm operation and maintenance information including the root alarm;
[0154] The reporting module 504 is used to report the alarm operation and maintenance information.
[0155] In some optional embodiments, the device further comprises a preprocessing module, which is used to:
[0156] Determine the upper and lower alarms corresponding to each alarm in the alarm pool;
[0157] Adding an upper alarm member variable and a lower alarm member variable to the structure of the alarm, and assigning values to the upper alarm member variable and the lower alarm member variable according to the upper alarm and the lower alarm of the alarm;
[0158] The association module 502 determines the upper and lower level association relationships between the plurality of target alarms according to the preset alarm association rules, and generates alarm level information, including:
[0159] Parsing the structures of the plurality of target alarms, and determining the upper alarm and the lower alarm of the target alarm according to the assignment information of the upper alarm member variable and the lower alarm member variable of the target alarm;
[0160] According to the upper and lower alarms of the plurality of target alarms, determining the upper and lower hierarchical association relationship between the plurality of target alarms; wherein, for a first target alarm and a second target alarm having an associated relationship, the lower alarm of the first target alarm is consistent with the upper alarm of the second target alarm;
[0161] Hierarchical alarm level information corresponding to a plurality of the target alarms is generated.
[0162] In some optional implementations, the preprocessing module determines the upper link alarm and the lower link alarm corresponding to each alarm in the alarm pool, including:
[0163] Performing association operations on the alarms in the alarm pool until all the alarms in the alarm pool are traversed to generate a corresponding alarm tree;
[0164] Determine the upper alarm and the lower alarm corresponding to each alarm in the alarm pool according to the alarm tree;
[0165] The association operation includes:
[0166] Determine an upper linked alarm of a pending alarm; the pending alarm is an alarm in the alarm pool;
[0167] Determine whether the pending alarm and the upper alarm of the pending alarm are consistent with the alarms in the constructed alarm tree;
[0168] When the pending alarm is consistent with the current root alarm of the first alarm tree, the upper linked alarm of the pending alarm is used as the upper linked alarm of the current root alarm and added to the first alarm tree;
[0169] When the upper alarm of the pending alarm is consistent with the current alarm of the second alarm tree, the pending alarm is added to the second alarm tree as the lower alarm of the current alarm;
[0170] When the pending alarm is consistent with the current root alarm of the first alarm tree, and the upper alarm of the pending alarm is consistent with the current alarm of the second alarm tree, the current alarm in the second alarm tree is used as the upper alarm of the current root alarm in the first alarm tree to form an alarm tree including the first alarm tree and the second alarm tree;
[0171] When the pending alarm and the upper-linked alarm of the pending alarm are inconsistent with any alarm in the constructed alarm tree, an alarm tree including the pending alarm and the upper-linked alarm of the pending alarm is constructed.
[0172] In some optional implementations, the association module 502 determines the upper and lower hierarchical association relationships between the multiple target alarms according to the upper alarms and lower alarms of the multiple target alarms, including:
[0173] After determining the upper alarm and the lower alarm of the current target alarm, judging whether the upper alarm or the lower alarm of the current target alarm is consistent with the lower alarm or the upper alarm of the historical target alarm; the current target alarm is the target alarm obtained at the current moment within the preset time period, and the historical target alarm is the target alarm that has been obtained within the preset time period;
[0174] When the two are consistent, an association relationship between the current target alarm and the historical target alarm is established.
[0175] In some optional implementations, the arrangement rule includes: at least one of an effective association level rule, an alarm shielding rule, an alarm deduplication rule, and an alarm custom rule;
[0176] The orchestration module 503 orchestrates the alarm level information according to a preset orchestration rule to generate alarm operation and maintenance information including the root alarm, including:
[0177] In the case where the arrangement rule includes the effective association level rule, determining the effective level to be presented according to the effective association level rule, the effective level including the level corresponding to the root alarm; generating alarm operation and maintenance information according to the partial alarm level information corresponding to the effective level;
[0178] In the case where the arrangement rule includes the alarm shielding rule, shielding part of the alarm level information that hits the alarm shielding rule, and generating alarm operation and maintenance information according to the shielded alarm level information;
[0179] In the case where the arrangement rule includes the alarm deduplication rule, removing duplicate alarms in the alarm level information according to the alarm deduplication rule, and generating alarm operation and maintenance information according to the deduplicated alarm level information;
[0180] In the case where the orchestration rule includes the alarm customization rule, the alarm level information is customized according to the alarm customization rule, and the alarm operation and maintenance information is generated according to the customized alarm level information.
[0181] In some optional implementations, the device further includes a log collection module, which is used to: determine whether the target alarm is a serious alarm; if the target alarm is a serious alarm, collect log information of the target alarm that is a serious alarm;
[0182] The reporting module is also used to report the log information.
[0183] In some optional embodiments, the device further comprises a preprocessing module, which is used to:
[0184] Determine the associated log location information corresponding to at least some of the alarms in the alarm pool;
[0185] Adding an associated log member variable to the structure of the alarm, and assigning a value to the associated log member variable according to the associated log location information of the alarm;
[0186] The log collection module collects log information of target alarms belonging to serious alarms, including:
[0187] Parsing the structure of the target alarm belonging to the serious alarm, and determining the associated log position information of the target alarm belonging to the serious alarm according to the assignment information of the associated log member variable of the target alarm belonging to the serious alarm;
[0188] The log of the target alarm belonging to the serious alarm is located according to the associated log position information, and the corresponding log information is extracted.
[0189] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.
[0190] The alarm processing device of the storage device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, including a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0191] The embodiment of the present invention also provides a computer device having the above Figure 5 An alarm processing device for a storage device is shown.
[0192] See also Figure 6 , Figure 6 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Figure 6 As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 6 A processor 10 is taken as an example.
[0193] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.
[0194] The memory 20 stores instructions executable by at least one processor 10, so that the at least one processor 10 executes the method shown in the above embodiment.
[0195] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0196] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.
[0197] The computer device further comprises a communication interface 30 for the computer device to communicate with other devices or a communication network.
[0198] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.
[0199] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.
[0200] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A method for processing an alarm of a storage device, characterized in that: The method comprises: Obtain multiple target alarms generated by the storage device within a preset time period; Determine the upper and lower level association relationships between the plurality of target alarms according to the preset alarm association rules, and generate alarm level information; Determine a root alarm according to the alarm level information, and arrange the alarm level information according to a preset arrangement rule to generate alarm operation and maintenance information including the root alarm; Report the alarm operation and maintenance information.
2. The method according to claim 1, characterized in that Also includes: Determine the upper and lower alarms corresponding to each alarm in the alarm pool; Adding an upper alarm member variable and a lower alarm member variable to the structure of the alarm, and assigning values to the upper alarm member variable and the lower alarm member variable according to the upper alarm and the lower alarm of the alarm; Determining the upper and lower hierarchical association relationships between the plurality of target alarms according to the preset alarm association rule and generating alarm level information includes: Parsing the structures of the plurality of target alarms, and determining the upper alarm and the lower alarm of the target alarm according to the assignment information of the upper alarm member variable and the lower alarm member variable of the target alarm; According to the upper and lower alarms of the plurality of target alarms, determining the upper and lower hierarchical association relationship between the plurality of target alarms; wherein, for a first target alarm and a second target alarm having an associated relationship, the lower alarm of the first target alarm is consistent with the upper alarm of the second target alarm; Hierarchical alarm level information corresponding to a plurality of the target alarms is generated.
3. The method according to claim 2, characterized in that The determining of the upper alarm and the lower alarm corresponding to each alarm in the alarm pool includes: Performing association operations on the alarms in the alarm pool until all the alarms in the alarm pool are traversed to generate a corresponding alarm tree; Determine the upper alarm and the lower alarm corresponding to each alarm in the alarm pool according to the alarm tree; The association operation includes: Determine an upper linked alarm of a pending alarm; the pending alarm is an alarm in the alarm pool; Determine whether the pending alarm and the upper alarm of the pending alarm are consistent with the alarms in the constructed alarm tree; When the pending alarm is consistent with the current root alarm of the first alarm tree, the upper linked alarm of the pending alarm is used as the upper linked alarm of the current root alarm and added to the first alarm tree; When the upper alarm of the pending alarm is consistent with the current alarm of the second alarm tree, the pending alarm is added to the second alarm tree as the lower alarm of the current alarm; When the pending alarm is consistent with the current root alarm of the first alarm tree, and the upper alarm of the pending alarm is consistent with the current alarm of the second alarm tree, the current alarm in the second alarm tree is used as the upper alarm of the current root alarm in the first alarm tree to form an alarm tree including the first alarm tree and the second alarm tree; When the pending alarm and the upper-linked alarm of the pending alarm are inconsistent with any alarm in the constructed alarm tree, an alarm tree including the pending alarm and the upper-linked alarm of the pending alarm is constructed.
4. The method according to claim 2, characterized in that: The determining, according to the upper and lower alarms of the plurality of target alarms, the upper and lower hierarchical association relationships between the plurality of target alarms comprises: After determining the upper alarm and the lower alarm of the current target alarm, judging whether the upper alarm or the lower alarm of the current target alarm is consistent with the lower alarm or the upper alarm of the historical target alarm; the current target alarm is the target alarm obtained at the current moment within the preset time period, and the historical target alarm is the target alarm that has been obtained within the preset time period; When the two are consistent, an association relationship between the current target alarm and the historical target alarm is established.
5. The method according to claim 1, characterized in that The arrangement rules include: at least one of effective association level rules, alarm shielding rules, alarm deduplication rules, and alarm custom rules; The step of arranging the alarm level information according to a preset arrangement rule to generate alarm operation and maintenance information including the root alarm includes: In the case where the arrangement rule includes the effective association level rule, determining the effective level to be presented according to the effective association level rule, the effective level including the level corresponding to the root alarm; generating alarm operation and maintenance information according to the partial alarm level information corresponding to the effective level; In the case where the arrangement rule includes the alarm shielding rule, shielding part of the alarm level information that hits the alarm shielding rule, and generating alarm operation and maintenance information according to the shielded alarm level information; In the case where the arrangement rule includes the alarm deduplication rule, removing duplicate alarms in the alarm level information according to the alarm deduplication rule, and generating alarm operation and maintenance information according to the deduplicated alarm level information; In the case where the orchestration rule includes the alarm customization rule, the alarm level information is customized according to the alarm customization rule, and the alarm operation and maintenance information is generated according to the customized alarm level information.
6. The method according to claim 1, characterized in that Also includes: Determine whether the target alarm is a serious alarm; In the case where the target alarm is a serious alarm, collecting log information of the target alarm that is a serious alarm; Report the log information.
7. The method according to claim 6, characterized in that Also includes: Determine the associated log location information corresponding to at least some of the alarms in the alarm pool; Adding an associated log member variable to the structure of the alarm, and assigning a value to the associated log member variable according to the associated log location information of the alarm; The log information of the target alarm that is a serious alarm is collected, including: Parsing the structure of the target alarm belonging to the serious alarm, and determining the associated log position information of the target alarm belonging to the serious alarm according to the assignment information of the associated log member variable of the target alarm belonging to the serious alarm; The log of the target alarm belonging to the serious alarm is located according to the associated log position information, and the corresponding log information is extracted.
8. An alarm processing device for a storage device, characterized in that: The device comprises: An acquisition module, used to acquire multiple target alarms generated by a storage device within a preset time period; An association module, used to determine the upper and lower level association relationships between the plurality of target alarms according to a preset alarm association rule, and generate alarm level information; An orchestration module, configured to determine a root alarm according to the alarm level information, and orchestrate the alarm level information according to a preset orchestration rule to generate alarm operation and maintenance information including the root alarm; The reporting module is used to report the alarm operation and maintenance information.
9. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the alarm processing method of the storage device according to any one of claims 1 to 7 by executing the computer instructions.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the alarm processing method for the storage device according to any one of claims 1 to 7.
Citation Information
Cited By
Storage array alarm information processing method and device, storage medium and program product
CN119988155A
