Fault processing method and device, equipment and medium

By receiving and handling fault interrupt events, using dedicated RAS servers and general network interfaces, the problem of RAS information processing relying on BMC is solved, and cross-platform efficient fault handling and management costs are achieved.

CN118964075APending Publication Date: 2024-11-15INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411022388.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-29
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

In the prior art, RAS information processing relies on the substrate management controller (BMC), resulting in insufficient processing capabilities and limited by hardware design differences and resource conflicts, making it impossible to achieve cross-platform universality and efficient troubleshooting.

Method used

By receiving fault interrupt events, sorting and generating fault events in standard formats, using the monitoring unit check and management service unit to obtain status information, perform analysis processing and fault recovery, and use a dedicated RAS server to uniformly handle RAS events in the cloud service center and release BMC's computing resources use common network interfaces and arbitration mechanisms to avoid resource conflicts.

Benefits of technology

Cross-platform RAS processing is realized, the reliability and efficiency of fault processing is improved, management costs are reduced, the computing power of BMC is released, and it focuses on other management functions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118964075A_ABST
    Figure CN118964075A_ABST
Patent Text Reader

Abstract

The invention discloses a fault processing method and device, equipment and a medium, and belongs to the technical field of test.The method comprises the steps that a fault interruption event is received; classifying the fault interruption events through the first processing unit to generate a first format fault event; the first format fault event is sent to the monitoring unit; verifying the integrity of the fault event in the first format through the monitoring unit; in response to the fact that the fault event in the first format is complete, obtaining state information of the fault event in the first format through the management service unit; analyzing and processing the first format fault event state information through the fault distribution unit; and performing recovery processing on the fault through the fault recovery unit and the analysis processing result. According to the method, the computing resources of the BMC end can be released, the RAS processing computing power is greatly improved, and the management cost of the RAS is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of testing technology, and in particular to a fault handling method, device, equipment and medium. Background Art

[0002] Whether it is an X86 system or an ARM platform, different implementation schemes are used for fault handling of different severity. The core implementation scheme is to report RAS (Reliability, Availability, and Serviceability) information to an external baseboard management controller (BMC) through the Intelligent Platform Management Interface (IPMI protocol). Different implementation methods are adopted according to the hardware differences of different platforms. However, no matter which of the above implementation schemes is limited by the hardware design of the platform itself, it also depends on the BMC chip on the machine. Processing RAS-related tasks is only part of the overall workload of the baseboard management controller. The BMC also needs to be responsible for a large amount of system monitoring work. The baseboard management controller information itself has weak performance and cannot perform more detailed further processing of the RAS information.

[0003] That is, the current implementation of RAS solutions on different platforms depends on the hardware design of the platform itself and the implementation of external BMC chips, and is also limited by the performance bottleneck of external BMC information. Whether it is the KCS, BT, SMIC interface or SSIF interface implementation solution, it is not universal enough. Different hardware platforms need to choose a certain RAS processing solution based on the interface type they support. For example, the X86 platform usually uses the KCS interface to report RAS information, while the ARM platform usually uses the SSIF interface to report information. Due to the above-mentioned channel performance limitations and resource conflicts, some platforms will also customize the RAS processing solution, such as using shared memory. Summary of the invention

[0004] In order to overcome the above technical defects, the purpose of this application is to provide a fault handling method, device, equipment and medium, the method comprising: receiving a fault interruption event; classifying and arranging the fault interruption event through the first processing unit to generate a first format fault event; sending the first format fault event to the monitoring unit; verifying the integrity of the first format fault event through the monitoring unit; in response to the first format fault event being complete, obtaining the first format fault event status information through the management service unit; parsing and processing the first format fault event status information through the fault distribution unit; recovering the fault through the fault recovery unit and the parsing result. This application can release BMC computing resources, greatly improve RAS processing computing power, and reduce RAS management costs.

[0005] The specific technical solutions provided by the embodiments of this application are as follows:

[0006] In a first aspect, the present application provides a fault handling method, which is applied to a fault handling system, wherein the system includes a client and a server, wherein an output end of the client is connected to an input end of the server, the client includes a first processing unit, and the server includes a monitoring unit, a management service unit, a fault distribution unit, and a fault recovery unit, wherein the method includes:

[0007] Receive fault interruption events;

[0008] Classify and sort the fault interruption events by the first processing unit to generate a first format fault event;

[0009] sending the first format failure event to the monitoring unit;

[0010] Verifying the integrity of the first format failure event by the monitoring unit;

[0011] In response to the first format failure event being complete, obtaining the first format failure event status information through the management service unit, wherein the first format failure event status information includes: fault hardware configuration information and / or system operation status information and / or fault address information;

[0012] Parsing and processing the first format fault event status information by the fault distribution unit;

[0013] The fault recovery process is performed through the fault recovery unit and the analysis process result.

[0014] In one embodiment, the service end includes a baseboard management controller control unit and a log unit, and the acquiring of the first format fault event state information through the management service unit includes:

[0015] Acquire the IP address and MAC address of the client device where the failure event occurs through the management service unit;

[0016] Obtaining the IP address of the baseboard management controller through the management service unit and the IP address of the client device;

[0017] Acquire a baseboard management controller control unit through the IP address of the baseboard management controller;

[0018] Acquire the fault hardware configuration information, system operation power status information and fault address information of the client device through the baseboard management controller control unit;

[0019] The log unit records the fault hardware configuration information, system operation power supply status information and fault address information of the client device.

[0020] In one embodiment, the server further includes a second processing unit, and the parsing and processing of the first format fault event status information by the fault distribution unit includes:

[0021] Determine the hardware device that has failed and the type of the failure error according to the header information of the failure event status information in the first format, wherein the type of the failure error includes a repairable error and an unrepairable error;

[0022] Acquire a data segment of the fault event status information in the first format;

[0023] generating second format fault event status information according to the data segment of the first format fault event status information;

[0024] sending the second format failure event status information to the second processing unit;

[0025] The second processing unit determines and processes the second format failure event status information.

[0026] In one embodiment, the server includes an alarm unit, and the judging and processing of the second format fault event status information by the second processing unit includes:

[0027] Determine the fault error type of the fault event status information in the second format;

[0028] When the fault error type is a repairable error, determining whether the count value of the current repairable error is greater than a first threshold;

[0029] The determining whether the count value of the current repairable error is greater than a first threshold value includes:

[0030] Determine whether the count value of the current repairable error is greater than a first threshold;

[0031] If yes, the fault is recovered by the alarm unit and the fault recovery unit; if no, the process ends;

[0032] When the fault error type is an unrecoverable error, the fault is recovered by the alarm unit and the fault recovery unit.

[0033] In one embodiment, the recovering the fault by the fault recovery unit and the parsing result includes:

[0034] When the fault error type is a repairable error, the administrator is warned through the alarm unit, and the baseboard management controller control unit shuts down the faulty hardware device and starts the spare hardware device resources;

[0035] In response to the lack of redundant hardware component resources, starting a backup server;

[0036] When the fault error type is an unrepairable error, the administrator is warned through the alarm unit, and the faulty hardware device is restarted;

[0037] In response to a failure to restart the device, restoring the failed hardware device using a backup hardware device resource;

[0038] In response to a failure to restore the failed hardware device through the backup hardware device resources, the backup server is turned on.

[0039] In one embodiment, before receiving the fault interruption event, the process includes:

[0040] A network driver and a network protocol stack are configured in the first processing unit of the client, wherein the network protocol stack includes an application layer, a transport layer, a network interface layer, a data link layer and a physical layer.

[0041] In one embodiment, the method comprises:

[0042] Get fault events;

[0043] Recover from failures through automated response tools and fault handling components;

[0044] The fault recovery by using the automated response tool and the fault handling component includes:

[0045] Restart services, switch to backup paths, and notify operations personnel through automated response tools and fault handling components;

[0046] Dynamically adjust resources through automated response tools to scale faulty service instances based on load;

[0047] After the fault is recovered by the automated response tool and the fault handling component, the following steps are included:

[0048] Containerize the fault event service by applying the container engine and deploy it in the microservice architecture;

[0049] The method of containerizing the fault event service by applying a container engine and deploying it in a microservice architecture includes:

[0050] Create an application container image text file;

[0051] Use the application container command line tool to run the image command;

[0052] Start the container through the docker run command and perform preliminary tests;

[0053] Create a slogan file to define the service configuration information, including container image, number of replicas, and resource limits.

[0054] Define service and load balancing configuration;

[0055] Log in to the application container engine and create a named project;

[0056] Upload the application container image text file to the warehouse, import the image on the container engine platform, and apply the configuration information of the service;

[0057] Apply the slogan file configuration to create resource objects and service resources;

[0058] Configure monitoring tools in containerized environments to collect performance metrics and logs of services;

[0059] Set alarms based on the performance indicators and logs of the service;

[0060] Automatically restart faulty service instances based on readiness and liveness probes;

[0061] Update the microservice architecture without downtime through the rolling update feature of the container orchestration engine;

[0062] Deploy continuous integration, continuous delivery, continuous deployment, automatic image building process and testing to microservice architecture.

[0063] In a second aspect, the present application further provides a fault handling device, the device comprising:

[0064] A receiving module, used for receiving a fault interruption event;

[0065] A synthesis module, configured to classify and sort the fault interruption events through the first processing unit to generate a first format fault event;

[0066] A sending module, used for sending the first format failure event to the monitoring unit;

[0067] A verification module, configured to verify the integrity of the first format failure event through the monitoring unit;

[0068] an acquisition module, configured to acquire, in response to the first format failure event being complete, the first format failure event status information through the management service unit, wherein the first format failure event status information includes: fault hardware configuration information and / or system operation status information and / or fault address information;

[0069] A parsing module, configured to parse the first format fault event status information through the fault distribution unit;

[0070] The processing module is used to perform recovery processing on the fault through the fault recovery unit and the analysis processing result.

[0071] In a third aspect, a fault handling device is also provided, including:

[0072] one or more processors;

[0073] A storage device for storing one or more programs;

[0074] When the one or more programs are executed by the one or more processors, the one or more processors implement the fault handling method as described in any one of the first aspects.

[0075] In a fourth aspect, the present application further provides a computer device, the device comprising:

[0076] A memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement the steps of the fault handling method as described in any one of the first aspects.

[0077] In a fifth aspect, the present application further provides a computer program product, comprising a computer program, which, when executed by a processor, implements the steps of any of the fault handling methods described in the first aspect.

[0078] In a sixth aspect, the present application further provides a computer storage medium, the medium comprising:

[0079] A computer program is stored thereon, and when the computer program is executed by a processor, the steps of any fault handling method described in the first aspect are implemented.

[0080] Compared with the prior art, the method described in the technical solution provided in the embodiment of the present application includes: receiving a fault interruption event; classifying and arranging the fault interruption event through the first processing unit to generate a first format fault event; sending the first format fault event to the monitoring unit; verifying the integrity of the first format fault event through the monitoring unit; in response to the first format fault event being complete, obtaining the first format fault event status information through the management service unit; parsing and processing the first format fault event status information through the fault distribution unit; recovering the fault through the fault recovery unit and the parsing result. The present application can release the computing resources on the BMC side, use dedicated hardware to provide more powerful computing power, and support the expansion of RAS functions; at the same time, the servers of the entire cloud service center can be centrally managed, which greatly reduces the management cost of modern large-scale cloud service centers, improves the reliability of fault handling, and reduces RAS management costs.

[0081] The technical solution provided in the embodiment of the present application shields the differences in hardware design by means of a universal network protocol stack, thereby realizing cross-platform processing; the RAS function is separated from the baseboard management controller, and a dedicated RAS server is used to uniformly handle RAS events of the entire cloud service center, thereby solving the performance bottleneck caused by the BMC, providing a complete RAS service, releasing the computing power of the BMC, and also helping the BMC to focus on other management functions.

[0082] The technical solution provided in the embodiment of the present application adopts a more universal network interface as the physical channel for RAS information transmission, and utilizes the arbitration mechanism in network communication to effectively avoid resource conflict problems. At the same time, the network channel is a necessary interface for the cloud service center and is more universal. BRIEF DESCRIPTION OF THE DRAWINGS

[0083] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0084] Figure 1 A first structural diagram of a fault handling system provided in Embodiment 1 of the present application;

[0085] Figure 2 A second structural diagram of the fault handling system provided in Embodiment 1 of the present application;

[0086] Figure 3 A first flow chart of the fault handling method provided in Embodiment 1 of the present application;

[0087] Figure 4 A second flow chart of the fault handling method provided in Embodiment 2 of the present application;

[0088] Figure 5 A third flow chart of the fault handling method provided in Embodiment 2 of the present application;

[0089] Figure 6 A fourth flow chart of the fault handling method provided in Embodiment 2 of the present application;

[0090] Figure 7 A structural diagram of a fault handling device provided in Embodiment 3 of the present application;

[0091] Figure 8 The exemplary system provided for Embodiment 7 of the present application can be used to implement the various embodiments described in the present application. DETAILED DESCRIPTION

[0092] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0093] It should be noted that, unless the context clearly requires otherwise, words such as “include”, “including” and similar words throughout the specification and claims should be interpreted as including rather than exclusive or exhaustive; that is, the meaning is “including but not limited to”.

[0094] Furthermore, in the description of the present application, unless otherwise specified, “plurality” means two or more.

[0095] Taking the ARM platform as an example, the ARM platform usually uses the SSIF interface as the RAS reporting channel. Based on this interface, RAS information is reported to the baseboard management controller for processing. For some platforms, there may be Ipmi channel restrictions, resulting in resource conflicts. For example, the platform only supports a single SSIF interface. Therefore, there is a resource competition problem between RAS reporting and Ipmi communication under the OS operating system, which will cause RAS reporting failure.

[0096] Therefore, the existing RAS implementation solutions are firstly not platform-independent and are heavily dependent on the platform's hardware design; secondly, the processing of RAS information depends on the baseboard management controller, which makes it difficult to perform complex logical processing; finally, resource conflicts are prone to occur, so some RAS solutions with non-standard interfaces must be implemented.

[0097] Embodiment 1

[0098] The present application embodiment provides a link abnormality processing method, such as Figure 1 , 2 As shown in , 3, the method is applied to a fault processing system, the system includes a client and a server, the output end of the client is connected to the input end of the server, the client includes a first processing unit, the server includes a monitoring unit, a management service unit, a fault distribution unit and a fault recovery unit, the method includes:

[0099] Receive fault interruption events;

[0100] Classify and sort the fault interruption events by the first processing unit to generate a first format fault event;

[0101] sending the first format failure event to the monitoring unit;

[0102] Verifying the integrity of the first format failure event by the monitoring unit;

[0103] In response to the first format failure event being complete, obtaining the first format failure event status information through the management service unit, wherein the first format failure event status information includes: fault hardware configuration information and / or system operation status information and / or fault address information;

[0104] Parsing and processing the first format fault event status information by the fault distribution unit;

[0105] The fault recovery process is performed through the fault recovery unit and the analysis process result.

[0106] Specifically, traditional RAS implementation solutions are not platform-independent, and different hardware platforms need to implement different RAS solutions, which increases processing costs and workload. This application proposes a universal RAS processing method, which aims to achieve the sharing of a set of RAS processing software and hardware solutions between different platforms. Specifically, it shields the differences in hardware design based on a universal network protocol stack, thereby achieving cross-platform processing.

[0107] That is, the traditional RAS solution, whose functions are completely dependent on BMC parsing and processing, but the BMC itself has weak performance. In addition to RAS processing, the BMC is also responsible for managing various events of the entire system, providing monitoring systems and other tasks. Therefore, it is difficult for the BMC to provide complex and complete services.

[0108] This application separates the RAS function from the BMC and uses a dedicated RAS server to uniformly handle RAS events of the entire cloud service center, thereby solving the performance bottleneck caused by the BMC and providing a more complete RAS service. At the same time, it releases the computing power of the BMC, which is conducive to the BMC focusing on other management functions.

[0109] Finally, compared with traditional solutions, the technical solution of this application adopts a more universal network interface as the physical channel for RAS information transmission. By utilizing the arbitration mechanism in network communication, resource conflicts can be avoided. At the same time, the network channel is a necessary interface for the cloud service center and is more universal.

[0110] The beneficial effects of the technical solution provided by the embodiment of the present application are:

[0111] The technical solution provided in the embodiment of the present application shields the differences in hardware design by means of a universal network protocol stack, thereby realizing cross-platform processing; the RAS function is separated from the baseboard management controller, and a dedicated RAS server is used to uniformly handle RAS events of the entire cloud service center, thereby solving the performance bottleneck caused by the BMC, providing a complete RAS service, releasing the computing power of the BMC, and also helping the BMC to focus on other management functions.

[0112] The technical solution provided in the embodiment of the present application adopts a more universal network interface as the physical channel for RAS information transmission, and utilizes the arbitration mechanism in network communication to effectively avoid resource conflict problems. At the same time, the network channel is a necessary interface for the cloud service center and is more universal.

[0113] Embodiment 2

[0114] The present application embodiment provides a fault handling method, such as Figure 4 As shown, the method is applied to a fault processing system, the system includes a client and a server, the output end of the client is connected to the input end of the server, the client includes a first processing unit, the server includes a monitoring unit, a management service unit, a fault distribution unit and a fault recovery unit, and the method includes:

[0115] Step S01, configuring a network driver and a network protocol stack in a first processing unit of the client, wherein the network protocol stack includes an application layer, a transport layer, a network interface layer, a data link layer and a physical layer.

[0116] Specifically, this application adopts the CS mode, that is, the Client / Server mode, in which all monitored servers act as clients, and the dedicated RAS processing server and its backup server act as servers. In this mode, the client is responsible for real-time monitoring of the system status and reporting abnormal situations to the server when necessary, while the server is responsible for centralized management and processing of these abnormal situations to ensure the reliability and stability of the system.

[0117] For the Client server, different platforms need to provide a network driver in the first processing unit to provide complete underlying network protocol stack support, so as to ensure that the Client can communicate with the Server normally and transmit the monitored information to the Server in a timely manner.

[0118] For the Server, it is necessary to implement dedicated monitoring services, client management services, RAS distribution and recovery services and other functional units. These service units can effectively receive, process and respond to various requests and reports from the Client to ensure the efficient operation of the system.

[0119] Among them, application layer: HTTP client generates an HTTP request and packages RAS data into HTTP message;

[0120] Transport layer: HTTP messages are processed by transport layer protocols (such as TCP). TCP divides the message into several segments, adds TCP header information to each segment, forms a TCP segment, and establishes a TCP connection.

[0121] Network layer: Each TCP segment is encapsulated into an IP data packet, plus IP header information, including source IP address and destination IP address;

[0122] Data link layer: IP packets are encapsulated into data frames, plus data link layer header information, including source MAC address and destination MAC address, and transmitted through the local network;

[0123] Physical layer: data frames are converted into bit streams and transmitted to the target device through physical media;

[0124] After receiving the data, the target device decapsulates it layer by layer in the reverse order and finally hands the data over to the application for processing.

[0125] Step S02, receiving a fault interruption event;

[0126] Classify and sort the fault interruption events by the first processing unit to generate a first format fault event;

[0127] The first format failure event is sent to the monitoring unit.

[0128] Specifically, when a RAS failure event occurs, the client will trigger a RAS interrupt and report it to the server, so that the server can promptly perceive the abnormal situation of the system and take corresponding measures.

[0129] After receiving the RAS interrupt, the first processing unit of the Client side will analyze the interrupt type, scan the relevant hardware registers, and collect the corresponding RAS fault information for subsequent processing and analysis.

[0130] The first processing unit will classify and sort the RAS events according to the collected information, and package them into data in a standard format (first format fault events) for easy transmission over the network.

[0131] Step S03, verifying the integrity of the first format failure event by the monitoring unit;

[0132] In response to the first format failure event being complete, the first format failure event status information is obtained through the management service unit, wherein the first format failure event status information includes: fault hardware configuration information and / or system operation status information and / or fault address information.

[0133] After receiving the RAS information, the monitoring unit on the server side will verify it to ensure the integrity and accuracy of the information;

[0134] After the verification is passed, the service server will call the management service unit to obtain detailed information of the RAS event (fault event status information in the first format), including its hardware configuration, operating status, IP address, Mac address, and Location address.

[0135] Step S03 also includes:

[0136] Step S031, obtaining the IP address and MAC address of the client device where the failure event occurs through the management service unit;

[0137] Obtaining the IP address of the baseboard management controller through the management service unit and the IP address of the client device;

[0138] Acquire a baseboard management controller control unit through the IP address of the baseboard management controller;

[0139] Acquire the fault hardware configuration information, system operation power status information and fault address information of the client device through the baseboard management controller control unit;

[0140] The log unit records the fault hardware configuration information, system operation power supply status information and fault address information of the client device.

[0141] Specifically, the management service unit captures the IP address and Mac address of the Client device where the RAS event occurs through the network data packet;

[0142] The management service unit obtains the IP address of the client's baseboard management controller through the client IP address table, calls the baseboard management controller control unit, and obtains the client device's hardware configuration, operating status (such as power status, SDR list), and location address information from the client's BMC through the OEM's Ipmi command;

[0143] The management service unit calls the log unit to record the above collected information;

[0144] The management service unit sends the complete data (fault event status information in the first format) to the fault distribution unit.

[0145] Step S04: parsing and processing the first format fault event status information by the fault distribution unit.

[0146] Specifically, based on the hardware architecture of the client and the current system status, the service server will call the corresponding fault distribution unit and fault recovery unit, take corresponding measures, handle and recover the abnormal situation, so as to ensure the stability and reliability of the system.

[0147] Step S04 also includes:

[0148] Step S041, determining the hardware device that has a fault and the fault error type according to the header information of the fault event status information in the first format, wherein the fault error type includes a repairable error and an unrepairable error;

[0149] Acquire a data segment of the fault event status information in the first format;

[0150] generating second format fault event status information according to the data segment of the first format fault event status information;

[0151] sending the second format failure event status information to the second processing unit;

[0152] The second processing unit determines and processes the second format failure event status information.

[0153] Specifically, the header of the fault event status information in the first format is parsed to determine the hardware module (such as memory, PCIE device, CPU, etc.) where the fault occurs;

[0154] According to the header information, obtain the current error level, whether it is a correctable error CE or an uncorrectable error UCE;

[0155] Acquire the data segment of the first-format fault event status information, re-encapsulate the RAS data, and generate the second-format fault event status information according to the data segment of the first-format fault event status information;

[0156] The second format failure event status information is sent to the second processing unit.

[0157] Step S042, determining the fault error type of the fault event status information in the second format;

[0158] When the fault error type is a repairable error, it is determined whether the count value (triggering times) of the current repairable error is greater than a first threshold;

[0159] The determining whether the count value of the current repairable error is greater than a first threshold value includes:

[0160] Determine whether the count value of the current repairable error is greater than a first threshold;

[0161] If yes, the fault is recovered by the alarm unit and the fault recovery unit; if no, the process ends;

[0162] When the fault error type is an unrecoverable error, the fault is recovered by the alarm unit and the fault recovery unit.

[0163] Specifically, if the error type is a repairable error CE, the current CE count value is +1, and then it is determined whether the current CE count value reaches the first threshold; if it is less than the first threshold, no subsequent operation is performed; if it reaches or exceeds the first threshold, the log unit is called to record the CE log event, and the fault is recovered through the alarm unit and the fault recovery unit;

[0164] If the type is an unrecoverable error UCE, the log unit is called to record the UCE log event, and the fault is recovered through the alarm unit and the fault recovery unit.

[0165] The first threshold may be 1000 times.

[0166] Step S05: recovering the fault by using the fault recovery unit and analyzing the processing result.

[0167] Step S05 also includes:

[0168] Step S051, when the fault error type is a repairable error, the alarm unit warns the administrator, and the baseboard management controller control unit shuts down the faulty hardware device and turns on the spare hardware device resources;

[0169] In response to the lack of redundant hardware component resources, starting a backup server;

[0170] When the fault error type is an unrepairable error, the administrator is warned through the alarm unit, and the faulty hardware device is restarted;

[0171] In response to a failure to restart the device, restoring the failed hardware device using a backup hardware device resource;

[0172] In response to a failure to restore the failed hardware device through the backup hardware device resources, the backup server is turned on.

[0173] Specifically, for CE errors, the alarm unit notifies the system administrator via email, and the fault recovery unit calls the baseboard management controller control unit to shut down the faulty hardware and enable backup hardware resources (such as redundant memory, power supply, hard disk, etc.). If no redundant accessory resources are available, the backup server is enabled, and the faulty hardware AC is restarted to try to recover. If it is normal after the restart, the problematic machine is set as the backup server.

[0174] For UCE errors, the alarm unit notifies the system administrator via email, and the fault recovery unit calls the baseboard management controller control unit to directly restart the faulty hardware AC and try to recover it; if the recovery fails, the backup hardware resources are enabled and AC recovery is tried again; if it still fails, the backup server is enabled and the problematic machine needs to wait for manual repair.

[0175] The implementation of these steps enables the entire system to achieve efficient RAS processing and recovery capabilities, thereby ensuring the reliability and stability of the system and providing users with more reliable services.

[0176] Step S06, obtaining a fault event;

[0177] Recover from failures through automated response tools and fault handling components;

[0178] The fault recovery by using the automated response tool and the fault handling component includes:

[0179] Restart services, switch to backup paths, and notify operations personnel through automated response tools and fault handling components;

[0180] Dynamically adjust resources through automated response tools to scale faulty service instances based on load;

[0181] After the fault is recovered by the automated response tool and the fault handling component, the following steps are included:

[0182] Containerize the fault event service by applying the container engine and deploy it in the microservice architecture;

[0183] The method of containerizing the fault event service by applying a container engine and deploying it in a microservice architecture includes:

[0184] Create an application container image text file;

[0185] Use the application container command line tool to run the image command;

[0186] Start the container through the docker run command and perform preliminary tests;

[0187] Create a slogan file to define the service configuration information, including container image, number of replicas, and resource limits.

[0188] Define service and load balancing configuration;

[0189] Log in to the application container engine and create a named project;

[0190] Upload the application container image text file to the warehouse, and import the image and application service configuration information on the container engine platform;

[0191] Apply the slogan file configuration to create resource objects and service resources;

[0192] Configure monitoring tools in containerized environments to collect performance metrics and logs of services;

[0193] Set alarms based on the performance indicators and logs of the service;

[0194] Automatically restart faulty service instances based on readiness and liveness probes;

[0195] Update the microservice architecture without downtime through the rolling update feature of the container orchestration engine;

[0196] Deploy continuous integration, continuous delivery, continuous deployment, automatic image building process and testing to microservice architecture.

[0197] Specifically, design RAS components using industry standards or widely accepted communication protocols (such as TCP / IP, SNMP, RESTful API, etc.) to ensure that different platforms can communicate with each other and share fault information, which helps monitor and manage systems across multiple operating systems and device types;

[0198] Develop or use existing middleware technology as an abstraction layer between applications and underlying RAS services. Such middleware can handle cross-platform differences and provide a unified API interface to upper-layer applications, making the fault handling logic independent of a specific platform.

[0199] Ensure that RAS configurations on all platforms remain consistent and can be quickly rolled back to a known good configuration state through centralized configuration management tools (such as Ansible) and version control systems;

[0200] Use monitoring tools and automated response systems to monitor RAS status in real time and automatically execute preset repair actions when a fault is detected, such as restarting services, switching to backup paths, or notifying operations personnel;

[0201] Containerizing RAS services (such as Docker) and deploying them in a microservices architecture can improve the portability and self-healing capabilities of services. Containerization allows services to be seamlessly migrated between different platforms, while the microservices architecture allows services to be managed and scaled independently, reducing the scope of failure impact.

[0202] When writing troubleshooting scripts and codes, try to use platform-independent languages ​​and libraries to ensure that the scripts can run on different operating systems;

[0203] Unified log format and collection mechanism to facilitate cross-platform analysis of RAS log data, automatically identify failure modes through machine learning and artificial intelligence technology, and provide early warning or automatic processing of potential problems;

[0204] Through the above steps, an efficient and fast-response fault management mechanism can be built to significantly reduce fault recovery time and improve system stability and availability.

[0205] like Figure 5 , 6 As shown, the technical solution of the present application proposes a method for fault handling, receiving a fault interruption event; classifying and arranging the fault interruption event through the first processing unit to generate a first format fault event; sending the first format fault event to the monitoring unit; verifying the integrity of the first format fault event through the monitoring unit; in response to the first format fault event being complete, obtaining the first format fault event status information through the management service unit, wherein the first format fault event status information includes: fault hardware configuration information and / or system operation status information and / or fault address information; parsing and processing the first format fault event status information through the fault distribution unit; and recovering the fault through the fault recovery unit and the parsing result.

[0206] This application implements a universal RAS processing solution based on network communication, which has the characteristics of hardware platform independence. It not only releases the computing resources of BMC, but also uses dedicated hardware to provide more powerful computing capabilities, thereby supporting the expansion of RAS functions. It can centrally manage the servers of the entire cloud service center, greatly reduce the management cost of large cloud service centers, and improve their reliability.

[0207] At the same time, this application solves the problems of resource conflicts and poor platform adaptability in existing solutions, releases BMC computing resources, and greatly improves RAS processing computing power. The cloud service center implemented based on this system can reduce RAS management costs and improve the scalability of RAS processing functions.

[0208] In addition, the method comprises:

[0209] Setting a fault handling component through a communication protocol, wherein the communication protocol includes a transmission control protocol, an internet protocol, and a gateway monitoring protocol;

[0210] Set up a network program abstraction layer through middleware;

[0211] Use configuration management tools and version control plug-ins to set up all fault handling components consistently.

[0212] Monitor various indicators and logs of the system through monitoring tools, where the indicator range includes application performance indicators, server status indicators, network traffic indicators, and database access indicators;

[0213] Obtain fault events through anomaly detection algorithms;

[0214] Recovering from the fault by using the automated response tool and the fault handling component;

[0215] The recovering from the fault by using the automated response tool and the fault handling component includes:

[0216] Restart services, switch backup paths, and notify operation and maintenance personnel through automated response tools and the fault handling components;

[0217] Dynamically adjust resources through automated response tools to scale faulty service instances based on load;

[0218] After the fault is recovered by the automated response tool and the fault handling component, the following steps are included:

[0219] Containerize the fault event service through the application container engine and deploy it in the microservice architecture;

[0220] Create a cross-platform fault handling event knowledge base;

[0221] Through machine learning and artificial intelligence, automatic identification of fault modes is enabled to provide early warning of fault events.

[0222] Through the above steps, the fault event service can be stably deployed and efficiently run in the microservice architecture in a containerized form on the application container engine.

[0223] The fault handling method provided in the embodiment of the present application may be further improved and optimized without departing from the technical solution of the present application, and these improvements and optimizations should also be regarded as within the scope of protection of the present application.

[0224] The beneficial effects of the technical solution provided by the embodiment of the present application are:

[0225] This application can release the computing resources on the BMC side, use dedicated hardware to provide more powerful computing capabilities, and support the expansion of RAS functions; at the same time, the servers of the entire cloud service center can be centrally managed, greatly reducing the management costs of modern large-scale cloud service centers, improving the reliability of fault handling, and reducing RAS management costs.

[0226] The technical solution provided in the embodiment of the present application shields the differences in hardware design by means of a universal network protocol stack, thereby realizing cross-platform processing; the RAS function is separated from the baseboard management controller, and a dedicated RAS server is used to uniformly handle RAS events of the entire cloud service center, thereby solving the performance bottleneck caused by the BMC, providing a complete RAS service, releasing the computing power of the BMC, and also helping the BMC to focus on other management functions.

[0227] The technical solution provided in the embodiment of the present application adopts a more universal network interface as the physical channel for RAS information transmission, and utilizes the arbitration mechanism in network communication to effectively avoid resource conflict problems. At the same time, the network channel is a necessary interface for the cloud service center and is more universal.

[0228] Embodiment 3

[0229] The present application provides a fault handling device, such as Figure 7 As shown, the device includes a configuration module, a receiving module, a synthesis module, a sending module, a checking module, an acquisition module, a parsing module, and a processing module.

[0230] In this embodiment, the receiving module is used to receive a fault interruption event;

[0231] A synthesis module, configured to classify and sort the fault interruption events through the first processing unit to generate a first format fault event;

[0232] A sending module, used for sending the first format failure event to the monitoring unit;

[0233] A verification module, configured to verify the integrity of the first format failure event through the monitoring unit;

[0234] an acquisition module, configured to acquire, in response to the first format failure event being complete, the first format failure event status information through the management service unit, wherein the first format failure event status information includes: fault hardware configuration information and / or system operation status information and / or fault address information;

[0235] A parsing module, configured to parse the first format fault event status information through the fault distribution unit;

[0236] The processing module is used to perform recovery processing on the fault through the fault recovery unit and the analysis processing result.

[0237] In one of the embodiments, a configuration module is used to configure a network driver and a network protocol stack in the first processing unit of the client, wherein the network protocol stack includes an application layer, a transport layer, a network interface layer, a data link layer and a physical layer.

[0238] In one of the embodiments, the acquisition module is used to acquire the IP address and MAC address of the client device where the failure event occurs through the management service unit;

[0239] Obtaining the IP address of the baseboard management controller through the management service unit and the IP address of the client device;

[0240] Acquire a baseboard management controller control unit through the IP address of the baseboard management controller;

[0241] Acquire the fault hardware configuration information, system operation power status information and fault address information of the client device through the baseboard management controller control unit;

[0242] The log unit records the fault hardware configuration information, system operation power supply status information and fault address information of the client device.

[0243] In one of the embodiments, the parsing module is used to determine the hardware device that has failed and the fault error type according to the header information of the fault event status information in the first format, wherein the fault error type includes a repairable error and an unrepairable error;

[0244] Acquire a data segment of the fault event status information in the first format;

[0245] generating second format fault event status information according to the data segment of the first format fault event status information;

[0246] sending the second format failure event status information to the second processing unit;

[0247] The second processing unit determines and processes the second format failure event status information.

[0248] In one of the embodiments, the parsing module is used to determine the fault error type of the fault event status information in the second format;

[0249] When the fault error type is a repairable error, determining whether the count value of the current repairable error is greater than a first threshold;

[0250] The determining whether the count value of the current repairable error is greater than a first threshold value includes:

[0251] Determine whether the count value of the current repairable error is greater than a first threshold;

[0252] If yes, the fault is recovered by the alarm unit and the fault recovery unit; if no, the process ends;

[0253] When the fault error type is an unrecoverable error, the fault is recovered by the alarm unit and the fault recovery unit.

[0254] In one of the embodiments, the processing module is used to, when the fault error type is a repairable error, warn the administrator through the alarm unit, and shut down the faulty hardware device through the baseboard management controller control unit and start the spare hardware device resources;

[0255] In response to the lack of redundant hardware component resources, starting a backup server;

[0256] When the fault error type is an unrepairable error, the administrator is warned through the alarm unit, and the faulty hardware device is restarted;

[0257] In response to a failure to restart the device, restoring the failed hardware device using a backup hardware device resource;

[0258] In response to a failure to restore the failed hardware device through the backup hardware device resources, the backup server is turned on.

[0259] In one embodiment, the processing module is used to obtain a fault event;

[0260] Recover from failures through automated response tools and fault handling components;

[0261] The fault recovery by using the automated response tool and the fault handling component includes:

[0262] Restart services, switch to backup paths, and notify operations personnel through automated response tools and fault handling components;

[0263] Dynamically adjust resources through automated response tools to scale faulty service instances based on load;

[0264] After the fault is recovered by the automated response tool and the fault handling component, the following steps are included:

[0265] Containerize the fault event service by applying the container engine and deploy it in the microservice architecture;

[0266] The method of containerizing the fault event service by applying a container engine and deploying it in a microservice architecture includes:

[0267] Create an application container image text file;

[0268] Use the application container command line tool to run the image command;

[0269] Start the container through the docker run command and perform preliminary tests;

[0270] Create a slogan file to define the service configuration information, including container image, number of replicas, and resource limits.

[0271] Define service and load balancing configuration;

[0272] Log in to the application container engine and create a named project;

[0273] Upload the application container image text file to the warehouse, and import the image and application service configuration information on the container engine platform;

[0274] Apply the slogan file configuration to create resource objects and service resources;

[0275] Configure monitoring tools in containerized environments to collect performance metrics and logs of services;

[0276] Set alarms based on the performance indicators and logs of the service;

[0277] Automatically restart faulty service instances based on readiness and liveness probes;

[0278] Update the microservice architecture without downtime through the rolling update feature of the container orchestration engine;

[0279] Deploy continuous integration, continuous delivery, continuous deployment, automatic image building process and testing to microservice architecture.

[0280] The beneficial effects of the technical solution provided by the embodiment of the present application are:

[0281] This application can release the computing resources on the BMC side, use dedicated hardware to provide more powerful computing capabilities, and support the expansion of RAS functions; at the same time, the servers of the entire cloud service center can be centrally managed, greatly reducing the management costs of modern large-scale cloud service centers, improving the reliability of fault handling, and reducing RAS management costs.

[0282] The technical solution provided in the embodiment of the present application adopts a more universal network interface as the physical channel for RAS information transmission, and utilizes the arbitration mechanism in network communication to effectively avoid resource conflict problems. At the same time, the network channel is a necessary interface for the cloud service center and is more universal.

[0283] Embodiment 4

[0284] The present invention also provides a fault handling device, comprising:

[0285] one or more processors;

[0286] A storage device for storing one or more programs;

[0287] When the one or more programs are executed by the one or more processors, the one or more processors execute the following fault handling method:

[0288] Receive fault interruption events;

[0289] Classify and sort the fault interruption events by the first processing unit to generate a first format fault event;

[0290] sending the first format failure event to the monitoring unit;

[0291] Verifying the integrity of the first format failure event by the monitoring unit;

[0292] In response to the first format failure event being complete, obtaining the first format failure event status information through the management service unit, wherein the first format failure event status information includes: fault hardware configuration information and / or system operation status information and / or fault address information;

[0293] Parsing and processing the first format fault event status information by the fault distribution unit;

[0294] The fault recovery process is performed through the fault recovery unit and the analysis process result.

[0295] The beneficial effects of the technical solution provided by the embodiment of the present application are:

[0296] The technical solution provided in the embodiment of the present application shields the differences in hardware design by means of a universal network protocol stack, thereby realizing cross-platform processing; the RAS function is separated from the baseboard management controller, and a dedicated RAS server is used to uniformly handle RAS events of the entire cloud service center, thereby solving the performance bottleneck caused by the BMC, providing a complete RAS service, releasing the computing power of the BMC, and also helping the BMC to focus on other management functions.

[0297] The technical solution provided in the embodiment of the present application adopts a more universal network interface as the physical channel for RAS information transmission, and utilizes the arbitration mechanism in network communication to effectively avoid resource conflict problems. At the same time, the network channel is a necessary interface for the cloud service center and is more universal.

[0298] Embodiment 5

[0299] The present application provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the following fault handling method can be executed:

[0300] Receive fault interruption events;

[0301] Classify and sort the fault interruption events by the first processing unit to generate a first format fault event;

[0302] sending the first format failure event to the monitoring unit;

[0303] Verifying the integrity of the first format failure event by the monitoring unit;

[0304] In response to the first format failure event being complete, obtaining the first format failure event status information through the management service unit, wherein the first format failure event status information includes: fault hardware configuration information and / or system operation status information and / or fault address information;

[0305] Parsing and processing the first format fault event status information by the fault distribution unit;

[0306] The fault recovery process is performed through the fault recovery unit and the analysis process result.

[0307] The beneficial effects of the technical solution provided by the embodiment of the present application are:

[0308] The technical solution provided in the embodiment of the present application shields the differences in hardware design by means of a universal network protocol stack, thereby realizing cross-platform processing; the RAS function is separated from the baseboard management controller, and a dedicated RAS server is used to uniformly handle RAS events of the entire cloud service center, thereby solving the performance bottleneck caused by the BMC, providing a complete RAS service, releasing the computing power of the BMC, and also helping the BMC to focus on other management functions.

[0309] The technical solution provided in the embodiment of the present application adopts a more universal network interface as the physical channel for RAS information transmission, and utilizes the arbitration mechanism in network communication to effectively avoid resource conflict problems. At the same time, the network channel is a necessary interface for the cloud service center and is more universal.

[0310] Embodiment 6

[0311] The present application also provides a computer program product, including a computer program, which can implement the following fault handling method when executed by a processor:

[0312] Receive fault interruption events;

[0313] Classify and sort the fault interruption events by the first processing unit to generate a first format fault event;

[0314] sending the first format failure event to the monitoring unit;

[0315] Verifying the integrity of the first format failure event by the monitoring unit;

[0316] In response to the first format failure event being complete, obtaining the first format failure event status information through the management service unit, wherein the first format failure event status information includes: fault hardware configuration information and / or system operation status information and / or fault address information;

[0317] Parsing and processing the first format fault event status information by the fault distribution unit;

[0318] The fault recovery process is performed through the fault recovery unit and the analysis process result.

[0319] The beneficial effects of the technical solution provided by the embodiment of the present application are:

[0320] This application can release the computing resources on the BMC side, use dedicated hardware to provide more powerful computing capabilities, and support the expansion of RAS functions; at the same time, the servers of the entire cloud service center can be centrally managed, greatly reducing the management costs of modern large-scale cloud service centers, improving the reliability of fault handling, and reducing RAS management costs.

[0321] The technical solution provided in the embodiment of the present application shields the differences in hardware design by means of a universal network protocol stack, thereby realizing cross-platform processing; the RAS function is separated from the baseboard management controller, and a dedicated RAS server is used to uniformly handle RAS events of the entire cloud service center, thereby solving the performance bottleneck caused by the BMC, providing a complete RAS service, releasing the computing power of the BMC, and also helping the BMC to focus on other management functions.

[0322] Embodiment 7

[0323] The present application provides a computer storage medium, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the following steps are implemented:

[0324] Receive fault interruption events;

[0325] Classify and sort the fault interruption events by the first processing unit to generate a first format fault event;

[0326] sending the first format failure event to the monitoring unit;

[0327] Verifying the integrity of the first format failure event by the monitoring unit;

[0328] In response to the first format failure event being complete, obtaining the first format failure event status information through the management service unit, wherein the first format failure event status information includes: fault hardware configuration information and / or system operation status information and / or fault address information;

[0329] Parsing and processing the first format fault event status information by the fault distribution unit;

[0330] The fault recovery process is performed through the fault recovery unit and the analysis process result.

[0331] In one embodiment, the service end includes a baseboard management controller control unit and a log unit, and the acquiring of the first format fault event state information through the management service unit includes:

[0332] Acquire the IP address and MAC address of the client device where the failure event occurs through the management service unit;

[0333] Obtaining the IP address of the baseboard management controller through the management service unit and the IP address of the client device;

[0334] Acquire a baseboard management controller control unit through the IP address of the baseboard management controller;

[0335] Acquire the fault hardware configuration information, system operation power status information and fault address information of the client device through the baseboard management controller control unit;

[0336] The log unit records the fault hardware configuration information, system operation power supply status information and fault address information of the client device.

[0337] In one embodiment, the server further includes a second processing unit, and the parsing and processing of the first format fault event status information by the fault distribution unit includes:

[0338] Determine the hardware device that has failed and the type of the failure error according to the header information of the failure event status information in the first format, wherein the type of the failure error includes a repairable error and an unrepairable error;

[0339] Acquire a data segment of the fault event status information in the first format;

[0340] generating second format fault event status information according to the data segment of the first format fault event status information;

[0341] sending the second format failure event status information to the second processing unit;

[0342] The second processing unit determines and processes the second format failure event status information.

[0343] In one embodiment, the server includes an alarm unit, and the judging and processing of the second format fault event status information by the second processing unit includes:

[0344] Determine the fault error type of the fault event status information in the second format;

[0345] When the fault error type is a repairable error, determining whether the count value of the current repairable error is greater than a first threshold;

[0346] The determining whether the count value of the current repairable error is greater than a first threshold value includes:

[0347] Determine whether the count value of the current repairable error is greater than a first threshold;

[0348] If yes, the fault is recovered by the alarm unit and the fault recovery unit; if no, the process ends;

[0349] When the fault error type is an unrecoverable error, the fault is recovered by the alarm unit and the fault recovery unit.

[0350] In one embodiment, the recovering the fault by the fault recovery unit and the parsing result includes:

[0351] When the fault error type is a repairable error, the administrator is warned through the alarm unit, and the baseboard management controller control unit shuts down the faulty hardware device and starts the spare hardware device resources;

[0352] In response to the lack of redundant hardware component resources, starting a backup server;

[0353] When the fault error type is an unrepairable error, the administrator is warned through the alarm unit, and the faulty hardware device is restarted;

[0354] In response to a failure to restart the device, restoring the failed hardware device using a backup hardware device resource;

[0355] In response to a failure to restore the failed hardware device through the backup hardware device resources, the backup server is turned on.

[0356] In one embodiment, before receiving the fault interruption event, the process includes:

[0357] A network driver and a network protocol stack are configured in the first processing unit of the client, wherein the network protocol stack includes an application layer, a transport layer, a network interface layer, a data link layer and a physical layer.

[0358] In one embodiment, the method comprises:

[0359] Get fault events;

[0360] Recover from failures through automated response tools and fault handling components;

[0361] The fault recovery by using the automated response tool and the fault handling component includes:

[0362] Restart services, switch to backup paths, and notify operations personnel through automated response tools and fault handling components;

[0363] Dynamically adjust resources through automated response tools to scale faulty service instances based on load;

[0364] After the fault is recovered by the automated response tool and the fault handling component, the following steps are included:

[0365] Containerize the fault event service by applying the container engine and deploy it in the microservice architecture;

[0366] The method of containerizing the fault event service by applying a container engine and deploying it in a microservice architecture includes:

[0367] Create an application container image text file;

[0368] Use the application container command line tool to run the image command;

[0369] Start the container through the docker run command and perform preliminary tests;

[0370] Create a slogan file to define the service configuration information, including container image, number of replicas, and resource limits.

[0371] Define service and load balancing configuration;

[0372] Log in to the application container engine and create a named project;

[0373] Upload the application container image text file to the warehouse, import the image on the container engine platform, and apply the configuration information of the service;

[0374] Apply the slogan file configuration to create resource objects and service resources;

[0375] Configure monitoring tools in containerized environments to collect performance metrics and logs of services;

[0376] Set alarms based on the performance indicators and logs of the service;

[0377] Automatically restart faulty service instances based on readiness and liveness probes;

[0378] Update the microservice architecture without downtime through the rolling update feature of the container orchestration engine;

[0379] Deploy continuous integration, continuous delivery, continuous deployment, automatic image building process and testing to microservice architecture.

[0380] The technical solution provided in the embodiment of the present application adopts a more universal network interface as the physical channel for RAS information transmission, and utilizes the arbitration mechanism in network communication to effectively avoid resource conflict problems. At the same time, the network channel is a necessary interface for the cloud service center and is more universal.

[0381] Figure 8 An exemplary system provided for Embodiment 7 of the present application that can be used to implement various embodiments described in the present application;

[0382] like Figure 8As shown, in some embodiments, the system can be used as any of the above-mentioned devices for fault handling in each of the described embodiments. In some embodiments, the system may include one or more computer-readable media (e.g., system memory or NVM / storage device) having results and one or more processors (e.g., (one or more) processors) coupled to the one or more computer-readable media and configured to execute the results to implement the module to perform the actions described in the present application.

[0383] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0384] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0385] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A fault handling method, the method being applied to a fault handling system, characterized in that: The system includes a client and a server, the client includes a first processing unit, the server includes a monitoring unit, a management service unit, a fault distribution unit and a fault recovery unit, and the method includes: Receive fault interruption events; Classify and sort the fault interruption events by the first processing unit to generate a first format fault event; sending the first format failure event to the monitoring unit; Verifying the integrity of the first format failure event by the monitoring unit; In response to the first format failure event being complete, obtaining the first format failure event status information through the management service unit, wherein the first format failure event status information includes: fault hardware configuration information and / or system operation status information and / or fault address information; Parsing and processing the first format fault event status information by the fault distribution unit; The fault recovery process is performed through the fault recovery unit and the analysis process result.

2. The fault handling method according to claim 1, characterized in that: The server includes a baseboard management controller control unit and a log unit, and the acquiring of the first format fault event status information through the management service unit includes: acquiring the IP address and MAC address of the client device where the fault event occurs through the management service unit; Obtaining the IP address of the baseboard management controller through the management service unit and the IP address of the client device; Acquire a baseboard management controller control unit through the IP address of the baseboard management controller; Acquire the fault hardware configuration information, system operation power status information and fault address information of the client device through the baseboard management controller control unit; The log unit records the fault hardware configuration information, system operation power supply status information and fault address information of the client device.

3. The fault handling method according to claim 2, characterized in that: The server also includes a second processing unit, and the parsing and processing of the first format fault event status information by the fault distribution unit includes: Determine the hardware device that has failed and the type of the failure error according to the header information of the failure event status information in the first format, wherein the type of the failure error includes a repairable error and an unrepairable error; Acquire a data segment of the fault event status information in the first format; generating second format fault event status information according to the data segment of the first format fault event status information; sending the second format failure event status information to the second processing unit; The second processing unit determines and processes the second format failure event status information.

4. The fault handling method according to claim 3, characterized in that: The server includes an alarm unit, and the second processing unit determines and processes the second format fault event status information, including: Determine the fault error type of the fault event status information in the second format; When the fault error type is a repairable error, it is judged whether the count value of the current repairable error is greater than the first threshold; the judging whether the count value of the current repairable error is greater than the first threshold includes: Determine whether the count value of the current repairable error is greater than a first threshold; If yes, the fault is recovered by the alarm unit and the fault recovery unit; if no, the process ends; When the fault error type is an unrecoverable error, the fault is recovered by the alarm unit and the fault recovery unit.

5. The fault handling method according to claim 4, characterized in that: The recovering the fault by the fault recovery unit and the analysis result includes: When the fault error type is a repairable error, the administrator is warned through the alarm unit, and the baseboard management controller control unit shuts down the faulty hardware device and starts the spare hardware device resources; In response to the lack of redundant hardware component resources, starting a backup server; When the fault error type is an unrepairable error, the administrator is warned through the alarm unit, and the faulty hardware device is restarted; In response to a failure to restart the device, restoring the failed hardware device using a backup hardware device resource; In response to a failure to restore the failed hardware device through the backup hardware device resources, the backup server is turned on.

6. The fault handling method according to claim 1, characterized in that: Before receiving the fault interruption event, the method includes: configuring a network driver and a network protocol stack in a first processing unit of the client, wherein the network protocol stack includes an application layer, a transport layer, a network interface layer, a data link layer and a physical layer.

7. The fault handling method according to claim 1, characterized in that: The method comprises: Get fault events; Recover from failures through automated response tools and fault handling components; The fault recovery by using the automated response tool and the fault handling component includes: Restart services, switch to backup paths, and notify operations personnel through automated response tools and fault handling components; Dynamically adjust resources through automated response tools to scale faulty service instances based on load; After the fault is recovered by the automated response tool and the fault handling component, the following steps are included: Containerize the fault event service by applying the container engine and deploy it in the microservice architecture; The method of containerizing the fault event service by applying a container engine and deploying it in a microservice architecture includes: Create an application container image text file; Use the application container command line tool to run the image command; Start the container through the docker run command and perform preliminary tests; Create a slogan file to define the service configuration information, including container image, number of replicas, and resource limits; define service and load balancing configuration; Log in to the application container engine and create a named project; Upload the application container image text file to the warehouse, import the image and application service configuration information on the container engine platform; apply the slogan file configuration to create resource objects and service resources; Configure monitoring tools in containerized environments to collect performance metrics and logs of services; Set alarms based on the performance indicators and logs of the service; Automatically restart faulty service instances based on readiness and liveness probes; Update the microservice architecture without downtime through the rolling update feature of the container orchestration engine; Deploy continuous integration, continuous delivery, continuous deployment, automatic image building process and testing to microservice architecture.

8. A fault handling device, characterized in that: The device comprises: A receiving module, used for receiving a fault interruption event; A synthesis module, configured to classify and sort the fault interruption events through the first processing unit to generate a first format fault event; A sending module, used for sending the first format failure event to the monitoring unit; A verification module, configured to verify the integrity of the first format failure event through the monitoring unit; an acquisition module, configured to acquire, in response to the first format failure event being complete, the first format failure event status information through the management service unit, wherein the first format failure event status information includes: fault hardware configuration information and / or system operation status information and / or fault address information; A parsing module, configured to parse the first format fault event status information through the fault distribution unit; The processing module is used to perform recovery processing on the fault through the fault recovery unit and the analysis processing result.

9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the fault handling method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the fault handling method according to any one of claims 1 to 7 are implemented.

Citation Information

Cited By

  • Data transmission method, device, equipment and medium

    CN120508515A