IPMI-based DC automatic test method and system

A technology of automated testing and test scripts, applied in the direction of detecting faulty computer hardware, etc., can solve problems such as the inability to deploy a large number of DC tests, certain risks, and complicated operations, so as to achieve intelligent testing, increase analysis capabilities, The effect of broad application prospects

Pending Publication Date: 2019-05-24
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF2 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] Aiming at the defect that the aforementioned current server in the prior art uses a large number of fatigue machines when performing DC switch test, the operation is relatively complicated and h

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • IPMI-based DC automatic test method and system
  • IPMI-based DC automatic test method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0060] The present invention provides a kind of DC automated test method based on IPMI, adopts client computer to carry out DC test to server to be tested; Client computer controls the BMC of server to be tested by IPMI command and carries out DC switch machine test; figure 1 As shown, the specific steps are as follows:

[0061] S1. The server to be tested runs the first test script;

[0062] S2. After the first test script collects the server system and device information to be tested, shut down;

[0063] S3. The client runs the second test script;

[0064] S4. The client runs the IPMI command in a loop to read the power state of the server to be tested;

[0065] S5. The client computer judges whether the server to be tested is shut down;

[0066] S6. If so, after the first waiting period, the client computer starts the server to be tested by an IPMI command;

[0067] If not, the client computer judges whether the server under test is shut down and overtime;

[0068] If ...

Embodiment 2

[0075] The present invention provides a kind of DC automation test method based on IPMI, concrete steps are as follows:

[0076] S1. The server to be tested runs the first test script; the specific steps are as follows:

[0077] S11. Copy the first test script SIT_REBOOT_TEST_LINUX to the linux operating system of the server to be tested;

[0078] S12. Run the first test script after the server to be tested obtains the test parameters; the test parameters obtained by the server to be tested include test mode and test times; the test mode is set to DC test, and the test test is set to 100 times; execute the following code: shSIT_REBOOT_TEST_LINUX .sh dc 100;

[0079] S2. After the first test script collects the server system and device information to be tested, shut down;

[0080] S3. The client runs the second test script; the specific steps are as follows:

[0081] S31. copy the second test script ipmi-dc-on.sh to the linux operating system of the client computer; determin...

Embodiment 3

[0094] Such as figure 2 As shown, the present invention provides a kind of DC automation test system based on IPMI, comprises:

[0095] The first test script running module 1 is used to configure the server to be tested to run the first test script;

[0096] The first shutdown module 2 of the server to be tested is configured to shut down the server to be tested after collecting system and device information;

[0097] The second test script running module 3 is used to configure the client computer to run the second test script;

[0098] The power state reading module 4 of the server to be tested is used to configure the client computer to run the IPMI command cyclically to read the power state of the server to be tested;

[0099] The shutdown judging module 5 of the server to be tested is used to configure the client computer to judge whether the server to be tested is shut down;

[0100] Server to be tested start-up module 6, is used for when server shuts down, configurat...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides an IPMI-based DC automatic test method and system. The method comprises the steps that a client is adopted to carry out DC testing on a to-be-tested server; The client controlsthe to-be-tested server BMC to perform a DC startup and shutdown test through the IPMI command; The method comprises the steps that a to-be-tested server runs a first test script, collects informationof a to-be-tested server system and equipment and then is shut down; The client runs the second test script; The client circularly runs the IPMI command to read the power state of the server to be tested; The client judges whether the to-be-tested server is shut down or not; If yes, after the first waiting time period, the client starts the to-be-tested server through the IPMI command; After theto-be-tested server is started, the first test script is operated to obtain information of the to-be-tested server system and equipment, the information is compared with information collected for thefirst time for detection, a comparison result is output, and error information is stored; The to-be-tested server judges whether the DC test is completed or not; If not, the to-be-tested server is shut down; Return to boot step.

Description

technical field [0001] The invention relates to the field of server testing, in particular to an IPMI-based DC automatic testing method and system. Background technique [0002] DC test is to continuously restart the server. DC test is a reliability test item in server test. [0003] Fatigue machine, also known as fatigue testing machine, refers to a machine that can test the fatigue of the measured object through various methods. It was first used to measure the fatigue properties and fatigue life of metals, alloy materials and structural parts under normal temperature conditions such as tension and compression. , but with the continuous development of technology and the continuous improvement of R&D test specifications, fatigue testing is gradually penetrating into other industries. Fatigue testing has become an indispensable link in the server R&D and design stage. [0004] Different from the fatigue test of metal materials, etc., the fatigue test of the server uses the ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F11/22
Inventor 黄翼潘霖
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products