Disk array card monitoring method, computer program product, and device and medium

By establishing a management component transmission protocol network between the baseboard management controller and the PCIe device, and using a standard data model communication protocol to monitor and troubleshoot disk array cards, the problems of compatibility, efficiency, and management complexity in disk array card monitoring are solved, achieving efficient and real-time disk array card monitoring and automatic fault repair.

WO2026036915A1PCT designated stage Publication Date: 2026-02-19INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/102886
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-08-12
Filing Date
2025-06-24
Publication Date
2026-02-19

AI Technical Summary

Technical Problem

In existing technologies, the monitoring methods for disk array cards suffer from poor compatibility, low efficiency, insufficient real-time performance, and high management complexity, making it difficult to effectively guarantee the performance and data security of disk array cards.

Method used

By establishing a management component transmission protocol network between the baseboard management controller and PCIe devices, disk array cards are identified and monitored. Commands are defined using communication protocols based on standard data models to achieve real-time monitoring and fault handling of disk array cards. Automatic device discovery and information exchange are achieved by combining PLDM and MCTP protocols, and data transmission is carried out using the high-speed transmission capabilities of PCIe.

Benefits of technology

It enables efficient, real-time monitoring and automatic fault repair of disk array cards, improving system reliability and stability, simplifying management processes, and ensuring the security and reliability of data storage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025102886_19022026_PF_FP_ABST
    Figure CN2025102886_19022026_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the present application are a disk array card monitoring method, a computer program product, and a device and a medium. The method comprises: in response to a server being powered on, establishing a management component transport protocol network between a baseboard management controller and PCIe devices; identifying whether there is a monitorable disk array card in the PCIe devices included in the management component transport protocol network; in response to the identification that there is a monitorable disk array card in the PCIe devices included in the management component transport protocol network, triggering the baseboard management controller to start a disk array card monitoring thread, and issuing a target monitoring command to the identified monitorable disk array card, wherein the target monitoring command is a command defined on the basis of a communication protocol of a standard data model; and by means of the baseboard management controller, acquiring disk array card data that is fed back by the monitorable disk array card and matches the target monitoring command, so as to realize monitoring of the disk array card. An efficient, real-time, compatible and easily managed disk array card monitoring method is provided.
Need to check novelty before this filing date? Find Prior Art

Description

Disk array card monitoring method, computer program product, device and medium

[0001] Cross-reference to Related Applications

[0002] This application claims priority to the Chinese patent application No. 202411098136.0, filed on August 12, 2024, and entitled "Disk array card monitoring method, computer program product, device and medium", the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD

[0003] The present application relates to the technical field of servers, and in particular to a disk array card monitoring method, a computer program product, a device and a medium. BACKGROUND

[0004] RAID, which stands for Redundant Arrays of Independent Disks, is a data storage virtualization technology. RAID combines multiple independent physical hard drives into a logical hard drive, thereby providing higher storage performance and data redundancy than a single hard drive. RAID technology improves data reliability and read performance through data striping, mirroring or parity checking, etc.

[0005] With the rapid development of computer technology, disk array (RAID) cards, as important hardware devices for improving data storage capacity, data transfer rate and data security, are widely used in various computer systems. In order to protect the performance of disk array cards, it is necessary to monitor the disk array cards. SUMMARY

[0006] The present application provides a disk array card monitoring method, a computer program product, a device and a medium.

[0007] In some embodiments, the present application provides a disk array card monitoring method, the method comprising:

[0008] In response to the power-on of the server, establishing a management component transmission protocol network between the baseboard management controller and the PCIe device;

[0009] Identifying whether there is a monitorable disk array card in the PCIe device contained in the management component transmission protocol network;

[0010] In response to identifying that there is a monitorable disk array card in the PCIe device contained in the management component transmission protocol network, triggering the baseboard management controller to start a disk array card monitoring thread and issuing a target monitoring command to the identified monitorable disk array card, wherein the target monitoring command is a command defined based on a communication protocol of a standard data model; and

[0011] The substrate management controller acquires disk array card data matching the target monitoring command fed back by the monitorable disk array card to realize monitoring of the disk array card.

[0012] In some embodiments, the management component transmission protocol driver is integrated in the substrate management controller;

[0013] The first end of the substrate management controller is connected to the first end of the PCIe switch through a PCIe link;

[0014] The second end of the PCIe switch is connected to at least one PCIe device, and the PCIe device includes a disk array card;

[0015] The second end of the substrate management controller is also connected to the first end of the central processing unit through a PCIe link, and the second end of the central processing unit is connected to the third end of the PCIe switch through a PCIe link; and / or

[0016] The second end of the substrate management controller is also connected to the first end of the integrated south bridge through a PCIe link, and the second end of the integrated south bridge is connected to the third end of the PCIe switch through a PCIe link.

[0017] In some embodiments, in response to identifying that there is a monitorable disk array card in the PCIe device contained in the management component transmission protocol network, the substrate management controller triggers a disk array card monitoring thread and issues a target monitoring command to the identified monitorable disk array card, including:

[0018] After the disk array card monitoring thread is started, the management component transmission protocol driver in the substrate management controller encapsulates the target monitoring command as data of the management component transmission protocol and into a monitoring management component transmission protocol packet, wherein the target terminal identifier is included in the monitoring management component transmission protocol packet.

[0019] The management component transmission protocol driver in the substrate management controller transmits the monitoring management component transmission protocol packet to the central processing unit and / or the integrated south bridge; and

[0020] The monitoring management component transmission protocol packet is forwarded to the target disk array card in the monitorable disk array card corresponding to the target terminal identifier through the central processing unit and / or the integrated south bridge.

[0021] In some embodiments, the method includes the target disk array card feeding back disk array card data matching the target monitoring command to the substrate management controller:

[0022] The target disk array card, in response to the received monitoring management component transmission protocol packet, decapsulates the monitoring management component transmission protocol packet to obtain the target monitoring command;

[0023] The target disk array card parses the target monitoring command based on the communication protocol of the standard data model, and extracts disk array card data matched with the target monitoring command;

[0024] The target disk array card generates target response data corresponding to the extracted disk array card data matched with the target monitoring command based on the communication protocol of the standard data model;

[0025] The target disk array card encapsulates the target response data into a feedback management component transmission protocol packet; and

[0026] The target disk array card transmits the feedback management component transmission protocol packet to the central processor and / or integrated south bridge, and feeds back the feedback management component transmission protocol packet to the baseboard management controller through the central processor and / or integrated south bridge.

[0027] In some embodiments, the disk array card data matched with the target monitoring command that can be monitored by the disk array card is obtained by the baseboard management controller, comprising:

[0028] The baseboard management controller receives and unencapsulates the feedback management component transmission protocol packet to obtain the target response data; and

[0029] The baseboard management controller parses the target response data based on the communication protocol of the standard data model to obtain the disk array card data.

[0030] In some embodiments, in response to the server being powered on, a management component transmission protocol network between the baseboard management controller and the PCIe device is built, comprising:

[0031] In response to the server being powered on, the baseboard management controller is determined to be a bus owner of the management component transmission protocol;

[0032] A management component transmission protocol driver in the baseboard management controller is triggered to send a device discovery message based on the management component transmission protocol to the target PCIe device mounted on the PCIe link; and

[0033] In response to a feedback message initiated by the target PCIe device to the device discovery message, the baseboard management controller is triggered to assign a unique terminal identifier to the target PCIe device, so as to build the management component transmission protocol network between the baseboard management controller and the PCIe device.

[0034] In some embodiments, whether the disk array card that can be monitored exists in the PCIe device contained in the management component transmission protocol network is identified, comprising:

[0035] A configuration request message is sent by the management component transmission protocol driver in the baseboard management controller to the target PCIe device with the terminal identifier;

[0036] receiving and parsing, by the baseboard management controller, device configuration information to obtain a device identification and a message format, wherein the device configuration information is generated by a target PCIe device in response to a configuration request message and is fed back to the baseboard management controller;

[0037] determining, by the baseboard management controller, whether the target PCIe device is a monitorable disk array card according to the device identification and the message format.

[0038] In some embodiments, determining, by the baseboard management controller, whether the target PCIe device is a monitorable disk array card according to the device identification and the message format comprises:

[0039] determining whether the target PCIe device is a disk array card according to the device identification;

[0040] in response to determining that the target PCIe device is a disk array card, judging whether the disk array card supports a communication protocol of a standard data model according to the message format; and

[0041] in response to determining that the disk array card supports the communication protocol of the standard data model, determining that the target PCIe device is a monitorable disk array card.

[0042] In some embodiments, determining, by the baseboard management controller, whether the target PCIe device is a monitorable disk array card according to the device identification and the message format further comprises:

[0043] in response to determining that the disk array card does not support the communication protocol of the standard data model, searching for whether there is a version of the communication protocol of the standard data model supported by the disk array card according to a preset disk array card information table;

[0044] in response to determining that there is a specified firmware version of the communication protocol of the standard data model supported by the disk array card, updating firmware of the disk array card to the specified firmware version; and

[0045] in response to determining that there is no specified firmware version of the communication protocol of the standard data model supported by the disk array card, generating an abnormal alarm to prompt a user that there is currently no monitorable disk array card.

[0046] In some embodiments, the baseboard management controller is further provided with a unified management interface, and the method further comprises:

[0047] parsing whether the management instruction received by the unified management interface contains a disk array card monitoring instruction; and

[0048] in response to parsing that the management instruction contains the disk array card monitoring instruction, the baseboard management controller feeds back disk array card data of a monitorable disk array card matched and stored.

[0049] In some embodiments, when the monitorable disk array card fails, the method further comprises:

[0050] receiving and parsing, by the baseboard management controller, the fault management component transmission protocol message to obtain the fault information, wherein the fault information is information corresponding to the recorded fault event log generated by the monitorable disk array card based on the communication protocol of the standard data model; and

[0051] parsing, by the baseboard management controller, the fault information based on the communication protocol of the standard data model to obtain the fault event log, and performing a fault recovery operation matching the fault event log according to a preset fault handling strategy.

[0052] In some embodiments, the management component transmission protocol driver in the baseboard management controller transmits the monitoring management component transmission protocol message to the central processing unit and / or the integrated south bridge through the PCIe transmission layer, and receives the feedback management component transmission protocol message and the fault management component transmission protocol message forwarded by the central processing unit and / or the integrated south bridge through the PCIe transmission layer; and

[0053] The central processing unit and / or the integrated south bridge forwards the monitoring management component transmission protocol message to the monitorable disk array card through the PCIe transmission layer, and receives the feedback management component transmission protocol message and the fault management component transmission protocol message generated by the monitorable disk array card through the PCIe transmission layer.

[0054] In some embodiments, the communication protocol of the standard data model is the PLDM (Platform Level Data Model) protocol.

[0055] In some embodiments, the device identifier includes a manufacturer identifier and a device identifier, and determining whether the target PCIe device is a disk array card according to the device identifier comprises:

[0056] finding the manufacturer identifier and the device identifier from the PCIe configuration space Header header; and

[0057] determining whether the target PCIe device is a disk array card according to the manufacturer identifier and the device identifier.

[0058] In some embodiments, the fault event log includes an event code, wherein the event code is a flag uniquely identifying a type of alarm, and performing a fault recovery operation matching the fault event log according to a preset fault handling strategy comprises:

[0059] After the baseboard management controller receives the fault information, parsing the fault information to obtain the event code; and

[0060] According to the preset fault handling strategy, finding a fault recovery operation matching the event code to achieve automatic fault repair.

[0061] In some embodiments, after forwarding the monitoring management component transmission protocol message to the target terminal to correspond to the target disk array card in the monitorable disk array card, the method further comprises:

[0062] In response to detecting no feedback from the monitoring management component transmission protocol feedback to the baseboard management controller within a preset time period, triggering an exception mechanism;

[0063] The baseboard management controller sends a probe message to the target disk array card, wherein the probe message is a small byte size message generated based on the monitoring management component transmission protocol; and

[0064] In response to determining that the baseboard management controller receives feedback from the target disk array card to the probe message within a preset time period, rebuilding the management component transmission protocol network.

[0065] In some embodiments, after rebuilding the management component transmission protocol network in response to determining that the baseboard management controller receives feedback from the target disk array card to the probe message within a preset time period, the method further comprises:

[0066] In response to determining that the baseboard management controller fails to receive feedback from the target disk array card to the probe message within a preset time period, triggering an exception alarm to prompt maintenance of the current communication management component transmission protocol network.

[0067] In some embodiments, the baseboard management controller is integrated with a management component transmission protocol driver;

[0068] The first end of the baseboard management controller is connected to the first end of the PCIe switch through a PCIe link;

[0069] The second end of the PCIe switch is connected to at least one PCIe device, and the PCIe device includes a disk array card;

[0070] The second end of the baseboard management controller is further connected to the first end of the graphics processor through a PCIe link, and the second end of the graphics processor is connected to the third end of the PCIe switch through a PCIe link; and / or,

[0071] The second end of the baseboard management controller is further connected to the first end of the south bridge through a PCIe link, and the second end of the south bridge is connected to the third end of the PCIe switch through a PCIe link.

[0072] In some embodiments, the present application provides a disk array card monitoring system, which comprises:

[0073] An environment preparation module is configured to, in response to power-on of the server, build a management component transport protocol network between the baseboard management controller and the PCIe device;

[0074] A data processing module is configured to identify whether a monitorable disk array card exists in the PCIe device included in the management component transport protocol network.

[0075] A data monitoring module is configured to, in response to identification of the existence of the monitorable disk array card in the PCIe device included in the management component transport protocol network, trigger the baseboard management controller to start a disk array card monitoring thread and issue a target monitoring command to the identified monitorable disk array card, wherein the target monitoring command is a command defined based on a communication protocol of a standard data model.

[0076] The data monitoring module is further configured to acquire disk array card data fed back by the monitorable disk array card and matching the target monitoring command through the baseboard management controller, so as to realize monitoring of the disk array card.

[0077] In some embodiments, the present application provides a computer program, which, when executed by one or more processors, implements the steps of the following method:

[0078] In response to power-on of the server, a management component transport protocol network is built between the baseboard management controller and the PCIe device.

[0079] It is identified whether a monitorable disk array card exists in the PCIe device included in the management component transport protocol network.

[0080] In response to identification of the existence of the monitorable disk array card in the PCIe device included in the management component transport protocol network, the baseboard management controller is triggered to start a disk array card monitoring thread and issue a target monitoring command to the identified monitorable disk array card, wherein the target monitoring command is a command defined based on a communication protocol of a standard data model.

[0081] Disk array card data fed back by the monitorable disk array card and matching the target monitoring command are acquired through the baseboard management controller, so as to realize monitoring of the disk array card.

[0082] In some embodiments, the present application provides an electronic device, which comprises:

[0083] one or more processors;

[0084] and a memory associated with the one or more processors, the memory being configured to store computer-readable instructions, which, when read and executed by the one or more processors, implement the following operations:

[0085] In response to the server being powered on, a management component transport protocol network between the baseboard management controller and the PCIe device is built;

[0086] It is identified whether there is a monitorable disk array card in the PCIe device contained in the management component transport protocol network;

[0087] In response to identifying that there is a monitorable disk array card in the PCIe device contained in the management component transport protocol network, the baseboard management controller triggers a disk array card monitoring thread to be started and a target monitoring command to be issued to the identified monitorable disk array card, wherein the target monitoring command is a command defined based on a communication protocol of a standard data model;

[0088] The disk array card data fed back by the monitorable disk array card and matched with the target monitoring command are acquired by the baseboard management controller, so as to realize monitoring of the disk array card.

[0089] In some embodiments, the application further provides a non-volatile computer readable storage medium, and the computer readable storage medium stores computer readable instructions, and the computer readable instructions are executed by one or more processors to implement:

[0090] In response to the server being powered on, a management component transport protocol network between the baseboard management controller and the PCIe device is built;

[0091] It is identified whether there is a monitorable disk array card in the PCIe device contained in the management component transport protocol network;

[0092] In response to identifying that there is a monitorable disk array card in the PCIe device contained in the management component transport protocol network, the baseboard management controller triggers a disk array card monitoring thread to be started and a target monitoring command to be issued to the identified monitorable disk array card, wherein the target monitoring command is a command defined based on a communication protocol of a standard data model;

[0093] The disk array card data fed back by the monitorable disk array card and matched with the target monitoring command are acquired by the baseboard management controller, so as to realize monitoring of the disk array card. BRIEF DESCRIPTION OF DRAWINGS

[0094] In order to more clearly illustrate the technical solutions in the embodiments of the application, the drawings needed in the embodiment description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the application, and other drawings can be obtained by those skilled in the art without creative labor.

[0095] FIG. 1 is a flowchart of a disk array card monitoring method provided by an embodiment of the application;

[0096] Fig. 2 is a structural schematic diagram of an apparatus according to an embodiment of the present application;

[0097] Fig. 3 is a monitoring interaction diagram of a disk array card according to an embodiment of the present application;

[0098] Fig. 4 is an architecture diagram of a disk array card monitoring system according to an embodiment of the present application;

[0099] Fig. 5 is a structural diagram of an electronic device according to an embodiment of the present application;

[0100] Fig. 6 is a structural diagram of a computer program product according to an embodiment of the present application;

[0101] Fig. 7 is a structural diagram of a non-volatile computer readable storage medium according to an embodiment of the present application. DETAILED DESCRIPTION

[0102] In order to make the objects, technical solutions and advantages of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the scope of protection of the present application.

[0103] It should be understood that, in the description of the present application, unless the context clearly requires otherwise, the terms "comprise", "comprising", and the like in the specification and claims of the entire specification and claims should be interpreted as including the meaning rather than exclusive or exhaustive meaning; that is, the meaning of "including but not limited to".

[0104] It should also be understood that the terms "first", "second", and the like are only for the purpose of description, and cannot be understood as indicating or implying relative importance. In addition, in the description of the present application, unless otherwise stated, the meaning of "multiple" is two or more.

[0105] It should be noted that the terms "S1", "S2", and the like are only for the purpose of describing the steps, and do not specifically refer to the order or position, nor limit the present application. They are only for the convenience of describing the method of the present application, and cannot be understood as indicating the order of the steps. In addition, the technical solutions of various embodiments can be combined with each other, but must be based on the realization of those of ordinary skill in the art. When the combination of technical solutions contradicts each other or cannot be realized, it should be considered that the combination of technical solutions does not exist, nor within the scope of protection required by the present application.

[0106] The embodiment of the application provides a kind of disk group array card monitoring method, in some embodiments, as shown in Figure 1, the monitoring of disk array card is realized using the method disclosed in the embodiment of the application, including the following contents:

[0107] S1, in response to server power on, build the management component transmission protocol network between baseboard management controller and PCIe (Peripheral Component Interconnect Express, a kind of high-speed serial computer expansion bus standard) equipment.

[0108] As shown in Figure 2, to build the management component transmission protocol network between baseboard management controller and PCIe equipment, the connection between baseboard management controller and PCIe equipment on hardware needs to be connected in the following way, including:

[0109] There is management component transmission protocol driver in baseboard management controller;The first end of baseboard management controller is connected with the first end of PCIe switch by PCIe link;The second end of PCIe switch is connected with at least one PCIe equipment, and PCIe equipment includes disk array card;Wherein, the second end of baseboard management controller is also connected to the first end of central processing unit by PCIe link, and the second end of central processing unit is connected to the third end of PCIe switch by PCIe link;And / or, the second end of baseboard management controller is also connected to the first end of integrated south bridge by PCIe link, and the second end of integrated south bridge is connected to the third end of PCIe switch by PCIe link;Wherein, central processing unit generally refers to CPU (Central Processing Unit, central processing unit), GPU (Graphics Processing Unit, graphics processor) can be replaced in some scenarios;South bridge is an important component of motherboard chipset, and it is mainly responsible for controlling the input and output part of motherboard, such as hard disk, I / O (Input / Output, input / output) interface, etc., integrated south bridge can also be used in the application.

[0110] Further, the above-mentioned response to server power on, build the management component transmission protocol network between baseboard management controller and PCIe equipment, including:

[0111] In response to the server being powered on, the baseboard management controller is determined to be a bus owner of a management component transport protocol; a management component transport protocol driver in the baseboard management controller is triggered to send a device discovery message based on the management component transport protocol to a target PCIe device mounted on the PCIe link; in response to a feedback message initiated by the target PCIe device to the device discovery message, the baseboard management controller is triggered to assign a unique terminal identifier to the target PCIe device, so as to realize the establishment of a management component transport protocol network between the baseboard management controller and the PCIe device. The terminal identifier (EID, Endpoint ID) is the Destination endpoint ID in the PCIe VDM Header in the MCTP (Management Component Transport Protocol) message format, which is unique, assigned by the baseboard management controller, and subsequent interaction between the baseboard management controller and the PCIe device is based on the EID.

[0112] After the server is powered on, the disk array card as one or more of the PCIe devices will be registered to the PCIe link. The same baseboard management controller will also be registered to the PCIe link as a device of the PCIe link. The baseboard management controller sends a device discovery message to the target PCIe device mounted on the link through the PCIe link, and assigns a terminal identifier to the PCIe device in response to determining that there is a device to feedback, so as to realize the discovery of the device. The device discovery message is a message generated based on the management component transport protocol, and the management component transport protocol. The present application realizes automatic discovery and identification between devices through the device discovery message based on the MCTP protocol. The baseboard management controller can obtain the information of the PCIe device through the MCTP protocol. Through the above operation, the management component transport protocol network between the baseboard controller and the PCIe device is established, so that the baseboard management controller and each PCIe device are in the same management component transport protocol network, which is convenient for subsequent message transmission.

[0113] S2, identify whether there is a monitorable disk array card in the PCIe device contained in the management component transport protocol network.

[0114] In order to realize the identification of the monitorable disk array card, it is necessary to identify the monitorable disk array card existing in the PCIe device first, and then process the disk array card accordingly. In some implementation scenarios, the above identification of whether there is a monitorable disk array card in the PCIe device contained in the management component transport protocol network includes:

[0115] The baseboard management controller transmits a configuration request message to a target PCIe device with a terminal identifier through a management component transmission protocol driver; the baseboard management controller receives and analyzes device configuration information to obtain a device identifier and a message format; the baseboard management controller determines whether the target PCIe device is a monitorable disk array card according to the device identifier and the message format; wherein the device configuration information is generated by the target PCIe device in response to the configuration request message and is fed back to the baseboard management controller. In some embodiments, the above-mentioned configuration request message and device configuration information can be messages generated and transmitted based on the MCTP protocol. That is, the baseboard management controller reads some basic information of the PCIe device through the MTCP protocol, including the message format (Message Type) supported by the device and the device identifier, which includes the Vendor ID (manufacturer identifier) and the Device Id (device identifier); the above-mentioned Vendor ID, Device Id and Message Type are recorded in the PCIe configuration space Header for viewing.

[0116] Further, the above-mentioned determination by the baseboard management controller whether the target PCIe device is a monitorable disk array card according to the device identifier and the message format includes: determining whether the target PCIe device is a disk array card according to the device identifier; in response to determining that the target PCIe device is a disk array card, judging whether the disk array card supports the communication protocol of the standard data model (PLDM, Platform Level Data Model) according to the message format; in response to determining that the disk array card supports the communication protocol of the standard data model, determining that the target PCIe device is a monitorable disk array card. It can be understood that the Vendor ID represents the manufacturer of the PCIe device, and the Device ID represents the device produced by the manufacturer, and the baseboard management controller determines whether the target PCIe device is a disk array card according to the collected Vendor ID and Device Id. And further according to the obtained message format, such as PLDM (Platform-Level Data model, platform-level data model), NCSI (Network Controller Sideband Interface, network controller sideband interface), etc., whether it supports PLDM is confirmed according to the message format recorded therein.

[0117] The present application determines whether there is a disk array card in advance by obtaining device configuration information, and only when there is a disk array card in the PCIe devices in the current network and it is confirmed that the identified disk array card supports the communication protocol of the standard data model, the monitoring of the disk array card is triggered, which reduces resource waste.

[0118] Further, the above determining, by the baseboard management controller, whether the target PCIe device is a monitorable disk array card according to the device identifier and the message format further comprises:

[0119] In response to determining that the disk array card does not support the communication protocol of the standard data model, it is determined whether the disk array card has a specified firmware version that supports the communication protocol of the standard data model according to a preset disk array card information table. In response to determining that the disk array card has the specified firmware version that supports the communication protocol of the standard data model, the firmware of the disk array card is updated to the specified firmware version. In response to determining that the disk array card does not have the specified firmware version that supports the communication protocol of the standard data model, an abnormal alarm is generated to prompt a user that there is no monitorable disk array card at present. The disk array information table records information of disk array cards, corresponding firmware versions, and whether different versions support the communication protocol of the standard data model. In response to confirming that the disk array card has the specified firmware version that supports the communication protocol of the standard data model, the disk array card is updated to the specified firmware version, thereby overcoming the problem that the current disk array card does not support monitoring. In response to confirming that the disk array card does not have the specified firmware version that supports the communication protocol of the standard data model, the detected disk array card does not support the current monitoring method, and an abnormal alarm is generated to prompt the user to perform subsequent processing, such as replacing the disk array card or starting other monitoring methods.

[0120] S3, in response to identifying that the PCIe device contained in the management component transmission protocol network has a monitorable disk array card, triggering the baseboard management controller to start a disk array card monitoring thread and issuing a target monitoring command to the identified monitorable disk array card.

[0121] The target monitoring command is a command defined based on the communication protocol of the standard data model. The communication protocol of the standard data model allows data exchange between different hardware devices and management tools, and the core goals mainly include standardizing data exchange, improving interoperability, and simplifying management. However, different manufacturers and models of disk array cards may use different monitoring interfaces and protocols, and the compatibility is poor. Therefore, the application uses the communication protocol of the standard data model to implement the monitoring technology of the disk array card.

[0122] In an implementation scenario, as shown in the timing diagram of FIG. 3, the above-mentioned response to identifying the monitorable disk array card in the PCIe device contained in the BMC transport protocol network triggers the baseboard management controller to start the disk array card monitoring thread and issue the target monitoring command to the identified monitorable disk array card, including: after the disk array card monitoring thread is started, the BMC transport protocol driver in the baseboard management controller encapsulates the target monitoring command as the data of the BMC transport protocol and into a monitoring BMC transport protocol packet, wherein the monitoring BMC transport protocol packet includes a target terminal identifier; the BMC transport protocol driver in the baseboard management controller transmits the monitoring BMC transport protocol packet to the central processor and / or the integrated south bridge; and the central processor and / or the integrated south bridge forwards the monitoring BMC transport protocol packet to the target disk array card in the monitorable disk array card corresponding to the target terminal identifier. It can be understood that after the above-mentioned disk array card monitoring thread is started, the baseboard management controller sends the target monitoring command to the monitorable disk array card in a loop to realize real-time monitoring of the disk array card.

[0123] After receiving the monitoring management component transmission protocol message, the target disk array card feeds back disk array card data matched with the target monitoring command to the baseboard management controller, including: the target disk array card, in response to the received monitoring management component transmission protocol message, unseals the monitoring management component transmission protocol message to obtain the target monitoring command; the target disk array card parses the target monitoring command based on the communication protocol of the standard data model, and extracts disk array card data matched with the target monitoring command; the target disk array card generates target response data corresponding to the extracted disk array card data matched with the target monitoring command based on the communication protocol of the standard data model; the target disk array card encapsulates the target response data into a feedback management component transmission protocol message; and the target disk array card transmits the feedback management component transmission protocol message to the central processor and / or integrated south bridge, and feeds back the feedback management component transmission protocol message to the baseboard management controller through the central processor and / or integrated south bridge. It can be understood that a series of PLDM commands are defined in the disk array card in advance according to monitoring requirements, including but not limited to disk array card state query, disk array card configuration query, disk array card configuration, and disk array card fault alarm. The PLDM Message message includes a PLDM Header header and a PLDM Message Payload message payload; different PLDM Type in the PLDM Header belongs to different functional fields, and the above-mentioned PLDM commands have been defined on the PLDM Type. For example, a new PLDM Command Code is 0x60, and different area information of the disk array card can be obtained in the PLDM Message Payload according to different parameters. The parameter is 0 to obtain the basic information of the disk array card, and 1 to obtain the attribute information of the disk array card.

[0124] Based on the terminal identifier set in the foregoing content, the target monitoring command is sent to each monitorable disk array card, so as to obtain the related information of the monitorable disk array card. After receiving the target monitoring command, the monitorable disk array card obtains the corresponding information, and feeds back the obtained information to the baseboard management controller according to the same protocol and link. Through the defined standardized command format, the compatibility of the monitoring method provided by the application to various monitorable disk array cards is ensured, and the target monitoring command is encapsulated into the MTCP protocol, which greatly accelerates the transmission speed of the command and further improves the timeliness of the monitoring.

[0125] S4, obtaining the disk array card data matched with the target monitoring command fed back by the monitorable disk array card through the baseboard management controller, to realize monitoring of the disk array card.

[0126] After receiving the feedback management component transport protocol message, the substrate management controller obtains the disk array card data that matches the target monitoring command from the feedback of the monitorable disk array card through the substrate management controller, including: the substrate management controller receives and unseals the feedback management component transport protocol message to obtain target response data; the substrate management controller parses the target response data based on the communication protocol of the standard data model to obtain the disk array card data.

[0127] In some implementation scenarios, if the monitorable disk card fails, the application further proposes to receive and analyze the fault management component transport protocol message through the substrate management controller to obtain fault information; the substrate management controller parses the fault information based on the communication protocol of the standard data model to obtain the fault event log, and performs the fault recovery operation matched with the fault event log according to the preset fault processing strategy; wherein the fault information is the information corresponding to the recorded fault event log generated by the monitorable disk array card based on the communication protocol of the standard data model.

[0128] In some embodiments, in response to determining that the disk card fails, the disk array card automatically records the fault event log, and reorganizes the fault event log into fault information based on the communication protocol of the standard data model, and then encapsulates it in the management component transport protocol message for transmission. The fault event log at least includes event code and event description, wherein the event code is a unique identifier of an alarm type. The substrate management controller parses the event code and the like immediately after receiving the fault information, and automatically finds the fault recovery operation matched with the event code according to the pre-set fault recovery strategy, to realize automatic repair of the fault. In addition, the substrate management controller can also trigger a fault alarm in response to receiving the fault information, and send the fault information to the administrator for subsequent fault handling operation. Wherein the fault information can be sent to the administrator by email, SMS or other ways, to ensure that the administrator can understand and handle the fault of the disk array card in time. The timely processing of the fault is realized, so as to ensure the safety and stability of data storage; allowing the administrator to take action as soon as the problem occurs, thereby preventing data loss or system crash, further improving the reliability and stability of the system.

[0129] Further, in some embodiments, the management component transmission protocol driver in the baseboard management controller transmits monitoring management component transmission protocol messages to the central processing unit and / or the integrated south bridge through the PCIe transmission layer, and receives feedback management component transmission protocol messages and fault management component transmission protocol messages forwarded by the central processing unit and / or the integrated south bridge through the PCIe transmission layer; the central processing unit and / or the integrated south bridge forwards the monitoring management component transmission protocol messages to the monitorable disk array card through the PCIe transmission layer, and receives feedback management component transmission protocol messages and fault management component transmission protocol messages generated by the monitorable disk array card through the PCIe transmission layer. By using the high-speed transmission capability of the PCIe protocol, a point-to-point serial communication mode is adopted, each device has its own dedicated data channel, which greatly accelerates the transmission speed and efficiency of the disk array card data between the disk array card and the baseboard management controller, reduces the delay in the monitoring process, and further realizes real-time monitoring of the state of the disk array card.

[0130] In addition, the embodiments of the present application also disclose a uniform management interface arranged on the baseboard management controller. In some embodiments, the present application discloses whether the management instruction received by the baseboard management controller through the uniform management interface contains a disk array card monitoring instruction; in response to determining that the management instruction contains the disk array card monitoring instruction, the baseboard management controller feeds back the stored disk array card data matched with the monitorable disk array card. By connecting the remote management end on the interface, the administrator is provided with the function of managing all disk array cards, and the administrator does not need to be familiar with the specific management mode of different devices, thereby simplifying the management mode and improving the management efficiency.

[0131] In addition, the present application also proposes a processing method for the interaction exception between the disk array card and the baseboard management controller, including: in response to determining that the baseboard management controller does not detect the feedback monitoring management component transmission protocol feedback back to the baseboard management controller within a preset time period after sending the monitoring management component transmission protocol message to the disk array card, triggering an exception mechanism; the baseboard management controller sends a probe message to the disk array card once, wherein the probe message is a message with a smaller byte size generated based on the monitoring management component transmission protocol; in response to determining that the baseboard management controller can receive the feedback of the probe message from the disk array card within a preset time period, re-establishing the management component transmission protocol network to exclude possible problems; in response to determining that the baseboard management controller cannot receive the feedback of the probe message from the disk array card within a preset time period, triggering an exception alarm to prompt the user to repair the current management component transmission protocol network. The preset time period is set by the management personnel according to the management component transmission protocol message transmission rate, the current processing capacity of the baseboard management controller and other factors, which is not restricted by the present application.

[0132] The application utilizes the standardized data exchange characteristics of PLDM, combines the communication specification of MCTP, and the high-speed transmission capability of PCIE, solves the technical problems of compatibility, efficiency, real-time performance and management complexity in the traditional RAID card monitoring method, and provides a high-efficiency, real-time, compatible and easy-to-manage disk array card monitoring method. Compared with the traditional method, these advantages make it have wide application prospects in the fields of data center, cloud computing, enterprise-level storage, scientific research and high-performance computing, etc.

[0133] Corresponding to the above embodiment, the embodiment of the application also provides a disk array card monitoring system, as shown in the architecture of Figure 4, comprising:

[0134] The environment preparation module 410 is configured to, in response to the power-on of the server, build a management component transmission protocol network between the baseboard management controller and the PCIe device;

[0135] The data processing module 420 is configured to identify whether there is a monitorable disk array card in the PCIe device contained in the management component transmission protocol network;

[0136] The data monitoring module 430 is configured to, in response to identifying that there is a monitorable disk array card in the PCIe device contained in the management component transmission protocol network, trigger the baseboard management controller to start a disk array card monitoring thread and issue a target monitoring command to the identified monitorable disk array card, wherein the target monitoring command is a command defined based on the communication protocol of the standard data model;

[0137] The data monitoring module 430 is also configured to acquire the disk array card data fed back by the monitorable disk array card and matched with the target monitoring command through the baseboard management controller, so as to realize the monitoring of the disk array card.

[0138] In some embodiments, the management component transmission protocol driver is integrated in the baseboard management controller;

[0139] One end of the baseboard management controller is connected with one end of the PCIe switch through the PCIe link;

[0140] The first end of the baseboard management controller is connected with the first end of the PCIe switch through the PCIe link;

[0141] The second end of the PCIe switch is connected with at least one PCIe device, and the PCIe device comprises a disk array card;

[0142] The second end of the baseboard management controller is also connected to the first end of the central processing unit through the PCIe link, and the second end of the central processing unit is connected to the third end of the PCIe switch through the PCIe link;

[0143] And / or,

[0144] The second end of the baseboard management controller is also connected to the first end of the integrated south bridge through a PCIe link, and the second end of the integrated south bridge is connected to the third end of the PCIe switch through a PCIe link.

[0145] In some embodiments, the data monitoring module 430 is further configured to, after the disk array card monitoring thread is started, transmit, by a management component transmission protocol driver in the baseboard management controller, a target monitoring command as data of a management component transmission protocol and encapsulate the target monitoring command into a monitoring management component transmission protocol packet, wherein the target monitoring command is included in the monitoring management component transmission protocol packet; transmit, by the management component transmission protocol driver in the baseboard management controller, the monitoring management component transmission protocol packet to the central processing unit and / or the integrated south bridge; and forward, by the central processing unit and / or the integrated south bridge, the monitoring management component transmission protocol packet to a target disk array card in the monitorable disk array card corresponding to the target terminal identifier.

[0146] In some embodiments, the data monitoring module 430 is further configured to feed back, by the target disk array card, disk array card data matched with the target monitoring command to the baseboard management controller, including: in response to the received monitoring management component transmission protocol packet, unpack the monitoring management component transmission protocol packet to obtain the target monitoring command; parse the target monitoring command based on a communication protocol of a standard data model, and extract the disk array card data matched with the target monitoring command; generate, based on the communication protocol of the standard data model, target response data corresponding to the extracted disk array card data matched with the target monitoring command; encapsulate the target response data into a feedback management component transmission protocol packet; and transmit, by the target disk array card, the feedback management component transmission protocol packet to the central processing unit and / or the integrated south bridge, and feed back, by the central processing unit and / or the integrated south bridge, the feedback management component transmission protocol packet to the baseboard management controller.

[0147] In some embodiments, the data monitoring module 430 is further configured to acquire, by the baseboard management controller, the disk array card data matched with the target monitoring command fed back by the monitorable disk array card, including: receiving and unpacking, by the baseboard management controller, the feedback management component transmission protocol packet to obtain the target response data; and parsing, by the baseboard management controller, the target response data based on the communication protocol of the standard data model to obtain the disk array card data.

[0148] In some embodiments, the environment preparation module 410 is further configured to, in response to the server being powered on, determine that the baseboard management controller is a bus owner of the management component transport protocol; trigger a management component transport protocol driver in the baseboard management controller to send a device discovery message based on the management component transport protocol to a target PCIe device mounted on the PCIe link; in response to a feedback message initiated by the target PCIe device to the device discovery message, trigger the baseboard management controller to assign a unique terminal identifier to the target PCIe device to implement a management component transport protocol network between the baseboard management controller and the PCIe device.

[0149] In some embodiments, the environment preparation module 410 is further configured to send a configuration request message to the target PCIe device with the terminal identifier through the management component transport protocol driver in the baseboard management controller; receive and parse device configuration information generated by the target PCIe device in response to the configuration request message and fed back to the baseboard management controller through the baseboard management controller to obtain a device identifier and a message format; and determine whether the target PCIe device is a monitorable disk array card according to the device identifier and the message format.

[0150] In some embodiments, the data processing module 420 is further configured to determine whether the target PCIe device is a disk array card according to the device identifier; in response to determining that the target PCIe device is a disk array card, determine whether the disk array card supports a communication protocol of a standard data model according to the message format; and in response to determining that the disk array card supports the communication protocol of the standard data model, determine that the target PCIe device is a monitorable disk array card.

[0151] In some embodiments, the data processing module 420 is further configured to, in response to determining that the disk array card does not support the communication protocol of the standard data model, search for whether the disk array card exists a specified firmware version supporting the communication protocol of the standard data model according to a preset disk array card information table; in response to determining that the disk array card exists the specified firmware version supporting the communication protocol of the standard data model, update firmware of the disk array card to the specified firmware version; and in response to determining that the disk array card does not exist the specified firmware version supporting the communication protocol of the standard data model, generate an abnormal alarm to prompt a user that there is no monitorable disk array card at present.

[0152] In some embodiments, the baseboard management controller is further provided with a unified management interface, and the data processing module 420 is further configured to parse whether a disk array card monitoring instruction is contained in a management instruction received by the unified management interface; and in response to parsing that the disk array card monitoring instruction is contained in the management instruction, the baseboard management controller feeds back disk array card data of a monitorable disk array card matched and stored.

[0153] In some embodiments, the data processing module 420 is further configured to receive and parse a fault management component transmission protocol message through the baseboard management controller to obtain fault information; parse the fault information based on a communication protocol of a standard data model to obtain a fault event log, and perform a fault recovery operation matching the fault event log according to a preset fault processing strategy; wherein the fault information is information corresponding to the recorded fault event log generated by the monitorable disk array card based on the communication protocol of the standard data model.

[0154] Corresponding to the above embodiments, as shown in FIG. 6, the embodiments of the present application also provide a computer program product, when the computer program is executed by one or more processors, the steps of the following method are implemented:

[0155] In response to the server being powered on, a management component transmission protocol network between the baseboard management controller and the PCIe device is built;

[0156] It is identified whether there is a monitorable disk array card in the PCIe device contained in the management component transmission protocol network;

[0157] In response to identifying that there is a monitorable disk array card in the PCIe device contained in the management component transmission protocol network, the baseboard management controller is triggered to start a disk array card monitoring thread and issue a target monitoring command to the identified monitorable disk array card, wherein the target monitoring command is a command defined based on a communication protocol of a standard data model;

[0158] The disk array card data fed back by the monitorable disk array card matching the target monitoring command is obtained through the baseboard management controller to realize monitoring of the disk array card.

[0159] Corresponding to all the above embodiments, as shown in FIG. 5, the embodiments of the present application provide an electronic device, comprising: one or more processors; and a memory associated with the one or more processors, the memory being configured to store computer readable instructions, the computer readable instructions being configured to implement the following operations when read and executed by the one or more processors:

[0160] In response to the server being powered on, a management component transmission protocol network between the baseboard management controller and the PCIe device is built;

[0161] It is identified whether there is a monitorable disk array card in the PCIe device contained in the management component transmission protocol network;

[0162] In response to identifying that there is a monitorable disk array card in the PCIe device contained in the management component transmission protocol network, the baseboard management controller is triggered to start a disk array card monitoring thread and issue a target monitoring command to the identified monitorable disk array card, wherein the target monitoring command is a command defined based on a communication protocol of a standard data model;

[0163] The baseboard management controller acquires the disk array card data fed back by the disk array card matching the target monitoring command, so as to realize monitoring of the disk array card.

[0164] The architecture of the electronic device is shown in Fig. 5, which can include a processor 510, a video display adapter 511, a disk drive 512, an input / output interface 513, a network interface 514, and a memory 520. The processor 510, the video display adapter 511, the disk drive 512, the input / output interface 513, the network interface 514, and the memory 520 can be connected by a bus 530.

[0165] The processor 510 can be implemented by a general-purpose CPU, a microprocessor, an application specific integrated circuit (ASIC), or one or more circuits, and is used to execute related programs to implement the technical solutions provided in the present application.

[0166] The memory 520 can be implemented by a ROM (Read Only Memory), a RAM (Random Access Memory), a static storage device, a dynamic storage device, etc. The memory 520 can store an operating system 521 for controlling the operations performed by the electronic device 500, and a basic input / output system (BIOS) 522 for controlling the low-level operations of the electronic device 500. In addition, a web browser 523, a data storage management system 524, and an icon font processing system 525, etc. can also be stored. The icon font processing system 525 can be an application program for implementing the above-mentioned steps in the embodiments of the present application. In summary, when the technical solutions provided in the present application are implemented by software or firmware, the related program codes are stored in the memory 520 and executed by the processor 510.

[0167] The input / output interface 513 is used to connect input / output modules to realize information input and output. The input / output modules can be configured as components in the device (not shown in the figure) or externally connected to the device to provide corresponding functions. The input devices can include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output devices can include a display, a speaker, a vibrator, an indicator light, etc.

[0168] The network interface 514 is configured to connect a communication module (not shown in the figure) to realize the communication interaction between the device and other devices. The communication module can realize communication through wired mode (such as USB, network cable, etc.), or realize communication through wireless mode (such as mobile network, WIFI, Bluetooth, etc.).

[0169] The bus 530 includes a path for transmitting information between various components (such as the processor 510, the video display adapter 511, the disk drive 512, the input / output interface 513, the network interface 514, and the memory 520) of the device.

[0170] In addition, the electronic device 500 can also obtain the information of the pickup condition from the virtual resource object pickup condition information database, for condition judgment, etc.

[0171] It should be noted that although the above device only shows the processor 510, the video display adapter 511, the disk drive 512, the input / output interface 513, the network interface 514, the memory 520, the bus 530, etc., in the implementation process, the device can also include other components necessary for normal execution. In addition, those skilled in the art can understand that the above device can also only contain the components necessary for the implementation of the scheme of the present application, and does not have to contain all the components shown in the figure.

[0172] From the description of the above embodiments, those skilled in the art can clearly understand that the present application can be realized by means of software and the necessary general hardware platform. Based on such understanding, the technical solutions of the present application can be embodied in the form of a software product, which can be stored in a storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes a plurality of instructions for causing a computer device (which can be a personal computer, a cloud server, or a network device, etc.) to execute the methods of the various embodiments or some parts of the embodiments of the present application.

[0173] Corresponding to all the above embodiments, as shown in FIG. 7, the embodiments of the present application also provide a non-volatile computer readable storage medium, which stores computer readable instructions, and the computer readable instructions are executed by one or more processors to realize the following operations:

[0174] In response to the power-on of the server, a management component transmission protocol network between the baseboard management controller and the PCIe device is built;

[0175] Identify whether there is a monitorable disk array card in the PCIe device contained in the management component transmission protocol network;

[0176] In response to identifying the presence of the monitorable disk array card in the PCIe device contained in the management component transport protocol network, triggering the baseboard management controller to start the disk array card monitoring thread and issue a target monitoring command to the identified monitorable disk array card, wherein the target monitoring command is a command defined based on the communication protocol of the standard data model;

[0177] Obtaining the disk array card data matched with the target monitoring command fed back by the monitorable disk array card through the baseboard management controller, so as to realize the monitoring of the disk array card.

[0178] Each of the embodiments in the specification is described in a progressive manner, and the same and similar parts between each of the embodiments can be referred to each other. Each of the embodiments focuses on the difference from other embodiments. In particular, for the system or system embodiments, since it is basically similar to the method embodiments, it is described more simply, and the relevant parts can be referred to the part of the method embodiments. The above-described system and system embodiments are only illustrative, and the units described as separate components can be or can not be physically separated, and the components shown as units can be or can not be physical units, that is, they can be located in one place or distributed on multiple network units. Part or all of the modules can be selected to achieve the purpose of the embodiment scheme according to actual needs. Those skilled in the art can understand and implement it without creative labor.

[0179] The above is only the preferred embodiment of the present application, and is not used to limit the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A method for monitoring a disk array card, the method comprising: The method comprises: in response to the server being powered on, establishing a management component transmission protocol network between a baseboard management controller and a PCIe (Peripheral Component Interconnect Express, a high-speed serial computer expansion bus standard) device; identifying whether there is a monitorable disk array card in the PCIe device contained in the management component transmission protocol network; in response to identifying that there is a monitorable disk array card in the PCIe device contained in the management component transmission protocol network, triggering the baseboard management controller to start a disk array card monitoring thread and issue a target monitoring command to the identified monitorable disk array card, wherein the target monitoring command is a command defined based on a standard data model communication protocol; and obtaining disk array card data matching the target monitoring command fed back by the monitorable disk array card through the baseboard management controller to realize monitoring of the disk array card.

2. The method of claim 1, wherein: the baseboard management controller is integrated with a management component transmission protocol driver; a first end of the baseboard management controller is connected to a first end of a PCIe switch through a PCIe link; a second end of the PCIe switch is connected to at least one PCIe device, and the PCIe device includes a disk array card; wherein a second end of the baseboard management controller is also connected to a first end of a central processing unit through a PCIe link, and a second end of the central processing unit is connected to a third end of the PCIe switch through a PCIe link; and / or a second end of the baseboard management controller is also connected to a first end of an integrated south bridge through a PCIe link, and a second end of the integrated south bridge is connected to a third end of the PCIe switch through a PCIe link.

3. The method of claim 2, wherein, In response to identifying that there is a monitorable disk array card in the PCIe device contained in the management component transmission protocol network, triggering the baseboard management controller to start a disk array card monitoring thread and issue a target monitoring command to the identified monitorable disk array card, comprising: after the disk array card monitoring thread is started, the management component transmission protocol driver in the baseboard management controller encapsulates the target monitoring command as data of the management component transmission protocol and into a monitoring management component transmission protocol packet, wherein the monitoring management component transmission protocol packet includes a target terminal identifier; the management component transmission protocol driver in the baseboard management controller transmits the monitoring management component transmission protocol packet to the central processing unit and / or the integrated south bridge; and through the central processing unit and / or the integrated south bridge, the monitoring management component transmission protocol packet is forwarded to the target disk array card corresponding to the target terminal identifier in the monitorable disk array card.

4. The method of claim 3, wherein: the method comprises the target disk array card feeding back disk array card data matching the target monitoring command to the baseboard management controller: The target disk array card decapsulates the monitoring management component transmission protocol packet to obtain a target monitoring command in response to the received monitoring management component transmission protocol packet; The target disk array card parses the target monitoring command based on a communication protocol of a standard data model, and extracts disk array card data matched with the target monitoring command; The target disk array card generates target response data corresponding to the extracted disk array card data matched with the target monitoring command based on the communication protocol of the standard data model; The target disk array card encapsulates the target response data into a feedback management component transmission protocol packet; and The target disk array card transmits the feedback management component transmission protocol packet to the central processor and / or the integrated south bridge, and feeds back the feedback management component transmission protocol packet to the baseboard management controller through the central processor and / or the integrated south bridge.

5. The method of claim 4, wherein, The baseboard management controller obtains the disk array card data matched with the target monitoring command fed back by the monitorable disk array card through the baseboard management controller, including: The baseboard management controller receives and decapsulates the feedback management component transmission protocol packet to obtain target response data; and The baseboard management controller parses the target response data to obtain the disk array card data based on a communication protocol of a standard data model.

6. The method of claim 5, wherein, The management component transmission protocol network between the baseboard management controller and the PCIe device is built in response to server power-on, including: In response to server power-on, determining that the baseboard management controller is a bus owner of a management component transmission protocol; Triggering a management component transmission protocol driver in the baseboard management controller to send a management component transmission protocol-based device discovery message to a target PCIe device mounted on the PCIe link; and In response to a feedback message initiated by the target PCIe device to the device discovery message, triggering the baseboard management controller to assign a unique terminal identifier to the target PCIe device to achieve building the management component transmission protocol network between the baseboard management controller and the PCIe device.

7. The method of claim 6, wherein, The PCIe device included in the management component transmission protocol network is identified, including: Sending a configuration request message to the target PCIe device with the terminal identifier through a management component transmission protocol driver in the baseboard management controller; Receiving and parsing device configuration information to obtain a device identifier and a message format through the baseboard management controller, wherein the device configuration information is generated by the target PCIe device in response to the configuration request message and fed back to the baseboard management controller; and Determining whether the target PCIe device is a monitorable disk array card according to the device identifier and the message format through the baseboard management controller.

8. The method of claim 7, wherein, The determination of whether the target PCIe device is a monitorable disk array card through the baseboard management controller according to the device identifier and the message format, includes: Determining whether the target PCIe device is a disk array card according to the device identifier; in response to determining that the target PCIe device is a disk array card, judging whether the disk array card supports a communication protocol of a standard data model according to the message format; and in response to determining that the disk array card supports the communication protocol of the standard data model, determining that the target PCIe device is a monitorable disk array card.

9. The method of claim 8, wherein, The determining, by the baseboard management controller, whether the target PCIe device is the monitorable disk array card according to the device identification and the message format further includes: in response to determining that the disk array card does not support the communication protocol of the standard data model, searching for whether there is a version of the disk array card supporting the communication protocol of the standard data model according to a preset disk array card information table; in response to determining that there is a specified firmware version of the disk array card supporting the communication protocol of the standard data model, updating firmware of the disk array card to the specified firmware version; and in response to determining that there is no specified firmware version of the disk array card supporting the communication protocol of the standard data model, generating an abnormal alarm to prompt a user that there is no monitorable disk array card at present.

10. The method according to any one of claims 6-9, characterized in that, The baseboard management controller further includes a unified management interface, and the method further includes: analyzing whether the management instruction received by the unified management interface contains a disk array card monitoring instruction; and in response to analyzing that the management instruction contains the disk array card monitoring instruction, the baseboard management controller feeds back disk array card data of the monitorable disk array card matched and stored.

11. The method of claim 10, wherein, When the monitorable disk array card fails, the method further includes: receiving and analyzing a fault management component transmission protocol packet by the baseboard management controller to obtain fault information, wherein the fault information is information corresponding to a recorded fault event log generated by the monitorable disk array card based on the communication protocol of the standard data model; and analyzing the fault information based on the communication protocol of the standard data model by the baseboard management controller to obtain the fault event log, and performing a fault recovery operation matched with the fault event log according to a preset fault processing strategy.

12. The method of claim 11, wherein the management component transmission protocol driver in the baseboard management controller transmits the monitoring management component transmission protocol packet to the central processor and / or the integrated south bridge through the PCIe transmission layer, and receives feedback management component transmission protocol packets and fault management component transmission protocol packets forwarded by the central processor and / or the integrated south bridge through the PCIe transmission layer; and the central processor and / or the integrated south bridge forward the monitoring management component transmission protocol packet to the monitorable disk array card through the PCIe transmission layer, and receive feedback management component transmission protocol packets and fault management component transmission protocol packets generated by the monitorable disk array card through the PCIe transmission layer.

13. The method of claim 1, wherein, The communication protocol of the standard data model is a PLDM (Platform Level Data Model) protocol.

14. The method of claim 8, wherein, The device identifier includes a manufacturer identifier and a device identifier, and the determining whether the target PCIe device is a disk array card according to the device identifier includes: finding the manufacturer identifier and the device identifier from a PCIe configuration space Header header; and determining whether the target PCIe device is a disk array card according to the manufacturer identifier and the device identifier.

15. The method of claim 11, wherein, The fault event log includes an event code, wherein the event code is a flag uniquely identifying a type of alarm, and the performing a fault recovery operation matching the fault event log according to a preset fault processing strategy includes: After the baseboard management controller receives the fault information, the baseboard management controller parses the fault information to obtain an event code; and According to a preset fault processing strategy, a fault recovery operation matching the event code is found to achieve automatic fault repair.

16. The method of claim 3, wherein, After the baseboard management controller receives the fault information, the baseboard management controller parses the fault information to obtain an event code; and According to a preset fault processing strategy, a fault recovery operation matching the event code is found to achieve automatic fault repair. After the baseboard management controller receives the fault information, the baseboard management controller parses the fault information to obtain an event code; and According to a preset fault processing strategy, a fault recovery operation matching the event code is found to achieve automatic fault repair.

17. The method of claim 16, wherein, After the baseboard management controller receives the fault information, the baseboard management controller parses the fault information to obtain an event code; and According to a preset fault processing strategy, a fault recovery operation matching the event code is found to achieve automatic fault repair.

18. The method of claim 1, wherein: the baseboard management controller has a management component transmission protocol driver integrated therein; a first end of the baseboard management controller is connected to a first end of a PCIe switch through a PCIe link; a second end of the PCIe switch is connected to at least one PCIe device, the PCIe device including a disk array card; wherein a second end of the baseboard management controller is also connected to a first end of a graphics processor through a PCIe link, and a second end of the graphics processor is connected to a third end of the PCIe switch through a PCIe link; and / or a second end of the baseboard management controller is also connected to a first end of a south bridge through a PCIe link, and a second end of the south bridge is connected to a third end of the PCIe switch through a PCIe link.

19. A computer program product comprising a computer program, characterized in that, The computer program, when executed by one or more processors, implements the steps of the method of any one of claims 1-18.

20. An electronic device, comprising: The electronic device includes: one or more processors; and a memory associated with the one or more processors, the memory for storing computer-readable instructions that, when read and executed by the one or more processors, implement the method of any of claims 1-18.

21. A non-transitory computer readable storage medium, comprising: having stored thereon computer-readable instructions that, when executed by one or more processors, implement the method of any of claims 1-18.

Citation Information

Patent Citations

  • PCIE board card with monitoring function and monitoring method therefor

    CN105302755A

  • Method for monitoring RAID card

    CN105446657A

  • Server PCIE device monitoring method, system and device and readable storage medium

    CN110399267A

  • Equipment management method, equipment and device based on MCTP protocol, and medium

    CN111352889A

  • Server state monitoring method and device, electronic equipment and storage medium

    CN117992302A