CN111188782A - Fan redundancy test method and device and computer readable storage medium - Google Patents

Fan redundancy test method and device and computer readable storage medium Download PDF

Info

Publication number
CN111188782A
CN111188782A CN201911411093.6A CN201911411093A CN111188782A CN 111188782 A CN111188782 A CN 111188782A CN 201911411093 A CN201911411093 A CN 201911411093A CN 111188782 A CN111188782 A CN 111188782A
Authority
CN
China
Prior art keywords
fan
fans
prompt information
target
mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911411093.6A
Other languages
Chinese (zh)
Inventor
许雪雪
姜庆臣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN201911411093.6A priority Critical patent/CN111188782A/en
Publication of CN111188782A publication Critical patent/CN111188782A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F04POSITIVE - DISPLACEMENT MACHINES FOR LIQUIDS; PUMPS FOR LIQUIDS OR ELASTIC FLUIDS
    • F04DNON-POSITIVE-DISPLACEMENT PUMPS
    • F04D27/00Control, e.g. regulation, of pumps, pumping installations or pumping systems specially adapted for elastic fluids
    • F04D27/001Testing thereof; Determination or simulation of flow characteristics; Stall or surge detection, e.g. condition monitoring

Abstract

The embodiment of the invention discloses a fan redundancy test method, a device and a medium, which receive a fan redundancy test instruction carrying fan identification information; setting a target fan corresponding to the fan identification information to a failure mode; and judging whether the rotating speed of the target fan meets the requirement of the fault mode and whether the rotating speeds of the residual fans meet the preset operation requirement. And when the rotating speeds of all the fans meet the requirements in the corresponding modes, detecting whether abnormal prompt information is recorded in a file for recording the running state of the fans or not. When the abnormal prompt information is recorded in the file, it is indicated that other fans except the target fan can normally operate in the failure mode, and the prompt information that the fan operates stably can be displayed at the moment. And when the abnormal prompt information is not recorded in the file, generating log information and displaying the prompt information of the abnormal operation of the fan. The technical scheme can realize the automatic test of the running stability of the fan and can timely find the abnormal running condition of the fan.

Description

Fan redundancy test method and device and computer readable storage medium
Technical Field
The present invention relates to the field of server technologies, and in particular, to a fan redundancy testing method and apparatus, and a computer-readable storage medium.
Background
In server design, in order to ensure the heat dissipation of the system and maintain the stable operation of the server, a high-power fan module is required for heat dissipation. After leaving the factory, the server fan needs to work in various complex environments, such as harsh environments with high temperature, high humidity, high dust, and the like, for a long time. Factors such as dust accumulation, bearing aging, etc., after prolonged use, can affect the performance of the fan and can cause it to fail completely. The stability of the fan operation is an important factor affecting the normal operation of the server.
In the prior art, in order to improve the stability of fan operation, a redundant fan may be set, for example, 8 fans may meet the heat dissipation requirement of a server, 10 fans may be set for the server according to a redundancy policy, wherein 2 fans serve as the redundant fan, and the remaining 8 fans perform heat dissipation, and when a certain fan fails, 1 redundant fan may be called to operate, thereby ensuring the heat dissipation of the server. But the system can not know whether each fan can work normally under the redundancy mechanism, so that the heat dissipation requirement of the server is met.
Therefore, how to detect the operation stability of the fan is a problem to be solved by those skilled in the art.
Disclosure of Invention
The embodiment of the invention aims to provide a fan redundancy testing method, a fan redundancy testing device and a computer readable storage medium, which can realize the detection of the running stability of a fan.
To solve the above technical problem, an embodiment of the present invention provides a fan redundancy testing method, including:
receiving a fan redundancy test instruction; the redundant test instruction carries fan identification information;
setting a target fan corresponding to the fan identification information to a failure mode; the number of the target fans is less than or equal to the redundant number of the fans;
judging whether the rotating speed of the target fan meets the requirement of a fault mode and whether the rotating speeds of the rest fans meet the preset operation requirement;
if not, generating log information and displaying prompt information of abnormal operation of the fan;
if yes, detecting whether abnormal prompt information is recorded in a file for recording the running state of the fan;
when abnormal prompt information is recorded in the file, displaying prompt information of stable operation of the fan;
and when the abnormal prompt information is not recorded in the file, executing the steps of generating the log information and displaying the prompt information of the abnormal operation of the fan.
Optionally, the setting the target fan corresponding to the fan identification information to the failure mode includes:
setting a wind speed of a target fan corresponding to the fan identification information to zero.
Optionally, the determining whether the rotation speed of the target fan meets the requirement of the fault mode and whether the rotation speeds of the remaining fans meet the preset operation requirement includes:
and judging whether the rotating speed of the target fan and the rotating speed of the fan in the redundancy mode in the rest fans are both zero or not, and whether the rotating speed of the fan in the running mode in the rest fans is full speed or not.
Optionally, the fan redundancy test instruction carries test time;
correspondingly, after setting the target fan corresponding to the fan identification information to the failure mode, the method further includes:
and when the test time is up, displaying prompt information of the test completion.
Optionally, after setting the target fan corresponding to the fan identification information to the failure mode, the method further includes:
and when an instruction for exiting the redundancy test is received, all the fans are restored to the initialization state mode.
Optionally, the fan redundancy test instruction carries test time;
correspondingly, after setting the target fan corresponding to the fan identification information to the failure mode, the method further includes:
and when the test time is up, all the fans are restored to the initialization state mode.
Optionally, after all fans are restored to the initialization state mode, the method further includes:
judging whether the rotating speeds of all the fans meet the rotating speed requirements of the corresponding modes within preset time;
if not, generating log information and displaying prompt information of abnormal operation of the fan;
if yes, selecting a new target fan from the remaining fans except the target fan, and setting the new target fan to be in a failure mode; and ending the operation until no new target fan exists or the preset total test time is reached.
The embodiment of the invention also provides a fan redundancy testing device, which comprises a receiving unit, a setting unit, a judging unit, a detecting unit, a first display unit and a second display unit;
the receiving unit is used for receiving a fan redundancy test instruction; the redundant test instruction carries fan identification information;
the setting unit is used for setting the target fan corresponding to the fan identification information into a failure mode; the number of the target fans is less than or equal to the redundant number of the fans;
the judging unit is used for judging whether the rotating speed of the target fan meets the requirement of the fault mode and whether the rotating speeds of the residual fans meet the preset operation requirement; if yes, triggering the detection unit; if not, triggering the first display unit;
the first display unit is used for generating log information and displaying prompt information of abnormal operation of the fan;
the detection unit is used for detecting whether the file for recording the running state of the fan records abnormal prompt information or not; when the abnormal prompt information is not recorded in the file, triggering the first display unit;
and the second display unit is used for displaying prompt information of stable running of the fan when the abnormal prompt information is recorded in the file.
Optionally, the setting unit is specifically configured to set the wind speed of the target fan corresponding to the fan identification information to zero.
Optionally, the determining unit is specifically configured to determine whether the rotation speed of the target fan and the rotation speed of the fan in the redundant mode in the remaining fans are both zero, and whether the rotation speed of the fan in the running mode in the remaining fans is full speed.
Optionally, the fan redundancy test instruction carries test time; the device further comprises a third display unit;
and the third display unit is used for displaying the prompt message of the end of the test when the test time is up.
Optionally, a recovery unit is further included;
and the recovery unit is used for recovering all the fans to the initialization state mode when receiving the command of exiting the redundancy test.
Optionally, the fan redundancy test instruction carries test time; the apparatus further comprises a recovery unit;
and the recovery unit is used for recovering all the fans to the initialization state mode when the test time is up.
Optionally, the system further comprises a selecting unit;
the judging unit is also used for judging whether the rotating speeds of all the fans meet the rotating speed requirements in the corresponding modes within preset time after all the fans are restored to the initialization state mode; if yes, triggering the selection unit; if not, triggering the second display unit to generate log information and displaying prompt information of abnormal operation of the fan;
the selecting unit is used for selecting a new target fan from the remaining fans except the target fan and executing the step of setting the new target fan to be in a failure mode; and ending the operation until no new target fan exists or the preset total test time is reached.
The embodiment of the invention also provides a fan redundancy testing device, which comprises:
a memory for storing a computer program;
a processor for executing the computer program to implement the steps of the fan redundancy test method according to any of the embodiments.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the fan redundancy testing method according to any embodiment of the present invention are implemented.
According to the technical scheme, the fan redundancy test instruction is received; the redundancy test instruction carries fan identification information; setting a target fan corresponding to the fan identification information to a failure mode; and the number of the target fans is less than or equal to the redundant number of the fans. And judging whether the rotating speed of the target fan meets the requirement of the fault mode and whether the rotating speeds of the residual fans meet the preset operation requirement. And when the rotating speeds of all the fans meet the requirements in the corresponding modes, detecting whether the file for recording the running state of the fans records abnormal prompt information or not. Under the normal state, when a fan has a fault, the abnormal prompt information of the fault fan is recorded in the file. Therefore, when the abnormal prompt information is recorded in the file, it indicates that the fans except the target fan can normally operate in the failure mode, and the prompt information that the fan operates stably can be displayed. And when the abnormal prompt information is not recorded in the file, generating log information and displaying the prompt information of the abnormal operation of the fan. The technical scheme can realize the automatic test of the running stability of the fan and can timely find the abnormal running condition of the fan.
Drawings
In order to illustrate the embodiments of the present invention more clearly, the drawings that are needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings can be obtained by those skilled in the art without inventive effort.
Fig. 1 is a flowchart of a fan redundancy testing method according to an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of a fan redundancy testing apparatus according to an embodiment of the present invention;
fig. 3 is a schematic hardware structure diagram of a fan redundancy testing apparatus according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without any creative work belong to the protection scope of the present invention.
In order that those skilled in the art will better understand the disclosure, the invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
Next, a fan redundancy testing method provided by the embodiment of the invention is described in detail. Fig. 1 is a flowchart of a fan redundancy testing method according to an embodiment of the present invention, where the method includes:
s101: and receiving a fan redundancy test instruction.
In the embodiment of the invention, in order to distinguish different fans, identification information which is uniquely corresponding to each fan is set for each fan. The identification information may be provided in the form of numbers, letters, or a combination of both.
The redundant test instructions are used to indicate a simulated fan failure. Fan identification information is carried in the redundant test instructions.
S102: and setting the target fan corresponding to the fan identification information as a failure mode.
To facilitate differentiation from other fans, the fan corresponding to the fan identification information in the redundant test instructions may be referred to as the target fan.
In practical applications, redundant fans are often provided to ensure the effectiveness of heat dissipation of the server. For example, in a normal state, 8 fans are arranged to meet the heat dissipation requirement of the server; in the redundancy mode, 10 fans may be provided, with any 8 fans in the normal operating mode and the remaining 2 fans in the redundancy mode. At this time, the maximum number of fan redundancies supported by the server is 2, that is, any 2 fans have a fault, and the fans in the redundancy mode can be called to replace the fault fans to work, so that normal heat dissipation of the server is ensured.
When the fan failure is simulated, the number of the target fans is required to be set to be less than or equal to the redundant number of the fans.
In the embodiment of the invention, the wind speed of the target fan corresponding to the fan identification information can be set to be zero, so that the effect of simulating the fan fault is achieved.
S103: and judging whether the rotating speed of the target fan meets the requirement of the fault mode and whether the rotating speeds of the residual fans meet the preset operation requirement.
When a fault fan occurs, the fan in the redundancy mode needs to be called to replace the fault fan to work, because the short-time switching of the fan is involved, and the rotating speed of the fan in the redundancy mode is zero, a certain time is needed for the rotating speed to reach the normal required rotating speed, and in order to ensure the heat dissipation effect of the server, the rotating speed of the fan in the running mode often reaches the full-speed state within the short time of replacement.
Taking the fan rotation speed at the time of the fault as an example, in a specific implementation, it may be determined whether the rotation speed of the target fan and the rotation speed of the fan in the redundant mode among the remaining fans are both zero, and whether the rotation speed of the fan in the operational mode among the remaining fans is full speed.
When the target fan speed and the fan in the redundant mode among the remaining fans are both zero, and the fan in the operational mode among the remaining fans is full speed, it indicates that the operational status of each fan is normal, and S104 may be executed.
When the rotation speed of the target fan does not satisfy the failure mode requirement or the rotation speeds of the remaining fans do not satisfy the preset operation requirement, S106 may be performed at this time.
It should be noted that, in order to ensure the heat dissipation effect of the server, the rotation speed of the fan in the operation mode tends to reach the full speed state within the short time of replacement. The fan consumes more power at full speed and generates more noise. Therefore, the full-speed state of the fans does not last too long, when the rotating speed of each fan in the operation mode reaches full speed, the heat dissipation of the server can be effectively ensured, and in order to reduce the power consumption of the system, the rotating speed of the fan in the operation mode can be restored to the normal rotating speed.
S104: and detecting whether the file for recording the running state of the fan records abnormal prompt information or not.
Under the normal state, when a fan has a fault, the abnormal prompt information of the fault fan is recorded in the file.
Therefore, after the target fan corresponding to the fan identification information is set to the failure mode, if the abnormality prompt information is recorded in the file, it indicates that the fans other than the target fan can normally operate in the failure mode, and at this time, S105 may be executed.
After the target fan corresponding to the fan identification information is set to the failure mode, if the abnormality prompt information is not recorded in the file, it indicates that there is an error in the information recorded in the file, and then S106 may be executed.
S105: and displaying prompt information of stable operation of the fan.
Due to the presence of a failed fan, there will be a corresponding exception prompt in the file. Therefore, when the rotating speed of the target fan meets the requirement of the fault mode and the rotating speeds of the remaining fans meet the preset operation requirement, if abnormal prompt information is recorded in the file, the system can realize the automatic test of the operation stability of the fans. In order to facilitate the user to know the test result, prompt information of stable operation of the fan can be displayed.
S106: generating log information and displaying prompt information of abnormal fan operation.
The log information records the operating state information of each fan.
When the rotating speed of the target fan does not meet the requirement of the fault mode or the rotating speeds of the remaining fans do not meet the preset operation requirement, or the file does not record abnormal prompt information, the problem exists when the system executes the automatic test of the operation stability of the fans, and the prompt information of the abnormal operation of the fans can be displayed at the moment, so that a user can be reminded to check the operation condition of each fan in time.
According to the technical scheme, the fan redundancy test instruction is received; the redundancy test instruction carries fan identification information; setting a target fan corresponding to the fan identification information to a failure mode; and the number of the target fans is less than or equal to the redundant number of the fans. And judging whether the rotating speed of the target fan meets the requirement of the fault mode and whether the rotating speeds of the residual fans meet the preset operation requirement. And when the rotating speeds of all the fans meet the requirements in the corresponding modes, detecting whether the file for recording the running state of the fans records abnormal prompt information or not. Under the normal state, when a fan has a fault, the abnormal prompt information of the fault fan is recorded in the file. Therefore, when the abnormal prompt information is recorded in the file, it indicates that the fans except the target fan can normally operate in the failure mode, and the prompt information that the fan operates stably can be displayed. And when the abnormal prompt information is not recorded in the file, generating log information and displaying the prompt information of the abnormal operation of the fan. The technical scheme can realize the automatic test of the running stability of the fan and can timely find the abnormal running condition of the fan.
In the embodiment of the present invention, the test time may be set for each test, and specifically, the test time may be carried in the fan redundancy test instruction.
The test time may be any integer time within a preset time, for example, an integer may be randomly selected as the test time within 1 to 15 minutes.
When the test time is set, after the target fan corresponding to the fan identification information is set to be in the fault mode, the prompt information of the end of the test can be displayed when the test time is reached.
The test completion prompt information is displayed, so that the user can be timely reminded of the test completion, the user can reset the test time and select the fault fan, and the next round of test can be performed.
After the target fan corresponding to the fan identification information is set to the failure mode, when an instruction to exit the redundancy test is received, all fans are restored to the initialization state mode.
Before the test, when the target fan belongs to the fan in the redundancy mode, the target fan can be adjusted to the redundancy mode when an instruction for quitting the redundancy test is received; before the test, when the target fan belongs to the fan in the running mode, the target fan can be adjusted to the running mode when an instruction for exiting the redundancy test is received.
Wherein, the fan speed in the redundancy mode can be set to zero; the fan speed may be set to a normal speed in the operating mode, wherein the normal speed may be set to half of a full fan speed value.
In the embodiment of the present invention, except that the fan is restored to the initialization state mode when the instruction to exit the redundancy test is received, an automatic exit mode may be adopted, and specifically, when the test time is reached, the fan is automatically restored to the initialization state mode.
After each test result, all fans are restored to the initialization state mode, so that the fans of the system can be guaranteed to be restored to respective corresponding normal running states, and the state of each fan cannot be influenced by the previous test in the next test.
In the embodiment of the present invention, after all the fans are restored to the initialization state mode, it can be determined whether the rotation speeds of all the fans meet the rotation speed requirements in the corresponding modes within the preset time.
The preset time may be set according to the time for recovering the rotation speed of the fan, and is not limited herein.
In a normal state, after all fans are restored to an initialization state mode, the rotating speed of the fans in a redundancy mode should be zero; the fan in the run mode should be at normal speed.
When the rotating speeds of all the fans do not meet the rotating speed requirements in the corresponding modes within the preset time, the existence of the fan with abnormal operation is indicated, corresponding log information can be generated for all the fans at the moment, and prompt information of the fan with abnormal operation is displayed, so that a user can be reminded of checking the fans in time.
When the rotating speeds of all the fans meet the rotating speed requirements in the corresponding modes within the preset time, selecting a new target fan from the remaining fans except the target fan, and executing the step of setting the new target fan to be in the failure mode; and ending the operation until no new target fan exists or the preset total test time is reached.
In the embodiment of the invention, the fan in the system can be tested for multiple times, and different fans can be selected as fault fans in each test. In a specific implementation, a total test time may be set, timing is started from the time of the first test, when the total test time is reached, it indicates that the redundancy test of the fan is completed, and at this time, the operation may be ended.
After the test is finished at every time, the running state of each fan is detected, the condition that the fan breaks down after the test is finished can be found in time, and the accuracy of stability detection of each fan is improved.
Fig. 2 is a schematic structural diagram of a fan redundancy testing apparatus according to an embodiment of the present invention, including a receiving unit 21, a setting unit 22, a determining unit 23, a first displaying unit 24, a detecting unit 25, and a second displaying unit 26;
a receiving unit 21, configured to receive a fan redundancy test instruction; the redundancy test instruction carries fan identification information;
a setting unit 22 for setting a target fan corresponding to the fan identification information to a failure mode; the number of the target fans is less than or equal to the redundant number of the fans;
a determining unit 23, configured to determine whether the rotation speed of the target fan meets the requirement of the fault mode and whether the rotation speeds of the remaining fans meet a preset operation requirement; if yes, the detection unit 24 is triggered; if not, triggering the first display unit 24;
the first display unit 24 is used for generating log information and displaying prompt information of abnormal operation of the fan;
a detection unit 25, configured to detect whether an abnormal prompt message is recorded in a file for recording an operating state of the fan; when the abnormal prompt information is not recorded in the file, the first display unit 24 is triggered;
the second display unit 26 is configured to display prompt information that the fan operates stably when the file records abnormal prompt information.
Optionally, the setting unit is specifically configured to set the wind speed of the target fan corresponding to the fan identification information to zero.
Optionally, the determining unit is specifically configured to determine whether the rotation speed of the target fan and the rotation speed of the fan in the redundant mode in the remaining fans are both zero, and whether the rotation speed of the fan in the running mode in the remaining fans is full speed.
Optionally, the fan redundancy test instruction carries test time; the device also comprises a third display unit;
and the third display unit is used for displaying the prompt message of the end of the test when the test time is up.
Optionally, a recovery unit is further included;
and the recovery unit is used for recovering all the fans to the initialization state mode when receiving the command of exiting the redundancy test.
Optionally, the fan redundancy test instruction carries test time; the apparatus further comprises a recovery unit;
and the recovery unit is used for recovering all the fans to the initialization state mode when the test time is up.
Optionally, the system further comprises a selecting unit;
the judging unit is also used for judging whether the rotating speeds of all the fans meet the rotating speed requirements in the corresponding modes within the preset time after all the fans are restored to the initialization state mode; if yes, triggering a selection unit; if not, triggering a second display unit to generate log information and displaying prompt information of abnormal operation of the fan;
a selecting unit for selecting a new target fan from the remaining fans except the target fan and performing a step of setting the new target fan to a failure mode; and ending the operation until no new target fan exists or the preset total test time is reached.
The description of the features in the embodiment corresponding to fig. 2 may refer to the related description of the embodiment corresponding to fig. 1, and is not repeated here.
According to the technical scheme, the fan redundancy test instruction is received; the redundancy test instruction carries fan identification information; setting a target fan corresponding to the fan identification information to a failure mode; and the number of the target fans is less than or equal to the redundant number of the fans. And judging whether the rotating speed of the target fan meets the requirement of the fault mode and whether the rotating speeds of the residual fans meet the preset operation requirement. And when the rotating speeds of all the fans meet the requirements in the corresponding modes, detecting whether the file for recording the running state of the fans records abnormal prompt information or not. Under the normal state, when a fan has a fault, the abnormal prompt information of the fault fan is recorded in the file. Therefore, when the abnormal prompt information is recorded in the file, it indicates that the fans except the target fan can normally operate in the failure mode, and the prompt information that the fan operates stably can be displayed. And when the abnormal prompt information is not recorded in the file, generating log information and displaying the prompt information of the abnormal operation of the fan. The technical scheme can realize the automatic test of the running stability of the fan and can timely find the abnormal running condition of the fan.
Fig. 3 is a schematic hardware structure diagram of a fan redundancy testing apparatus 30 according to an embodiment of the present invention, including:
a memory 31 for storing a computer program;
a processor 32 for executing the computer program to implement the steps of the fan redundancy test method according to any of the embodiments.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the fan redundancy testing method according to any embodiment of the present invention are implemented.
The fan redundancy testing method, the fan redundancy testing device and the computer-readable storage medium provided by the embodiment of the invention are described in detail above. The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

Claims (10)

1. A fan redundancy test method is characterized by comprising the following steps:
receiving a fan redundancy test instruction; the redundant test instruction carries fan identification information;
setting a target fan corresponding to the fan identification information to a failure mode; the number of the target fans is less than or equal to the redundant number of the fans;
judging whether the rotating speed of the target fan meets the requirement of a fault mode and whether the rotating speeds of the rest fans meet the preset operation requirement;
if not, generating log information and displaying prompt information of abnormal operation of the fan;
if yes, detecting whether abnormal prompt information is recorded in a file for recording the running state of the fan;
when abnormal prompt information is recorded in the file, displaying prompt information of stable operation of the fan;
and when the abnormal prompt information is not recorded in the file, executing the steps of generating the log information and displaying the prompt information of the abnormal operation of the fan.
2. The method of claim 1, wherein setting the target fan corresponding to the fan identification information to a failure mode comprises:
setting a wind speed of a target fan corresponding to the fan identification information to zero.
3. The method of claim 2, wherein the determining whether the target fan speed meets a failure mode requirement and the remaining fan speeds meet a preset operational requirement comprises:
and judging whether the rotating speed of the target fan and the rotating speed of the fan in the redundancy mode in the rest fans are both zero or not, and whether the rotating speed of the fan in the running mode in the rest fans is full speed or not.
4. The method of claim 1, wherein the fan redundancy test instruction carries a test time;
correspondingly, after setting the target fan corresponding to the fan identification information to the failure mode, the method further includes:
and when the test time is up, displaying prompt information of the test completion.
5. The method of claim 4, further comprising, after setting the target fan corresponding to the fan identification information to a failure mode:
and when an instruction for exiting the redundancy test is received, all the fans are restored to the initialization state mode.
6. The method of claim 1, wherein the fan redundancy test instruction carries a test time;
correspondingly, after setting the target fan corresponding to the fan identification information to the failure mode, the method further includes:
and when the test time is up, all the fans are restored to the initialization state mode.
7. The method of claim 5 or 6, further comprising, after all fans are restored to the initialization state mode:
judging whether the rotating speeds of all the fans meet the rotating speed requirements of the corresponding modes within preset time;
if not, generating log information and displaying prompt information of abnormal operation of the fan;
if yes, selecting a new target fan from the remaining fans except the target fan, and setting the new target fan to be in a failure mode; and ending the operation until no new target fan exists or the preset total test time is reached.
8. A fan redundancy test device is characterized by comprising a receiving unit, a setting unit, a judging unit, a detecting unit, a first display unit and a second display unit;
the receiving unit is used for receiving a fan redundancy test instruction; the redundant test instruction carries fan identification information;
the setting unit is used for setting the target fan corresponding to the fan identification information into a failure mode; the number of the target fans is less than or equal to the redundant number of the fans;
the judging unit is used for judging whether the rotating speed of the target fan meets the requirement of the fault mode and whether the rotating speeds of the residual fans meet the preset operation requirement; if yes, triggering the detection unit; if not, triggering the first display unit;
the first display unit is used for generating log information and displaying prompt information of abnormal operation of the fan when abnormal prompt information is not recorded in the file;
the detection unit is used for detecting whether the file for recording the running state of the fan records abnormal prompt information or not; when the abnormal prompt information is not recorded in the file, triggering the first display unit;
and the second display unit is used for displaying prompt information of stable running of the fan when the abnormal prompt information is recorded in the file.
9. A fan redundancy test apparatus, comprising:
a memory for storing a computer program;
a processor for executing the computer program to carry out the steps of the fan redundancy testing method according to any of claims 1 to 7.
10. A computer-readable storage medium, having stored thereon a computer program which, when being executed by a processor, carries out the steps of the fan redundancy test method according to any one of claims 1 to 7.
CN201911411093.6A 2019-12-31 2019-12-31 Fan redundancy test method and device and computer readable storage medium Pending CN111188782A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911411093.6A CN111188782A (en) 2019-12-31 2019-12-31 Fan redundancy test method and device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911411093.6A CN111188782A (en) 2019-12-31 2019-12-31 Fan redundancy test method and device and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN111188782A true CN111188782A (en) 2020-05-22

Family

ID=70706006

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911411093.6A Pending CN111188782A (en) 2019-12-31 2019-12-31 Fan redundancy test method and device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111188782A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112555183A (en) * 2020-11-19 2021-03-26 浪潮电子信息产业股份有限公司 Method and system for testing redundancy of server fan

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007135991A1 (en) * 2006-05-19 2007-11-29 Ihi Corporation Stall sign detector and detection method, and engine control system
CN101094583A (en) * 2007-08-02 2007-12-26 中兴通讯股份有限公司 Redundancy unit of heat-removal system, and redundancy method of heat-removal system
CN107907838A (en) * 2017-11-22 2018-04-13 郑州云海信息技术有限公司 A kind of redundant power module tests system and method
CN108920307A (en) * 2018-07-10 2018-11-30 郑州云海信息技术有限公司 Server Restart test method, device, equipment and computer readable storage medium
CN109358490A (en) * 2018-10-19 2019-02-19 郑州云海信息技术有限公司 A kind of redundance unit and its test method, system and storage medium
CN109726130A (en) * 2019-01-02 2019-05-07 浪潮商用机器有限公司 Test macro, method, equipment and the storage medium of BMC event log strategy

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007135991A1 (en) * 2006-05-19 2007-11-29 Ihi Corporation Stall sign detector and detection method, and engine control system
CN101094583A (en) * 2007-08-02 2007-12-26 中兴通讯股份有限公司 Redundancy unit of heat-removal system, and redundancy method of heat-removal system
CN107907838A (en) * 2017-11-22 2018-04-13 郑州云海信息技术有限公司 A kind of redundant power module tests system and method
CN108920307A (en) * 2018-07-10 2018-11-30 郑州云海信息技术有限公司 Server Restart test method, device, equipment and computer readable storage medium
CN109358490A (en) * 2018-10-19 2019-02-19 郑州云海信息技术有限公司 A kind of redundance unit and its test method, system and storage medium
CN109726130A (en) * 2019-01-02 2019-05-07 浪潮商用机器有限公司 Test macro, method, equipment and the storage medium of BMC event log strategy

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112555183A (en) * 2020-11-19 2021-03-26 浪潮电子信息产业股份有限公司 Method and system for testing redundancy of server fan

Similar Documents

Publication Publication Date Title
JP3831377B2 (en) Method and apparatus for analyzing power failure in a computer system
CN109783262B (en) Fault data processing method, device, server and computer readable storage medium
US7971112B2 (en) Memory diagnosis method
Tang et al. Assessment of the effect of memory page retirement on system RAS against hardware faults
US20110276845A1 (en) Methods, apparatus and articles of manufacture to diagnose temperature-induced memory errors
CN205881469U (en) Fault detection equipment of electronic equipment and memory that is used for having a plurality of memory locations of standing transient fault and permanent fault
CN108287775A (en) A kind of method, apparatus, equipment and the storage medium of server failure detection
CN112732477B (en) Method for fault isolation by out-of-band self-checking
CN108073486B (en) Hard disk fault prediction method and device
CN116340076B (en) Hard disk performance test method, device and medium
CN105302726A (en) Test method and device
CN107451003B (en) Test method and device for storage system
JP2007133870A (en) Method for measuring autonomic ability of computing system, system, and computer program
CN111188782A (en) Fan redundancy test method and device and computer readable storage medium
CN111656446A (en) Hard disk drive life prediction
CN113742123A (en) Memory fault information recording method and equipment
CN109086162B (en) Memory diagnosis method and device
US9507690B2 (en) Method and device for analyzing an execution of a predetermined program flow on a physical computer system
CN113625957B (en) Method, device and equipment for detecting hard disk faults
CN109522188A (en) A kind of system early warning method, apparatus and computer readable storage medium
US20130185299A1 (en) Method and system for performing system maintenance in a computing device
CN115662488A (en) SSD reliability test method and system
JP2013025632A (en) Disk controller, disk device abnormality detection method and program
CN111190781A (en) Test self-check method of server system
CN112000537A (en) Built-in memory detection method of computer device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200522

RJ01 Rejection of invention patent application after publication