1. Technical Field
The present disclosure relates to testing systems, and particularly, to a system and a method for testing the stability of a server.
2. Description of Related Art
Stability testing of servers can be performed by controlling the server to repeatedly start and shut down while monitoring system status of the server. To perform such testing, a peripheral device is connected to the server and configured to control the server to repeatedly start and shut down. During each start/shut down operation, a baseboard management controller (BMC) located in the server utilizes sensors to monitor various working conditions of firmware and hardware of the server, such as fan speed, microprocessor temperature, and so forth, and records any abnormal working conditions in a system event log (SEL). Thus, the stability of the server can be determined by examining the SEL. However, this type of peripheral device increases the expense of stability testing.
Therefore, what is needed is a means to solve the problems described above.
Many aspects of the present disclosure should be better understood with reference to the following drawings. The units in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the present disclosure. Moreover, in the drawings, like reference numerals designate corresponding portions throughout the several views.
The system 100 includes a processor 105 and a variety of modules executed by the processor 105 to provide the functions of the system 100. The variety of modules includes a parameter setting module 101, a signal generating module 102, a time associating module 103, and an outputting module 104.
The parameter setting module 101 provides a first user input interface on the display 12 for a user to input test parameters via an input device such as a keyboard. The test parameters include start/shutting down parameters and characteristics to be tested. In the embodiment the start/shutting down parameters include the total times that the server 1 is started/shut down during the test, and the time interval between each two times the server 1 is started/shut down. For example, through the parameter setting module 101, the user may set the number of the times that the server 1 is started/shut down to be 1000, and set the time interval that the server 1 is started/shut down to be 2 seconds. The tested characteristics may include fan speed, the voltage and the temperature of the server 1, and so forth.
The signal generating module 20 generates a control signal according to the test parameters input by the user and then transmits the control signal to the BMC 11. The BMC 11 responds to the control signal, controls the server 1 to execute start/shutting down operations according to the start/shutting down parameters, detects whether the tested characteristics are within specified ranges during each start/shutting down operation, generates a SEL if any abnormal result is obtained and records the test time when the abnormal result is obtained in the SEL, and then stores the generated SEL in the storage unit 10.
The parameter setting module 101 further provides a second user input interface on the display 12 for the user to input a condition to filter test results. In the embodiment, the input condition includes at least one tested characteristic, for example, if the user wants to easily read just the test results regarding abnormal temperatures of the server 1 and what time the abnormal temperatures occurred that have been recorded in an SEL. In an alternative embodiment, the input condition may include a time period, for example, if the user wants to easily read just the test results occurred within the input time period. The corresponding test results then are outputted by the outputting module 104 to the display 12.
In step S301, through an input device, the user inputs test parameters on the first user input interface provided by the parameter setting module 101, and the input test parameters includes start/shutting down parameters and tested characteristics.
In step S302, the signal generating module 20 generates a control signal according to the test parameters input by the user and transmits the control signal to the BMC 11.
In step S303, the BMC 11 responds to the control signal, control the server 1 to execute start/shutting down operations according to the start/shutting down parameters, detects whether the tested characteristics are within specified ranges during each start/shutting down operation, generates a SEL if any abnormal result is obtained and records the test time the abnormal result is obtained in the SEL, and then stores the generated SEL in the storage unit 10.
In step S304, through the input device, the user inputs conditions to filter test results on the second user input interface provided by the parameter setting module 101.
In step S305, the outputting module 104 outputs the corresponding test results to the display 12.
It is believed that the present embodiments and their advantages will be understood from the foregoing description, and it will be apparent that various changes may be made thereto without departing from the spirit and scope of the disclosure or sacrificing all of its material advantages, the examples hereinbefore described merely being exemplary embodiments of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
201210120232.1 | Apr 2012 | CN | national |