Power supply control method and device for multi-node server
By deploying power distributors and power supply controllers in multi-node servers, we can identify and respond to power supply failures, solve the problem of server node downtime caused by power failures, improve power supply efficiency, and ensure the normal operation of the system.
Patent Information
- Application Number
- CN202411488331.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-23
- Publication Date
- 2025-01-24
- Estimated Expiration
- 2044-10-23
AI Technical Summary
In multi-node servers, power supply failure causes server nodes to go down, affecting the normal operation of the overall system, and the efficiency of existing power supply methods is low.
In multi -node servers, each server node deploys electrical energy distribution device, and detects the electrical signal and power supply information through the power supply controller to identify the faulty energy supply device, and control the power distributioner to supply power to the target server node to ensure that the node is still under fault conditions. Can get power supply support.
Through this method, the server node caused by the failure of the power supply device is completely down, which improves the power supply efficiency of multi -node servers and ensure the normal operation of the system.
Smart Images

Figure CN119356506A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the computer field, and more specifically, to a power supply control method and device for a multi-node server. Background Art
[0002] The multiple server nodes on the multi-node server are powered by the corresponding power supplies, but if a power supply fails to provide power support, the server node corresponding to the power supply will be completely shut down and unable to work normally, which will further affect the normal operation of the multi-node server. The current power supply method has low power supply efficiency for multi-node servers. Summary of the invention
[0003] The embodiments of the present application provide a power supply control method and device for a multi-node server, so as to at least solve the problem of low power supply efficiency for a multi-node server in the related art.
[0004] According to an embodiment of the present application, a power supply control method for a multi-node server is provided, the multi-node server comprising: a plurality of groups of server nodes and power suppliers connected in a one-to-one correspondence, and a power supply controller, a power distributor is deployed on each of the server nodes, each of the power suppliers is used to supply power to the corresponding server node, the power supply controller is connected to each of the power suppliers, and the power supply controller is also connected to each of the power distributors, the method is applied to the power supply controller, the method comprising: detecting a power-on signal of the multi-node server, wherein the power-on signal is used to control the power-on of the multi-node server; in case of detecting the power-on signal, detecting a faulty power supplier having a power supply fault in each of the power suppliers according to power supply information corresponding to each of the power suppliers, wherein the power supply information is used to indicate the connection status between the corresponding power supplier and the corresponding server node and the power output status of the corresponding power supplier; in case of detecting the faulty power supplier, controlling the target power distributor deployed on the target server node corresponding to the faulty power supplier to supply power to the target server node.
[0005] As an optional implementation, the detecting of a faulty power supply having a power supply fault among each of the power supplies according to the power supply information corresponding to each of the power supplies comprises: detecting a first signal state of each received first power supply signal, wherein the first signal state is used to indicate a connection state between the corresponding power supply and the corresponding server node, a power receiving state of the corresponding power supply, and a conversion and output state of the received power by the corresponding power supply, and the power supply information comprises the first power supply signal; in the case where it is detected that the target first signal state is used to indicate an abnormal state of the connection state, the power receiving state, and / or the conversion and output state, it is determined that the power supply corresponding to the target first signal state is the faulty power supply; or, detecting a second signal state of each received second power supply signal, wherein the second signal state is used to indicate an operating state of the corresponding power supply, and the power supply information comprises the second power supply signal; in the case where it is detected that the target second signal state is used to indicate an abnormal state of the operating state, it is determined that the power supply corresponding to the target second signal state is the faulty power supply.
[0006] As an optional implementation, the power supply controller establishes a first connection with the power supply through the first pin of each of the power supplies, establishes a second connection with the power supply through the second pin of each of the power supplies, and establishes a third connection with the power supply through the third pin of each of the power supplies; the detecting of the first signal state of each received first power supply signal includes: detecting the level state of the first signal from the first connection, the level state of the second signal from the second connection, and the level state of the third signal from the third connection of each power supply, wherein the first power supply signal includes the first signal, the second signal, and the third signal; when the level state of the first signal is detected to be a high level state, it is determined that the target first signal state is detected to indicate that the connection state is an abnormal state; when the level state of the second signal is detected to be a low level state, it is determined that the target first signal state is detected to indicate that the power receiving state is an abnormal state; when the level state of the third signal is detected to be a low level state, it is determined that the target first signal state is detected to indicate that the conversion output state is an abnormal state.
[0007] As an optional embodiment, the power supply controller establishes a fourth connection with the power supply through the fourth pin of each of the power supplies and establishes a fifth connection with the power supply through the fifth pin of each of the power supplies; the detection of the second signal state of each received second power supply signal includes: detecting the level state of a fourth signal from the fourth connection of each power supply, wherein the second power supply signal includes the fourth signal; when it is detected that the level state of the fourth signal is a low level state, determining that the target second signal state is detected to indicate that the operating state is an abnormal state; after detecting that the level state of the fourth signal is a low level state, the method also includes: sending a fault information acquisition request to the faulty power supply through the fifth connection, wherein the fault information acquisition request is used to request to obtain fault information of the faulty power supply.
[0008] As an optional embodiment, the power supply controller includes a power supply processor and an electric energy aggregator, the power supply processor is connected to the electric energy aggregator, the electric energy aggregator and the power supply processor are both connected to each of the electric energy distributors, and the electric energy aggregator is also connected to each of the electric energy suppliers; the control of the target electric energy distributor deployed on the target server node corresponding to the faulty electric energy supplier to supply power to the target server node includes: the electric energy aggregator allocates target electric energy to the target electric energy distributor; the power supply processor sends an enable signal to the target electric energy distributor, wherein the target electric energy distributor is used to respond to the enable signal and use the target electric energy to power the target server node.
[0009] As an optional implementation, after detecting the power-on signal, the method further includes: searching for a reference server node configured with a leakage detection function from each of the server nodes according to the leakage detection configuration of each of the server nodes, wherein the leakage detection configuration is used to indicate the configuration status of the leakage detection circuit in the corresponding server node; when the reference server node is found, controlling the reference power distributor deployed on the reference server node to power the reference server node instead of the power supplier corresponding to the reference server node, and monitoring the leakage information of the leakage detection circuit of the reference server node, wherein the leakage information is used to indicate the leakage status on the reference server node; when the leakage information is monitored to indicate the existence of leakage on the reference server node, controlling the reference power distributor to stop powering the reference server node.
[0010] According to another embodiment of the present application, a multi-node server is provided, comprising: multiple groups of server nodes and power suppliers connected in one-to-one correspondence, and a power supply controller, a power distributor is deployed on each of the server nodes, the power supply controller is connected to each of the power suppliers, and the power supply controller is also connected to each of the power distributors; each of the power suppliers is used to supply power to the corresponding server node; the power supply controller is used to implement the steps in any of the above method embodiments.
[0011] According to another embodiment of the present application, a power supply device for a multi-node server is provided, the multi-node server comprising: a plurality of groups of server nodes and power suppliers connected in a one-to-one correspondence, and a power supply controller, a power distributor is deployed on each of the server nodes, each of the power suppliers is used to supply power to the corresponding server node, the power supply controller is connected to each of the power suppliers, the power supply controller is also connected to each of the power distributors, the device is applied to the power supply controller, and the device comprises:
[0012] A first detection module, used to detect a power-on signal of the multi-node server, wherein the power-on signal is used to control the multi-node server to power on;
[0013] A second detection module is used to detect a faulty power supply having a power supply fault among the power supplies according to power supply information corresponding to each of the power supplies when the power-on signal is detected, wherein the power supply information is used to indicate a connection state between the corresponding power supply and the corresponding server node and a power output state of the corresponding power supply;
[0014] The first control module is used to control the target power distributor deployed on the target server node corresponding to the faulty power supplier to supply power to the target server node when the faulty power supplier is detected.
[0015] According to another embodiment of the present application, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when run.
[0016] According to another embodiment of the present application, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0017] Through the present application, since each server node in the multi-node server is deployed with a power distributor on the basis of being connected to the corresponding power supplier, and each power supplier is also connected to the power supply controller, the power supply controller in the multi-node server will detect the power-on signal of the multi-node server. When the power-on signal is detected, the power supply controller detects the faulty power supplier with power supply failure in each power supplier according to the power supply information corresponding to each power supplier. When the faulty power supplier is detected, the power supply controller will control the target power distributor deployed on the target server node corresponding to the faulty power supplier to supply power to the target server node. The target server node can still obtain power supply support when the corresponding connected power supplier fails, thereby avoiding the complete downtime of the corresponding server node due to the power supplier failure, and further avoiding the adverse impact on the normal operation of the multi-node server. Therefore, the problem of low power supply efficiency for the multi-node server can be solved, and the effect of improving the power supply efficiency for the multi-node server can be achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 It is a hardware structure block diagram of a server device of a power supply control method for a multi-node server in an embodiment of the present application;
[0019] Figure 2 is a flow chart of a power supply control method for a multi-node server according to an embodiment of the present application;
[0020] Figure 3 is a schematic diagram of a power supply control method for a dual-node server according to an embodiment of the present application;
[0021] Figure 4 is a connection diagram of a power supply device and a power supply controller according to an embodiment of the present application;
[0022] Figure 5 is a schematic diagram of a multi-node server power supply method according to an embodiment of the present application;
[0023] Figure 6 is a schematic diagram of a power supply method for a reference server node according to an embodiment of the present application;
[0024] Figure 7 is a schematic diagram of a method for a multi-node server BMC to obtain information according to an embodiment of the present application;
[0025] Figure 8 is a schematic diagram of a multi-node server according to an embodiment of the present application;
[0026] Fig. 9 It is a structural block diagram of a power supply control device for a multi-node server according to an embodiment of the present application. DETAILED DESCRIPTION
[0027] The embodiments of the present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0028] It should be noted that the terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0029] The method embodiments provided in the embodiments of the present application can be executed in a server device or a similar computing device. Taking running on a server device as an example, Figure 1 1 is a hardware structure block diagram of a server device of a power supply control method for a multi-node server in an embodiment of the present application. Figure 1 As shown, the server device may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the server device may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above server device. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.
[0030] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the power supply control method of the multi-node server in the embodiment of the present application. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, the above method is implemented. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the server device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0031] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the server device. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0032] In this embodiment, a power supply control method for a multi-node server is provided. The multi-node server includes: multiple groups of server nodes and power suppliers connected in a one-to-one correspondence, and a power supply controller. A power distributor is deployed on each server node. Each power supplier is used to supply power to the corresponding server node. The power supply controller is connected to each power supplier. The power supply controller is also connected to each power distributor. The method is applied to the power supply controller. Figure 2 is a flow chart of a power supply control method for a multi-node server according to an embodiment of the present application, such as Figure 2 As shown, the process includes the following steps:
[0033] Step S202, detecting a power-on signal of a multi-node server, wherein the power-on signal is used to control the multi-node server to power on;
[0034] Step S204, in the case where a power-on signal is detected, detecting a faulty power supplier having a power supply fault among the power suppliers according to power supply information corresponding to each power supplier, wherein the power supply information is used to indicate a connection state between the corresponding power supplier and the corresponding server node and a power output state of the corresponding power supplier;
[0035] Step S206 , when a faulty power supplier is detected, controlling a target power distributor deployed on a target server node corresponding to the faulty power supplier to supply power to the target server node.
[0036] Through the above steps, since each server node in the multi-node server is deployed with a power distributor on the basis of being connected to the corresponding power supplier, and each power supplier is also connected to the power supply controller, the power supply controller in the multi-node server will detect the power-on signal of the multi-node server. When the power-on signal is detected, the power supply controller detects the faulty power supplier with power supply failure in each power supplier according to the power supply information corresponding to each power supplier. When the faulty power supplier is detected, the power supply controller will control the target power distributor deployed on the target server node corresponding to the faulty power supplier to supply power to the target server node. The target server node can still obtain power supply support when the corresponding connected power supplier fails, thereby avoiding the complete downtime of the corresponding server node due to the power supplier failure, and further avoiding the adverse impact on the normal operation of the multi-node server. Therefore, the problem of low power supply efficiency for the multi-node server can be solved, and the effect of improving the power supply efficiency for the multi-node server can be achieved.
[0037] Optionally, in an embodiment of the present application, a multi-node server refers to a server cluster composed of multiple server nodes, which can jointly process client requests and provide services. Compared with ordinary servers, multi-node servers have higher reliability and better load balancing capabilities. Multi-node servers can improve the reliability of the system by replicating data and services on multiple nodes. Even if a node fails, other nodes can still continue to provide services, and client requests can also be evenly distributed to different nodes through load balancing strategies to avoid overloading a single node. When one or some server nodes in a multi-node server cannot operate normally due to a power supply failure, it will affect the overall reliability of the multi-node server. Other server nodes in the multi-node server need to take over client requests from server nodes that cannot operate normally, increasing the node load of other server nodes. In the method provided in the present application, the power supplier is connected to the corresponding server node and is also connected to the power supply controller. The power supply controller is also connected to the power distributor deployed on the server node. When a faulty power supplier is detected that cannot normally supply power to the server node, other power suppliers can supply power to the power supply controller through the connection with the power supply controller. Furthermore, the power supply controller transmits the power supplied by other power suppliers to the power distributor deployed on the server node. Therefore, the power distributor deployed on the server node can be controlled to power the server node, thereby avoiding the situation where the server node cannot operate normally due to power supply problems, thereby ensuring the normal operation of multi-node servers.
[0038] Optionally, the power supplier may be, but is not limited to, a device for supplying power to the server node. For example, the power supplier may be a PSU (Power Supply Unit).
[0039] Optionally, in an embodiment of the present application, the power supply controller may be, but is not limited to, a device for storing control logic and transferring electrical energy, for example, a combination of CPLD (Complex Programable Logic Devices) and BUSBAR (busbar).
[0040] Optionally, in an embodiment of the present application, the power distributor may be used, but is not limited to, for converting received electric energy to power connected electrical devices, and may be, for example, a VR (Voltage Regulator).
[0041] In the embodiment provided in step S202, the power-on signal is a signal for controlling the power-on of a multi-node server. The power-on signal may be, but is not limited to, controlling the power-on of all server nodes in the multi-node server, or controlling the power-on of some server nodes in the multi-node server. This application does not impose any restrictions on this.
[0042] Optionally, in an embodiment of the present application, detecting the power-on signal of a multi-node server includes but is not limited to detecting the switch state of a power switch of the multi-node server, and when the switch state is detected to be a closed state, determining that a power-on signal is detected, or detecting a power-on signal from other server nodes.
[0043] In the embodiment provided in step S204, the power supply information may include, but is not limited to, information indicating the connection status between the corresponding power supply and the corresponding server node and information indicating the power output status of the corresponding power supply. The power supply information is used to indicate whether the corresponding power supply can output power normally and whether a connection with the corresponding server node is successfully established. If the power supply cannot output power normally and the power supply fails to successfully establish a connection with the corresponding server node, the power supply cannot normally supply power to the corresponding server node and the power supply will be determined as a faulty power supply.
[0044] In the embodiment provided in step S206, controlling the target power distributor deployed on the target server node corresponding to the faulty power supplier to supply power to the target server node includes but is not limited to detecting fault information of the faulty power supplier, wherein the power supply information includes fault information, and the fault information is used to indicate that the faulty power supplier has a fault; in the case where the fault information is detected to indicate that the connection state in the faulty power supplier has a fault, controlling the target power distributor to provide the target server node with target power, wherein the target power is the power required for the operation of the target server node; in the case where the fault information is detected to indicate that the power output state in the faulty power supplier has a fault, detecting the fault output power of the current faulty power supplier, wherein the fault output power is the power that the faulty power supplier can currently provide to the target server node; controlling the target power distributor to provide supplementary power to the target server node, wherein the supplementary power is the difference between the target power and the fault output power. Through the above steps, all available power resources are utilized as much as possible to avoid the waste of power resources, and the power supply efficiency of multi-node servers is improved from another perspective.
[0045] As an optional implementation, Figure 3 is a schematic diagram of a power supply control method for a dual-node server according to an embodiment of the present application, wherein the multi-node server includes a dual-node server, such as Figure 3 As shown, the dual-node server includes server node 0 and server node 1, server node 0 is connected to power supply 0, power distributor 0 is also deployed on server node 0, server node 1 is connected to power supply 1, power distributor 1 is also deployed on server node 1, and the power supply controller is connected to power distributor 0, power distributor 1, power supply 0 and power supply 1. The power supply controller will detect the power-on signal of the dual-node server, and in the case of detecting the power-on signal, the power supply controller will detect the faulty power supply of power supply 0 and power supply 1 according to the power supply information corresponding to power supply 0 and the power supply information corresponding to power supply 1. If no faulty power supply is detected, server node 0 is powered by power supply 0 through the connection between power supply 0 and server node 0, and server node 1 is powered by power supply 1 through the connection between power supply 1 and server node 1; if a faulty power supply is detected, for example, power supply 0 is detected to be a faulty power supply, the power supply controller controls power distributor 0 to power server node 0, and server node 1 is powered by power supply 1 through the connection between power supply 1 and server node 1. The situation where power supply 1 is detected to be a faulty power supply is similar to the above.
[0046] As an optional implementation, detecting a faulty power supply having a power supply fault among each power supply according to the power supply information corresponding to each power supply includes: detecting a first signal state of each received first power supply signal, wherein the first signal state is used to indicate a connection state between the corresponding power supply and the corresponding server node, a power receiving state of the corresponding power supply, and a conversion and output state of the received power by the corresponding power supply, and the power supply information includes a first power supply signal; in the case where it is detected that the target first signal state is used to indicate an abnormal state of the connection state, the power receiving state, and / or the conversion and output state, it is determined that the power supply corresponding to the detected target first signal state is a faulty power supply; or, detecting a second signal state of each received second power supply signal, wherein the second signal state is used to indicate an operating state of the corresponding power supply, and the power supply information includes a second power supply signal; in the case where it is detected that the target second signal state is used to indicate an abnormal state of the operating state, it is determined that the power supply corresponding to the detected target second signal state is a faulty power supply.
[0047] Optionally, in an embodiment of the present application, the power supply information may include, but is not limited to, information for indicating the operating status of the power supplier, and / or information for indicating the indicator status of specific operating indicators of the power supplier. The specific operating indicators may include, but are not limited to, the connection status between the power supplier and the corresponding server node, the power receiving status of the power supplier, and the conversion output status of the received power by the power supplier, etc.
[0048] Optionally, in an embodiment of the present application, detecting a faulty power supply with a power supply fault among each power supply based on the power supply information corresponding to each power supply includes but is not limited to detecting operating status information of the power supply, and determining the faulty power supply based on the operating status information. In this case, if it is necessary to obtain the specific fault situation, the power supply controller needs to interact with the faulty power supply to obtain the corresponding fault information.
[0049] Optionally, in an embodiment of the present application, the faulty power supply having a power supply fault among the power supplies is detected based on the power supply information corresponding to each power supply, including but not limited to detecting the information of the indicator status of specific operating indicators of the power supply, and determining which indicators have abnormal status based on the indicator status information, thereby determining the faulty power supply.
[0050] Optionally, in an embodiment of the present application, one end of the power supply receives power and the other end is connected to an electrical appliance to power the electrical appliance. The power receiving state of the power supply is the state in which the power supply receives the electric energy output by the power supply. The conversion and output state of the power supply for the received electric energy is the state in which the power supply converts and outputs the received electric energy to the electrical appliance for use when receiving the electric energy output by the power supply.
[0051] As an optional embodiment, the power supply controller establishes a first connection with the power supply through the first pin of each power supply, establishes a second connection with the power supply through the second pin of each power supply, and establishes a third connection with the power supply through the third pin of each power supply; detects the first signal state of each received first power supply signal, including: detecting the level state of the first signal from the first connection, the level state of the second signal from the second connection, and the level state of the third signal from the third connection of each power supply, wherein the first power supply signal includes the first signal, the second signal and the third signal; when the level state of the first signal is detected to be a high level state, it is determined that the target first signal state is detected to indicate that the connection state is an abnormal state; when the level state of the second signal is detected to be a low level state, it is determined that the target first signal state is detected to indicate that the power reception state is an abnormal state; when the level state of the third signal is detected to be a low level state, it is determined that the target first signal state is detected to indicate that the conversion output state is an abnormal state.
[0052] Optionally, in an embodiment of the present application, the first signal may be, but is not limited to, a PSU_PRSNT signal obtained by the power supply controller from the first pin of the power supply. When the power supply is successfully connected to the corresponding server node, the PSU_PRSNT signal received by the power supply controller is in a low level state; otherwise, it is in a high level state.
[0053] Optionally, in an embodiment of the present application, the second signal may be, but is not limited to, a PSU_AC_OK signal obtained by the power supply controller from the second pin of the power supply. When the power supply normally receives electric energy output by the power supply, the PSU_AC_OK signal received by the power supply controller is in a high level state, otherwise, it is in a low level state.
[0054] Optionally, in an embodiment of the present application, the third signal may be, but is not limited to, a PSU_PWRGD signal obtained by the power supply controller from the third pin of the power supply. When the power supply normally converts and outputs the electric energy received from the power supply, the PSU_PWRGD signal received by the power supply controller is in a high level state; otherwise, it is in a low level state.
[0055] Through the above steps, the indicator status of each operating indicator of the power supply is determined by the level status of the first signal, the second signal and the third signal, and by directly determining the form of abnormal operating indicators, the corresponding faulty power supply can be more directly and clearly determined, which further enables the power supply of the power distributor to be supplemented in time, avoiding the situation where the server node has no power supply support.
[0056] As an optional implementation, the power supply controller establishes a fourth connection with the power supply through the fourth pin of each power supply and establishes a fifth connection with the power supply through the fifth pin of each power supply; detects the second signal state of each received second power supply signal, including: detecting the level state of the fourth signal from the fourth connection of each power supply, wherein the second power supply signal includes the fourth signal; when it is detected that the level state of the fourth signal is a low level state, determining that the target second signal state is detected to indicate that the operating state is an abnormal state; after detecting that the level state of the fourth signal is a low level state, the method also includes: sending a fault information acquisition request to the faulty power supply through the fifth connection, wherein the fault information acquisition request is used to request to obtain fault information of the faulty power supply.
[0057] Optionally, in an embodiment of the present application, the fourth signal may be, but is not limited to, a PSU_ALERT signal obtained by the power supply controller from the fourth pin of the power supply. When the power supply reports an error, the power supply controller will receive a low PSU_ALERT signal.
[0058] Optionally, in the embodiment of the present application, the fifth connection may be, but is not limited to, an I2C connection established between the power supply controller and the power supplier.
[0059] Through the above steps, the faulty power supply is determined according to the operating status information of the power supply indicated by the fourth signal. Without determining the specific fault situation, the power supply failure can be discovered more quickly, and the power distributor can be used to power the corresponding server node as soon as possible, thereby improving the power supply efficiency of multi-node servers.
[0060] Optionally, in the embodiments of the present application, Figure 4 is a connection diagram of a power supply device and a power supply controller according to an embodiment of the present application, such as Figure 4As shown, the PSU (i.e., power supply) of each computing node (i.e., server node) is connected to the midplane CPLD (i.e., power supply controller) through a PSU management bus. The PSU management bus includes a PSU_AC_OK signal (i.e., the second signal), a PSUvPWRGD signal (i.e., the third signal), a PSU_PRSNT signal (i.e., the first signal), a PSU_ALERT signal (i.e., the fourth signal), and a PSU_12C signal sent by the PSU to the midplane. The PSU_AC_OK signal is used to indicate whether the PSU is plugged into an AC power supply. If so, the signal is high, otherwise it is low. The PSU_PWRGD signal is used to indicate whether the PSU output power is normal. If normal, the signal is high, otherwise it is low. The PSU_PRSNT signal is used to support whether the PSU is connected to a computing node. If so, the signal is low, otherwise it is high. The PSU_ALERT signal is an interrupt signal. When an error occurs in the PSU, the signal will be pulled low. After the mid-backplane CPLD receives the signal and pulls it low, it can communicate with the PSU through I2C (the fifth connection) to obtain error information.
[0061] As an optional implementation, the power supply controller includes a power supply processor and a power aggregator, the power supply processor is connected to the power aggregator, the power aggregator and the power supply processor are both connected to each power distributor, and the power aggregator is also connected to each power supplier; the target power distributor deployed on the target server node corresponding to the faulty power supplier is controlled to supply power to the target server node, including: the power aggregator allocates target power to the target power distributor; the power supply processor sends an enable signal to the target power distributor, and the target power distributor is used to respond to the enable signal and use the target power to power the target server node.
[0062] Optionally, in an embodiment of the present application, the power supply processor may be, but is not limited to, a device with logic processing capabilities similar to CPLD, and the power aggregator may be, but is not limited to, a device similar to BUSBAR that can receive multiple power inputs and distribute the received power to the output.
[0063] Through the above steps, when directly using the corresponding power supply to power the server node is not feasible, a combination of a power aggregator and other power supplies can be used to utilize the power output by other power supplies to power the server nodes corresponding to the faulty power supply, thereby avoiding the situation where the corresponding server node cannot operate normally due to the failure of a single power supply, thereby improving the power supply efficiency for multi-node servers.
[0064] Optionally, in the embodiments of the present application, Figure 5 is a schematic diagram of a multi-node server power supply method according to an embodiment of the present application, such as Figure 5As shown, taking two computing nodes (i.e., server nodes) as an example, a BUSBAR (i.e., power collector) is designed to connect the PSU (i.e., power supply) output P12V_PSU of each computing node to a power network, and a VR (i.e., power distributor) is designed for each computing node. The power input of VR is P12V_PSU, and VR is controlled and enabled by the mid-backplane CPLD (i.e., power supply processor). The VR output P12V_STBY of each computing node supplies power to the corresponding computing node. When an error occurs in the PSU, the mid-backplane CPLD obtains the error information of the PSU through the PSU_AC_OK signal, the PSU_PWRGD signal, and the PSU_PRSNT signal, or after the PSU_ALERT signal is pulled low, the mid-backplane CPLD communicates with the PSU through I2C to obtain the PSU error information.
[0065] As an optional implementation, after detecting the power-on signal, the method also includes: searching for a reference server node configured with a leakage detection function from each server node according to the leakage detection configuration of each server node, wherein the leakage detection configuration is used to indicate the configuration status of the leakage detection circuit in the corresponding server node; when the reference server node is found, controlling the reference power distributor deployed on the reference server node to power the reference server node instead of the power supplier corresponding to the reference server node, and monitoring the leakage information of the leakage detection circuit of the reference server node, wherein the leakage information is used to indicate the leakage status on the reference server node; when the leakage information is monitored to indicate the existence of leakage on the reference server node, controlling the reference power distributor to stop powering the reference server node.
[0066] Optionally, in the embodiments of the present application, Figure 6 is a schematic diagram of a power supply method for a reference server node according to an embodiment of the present application. Figure 6 As shown, a leakage detection & alarm circuit is deployed in computing node 0 (i.e., reference server node), that is, computing node 0 is a reference server node configured with a leakage detection function, and the output of the leakage detection & alarm circuit is connected to the CPLD of computing node 0. When leakage occurs, the CPLD of computing node 0 notifies the midplane CPLD (i.e., power supply controller), and the midplane CPLD cuts off the power supply of computing node 0 by controlling the enable control of VR (i.e., reference power distributor); when the leakage is relieved, the midplane CPLD restores the power supply of computing node 0 by controlling the enable control of VR.
[0067] Through the above steps, in the event of leakage, the leakage can be detected in time and the power supply to the server node where the leakage occurs can be disconnected in time, avoiding the adverse effects of improper power supply on the server node and improving the power supply efficiency of multi-node servers.
[0068] As an optional implementation, the power supply controller is also connected to a baseboard management controller deployed on each server node; when a faulty power supplier is detected, the method further includes: receiving a power supply information acquisition request from the baseboard management controller, wherein the power supply information acquisition request is used to obtain power supply information of the faulty power supplier; and sending the power supply information of the faulty power supplier to the baseboard management controller in response to the power supply information acquisition request.
[0069] Optionally, in the embodiments of the present application, Figure 7 is a schematic diagram of a method for a multi-node server BMC to obtain information according to an embodiment of the present application, such as Figure 7 As shown, the BMC (baseboard management controller) of each computing node (i.e., server node) is interconnected with the mid-backplane CPLD through I2C, and the BMC manages the PSU through the mid-backplane CPLD. The BMC of each computing node obtains the PSU (i.e., power supply) error information through the I2C between the BMC and the mid-backplane CPLD. In addition, when the BMC needs to upgrade the PSU FW (i.e., the firmware of the power supply), the BMC first sets the mid-backplane CPLD I2C to bypass mode (i.e., set it to high-speed transmission mode) through a defined instruction, and through the mid-backplane CPLD, the BMC realizes I2C interconnection with the PSU, thereby realizing the BMC to the PSU FW upgrade. Through this solution, the BMC of each computing node can upgrade the FW of each PSU and manage the PSU errors.
[0070] Through the solution provided in the present application, it is possible to realize the reuse of PSUs in different computing nodes in a multi-node server, and the upgrade management of each PSU by the BMC on each computing node, and the leakage detection and leakage management functions of liquid cooling of a multi-node server can be realized. Users can also obtain the current leakage status and leakage management status of each computing node through the BMC of any computing node.
[0071] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of each embodiment of the present application.
[0072] As an optional implementation, a multi-node server is also provided in an embodiment of the present application, and the multi-node server includes: multiple groups of server nodes and power suppliers connected one-to-one, and a power supply controller, a power distributor is deployed on each server node, the power supply controller is connected to each power supplier, and the power supply controller is also connected to each power distributor; each power supplier is used to supply power to the corresponding server node; the power supply controller is used to implement the steps in any of the above method embodiments.
[0073] Optionally, in the embodiments of the present application, Figure 8 is a schematic diagram of a multi-node server according to an embodiment of the present application. Figure 8 As shown, the multi-node server includes N+1 groups of server nodes and power suppliers connected one by one, and a power supply controller. Power distributors are deployed in server nodes 0 to server nodes N, and the power supply controller is connected to power suppliers 0 to N. The power supply controller is also connected to power distributors 0 to N. Power suppliers 0 to N are used to supply power to corresponding server nodes 0 to N. The power supply controller supplies power to the multi-node server by implementing the steps in any of the above method embodiments.
[0074] In this embodiment, a power supply control device for a multi-node server is also provided. The multi-node server includes: multiple groups of server nodes and power suppliers connected one by one, and a power supply controller. A power distributor is deployed on each server node. Each power supplier is used to supply power to the corresponding server node. The power supply controller is connected to each power supplier, and the power supply controller is also connected to each power distributor. The device is applied to the power supply controller. The device is used to implement the above-mentioned embodiments and preferred implementation modes. Those that have been explained will not be repeated here. As used below, the term "module" can implement a combination of software and / or hardware for a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceived.
[0075] Fig. 9 is a structural block diagram of a power supply control device for a multi-node server according to an embodiment of the present application, such as Fig. 9 As shown, the device comprises:
[0076] A first detection module 902 is used to detect a power-on signal of a multi-node server, wherein the power-on signal is used to control the multi-node server to power on;
[0077] A second detection module 904 is used to detect a faulty power supply having a power supply fault among the power supplies according to power supply information corresponding to each power supply when a power-on signal is detected, wherein the power supply information is used to indicate a connection state between the corresponding power supply and the corresponding server node and a power output state of the corresponding power supply;
[0078] The first control module 906 is used to control the target power distributor deployed on the target server node corresponding to the faulty power supplier to supply power to the target server node when a faulty power supplier is detected.
[0079] Through the above steps, since each server node in the multi-node server is deployed with a power distributor on the basis of being connected to the corresponding power supplier, and each power supplier is also connected to the power supply controller, the power supply controller in the multi-node server will detect the power-on signal of the multi-node server. When the power-on signal is detected, the power supply controller detects the faulty power supplier with power supply failure in each power supplier according to the power supply information corresponding to each power supplier. When the faulty power supplier is detected, the power supply controller will control the target power distributor deployed on the target server node corresponding to the faulty power supplier to supply power to the target server node. The target server node can still obtain power supply support when the corresponding connected power supplier fails, thereby avoiding the complete downtime of the corresponding server node due to the power supplier failure, and further avoiding the adverse impact on the normal operation of the multi-node server. Therefore, the problem of low power supply efficiency for the multi-node server can be solved, and the effect of improving the power supply efficiency for the multi-node server can be achieved.
[0080] As an optional embodiment, the second detection module includes: a first detection unit, which is used to detect the first signal state of each received first power supply signal, wherein the first signal state is used to indicate the connection state between the corresponding power supplier and the corresponding server node, the power receiving state of the corresponding power supplier, and the conversion and output state of the received power by the corresponding power supplier, and the power supply information includes the first power supply signal; a first determination unit, which is used to determine that the power supplier corresponding to the target first signal state is a faulty power supplier when it is detected that the target first signal state is used to indicate that the connection state, the power receiving state, and / or the conversion and output state are abnormal; a second detection unit, which is used to detect the second signal state of each received second power supply signal, wherein the second signal state is used to indicate the operating state of the corresponding power supplier, and the power supply information includes the second power supply signal; a second determination unit, which is used to determine that the power supplier corresponding to the target second signal state is a faulty power supplier when it is detected that the target second signal state is used to indicate that the operating state is abnormal.
[0081] Optionally, the power supply controller establishes a first connection with the power supply through the first pin of each power supply, establishes a second connection with the power supply through the second pin of each power supply, and establishes a third connection with the power supply through the third pin of each power supply; the first detection unit is also used to: detect the level state of the first signal from the first connection, the level state of the second signal from the second connection, and the level state of the third signal from the third connection of each power supply, wherein the first power supply signal includes the first signal, the second signal and the third signal; when the level state of the first signal is detected to be a high level state, it is determined that the target first signal state is detected to indicate that the connection state is an abnormal state; when the level state of the second signal is detected to be a low level state, it is determined that the target first signal state is detected to indicate that the power receiving state is an abnormal state; when the level state of the third signal is detected to be a low level state, it is determined that the target first signal state is detected to indicate that the conversion output state is an abnormal state.
[0082] Optionally, the power supply controller establishes a fourth connection with the power supply through the fourth pin of each power supply and establishes a fifth connection with the power supply through the fifth pin of each power supply; the second detection unit is also used to: detect the level state of a fourth signal from the fourth connection of each power supply, wherein the second power supply signal includes the fourth signal; when it is detected that the level state of the fourth signal is a low level state, determining that the target second signal state is detected to indicate that the operating state is an abnormal state.
[0083] Optionally, the second detection module also includes: a first sending unit, used to send a fault information acquisition request to the faulty power supplier through a fifth connection after detecting that the level state of the fourth signal is a low level state, wherein the fault information acquisition request is used to request to obtain fault information of the faulty power supplier.
[0084] As an optional implementation, the power supply controller includes a power supply processor and an electric energy collector, the power supply processor is connected to the electric energy collector, the electric energy collector and the power supply processor are both connected to each electric energy distributor, and the electric energy collector is also connected to each electric energy supplier; the first control module also includes: a distribution unit, which is used to distribute target electric energy to the target electric energy distributor by the electric energy collector; a second sending unit, which is used to send an enable signal from the power supply processor to the target electric energy distributor, and the target electric energy distributor is used to respond to the enable signal and use the target electric energy to power the target server node.
[0085] As an optional implementation, the power supply control device of the multi-node server also includes: a search module, used to search for a reference server node configured with a leakage detection function from each server node according to the leakage detection configuration of each server node, wherein the leakage detection configuration is used to indicate the configuration status of the leakage detection circuit in the corresponding server node; a second control module, used to control the reference power distributor deployed on the reference server node to power the reference server node instead of the power supplier corresponding to the reference server node when the reference server node is found, and monitor the leakage information of the leakage detection circuit of the reference server node, wherein the leakage information is used to indicate the leakage status on the reference server node; a third control module, used to control the reference power distributor to stop supplying power to the reference server node when the leakage information is monitored to indicate the existence of leakage on the reference server node.
[0086] It should be noted that the above modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.
[0087] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when run.
[0088] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.
[0089] An embodiment of the present application further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0090] In an exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.
[0091] An embodiment of the present application further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the steps in any of the above method embodiments are implemented.
[0092] An embodiment of the present application further provides another computer program product, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in any of the above method embodiments are implemented.
[0093] An embodiment of the present application also provides a computer program, which includes computer instructions stored in a computer-readable storage medium; a processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the steps in any one of the above method embodiments.
[0094] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail herein.
[0095] Obviously, those skilled in the art should understand that the above modules or steps of the present application can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that herein, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present application is not limited to any specific combination of hardware and software.
[0096] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the principles of the present application shall be included in the protection scope of the present application.
Claims
1. A power supply control method for a multi-node server, characterized in that: The multi-node server comprises: a plurality of groups of server nodes and power suppliers connected in one-to-one correspondence, and a power supply controller, a power distributor is deployed on each of the server nodes, each of the power suppliers is used to supply power to the corresponding server node, the power supply controller is connected to each of the power suppliers, and the power supply controller is also connected to each of the power distributors, the method is applied to the power supply controller, and the method comprises: Detecting a power-on signal of the multi-node server, wherein the power-on signal is used to control the power-on of the multi-node server; in the case of detecting the power-on signal, detecting a faulty power supplier having a power supply fault among the power suppliers according to power supply information corresponding to each of the power suppliers, wherein the power supply information is used to indicate a connection state between the corresponding power supplier and the corresponding server node and a power output state of the corresponding power supplier; In the case where the faulty power supplier is detected, a target power distributor deployed on a target server node corresponding to the faulty power supplier is controlled to supply power to the target server node.
2. The method according to claim 1, characterized in that The method of detecting a faulty power supplier having a power supply fault among the power suppliers according to the power supply information corresponding to the power suppliers comprises: Detecting the first signal state of each received first power supply signal, wherein the first signal state is used to indicate the connection state between the corresponding power supplier and the corresponding server node, the power receiving state of the corresponding power supplier and the conversion output state of the received power by the corresponding power supplier, and the power supply information includes the first power supply signal; in the case where it is detected that the target first signal state is used to indicate that the connection state, the power receiving state, and / or the conversion output state are abnormal, determining that the power supplier corresponding to the target first signal state is the faulty power supplier; or, Detect the second signal state of each received second power supply signal, wherein the second signal state is used to indicate the operating state of the corresponding power supply device, and the power supply information includes the second power supply signal; and in the case where it is detected that the target second signal state is used to indicate that the operating state is an abnormal state, determine that the power supply device corresponding to the target second signal state is the faulty power supply device.
3. The method according to claim 2, characterized in that The power supply controller establishes a first connection with the power supply through the first pin of each power supply, establishes a second connection with the power supply through the second pin of each power supply, and establishes a third connection with the power supply through the third pin of each power supply; The detecting the first signal state of each received first power supply signal includes: Detecting the level state of a first signal from the first connection, the level state of a second signal from the second connection, and the level state of a third signal from the third connection of each power supplier, wherein the first power supply signal includes the first signal, the second signal, and the third signal; In the case where it is detected that the level state of the first signal is a high level state, determining that the target first signal state is detected to indicate that the connection state is an abnormal state; In the case where it is detected that the level state of the second signal is in a low level state, determining that the target first signal state is detected to indicate that the power receiving state is in an abnormal state; In the case where the level state of the third signal is detected to be a low level state, it is determined that the target first signal state is detected to indicate that the conversion output state is an abnormal state.
4. The method according to claim 2, characterized in that: The power supply controller establishes a fourth connection with the power supply through the fourth pin of each power supply and establishes a fifth connection with the power supply through the fifth pin of each power supply; The detecting the second signal state of each received second power supply signal includes: Detecting the level state of the fourth signal from the fourth connection of each power supplier, wherein the second power supply signal includes the fourth signal; when the level state of the fourth signal is detected to be a low level state, determining that the target second signal state is detected to indicate that the operating state is an abnormal state; After detecting that the level state of the fourth signal is a low level state, the method further includes: sending a fault information acquisition request to the faulty power supplier through the fifth connection, wherein the fault information acquisition request is used to request acquisition of fault information of the faulty power supplier.
5. The method according to claim 1, characterized in that The power supply controller includes a power supply processor and an electric energy collector, the power supply processor is connected to the electric energy collector, the electric energy collector and the power supply processor are both connected to each of the electric energy distributors, and the electric energy collector is also connected to each of the electric energy suppliers; The controlling a target power distributor deployed on a target server node corresponding to the faulty power supplier to supply power to the target server node includes: The electric energy collector distributes target electric energy to the target electric energy distributor; An enable signal is sent by the power supply processor to the target power distributor, wherein the target power distributor is used to use the target power to power the target server node in response to the enable signal.
6. The method according to claim 1, characterized in that After detecting the power-on signal, the method further includes: Searching for a reference server node configured with a leakage detection function from each of the server nodes according to the leakage detection configuration of each of the server nodes, wherein the leakage detection configuration is used to indicate the configuration of the leakage detection circuit in the corresponding server node; In the case where the reference server node is found, the reference power distributor deployed on the reference server node is controlled to replace the power supplier corresponding to the reference server node to supply power to the reference server node, and the leakage information of the leakage detection circuit of the reference server node is monitored, wherein the leakage information is used to indicate the leakage status on the reference server node; When the leakage information is monitored to indicate that there is leakage on the reference server node, the reference power distributor is controlled to stop supplying power to the reference server node.
7. A multi-node server, characterized in that: The multi-node server comprises: a plurality of groups of server nodes and power suppliers connected in one-to-one correspondence, and a power supply controller, a power distributor is deployed on each of the server nodes, the power supply controller is connected to each of the power suppliers, and the power supply controller is also connected to each of the power distributors; Each of the power suppliers is used to supply power to the corresponding server node; The power supply controller is used to implement the steps of the method described in any one of claims 1 to 6.
8. A power supply control device for a multi-node server, characterized in that: The multi-node server comprises: a plurality of groups of server nodes and power suppliers connected one by one, and a power supply controller, each of the server nodes is deployed with a power distributor, each of the power suppliers is used to supply power to the corresponding server node, the power supply controller is connected to each of the power suppliers, and the power supply controller is also connected to each of the power distributors, the device is applied to the power supply controller, and the device comprises: A first detection module, used to detect a power-on signal of the multi-node server, wherein the power-on signal is used to control the multi-node server to power on; A second detection module is used to detect a faulty power supply having a power supply fault among the power supplies according to power supply information corresponding to each of the power supplies when the power-on signal is detected, wherein the power supply information is used to indicate a connection state between the corresponding power supply and the corresponding server node and a power output state of the corresponding power supply; The first control module is used to control the target power distributor deployed on the target server node corresponding to the faulty power supplier to supply power to the target server node when the faulty power supplier is detected.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program implements the steps of the method described in any one of claims 1 to 6 when executed by a processor.
10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method described in any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Method of controlling power-on of multi-node server system
CN106774763A
Portable central meter case electric leakage detection device
CN107976603A
A server redundant power supply system and a management method
CN109840007A
Server liquid leakage detection method and device, equipment and storage medium
CN115454746A
Liquid leakage protection method, device and equipment for liquid cooling server and storage medium
CN115795568A
Cited By
Server
CN120560457A
server
CN120560457B