Leakage processing method, device and equipment for multi-node server and medium

Through the interaction of CMC, BMC, node CPLD and fan board CPLD, the liquid leakage status of multi-node servers is monitored and processed, and logs are generated to ensure long-term normal operation under liquid cooling conditions and solve the problem of liquid leakage affecting server stability. .

CN118535371APending Publication Date: 2024-08-23INSPUR (SHANDONG) COMPUTER TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410705656.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-31
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

When multi-node servers use liquid cooling, failure to deal with liquid leakage in time may cause a single node or the entire server to become abnormal, affecting the normal use of users.

Method used

Through the interaction between CMC, BMC, node CPLD and fan board CPLD, the leakage status is monitored and processed, the power control type is set, and relevant logs are generated to ensure that the leakage situation is handled and recorded in a timely manner to prevent leakage from affecting the long-term operation of the server. Time runs normally.

Benefits of technology

It realizes long-term effective operation of multi-node servers under liquid cooling conditions, meets users' requirements for normal use and performance, and handles liquid leakage in a timely manner to facilitate rapid location and repair of problems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118535371A
    Figure CN118535371A
Patent Text Reader

Abstract

The invention discloses a liquid leakage processing method and device for a multi-node server, equipment and a medium, and relates to the technical field of servers. The method is applied to a first complex programmable logic device of a target node, and comprises the following steps: reading a second complex programmable logic device of a fan board corresponding to the target node so as to determine a power supply control type set by a case management controller during liquid leakage management; when the target node is monitored to generate a liquid leakage state, according to a power supply control type of liquid leakage power-off or liquid leakage non-power-off, based on different modes, the liquid leakage state is notified to the substrate manager through the first universal input / output port to generate a log, and the liquid leakage state is notified to the second complex programmable logic device; and informing the case management controller of the liquid leakage state through the second complex programmable logic device to generate a log. By means of the technical scheme, it can be guaranteed that the liquid leakage situation does not affect the normality of the multi-node server.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of servers, and in particular to a method, device, equipment and medium for handling liquid leakage of a multi-node server. Background Art

[0002] For multi-node servers, each node has a separate motherboard BMC (Baseboard Management Controller), BIOS (Basic Input Output System), CPLD (Complex Programmable Logic Device) and other related firmware to manage each node separately. Compared with traditional servers, each node in a multi-node server has a smaller space but its power consumption is not significantly less than that of traditional servers. Under this premise, liquid cooling is more effective in controlling server temperature, so compared with air cooling, liquid cooling is more common in multi-node servers.

[0003] However, compared with air cooling, liquid cooling requires stricter management of server leakage due to the presence of cooling liquid. If the cooling liquid leakage is not detected in time and the server is kept running, it may cause damage to a single node of the server at best; in serious cases, it may cause the entire server to malfunction, affecting the normal use of users.

[0004] Therefore, how to provide a solution to the above technical problems is a problem that those skilled in the art need to solve at present. Summary of the invention

[0005] In view of this, the purpose of the present invention is to provide a method, device, equipment and medium for handling liquid leakage of a multi-node server, which can ensure that the liquid leakage will not affect the normal operation of the multi-node server and meet the user's long-term normal use and performance requirements of the multi-node server. The specific scheme is as follows:

[0006] In a first aspect, the present application discloses a method for handling liquid leakage in a multi-node server, which is applied to a first complex programmable logic device of a target node, comprising:

[0007] Determine a fan board corresponding to the target node, and read a second complex programmable logic device of the fan board to determine a power control type set by a chassis management controller when performing leakage management;

[0008] When a liquid leakage state is detected in the target node, if the power control type is power off due to liquid leakage, the baseboard manager is notified of the liquid leakage state through the first general input / output port to generate a first log, the power of the target node is turned off, and the corresponding power off state is notified to the second complex programmable logic device, so that based on the power off state, the chassis management controller is notified of the liquid leakage state through the second complex programmable logic device to generate a second log;

[0009] If the power control type is leakage without power-off, the leakage status is notified to the baseboard manager through the first general input / output port to generate a third log, and the leakage status is notified to the second complex programmable logic device so that the second complex programmable logic device notifies the chassis management controller of the leakage status to generate a fourth log.

[0010] Optionally, the step of reading the second complex programmable logic device of the fan board to determine the power control type set by the chassis management controller when performing leakage management includes:

[0011] The level state of the second complex programmable logic device of the fan board set through the second general input / output port is read to determine the power control type set by the chassis management controller when performing leakage management; wherein the user sets the power control type for the target node in advance on the corresponding first web page interface through the first web page operation interface, and sends the power control type to the second complex programmable logic device through the chassis management controller using the integrated circuit bus.

[0012] Optionally, the method for handling liquid leakage of a multi-node server further includes:

[0013] If the power control type set in advance for the target node by the user in the corresponding first web page interface through the first web page operation interface is not monitored, the power control type is set by default to not shut down the power when leaking.

[0014] Optionally, the method for handling liquid leakage of a multi-node server further includes:

[0015] Determine the synchronization node group to which the target node belongs, and synchronize the power control type set for the target node to other nodes in the synchronization node group except the target node;

[0016] The chassis management controller uses an intelligent platform management bus to notify the baseboard management controller corresponding to each node in the synchronization node group of the power control type, so that the baseboard management controller displays the power control type on the second web page interface.

[0017] Optionally, if the power control type is power-off due to leakage, the method further includes notifying the baseboard manager of the leakage state through the first general input / output port to generate a first log, shutting down the power of the target node, and notifying the second complex programmable logic device of the corresponding power-off state, so that based on the power-off state, the chassis management controller is notified of the leakage state through the second complex programmable logic device to generate a second log, and further includes:

[0018] Unplug the target node for repair, and after the target node is repaired, obtain a power control command input by a user through the chassis management controller;

[0019] powering on the target node recovery node according to the power control command, and notifying the second complex programmable logic device of a corresponding power recovery state;

[0020] The power control type corresponding to the second complex programmable logic device is adjusted to not shut down the power in case of leakage.

[0021] Optionally, the method for handling liquid leakage of a multi-node server further includes:

[0022] Determine a current leakage simulation node, and send a simulation leakage instruction to a third complex programmable logic device of a fan board corresponding to the current leakage simulation node through the chassis management controller based on a preset instruction sending method;

[0023] Reading the third complex programmable logic device to determine a current level state of the third complex programmable logic device set through a third general purpose input / output port;

[0024] According to the current level state, the fourth general input / output port of the current leakage simulation node is jumped, so that the corresponding baseboard management controller sets the node status light of the current leakage simulation node to the abnormal health state when polling and reading the fourth general input / output port, and generates a fifth log; and the current leakage simulation node is notified to the third complex programmable logic device, so that the third complex programmable logic device notifies the chassis management controller of the current leakage simulation node to generate a sixth log;

[0025] Based on the fifth log and the sixth log, a simulated leakage shutdown instruction is obtained, and then the current leakage simulation node is re-determined, and the step of sending a simulated leakage instruction to the third complex programmable logic device of the fan board corresponding to the current leakage simulation node through the chassis management controller based on a preset instruction sending method is triggered.

[0026] Optionally, the sending of the simulated leakage instruction to the third complex programmable logic device of the fan board corresponding to the current leakage simulation node by the chassis management controller based on a preset instruction sending method includes:

[0027] By means of the chassis management controller, a simulation leakage instruction is sent to a third complex programmable logic device of the fan board corresponding to the current leakage simulation node by using a second webpage operation interface;

[0028] Or, through the chassis management controller, based on the intelligent platform management interface command, a simulation leakage instruction is sent to the third complex programmable logic device of the fan board corresponding to the current leakage simulation node.

[0029] In a second aspect, the present application discloses a liquid leakage processing device for a multi-node server, which is applied to a first complex programmable logic device of a target node, comprising:

[0030] A power control type determination module, used to determine the fan board corresponding to the target node, and read the second complex programmable logic device of the fan board to determine the power control type set by the chassis management controller when performing leakage management;

[0031] a first processing module, configured to, when a liquid leakage state is detected in the target node, if the power control type is power off due to leakage, notify the baseboard manager of the liquid leakage state through the first general input / output port to generate a first log, shut down the power of the target node, and notify the second complex programmable logic device of the corresponding power off state, so that based on the power off state, the chassis management controller is notified of the liquid leakage state through the second complex programmable logic device to generate a second log;

[0032] The second processing module is used to notify the baseboard manager of the leakage status through the first general input / output port to generate a third log if the power control type is leakage without power off, and to notify the second complex programmable logic device of the leakage status so that the second complex programmable logic device notifies the chassis management controller of the leakage status to generate a fourth log.

[0033] In a third aspect, the present application discloses an electronic device, comprising a processor and a memory; wherein the memory is used to store a computer program, and the computer program is loaded and executed by the processor to implement the liquid leakage processing method of the multi-node server as described above.

[0034] In a fourth aspect, the present application discloses a computer-readable storage medium for storing a computer program; wherein the computer program, when executed by a processor, implements the liquid leakage processing method for a multi-node server as described above.

[0035] The present application provides a leakage processing method for a multi-node server, which is applied to a first complex programmable logic device of a target node, including: determining a fan board corresponding to the target node, and reading a second complex programmable logic device of the fan board to determine the power control type set by a chassis management controller when performing leakage management; when a leakage state is detected in the target node, if the power control type is power-off due to leakage, notifying a baseboard manager of the leakage state through a first general input / output port to generate a first log, and shutting down the power of the target node, and notifying the second complex programmable logic device of the corresponding power-off state, so that based on the power-off state, the chassis management controller is notified of the leakage state through the second complex programmable logic device to generate a second log; if the power control type is power-off due to leakage, notifying the baseboard manager of the leakage state through the first general input / output port to generate a third log, and notifying the second complex programmable logic device of the leakage state, so that the second complex programmable logic device notifies the chassis management controller of the leakage state to generate a fourth log.

[0036] The beneficial technical effects of the present application are: in response to the leakage of multi-node servers, through the cooperative design of software and hardware, through the relevant interaction between CMC, BMC, node CPLD and fan board CPLD, relevant leakage operations and prompts are performed when the multi-node server has a leakage state. Under the premise that CMC manages the overall leakage state and sets the corresponding power control type, it is ensured that BMC and CMC have their own ways to understand the node leakage state and make relevant log prompts. It is ensured that when a node leaks, the leakage state can be prompted in time; it is ensured that the server can run effectively for a long time under the condition of liquid cooling, and the user's long-term normal use and performance requirements for multi-node servers are met. At the same time, in response to the leakage phenomenon, CMC and BMC generate logs in time to facilitate rapid location of the problem and repair it, ensuring normal use by users.

[0037] In addition, the present application provides a liquid leakage processing device, equipment and storage medium for a multi-node server, which correspond to the liquid leakage processing method for the multi-node server mentioned above, and have the same effect as above. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0039] Figure 1 A flow chart of a method for handling liquid leakage in a multi-node server disclosed in this application;

[0040] Figure 2 A flow chart of power-off and repair of leakage disclosed in this application;

[0041] Figure 3 A flow chart of a leakage simulation setting disclosed in the present application;

[0042] Figure 4 This is a schematic diagram of the structure of a liquid leakage processing device for a multi-node server disclosed in this application;

[0043] Figure 5 This is a structural diagram of an electronic device disclosed in this application. DETAILED DESCRIPTION

[0044] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0045] At present, multi-node servers have separate motherboard BMC, BIOS, CPLD and other related firmware for each node to manage each node separately. Since the nodes are independent of each other, the configurations of different nodes can be completely different. Such a multi-node server can contain a variety of different configurations for use, supporting a variety of functional combinations with different arrangements and combinations, which can meet the user's needs in a variety of different occasions at the same time and greatly reduce the use of space. The existence of so many nodes also requires a general management unit to uniformly manage each node, intuitively observe the power on and off status and health status of different nodes, facilitate the search for related problem nodes and problems, and ensure the long-term normal and stable use of the server.

[0046] For multi-node servers, each node runs independently, so the running status of different nodes is different. The BMC firmware of different nodes will monitor the running status of the node server in real time. In the operation of each individual node, liquid cooling is used to cool the motherboard; and the BMC firmware of the node monitors the leakage of each node and whether the power is turned off due to leakage in real time. At the same time, in order to facilitate the use of leakage-related tests, a simulated leakage function is added to verify whether the leakage path is good. For the entire chassis, because of the large number of nodes, CMC (Chassis Management Controller) is required for unified scheduling and management. Therefore, it is very important to reasonably design the effective interaction between CMC and BMC and the related logic of leakage management for effective heat dissipation and long-term stable operation of the server.

[0047] To this end, the present application provides a leakage processing solution for a multi-node server, which can ensure that the leakage will not affect the normal operation of the multi-node server and meet the user's long-term normal use and performance requirements of the multi-node server.

[0048] The embodiment of the present invention discloses a method for handling liquid leakage in a multi-node server, which is applied to a first complex programmable logic device of a target node, see Figure 1 As shown, the method includes:

[0049] Step S11: Determine the fan board corresponding to the target node, and read the second complex programmable logic device of the fan board to determine the power control type set by the chassis management controller when performing leakage management.

[0050] In the embodiment of the present application, an exemplary description is given for the target node in the multi-node server, and is applied to the target node CPLD. First, under the premise that the CMC manages the overall leakage status and sets the power control type, the CMC informs the fan board CPLD of the node and the BMC of the node of the power control type respectively. It should be pointed out that the power control type includes the type of power-off due to leakage and the type of power-off due to leakage set for the node when the node has a leakage status.

[0051] When the fan board CPLD of the node is informed of the power control type through the CMC, whether the node is powered off or not due to leakage is sent to the relevant register of the fan board CPLD through the IIC bus (Inter-Integrated Circuit) to inform the relevant operation, that is, the power control type is sent to the second complex programmable logic device through the chassis management controller using the integrated circuit bus. Furthermore, the node CPLD of each node determines whether the node is powered off or not due to leakage by reading the GPIO (General-purpose input / output) of the fan board CPLD. Specifically, the level state set by the second complex programmable logic device of the fan board through the second general input / output port is read through the first complex programmable logic device of the target node to determine the power control type set by the chassis management controller when performing leakage management.

[0052] It can be understood that the second general input / output port is a GPIO adjusted for the fan board CPLD of the current target node. The fan board CPLD can inform the target node CPLD whether to power off due to leakage or not by pulling up or down the GPIO, so that the CPLD can control whether to power off when leakage occurs.

[0053] When the power control type is notified to the node's BMC through the CMC, the node BMC is specifically notified through IPMB (Intelligent Platform Management Bus) whether the power is currently shut down due to leakage or not shut down due to leakage. Furthermore, the node BMC can display the current setting status on the Web interface. It can be understood that BMC Web is the BMC web page interface. When the CMC informs the BMC of the set power status type, the BMC can access it through a browser on the Web, and manage the server in the form of a web page and visual operations.

[0054] In addition, the CMC provides a Web interface for the user to select the power control type set by the chassis management controller when performing leakage management. Specifically, the user sets the power control type for the target node in advance in the corresponding first web page interface through the first web page operation interface. It can be understood that the first web page interface is the Web interface provided by the CMC, and the first web page interface is the web page interface for setting the power control type through the first web page interface.

[0055] Step S12: When a leakage state is detected in the target node, if the power control type is power-off due to leakage, the leakage state is notified to the baseboard manager through the first general input / output port to generate a first log, and the power of the target node is turned off, and the corresponding power-off state is notified to the second complex programmable logic device, so that based on the power-off state, the leakage state is notified to the chassis management controller through the second complex programmable logic device to generate a second log.

[0056] It should be pointed out that the CMC and fan board CPLD related firmware are set by default to not shut down the power supply in case of leakage, so as to ensure normal use. Specifically, if the power control type set by the user for the target node in advance through the first web page operation interface in the corresponding first web page interface is not detected, the power control type is set to not shut down the power supply in case of leakage by default. It can be seen that when no relevant setting is made for the node to shut down the power supply in case of leakage, the power control type is set to not shut down the power supply in case of leakage by default.

[0057] like Figure 2 The figure shows, in a specific implementation manner, if the target node is set to be powered off due to leakage, the execution flow when it is detected that the current target node is in a leakage state.

[0058] For the setting of power-off due to leakage, the node CPLD informs the BMC by pulling up or down the GPIO. For the node BMC, it will read the relevant GPIO to determine whether leakage has occurred and display it, and report a leakage warning. It should be pointed out that in the embodiment of the present application, the first general input / output port is the GPIO of the power control type notified by the node CPLD to the BMC. When the node BMC learns about the leakage status of the target node, it generates a first log for relevant log prompts.

[0059] At the same time, when the power is turned off due to leakage, the node CPLD controls the shutdown of the node's Main Power, and then informs the fan board CPLD of the node's power-off status. The CMC learns the node where the leakage occurs by reading the fan board CPLD, that is, determines the target node where the leakage occurs, and then generates a second log and displays it in the log.

[0060] In this way, it is ensured that the BMC and CMC have their own ways to understand the node leakage situation, and the CMC and BMC will simultaneously provide leakage log prompts to facilitate node identification and root cause identification.

[0061] Further, according to Figure 2 From the content, it can be seen that after the node BMC reports the leakage warning, the node where the leakage occurs can be known. Repair the node, and after the repair is completed, send a command through the CMC to restore the power of the node. The process ends.

[0062] Step S13: If the power control type is leakage without power-off, the leakage status is notified to the baseboard manager through the first general input / output port to generate a third log, and the leakage status is notified to the second complex programmable logic device so that the second complex programmable logic device notifies the chassis management controller of the leakage status to generate a fourth log.

[0063] In another specific implementation, if the target node is set to not power off in case of leakage, when the current target node is detected to be leaking, there will only be a log record, and no related power-off operation will be performed. The overall status of the node and the chassis will operate normally, which will neither affect the normal operation of the OS (Operating System) nor the normal use of users.

[0064] Similarly, for the leakage status of the target node, the node CPLD informs the BMC by pulling up or down the GPIO; at the same time, the node CPLD informs the fan board CPLD, and the fan board CPLD informs the CMC of the leakage status of different nodes through the corresponding register. Ensure that the BMC and CMC have their own ways to understand the node leakage status and provide relevant log prompts.

[0065] The present application provides a leakage processing method for a multi-node server, which is applied to a first complex programmable logic device of a target node, including: determining a fan board corresponding to the target node, and reading a second complex programmable logic device of the fan board to determine the power control type set by a chassis management controller when performing leakage management; when a leakage state is detected in the target node, if the power control type is power-off due to leakage, notifying a baseboard manager of the leakage state through a first general input / output port to generate a first log, and shutting down the power of the target node, and notifying the second complex programmable logic device of the corresponding power-off state, so that based on the power-off state, the chassis management controller is notified of the leakage state through the second complex programmable logic device to generate a second log; if the power control type is power-off due to leakage, notifying the baseboard manager of the leakage state through the first general input / output port to generate a third log, and notifying the second complex programmable logic device of the leakage state, so that the second complex programmable logic device notifies the chassis management controller of the leakage state to generate a fourth log.

[0066] The beneficial technical effects of the present application are: in response to the leakage of multi-node servers, through the cooperative design of software and hardware, through the relevant interaction between CMC, BMC, node CPLD and fan board CPLD, relevant leakage operations and prompts are performed when the multi-node server has a leakage state. Under the premise that CMC manages the overall leakage state and sets the corresponding power control type, it is ensured that BMC and CMC have their own ways to understand the node leakage state and make relevant log prompts. It is ensured that when a node leaks, the leakage state can be prompted in time; it is ensured that the server can run effectively for a long time under the condition of liquid cooling, and the user's long-term normal use and performance requirements for multi-node servers are met. At the same time, in response to the leakage phenomenon, CMC and BMC generate logs in time to facilitate rapid location of the problem and repair it, ensuring normal use by users.

[0067] In addition, the present invention ensures that the domestic chassis management system meets the requirements of different scenarios, improves server performance, meets the needs of different users, and the main domestic servers are adapted to use in more occasions.

[0068] Based on the above embodiment, in a feasible implementation manner, the leakage of different nodes is observed in real time. In order to prevent the leakage of a certain node from affecting other nodes in the chassis, the embodiment may further include the following steps:

[0069] Determine the synchronization node group to which the target node belongs, and synchronize the power control type set for the target node to other nodes in the synchronization node group except the target node;

[0070] The chassis management controller uses an intelligent platform management bus to notify the baseboard management controller corresponding to each node in the synchronization node group of the power control type, so that the baseboard management controller displays the power control type on the second web page interface.

[0071] In the embodiment of the present application, for the setting of power-off and non-power-off due to leakage, the CMC sets the relevant leakage action and synchronizes a preset number of nodes at one time, such as synchronizing eight nodes at one time. And for the setting of power-off due to leakage, for the sake of insurance, a node state is set, and all nodes are unified and effective.

[0072] It can be seen that the synchronization node group stores the nodes that need to be synchronized at one time. The number of nodes in the synchronization node group can be defined according to the actual situation, and no specific limit is given here. When the power control type is set for the target node in the synchronization node group, the currently set power control type will be synchronized to other nodes in the synchronization node group except the target node.

[0073] In addition, it is understandable that when a leakage occurs, because a preset number of nodes are synchronized at one time, all nodes will be shut down due to leakage. In this way, leakage of a certain node can be prevented from affecting other nodes in the chassis. At the same time, only the power of S5 is retained to ensure that the BMC can still operate normally.

[0074] In the embodiment of the present application, the CMC provides a Web interface for users to select operations. When the user sets the node leakage status through the Web page, the CMC first sends the fan board CPLD related registers to inform the relevant operation; the fan board CPLD informs the CPLD of each node through GPIO whether it is currently powered off due to leakage or not powered off due to leakage, so that the CPLD controls whether to power off when leakage occurs. Then the CMC informs the node BMC of the current setting status through IPMB, and the BMC displays the current status on the Web page.

[0075] It can be seen that in this embodiment, in order to reduce errors when setting nodes, all nodes in the synchronization node group are synchronized at one time. In addition, because a preset number of nodes are synchronized at one time, all nodes will be powered off due to leakage when a node leaks. In this way, it is possible to prevent leakage of a certain node from affecting other nodes in the chassis. In addition, under the premise that the CMC manages the overall leakage status and sets power-off due to leakage and power-off without leakage, the BMC of the node will read the leakage power-off status set by the CMC through IPMB, determine whether leakage occurs through GPIO and display the log, so as to quickly locate the problem and repair it, and ensure normal use by the user.

[0076] Based on the above embodiment, in a feasible implementation manner, in order to ensure normal use by users, the node repair work is performed on the target node in the leakage state in the embodiment of the present application. Specifically, the following steps may be included:

[0077] Unplug the target node for repair, and after the target node is repaired, obtain a power control command input by a user through the chassis management controller;

[0078] powering on the target node recovery node according to the power control command, and notifying the second complex programmable logic device of a corresponding power recovery state;

[0079] The power control type corresponding to the second complex programmable logic device is adjusted to not shut down the power in case of leakage.

[0080] In the embodiment of the present application, when a leakage state occurs, the target node needs to be unplugged for repair. After the repair is completed, the user inputs a power control command through the CMC to restore the power on the target node, and then notifies the fan board CPLD of the corresponding power recovery state, informing the fan board CPLD that the leakage state has been resolved and the node has been repaired. Finally, the status of all nodes is restored to the default mode, which becomes a mode where the power is not turned off in the event of leakage.

[0081] It can be seen that in this embodiment, with the cooperation of CMC, BMC, node CPLD and fan board CPLD, the target node with liquid leakage is further repaired. After the node is repaired, it is powered on again to ensure the long-term effective operation of the server under the condition of heat dissipation through liquid cooling.

[0082] Based on the above embodiment, in a feasible implementation, in order to facilitate the use of leakage-related tests, the embodiment of the present application adds relevant simulation leakage operations. Specifically, the following steps may also be included:

[0083] Determine a current leakage simulation node, and send a simulation leakage instruction to a third complex programmable logic device of a fan board corresponding to the current leakage simulation node through the chassis management controller based on a preset instruction sending method;

[0084] Reading the third complex programmable logic device to determine a current level state of the third complex programmable logic device set through a third general purpose input / output port;

[0085] According to the current level state, the fourth general input / output port of the current leakage simulation node is jumped, so that the corresponding baseboard management controller sets the node status light of the current leakage simulation node to the abnormal health state when polling and reading the fourth general input / output port, and generates a fifth log; and the current leakage simulation node is notified to the third complex programmable logic device, so that the third complex programmable logic device notifies the chassis management controller of the current leakage simulation node to generate a sixth log;

[0086] Based on the fifth log and the sixth log, a simulated leakage shutdown instruction is obtained, and then the current leakage simulation node is re-determined, and the step of sending a simulated leakage instruction to the third complex programmable logic device of the fan board corresponding to the current leakage simulation node through the chassis management controller based on a preset instruction sending method is triggered.

[0087] In the embodiment of the present application, simulation instructions are added for the leakage situation. That is, the CMC sends instructions to the fan board CPLD for a single node, and the node reads the fan board CPLD to jump the GPIO of the leakage-related pin. At this time, the BMC of the node reads the GPIO jump to record the log. Through the simulation command, it can be observed whether the entire path is available and normal.

[0088] like Figure 3 As shown, for the simulated leakage function, first, the simulated leakage instruction is set for a specific node through the CMC. Specifically, through the chassis management controller, the simulated leakage instruction is sent to the third complex programmable logic device of the fan board corresponding to the current leakage simulation node using the second web page operation interface; or, through the chassis management controller, based on the intelligent platform management interface command (Intelligent Platform Management Interface, IPMI), the simulated leakage instruction is sent to the third complex programmable logic device of the fan board corresponding to the current leakage simulation node. It can be seen that it can be issued through the Web page interface or through the IPMI command. In this process, a log is recorded at the same time to indicate that the simulated leakage instruction has been issued.

[0089] Secondly, after the fan board CPLD receives the simulated leakage command from the CMC, it modifies the relevant GPIO to inform the CPLD of the specific node to modify the GPIO of the relevant leakage interaction and perform the simulated leakage operation. When the node BMC polls and reads the relevant GPIO, it finds that the GPIO related to the leakage has jumped and believes that a leakage has occurred. At this time, the BMC generates a warning log and turns the node status light red, indicating that the health status is abnormal.

[0090] It is understandable that the node status light can be used to characterize the health status of the corresponding node, that is, it corresponds to whether the detected node has leaked. In a feasible implementation, the node status light can be indicated according to the leakage prediction signal and the leakage warning signal. In this way, as long as one of the leakage prediction signal and the leakage warning signal indicates that the server is leaking, the node status light needs to be set to an abnormal health state, and an alarm is issued in time to protect the circuit components from damage in time. Under the mechanism of dual protection functions, the system reliability is ensured. If a signal cannot respond in time, the normal operation of the other signal can also be used as a reminder to reduce the risk of leakage short circuit. Among them, the types of leakage prediction signals and leakage warning signals can be determined according to the application scenario. For example, the leakage prediction signal and the leakage warning signal can both be text signals, or both can be digital signals, etc. The present invention does not make specific limitations here.

[0091] Finally, after the above process proceeds normally and both CMC and BMC generate relevant logs, it indicates that the leakage-related pathways and functions are normal. At this time, CMC sends a simulated leakage shutdown command, and then re-determines the current leakage simulation node that needs to simulate leakage, and continues to re-set the current leakage simulation node according to the above process through CMC.

[0092] It can be seen that the present embodiment adds the operation of simulating leakage, which is convenient for testers and users to perform relevant simulation tests on the leakage function without having to produce actual leakage behavior, greatly reducing the test cost and facilitating the inspection of related problems. In this way, the multi-node server meets the basic use of users and the basic performance requirements of the server.

[0093] Correspondingly, the embodiment of the present application also discloses a liquid leakage processing device for a multi-node server, which is applied to a first complex programmable logic device of a target node, see Figure 4 As shown, the device comprises:

[0094] A power control type determination module 11 is used to determine the fan board corresponding to the target node and read the second complex programmable logic device of the fan board to determine the power control type set by the chassis management controller when performing leakage management;

[0095] The first processing module 12 is configured to, when a leakage state is detected in the target node, if the power control type is power off due to leakage, notify the baseboard manager of the leakage state through the first general input / output port to generate a first log, and shut down the power of the target node, and notify the second complex programmable logic device of the corresponding power-off state, so that based on the power-off state, the chassis management controller is notified of the leakage state through the second complex programmable logic device to generate a second log;

[0096] The second processing module 13 is used for notifying the baseboard manager of the leakage status through the first general input / output port to generate a third log if the power control type is leakage without power off, and notifying the second complex programmable logic device of the leakage status so that the second complex programmable logic device notifies the chassis management controller of the leakage status to generate a fourth log.

[0097] Among them, for more specific working processes of the above-mentioned modules, please refer to the corresponding contents disclosed in the aforementioned embodiments, which will not be repeated here.

[0098] It can be seen that, through the above scheme of this embodiment, the first complex programmable logic device applied to the target node includes: determining the fan board corresponding to the target node, and reading the second complex programmable logic device of the fan board to determine the power control type set by the chassis management controller when performing leakage management; when it is monitored that the target node has a leakage state, if the power control type is leakage power-off, the leakage state is notified to the baseboard manager through the first general input / output port to generate a first log, and the power of the target node is turned off, and the corresponding power-off state is notified to the second complex programmable logic device, so that based on the power-off state, the leakage state is notified to the chassis management controller through the second complex programmable logic device to generate a second log; if the power control type is leakage without power-off, the leakage state is notified to the baseboard manager through the first general input / output port to generate a third log, and the leakage state is notified to the second complex programmable logic device, so that the second complex programmable logic device notifies the chassis management controller of the leakage state to generate a fourth log.

[0099] The beneficial technical effects of the present application are: in response to the leakage of multi-node servers, through the cooperative design of software and hardware, through the relevant interaction between CMC, BMC, node CPLD and fan board CPLD, relevant leakage operations and prompts are performed when the multi-node server has a leakage state. Under the premise that CMC manages the overall leakage state and sets the corresponding power control type, it is ensured that BMC and CMC have their own ways to understand the node leakage state and make relevant log prompts. It is ensured that when a node leaks, the leakage state can be prompted in time; it is ensured that the server can run effectively for a long time under the condition of liquid cooling, and the user's long-term normal use and performance requirements for multi-node servers are met. At the same time, in response to the leakage phenomenon, CMC and BMC generate logs in time to facilitate rapid location of the problem and repair it, ensuring normal use by users.

[0100] In a specific implementation manner, the power control type determination module 11 is specifically configured to:

[0101] The level state of the second complex programmable logic device of the fan board set through the second general input / output port is read to determine the power control type set by the chassis management controller when performing leakage management; wherein the user sets the power control type for the target node in advance on the corresponding first web page interface through the first web page operation interface, and sends the power control type to the second complex programmable logic device through the chassis management controller using the integrated circuit bus.

[0102] In a specific implementation, the liquid leakage processing device of the multi-node server further includes:

[0103] The default type setting module is used to set the power control type by default to no power off due to leakage if the power control type previously set by the user for the target node in the corresponding first web page interface through the first web page operation interface is not detected.

[0104] In a specific implementation, the liquid leakage processing device of the multi-node server further includes:

[0105] A synchronization node group determination module, used to determine the synchronization node group to which the target node belongs, and synchronize the power control type set for the target node to other nodes in the synchronization node group except the target node;

[0106] The notification module is used to notify the baseboard management controller corresponding to each node in the synchronization node group of the power control type through the chassis management controller and the intelligent platform management bus, so that the baseboard management controller displays the power control type on the second web page interface.

[0107] In a specific implementation, the liquid leakage processing device of the multi-node server further includes:

[0108] A repair module, used to unplug and repair the target node, and obtain a power control command input by a user through the chassis management controller after the target node is repaired;

[0109] A power-on module, used to power on the target node according to the power control command, and notify the second complex programmable logic device of a corresponding power recovery state;

[0110] An adjustment module is used to adjust the power control type corresponding to the second complex programmable logic device to not shut down the power in case of leakage.

[0111] In a specific implementation, the liquid leakage processing device of the multi-node server further includes:

[0112] A simulated leakage instruction sending module is used to determine a current leakage simulation node, and send a simulated leakage instruction to a third complex programmable logic device of a fan board corresponding to the current leakage simulation node through the chassis management controller based on a preset instruction sending method;

[0113] A reading module, used for reading the third complex programmable logic device to determine a current level state of the third complex programmable logic device set through a third general purpose input / output port;

[0114] a third processing module, configured to jump the fourth universal input / output port of the current leakage simulation node according to the current level state, so that the corresponding baseboard management controller sets the node status light of the current leakage simulation node to a healthy abnormal state when polling and reading the fourth universal input / output port, and generates a fifth log; and notify the third complex programmable logic device of the current leakage simulation node, so that the third complex programmable logic device notifies the chassis management controller of the current leakage simulation node to generate a sixth log;

[0115] A jump module is used to obtain a simulated leakage shutdown instruction based on the fifth log and the sixth log, and then redetermine the current leakage simulation node, and trigger the step of sending a simulated leakage instruction to the third complex programmable logic device of the fan board corresponding to the current leakage simulation node through the chassis management controller based on a preset instruction sending method.

[0116] In a specific implementation, the simulated leakage instruction sending module is specifically used to:

[0117] By means of the chassis management controller, a simulation leakage instruction is sent to a third complex programmable logic device of the fan board corresponding to the current leakage simulation node by using a second webpage operation interface;

[0118] Or, through the chassis management controller, based on the intelligent platform management interface command, a simulation leakage instruction is sent to the third complex programmable logic device of the fan board corresponding to the current leakage simulation node.

[0119] Furthermore, the present application also discloses an electronic device. Figure 5 This is a structural diagram of an electronic device 20 according to an exemplary embodiment, and the content in the diagram cannot be considered as any limitation on the scope of use of the present application.

[0120] Figure 5 A schematic diagram of the structure of an electronic device 20 provided in an embodiment of the present application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 is used to store a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the liquid leakage processing method of the multi-node server disclosed in any of the aforementioned embodiments.

[0121] In this embodiment, the power supply 23 is used to provide working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and the external device, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited here; the input and output interface 25 is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs and is not specifically limited here.

[0122] In addition, the memory 22 as a carrier for resource storage may be a read-only memory, a random access memory, a disk or an optical disk, etc. The resources stored thereon may include an operating system 221, a computer program 222 and data 223, etc. The data 223 may include various data. The storage method may be temporary storage or permanent storage.

[0123] The operating system 221 is used to manage and control the hardware devices and computer programs 222 on the electronic device 20, and may be Windows Server, Netware, Unix, Linux, etc. In addition to the computer program that can be used to complete the liquid leakage treatment method of the multi-node server executed by the electronic device 20 disclosed in any of the aforementioned embodiments, the computer program 222 may further include computer programs that can be used to complete other specific tasks.

[0124] Furthermore, the embodiment of the present application also discloses a computer-readable storage medium, wherein the computer-readable storage medium mentioned here includes a random access memory (Random Access Memory, RAM), a memory, a read-only memory (Read-Only Memory, ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a magnetic disk or an optical disk, or any other form of storage medium known in the technical field. Wherein, when the computer program is executed by the processor, the aforementioned multi-node server leakage processing method is implemented. For the specific steps of the method, reference can be made to the corresponding contents disclosed in the aforementioned embodiments, which will not be repeated here.

[0125] Furthermore, an embodiment of the present application also provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements any one of the above-mentioned methods for handling liquid leakage in a multi-node server.

[0126] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0127] The steps of the liquid leakage treatment method or algorithm for the multi-node server described in the embodiments disclosed herein can be directly implemented by hardware, a software module executed by a processor, or a combination of the two. The software module can be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the technical field.

[0128] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0129] The above is a detailed introduction to the leakage treatment method, device, equipment and medium of a multi-node server provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A method for handling liquid leakage in a multi-node server, characterized in that: A first complex programmable logic device applied to a target node comprises: Determine a fan board corresponding to the target node, and read a second complex programmable logic device of the fan board to determine a power control type set by a chassis management controller when performing leakage management; When a liquid leakage state is detected in the target node, if the power control type is power off due to liquid leakage, the baseboard manager is notified of the liquid leakage state through the first general input / output port to generate a first log, the power of the target node is turned off, and the corresponding power off state is notified to the second complex programmable logic device, so that based on the power off state, the chassis management controller is notified of the liquid leakage state through the second complex programmable logic device to generate a second log; If the power control type is leakage without power-off, the leakage status is notified to the baseboard manager through the first general input / output port to generate a third log, and the leakage status is notified to the second complex programmable logic device so that the second complex programmable logic device notifies the chassis management controller of the leakage status to generate a fourth log.

2. The method for handling liquid leakage of a multi-node server according to claim 1, characterized in that: The step of reading the second complex programmable logic device of the fan board to determine the power control type set by the chassis management controller when performing leakage management includes: The level state of the second complex programmable logic device of the fan board set through the second general input / output port is read to determine the power control type set by the chassis management controller when performing leakage management; wherein the user sets the power control type for the target node in advance on the corresponding first web page interface through the first web page operation interface, and sends the power control type to the second complex programmable logic device through the chassis management controller using the integrated circuit bus.

3. The method for handling liquid leakage of a multi-node server according to claim 2, characterized in that: Also includes: If the power control type set in advance for the target node by the user in the corresponding first web page interface through the first web page operation interface is not monitored, the power control type is set by default to not shut down the power when leaking.

4. The method for handling liquid leakage of a multi-node server according to claim 1, characterized in that: Also includes: Determine the synchronization node group to which the target node belongs, and synchronize the power control type set for the target node to other nodes in the synchronization node group except the target node; The chassis management controller uses an intelligent platform management bus to notify the baseboard management controller corresponding to each node in the synchronization node group of the power control type, so that the baseboard management controller displays the power control type on the second web page interface.

5. The method for handling liquid leakage of a multi-node server according to claim 1, characterized in that: If the power control type is power-off due to leakage, the leakage state is notified to the baseboard manager through the first general input / output port to generate a first log, the power of the target node is turned off, and the corresponding power-off state is notified to the second complex programmable logic device, so that based on the power-off state, the leakage state is notified to the chassis management controller through the second complex programmable logic device to generate a second log, and the method further includes: Unplug the target node for repair, and after the target node is repaired, obtain a power control command input by a user through the chassis management controller; powering on the target node recovery node according to the power control command, and notifying the second complex programmable logic device of a corresponding power recovery state; The power control type corresponding to the second complex programmable logic device is adjusted to not shut down the power in case of leakage.

6. The method for handling liquid leakage of a multi-node server according to any one of claims 1 to 5, characterized in that: Also includes: Determine a current leakage simulation node, and send a simulation leakage instruction to a third complex programmable logic device of a fan board corresponding to the current leakage simulation node through the chassis management controller based on a preset instruction sending method; Reading the third complex programmable logic device to determine a current level state of the third complex programmable logic device set through a third general purpose input / output port; According to the current level state, the fourth general input / output port of the current leakage simulation node is jumped, so that the corresponding baseboard management controller sets the node status light of the current leakage simulation node to a healthy abnormal state when polling and reading the fourth general input / output port, and generates a fifth log; and notifying the third complex programmable logic device of the current liquid leakage simulation node, so that the third complex programmable logic device notifies the chassis management controller of the current liquid leakage simulation node to generate a sixth log; Based on the fifth log and the sixth log, a simulated leakage shutdown instruction is obtained, and then the current leakage simulation node is re-determined, and the step of sending a simulated leakage instruction to the third complex programmable logic device of the fan board corresponding to the current leakage simulation node through the chassis management controller based on a preset instruction sending method is triggered.

7. The method for handling liquid leakage of a multi-node server according to claim 6, characterized in that: The step of sending a simulated liquid leakage instruction to a third complex programmable logic device of a fan board corresponding to the current liquid leakage simulation node through the chassis management controller based on a preset instruction sending method includes: By means of the chassis management controller, a simulation leakage instruction is sent to a third complex programmable logic device of the fan board corresponding to the current leakage simulation node by using a second webpage operation interface; Or, through the chassis management controller, based on the intelligent platform management interface command, a simulation leakage instruction is sent to the third complex programmable logic device of the fan board corresponding to the current leakage simulation node.

8. A liquid leakage treatment device for a multi-node server, characterized in that: A first complex programmable logic device applied to a target node comprises: A power control type determination module, used to determine the fan board corresponding to the target node, and read the second complex programmable logic device of the fan board to determine the power control type set by the chassis management controller when performing leakage management; a first processing module, configured to, when a liquid leakage state is detected in the target node, if the power control type is power off due to leakage, notify the baseboard manager of the liquid leakage state through the first general input / output port to generate a first log, shut down the power of the target node, and notify the second complex programmable logic device of the corresponding power off state, so that based on the power off state, the chassis management controller is notified of the liquid leakage state through the second complex programmable logic device to generate a second log; The second processing module is used to notify the baseboard manager of the leakage status through the first general input / output port to generate a third log if the power control type is leakage without power off, and to notify the second complex programmable logic device of the leakage status so that the second complex programmable logic device notifies the chassis management controller of the leakage status to generate a fourth log.

9. An electronic device, characterized in that: The electronic device includes a processor and a memory; wherein the memory is used to store a computer program, and the computer program is loaded and executed by the processor to implement the liquid leakage processing method of the multi-node server as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: Used to store computer programs; wherein when the computer program is executed by the processor, the liquid leakage processing method for the multi-node server as described in any one of claims 1 to 7 is implemented.

Citation Information

Cited By

  • Equipment liquid leakage joint prevention control method and electronic equipment

    CN121210245A