Hard disk management method and server

By setting hard disk management commands in the server and controlling the working state of the hard disk, the problem of overtemperature of the hard disk of the high-density chassis server is solved, achieving long-term stable operation of the hard disk and low maintenance costs of the server.

CN119645201APending Publication Date: 2025-03-18XFUSION DIGITAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411713302.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-26
Publication Date
2025-03-18

AI Technical Summary

Technical Problem

During the maintenance and testing of high-density chassis servers, the hard disk is prone to overtemperature problems, resulting in hard disk damage and server temperature unstable, affecting normal operation.

Method used

The hard disk management command is sent to the disk array controller through the substrate management controller. The disk array controller controls the working state of the hard disk based on the current temperature of the hard disk, limiting the working state of the overtemperature hard disk to reduce the temperature.

Benefits of technology

It effectively solves the problem of faults caused by hard disk overtemperature, extends the service life of the hard disk, reduces server maintenance costs, and ensures the long-term and stable operation of the server.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119645201A_ABST
    Figure CN119645201A_ABST
Patent Text Reader

Abstract

The invention provides a hard disk management method and a server, and the hard disk management method comprises the steps that a substrate management controller sends a hard disk management command to a disk array controller under the condition that the state of a bracket of the server is not in place; the hard disk management command is used for indicating the disk array controller to control the working state of the hard disk, one or more hard disk backboards are arranged on the bracket, and the hard disk is inserted into the one or more hard disk backboards; and the disk array controller responds to the hard disk management command and controls the working state of the hard disk based on the current temperature of the hard disk. Under the condition that the state of the bracket of the server is not in place, the working state of the hard disk is controlled according to the current temperature of the hard disk, and the problem that the hard disk is damaged or normal operation of the server is affected due to overtemperature of the hard disk in the hard disk replacement process is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of servers, and in particular to a hard disk management method and a server. Background Art

[0002] With the advancement of technology, servers are constantly being optimized and innovated to meet the growing computing needs and space limitations of data centers.

[0003] In order to cope with the space and cost constraints faced by data centers, high-density server frame models have been developed. Through high-density deployment, the space utilization and energy efficiency of data centers have been significantly improved, while operating costs have also been reduced.

[0004] Due to the compact components, high-density chassis server models have higher requirements for heat dissipation. In the maintenance and testing scenarios of existing high-density chassis server models, there is a problem of hard disk overheating when plugging and unplugging hard disks, which causes damage to the hard disk and unstable server temperature, affecting the normal operation of the server. Summary of the invention

[0005] The embodiments of the present application provide a hard disk management method and a server, which solve the problem that the hard disk is damaged or the normal operation of the server is affected due to the overheating of the hard disk during the hard disk replacement process.

[0006] A first aspect of an embodiment of the present application provides a hard disk management method, which is applied to a server, wherein the server includes a baseboard management controller and a disk array controller, and the hard disk management method includes:

[0007] When the state of the bracket of the server is in the out-of-position state, the baseboard management controller sends a hard disk management command to the disk array controller; the hard disk management command is used to instruct the disk array controller to control the working state of the hard disk, and one or more hard disk backplanes are arranged on the bracket, and the hard disks are inserted into the one or more hard disk backplanes;

[0008] The disk array controller controls the working state of the hard disk based on the current temperature of the hard disk in response to the hard disk management command.

[0009] The hard disk management method provided in the embodiment of the present application is that when the server bracket is not in place, the baseboard management controller will send a hard disk management command to the disk array controller, and the disk array controller will respond to the hard disk management command, obtain the current temperature of each hard disk, and control the working state of the hard disk based on the current temperature of the hard disk, so as to reduce the heat generation of the over-temperature hard disk by limiting the working state of the over-temperature hard disk, so as to achieve the purpose of lowering the hard disk temperature, so that the hard disk can work normally within the threshold temperature range.

[0010] Therefore, by limiting the working status of over-temperature hard disks through the disk array controller, the problem of hard disk overheating during maintenance and testing of high-density server frame models can be effectively solved, the probability of hard disk failure due to overheating can be reduced, the hard disk replacement cycle can be shortened, and the hard disk service life can be extended, thereby reducing the maintenance cost of the server and ensuring long-term stable operation of the server.

[0011] In a possible implementation, the working state of the hard disk is controlled based on the current temperature of the hard disk, including: if the current temperature of the hard disk is less than or equal to a first temperature threshold, the disk array controller controls the working state of the hard disk to be in a non-restricted state; if the current temperature of the hard disk is greater than the first temperature threshold, the disk array controller controls the working state of the hard disk to be in a restricted state.

[0012] The first temperature threshold is the threshold limit for maintaining the normal operation of the hard disk. When the current temperature of the hard disk is less than or equal to the first temperature threshold, the hard disks within the temperature range can maintain normal working conditions. When the current temperature of the hard disk is greater than the first temperature threshold, the hard disk exceeds the normal temperature threshold, which may affect the read and write speed of the hard disk, and even cause data loss or damage to the hard disk. By setting the first temperature threshold, it is possible to clearly limit the working conditions of the hard disks on the hard disk backplane. The disk array controller will control the working conditions of the over-temperature hard disks to be in a restricted state, so that the hard disk temperature will gradually decrease. Therefore, the hard disk temperature can be effectively adjusted, the service life of the hard disk can be extended, and the server can be maintained for a long time and stably running, avoiding damage or failure of the hard disk caused by this.

[0013] In one possible implementation, the method also includes: if the current temperature of the hard disk is greater than or equal to a second temperature threshold, the disk array controller sends a first alarm message to the baseboard management controller, and the baseboard management controller alarms the hard disk based on the first alarm message, wherein the first temperature threshold is less than the second temperature threshold.

[0014] The second temperature threshold is the extreme operating temperature threshold of the hard disk. If the hard disk exceeds the second temperature threshold, the hard disk will not be able to maintain a normal working state, and the reading and writing speed will be affected, data will be lost, or the hard disk will be damaged. Therefore, a timely alarm will be issued for the hard disk whose current temperature exceeds the extreme operating temperature to notify the staff to handle it.

[0015] In a possible implementation, the current temperature state of the hard disk is determined based on the current temperature of the hard disk; wherein, if the current temperature of the hard disk is less than or equal to a first temperature threshold, the disk array controller determines that the current temperature of the hard disk is not in an over-temperature state, and if the current temperature of the hard disk is greater than the first temperature threshold, the disk array controller determines that the current temperature of the hard disk is in an over-temperature state. It should be noted that an over-temperature hard disk may be a hard disk in an over-temperature state.

[0016] Furthermore, the over-temperature state of the hard disk includes a first-level over-temperature state and a second-level over-temperature state. If the current temperature of the hard disk is greater than a first temperature threshold, the disk array controller determines that the current temperature state of the hard disk is an over-temperature state, including: if the current temperature of the hard disk is greater than the first temperature threshold and less than the second temperature threshold, the disk array controller determines that the current temperature state of the hard disk is a first-level over-temperature state; if the current temperature of the hard disk is greater than or equal to the second temperature threshold, the disk array controller determines that the current temperature state of the hard disk is a second-level over-temperature state, and sends a first alarm message to the baseboard management controller. The baseboard management controller alarms the hard disk in the second-level over-temperature state based on the first alarm message.

[0017] In a possible implementation, the working state of the hard disk is controlled based on the current temperature of the hard disk, including: the disk array controller or the baseboard management controller determines the target hard disk backplane according to the number of over-temperature hard disks and the current temperature of each hard disk in multiple hard disk backplanes, wherein the over-temperature hard disk is a hard disk whose current temperature is greater than the first temperature threshold; the disk array controller controls the working state of all hard disks in the target hard disk backplane to be in a restricted state. Thus, the disk array controller can timely restrict the work of all hard disks in the target hard disk backplane (which can be understood as a hard disk backplane with a higher temperature), and can quickly reduce the temperature of the target hard disk backplane to avoid thermal effects on peripheral electronic devices. Then the management of the status of all hard disks is completed to ensure the stable operation of the entire server.

[0018] It should be noted that the disk array controller controls the working state of all hard disks in the target hard disk backplane to be in a restricted state. It can be understood that, in the case where there is a non-overtemperature hard disk in the target hard disk backplane, although the current temperature of the non-overtemperature hard disk is less than or equal to the first temperature threshold (that is, it is within the threshold temperature range that can work normally), the disk array controller still controls the working state of the non-overtemperature hard disk in the target hard disk backplane to be in a restricted state. In other words, if the current temperature of the hard disk in the target hard disk backplane is less than or equal to the first temperature threshold, the disk array controller controls the working state of the hard disk to be in a restricted state, that is, its control priority is higher than "if the current temperature of the hard disk is less than or equal to the first temperature threshold, the disk array controller controls the working state of the hard disk to be in a non-restricted state". Among them, the non-overtemperature hard disk is a hard disk whose current temperature is less than or equal to the first temperature threshold, which can also be understood as: a hard disk that is not in an overtemperature state.

[0019] In addition, when there is a non-target hard disk backplane on the server bracket (which can be understood as other hard disk backplanes on the bracket except the target hard disk backplane), if the current temperature of the hard disk on the non-target hard disk backplane is less than or equal to the first temperature threshold, the disk array controller controls the working state of the hard disk to be in an unrestricted state.

[0020] Furthermore, the baseboard management controller determines a target hard disk backplane according to the number of over-temperature hard disks and the current temperature of each hard disk in the multiple hard disk backplanes, and the disk array controller controls the working status of all hard disks in the target hard disk backplane to be in a restricted state. For example, this can be achieved in the following way: the disk array controller can send the acquired current temperature of each hard disk in the multiple hard disk backplanes to the baseboard management controller, the baseboard management controller determines the number of over-temperature hard disks according to the received current temperature of each hard disk, and determines the target hard disk backplane according to the number of over-temperature hard disks and the current temperature of each hard disk in the multiple hard disk backplanes, and sends a backplane restriction control instruction to the disk array controller, the disk array controller restricts the working status of the target hard disk backplane based on the backplane restriction control instruction, that is, controls the working status of all hard disks in the target hard disk backplane to be in a restricted state based on the backplane restriction control instruction.

[0021] In a possible implementation, the disk array controller or baseboard management controller determines the target hard disk backplane according to the number of over-temperature hard disks and the current temperature of each hard disk in multiple hard disk backplanes, including: the disk array controller or baseboard management controller determines the target number according to the number of over-temperature hard disks, and selects the target number of target hard disk backplanes from multiple hard disk backplanes according to the current temperature of each hard disk in multiple hard disk backplanes. In this way, the temperature of the target hard disk backplane can be quickly reduced, and the working state of the non-over-temperature hard disks in the non-target hard disk backplane can be controlled to be in a non-restricted state without thermally affecting the surrounding electronic devices, thereby ensuring that the non-over-temperature hard disks can work normally and better meet the normal operation requirements of the server.

[0022] In one possible implementation, a target number of target hard disk backplanes are selected from multiple hard disk backplanes based on the current temperature of each hard disk in the multiple hard disk backplanes, including: selecting a target number of target hard disk backplanes from high to low according to the average temperature of the hard disks of each hard disk backplane, or selecting a target number of target hard disk backplanes from high to low according to the sum of the hard disk temperatures of each hard disk backplane.

[0023] In a possible implementation, if all hard disk backplanes on the bracket are target hard disk backplanes:

[0024] When the baseboard management controller selects the target number of target hard disk backplanes, the baseboard management controller issues an alarm to all hard disk backplanes;

[0025] When the disk array controller selects the target number of target hard disk backplanes, the disk array controller sends a second alarm message to the baseboard management controller, and the baseboard management controller issues an alarm to all hard disk backplanes based on the second alarm message.

[0026] A second aspect of an embodiment of the present application further provides a hard disk management method, which is applied to a server, wherein the server includes a baseboard management controller and a disk array controller, and the hard disk management method includes: when a bracket of the server is in an out-of-position state, the baseboard management controller obtains the current temperature of the hard disk, and based on the current temperature of the hard disk, generates a control instruction and sends it to the disk array controller; the disk array controller controls the working state of the hard disk based on the control instruction.

[0027] The hard disk management method provided by the embodiment of the present application is that when the server bracket is not in place, the baseboard management controller obtains the current temperature of each hard disk, and analyzes which hard disk working states need to be restricted and which hard disk working states do not need to be restricted based on the current temperature of the hard disk, and then generates a control instruction to send to the disk array controller, and the disk array controller controls the working state of the hard disk based on the control instruction, so that the working state of the over-temperature hard disk can be restricted to reduce its heat generation, thereby achieving the purpose of reducing the hard disk temperature, so that the hard disk can work normally within the threshold temperature range. Therefore, by limiting the working state of the over-temperature hard disk by the disk array controller, the hard disk overheating problem that occurs during the maintenance and testing process of the server high-density frame model can be effectively solved, the failure probability of the hard disk due to overheating can be reduced, the hard disk replacement cycle can be reduced, and the service life of the hard disk can be extended, thereby reducing the maintenance cost of the server and ensuring the long-term stable operation of the server.

[0028] In a possible implementation, the control instruction includes a first control instruction and a second control instruction. If the current temperature of the hard disk is less than or equal to the first temperature threshold, the baseboard management controller sends the first control instruction to the disk array controller; based on the first control instruction, the disk array controller controls the working state of the hard disk to be in a non-restricted state; if the current temperature of the hard disk is greater than the first temperature threshold, the baseboard management controller sends the second control instruction to the disk array controller; based on the second control instruction, the disk array controller controls the working state of the hard disk to be in a restricted state. In this way, it is possible to clearly limit the working states of the hard disks on the hard disk backplane, and the disk array controller will control the working state of the over-temperature hard disk to be in a restricted state, so that the hard disk temperature will gradually decrease, so that the hard disk temperature can be effectively adjusted, the service life of the hard disk can be extended, and the server can be maintained to run stably for a long time, avoiding damage or failure of the hard disk caused by this.

[0029] In a possible implementation, the method further includes: if the current temperature of the hard disk is greater than or equal to the second temperature threshold, the baseboard management controller warns the hard disk, wherein the first temperature threshold is less than the second temperature threshold. The second temperature threshold is the extreme operating temperature threshold of the hard disk. If the hard disk exceeds the second temperature threshold, the hard disk will not be able to maintain a normal working state, and the reading and writing speed will be affected, data will be lost, or the hard disk will be damaged. Therefore, a timely alarm is issued to the hard disk whose current temperature exceeds the extreme operating temperature to notify the staff to handle it.

[0030] In a possible implementation, the control instruction includes a backplane restriction control instruction. The baseboard management controller generates a control instruction based on the current temperature of the hard disk and sends it to the disk array controller. The disk array controller controls the working state of the hard disk based on the control instruction, including: the baseboard management controller determines the target hard disk backplane according to the number of over-temperature hard disks and the current temperature of each hard disk in multiple hard disk backplanes, and sends the backplane restriction control instruction to the disk array controller, wherein the over-temperature hard disk is a hard disk whose current temperature is greater than the first temperature threshold; the disk array controller controls the working state of all hard disks in the target hard disk backplane to be in a restricted state based on the backplane restriction control instruction. Thus, the disk array controller can timely restrict the work of all hard disks in the target hard disk backplane (which can be understood as a hard disk backplane with a higher temperature), and can quickly reduce the temperature of the target hard disk backplane to avoid thermal effects on peripheral electronic devices. Then, the management of the status of all hard disks is completed to ensure the stable operation of the entire server.

[0031] In a possible implementation, the baseboard management controller determines the target hard disk backplane according to the number of over-temperature hard disks and the current temperature of each hard disk in multiple hard disk backplanes, including: the baseboard management controller determines the target number according to the number of over-temperature hard disks, and selects the target number of target hard disk backplanes from multiple hard disk backplanes according to the current temperature of each hard disk in multiple hard disk backplanes. In this way, the temperature of the target hard disk backplane can be quickly reduced, and the working state of the non-over-temperature hard disk in the non-target hard disk backplane can be controlled to be in a non-restricted state without thermally affecting the surrounding electronic devices, thereby ensuring that the non-over-temperature hard disks can work normally and better meet the normal operation requirements of the server.

[0032] In one possible implementation, a target number of target hard disk backplanes are selected from multiple hard disk backplanes based on the current temperature of each hard disk in the multiple hard disk backplanes, including: selecting a target number of target hard disk backplanes from high to low according to the average temperature of the hard disks of each hard disk backplane, or selecting a target number of target hard disk backplanes from high to low according to the sum of the hard disk temperatures of each hard disk backplane.

[0033] In a possible implementation, obtaining the current temperature of each hard disk includes: obtaining the current temperature of each hard disk at a predetermined interval.

[0034] In this way, the disk array controller or baseboard management controller can obtain the temperature of the hard disk at a predetermined time interval, thereby limiting the working state of the over-temperature hard disk, thereby reducing the temperature of the hard disk and the server and maintaining the normal operation of the server.

[0035] A third aspect of an embodiment of the present application further provides a server, comprising a chassis, a bracket arranged in the chassis, and one or more hard disk backplanes arranged on the bracket, wherein hard disks are inserted into the one or more hard disk backplanes; the server further comprises a disk array controller and a baseboard management controller, and the baseboard management controller is communicatively connected with the disk array controller to execute the hard disk management method provided by the above-mentioned first aspect or second aspect and any possible implementation thereof.

[0036] The fourth aspect of the embodiment of the present application further provides a server, comprising a chassis, a bracket arranged in the chassis, and one or more hard disk backplanes arranged on the bracket, wherein a hard disk is inserted into the one or more hard disk backplanes. The baseboard management controller is used to detect whether the bracket is in place and send a hard disk management command to the disk array controller. The hard disk management command is used to instruct the disk array controller to control the working state of the hard disk. The disk array controller is used to respond to the hard disk management command and control the working state of the hard disk.

[0037] The server monitors the current temperature status of the hard disk, can promptly identify the over-temperature hard disk, and restrict the working status of the over-temperature hard disk. This application can optimize the heat dissipation efficiency of the server, effectively reduce the failure rate, and thus ensure the stable operation of the entire system, thereby extending the service life of the hard disk, reducing the replacement frequency, and reducing the corresponding maintenance cost. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 A schematic diagram of the architecture of a server according to an embodiment of the present application;

[0039] Figure 2a This is a top view schematic diagram of a bracket carrying two hard disk backplanes according to an embodiment of the present application;

[0040] Figure 2b This is a top view schematic diagram of a bracket carrying four hard disk backplanes according to an embodiment of the present application;

[0041] Figure 3 A schematic top view of a server according to an embodiment of the present application;

[0042] Figure 4 A schematic diagram of a main view of a server according to an embodiment of the present application;

[0043] Figure 5a A schematic side view of a server according to an embodiment of the present application;

[0044] Figure 5b A schematic side view of a server in which a bracket according to an embodiment of the present application is pulled out relative to the server;

[0045] Figure 6 This is a schematic diagram of the architecture of a server according to another embodiment of the present application;

[0046] Figure 7a The steps of the hard disk management method according to an embodiment of the present application are shown as follows: Figure 1 ;

[0047] Figure 7b This is a second schematic diagram of the steps of the hard disk management method according to an embodiment of the present application;

[0048] Figure 7c The steps of the hard disk management method according to an embodiment of the present application are shown as follows: Figure 3 ;

[0049] Figure 7d The steps of the hard disk management method according to an embodiment of the present application are shown as follows: Figure 4 ;

[0050] Figure 7e Schematic diagram 5 of the hard disk management method according to an embodiment of the present application;

[0051] Figure 7f The steps of the hard disk management method according to an embodiment of the present application are shown as follows: Figure 6 ;

[0052] Figure 7g Schematic diagram 7 of the hard disk management method according to an embodiment of the present application;

[0053] Figure 8a The steps of the hard disk management method according to another embodiment of the present invention are shown as follows: Figure 1 ;

[0054] Figure 8b This is a second schematic diagram of the steps of a hard disk management method according to another embodiment of the present application;

[0055] Figure 8c The steps of the hard disk management method according to another embodiment of the present invention are shown as follows: Figure 3 ;

[0056] Figure 8d The steps of the hard disk management method according to another embodiment of the present invention are shown as follows: Figure 4 .

[0057] Description of reference numerals:

[0058] 1. Server;

[0059] 10. Chassis; 11. Motherboard; 12. CPU; 13. Power module;

[0060] 141. A first fan module; 142. A second fan module;

[0061] 151. Hard disk; 152. Front hard disk; 16. Sensor;

[0062] 17. Baseboard management controller; 18. Disk array controller;

[0063] 19. Hard disk backplane; 191. Slot;

[0064] 20. Bracket; 21. Memory; 22. PCIE slot;

[0065] X: chassis horizontal direction; Y: chassis vertical direction; Z: chassis vertical direction. DETAILED DESCRIPTION

[0066] The following specific embodiments illustrate the implementation of the present application, and those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification. Although the description of the present application will be introduced in conjunction with some embodiments, this does not mean that the features of this application are limited to the implementation. On the contrary, the purpose of introducing the application in conjunction with the implementation is to cover other options or modifications that may be extended based on the claims of the present application. In order to provide a deep understanding of the embodiments of the present application, many specific details will be included in the following description. The present application can also be implemented without using these details. In addition, in order to avoid confusion or blurring the key points of the embodiments of the present application, some specific details will be omitted in the description. It should be noted that, in the absence of conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.

[0067] It should be noted that in this specification, similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings.

[0068] See also Figure 1 , which is a schematic diagram of the architecture of a server according to an embodiment of the present application.

[0069] like Figure 1 As shown, the server 1 includes a chassis 10, a bracket 20 disposed in the chassis 10, and one or more hard disk backplanes 19 disposed on the bracket 20, and a hard disk 151 is inserted into each hard disk backplane 19.

[0070] The chassis 10 is a shell of the server 1 , and can also be understood as a frame of the server 1 . Various components of the server 1 are installed inside the chassis 10 .

[0071] The bracket 20 is used to fix the hard disk 151, and is usually installed in the chassis 10 of the server 1 to facilitate the installation and maintenance of the hard disk 151. The hard disk bracket 20 can be made of plastic or metal, and can be divided into different types such as drawer type, screw fixed type or slide rail type.

[0072] The hard disk 151 is disposed in the bracket 20, which can be understood as the built-in hard disk of the server 1. It is a data storage device used to provide data storage services for the server 1. The hard disk 151 referred to in the embodiment of the present application can be a mechanical hard disk (HDD, HardDisk Drive) or a solid-state hard disk (SSD). It should be noted that the hard disks 151 plugged into each hard disk backplane 19 can all be mechanical hard disks, or all be solid-state hard disks, or some can be mechanical hard disks and some can be solid-state hard disks. The specific embodiment of the present application does not limit this. Among them, the other hard disks mentioned below (for example, Figures 3 to 5b The front hard disk 152 shown in the figure can also be understood in the same way, and will not be described in detail below. The server 1 can also include a rear hard disk, which is not limited in the embodiment of the present application.

[0073] The hard disk backplane 19 is disposed in the bracket 20 and can be understood as a built-in backplane of the server 1. The hard disk backplane 19 is also called a hard disk interface card or a hard disk expansion card, and is used to connect the hard disk 151 to the motherboard 11. It is usually used in the server 1 or a multi-hard disk storage system, allowing the user to connect multiple hard disks 151 through one or more interfaces. The main function of the hard disk backplane 19 is to provide a power supply and data transmission interface for the hard disk 151.

[0074] It should be noted that the number of hard disk backplanes 19 provided on the bracket 20 is not limited, for example, it can be two, three, four or more. Figure 1 and Figure 2a Take two examples, Figure 2b The four examples are not representative of the actual number of hard disk backplanes 19 on the bracket 20. Those skilled in the art will appreciate that in other possible implementations, the hard disk backplane 19 provided on the bracket 20 may be one.

[0075] It should also be understood that each hard disk backplane 19 in the bracket 20 can be connected to one or more hard disks 151 respectively.

[0076] Similarly, the hard disk backplane 19 can be connected to one or more hard disks 151 through an interface, and the interface connecting the hard disk 151 to the hard disk backplane 19 can be a PCIe dedicated interface, a SATA (serial advanced technology attachment) dedicated interface, an M.2 interface, and other interfaces. The types of hard disk 151 can be different types such as mechanical hard disks and solid-state hard disks (such as NVMe solid-state hard disks). Correspondingly, the channel through which the hard disk 151 and the hard disk backplane 19 transmit data through the interface can be a PCIe channel, a SATA channel, a SAS (serial attached SCSI) channel, and other channels. The communication protocol supported by the hard disk transmission data can be an IDE (integrated drive electronics) protocol, an AHCI (advanced host controller interface) protocol, an NVMe (non-volatile memory express) protocol, and the like. The interface between the hard disk and the hard disk backplane 19, the data transmission channel, and the communication protocol supported by the hard disk are only described as examples, and the embodiments of the present application do not limit this.

[0077] It should be noted that the SAS hard disk or SATA hard disk mentioned in the embodiments of the present application is a hard disk connected via a SAS or SATA interface, wherein the SATA hard disk may include a mechanical hard disk, and the mechanical hard disk is connected to the hard disk backplane 19 via the SATA interface.

[0078] It should be understood that one or more hard disk backplanes 19 can be installed on the bracket 20 , and the bracket 20 is installed inside the chassis 10 of the server 1 and can be dragged out relative to the chassis 10 of the server 1 .

[0079] See also Figure 2a to Figure 2b As shown, schematic top views of a bracket carrying 2 and 4 hard disk backplanes in an embodiment of the present application are respectively shown.

[0080] For example, Figure 2a As shown in the figure, two hard disk backplanes 19 are installed on the bracket 20. Figure 2b As shown in the figure, four hard disk backplanes 19 are installed on the bracket 20. Figure 2a and Figure 2bAs shown, each hard disk backplane 19 is plugged with 15 hard disks 151. In the embodiment of the present application, there is no restriction on the number of hard disk backplanes 19 and the number of hard disks 151 plugged into the hard disk backplane 19. In one embodiment, as shown in the example in the figure, multiple hard disk backplanes 19 can be arranged along the longitudinal direction Y of the chassis (which can also be understood as the length direction of the chassis 10), and each hard disk backplane 19 extends along the transverse direction X of the chassis. In other embodiments, multiple hard disk backplanes 19 can be arranged along the transverse direction X of the chassis (which can also be understood as the width direction of the chassis 10), and each hard disk backplane 19 extends along the longitudinal direction Y of the chassis. Since the hard disk backplane 19 is placed on the bracket 20, the hard disk backplane 19 and the hard disk 151 plugged into the hard disk backplane 19 can be pushed into or dragged out of the chassis 10 of the server 1 along the bracket 20.

[0081] It should be noted that the hard disk 151 is plugged into the hard disk backplane 19 through the slot 191 on the hard disk backplane 19, and the number of hard disks 151 on each hard disk backplane 19 is less than or equal to the number of slots 191 on the hard disk backplane 19. Or it can be understood that it can be that all the slots 191 on the hard disk backplane 19 are plugged with hard disks 151, or it can be that some of the slots 191 on the hard disk backplane 19 are plugged with hard disks 151, and other part of the slots 191 are not plugged with hard disks 151, or it can be that all the slots 191 on the hard disk backplane 19 are not plugged with hard disks 151, and the embodiment of the present application does not limit this.

[0082] See also Figure 3 , Figure 3 The figure is a top view of a server 1 according to an embodiment of the present application. It should be noted that the figure only illustrates the basic structure of the server 1, the basic structural composition and working principle of the server 1, and does not limit the specific structure and relative position relationship of each component. In addition, the actual product may include more or fewer components than those illustrated in the figure.

[0083] like Figure 3 As shown, the server 1 may further include a power module 13, a mainboard 11, a fan module, and a front hard disk 152. The power module 13 is electrically connected to the mainboard 11, and is used to supply power to the components on the mainboard 11. The fan module includes a first fan module 141 and a second fan module 142, and is used to provide heat dissipation support for the server 1. The fan module can prevent the components such as the central processor 12, the memory 21, the hard disk 151, and the front hard disk 152 from being damaged or degraded due to overheating, thereby ensuring the normal operation of the server 1.

[0084] The front hard disk 152 is arranged on the front panel of the server 1. Figure 4 As shown, it is a schematic diagram of a main view of a server 1 according to an embodiment of the present application. Figure 4As shown, the front hard disk 152 is placed on one side of the front panel of the server 1, and one end of the bracket 20 extends to the position of the front panel.

[0085] like Figure 3 As shown, the motherboard 11 is a core component in the hardware system of the server 1, and is compatible with a variety of hardware including the central processor 12, memory 21, storage devices and network devices. The motherboard 11 provides a platform for the connection and communication of various hardware devices. The motherboard 11 has a variety of expansion slots, such as a PCIe slot 22, a high-performance CPU or CPU slot, etc. The PCIe slot 22 can support, for example, a network card, a memory card and other expansion cards; the high-performance CPU or CPU slot can support the server 1 to provide powerful computing power; at the same time, the motherboard 11 also provides a variety of storage interfaces, such as SATA, SAS or NVMe, and the storage interface is used to connect storage devices such as mechanical hard disks and solid-state hard disks.

[0086] In addition, if Figure 1 and Figure 3 As shown, a baseboard management controller 17 is integrated on the mainboard 11. The baseboard management controller 17 (Board Management Controller, referred to as BMC) is a dedicated controller integrated on the mainboard 11 of the server 1. It can record various information of the out-of-band devices of the server 1 and is used to provide monitoring, management and maintenance functions for the server 1.

[0087] It should be noted that different manufacturers have different names for baseboard management controllers, for example, some manufacturers call it BMC, some manufacturers call it iL0 (integrated lights-out), and some manufacturers call it integrated Dell remote access controller (iDRAC). Regardless of whether it is called BMC, iL0 or iDRAC, it can be understood as the baseboard management controller in the embodiments of the present application.

[0088] The baseboard management controller 17 is connected to the mainboard 11 through a dedicated interface such as LPC (Low in Count), I2C (inter-integrated circuit), SPI (Serial Peripheral Interface), etc., or by sharing a bus with the mainboard 11 to establish communication with the mainboard 11.

[0089] See also Figure 5a , Figure 5a A schematic side view of a server according to an embodiment of the present application is shown.

[0090] like Figure 5a As shown, combined with Figure 3It is understood that the power module 13, the mainboard 11, the first fan module 141, the second fan module 142, the front hard disk 152 and the bracket 20 are all installed inside the chassis 10 of the server 1. Among them, the power module 13, the mainboard 11, the first fan module 141, and the front hard disk 152 are located on the first layer of the server 1 in the vertical direction Z of the chassis (which can also be understood as the height direction of the chassis 10), and remain fixed relative to the chassis 10 of the server 1. The second fan module 142, the bracket 20, and the hard disk backplane 19 disposed in the bracket 20 and the hard disk 151 plugged into the hard disk backplane 19 (see Figure 2a and Figure 2b ) is located on the second layer of server 1 in the vertical direction Z of the chassis. It should be noted that, Figure 5a and Figure 5b The direction of the arrow in the middle indicates the direction of airflow. In one example, the airflow flows from the side where the rear panel of the server 1 is located to the side where the front panel is located. In other examples, the airflow may also flow from the side where the front panel of the server 1 is located to the side where the rear panel is located, and the embodiment of the present application is not limited to this.

[0091] The first fan module 141 is placed between the mainboard 11 and the front hard disk 152. The first fan module 141 is mainly used to dissipate heat from the mainboard 11, the front hard disk 152, the hard disk 151 loaded by the bracket 20, and the hard disk backplane 19. The second fan module 142 is mainly used to dissipate heat from the power module 13, the mainboard 11, and the hard disk 151 loaded by the bracket 20 and the hard disk backplane 19. The bracket 20 located at the second layer can be dragged out relative to the chassis 10 of the server 1, thereby driving the hardware backplane 19 installed on the bracket 20 and the hard disk 151 plugged into the hard disk backplane 19 to be dragged out of the chassis 10, so that the hard disk can be maintained or tested.

[0092] See also Figure 5b , Figure 5b A schematic side view of a server is shown in which a bracket according to an embodiment of the present application is pulled out relative to the server.

[0093] like Figure 5b As shown, combined with Figure 2a and Figure 2b It is understood that at this time, the bracket 20 is slid and pulled out relative to the chassis 10 of the server 1, and thus, the hard disk backplane 19 installed on the bracket 20 and the hard disk 151 plugged into the hard disk backplane 19 will be pulled out of the chassis 10 of the server 1 along with the bracket 20. The bracket 20 can be slid and pulled out relative to the server chassis 10, which is convenient for maintenance and testing operations on the hard disk.

[0094] It should be noted that the bracket 20 can also be detachably installed inside the chassis 10 of the server 1. When maintenance and testing operations are required, the hard disk bracket 20 is removed from the chassis 10 of the server 1. The embodiment of the present application does not limit the installation and fixing method between the hard disk bracket 20 and the chassis 10 of the server 1.

[0095] It should be noted that for the scenario where the bracket 20 is not dragged out of the server chassis 10, that is, when the bracket 20, the hard disk backplane 19, and the hard disk are completely placed inside the chassis 10, the fan module, as the heat dissipation device of the server 1, can basically meet the heat dissipation requirements of components such as the central processing unit 12, the memory 21, and the hard disk. When the hard disk 151 needs to be maintained and tested, the staff needs to pull the bracket 20 and drag the hard disk backplane 19 and the hard disk 151 out of the chassis 10 of the server 1 before replacing or testing the hard disk 151. Since the position of the fan module inside the server 1 is fixed, in the process of dragging the bracket 20 out of the chassis 10 of the server 1, the hard disk backplane 19 and the hard disk 151 plugged into the hard disk backplane 19 will gradually move away from the fan module, combined with Figure 2a , Figure 2b Understand that Figure 2a For example, the hard disk backplane 19a is closer to the second fan module 142. Compared with the state in which the bracket is placed in the server, when the bracket 20 is dragged out, the distance that the airflow blows to the hard disk backplane 19a will become farther, thereby the heat dissipation efficiency of the hard disk backplane 19a will become lower, and because the hard disk backplane 19b is farther away from the fan module, the airflow first passes through the hard disk backplane 19a and then reaches the hard disk backplane 19b. Therefore, the heat dissipation efficiency of the hard disk backplane 19b farther away from the fan module will be reduced more. If the server 1 is a high-density frame model, the components are arranged more closely and are not easy to dissipate heat. At this time, it is more likely that the hard disk will overheat, causing damage to the hard disk and unstable temperature of the server 1, thereby affecting the normal operation of the server 1.

[0096] The embodiment of the present application proposes a hard disk management method. The method monitors the in-place status of the bracket through a baseboard management controller, and triggers the hard disk temperature monitoring and working status management mechanism when the bracket is detected to be out of position, that is, the hard disk temperature is monitored through a disk array controller or a baseboard management controller, and the hard disk operation is controlled through the disk array controller. When the hard disk is detected to be over-temperature, the disk array controller can timely limit the working status of the over-temperature hard disk and the working status of the hard disk backplane with a higher temperature, so as to keep the temperature of the server stable, reduce the failure rate, and avoid the hard disk over-temperature problem during the hard disk replacement process.

[0097] The implementation of the embodiments of the present application will be described in detail below with reference to the accompanying drawings.

[0098] The hard disk management method proposed in the embodiment of the present application is applied to a server. Figure 1 and Figure 6 As shown, the server 1 includes a disk array controller 18 and a baseboard management controller 17 , and the baseboard management controller 17 is communicatively connected with the disk array controller 18 to implement the hard disk management method described below.

[0099] The disk array controller 18 (Redundant Arrays of Independent Disks Controller, referred to as RAID controller) is a hardware device or software program used to manage the mechanical hard disk (HDD) or solid state disk (SSD) in a computer or storage array. The disk array controller 18 can combine multiple hard disks into an array with larger capacity and better security, improve performance by using distributed read and write technology, and reduce the risk of data loss through a data redundancy backup mechanism. During the use of the disk array controller, if a hard disk is damaged, the hard disk can be marked, removed and replaced through specific commands, and then the function of the array controller can be used to rebuild and restore the data.

[0100] like Figure 1 and Figure 3 As shown, a central processing unit 12 (CPU), a disk array controller 18, and a baseboard management controller 17 are arranged on a mainboard 11. The disk array controller 18 can be connected to the mainboard 11 through, for example, a PCIE slot 22 to establish communication between the disk array controller 18 and the mainboard 11.

[0101] like Figure 1 As shown, the disk array controller 18 is also connected to the hard disks 151 on the bracket 20. Figure 1 and Figure 6 It is understood that the disk array controller 18 communicates with the hard disk 151 using a standard interface protocol, such as SATA (Serial ATA), SAS (Serial Attached SCSI) or NVMe (Non-Volatile Memory Express), and only SAS and NVMe interfaces are shown in the figure. Different interface protocols can be used to connect different types of hard disks, for example, SATA (Serial ATA) and SAS (Serial Attached SCSI) can be used to connect mechanical hard disks (HDDs) and solid-state drives (SSDs), and NVMe (Non-Volatile Memory Express) can be used to connect NVMe solid-state drives.

[0102] It should be noted that the hard disk 151 referred to in this embodiment includes a SAS / SATA hard disk, or includes a SAS / SATA hard disk and an NVME hard disk.

[0103] It should be noted that, when the type of hard disk 151 is different, the communication method between it and disk array controller 18 will also be different. Figure 1 As shown, when the hard disk 151 is a SAS / Sata hard disk, the SAS / Sata hard disk is connected to the disk array controller 18 through the hard disk backplane 19, that is, the disk array controller 18 sends the read and write data service to the SAS / Sata hard disk through the hard disk backplane 19. Figure 6 As shown, when the hard disk 151 is an NVME hard disk, the NVME hard disk is not only connected to the disk array controller 18 through the hard disk backplane 19, but also directly connected to the disk array controller 18, that is, the disk array controller 18 can send the read and write data service to the NVME hard disk through the hard disk backplane 19, or directly send the read and write data service to the NVME hard disk.

[0104] The disk array controller 18 is physically connected to the hard disk 151 through the hard disk backplane 19 in any manner, for example, Figure 1 As shown, the disk array controller 18 can be connected to the hard disk 151 through the serial connection SCSI expander SAS expander on each hard disk backplane 19 to obtain the hard disk information of the SAS hard disk or SATA hard disk plugged into each hard disk backplane 19 through the SCSI expander SAS expander.

[0105] like Figure 1 and Figure 6 As shown, a connection channel is provided between the disk array controller 18 and the baseboard management controller 17, so that the baseboard management controller 17 can obtain the hard disk information connected to the hard disk backplane 19 through the disk array controller 18. The disk array controller 18 and the baseboard management controller 17 can communicate with each other through methods such as IPMI (Intelligent Platform Management Interface) and SMI-S (Storage Management Initiative Specification). Through the above channel, the disk array controller 18 receives the hard disk management command from the baseboard management controller 17 (the explanation of the hard disk management command is explained in detail below), and responds to the control instruction generated by the hard disk management command to monitor and control the working status of the hard disk 151 and the hard disk backplane 19.

[0106] The instructions of the disk array controller 18 are transmitted to the at least one hard disk 151 through the interface on the hard disk backplane 19. Correspondingly, the hard disk information of the at least one hard disk 151 can also be transmitted to the disk array controller 18 through the interface on the hard disk backplane 19. Figure 1 The embodiment is used as an example for explanation, the hard disk backplane 19 includes a serial connection SCSI expander SAS expander and at least one SAS / SATA hard disk. At least one SAS / SATA hard disk is connected to the hard disk backplane 19 through the SAS expander, and each SAS expander corresponds to at least one SAS / SATA hard disk. The disk array controller 18 receives instructions from the baseboard management controller 17 and can obtain the hard disk information of the SAS / SATA hard disk through the SAS expander of the hard disk backplane 19.

[0107] In one embodiment, the hard disk type connected to the hard disk backplane 19 may also include an NVME hard disk. Figure 6 , shows a schematic diagram of the architecture of a server 1 according to another embodiment of the present application. In this embodiment, a hard disk backplane 19 connects hard disks of two hard disk types.

[0108] like Figure 6 As shown, at least one NVME hard disk and at least one SAS / SATA hard disk are connected to the hard disk backplane 19 via a SAS expander. For the SAS / SATA hard disk, the disk array controller 18 can obtain the hard disk information of the SAS / SATA hard disk via the hard disk backplane 19, more specifically, via the SAS expander on the hard disk backplane 19.

[0109] For NVME hard disks, similarly, the disk array controller 18 can obtain the hard disk information of the NVME hard disk via the SASexpander on the above-mentioned hard disk backplane 19, or the disk array controller 18 can directly obtain the hard disk information of the NVME hard disk, thereby the disk array controller 18 obtains the hard disk information of different types of hard disks, and sends the obtained hard disk information to the baseboard management controller 17. The baseboard management controller 17 sends corresponding instructions to the disk array controller 18 to manage the hard disk according to the received hard disk information.

[0110] See also Figure 7a , Figure 7a FIG. 1 is a flowchart showing the steps of a hard disk management method according to an embodiment of the present application. Figure 7a As shown, combined with Figure 1 and Figure 6 It is understood that in one possible implementation, the hard disk management method includes the following steps:

[0111] Step S110: When the state of the bracket 20 of the server 1 is in the out-of-position state (for example, Figure 5b In the case of the state shown in the figure), the baseboard management controller 17 sends a hard disk management command to the disk array controller 18, and the hard disk management command is used to instruct the disk array controller 18 to control the working state of the hard disk.

[0112] Step S120 : the disk array controller 18 controls the working state of the hard disk 151 based on the current temperature of the hard disk 151 in response to the hard disk management command.

[0113] like Figure 5a and Figure 5b As shown, the out-of-position state refers to the bracket 20 relative to the chassis 10 of the server 1. The bracket 20 can be slid and dragged relative to the chassis 10. The state of not being completely dragged out or completely dragged out of the chassis 10 of the server 1 is the out-of-position state of the bracket 20, or the bracket 20 of the server 1 is detachable relative to the chassis 10 (not shown in the figure). When the bracket 20 of the server 1 is partially dragged out or completely dragged out of the chassis 10 of the server 1, the state of the bracket 20 is characterized as the out-of-position state. The out-of-position state of the bracket 20 is fed back to the baseboard management controller 17 to instruct the disk array controller 18 to respond to the hard disk management command and control the working state of the hard disk 151 based on the current temperature of the hard disk 151.

[0114] It should be noted that the baseboard management controller 17 obtains the position information of the bracket 20 in the server 1 and determines the state of the bracket 20 according to the position information. The state of the bracket 20 is the bracket 20 in-position state or the bracket 20 out-of-position state.

[0115] In one embodiment, the out-of-position state of the bracket 20 of the server 1 can be obtained in real time through the sensor 16, or the in-position state information of the bracket 20 can be periodically obtained through the sensor 16, and the period can be 0.5s, 1s, 2s, etc. The embodiment of the present application does not limit how to detect and feedback the out-of-position state of the bracket 20. The sensor 16 sends the out-of-position information to the baseboard management controller 17, and the baseboard management controller 17 sends a hard disk management command to the disk array controller 18, triggering the disk array controller 18 to obtain the current temperature of each hard disk, and control the working state of the hard disk according to the obtained current temperature of each hard disk.

[0116] When the bracket 20 is in the out-of-position state, the baseboard management controller 17 notifies the disk array controller 18, and the disk array controller 18 obtains the current temperature of each hard disk 151 in real time or periodically. For example, the disk array controller 18 can obtain the temperature once every predetermined time. The predetermined time can be, for example, 1s, 2s, 5s, etc. The disk array controller 18 can also obtain the current temperature in real time, which is not limited in the embodiment of the present application.

[0117] Furthermore, the disk array controller 18 can use SMART (Self-Monitoring, Analysis, and Reporting Technology) to monitor the temperature of the hard disk, or detect the temperature of the hard disk through a temperature sensor. The embodiment of the present application does not limit the manner in which the disk array controller 18 obtains the hard disk temperature.

[0118] It should be noted that, in one implementation, for some types of hard disks, such as SAS / SATA hard disks, the current temperature can be obtained by the disk array controller 18, that is, the solution described above. In another implementation, for some types of hard disks, such as NVMe hard disks, the current temperature can be obtained by the baseboard management controller 17. The baseboard management controller 17 determines which hard disks need to be restricted and which hard disks do not need to be restricted based on the obtained current temperature of the hard disk, and then sends a control instruction to the disk array controller 18. Finally, the disk array controller 18 controls the working status of the hard disk. The steps of this hard disk management method are not described in detail here, and are specifically explained in detail below.

[0119] The disk array controller controls the working state of the hard disk, which can be understood as controlling the working state of the hard disk to be in a restricted state or an unrestricted state, that is, the disk array controller restricts or does not restrict the working of the hard disk. The working state of the hard disk includes: whether to perform a read operation or a write operation, the frequency of the read operation or the write operation, and the operating mode of the hard disk.

[0120] The disk array controller controls the working state of the hard disk to be in a restricted state, which can be understood as the disk array controller restricting the work of the hard disk and reducing its heat generation to achieve the purpose of lowering the hard disk temperature so that the hard disk can work normally within the threshold temperature range. There is no limit to the way of limiting the work of the hard disk, as long as it can reduce its heat generation, it belongs to the scope of the embodiments of the present application. The way of controlling the working state of the hard disk to be in a restricted state can be, for example, that the disk array controller does not send read and write data services to the over-temperature hard disk, limits the read operation or write operation of the over-temperature hard disk, or reduces the frequency of sending read and write data services to the over-temperature hard disk, reduces the frequency of read operation or write operation of the over-temperature hard disk, or adjusts the operation mode of the over-temperature hard disk to the energy-saving mode to reduce the energy consumption of the over-temperature hard disk, etc.

[0121] The disk array controller controls the working state of the hard disk to be in a non-restricted state, which can be understood as the disk array controller does not restrict the working of the hard disk, and the working state of the hard disk returns to a normal state. Therefore, the disk array controller can send read and write data services to the hard disk as required, so that the hard disk can perform read or write operations normally. For example, when the hard disk receives read and write data services from the disk array controller, the hard disk can currently perform data read and write operations. When the hard disk does not receive read and write data services from the disk array controller, it may not perform data read and write. Alternatively, the disk array controller can increase the frequency of sending read and write data services to the over-temperature hard disk, increase the frequency of read or write operations of the over-temperature hard disk, or the disk array controller can adjust the operating mode of the over-temperature hard disk to a non-energy-saving mode.

[0122] The hard disk management method provided in the embodiment of the present application, for example, in the scenario of maintaining and testing the server, when the server bracket is not in place, the baseboard management controller will send a hard disk management command to the disk array controller, and the disk array controller responds to the hard disk management command, monitors and obtains the current temperature of each hard disk, and controls the working state of the hard disk based on the current temperature of the hard disk, so as to reduce the heat generated by the over-temperature hard disk by limiting the working state of the over-temperature hard disk, and achieve the purpose of cooling the hard disk and the hard disk backplane, so that the hard disk can work normally within the threshold temperature range. Therefore, by limiting the working state of the hard disk in the over-temperature state by the disk array controller, the over-temperature of the hard disk in the maintenance and testing process of the high-density frame model of the server can be effectively solved, the failure probability of the hard disk due to over-temperature can be reduced, the hard disk replacement cycle can be reduced, and the service life of the hard disk can be extended, thereby reducing the maintenance cost of the server and ensuring the long-term stable operation of the server.

[0123] like Figure 7b As shown, combined with Figure 1 and Figure 6It is understood that in a possible implementation, based on the current temperature of the hard disk 151, the working state of the hard disk 151 is controlled, including: if the current temperature of the hard disk 151 is less than or equal to the first temperature threshold, the disk array controller 18 controls the working state of the hard disk 151 to be in a non-restricted state; if the current temperature of the hard disk 151 is greater than the first temperature threshold, the disk array controller 18 controls the working state of the hard disk to be in a restricted state. Among them, the hard disk whose current temperature is greater than the first temperature threshold is an over-temperature hard disk, and the hard disk whose current temperature is less than or equal to the first temperature threshold is a non-over-temperature hard disk. Or it can be understood that, for each hard disk 151, if it is an over-temperature hard disk, the disk array manager 18 controls the working state of the hard disk to be in a restricted state, and if it is a non-over-temperature hard disk, the disk array manager 18 controls the working state of the hard disk to be in a non-restricted state. In other possible implementations, even if some hard disks are non-over-temperature hard disks, in order to reduce the temperature of the hard disk backplane where they are located, the working state of these non-over-temperature hard disks can also be controlled to be in a restricted state, which will be described in detail below.

[0124] like Figure 7c As shown, in a possible implementation, the current temperature state of the hard disk 151 is determined based on the current temperature of the hard disk 151. If the current temperature of the hard disk 151 is less than or equal to the first temperature threshold, the disk array controller 18 determines that the current temperature state of the hard disk 151 is a non-over-temperature state. If the current temperature of the hard disk 151 is greater than the first temperature threshold, the disk array controller 18 determines that the current temperature state of the hard disk 151 is an over-temperature state. The over-temperature state is represented by a state in which the current temperature of the hard disk 151 exceeds the first temperature threshold, and the non-over-temperature state is represented by a state in which the current temperature of the hard disk 151 is less than or equal to the first temperature threshold. It should be noted that an over-temperature hard disk can also be understood as a hard disk in an over-temperature state, and a non-over-temperature hard disk can also be understood as a hard disk in a non-over-temperature state.

[0125] The first temperature threshold refers to the temperature range of the hard disk when it is operating normally and storing data. Different types of hard disks, such as mechanical hard disks (HDD) or solid-state hard disks (SSD), may have different temperature ranges for maintaining normal operation and storing data. In the embodiment of the present application, the operating temperature limit of the hard disk 151 that maintains the normal operation and storage of data of the hard disk 151 is defined as the first temperature threshold. When the current temperature of the hard disk 151 is less than or equal to the first temperature threshold, the hard disk 151 can operate safely and reliably. The current temperature state of the hard disk 151 within this temperature range is a non-overtemperature state, and the current temperature state of the hard disk 151 greater than the first temperature threshold is an overtemperature state.

[0126] When the hard disk 151 is in a non-overtemperature state, the disk array controller 18 controls the working state of the hard disk 151 to be in a non-restrictive state, for example, Figure 1As shown, the disk array controller 18 can continuously send read and write data instructions to the SAS hard disk through the SAS expander interface on the backplane, so that the SAS hard disk can read and write data, or when the SAS hard disk does not receive the read and write data instructions from the disk array controller 18, the SAS hard disk may not read and write data at this time. When the hard disk 151 is in an over-temperature state, the disk array controller 18 controls the working state of each hard disk 151 in the over-temperature state to be in a restricted state, and the disk array controller 18 will no longer send read and write data instructions to the SAS hard disk. The disk array controller 18 responds to the hard disk management command from the baseboard management controller to obtain the current temperature of each hard disk. According to the obtained current temperature of each hard disk, the disk array controller 18 can determine whether the current temperature state of each hard disk is an over-temperature state or a non-over-temperature state. Therefore, by setting the first temperature threshold, it can be clearly determined which hard disks are over-temperature hard disks and which are not over-temperature hard disks, and then the working status of the hard disks on the hard disk backplane can be clearly restricted. The disk array controller 18 will limit the working status of the over-temperature hard disks, so that the hard disk temperature will gradually decrease. Therefore, the hard disk temperature can be effectively adjusted, the service life of the hard disk can be extended, the long-term stable operation of the server can be maintained, and the damage or failure of the hard disk caused by this can be avoided.

[0127] In one possible implementation, the method also includes: if the current temperature of the hard disk 151 is greater than or equal to the second temperature threshold, the disk array controller 18 sends a first alarm message to the baseboard management controller 17, and the baseboard management controller 17 alarms the hard disk 151 based on the first alarm message, wherein the first temperature threshold is less than the second temperature threshold.

[0128] Furthermore, the over-temperature state of the hard disk includes a first-level over-temperature state and a second-level over-temperature state. If the current temperature of the hard disk is greater than the first temperature threshold, the disk array controller 18 determines that the current temperature state of the hard disk is an over-temperature state, including: if the current temperature of the hard disk is greater than the first temperature threshold and less than the second temperature threshold, the disk array controller 18 determines that the current temperature state of the hard disk is a first-level over-temperature state; if the current temperature of the hard disk is greater than or equal to the second temperature threshold, the disk array controller 18 determines that the current temperature state of the hard disk is a second-level over-temperature state, and sends a first alarm message to the baseboard management controller 17, and the baseboard management controller 17 warns the hard disk in the second-level over-temperature state based on the first alarm message.

[0129] In the embodiment of the present application, the limit operating temperature of the hard disk 151 is defined as the second temperature threshold, and the second temperature threshold is the highest temperature that the hard disk 151 can withstand. If the limit operating temperature is exceeded, the hard disk 151 may not work properly or may be damaged. If for a certain hard disk, the current temperature of the hard disk is greater than the first temperature threshold and less than the second temperature threshold, the over-temperature state of the hard disk 151 is the first-level over-temperature state. If for a certain hard disk, the current temperature of the hard disk is greater than the second temperature threshold, the current temperature state of the hard disk 151 is the second-level over-temperature state. The first temperature threshold and the second temperature threshold are limited by the hard disk type, ambient temperature, heat dissipation conditions, hard disk load, hard disk performance, etc. In practical applications, there can be adaptive adjustments according to actual conditions. For example, in one embodiment, for a mechanical hard disk, the first temperature threshold can be set to 48°C to 52°C (in one example, the first temperature threshold is set to 50°C), and the second temperature threshold is set to 58 to 62°C (in one example, the second temperature threshold is set to 60°C). In another embodiment, for a solid state drive, the first temperature threshold can be set to 68°C to 72°C (in one example, the first temperature threshold is set to 70°C), and the second temperature threshold can be set to 76°C to 80°C (in one example, the second temperature threshold is set to 78°C).

[0130] When the current temperature state of the hard disk 151 is a level 2 over-temperature state, the disk array controller 18 generates a first alarm message to notify the baseboard management controller 17 to issue an alarm to the hard disk 151 in the level 2 over-temperature state.

[0131] By determining the first level over-temperature state and the second level over-temperature state, the disk array controller 18 can timely obtain the hard disk temperature of the hard disk that exceeds the limit working temperature. For the hard disk 151 in the first level over-temperature state and the second level over-temperature state, the disk array manager 18 will control the working state of such hard disk 151 to be in a restricted state. For the hard disk in the second level over-temperature state, the disk array manager 18 will also notify the baseboard management controller 17 to warn the hard disk in the second level over-temperature state.

[0132] The baseboard management controller receives feedback from the disk array controller. When the hard disk is in the second-level over-temperature state, it will promptly warn the hard disk whose current temperature exceeds the limit operating temperature to notify the staff to handle it. At this time, the working state of the hard disk is in a restricted state and the temperature will gradually decrease. Therefore, the hard disk temperature can be effectively adjusted, the service life of the hard disk can be extended, and the server can be kept running stably for a long time.

[0133] The above mainly introduces that: the disk array controller 18 controls the working state of the over-temperature hard disk to be in a restricted state, and controls the working state of the non-over-temperature hard disk to be in a non-restricted state. The following will be described in detail: in order to reduce the temperature of some high-temperature hard disk backplanes (which can be understood as the "target hard disk backplanes" mentioned below) to avoid thermal impact on peripheral electronic components, even if some hard disks on the high-temperature hard disk backplane are non-over-temperature hard disks (that is, in a non-over-temperature state), the disk array controller 18 also controls the working state of these non-over-temperature hard disks to be in a restricted state.

[0134] like Figure 7d As shown, combined with Figure 1 and Figure 6 It is understood that in a possible implementation, the disk array controller 18 controls the working state of the hard disk 151 based on the current temperature of the hard disk 151, including: the disk array controller 18 or the baseboard management controller 17 determines the target hard disk backplane according to the number of over-temperature hard disks and the current temperature of each hard disk 151 in the multiple hard disk backplanes 19; the disk array controller 18 controls the working state of all hard disks 151 in the target hard disk backplane to be in a restricted state. Therefore, the disk array controller 18 can timely limit the work of all hard disks 151 in the target hard disk backplane, and can quickly reduce the temperature of the target hard disk backplane to avoid thermal effects on peripheral electronic devices. Then the management of all hard disk states is completed to ensure the stable operation of the entire server.

[0135] It should be noted that the disk array controller 18 controls the working state of all hard disks in the target hard disk backplane to be in a restricted state. It can be understood that, in the case where there is a non-overtemperature hard disk in the target hard disk backplane, although the current temperature of the non-overtemperature hard disk is less than or equal to the first temperature threshold (that is, within the threshold temperature range that can work normally), the disk array controller 18 still controls the working state of the non-overtemperature hard disk in the target hard disk backplane to be in a restricted state. In other words, if the current temperature of the hard disk in the target hard disk backplane is less than or equal to the first temperature threshold, the disk array controller controls the working state of the hard disk to be in a restricted state, that is, its control priority is higher than "if the current temperature of the hard disk is less than or equal to the first temperature threshold, the disk array controller controls the working state of the hard disk to be in a non-restricted state".

[0136] In addition, when there is a non-target hard disk backplane on the bracket 20 of the server 1 (which can be understood as other hard disk backplanes on the bracket 20 except the target hard disk backplane), if the current temperature of the hard disk on the non-target hard disk backplane is less than or equal to the first temperature threshold, the disk array controller controls the working state of the hard disk to be in a non-restricted state; if the current temperature of the hard disk on the non-target hard disk backplane is greater than the first temperature threshold, the disk array controller controls the working state of the hard disk to be in a restricted state.

[0137] Among them, according to whether the current temperature of each hard disk 151 is in an over-temperature state, the disk array controller 18 determines the number of over-temperature hard disks 151. For example, the disk array controller 18 can display the temperature of all connected hard disks 151 through its own management interface or software, thereby determining the number of over-temperature hard disks 151, and generating control instructions according to the number of over-temperature hard disks 151. In the embodiment of the present application, when the number of over-temperature hard disks is relatively large, the temperature of some hard disk backplanes will also be higher. During the flow of air, the heat of the hard disk backplane will be transferred to the surrounding area, which may affect the temperature of surrounding electronic devices, causing the operation of surrounding electronic devices to be affected. Therefore, by limiting the operation of all hard disks on the hard disk backplane with a higher temperature (which can be understood as the "target hard disk backplane" mentioned above), the temperature of the target hard disk backplane can be quickly reduced to avoid thermal effects on surrounding electronic devices. Specifically, by determining the number of over-temperature hard disks, the disk array controller can clearly specify the control instructions, that is, control the working status of the over-temperature hard disks on the hard disk backplane to be in a restricted state, or control the working status of all hard disks on the hard disk backplane with higher temperature to be in a restricted state, and control the working status of the over-temperature hard disks on other hard disk backplanes to be in a restricted state, and determine whether it is necessary to trigger the baseboard management controller alarm, thereby completing the management of all hard disk status and ensuring the stable operation of the entire server.

[0138] Furthermore, the baseboard management controller 17 determines the target hard disk backplane according to the number of over-temperature hard disks and the current temperature of each hard disk 151 in the multiple hard disk backplanes 19, and the disk array controller controls the working status of all hard disks in the target hard disk backplane to be in a restricted state. For example, it can be achieved in the following way: the disk array controller 18 can send the acquired current temperature of each hard disk 151 in the multiple hard disk backplanes 19 to the baseboard management controller 17, the baseboard management controller 17 determines the number of over-temperature hard disks according to the received current temperature of each hard disk 151, and determines the target hard disk backplane according to the number of over-temperature hard disks and the current temperature of each hard disk 151 in the multiple hard disk backplanes 19, and sends the backplane restriction control instruction to the disk array controller 18. The disk array controller 18 restricts the working status of the target hard disk backplane based on the backplane restriction control instruction, that is, controls the working status of all hard disks 151 in the target hard disk backplane to be in a restricted state based on the backplane restriction control instruction.

[0139] like Figure 7e As shown, combined with Figure 1 and Figure 6It is understood that in a possible implementation, the disk array controller 18 or the baseboard management controller 17 determines the target hard disk backplane according to the number of over-temperature hard disks and the current temperature of each hard disk 151 in the multiple hard disk backplanes 19, including: the disk array controller 18 or the baseboard management controller 17 determines the target number according to the number of over-temperature hard disks, and selects the target number of target hard disk backplanes from the multiple hard disk backplanes 19 according to the current temperature of each hard disk 151 in the multiple hard disk backplanes 19. The disk array controller 18 controls the working state of all hard disks 151 in the target number of target hard disk backplanes to be in a restricted state, so that the temperature of the target hard disk backplane can be quickly reduced to avoid the thermal impact on the surrounding electronic devices, and the working state of the non-over-temperature hard disks in the non-target hard disk backplane is controlled to be in a non-restricted state, thereby ensuring that the non-over-temperature hard disks can work normally and better meet the normal operation requirements of the server.

[0140] It should be noted that, according to the current temperature of each hard disk 151 in the multiple hard disk backplanes 19, a target number of target hard disk backplanes are selected from the multiple hard disk backplanes 19, and the selection method is not limited. For example, the target number of target hard disk backplanes can be selected from high to low according to the average hard disk temperature of each hard disk backplane 19, or the target number of target hard disk backplanes can be selected from high to low according to the sum of the hard disk temperatures of each hard disk backplane. If the total temperature of the hard disk 151 on a single hard disk backplane 19 is defined as T, where T is the sum of the current temperatures of the hard disks 151 actually plugged in, if the number of hard disks 151 plugged in the hard disk backplane 19 at this time is m, then the average temperature of the single hard disk backplane 19 is t=T / m. If the average hard disk temperature or the sum of the hard disk temperatures of each hard disk backplane 19 is equal, the hard disk backplane 19 farther away from the second fan module 142 is used as the target hard disk backplane. In one possible implementation, if all the hard disk backplanes 19 on the bracket 20 are target hard disk backplanes: when the baseboard management controller 17 selects the target number of target hard disk backplanes, the baseboard management controller 17 alarms all the hard disk backplanes 19; when the disk array controller 18 selects the target number of target hard disk backplanes, the disk array controller 18 sends a second alarm message to the baseboard management controller 17, and the baseboard management controller 17 alarms all the hard disk backplanes 19 based on the second alarm message.

[0141] The baseboard management controller may issue an alarm based on the first alarm information or the second alarm information, including but not limited to: sending an email to notify the administrator, or directly connecting the baseboard management controller to the telephone system to notify the administrator by phone, text message, or phone plus text message, or turning on a physical indicator light, or controlling a buzzer to issue an audible alarm, which is not limited in the present application embodiment. The baseboard management controller uses different alarm methods to enable the staff to identify server failures in a timely manner and provide feedback on the alarm information.

[0142] It should be noted that there is no limit to the method of determining the target number of target hard disk backplanes based on the number of over-temperature hard disks. For example, the current number of over-temperature hard disks can be compared with different set quantity thresholds to determine the quantity threshold range within which the current number of over-temperature hard disks lies, and then the target number of target hard disk backplanes can be determined based on the quantity threshold range within which they lie.

[0143] There is no limit to the number of quantity thresholds that can be set, and there is no limit to the specific setting value of each quantity threshold, which can be set according to actual needs.

[0144] Combined with Figure 2a and Figure 2b It is understood that in a possible implementation, the number of quantity thresholds is set according to the number of hard disk backplanes 19 in the bracket 20, and the specific value of each quantity threshold can be set according to the number of hard disks 151 on each hard disk backplane 19 or the number of slots 191 on each hard disk backplane 19 for plugging in hard disks 151. It should be noted that all slots 191 on the hard disk backplane 19 may be plugged with hard disks 151, or none of them may be plugged with hard disks 151, or some of the slots 191 may be plugged with hard disks 151, and some of the slots 191 may not be plugged with hard disks 151, and the embodiment of the present application does not limit this.

[0145] For example, Figure 2a As shown, when there are two hard disk backplanes 19 in the bracket 20, the first quantity threshold and the second quantity threshold are set. Among them, the specific value of the first quantity threshold can be determined according to the number of hard disks 151 plugged into each hard disk backplane 19, arranged from low to high, the first quantity threshold is: the minimum number of hard disks in any hard disk backplane 19, and the second quantity threshold is: the sum of the number of hard disks on the two hard disk backplanes in the bracket. Alternatively, the first quantity threshold is: the minimum number of slots 191 on any hard disk backplane 19, and the second quantity threshold is: the minimum value of the sum of the number of slots 191 on any two hard disk backplanes 19 in the bracket 20. When the number of over-temperature hard disks is greater than 0 and less than the first quantity threshold, the target number of the target hard disk backplane is determined to be 0. If the number of over-temperature hard disks is greater than or equal to the first quantity threshold and less than the second quantity threshold, the target number of the target hard disk backplane is determined to be 1. If the number of over-temperature hard disks is equal to the second quantity threshold, the target number of the target hard disk backplane is determined to be 2.

[0146] like Figure 2bAs shown, when there are four hard disk backplanes 19 in the bracket 20, a first quantity threshold, a second quantity threshold, a third quantity threshold, and a fourth quantity threshold are set. Among them, the first quantity threshold is: the minimum value of the number of hard disks 151 in any hard disk backplane 19 in the bracket 20, the second quantity threshold is: the minimum value of the sum of the number of hard disks 151 on any two hard disk backplanes 19 in the bracket 20, the third quantity threshold is: the minimum value of the sum of the number of hard disks 151 on any three hard disk backplanes 19 in the bracket 20, and the fourth quantity threshold is: the sum of the number of hard disks 151 on the four hard disk backplanes 19 in the bracket 20. Alternatively, the first quantity threshold is: the minimum value of the number of slots 191 in any hard disk backplane 19 in the bracket 20, the second quantity threshold is: the minimum value of the sum of the number of slots 191 on any two hard disk backplanes 19 in the bracket 20, the third quantity threshold is: the minimum value of the sum of the number of slots 191 on any three hard disk backplanes 19 in the bracket 20, and the fourth quantity threshold is: the sum of the number of slots 191 on four hard disk backplanes 19 in the bracket 20. When the number of over-temperature hard disks is greater than 0 and less than the first quantity threshold, the target number of the target hard disk backplane is determined to be 0. If the number of over-temperature hard disks is greater than or equal to the first quantity threshold and less than the second quantity threshold, the target number of the target hard disk backplane is determined to be 1. If the number of over-temperature hard disks is greater than or equal to the second quantity threshold and less than the third quantity threshold, the target number of the target hard disk backplane is determined to be 2. If the number of over-temperature hard disks is greater than or equal to the third quantity threshold and less than the fourth quantity threshold, the target number of the target hard disk backplane is determined to be 3. If the number of over-temperature hard disks is equal to the fourth quantity threshold, it is determined that the target number of target hard disk backplanes is 4.

[0147] The following describes in detail various situations of hard disk working status management.

[0148] like Figure 7f As shown, combined with Figure 1 It is understood that when the number of hard disk backplanes 19 on the bracket 20 is one, the working state of the hard disks is controlled according to the number of over-temperature hard disks and the current temperature of each hard disk, including:

[0149] If the number of over-temperature hard disks is greater than 0, the disk array controller 18 controls the working state of the over-temperature hard disks to be in a restricted state, and the disk array controller 18 controls the working state of the non-over-temperature hard disks to be in a non-restricted state. If the number of over-temperature hard disks is equal to 0, the disk array controller 18 controls the working state of all hard disks on the hard disk backplane to be in a non-restricted state.

[0150] Take the example that the number of hard disk backplanes 19 on the bracket 20 of the server 1 is 1 and the number of hard disks 151 plugged into the hard disk backplane 19 is 15. When the number of hard disks in the over-temperature state is greater than 0 and less than 15, the disk array controller 18 controls the working state of the over-temperature hard disks on the hard disk backplane to be in a restricted state, and the working state of the non-over-temperature hard disks to be in a non-restricted state. When the number of over-temperature hard disks is equal to 15, the disk array controller 18 controls the working state of all hard disks on the hard disk backplane to be in a restricted state.

[0151] like Figure 7g As shown, combined with Figure 1 , Figure 2a It is understood that when the number of hard disk backplanes 19 on the bracket 20 is greater than or equal to 2, the target hard disk backplane is determined according to the number of over-temperature hard disks and the current temperature of each hard disk, and the disk array controller controls the working state of all hard disks in the target hard disk backplane to be in a restricted state, including:

[0152] If the number of over-temperature hard disks is greater than 0 and less than the first quantity threshold, the disk array controller 18 or the baseboard management controller 17 determines that the target number of target hard disk backplanes is 0, and the disk array controller 18 controls the working status of each over-temperature hard disk in all hard disk backplanes 19 to be in a restricted state, and the working status of each non-over-temperature hard disk is in a non-restricted state.

[0153] If the number of over-temperature hard disks is greater than or equal to the N-1th number threshold and less than the Nth number threshold, the disk array controller 18 or the baseboard management controller 17 determines that the target number of target hard disk backplanes is N-1, and selects N-1 target hard disk backplanes from the multiple hard disk backplanes according to the current temperature of each hard disk in the multiple hard disk backplanes. The disk array controller 18 controls the working status of all hard disks on the N-1 target hard disk backplanes in the bracket to be in a restricted state, the working status of the over-temperature hard disks on other hard disk backplanes to be in a restricted state, and the working status of the non-over-temperature hard disks to be in a non-restricted state.

[0154] If the number of over-temperature hard disks is the sum of the number of hard disks or the sum of the number of slots on all hard disk backplanes in the bracket, the disk array controller 18 or the baseboard management controller 17 determines that all hard disk backplanes in the bracket are target hard disk backplanes, and the disk array controller 18 controls the working status of all hard disks on each hard disk backplane to be in a restricted state.

[0155] Wherein, N is a positive integer greater than or equal to 2 and less than or equal to the number of hard disk backplanes on the bracket. The N-1th quantity threshold is: the minimum value of the sum of the number of slots or hard disks on any N-1 hard disk backplanes, and the Nth quantity threshold is: the minimum value of the sum of the number of slots or hard disks on any N hard disk backplanes.

[0156] like Figure 2aAs shown, when the number of hard disk backplanes 19 on the bracket 20 is equal to 2, if the number of over-temperature hard disks is greater than 0 and less than the first quantity threshold, the disk array controller 18 controls the working state of each over-temperature hard disk to be in a restricted state, and controls the working state of each non-over-temperature hard disk to be in a non-restricted state. Among them, the first quantity threshold is the minimum value of the number of slots or the number of hard disks on the two hard disk backplanes 19. For example, the number of slots on one hard disk backplane is 15, and the number of slots on the other hard disk backplane is 12, then the first quantity threshold is 12. If the number of slots is the same, then the same value is the minimum value. For example, if the number of slots on the two hard disk backplanes is 15, then the first quantity threshold is 15. The first quantity threshold is the minimum value of the number of hard disks on the two hard disk backplanes 19, which can also be understood in the same way and will not be repeated here.

[0157] If the number of over-temperature hard disks is greater than or equal to the first quantity threshold and less than the second quantity threshold, the disk array controller 18 controls the working state of all hard disks on a target hard disk backplane to be in a restricted state, the working state of each over-temperature hard disk on other hard disk backplanes to be in a restricted state, and the working state of each non-over-temperature hard disk to be in a non-restricted state. The target hard disk backplane can be a hard disk backplane 19 with the highest average hard disk temperature, or it can be a hard disk backplane 19 with the highest total hard disk temperature. The target hard disk backplane can be, for example, hard disk backplane 19a or hard disk backplane 19b. Among them, the second quantity threshold is the number of slots or the total number of hard disks of the two hard disk backplanes 19. For example, if the number of slots on the two hard disk backplanes is 15 respectively, then the second quantity threshold is 30, or if the number of hard disks on the two hard disk backplanes is 15 respectively, then the second quantity threshold is 30.

[0158] If the number of over-temperature hard drives reaches the second quantity threshold (for example, the total number of hard drives or the total number of slots on all hard drive backplanes in the bracket), the working status of all hard drives on the two target hard drive backplanes (hard drive backplane 19a and hard drive backplane 19b) is controlled to be in a restricted state.

[0159] When all the hard disks on each hard disk backplane are in an over-temperature state, the disk array controller can directly limit the working status of all the hard disks on all hard disk backplanes. In this way, all hard disks can be managed in time to avoid server overheating, minimize hard disk failures caused by overheating, and reduce maintenance costs.

[0160] When the number of hard disk backplanes 19 on the bracket 20 is greater than or equal to 3, Figure 2b As shown, combined with Figure 1It is understood that the number of hard disk backplanes 19 on the bracket 20 of the server 1 is 4, each slot 191 on the hard disk backplane 19 is plugged with a hard disk 151, and the number of hard disks plugged on the hard disk backplane 19 is 15. When the number of over-temperature hard disks is less than the first number threshold (the first number threshold is 15), the disk array controller 18 controls the working state of each over-temperature hard disk to be in a restricted state, and the working state of each non-over-temperature hard disk to be in a non-restricted state, or it can be understood that the disk array controller 18 restricts the operation of the hard disk in the over-temperature state.

[0161] The slots on each hard disk backplane 19 are numbered, and the slots 191 on the first hard disk backplane 19 are numbered 1 to 15, the slots 191 on the second hard disk backplane 19 are numbered 16 to 30, the slots 191 on the third hard disk backplane 19 are numbered 31 to 45, and the slots 191 on the fourth hard disk backplane 19 are numbered 46 to 60. In one example, a hard disk 151 is plugged into each slot 191.

[0162] When the first quantity threshold (the first quantity threshold is 15) ≤ the number of over-temperature hard disks < the second quantity threshold (the second quantity threshold is 30), if the hard disk backplane 19a is the target hard disk backplane, the disk array controller 18 controls the working state of all over-temperature hard disks and non-over-temperature hard disks on the hard disk backplane 19a to be in a restricted state, or it can be understood that the work of all hard disks on the hard disk backplane 19a is restricted. If there are over-temperature hard disks on the hard disk backplane 19b, hard disk backplane 19c and hard disk backplane 19d, the work of these over-temperature hard disks is also restricted. Similar situations mentioned below can also be understood in the same way, and will not be repeated below.

[0163] If the hard disk backplane 19b is the target hard disk backplane, the disk array controller 18 controls the working status of all over-temperature hard disks and non-over-temperature hard disks on the hard disk backplane 19b to be in a restricted state. If the average hard disk temperature or the total hard disk temperature of the hard disk backplane 19a, the hard disk backplane 19b, the hard disk backplane 19c, and the hard disk backplane 19d are equal, the working status of all hard disks on the hard disk backplane 19d farthest from the second fan module 142 is prioritized to be in a restricted state.

[0164] When the second quantity threshold (the second quantity threshold is 30) ≤ the number of over-temperature hard disks < the third quantity threshold (the third quantity threshold is 45), the disk array controller 18 controls the working status of all over-temperature hard disks and non-over-temperature hard disks on the two target hard disk backplanes to be in a restricted state. If the average hard disk temperature of hard disk backplane 19a ≤ the average hard disk temperature of hard disk backplane 19b ≤ the average hard disk temperature of hard disk backplane 19c ≤ the average hard disk temperature of hard disk backplane 19d, hard disk backplane 19c and hard disk backplane 19d are two target hard disk backplanes. If the average hard disk temperatures of hard disk backplane 19a, hard disk backplane 19b, hard disk backplane 19c, and hard disk backplane 19d are the same, the working status of all hard disks on hard disk backplane 19c and hard disk backplane 19d, which are farthest from the second fan module 142, are preferentially controlled to be in a restricted state.

[0165] When the third quantity threshold (the third quantity threshold is 45) ≤ the number of over-temperature hard disks < the fourth quantity threshold (the fourth quantity threshold is 60), the disk array controller 18 controls the working state of all hard disks 151 on the three target hard disk backplanes to be in a restricted state. If the average hard disk temperature of hard disk backplane 19a ≤ the average hard disk temperature of hard disk backplane 19b ≤ the average hard disk temperature of hard disk backplane 19c ≤ the average hard disk temperature of hard disk backplane 19d, hard disk backplane 19b, hard disk backplane 19c, and hard disk backplane 19d are three target hard disk backplanes. If the average hard disk temperatures of hard disk backplane 19a, hard disk backplane 19b, hard disk backplane 19c, and hard disk backplane 19d are the same, the three hard disk backplanes farthest from the second fan module 142 are preferentially controlled, that is, the working state of all hard disks 151 on hard disk backplane 19b, hard disk backplane 19c, and hard disk backplane 19d is in a restricted state.

[0166] When the number of over-temperature hard disks is equal to the fourth quantity threshold (ie, 60), the disk array controller controls the working status of all hard disks 151 on each hard disk backplane to be in a restricted state.

[0167] When the number of hard disk backplanes on the bracket 20 is greater than or equal to 3, the example is taken that the number of hard disk backplanes on the bracket 20 of the server 1 is 4, the number of slots on the hard disk backplane is 6, 8, 10, and 12 respectively, and a hard disk is plugged into each slot. When the number of over-temperature hard disks is less than 6 (i.e., the first quantity threshold), the disk array controller controls the working state of all over-temperature hard disks to be in a restricted state, and the working state of all non-over-temperature hard disks to be in a non-restricted state.

[0168] When 6 (ie, the first quantity threshold) ≤ the number of hard disks in the over-temperature state < 14 (ie, the second quantity threshold), the disk array controller controls the working states of all hard disks on a target hard disk backplane to be in a restricted state.

[0169] When 14 (ie, the second quantity threshold) ≤ the number of hard disks in the over-temperature state < 24 (ie, the third quantity threshold), the disk array controller controls the working states of all hard disks on the two target hard disk backplanes to be in a restricted state.

[0170] When 24 (ie, the third quantity threshold) ≤ the number of hard disks in the over-temperature state < 36 (ie, the fourth quantity threshold), the disk array controller controls the working states of all hard disks on the three target hard disk backplanes to be in a restricted state.

[0171] When the number of hard disks in the over-temperature state is equal to 36 (ie, the fourth quantity threshold), the disk array controller controls the working states of all hard disks on the four target hard disk backplanes (ie, each hard disk backplane) to be in a restricted state.

[0172] In an embodiment of the present application, relevant control instructions are generated according to the number of over-temperature hard disks. The disk array controller can promptly limit the working status of all over-temperature hard disks 151, and further limit the working status of all hard disks on the target hard disk backplane (for example, the hard disk backplane 19 with a higher average hard disk temperature or a higher total hard disk temperature), and promptly obtain the hard disk information of the hard disk that exceeds the limit working temperature, and notify the baseboard management controller 17 to alarm the over-temperature hard disk or over-temperature hard disk backplane.

[0173] By adopting the above scheme, the disk array controller monitors the temperature of the hard disk and limits the working status of the over-temperature hard disk or the hard disk backplane 19, which can effectively solve the problem of hard disk overheating during the maintenance and testing of the high-density frame model of server 1, and the resulting hard disk damage and impact on the normal operation of server 1.

[0174] See also Figure 8a , Figure 8a A schematic diagram showing the steps of a hard disk management method according to another embodiment of the present invention is shown. Figure 1 .

[0175] like Figure 8a As shown, combined with Figure 1 and Figure 6 It is understood that hard disk management methods include:

[0176] Step S210 : when the bracket 20 of the server 1 is in the out-of-position state, the baseboard management controller 17 obtains the current temperature of the hard disk 151 , and based on the current temperature of the hard disk 151 , generates a control instruction and sends it to the disk array controller.

[0177] Step S220: the disk array controller controls the working state of the hard disk based on the control instruction.

[0178] Among them, Figure 5a and Figure 5b As shown, combined with Figure 1 and Figure 6 It is understood that when the bracket 20 of the server 1 is pulled out of the chassis 10 of the server 1, the state of the bracket 20 is characterized as an out-of-position state, and the out-of-position state of the bracket 20 is fed back to the baseboard management controller 17. The baseboard management controller 17 responds to the out-of-position state, obtains the current temperature of the hard disk 151, and based on the current temperature of the hard disk 151, generates a control instruction and sends it to the disk array controller 18. The disk array controller 18 then controls the working state of the hard disk 151 based on the control instruction. It should be noted that the embodiment of the present application does not limit the method of detecting and feeding back the out-of-position state of the bracket 20. For example, the method described above can be used.

[0179] In a possible implementation, when the bracket 20 is in the out-of-position state, the baseboard management controller 17 obtains the current temperature of each hard disk 151 in real time or periodically. For example, the baseboard management controller 17 may obtain the temperature once every predetermined time. The predetermined time may be, for example, 1s, 2s, 5s, etc. The baseboard management controller 17 may also obtain the temperature in real time, which is not limited in the embodiment of the present application.

[0180] Furthermore, the baseboard management controller 17 can use SMART (Self-Monitoring, Analysis, and Reporting Technology) to monitor the temperature of the hard disk, or detect the temperature of the hard disk through a temperature sensor. The embodiment of the present application does not limit the way in which the baseboard management controller 17 obtains the hard disk temperature.

[0181] The hard disk management method provided by the embodiment of the present application, for example, in the scenario of maintaining and testing the server, when the server bracket is not in place, the baseboard management controller monitors and obtains the current temperature of each hard disk, and analyzes which hard disk working states need to be restricted and which hard disk working states do not need to be restricted based on the current temperature of the hard disk, and then generates a control instruction to send to the disk array controller, and the disk array controller controls the working state of the hard disk based on the control instruction, so that the working state of the over-temperature hard disk can be restricted to reduce its heat generation, so as to achieve the purpose of reducing the hard disk temperature, so that the hard disk can work normally within the threshold temperature range. Therefore, by limiting the working state of the over-temperature hard disk by the disk array controller, the over-temperature of the hard disk in the maintenance and testing process of the server high-density frame model can be effectively solved, the failure probability of the hard disk due to over-temperature can be reduced, the hard disk replacement cycle can be reduced, and the service life of the hard disk can be extended, thereby reducing the maintenance cost of the server and ensuring the long-term stable operation of the server.

[0182] It should be noted that Figure 8a The hard disk management method shown is basically the same as Figure 7a to Figure 7gThe described scheme is based on consistency, the difference is that in the hard disk management method, when the status of the bracket 20 of the server 1 is not in place, the current temperature of the hard disk 151 is obtained by the baseboard management controller 17, and the baseboard management controller 17 analyzes which hard disk working states need to be restricted based on the current temperature of the hard disk 151, generates a control instruction, and then the disk array controller controls the working state of the hard disk based on the control instruction.

[0183] like Figure 8b As shown, combined with Figure 1 and Figure 6 It is understood that in a possible implementation, the control instruction includes a first control instruction and a second control instruction. If the current temperature of the hard disk 151 is less than or equal to the first temperature threshold, the baseboard management controller 17 sends a first control instruction to the disk array controller 18; based on the first control instruction, the disk array controller 18 controls the working state of the hard disk 151 to be in a non-restricted state. If the current temperature of the hard disk 151 is greater than the first temperature threshold, the baseboard management controller 17 sends a second control instruction to the disk array controller 18; based on the second control instruction, the disk array controller 18 controls the working state of the hard disk 151 to be in a restricted state. In this way, it is possible to clearly limit the working state of which hard disks on the hard disk backplane 19, and the disk array controller 18 will control the working state of the over-temperature hard disk to be in a restricted state, so that the hard disk temperature will gradually decrease, so that the hard disk temperature can be effectively adjusted, the service life of the hard disk can be extended, and the long-term stable operation of the server can be maintained, avoiding damage or failure of the hard disk caused thereby.

[0184] It should be noted that, for each hard disk 151, if it is an over-temperature hard disk, the disk array manager 18 controls the working state of the hard disk to be in a restricted state, and if it is a non-over-temperature hard disk, the disk array manager 18 controls the working state of the hard disk to be in a non-restricted state. In other possible implementations, even if some hard disks are non-over-temperature hard disks, in order to reduce the temperature of the hard disk backplane where they are located, the working state of these non-over-temperature hard disks can also be controlled to be in a restricted state, which will be described in detail below.

[0185] It should be noted that the setting method of the first temperature threshold can adopt the method described above, and the understanding of the over-temperature hard disk, non-over-temperature hard disk, and the working state of the control hard disk in a restricted state or a non-restricted state can also refer to the corresponding explanations above.

[0186] In a possible implementation, the method may further include: if the current temperature of the hard disk is greater than or equal to the second temperature threshold, the baseboard management controller alarms the hard disk, wherein the first temperature threshold is less than the second temperature threshold. The second temperature threshold is the extreme operating temperature threshold of the hard disk. For a hard disk exceeding the second temperature threshold, the hard disk will not be able to maintain a normal working state, and the reading and writing speed will be affected, data will be lost, or the hard disk will be damaged. Therefore, a timely alarm is issued to the hard disk whose current temperature exceeds the extreme operating temperature to notify the staff to handle it. It should be noted that the setting method of the second temperature threshold and the method of alarming the hard disk can adopt the method described above.

[0187] The above mainly introduces: the baseboard management controller 17 analyzes which hard disk working states need to be restricted and which hard disk working states do not need to be restricted based on the acquired current temperature of the hard disk, thereby generating a control instruction and sending it to the disk array controller 18; the disk array controller 18 controls the working state of the over-temperature hard disk to be in a restricted state based on the received control instruction, and controls the working state of the non-over-temperature hard disk to be in a non-restricted state. The following will describe in detail: in order to reduce the temperature of some high-temperature hard disk backplanes (which can be understood as the "target hard disk backplane" mentioned below) to avoid thermal impact on peripheral electronic devices, even if some hard disks on the high-temperature hard disk backplane are non-over-temperature hard disks, the disk array controller 18 also controls the working state of these non-over-temperature hard disks to be in a restricted state based on the control instruction.

[0188] like Figure 8c As shown, combined with Figure 1 and Figure 6 It is understood that in a possible implementation, the control instruction includes a backplane restriction control instruction. The baseboard management controller 17 generates a control instruction based on the current temperature of the hard disk 151 and sends it to the disk array controller 18. The disk array controller 18 controls the working state of the hard disk 151 based on the control instruction, including: the baseboard management controller 17 determines the target hard disk backplane according to the number of over-temperature hard disks and the current temperature of each hard disk 151 in the multiple hard disk backplanes 19, and sends the backplane restriction control instruction to the disk array controller 18, wherein the over-temperature hard disk is a hard disk whose current temperature is greater than the first temperature threshold. Based on the backplane restriction control instruction, the disk array controller 18 controls the working state of all hard disks 151 in the target hard disk backplane to be in a restricted state. Thus, the disk array controller 18 can timely limit the work of all hard disks 151 in the target hard disk backplane (which can be understood as a hard disk backplane with a higher temperature), and can quickly reduce the temperature of the target hard disk backplane to avoid thermal effects on peripheral electronic devices. Then the management of all hard disk states is completed to ensure the stable operation of the entire server.

[0189] like Figure 8d As shown, combined with Figure 1 and Figure 6 It is understood that in a possible implementation, the baseboard management controller 17 determines the target hard disk backplane according to the number of over-temperature hard disks and the current temperature of each hard disk in the multiple hard disk backplanes 19, including: the baseboard management controller 17 determines the target number according to the number of over-temperature hard disks, and selects the target number of target hard disk backplanes from the multiple hard disk backplanes 19 according to the current temperature of each hard disk 151 in the multiple hard disk backplanes 19. In this way, the temperature of the target hard disk backplane can be quickly reduced, and the working state of the non-over-temperature hard disks in the non-target hard disk backplane can be controlled to be in a non-restricted state without thermally affecting the surrounding electronic devices, thereby ensuring that the non-over-temperature hard disks can work normally and better meet the normal operation requirements of the server.

[0190] It should be noted that, according to the current temperature of each hard disk 151 in the multiple hard disk backplanes 19, a target number of target hard disk backplanes are selected from the multiple hard disk backplanes 19, and the selection method is not limited. For example, the target number of target hard disk backplanes can be selected from high to low according to the average temperature of the hard disks of each hard disk backplane, or the target number of target hard disk backplanes can be selected from high to low according to the sum of the hard disk temperatures of each hard disk backplane. Among them, the baseboard management controller 17 determines the target number of target hard disk backplanes according to the number of over-temperature hard disks, and the method adopted is not limited. For example, the method described above can be adopted, which will not be elaborated here.

[0191] In summary, the hard disk management method of the embodiment of the present application, when the bracket is not in place, can trigger the standby hard disk temperature monitoring and working status management mechanism, that is, the current temperature state of the hard disk can be monitored, and the over-temperature hard disk can be identified in time, and the working state of the over-temperature hard disk or the hard disk backplane can be restricted, so as to regulate the hard disk temperature and the hard disk backplane temperature. For the hard disk, it can extend the service life of the hard disk, reduce the probability of hard disk failure, reduce the replacement frequency, and reduce the hard disk maintenance cycle and cost. For the server, it can reduce the temperature of the entire system, ensure the long-term stable operation of the entire system, and reduce the system maintenance cost. Thus, the embodiment of the present application can optimize the heat dissipation efficiency of the server, effectively reduce the failure rate, and then ensure the stable operation of the entire system, thereby extending the service life of the hard disk, reducing the replacement frequency, and reducing the corresponding maintenance cost. When it is detected that the bracket is in place, the standby hard disk temperature monitoring and working status management mechanism is exited.

[0192] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A hard disk management method, characterized in that: Applied to a server, the server includes a baseboard management controller and a disk array controller, and the hard disk management method includes: When the state of the bracket of the server is in the out-of-position state, the baseboard management controller sends a hard disk management command to the disk array controller; the hard disk management command is used to instruct the disk array controller to control the working state of the hard disk; The disk array controller controls the working state of the hard disk in response to the hard disk management command based on the current temperature of the hard disk.

2. The hard disk management method according to claim 1, characterized in that: Based on the current temperature of the hard disk, the working state of the hard disk is controlled, including: If the current temperature of the hard disk is less than or equal to the first temperature threshold, the disk array controller controls the working state of the hard disk to be in a non-restricted state; If the current temperature of the hard disk is greater than a first temperature threshold, the disk array controller controls the working state of the hard disk to be in a restricted state.

3. The hard disk management method according to claim 2, characterized in that: The method further comprises: If the current temperature of the hard disk is greater than or equal to a second temperature threshold, the disk array controller sends a first alarm message to the baseboard management controller, and the baseboard management controller alarms the hard disk based on the first alarm message, wherein the first temperature threshold is less than the second temperature threshold.

4. The hard disk management method according to any one of claims 1 to 3, characterized in that: The bracket is provided with one or more hard disk backplanes, and hard disks are inserted into the one or more hard disk backplanes. Based on the current temperature of the hard disks, the working state of the hard disks is controlled, including: The disk array controller or the baseboard management controller determines a target hard disk backplane according to the number of over-temperature hard disks and the current temperature of each hard disk in the plurality of hard disk backplanes, wherein the over-temperature hard disk is a hard disk whose current temperature is greater than a first temperature threshold; The disk array controller controls the working status of all hard disks in the target hard disk backplane to be in a restricted state.

5. The hard disk management method according to claim 4, characterized in that: The disk array controller or the baseboard management controller determines the target hard disk backplane according to the number of over-temperature hard disks and the current temperature of each hard disk in the plurality of hard disk backplanes, including: The disk array controller or the baseboard management controller determines a target number according to the number of the over-temperature hard disks, and selects the target number of target hard disk backplanes from the multiple hard disk backplanes according to the current temperature of each hard disk in the multiple hard disk backplanes.

6. A hard disk management method, characterized in that: Applied to a server, the server includes a baseboard management controller and a disk array controller, and the hard disk management method includes: When the state of the bracket of the server is in the out-of-position state, the baseboard management controller obtains the current temperature of the hard disk, and generates a control instruction based on the current temperature of the hard disk and sends it to the disk array controller; The disk array controller controls the working state of the hard disk based on the control instruction.

7. The hard disk management method according to claim 6, characterized in that: The control instruction includes a first control instruction and a second control instruction. If the current temperature of the hard disk is less than or equal to a first temperature threshold, the baseboard management controller sends the first control instruction to the disk array controller; the disk array controller controls the working state of the hard disk to be in a non-restricted state based on the first control instruction; If the current temperature of the hard disk is greater than a first temperature threshold, the baseboard management controller sends a second control instruction to the disk array controller; based on the second control instruction, the disk array controller controls the working state of the hard disk to be in a restricted state.

8. The hard disk management method according to claim 6 or 7, characterized in that: The control instruction includes a backplane limit control instruction. The baseboard management controller generates a control instruction based on the current temperature of the hard disk and sends it to the disk array controller. The disk array controller controls the working state of the hard disk based on the control instruction, including: The baseboard management controller determines a target hard disk backplane according to the number of over-temperature hard disks and the current temperature of each hard disk in the multiple hard disk backplanes, and sends a backplane restriction control instruction to the disk array controller, wherein the over-temperature hard disk is a hard disk whose current temperature is greater than a first temperature threshold; The disk array controller controls the working status of all hard disks in the target hard disk backplane to be in a restricted state based on the backplane restriction control instruction.

9. The hard disk management method according to claim 8, characterized in that: The baseboard management controller determines a target hard disk backplane according to the number of over-temperature hard disks and the current temperature of each hard disk in the plurality of hard disk backplanes, including: The baseboard management controller determines a target number according to the number of the over-temperature hard disks, and selects the target number of target hard disk backplanes from the multiple hard disk backplanes according to the current temperature of each hard disk in the multiple hard disk backplanes.

10. A server, characterized in that: It comprises a chassis, a bracket arranged in the chassis, and one or more hard disk backplanes arranged on the bracket, wherein the one or more hard disk backplanes are plugged with hard disks; The baseboard management controller is used to detect whether the bracket is in place and send a hard disk management command to the disk array controller; the hard disk management command is used to instruct the disk array controller to control the working state of the hard disk; The disk array controller is used to respond to the hard disk management command and control the working state of the hard disk.