A method and system for automatically testing the random power failure of a box host
An automated test and mainframe technology, which is applied in the direction of faulty hardware testing methods, faulty computer hardware detection, error detection/correction, etc., can solve problems such as repeated operations, occupation of human resources, and many times of testing, and achieve a wide range of application prospects. Easy to find problems, simple structure effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0060] like figure 1 As shown, an embodiment of the present invention provides a method for automatically testing a random power failure of a BOX host, including the following steps:
[0061] S1: Build a server system and create a test script; the server system includes a control server, a HOST host, a BOX host, and a PDU power distribution unit; connect the HOST host, the BOX host, and the PDU power distribution unit to the control server through a network cable and connect the HOST host to the control server. and the BOX host are respectively connected to the PDU power distribution unit; the test script runs on the control server;
[0062] S2: Start the test script to execute the test, each test, the test script automatically performs a preset number of random power-down tests on the BOX host by obtaining a random number and sending a power-down or power-supply command after the time of the random number;
[0063] S3: Summarize and output the test results.
[0064] The tes...
Embodiment 2
[0066] The embodiment of the present invention provides a method for automatically testing the random power failure of a BOX host. Compared with the first embodiment, in this embodiment, in the steps of building a server system and creating a test script, the step of creating a test script includes:
[0067] After the configuration test script is powered on, the device information of the current machine is obtained from the HOST host system; the configuration test script judges whether the current test is the first time; the configuration test script judges that if the current machine is not the first test, the obtained current machine Compare the device information of the machine with the device information obtained in the first test and output the difference information; configure the test script to send a shutdown command to the HOST host to shut down the HOST host and the BOX host; configure the test script to obtain random numbers and start recording time; configure When t...
Embodiment 3
[0082] The technical solution of the present invention also provides a system for automatically testing the random power failure of a BOX host, including a test system building module, a test module, and a test result output module;
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 

