CN114281172A - Server fan management method, system, equipment and storage medium - Google Patents
Server fan management method, system, equipment and storage medium Download PDFInfo
- Publication number
- CN114281172A CN114281172A CN202111444826.3A CN202111444826A CN114281172A CN 114281172 A CN114281172 A CN 114281172A CN 202111444826 A CN202111444826 A CN 202111444826A CN 114281172 A CN114281172 A CN 114281172A
- Authority
- CN
- China
- Prior art keywords
- bmc
- fan
- fan management
- server
- management chip
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
- 238000007726 management method Methods 0.000 title claims abstract description 242
- 238000004891 communication Methods 0.000 claims abstract description 62
- 238000012544 monitoring process Methods 0.000 claims abstract description 39
- 230000002159 abnormal effect Effects 0.000 claims abstract description 30
- 230000004044 response Effects 0.000 claims abstract description 20
- 238000000034 method Methods 0.000 claims description 23
- 230000008859 change Effects 0.000 claims description 12
- 238000004590 computer program Methods 0.000 claims description 7
- 238000012545 processing Methods 0.000 claims description 7
- 230000017525 heat dissipation Effects 0.000 abstract description 6
- 230000007246 mechanism Effects 0.000 abstract description 4
- 238000001816 cooling Methods 0.000 abstract description 3
- 238000001514 detection method Methods 0.000 description 8
- 230000005540 biological transmission Effects 0.000 description 6
- 238000012546 transfer Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000001105 regulatory effect Effects 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000004913 activation Effects 0.000 description 1
- 230000033228 biological regulation Effects 0.000 description 1
- 230000001276 controlling effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 239000003550 marker Substances 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Landscapes
- Debugging And Monitoring (AREA)
Abstract
The invention provides a server fan management method, which comprises the following steps: monitoring the state of the BMC, and switching the communication mode of the fan management chip in response to the abnormal state of the BMC; and responding to the successful switching of the communication mode of the fan management chip, and sending a fan management instruction to the fan management chip through a management terminal in the server operating system. According to the server fan management method provided by the invention, the fan management chip of the server is in communication connection with the CPU, and when the BMC is abnormal, the management end in the server replaces the BMC to regulate and control the rotating speed of the server fan. The stability of the server cooling system can be effectively improved. User experience is improved, and even when the BMC is abnormal or fails, the heat dissipation mechanism of the server can still be normally carried out.
Description
Technical Field
The invention belongs to the field of computers, and particularly relates to a server fan management method, a server fan management system, server fan management equipment and a storage medium.
Background
With the progress of the times and the update iteration of the technology, the quality requirement and the security of the server are more and more strict. The heat dissipation security of the server is an important part of the security of the server. According to the traditional heat dissipation safety of the server, the temperature of each part of the server is monitored through the BMC, and when the temperature of the server reaches the alarm temperature, the BMC sends a command to adjust the rotating speed of a fan so as to achieve the purpose of reducing the temperature of the server. The traditional heat dissipation method for adjusting the temperature only through BMC monitoring cannot effectively guarantee the safety of the server operation. Particularly in the current big data age. When the BMC cannot work normally due to some specific factors, a great potential safety hazard is caused to the server itself. Although the CPLD pulls the fan to the maximum speed after the BMC fails, the rotation speed of the fan cannot be intelligently adjusted by this operation, so that the fan can always operate at the maximum speed, and the power of the fan in the server is much higher than that of the fan in the ordinary PC and the noise is extremely high, which causes waste of power consumption and brings an extremely unfriendly experience to the user, and the fan is not intelligent enough.
Therefore, a fan management method that maintains the fan regulation capability after a BMC failure is needed.
Disclosure of Invention
To solve the above problems, an aspect of the present invention provides a server fan management method, including:
monitoring the state of BMC, responding to the abnormal state of the BMC, and switching the communication mode of a fan management chip;
and responding to the successful switching of the communication mode of the fan management chip, and sending a fan management instruction to the fan management chip through a management end in the server operating system.
In some embodiments of the invention, monitoring the state of the BMC comprises:
establishing a communication line from a BIOS to a BMC, and monitoring a heartbeat signal of the BMC through the BIOS;
and responding to the condition that the heartbeat signal of the BMC is not received within preset time, and sending a fan starting management command to a management terminal in an operating system of the server by the BIOS.
In some embodiments of the invention, the communication line comprises a KCS channel or a USB bus.
In some embodiments of the present invention, monitoring a state of a BMC, and switching a communication mode of a fan management chip in response to an abnormal state of the BMC includes:
connecting a data interface of a fan management chip with a CPU (central processing unit) and connecting the state of the BMC (baseboard management controller) with the fan management chip through a preset pin;
and responding to the state change of the preset pin of the BMC and maintaining the change in preset time, and switching the communication mode of the fan management chip to gate the CPU and the data interface of the fan management chip.
In some embodiments of the present invention, monitoring a state of a BMC, and switching a communication mode of a fan management chip in response to an abnormal state of the BMC further includes:
and switching a communication mode of the fan management chip to gate a data interface between a CPU and the fan management chip in response to the fan management chip not receiving the fan management instruction sent by the BMC within a preset time.
In some embodiments of the invention, the method further comprises:
and responding to the normal BMC state, and sending fan management configuration parameters to a management end in the server operating system by the BMC.
In some embodiments of the present invention, sending a fan management instruction to the fan management chip through a management end in a server operating system includes:
and the management terminal acquires the running state and the temperature of each component of the server from the server operating system, generates a control instruction of a fan management chip through the configuration parameters based on the running state and the temperature, and sends the control instruction to the fan management chip.
Another aspect of the present invention further provides a server fan management system, including:
the monitoring module is configured to monitor the state of the BMC and switch the communication mode of the fan management chip in response to the abnormal state of the BMC;
and the control module is configured to respond to the successful switching of the communication mode of the fan management chip and send a fan management instruction to the fan management chip through a management end in the server operating system.
Yet another aspect of the present invention also provides a computer apparatus, comprising:
at least one processor; and
a memory storing computer instructions executable on the processor, the instructions when executed by the processor implementing the steps of the method of any one of the above embodiments.
Yet another aspect of the present invention further provides a computer-readable storage medium, which stores a computer program, and the computer program realizes the steps of the method of any one of the above embodiments when executed by a processor.
According to the server fan management method provided by the invention, the fan management chip of the server is in communication connection with the CPU, and when the BMC is abnormal, the management end in the server replaces the BMC to regulate and control the rotating speed of the server fan. The stability of the server cooling system can be effectively improved. User experience is improved, and even when the BMC is abnormal or fails, the heat dissipation mechanism of the server can still be normally carried out.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of an embodiment of a server fan management method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a server fan management system according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a computer device according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a computer-readable storage medium according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following embodiments of the present invention are described in further detail with reference to the accompanying drawings.
The invention is applied to the field of operation and maintenance of the server, after a server manufacturer sells the server, management components such as BMC and the like in the server are complex monitoring systems independent of a server system, are used for monitoring various hardware operation parameters of the server, and have higher complexity and more functions, so that the problem is often caused to be higher than that of other systems. The BMC is also responsible for issuing modulation instructions of each high-power fan on the server, and since the BMC can collect various state information of the server, such as temperature, power of each device on the server, and the like, the BMC generally develops corresponding processing logic in the BMC, generates a modulation instruction for regulating and controlling the fan of the server, that is, a PWM instruction, and sends the PWM instruction to a fan management chip on the server by the BMC. The fan speed of the server cannot be regulated according to the current state of the server. To this end, the embodiment of the present invention provides a solution to the above problem.
As shown in fig. 1, a first aspect of the present invention provides a server fan management method, including:
step S1, monitoring the state of BMC, responding to the abnormal state of the BMC, and switching the communication mode of the fan management chip;
and step S2, responding to the successful communication mode switching of the fan management chip, and sending a fan management instruction to the fan management chip through a management terminal in the server operating system.
In step S1, the operating state of the BMC is monitored in real time, and if the BMC is abnormal, the communication mode of the fan management chip connected to the BMC is switched, and the communication connection circuit with the BMC is abandoned, that is, the fan management chip does not wait for the BMC to send the PWM command any more, but establishes communication connection with the operating system of the server, and receives the control signal sent by the management terminal on the operating system of the server.
In step S2, the management side on the server operating system sends a control command to the fan management chip, which may be a PWM signal sent by the BMC to the fan management chip, or other data commands, and is determined according to the function of the fan management chip. If the development task is simplified, the PWM instruction can be sent to the fan management chip according to the mode of sending the PWM instruction by the BMC, the business logic in the fan management chip can be developed, corresponding data information is sent to the fan management chip, the data information is transmitted in the mode of a data bus, and the method can also be used for realizing other relevant configurations of the fan management chip by the server. And when the fan management chip receives the corresponding data information, the rotating speeds of the fans on the server are regulated and controlled according to the set logic.
In some embodiments of the invention, monitoring the state of the BMC comprises:
establishing a communication line from a BIOS to a BMC, and monitoring a heartbeat signal of the BMC through the BIOS;
and responding to the condition that the heartbeat signal of the BMC is not received within preset time, and sending a fan starting management command to a management terminal in an operating system of the server by the BIOS.
In this embodiment, in order to enable the operating system side of the server to timely and accurately sense the state of the BMC, a mode of communication between the BIOS and the BMC is adopted, specifically, the mode of performing periodic heartbeat detection by using the BMC and the BIOS is adopted. Under the normal condition of BMC, sending own state information to BIOS at intervals, if no state information is sent to BIOS within 1 minute, the BIOS deems that BMC has a fault, and sends a command for starting a management end to an operating system of a server, and the control of a fan on the server is realized through the management end.
In some embodiments of the invention, the communication line comprises a KCS channel or a USB bus.
In this embodiment, the operating system side of the server establishes a communication line with the BMC through the BIOS when sensing the state of the BMC, and in order to prevent the communication between the BIOS and the BMC from being affected by other components, the connection between the BMC and the BIOS is connected in an independent connection manner. The LPC bus connection is selected in some embodiments. LPC, a Low pin count Bus, is a data transfer center used in IBM PC-compatible machines to connect Low bandwidth devices and "legacy" devices to the CPU. Among the common low speed devices are: BIOS, serial port, parallel port, PS/2 keyboard and mouse, soft disc controller, and more new equipment with trusted platform module. The LPC bus is typically physically connected to a south bridge on the motherboard, which typically connects a series of "legacy" devices, such as two programmable interrupt controllers, a programmable timer, and two ISA DMA controllers, on the IBM PC AT platform. The LPC bus was introduced by Intel at 1998 as a replacement for the Industry Standard Architecture (ISA) which is similar to ISA at the software level, although it is a vastly different at the physical level, with ISA being a 16bit wide, 8.33MHz bus, and it is a 4bit wide, quadruple frequency (33.3MHz) bus. The greatest advantage of the LPC bus is that it requires only 7 signals and is easily laid out on crowded modern motherboards. In the invention, the LPC bus is used only through the connection of heartbeat detection signals for BMC and BIOS, so the LPC bus can be directly connected with BMC by virtue of the south bridge on the mainboard, and the BIOS is directly connected with the south bridge, so that additional connection layout is not needed.
In some embodiments of the invention, the independent connection between the BIOS and the BMC may also be implemented via a USB bus. The USB bus is a polling bus where the host control port initiates all data transfers. Each bus action transfers up to three packets including Token (Token), Data (Data), and contact (handwake). According to the principles established before transmission, at the beginning of each transfer, the host sends a USB packet describing the type, direction, USB device address and terminal number of the transmission action, this packet being commonly referred to as a token packet (token packet). The USB device fetches the data belonging to itself from the appropriate location of the decoded data packet. The data transfer direction is either from host to device or device to host. At the beginning of transmission, the transmission direction of the data is marked by a marker packet, and then the transmitting end starts sending a data packet containing information or indicating that there is no data transfer. The receiving end also sends a handshake packet indicating whether the transmission is successful. USB data transmission between a sending end and a receiving end can be considered as a channel between ports of a host and a device. The USB has a special channel-the default control channel-which belongs to the message channel and exists upon device activation, thus providing an entry for device setup, status inquiry and input control information. The frequency of the heartbeat detection signal between the BMC and the BIOS can be completely determined according to the polling period of the USB bus, namely, the heartbeat detection signal can be sent to the BMC after the USB bus is polled once, if the polling result is not responded, the heartbeat detection signal of the BMC is not received, and if the polling result is not continuously received in one minute, the BMC is considered to be abnormal. Through the mode of USB bus, need not to realize corresponding heartbeat detecting signal, only with the help of polling mechanism alright realize the effect of heartbeat detecting signal.
Further, if the heartbeat detection signal of the BMC is not detected within a set time (which may be set to 1 minute) (the polling result is also regarded as the heartbeat detection signal), the BIOS sends a command to start the management side in the operating system of the server to the operating system on the server. And starting a management terminal program in an operating system of the server to proxy the management of the BMC on the server fan. The management side in the present invention refers to a program for managing a server fan that runs in the development of an operating system.
In some embodiments of the present invention, monitoring a state of a BMC, and switching a communication mode of a fan management chip in response to an abnormal state of the BMC includes:
connecting a data interface of a fan management chip with a CPU (central processing unit) and connecting the state of the BMC (baseboard management controller) with the fan management chip through a preset pin;
and responding to the state change of the preset pin of the BMC and maintaining the change in preset time, and switching the communication mode of the fan management chip to gate the CPU and the data interface of the fan management chip.
In this embodiment, the fan management chip is connected to the CPU through an I2C interface, and on the operating system side of the server, the management side may communicate with the fan management chip through a corresponding driver. Meanwhile, on the fan management chip side, the fan management chip also needs to detect the state of the BMC so as to switch the source of receiving the fan control instruction in time when the BMC fails. Similarly, in order to ensure certain burst resistance, when the state of the BMC is judged to be abnormal, a waiting time of 1 minute is set. When the potential signal of the state bit of the BMC is changed and the changed state is maintained in 1 minute all the time, the fan management chip considers that the BMC is abnormal, gates a data line connected with the CPU and receives a fan management instruction from a management end of an operating system on the server.
In some embodiments of the present invention, monitoring a state of a BMC, and switching a communication mode of a fan management chip in response to an abnormal state of the BMC further includes:
and switching a communication mode of the fan management chip to gate a data interface between a CPU and the fan management chip in response to the fan management chip not receiving the fan management instruction sent by the BMC within a preset time.
In this embodiment, in some cases, there may be a case that the BMC is normal, that is, the status information of the BMC obtained from the BMC status pin by the reserved pin of the fan management chip is normal, even when the heartbeat detection signal between the BIOS and the BMC is normal, but when the internal program logic or the circuit of the BMC that regulates and controls the fan speed has a problem, the status information of the BMC reported by the two methods for detecting the BMC status is normal, but the fan management chip cannot receive the PWM instruction of the BMC. In this case, the fan of the server cannot be controlled, and may be pulled to the maximum rotation speed, or the current rotation speed is maintained, which may cause an abnormal operation state of the server. For this reason, in this embodiment, if the fan management chip does not receive the PWM command from the BMC within 1 minute, the fan management chip switches the receiving mode of the fan management command, receives the fan management command sent by the management terminal in the operating system of the server, that is, gates the I2C line in communication with the CPU, and at the same time needs to initiate a command to start the management terminal to the operating system. And after the management end is started, the management end controls the fan management chip to realize the control on the rotating speed of the server fan.
In some embodiments of the invention, the method further comprises:
and responding to the normal BMC state, and sending fan management configuration parameters to a management end in the server operating system by the BMC.
In this embodiment, since the management of the server is usually implemented by the BMC, and the update of the BMC is usually performed to implement some improved management policies. And the hypervisor running on the operating system may not be enabled for a long time. The policy for fan management executed on the BMC needs to be updated to the management side in time. Therefore, in this embodiment, when the BMC is normal, the BMC needs to send the configuration parameters for managing the fan to the management end of the server.
In some embodiments of the present invention, sending a fan management instruction to the fan management chip through a management end in a server operating system includes:
and the management terminal acquires the running state and the temperature of each component of the server from the server operating system, generates a control instruction of a fan management chip through the configuration parameters based on the running state and the temperature, and sends the control instruction to the fan management chip.
In this embodiment, after the management end in the operating system on the server manages the fan control of the server, the management end acquires the operating states and temperature conditions of each component of the server through the operating system, generates a control instruction suitable for the fan management chip for managing the fan of the server based on the configuration parameters acquired from the BMC, and sends the control instruction to the fan management chip.
According to the server fan management method provided by the invention, the fan management chip of the server is in communication connection with the CPU, and when the BMC is abnormal, the management end in the server replaces the BMC to regulate and control the rotating speed of the server fan. The stability of the server cooling system can be effectively improved. User experience is improved, and even when the BMC is abnormal or fails, the heat dissipation mechanism of the server can still be normally carried out.
As shown in fig. 2, another aspect of the present invention further provides a server fan management system, including:
the system comprises a monitoring module 1, a fan management chip and a control module, wherein the monitoring module 1 is configured to monitor the state of a BMC (baseboard management controller), and switch the communication mode of the fan management chip in response to the abnormal state of the BMC;
and the control module 2 is configured to respond to the successful switching of the communication mode of the fan management chip, and send a fan management instruction to the fan management chip through a management end in the server operating system.
In some embodiments of the invention, the monitoring module 1 is further configured to: establishing a communication line from a BIOS to a BMC, and monitoring a heartbeat signal of the BMC through the BIOS;
and responding to the condition that the heartbeat signal of the BMC is not received within preset time, and sending a fan starting management command to a management terminal in an operating system of the server by the BIOS.
In some embodiments of the invention, the communication line of the monitoring module 1 comprises a KCS channel or a USB bus.
In some embodiments of the invention, the monitoring module 1 is further configured to: connecting a data interface of a fan management chip with a CPU (central processing unit) and connecting the state of the BMC (baseboard management controller) with the fan management chip through a preset pin;
and responding to the state change of the preset pin of the BMC and maintaining the change in preset time, and switching the communication mode of the fan management chip to gate the CPU and the data interface of the fan management chip.
In some embodiments of the present invention, the monitoring module 1 is further configured to switch a communication mode of the fan management chip to gate a data interface between a CPU and the fan management chip in response to the fan management chip not receiving a fan management instruction sent by the BMC within a predetermined time.
In some embodiments of the invention, the monitoring module 1 is configured to further comprise:
and responding to the normal BMC state, and sending fan management configuration parameters to a management end in the server operating system by the BMC.
In some embodiments of the invention, the control module 2 is further configured to:
and the management terminal acquires the running state and the temperature of each component of the server from the server operating system, generates a control instruction of a fan management chip through the configuration parameters based on the running state and the temperature, and sends the control instruction to the fan management chip.
As shown in fig. 3, yet another aspect of the present invention also provides a computer apparatus, including:
at least one processor 21; and
a memory 22, said memory 22 storing computer instructions 23 executable on said processor, said instructions 23 when executed by said processor 21 implementing a server fan management method comprising:
monitoring the state of BMC, responding to the abnormal state of the BMC, and switching the communication mode of a fan management chip;
and responding to the successful switching of the communication mode of the fan management chip, and sending a fan management instruction to the fan management chip through a management end in the server operating system.
In some embodiments of the invention, monitoring the state of the BMC comprises:
establishing a communication line from a BIOS to a BMC, and monitoring a heartbeat signal of the BMC through the BIOS;
and responding to the condition that the heartbeat signal of the BMC is not received within preset time, and sending a fan starting management command to a management terminal in an operating system of the server by the BIOS.
In some embodiments of the invention, the communication line comprises a KCS channel or a USB bus.
In some embodiments of the present invention, monitoring a state of a BMC, and switching a communication mode of a fan management chip in response to an abnormal state of the BMC includes:
connecting a data interface of a fan management chip with a CPU (central processing unit) and connecting the state of the BMC (baseboard management controller) with the fan management chip through a preset pin;
and responding to the state change of the preset pin of the BMC and maintaining the change in preset time, and switching the communication mode of the fan management chip to gate the CPU and the data interface of the fan management chip.
In some embodiments of the present invention, monitoring a state of a BMC, and switching a communication mode of a fan management chip in response to an abnormal state of the BMC further includes:
and switching a communication mode of the fan management chip to gate a data interface between a CPU and the fan management chip in response to the fan management chip not receiving the fan management instruction sent by the BMC within a preset time.
In some embodiments of the invention, the method further comprises:
and responding to the normal BMC state, and sending fan management configuration parameters to a management end in the server operating system by the BMC.
In some embodiments of the present invention, sending a fan management instruction to the fan management chip through a management end in a server operating system includes:
and the management terminal acquires the running state and the temperature of each component of the server from the server operating system, generates a control instruction of a fan management chip through the configuration parameters based on the running state and the temperature, and sends the control instruction to the fan management chip.
As shown in fig. 4, a further aspect of the present invention also provides a computer-readable storage medium 401, where the computer-readable storage medium 401 stores a computer program 402, and the computer program, when executed by a processor, implements a server fan management method, including:
monitoring the state of BMC, responding to the abnormal state of the BMC, and switching the communication mode of a fan management chip;
and responding to the successful switching of the communication mode of the fan management chip, and sending a fan management instruction to the fan management chip through a management end in the server operating system.
In some embodiments of the invention, monitoring the state of the BMC comprises:
establishing a communication line from a BIOS to a BMC, and monitoring a heartbeat signal of the BMC through the BIOS;
and responding to the condition that the heartbeat signal of the BMC is not received within preset time, and sending a fan starting management command to a management terminal in an operating system of the server by the BIOS.
In some embodiments of the invention, the communication line comprises a KCS channel or a USB bus.
In some embodiments of the present invention, monitoring a state of a BMC, and switching a communication mode of a fan management chip in response to an abnormal state of the BMC includes:
connecting a data interface of a fan management chip with a CPU (central processing unit) and connecting the state of the BMC (baseboard management controller) with the fan management chip through a preset pin;
and responding to the state change of the preset pin of the BMC and maintaining the change in preset time, and switching the communication mode of the fan management chip to gate the CPU and the data interface of the fan management chip.
In some embodiments of the present invention, monitoring a state of a BMC, and switching a communication mode of a fan management chip in response to an abnormal state of the BMC further includes:
and switching a communication mode of the fan management chip to gate a data interface between a CPU and the fan management chip in response to the fan management chip not receiving the fan management instruction sent by the BMC within a preset time.
In some embodiments of the invention, the method further comprises:
and responding to the normal BMC state, and sending fan management configuration parameters to a management end in the server operating system by the BMC.
In some embodiments of the present invention, sending a fan management instruction to the fan management chip through a management end in a server operating system includes:
and the management terminal acquires the running state and the temperature of each component of the server from the server operating system, generates a control instruction of a fan management chip through the configuration parameters based on the running state and the temperature, and sends the control instruction to the fan management chip.
Finally, it should be noted that, as will be understood by those skilled in the art, all or part of the processes of the methods of the above embodiments may be implemented by a computer program, which may be stored in a computer-readable storage medium, and when executed, may include the processes of the embodiments of the methods described above. The storage medium of the program may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a Random Access Memory (RAM), or the like. The embodiments of the computer program may achieve the same or similar effects as any of the above-described method embodiments.
Those of skill would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as software or hardware depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the disclosed embodiments of the present invention.
The foregoing is an exemplary embodiment of the present disclosure, but it should be noted that various changes and modifications could be made herein without departing from the scope of the present disclosure as defined by the appended claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. Furthermore, although elements of the disclosed embodiments of the invention may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated.
It should be understood that, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly supports the exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.
The various illustrative logical blocks, modules, and circuits described in connection with the disclosure herein may be implemented or performed with the following components designed to perform the functions described herein: a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination of these components. A general purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP, and/or any other such configuration.
The numbers of the embodiments disclosed in the embodiments of the present invention are merely for description, and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, of embodiments of the invention is limited to these examples; within the idea of an embodiment of the invention, also technical features in the above embodiment or in different embodiments may be combined and there are many other variations of the different aspects of the embodiments of the invention as described above, which are not provided in detail for the sake of brevity. Therefore, any omissions, modifications, substitutions, improvements, and the like that may be made without departing from the spirit and principles of the embodiments of the present invention are intended to be included within the scope of the embodiments of the present invention.
Claims (10)
1. A server fan management method, comprising:
monitoring the state of BMC, responding to the abnormal state of the BMC, and switching the communication mode of a fan management chip;
and responding to the successful switching of the communication mode of the fan management chip, and sending a fan management instruction to the fan management chip through a management end in the server operating system.
2. The method of claim 1, wherein monitoring the state of the BMC comprises:
establishing a communication line from a BIOS to a BMC, and monitoring a heartbeat signal of the BMC through the BIOS;
and responding to the condition that the heartbeat signal of the BMC is not received within preset time, and sending a fan starting management command to a management terminal in an operating system of the server by the BIOS.
3. The method of claim 2, wherein the communication line comprises a KCS channel or a USB bus.
4. The method of claim 1, wherein monitoring the state of the BMC and switching the communication mode of the fan management chip in response to an abnormal state of the BMC comprises:
connecting a data interface of a fan management chip with a CPU (central processing unit) and connecting the state of the BMC (baseboard management controller) with the fan management chip through a preset pin;
and responding to the state change of the preset pin of the BMC and maintaining the change in preset time, and switching the communication mode of the fan management chip to gate the CPU and the data interface of the fan management chip.
5. The method of claim 4, wherein monitoring the state of the BMC and switching the communication mode of the fan management chip in response to an abnormal state of the BMC further comprises:
and switching a communication mode of the fan management chip to gate a data interface between a CPU and the fan management chip in response to the fan management chip not receiving the fan management instruction sent by the BMC within a preset time.
6. The method of claim 1, further comprising:
and responding to the normal BMC state, and sending fan management configuration parameters to a management end in the server operating system by the BMC.
7. The method of claim 6, wherein sending the fan management command to the fan management chip through a management side in the server operating system comprises:
and the management terminal acquires the running state and the temperature of each component of the server from the server operating system, generates a control instruction of a fan management chip through the configuration parameters based on the running state and the temperature, and sends the control instruction to the fan management chip.
8. A server fan management system, comprising:
the monitoring module is configured to monitor the state of the BMC and switch the communication mode of the fan management chip in response to the abnormal state of the BMC;
and the control module is configured to respond to the successful switching of the communication mode of the fan management chip and send a fan management instruction to the fan management chip through a management end in the server operating system.
9. A computer device, comprising:
at least one processor; and
a memory storing computer instructions executable on the processor, the instructions when executed by the processor implementing the steps of the method of any one of claims 1 to 7.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111444826.3A CN114281172A (en) | 2021-11-30 | 2021-11-30 | Server fan management method, system, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111444826.3A CN114281172A (en) | 2021-11-30 | 2021-11-30 | Server fan management method, system, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114281172A true CN114281172A (en) | 2022-04-05 |
Family
ID=80870377
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111444826.3A Withdrawn CN114281172A (en) | 2021-11-30 | 2021-11-30 | Server fan management method, system, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114281172A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116028206A (en) * | 2022-05-16 | 2023-04-28 | 荣耀终端有限公司 | Resource scheduling method, electronic equipment and storage medium |
US20230349387A1 (en) * | 2022-04-29 | 2023-11-02 | Fulian Precision Electronics (Tianjin) Co., Ltd. | System and method for ensuring continued operation of fan notwithstanding bmc failure |
-
2021
- 2021-11-30 CN CN202111444826.3A patent/CN114281172A/en not_active Withdrawn
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20230349387A1 (en) * | 2022-04-29 | 2023-11-02 | Fulian Precision Electronics (Tianjin) Co., Ltd. | System and method for ensuring continued operation of fan notwithstanding bmc failure |
CN116028206A (en) * | 2022-05-16 | 2023-04-28 | 荣耀终端有限公司 | Resource scheduling method, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7930425B2 (en) | Method of effectively establishing and maintaining communication linkages with a network interface controller | |
US9645954B2 (en) | Embedded microcontroller and buses | |
US6363449B1 (en) | Method and apparatus for providing interchassis communication and management | |
US7400648B2 (en) | Virtual USB communications port | |
CN114281172A (en) | Server fan management method, system, equipment and storage medium | |
US9696777B2 (en) | Computer port control | |
US8656003B2 (en) | Method for controlling rack system using RMC to determine type of node based on FRU's message when status of chassis is changed | |
US11656674B2 (en) | Power consumption reduction circuit for GPUs in server, and server | |
JPH1124801A (en) | Remote network device and network system using the network device | |
US8612509B2 (en) | Resetting a hypertransport link in a blade server | |
US7694159B2 (en) | Method of remotely controlling the power consumption of one or more servers | |
KR20110038648A (en) | Managing power consumption of a computer | |
US9047190B2 (en) | Intrusion protection for a client blade | |
CN110985426A (en) | Fan control system and method for PCIE Switch product | |
US8612780B2 (en) | Method and apparatus for modifying power management configuration of a computer to accommodate a packet processing latency policy associated with a pattern | |
CN116644011B (en) | Quick identification method, device and equipment of I2C equipment and storage medium | |
CN114296995B (en) | Method, system, equipment and storage medium for server to autonomously repair BMC | |
TWI752696B (en) | Temperature management system | |
CN112631667B (en) | Server upgrading system | |
CN115858292A (en) | IPMI management method and system based on MCU | |
CN114217942B (en) | Power management in blade enclosure | |
TWI719461B (en) | Server power managing method and system thereof | |
JP2007094470A (en) | Method of hotplugging information processing apparatus | |
US20230334184A1 (en) | Data center security control module and control method thereof | |
WO2024217334A1 (en) | Server and heat dissipation control method therefor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20220405 |
|
WW01 | Invention patent application withdrawn after publication |