Method and device for repairing heat dissipation fault of server

By controlling the device to receive fault information and dispatching services to servers with sufficient cooling resources, the problem of frequent maintenance of server cooling faults is solved, the repair efficiency is improved, the frequency of offline operations is reduced, and the stability of the server cluster is ensured.

CN118656256APending Publication Date: 2024-09-17INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410773452.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-16
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

Frequent server cooling failures lead to high maintenance frequency, which affects the stability and business processing capabilities of the server cluster, and the existing repair efficiency is low.

Method used

By controlling the device to receive fault information, it predicts cooling requirements, selects target processors, and schedules services to reference servers with sufficient cooling resources to ensure that the resources of cooling devices meet demand and reduce maintenance frequency.

Benefits of technology

It improves the repair efficiency of server cooling faults, reduces the frequency of offline operations due to fault maintenance, and maintains the normal business processing functions of the server cluster.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118656256A
    Figure CN118656256A
Patent Text Reader

Abstract

The embodiment of the invention provides a server heat dissipation fault repairing method and device.The method comprises the steps that fault information reported by a target server in a server cluster is received, and the fault information is used for indicating the fault condition of target heat dissipation equipment deployed in the target server; predicting heat dissipation information of the target server according to the fault information and business handling information of the target server; screening out a target processor from the reference processors according to the fault information and the business handling information under the condition that the heat dissipation information is used for indicating that heat dissipation resources which are allowed to be provided by the target heat dissipation equipment at present cannot meet the current heat dissipation requirements of the reference processors; and scheduling the business handled on the target processor to a reference server except the target server in the server cluster. Through the method and the device, the problem of relatively low repair efficiency of the heat dissipation fault of the server in related technologies can be solved, and the effect of improving the repair efficiency of the heat dissipation fault of the server is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the computer field, and in particular, to a method and device for repairing a server heat dissipation failure. Background Art

[0002] In the computer room of the cloud data center, there are a large number of servers for carrying various user services. Due to the limited size of the server, many high-power electronic components (such as CPU, memory) run for a long time and under high load. Whether the heat generated by the electronic components can be transferred to the outside in time is directly related to the stability of the server operation. At present, the heat dissipation technology of the server only requires the deployment of heat dissipation devices inside the server. However, the heat dissipation devices may fail to operate due to vibration or wear during operation, and the heat dissipation resources cannot be provided. In this case, in order to ensure the safe operation of the electronic components in the server, the fault information is usually reported to notify the relevant maintenance personnel to maintain the faulty heat dissipation devices in the server. However, the operation failure of the heat dissipation devices in the server cluster occurs frequently, which causes the maintenance personnel to frequently enter and exit the computer room to maintain the heat dissipation devices, which will destroy the steady-state working environment of the computer room and increase the safety risks of the computer room. On the other hand, when the maintenance personnel perform the failure maintenance of the heat dissipation devices, they need to shut down the server for maintenance. Frequent failure maintenance will increase the frequency of server offline and affect the business handling capacity of the server cluster. Summary of the invention

[0003] The embodiments of the present application provide a method and device for repairing a server heat dissipation failure, so as to at least solve the problem of low efficiency in repairing a server heat dissipation failure in the related art.

[0004] According to an embodiment of the present application, a method for repairing a server heat dissipation failure is provided. A server cluster includes a server and a control device. A processor and a heat dissipation device are deployed in the server. The processor is used to handle the services to be handled in the server cluster. The processor is used to provide service processing resources for the server. The heat dissipation device is used to provide heat dissipation resources for the processor in a called state. The method is applied to the control device and includes:

[0005] Receiving fault information reported by a target server in the server cluster, wherein the fault information is used to indicate a fault condition of a target heat dissipation device deployed in the target server;

[0006] Predicting the heat dissipation information of the target server according to the fault information and the business handling information of the target server, wherein the business handling information is used to indicate the business handling status of the reference processor in the processor on the target server that is in a called state, and the heat dissipation information is used to indicate the matching relationship between the heat dissipation resources currently allowed to be provided by the target heat dissipation device and the current heat dissipation demand of the reference processor;

[0007] In a case where the heat dissipation information is used to indicate that the heat dissipation resources currently allowed to be provided by the target heat dissipation device cannot meet the current heat dissipation demand of the reference processor, selecting a target processor from the reference processors according to the fault information and the business handling information;

[0008] The business handled on the target processor is scheduled to the reference server other than the target server in the server cluster, wherein the cooling resources currently allowed to be provided by the target cooling device meet the cooling requirements of the reference processor remaining on the target server after the business is called from the reference server.

[0009] Optionally, predicting the heat dissipation information of the target server according to the fault information and the business handling information of the target server includes:

[0010] Determine a reference heat dissipation device in operation in the target server according to the fault information;

[0011] Predicting a first number of processors allowed to run in the target server according to device information of the reference heat dissipation device and temperature control information of the target server, wherein the temperature control information is used to indicate a regulating method of regulating the temperature of the processors in the target server by the heat dissipation device;

[0012] The heat dissipation information is predicted according to the first quantity and the business handling information.

[0013] Optionally, the target server is configured with a plurality of air ducts, a plurality of the heat dissipation devices and a plurality of the processors are deployed in each of the air ducts, and the heat dissipation devices are used to provide heat dissipation resources for the processors deployed in the corresponding air ducts;

[0014] The predicting, according to the device information of the reference heat dissipation device and the temperature control information of the target server, a first number of processors allowed to run in the target server includes:

[0015] Determine a deployment position of each of the reference heat dissipation devices in the target server, wherein the device information includes the deployment position;

[0016] Counting the deployment positions to obtain a second number of the reference heat dissipation devices in each of the air ducts;

[0017] In a case where the second number is used to indicate that there is no target air duct in the target server, converting a target operating parameter of the reference heat dissipation device according to the temperature control information, wherein the target air duct is an air duct of the plurality of air ducts whose second number is less than or equal to the target threshold, and the target operating parameter is used to indicate the heat dissipation resource status output by the reference heat dissipation device;

[0018] Determining, from the operating parameters and the number of processors having a corresponding relationship, a third number of processors allowed to run when the reference heat dissipation device runs according to the target operating parameters;

[0019] The third quantities corresponding to the reference heat dissipation devices in the air duct are combined to obtain the first quantity of the processors currently allowed to run in the air duct.

[0020] Optionally, predicting the heat dissipation information according to the first quantity and the business handling information includes:

[0021] matching the first quantity with a fourth quantity of the reference processors, wherein the service handling information includes the fourth quantity of the reference processors;

[0022] In a case where the first number is less than the fourth number, determining that the heat dissipation information is used to indicate that the heat dissipation resources currently allowed to be provided by the target heat dissipation device cannot meet the current heat dissipation demand of the reference processor;

[0023] In a case where the first number is greater than or equal to the fourth number, determining that the heat dissipation information is used to indicate that the heat dissipation resources currently allowed to be provided by the target heat dissipation device can meet a current heat dissipation demand of the reference processor.

[0024] Optionally, the selecting a target processor from the reference processors according to the fault information and the service handling information includes:

[0025] Predicting, according to the fault information and the service handling information, a fifth number of processors in the target server that need to be migrated to the reference server and that have already carried services;

[0026] The fifth number of the target processors is selected from the reference processors.

[0027] Optionally, the screening out the fifth number of the target processors from the reference processors includes:

[0028] Acquire a sixth number of the reference processors required to be called by the target server to handle each of the reference services among the multiple reference services carried, and an occupancy rate of the reference processors for handling the reference services;

[0029] Calculating the product of the sixth number and the occupancy rate to obtain a service handling parameter of the reference service, wherein the service handling parameter is used to indicate the heat generation of the server handling the reference service;

[0030] The fifth number of target processors is selected from the plurality of reference processors in descending order according to the service handling parameters of the reference service carried by the reference processor.

[0031] Optionally, after scheduling the business handled by the target processor to a reference server other than the target server in the server cluster, the method further includes:

[0032] detecting a seventh number of reference heat dissipation devices in operation in the server cluster;

[0033] determining an eighth number of processors supported for operation by the seventh number of the reference heat dissipation devices;

[0034] In the case where the eighth number is less than the preset number, generating a target notification message, wherein the target notification message is used to indicate a target deployment location of the heat dissipation device in the server cluster that is in a faulty state;

[0035] The target notification message is sent to a target account that has a binding relationship with the server cluster, wherein the target account is used to respond to the target notification message to perform fault maintenance on the heat dissipation device deployed at the target deployment location.

[0036] According to another embodiment of the present application, a device for repairing a server heat dissipation failure is provided. The server cluster includes a server and a control device. The server is deployed with a processor and a heat dissipation device. The processor is used to handle the business to be handled in the server cluster, the processor is used to provide business processing resources for the server, and the heat dissipation device is used to provide heat dissipation resources for the processor in a called state. The device is applied to the control device and includes: a receiving module, which is used to receive fault information reported by a target server in the server cluster, wherein the fault information is used to indicate the fault condition of a target heat dissipation device deployed in the target server; a prediction module, which is used to predict the heat dissipation information of the target server based on the fault information and the business handling information of the target server, wherein the business handling information is used to indicate the processing on the target server. The processing module includes a processing module for detecting the business handling status of a reference processor in a called state in a server cluster, wherein the heat dissipation information is used to indicate the matching relationship between the heat dissipation resources currently allowed to be provided by the target heat dissipation device and the current heat dissipation requirements of the reference processor; a screening module for screening out a target processor from the reference processor according to the fault information and the business handling information when the heat dissipation information indicates that the heat dissipation resources currently allowed to be provided by the target heat dissipation device cannot meet the current heat dissipation requirements of the reference processor; and a scheduling module for scheduling the business handled on the target processor to a reference server other than the target server in the server cluster, wherein the heat dissipation resources currently allowed to be provided by the target heat dissipation device meet the heat dissipation requirements of the reference processor remaining on the target server after the business is called from the reference server.

[0037] According to another embodiment of the present application, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when run.

[0038] According to another embodiment of the present application, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0039] Through the present application, when it is determined that there is a faulty cooling device in the target server in the server cluster, the cooling resources currently allowed to be provided by the target cooling device deployed on the target server can meet the current cooling demand of the reference processor by predicting based on the fault information and business processing information. Furthermore, when the cooling resources currently allowed to be provided by the target cooling device cannot meet the current cooling demand of the reference processor, the target processor is screened out from the reference processor based on the fault information and business processing information, and the business processed on the target processor is scheduled to the reference server other than the target server in the server cluster, thereby reducing the cooling demand of the target server, so that the cooling resources currently allowed to be provided by the target cooling device can meet the cooling demand of the remaining reference processors in the target server after the scheduling of the business, thereby reducing the maintenance frequency of the cooling device in the server cluster while ensuring the normal business processing function of the server cluster, and thereby reducing the frequency of server offline due to fault maintenance. Therefore, the problem of low efficiency in repairing server cooling failures in the related technology can be solved, thereby achieving the effect of improving the efficiency in repairing server cooling failures. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 It is a hardware structure block diagram of a server device of a method for repairing a server heat dissipation failure according to an embodiment of the present application;

[0041] Figure 2 is a flow chart of a method for repairing a server heat dissipation failure according to an embodiment of the present application;

[0042] Figure 3 is a schematic diagram of an optional layout of internal components of a server according to an embodiment of the present application;

[0043] Figure 4 is a schematic diagram of an optional server cluster according to an embodiment of the present application;

[0044] Figure 5 is an optional server heat dissipation fault repair flow chart according to an embodiment of the present application;

[0045] Figure 6 It is a structural block diagram of a device for repairing a server heat dissipation failure according to an embodiment of the present application. DETAILED DESCRIPTION

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

[0047] It should be noted that the terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0048] The method embodiments provided in the embodiments of the present application can be executed in a server device or a similar computing device. Taking running on a server device as an example, Figure 1 FIG. 1 is a hardware structure block diagram of a server device of a method for repairing a server heat dissipation failure according to an embodiment of the present application. Figure 1 As shown, the server device may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the server device may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above server device. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations shown.

[0049] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the method for repairing the server heat dissipation failure in the embodiment of the present application. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the server device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0050] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the server device. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0051] In this embodiment, a method for repairing a server heat dissipation failure is provided. Figure 2The present invention is a flowchart of a method for repairing a server heat dissipation failure according to an embodiment of the present application. The server cluster includes a server and a control device. The server is deployed with a processor and a heat dissipation device. The processor is used to handle the business to be handled in the server cluster. The processor is used to provide business processing resources for the server. The heat dissipation device is used to provide heat dissipation resources for the processor in the called state. The method is applied to the control device, such as Figure 2 As shown, the process includes the following steps:

[0052] Step S202, receiving fault information reported by a target server in the server cluster, wherein the fault information is used to indicate a fault condition of a target heat dissipation device deployed in the target server;

[0053] Step S204, predicting the heat dissipation information of the target server according to the fault information and the business handling information of the target server, wherein the business handling information is used to indicate the business handling status of the reference processor in the processor on the target server that is in a called state, and the heat dissipation information is used to indicate the matching relationship between the heat dissipation resources currently allowed to be provided by the target heat dissipation device and the current heat dissipation demand of the reference processor;

[0054] Step S206, when the heat dissipation information indicates that the heat dissipation resources currently allowed to be provided by the target heat dissipation device cannot meet the current heat dissipation demand of the reference processor, select a target processor from the reference processors according to the fault information and the business handling information;

[0055] Step S208, scheduling the business handled on the target processor to the reference server other than the target server in the server cluster, wherein the cooling resources currently allowed to be provided by the target cooling device meet the cooling requirements of the reference processor remaining on the target server after the business is called from the reference server.

[0056] Through the above steps, when it is determined that there is a faulty cooling device in the target server in the server cluster, the cooling resources currently allowed to be provided by the target cooling device deployed on the target server can meet the current cooling demand of the reference processor by predicting based on the fault information and the business processing information. Furthermore, when the cooling resources currently allowed to be provided by the target cooling device cannot meet the current cooling demand of the reference processor, the target processor is screened out from the reference processor based on the fault information and the business processing information, and the business processed on the target processor is scheduled to the reference server other than the target server in the server cluster, thereby reducing the cooling demand of the target server, so that the cooling resources currently allowed to be provided by the target cooling device can meet the cooling demand of the remaining reference processors in the target server after the scheduling of the business, thereby ensuring the normal business processing function of the server cluster while reducing the maintenance frequency of the cooling device in the server cluster, thereby reducing the frequency of server offline due to fault maintenance. Therefore, the problem of low efficiency in repairing server cooling failures in related technologies can be solved, thereby achieving the effect of improving the efficiency in repairing server cooling failures.

[0057] Optionally, in an embodiment of the present application, the control device may be a server included in the server cluster for handling pending services, or it may be a device separately configured in the server cluster for scheduling services handled by servers in the server cluster. This solution does not limit this.

[0058] Optionally, in an embodiment of the present application, the heat dissipation device may include but is not limited to a fan, a heat sink, a heat pipe, a liquid cooling system, a radiator, etc., and this solution does not limit this.

[0059] Optionally, in an embodiment of the present application, a processor is used to handle the services handled on behalf of a server cluster. The processor may include, but is not limited to, a central processing unit, a graphics processing unit, etc., and this solution does not limit this.

[0060] Optionally, in an embodiment of the present application, multiple processors may be deployed in the server cluster but are not limited to, and multiple cooling devices may also be deployed in the server. The multiple cooling devices may be but are not limited to redundant cooling devices set up to ensure the cooling needs of the server.

[0061] In the embodiment provided in the above step S202, the fault information may include but is not limited to the deployment location of the target heat dissipation device in the target server that is in a faulty state and the number of the target servers in the target server that are in a faulty state, which is not limited in this solution.

[0062] In the embodiment provided in the above step S204, the service handling information may include but is not limited to the deployment location of the reference processor in the called state, service handling information of each reference processor, etc., and this solution does not limit this.

[0063] Optionally, in an embodiment of the present application, the method for predicting the heat dissipation information of the target server can be to convert the device type of the reference heat dissipation device in normal operation among the multiple target heat dissipation devices deployed in the target server according to the fault information, obtain the maximum heat dissipation resource amount that can be provided by the reference heat dissipation device of the corresponding device type, sum up the maximum heat dissipation resource amounts of the multiple reference heat dissipation devices, and obtain the total amount of heat dissipation resources that can be provided by the target server; then predict the target heat generation of the target business currently carried by the target server according to the business processing information; match the target heat generation with the total amount of heat dissipation resources, and when the target heat generation is greater than or equal to the total amount of heat dissipation resources, determine that the heat dissipation resources currently allowed to be provided by the target heat dissipation device cannot meet the current heat dissipation requirements of the processor. Among them, the target heat generation is the maximum heat that can be generated by the target server when handling the target business currently carried. In this embodiment, a method for predicting the target heat generation of the target server handling the target business currently carried based on the business handling information may be: obtaining the correspondence between the business load and the heat generation of the target processor; determining the target load corresponding to the maximum heat generation of the target processor from the business load and the heat generation with the corresponding relationship; allocating the target business to the target business based on the target load, thereby allocating the target business to multiple reference processors; and summing the maximum heat generation of multiple reference processors to obtain the maximum heat that can be generated by the target server handling the current target business.

[0064] In the embodiment provided in the above step S206, when selecting the target processor from the reference processor, the following method can be adopted, that is, predicting the amount of heat dissipation resources that the target heat dissipation device deployed in the target server can currently provide according to the fault information, and predicting the reference heat dissipation demand of each reference processor according to the business volume carried by each reference processor. Calculate the sum of multiple reference heat dissipation demands to obtain the target heat dissipation demand of the target server; calculate the difference between the target heat dissipation demand and the amount of heat dissipation resources to obtain the candidate heat dissipation demand of the target server; select the target processor from the multiple reference processors according to the candidate heat dissipation demand, wherein the total amount of heat dissipation demand of the target processor is greater than or equal to the candidate heat dissipation demand. Among them, when selecting the target processor from the reference processor according to the candidate heat dissipation demand, a random screening method can be adopted, that is, randomly selecting a processor until the total amount of heat dissipation demand of the target processor is greater than or equal to the candidate heat dissipation demand. Alternatively, it can also be screened according to the heat generation of the reference processor, that is, preferentially selecting the reference processor with the largest heat generation as the target processor until the total amount of heat dissipation demand of the target processor is greater than or equal to the candidate heat dissipation demand, and this scheme does not limit this.

[0065] In the embodiment provided in the above step S208, the reference server is a server whose heat dissipation device deployed in the server cluster can meet the heat dissipation demand of the processor.

[0066] Optionally, in an embodiment of the present application, the number of reference servers may be one or more, that is, the business on the target processor may be scheduled to one reference server for processing, or it may be scheduled to multiple reference servers for processing, and this solution does not limit this.

[0067] Optionally, in an embodiment of the present application, the reference server can be determined in the following manner: screening out candidate servers from the target server cluster, wherein the candidate servers are servers whose deployed cooling devices can meet the cooling requirements of the processor; determining the cooling requirement margin of each candidate server, wherein the cooling requirement margin is the portion of the cooling resources that the candidate server can currently provide that exceeds the cooling requirement of the candidate server; and screening out the reference server from the plurality of candidate servers in descending order of the cooling requirement margin.

[0068] As an optional embodiment, predicting the heat dissipation information of the target server according to the fault information and the business handling information of the target server includes:

[0069] Converting a reference heat dissipation device in operation in the target server according to the fault information;

[0070] Predicting a first number of processors allowed to run in the target server according to device information of the reference heat dissipation device and temperature control information of the target server, wherein the temperature control information is used to indicate a regulating method of regulating the temperature of the processors in the target server by the heat dissipation device;

[0071] The heat dissipation information is predicted according to the first quantity and the business handling information.

[0072] Optionally, in an embodiment of the present application, the device information is used to characterize the heat dissipation resource output of the reference heat dissipation device to the reference processor. The device information may include, but is not limited to, the deployment location of the reference heat dissipation device and the working status of the reference heat dissipation device, or may also be the maximum amount of heat dissipation resources allowed to be provided by the reference heat dissipation device, or the effective heat dissipation resource output of the reference heat dissipation device to the reference processor. This solution does not limit this.

[0073] Optionally, in an embodiment of the present application, a deployment position table of target heat dissipation devices of the target server is obtained, wherein the deployment position table records the deployment positions of all target heat dissipation devices deployed on the target server in the target server; the deployment positions of the heat dissipation devices corresponding to the target heat dissipation device identifiers are filtered out from the deployment position table, wherein the fault information includes the target heat dissipation device identifiers of the heat dissipation devices in a faulty state in the target server; and the remaining deployment positions in the deployment position table are determined as the deployment positions of the reference heat dissipation devices.

[0074] Optionally, in an embodiment of the present application, the business processing information may be, but is not limited to, the number of reference processors in the target server that are in a business processing state, and then the first number is matched with the number of reference processors. When the first number is less than the number of reference processors, it can be determined that the heat dissipation information is used to indicate that the heat dissipation resources currently allowed to be provided by the target heat dissipation device cannot meet the current heat dissipation requirements of the reference processor. This solution does not limit this.

[0075] Optionally, in the embodiment of the present application, when the target server calls the heat dissipation device to adjust the temperature of the processor, it can include but is not limited to a method of dynamically controlling the operating parameters of the heat dissipation device based on temperature and a method of operating with fixed operating parameters, wherein when the method of dynamically controlling the operating parameters of the heat dissipation device based on temperature is adopted, the operating parameters of the heat dissipation device will change with the change of temperature, and when the method of operating with fixed operating parameters is adopted, the heat dissipation device will operate with fixed operating parameters, and its operating parameters will not be affected by the change of temperature. Therefore, when the temperature adjustment method adopted by the target server is different, the amount of heat dissipation resources that can be provided by the target heat dissipation device deployed in the server is also different, and then the target ratio of the maximum heat dissipation resource output by the reference heat dissipation device to the total heat dissipation resource allowed to be output by the reference heat dissipation device can be determined according to the temperature control information, and then the total heat dissipation resource amount allowed to be output by the reference heat dissipation device is calculated according to the target ratio to obtain the first heat dissipation resource output of each reference heat dissipation device, wherein the device information includes the total heat dissipation resource amount allowed to be output by the reference heat dissipation device, and then the first resource output amounts of multiple heat dissipation devices are summed and calculated to obtain the second heat dissipation resource output amounts of multiple reference heat dissipation devices, and then the first number of processors allowed to support the operation of the second heat dissipation resource output can be determined.

[0076] Through the above content, by using the device information of the reference cooling device and the temperature control information of the target server, the first number of processors allowed to run on the target server is predicted, thereby determining the number of processors that can meet the cooling requirements of the current reference cooling device, thereby ensuring the accuracy of the predicted cooling information.

[0077] As an optional embodiment, the target server is configured with a plurality of air ducts, a plurality of the heat dissipation devices and a plurality of the processors are deployed in each of the air ducts, and the heat dissipation devices are used to provide heat dissipation resources for the processors deployed in the corresponding air ducts;

[0078] The predicting, according to the device information of the reference heat dissipation device and the temperature control information of the target server, a first number of processors allowed to run in the target server includes:

[0079] Determine a deployment position of each of the reference heat dissipation devices in the target server, wherein the device information includes the deployment position;

[0080] Counting the deployment positions to obtain a second number of the reference heat dissipation devices in each of the air ducts;

[0081] In a case where the second number is used to indicate that there is no target air duct in the target server, converting a target operating parameter of the reference heat dissipation device according to the temperature control information, wherein the target air duct is an air duct of the plurality of air ducts whose second number is less than or equal to the target threshold, and the target operating parameter is used to indicate the heat dissipation resource status output by the reference heat dissipation device;

[0082] Determining, from the operating parameters and the number of processors having a corresponding relationship, a third number of processors allowed to run when the reference heat dissipation device runs according to the target operating parameters;

[0083] The third quantities corresponding to the reference heat dissipation devices in the air duct are combined to obtain the first quantity of the processors currently allowed to run in the air duct.

[0084] Optionally, in an embodiment of the present application, the target operating parameter may be, but is not limited to, the operating power of the cooling device, the maximum output cooling resource amount, the number of processors supporting cooling requirements, etc., or when the cooling device is a cooling fan, the target operating parameter may also be the speed of the cooling fan, which is not limited in this solution. Figure 3 is a schematic diagram of an optional layout of internal components of a server according to an embodiment of the present application, such as Figure 3 As shown, a schematic diagram of the internal device layout of a common 2-way server in a cloud data center includes two CPUs, with the memory placed on both sides of the CPU, and an air duct is provided to isolate the CPU, the largest heat source, and optimize air flow, forming two air ducts, each of which contains two fan modules. In addition, the baseboard management controller BMC can collect temperature data from temperature sensors scattered throughout the server in order to dynamically adjust the fan speed, or set the fan speed to a fixed value. This patent abstracts the internal device layout of the server as including one or more air ducts, each of which contains one or more fan modules, and each of which has its corresponding one or more CPU devices.

[0085] Optionally, in an embodiment of the present application, different temperature control information corresponds to different temperature adjustment methods of the heat dissipation device for the server. For example, when a method of dynamically controlling the operating parameters of the heat dissipation device based on temperature is adopted, the maximum number of processor cores Z that the air duct can support is equal to the sum of the effective heat-generating processor cores corresponding to all the remaining available fan modules of this air duct when the speed is 100%; when a method of operating with fixed operating parameters is adopted, the maximum number of processor cores Z that the air duct can support is equal to the sum of the effective heat-generating processor cores corresponding to all the remaining available fan modules of this air duct at the set speed.

[0086] Through the above content, multiple air ducts are deployed in the server, and the target operating parameters of the reference heat dissipation device are converted according to the temperature control information, so as to obtain the third number of processors whose heat dissipation resources provided by the heat dissipation device can meet the heat dissipation requirements. By counting the third number of processors whose heat dissipation requirements can be met by the reference heat dissipation device in the same air duct, the first number of processors currently allowed to run in the air duct is obtained, so as to accurately determine the number of processors supported by the current air duct according to the number of remaining heat dissipation devices in the air duct and the temperature adjustment method of the heat dissipation devices.

[0087] As an optional embodiment, predicting the heat dissipation information according to the first quantity and the business handling information includes:

[0088] matching the first quantity with a fourth quantity of the reference processors, wherein the service handling information includes the fourth quantity of the reference processors;

[0089] In a case where the first number is less than the fourth number, determining that the heat dissipation information is used to indicate that the heat dissipation resources currently allowed to be provided by the target heat dissipation device cannot meet the current heat dissipation demand of the reference processor;

[0090] In a case where the first number is greater than or equal to the fourth number, determining that the heat dissipation information is used to indicate that the heat dissipation resources currently allowed to be provided by the target heat dissipation device can meet a current heat dissipation demand of the reference processor.

[0091] Through the above content, by matching the number of processors whose cooling resources provided by the cooling device currently in normal operation can meet the cooling requirements with the fourth number of the reference processors actually running, it is possible to accurately determine whether the cooling resources currently allowed to be kicked out by the target cooling device meet the current cooling requirements of the reference processor, thereby avoiding processor hardware damage caused by cooling abnormalities of the reference processor.

[0092] As an optional embodiment, the selecting a target processor from the reference processors according to the fault information and the service handling information includes:

[0093] Predicting, according to the fault information and the service handling information, a fifth number of processors in the target server that need to be migrated to the reference server and that have already carried services;

[0094] The fifth number of the target processors is selected from the reference processors.

[0095] Optionally, in an embodiment of the present application, a method for predicting the fifth number of processors that need to be migrated to a reference server and that are already carrying business may be: determining a reference cooling device that is in operation in the target server based on the fault information; predicting a first number of processors allowed to run in the target server based on device information of the reference cooling device and temperature control information of the target server; calculating the difference between the first number and the fourth number of reference processors in the target server to obtain the fifth number, wherein the business processing information includes the fourth number.

[0096] Through the above content, by using fault information and business processing information, the number of processors on the target server that need to migrate business is predicted, and the target processor is screened out from multiple reference processors based on the prediction results, thereby ensuring that the remaining cooling devices in normal operating state on the current target device can meet the cooling needs of the server and avoid hardware damage to the processor caused by cooling problems.

[0097] As an optional embodiment, the step of selecting the fifth number of the target processors from the reference processors includes:

[0098] Acquire a sixth number of the reference processors required to be called by the target server to handle each of the reference services among the multiple reference services carried, and an occupancy rate of the reference processors for handling the reference services;

[0099] Calculating the product of the sixth number and the occupancy rate to obtain a service handling parameter of the reference service, wherein the service handling parameter is used to indicate the heat generation of the server handling the reference service;

[0100] The fifth number of target processors is selected from the plurality of reference processors in descending order according to the service handling parameters of the reference service carried by the reference processor.

[0101] Optionally, in an embodiment of the present application, when a reference processor carries multiple reference services, it is necessary to sum and calculate the service handling parameters of the multiple reference services to obtain the final service handling parameters of the reference processor, which is not limited in this solution.

[0102] Through the above content, by calculating the number of reference processors required to handle each reference business and the occupancy rate of the reference processor for handling the reference business, the heat generation of each reference business can be calculated. Then, when the target processor for the business to be migrated is selected, it is screened according to the heat generation of the reference business carried by each reference processor, so that the processor with increased heat generation for the business being handled is determined as the target processor, so that the cooling device in the target server after the migration of the business can meet the cooling requirements of the target server, avoiding the impact of cooling problems on the processor hardware deployed in the server.

[0103] As an optional embodiment, after scheduling the business handled by the target processor to a reference server other than the target server in the server cluster, the method further includes:

[0104] detecting a seventh number of reference heat dissipation devices in operation in the server cluster;

[0105] determining an eighth number of processors supported for operation by the seventh number of the reference heat dissipation devices;

[0106] In the case where the eighth number is less than the preset number, generating a target notification message, wherein the target notification message is used to indicate a target deployment location of the heat dissipation device in the server cluster that is in a faulty state;

[0107] The target notification message is sent to a target account that has a binding relationship with the server cluster, wherein the target account is used to respond to the target notification message to perform fault maintenance on the heat dissipation device deployed at the target deployment location.

[0108] Through the above content, by detecting the number of reference cooling devices currently in operation in the server cluster, and then detecting the number of running processors currently supported by the reference cooling devices currently in operation in the server cluster, and notifying the target account to repair the cooling devices in a faulty state in the server when the number of currently supported processors is less than the preset number, frequent maintenance of cooling devices in a faulty state in the server cluster is avoided, and the impact of frequent maintenance of cooling devices in a faulty state on the progress of business in the server cluster is also avoided.

[0109] The technical problems to be solved by the embodiments of the present application include how to reduce the downtime of the server due to fan failure and the frequency of manual repair, while ensuring that the temperature of the CPU in the server is within a normal range.

[0110] In the embodiment of the present application, the control device may be a server included in the server cluster for handling pending services, or may be a device separately configured in the server cluster for scheduling services handled by the servers in the server cluster. Figure 4 is a schematic diagram of an optional server cluster according to an embodiment of the present application, such as Figure 4 As shown, the control device can be deployed with a method for implementing the above-mentioned server heat dissipation failure repair method, such as deploying a data center scheduling system and a data center operation and maintenance system on the controller, and deploying a monitoring system on the server. Among them, the data center scheduling system is responsible for receiving user requests to create services, and then placing the services in a server node that meets the requirements according to the number of processor cores, memory size and other requirements contained in the request; on the other hand, it is responsible for migrating the services running in the server node as needed. The monitoring system in the server node is responsible for monitoring and managing the operating status and resource usage of the server node, such as the CPU usage rate, memory utilization rate and other indicators of each virtual machine, and providing alarm and data reporting functions. The data center operation and maintenance system is responsible for collecting alarm and fault messages sent by each server node, and issuing work orders to the operation and maintenance personnel as needed for maintenance.

[0111] The method for repairing a server heat dissipation failure provided in the embodiment of the present application is based on the principle of ensuring that the temperature of the core computing resource CPU is within a safe range. Based on this principle, the embodiment of the present application requires the server heat dissipation engineer to make a statistical table when performing a server heat dissipation test. Table 1 is an optional comparison table of the number of fans and processor cores in the air duct according to the embodiment of the present application, as shown in Table 1.

[0112] Table 1

[0113]

[0114]

[0115] The table lists the number of effective heat-generating processor cores corresponding to each fan module of all air ducts in the server at different speeds independently, where the number of effective heat-generating processor cores is defined as the product of the total number of processor cores used by the CPU in the air duct and the average core utilization when the CPU temperature in the corresponding air duct is at the maximum value allowed within the safe range, and is rounded up. The speed percentage value in the table is only one case and can be defined by yourself, but it must include the corresponding data when the speed is 100%. A, B, C, and D in the table are the number of processors running on the server supported by the corresponding fans at the corresponding speeds. Z is the total number of processors deployed in the corresponding air duct.

[0116] This table is integrated into the firmware of the server's BMC. The BMC refers to this table to calculate the maximum number of processor cores that each air duct in the server can support. If the BMC adopts a strategy of dynamically controlling the fan speed based on temperature, the maximum number of processor cores that the air duct can support is equal to the sum of the effective heat-generating processor cores corresponding to all available fan modules of this air duct when the speed is 100%; if the BMC adopts a strategy based on fixed fan speed, the maximum number of processor cores that the air duct can support is equal to the sum of the effective heat-generating processor cores corresponding to all available fan modules of this air duct at the set speed.

[0117] Figure 5 is an optional server heat dissipation fault repair flow chart according to an embodiment of the present application, such as Figure 5 As shown:

[0118] 1) When a server fan fails, first determine whether there are other fans that can operate normally in the air duct where the failed fan is located. If not, that is, all fans in the current air duct are not working, then send a maintenance notice to the data center operation and maintenance system, and at the same time send a notice to the data center scheduling system to migrate all current server services, and then take the server offline to wait for maintenance. Here, an explanation needs to be made. Even if there are fans that can operate normally in other air ducts in the server, as long as there is a fan in the air duct that is not operating normally, the server will be taken offline and wait for maintenance, because in some cases the services carried by this server may be scheduled to the CPU corresponding to the air duct where the fan is not operating normally.

[0119] 2) If there are other fans in the air duct that can operate normally, only a fan fault alarm will be sent to the data center operation and maintenance system to inform the existence of the fan fault, but no maintenance notice will be sent, that is, there is no need to immediately arrange for maintenance personnel to perform maintenance. The reason for informing the existence of the fan fault is that when other servers need maintenance personnel to repair because there are fans in the air duct that do not operate normally, all existing fan faults can be repaired at the same time, so as to spread the maintenance cost and shorten the interval between fan fault repairs.

[0120] 3) At this time, the maximum number of processor cores Z that the current air duct can support must be calculated based on the number of remaining fans and the BMC fan control strategy.

[0121] a) If the BMC adopts a strategy of dynamically controlling the fan speed based on temperature, the maximum number of processor cores Z that the air duct can support is equal to the sum of the number of effective heat-generating processor cores corresponding to all remaining available fan modules of this air duct when the speed is 100%.

[0122] b) If the BMC adopts a strategy based on fixed fan speed, the maximum number of processor cores Z that the air duct can support is equal to the sum of the number of effective heat-generating processor cores corresponding to all remaining available fan modules of this air duct at the set speed.

[0123] 4) The next step is to determine whether the maximum number of processor cores Z that the current air duct can support is greater than or equal to the total number of processor cores corresponding to the current air duct. If the judgment is yes, the server continues to operate normally. If the judgment is no, that is, Z is less than the total number of processor cores corresponding to the current air duct, then in order to ensure that the CPU temperature is within a safe range, a notification is sent to the data center scheduling system to start business migration until the sum of the number of processor cores corresponding to the remaining businesses is less than or equal to Z, and the server remains in normal operation and does not go offline. One thing to explain here is that in the process of starting business migration, all businesses are sorted from large to small according to the number of effective heat-generating processor cores corresponding to the business, and businesses with large numbers of effective heat-generating processor cores are migrated first. The number of effective heat-generating processor cores of a business is equal to the total number of CPU processor cores used by the business * the average core utilization, and is rounded up.

[0124] As an optional embodiment, it is assumed that a server in a cloud data center includes two air ducts, each of which includes two fans, and a CPU, and the number of processor cores included in the CPU is 24. Table 2 is another comparison table of fans in the air duct and the number of processor cores according to an embodiment of the present application, as shown in Table 2:

[0125] Table 2

[0126]

[0127] In addition, the fan control strategy adopted by the BMC is to fix the speed to 80%. The maximum number of processor cores that can be supported by air duct 1 and air duct 2 are 32 and 28 respectively, both greater than 24, which can ensure that the CPU temperature is within a safe range.

[0128] This server carries five services, and the parameters of each service are:

[0129] Business Code Number of processors required Processor Utilization A 4 0.9 B 6 0.8 C 8 0.8 D 3 0.9 E 3 0.8

[0130] 1) Assume that fan 2 in air duct 1 fails. Since fan 1 in air duct 1 can work normally, there is no need to shut down for maintenance. It only needs to send a notification to the data center operation and maintenance system to inform that there is a faulty fan in this server, and no immediate maintenance is required.

[0131] 2) Due to the failure of fan 2 in air duct 1, the number of processor cores supported by air duct 1 changes. Based on the fixed fan speed strategy adopted by BMC, it is found by querying the comparison table of fans and processor cores that the number of processor cores supported by air duct 1 is 16, which is less than the number of processor cores corresponding to air duct 1, 24. Therefore, it is necessary to notify the data center scheduling system to start business migration. During the business migration process, the 5 businesses carried are sorted according to the number of effective heat-generating processor cores. The sorting result is C(7)>B(5)>A(4)>D(3)=E(3). Therefore, only business C needs to be migrated to meet the requirement that the sum of the number of effective heat-generating processor cores of the remaining businesses (15=5+4+3+3) is less than the number of processor cores supported by air duct 1, 16.

[0132] 3) Assume that fan 2 in air duct 2 fails. Since fan 1 in air duct 2 can work normally, there is no need to shut down for maintenance. It only needs to send a notification to the data center operation and maintenance system to inform that there is a fan failure in this server. At this time, the number of processor cores supported by air duct 2 is updated to the number of processor cores corresponding to fan 1 in air duct 2 when the speed is 80%, that is, 13, which is less than the number of processor cores corresponding to air duct 2, 24, so it is necessary to notify the data center scheduling system to start business migration. During the business migration process, the remaining 4 businesses are sorted according to the number of effective heat-generating processor cores. The sorting result is B(5)>A(4)>D(3)=E(3). Then, only business B needs to be migrated to meet the requirements, and the server continues to run.

[0133] 4) If any subsequent fan fails, it will inevitably result in one of the air ducts having no functioning fan. At this time, a maintenance notice must be sent to the data center operation and maintenance system, and all businesses must be migrated, and the server must be taken offline to wait for maintenance.

[0134] Through the above-mentioned embodiments, when some fans of the server fail, there is no need to immediately take the server offline to wait for repair, and the server can continue to run. As a result, the number of times the cloud data center server needs to be manually repaired due to fan failure is greatly reduced, the server downtime due to waiting for the fault to be repaired is reduced, and the server utilization rate is improved.

[0135] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0136] In this embodiment, a device for repairing a server heat dissipation failure is also provided, which is used to implement the above embodiments and preferred implementation modes, and will not be repeated hereafter. As used below, the term "module" may be a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0137] Figure 6 The present invention is a structural block diagram of a device for repairing a server heat dissipation fault according to an embodiment of the present application. The server cluster includes a server and a control device. The server is deployed with a processor and a heat dissipation device. The processor is used to handle the business to be handled in the server cluster. The processor is used to provide business processing resources for the server. The heat dissipation device is used to provide heat dissipation resources for the processor in the called state. The device is applied to the control device, such as Figure 6 As shown, the device comprises:

[0138] A receiving module, used to receive fault information reported by a target server in the server cluster, wherein the fault information is used to indicate a fault condition of a target heat dissipation device deployed in the target server;

[0139] a prediction module, configured to predict the heat dissipation information of the target server according to the fault information and the business handling information of the target server, wherein the business handling information is used to indicate the business handling status of the reference processor in the processor on the target server that is in a called state, and the heat dissipation information is used to indicate the matching relationship between the heat dissipation resources currently allowed to be provided by the target heat dissipation device and the current heat dissipation demand of the reference processor;

[0140] a screening module, configured to screen out a target processor from the reference processors according to the fault information and the service handling information, when the heat dissipation information indicates that the heat dissipation resources currently allowed to be provided by the target heat dissipation device cannot meet the current heat dissipation demand of the reference processor;

[0141] A scheduling module is used to schedule the business handled on the target processor to the reference server other than the target server in the server cluster, wherein the cooling resources currently allowed to be provided by the target cooling device meet the cooling requirements of the reference processor remaining on the target server after the business is called from the reference server.

[0142] Through the above content, when it is determined that there is a faulty cooling device in the target server in the server cluster, the cooling resources currently allowed to be provided by the target cooling device deployed on the target server can meet the current cooling demand of the reference processor by predicting based on the fault information and business processing information. Furthermore, when the cooling resources currently allowed to be provided by the target cooling device cannot meet the current cooling demand of the reference processor, the target processor is screened out from the reference processor based on the fault information and business processing information, and the business processed on the target processor is scheduled to the reference server other than the target server in the server cluster, thereby reducing the cooling demand of the target server, so that the cooling resources currently allowed to be provided by the target cooling device can meet the cooling demand of the remaining reference processors in the target server after the scheduling of the business, thereby ensuring the normal business processing function of the server cluster while reducing the maintenance frequency of the cooling device in the server cluster, thereby reducing the frequency of server offline due to fault maintenance. Therefore, the problem of low efficiency in repairing server cooling failures in related technologies can be solved, thereby achieving the effect of improving the efficiency in repairing server cooling failures.

[0143] Optionally, the prediction module includes: a determination unit, configured to determine a reference heat dissipation device in operation in the target server according to the fault information;

[0144] a first prediction unit, configured to predict a first number of processors allowed to run in the target server according to device information of the reference heat dissipation device and temperature control information of the target server, wherein the temperature control information is used to indicate a method for the target server to adjust a temperature of a processor in the target server through the heat dissipation device;

[0145] The second prediction unit is used to predict the heat dissipation information according to the first quantity and the business processing information.

[0146] Optionally, the target server is configured with a plurality of air ducts, a plurality of the heat dissipation devices and a plurality of the processors are deployed in each of the air ducts, and the heat dissipation devices are used to provide heat dissipation resources for the processors deployed in the corresponding air ducts;

[0147] The first prediction unit is used to:

[0148] Determine a deployment position of each of the reference heat dissipation devices in the target server, wherein the device information includes the deployment position;

[0149] Counting the deployment positions to obtain a second number of the reference heat dissipation devices in each of the air ducts;

[0150] In a case where the second number is used to indicate that there is no target air duct in the target server, converting a target operating parameter of the reference heat dissipation device according to the temperature control information, wherein the target air duct is an air duct of the plurality of air ducts whose second number is less than or equal to the target threshold, and the target operating parameter is used to indicate the heat dissipation resource status output by the reference heat dissipation device;

[0151] Determining, from the operating parameters and the number of processors having a corresponding relationship, a third number of processors allowed to run when the reference heat dissipation device runs according to the target operating parameters;

[0152] The third quantities corresponding to the reference heat dissipation devices in the air duct are combined to obtain the first quantity of the processors currently allowed to run in the air duct.

[0153] Optionally, the second prediction unit is used to:

[0154] matching the first quantity with a fourth quantity of the reference processors, wherein the service handling information includes the fourth quantity of the reference processors;

[0155] In a case where the first number is less than the fourth number, determining that the heat dissipation information is used to indicate that the heat dissipation resources currently allowed to be provided by the target heat dissipation device cannot meet the current heat dissipation demand of the reference processor;

[0156] In a case where the first number is greater than or equal to the fourth number, determining that the heat dissipation information is used to indicate that the heat dissipation resources currently allowed to be provided by the target heat dissipation device can meet a current heat dissipation demand of the reference processor.

[0157] Optionally, the screening module includes:

[0158] A third prediction unit, configured to predict, based on the fault information and the service handling information, a fifth number of processors in the target server that need to be migrated to the reference server and that have carried services;

[0159] A screening unit is used to screen out the fifth number of the target processors from the reference processors.

[0160] Optionally, the screening unit is used to:

[0161] Acquire a sixth number of the reference processors required to be called by the target server to handle each of the reference services among the multiple reference services carried, and an occupancy rate of the reference processors for handling the reference services;

[0162] Calculating the product of the sixth number and the occupancy rate to obtain a service handling parameter of the reference service, wherein the service handling parameter is used to indicate the heat generation of the server handling the reference service;

[0163] The fifth number of target processors is selected from the plurality of reference processors in descending order according to the service handling parameters of the reference service carried by the reference processor.

[0164] Optionally, the device further comprises:

[0165] a detection module, configured to detect a seventh number of reference heat dissipation devices in operation in the server cluster after the business handled on the target processor is dispatched to a reference server other than the target server in the server cluster;

[0166] A determination module, configured to determine an eighth number of processors supported by the seventh number of reference heat dissipation devices;

[0167] A generating module, configured to generate a target notification message when the eighth number is less than a preset number, wherein the target notification message is used to indicate a target deployment location of the heat dissipation device in a faulty state in the server cluster;

[0168] A sending module is used to send the target notification message to a target account that has a binding relationship with the server cluster, wherein the target account is used to respond to the target notification message to perform fault maintenance on the heat dissipation device deployed at the target deployment location.

[0169] It should be noted that the above modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.

[0170] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.

[0171] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.

[0172] An embodiment of the present application further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0173] In an exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0174] An embodiment of the present application further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the steps in any one of the above method embodiments are implemented.

[0175] An embodiment of the present application further provides another computer program product, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in any of the above method embodiments are implemented.

[0176] The embodiments of the present application also provide a computer program, which includes computer instructions, which are stored in a computer-readable storage medium; a processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the steps in any one of the above method embodiments.

[0177] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail herein.

[0178] Obviously, those skilled in the art should understand that the above modules or steps of the present application can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that herein, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present application is not limited to any specific combination of hardware and software.

[0179] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the principles of the present application shall be included in the protection scope of the present application.

Claims

1. A method for repairing a server heat dissipation failure, characterized in that: The server cluster includes a server and a control device, a processor and a heat dissipation device are deployed in the server, the processor is used to handle the services to be handled in the server cluster, the processor is used to provide service processing resources for the server, and the heat dissipation device is used to provide heat dissipation resources for the processor in a called state, and the method is applied to the control device, and the method includes: receiving fault information reported by a target server in the server cluster, wherein the fault information is used to indicate the fault condition of the target heat dissipation device deployed in the target server; Predicting the heat dissipation information of the target server according to the fault information and the business handling information of the target server, wherein the business handling information is used to indicate the business handling status of the reference processor in the processor on the target server that is in a called state, and the heat dissipation information is used to indicate the matching relationship between the heat dissipation resources currently allowed to be provided by the target heat dissipation device and the current heat dissipation demand of the reference processor; In a case where the heat dissipation information is used to indicate that the heat dissipation resources currently allowed to be provided by the target heat dissipation device cannot meet the current heat dissipation demand of the reference processor, selecting a target processor from the reference processors according to the fault information and the business handling information; The business handled on the target processor is scheduled to the reference server other than the target server in the server cluster, wherein the cooling resources currently allowed to be provided by the target cooling device meet the cooling requirements of the reference processor remaining on the target server after the business is called from the reference server.

2. The method according to claim 1, characterized in that The predicting the heat dissipation information of the target server according to the fault information and the business handling information of the target server includes: Determine a reference heat dissipation device in operation in the target server according to the fault information; Predicting a first number of processors allowed to run in the target server according to device information of the reference heat dissipation device and temperature control information of the target server, wherein the temperature control information is used to indicate a regulating method of regulating the temperature of the processors in the target server by the heat dissipation device; The heat dissipation information is predicted according to the first quantity and the business handling information.

3. The method according to claim 2, characterized in that The target server is configured with a plurality of air ducts, a plurality of the heat dissipation devices and a plurality of the processors are deployed in each of the air ducts, and the heat dissipation devices are used to provide heat dissipation resources for the processors deployed in the corresponding air ducts; The predicting, according to the device information of the reference heat dissipation device and the temperature control information of the target server, a first number of processors allowed to run in the target server includes: Determine a deployment position of each of the reference heat dissipation devices in the target server, wherein the device information includes the deployment position; Counting the deployment positions to obtain a second number of the reference heat dissipation devices in each of the air ducts; In a case where the second number is used to indicate that there is no target air duct in the target server, converting a target operating parameter of the reference heat dissipation device according to the temperature control information, wherein the target air duct is an air duct of the plurality of air ducts whose second number is less than or equal to the target threshold, and the target operating parameter is used to indicate the heat dissipation resource status output by the reference heat dissipation device; Determining, from the operating parameters and the number of processors having a corresponding relationship, a third number of processors allowed to run when the reference heat dissipation device runs according to the target operating parameters; The third quantities corresponding to the reference heat dissipation devices in the air duct are combined to obtain the first quantity of the processors currently allowed to run in the air duct.

4. The method according to claim 2, characterized in that: The predicting the heat dissipation information according to the first quantity and the business handling information includes: matching the first quantity with a fourth quantity of the reference processors, wherein the service handling information includes the fourth quantity of the reference processors; In a case where the first number is less than the fourth number, determining that the heat dissipation information is used to indicate that the heat dissipation resources currently allowed to be provided by the target heat dissipation device cannot meet the current heat dissipation demand of the reference processor; In a case where the first number is greater than or equal to the fourth number, determining that the heat dissipation information is used to indicate that the heat dissipation resources currently allowed to be provided by the target heat dissipation device can meet a current heat dissipation demand of the reference processor.

5. The method according to claim 1, characterized in that The step of selecting a target processor from the reference processor according to the fault information and the service handling information includes: Predicting, according to the fault information and the service handling information, a fifth number of processors in the target server that need to be migrated to the reference server and that have already carried services; The fifth number of the target processors is selected from the reference processors.

6. The method according to claim 5, characterized in that The step of selecting the fifth number of the target processors from the reference processors comprises: Acquire a sixth number of the reference processors required to be called by the target server to handle each of the reference services among the multiple reference services carried, and an occupancy rate of the reference processors for handling the reference services; Calculating the product of the sixth number and the occupancy rate to obtain a service handling parameter of the reference service, wherein the service handling parameter is used to indicate the heat generation of the server handling the reference service; The fifth number of target processors is selected from the plurality of reference processors in descending order according to the service handling parameters of the reference service carried by the reference processor.

7. The method according to claim 1, characterized in that After scheduling the business handled on the target processor to a reference server other than the target server in the server cluster, the method further includes: detecting a seventh number of reference heat dissipation devices in operation in the server cluster; determining an eighth number of processors supported for operation by the seventh number of the reference heat dissipation devices; In the case where the eighth number is less than the preset number, generating a target notification message, wherein the target notification message is used to indicate a target deployment location of the heat dissipation device in the server cluster that is in a faulty state; The target notification message is sent to a target account that has a binding relationship with the server cluster, wherein the target account is used to respond to the target notification message to perform fault maintenance on the heat dissipation device deployed at the target deployment location.

8. A device for repairing a server heat dissipation failure, characterized in that: The server cluster includes a server and a control device, a processor and a heat dissipation device are deployed in the server, the processor is used to handle the business to be handled in the server cluster, the processor is used to provide business processing resources for the server, and the heat dissipation device is used to provide heat dissipation resources for the processor in the called state, and the device is applied to the control device, and the device includes: a receiving module, which is used to receive fault information reported by a target server in the server cluster, wherein the fault information is used to indicate the fault condition of the target heat dissipation device deployed in the target server; a prediction module, configured to predict the heat dissipation information of the target server according to the fault information and the business handling information of the target server, wherein the business handling information is used to indicate the business handling status of the reference processor in the processor on the target server that is in a called state, and the heat dissipation information is used to indicate the matching relationship between the heat dissipation resources currently allowed to be provided by the target heat dissipation device and the current heat dissipation demand of the reference processor; a screening module, configured to screen out a target processor from the reference processors according to the fault information and the service handling information, when the heat dissipation information indicates that the heat dissipation resources currently allowed to be provided by the target heat dissipation device cannot meet the current heat dissipation demand of the reference processor; A scheduling module is used to schedule the business handled on the target processor to the reference server other than the target server in the server cluster, wherein the cooling resources currently allowed to be provided by the target cooling device meet the cooling requirements of the reference processor remaining on the target server after the business is called from the reference server.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program implements the steps of the method described in any one of claims 1 to 7 when executed by a processor.

10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method described in any one of claims 1 to 7 are implemented.

Citation Information

Cited By

  • Method and device for testing temperature control performance of server

    CN119690764A

  • Fault information prediction method and device

    CN120803799A