CN105302680A - Automatic testing method for AC stability of RACK cabinet - Google Patents

Automatic testing method for AC stability of RACK cabinet Download PDF

Info

Publication number
CN105302680A
CN105302680A CN201510739871.XA CN201510739871A CN105302680A CN 105302680 A CN105302680 A CN 105302680A CN 201510739871 A CN201510739871 A CN 201510739871A CN 105302680 A CN105302680 A CN 105302680A
Authority
CN
China
Prior art keywords
rack
node
test
control end
end server
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
CN201510739871.XA
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.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur Electronic Information Industry 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 Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN201510739871.XA priority Critical patent/CN105302680A/en
Publication of CN105302680A publication Critical patent/CN105302680A/en
Pending legal-status Critical Current

Links

Landscapes

  • Testing Electric Properties And Detecting Electric Faults (AREA)

Abstract

The invention discloses an automatic testing method for AC stability of a RACK cabinet, belonging to the technical field of power supply testing; the method realizes the automatic login of the RMC to acquire the node state, and only if all the nodes are normally shut down, the AC is carried out by using a command? power? In case of a certain node is abnormal, the cycle test can be stopped immediately, the current test state is kept, and a tester is waited to deal with the problem.

Description

A kind of automated testing method of RACK rack AC stability
Technical field
The present invention discloses a kind of automated testing method of AC stability, belongs to power supply test technical field, specifically a kind of automated testing method of RACK rack AC stability.
Background technology
Rack, rack rack be a collector reason, power supply, heat radiation, service be integrated high density, High Availabitity whole machine cabinet equipment, each rack has 20 to 40 nodes do not waited, the stability test of server is of crucial importance, wherein ACpowercycle test is one of important step of carrying out stability test, but when carrying out AC test, need to carry out switching on and shutting down to the circulation of each node and power-off, the test to power on etc.Current existing method manually carries out testing or then timing turning off whole machine cabinet power supply powers on start test, and obviously current way extremely expends time in and manpower, and node occurs that unusual condition cannot monitor.The invention provides a kind of automated testing method of RACK rack AC stability, controlled terminal to be measured is controlled by control end, test script of the present invention is utilized to carry out automatic test to controlled terminal rack node, achieve the automated execution of test process, and can Timeliness coverage node abnormal conditions and stop test, need a couple of days time decreased to less than 10 minutes from manual test, greatly increase work efficiency, reduce human cost.
Summary of the invention
The present invention is directed in prior art and manually carry out testing or then timing turning off whole machine cabinet power supply powers on start test, obviously current way extremely expends time in and manpower, and there is the problem that unusual condition cannot monitor in node, a kind of automated testing method of RACK rack AC stability is provided, achieve the automated execution of test process, and can Timeliness coverage node abnormal conditions and stop test, need a couple of days time decreased to less than 10 minutes from manual test, greatly increase work efficiency, reduce human cost.
The concrete scheme that the present invention proposes is:
An automated testing method for RACK rack AC stability, arrange copy test script under each node of whole machine cabinet, ping leads to rack RMC administration module to be measured and control end server, and copy test script, to control end server, is given and performed authority;
Control end server obtains the state of whole machine cabinet node by logging in RMC, start all nodes and carry out respective test item, and control end server, by RMC monitoring node state, is waited for that all nodes all complete and tested and again enter test loop after shutting down;
If certain node cannot normal shutdown, control end server can allow test stop, and waits pending.
Described control end server obtains the state of whole machine cabinet node by logging in RMC, if interior of equipment cabinet node normal shutdown all, then cut off rack power supply with RMC, after time delay certain hour, whole machine cabinet powers on, start all nodes test item separately, control end server by RMC monitoring node state, is waited for that all nodes all complete and is tested and again enter test loop after shutting down.
Described control end server log RMC obtains rack summary information, and be redirected output to sumary.txt file, whole machine cabinet node state assignment to variable, definition character string variable value is " OK ", by whole machine cabinet health status as while cycle criterion condition, each nodal information rack state of rack under acquisition test condition, node state is extracted from summary information, interpretation node state, if all nodes of whole machine cabinet all meet default, then carry out test operation, until test meets number of times, otherwise enter next circulation.
The described test operation that carries out, for closing all node power, adds counting to counter, time delay certain hour, power supply electrifying, time delay certain hour, starts shooting to all nodes.
Usefulness of the present invention is:
The inventive method arranges copy test script under each node of whole machine cabinet, and ping leads to rack RMC administration module to be measured and control end server, and copy test script, to control end server, is given and performed authority; Control end server obtains the state of whole machine cabinet node by logging in RMC, start all nodes and carry out respective test item, and control end server, by RMC monitoring node state, is waited for that all nodes all complete and tested and again enter test loop after shutting down; If certain node cannot normal shutdown, control end server can allow test stop, and waits pending; Utilize the inventive method to achieve and automatically log in RMC to obtain node state, only have all nodes all the order of normal shutdown ability carry out ACpowercycling test, once certain node is abnormal, test can stop immediately, retain test current state, wait for that tester processes problem, whole testing process method of testing is simple to operate, and automaticity is high, practicality is stronger, can save manpower, improve testing efficiency, be the very effective method of checking product quality.
Accompanying drawing explanation
Fig. 1 control end server test of the present invention schematic flow sheet.
Embodiment
An automated testing method for RACK rack AC stability, arrange copy test script under each node of whole machine cabinet, ping leads to rack RMC administration module to be measured and control end server, and copy test script, to control end server, is given and performed authority;
Control end server obtains the state of whole machine cabinet node by logging in RMC, start all nodes and carry out respective test item, and control end server, by RMC monitoring node state, is waited for that all nodes all complete and tested and again enter test loop after shutting down;
If certain node cannot normal shutdown, control end server can allow test stop, and waits pending.
According to said method and summary of the invention, the present invention will be further described by reference to the accompanying drawings.
Rack to be measured and control end server, arrange static IP to rack RMC administration module to be measured, as 192.168.1.251, subnet mask is 255.255.255.0, under poweroff.sh script is copied to each node of whole machine cabinet, and all perform this script with ./poweroff.sh;
With netting twine, RMC administration module and control end server are coupled together, the corresponding network interface of control end server arranges static IP, and as 192.168.1.250, subnet mask is 255.255.255.0;
The IP of pingRMC module on control end server, can ping logical expression connect normally, under test script auto-ac.sh, stop-power.sh, start-power.sh, start-chassis.sh, RMCtest_v2.sh being copied to the same directory of Control Server, and all give execution authority with chmod+x order to five each and every one files;
Control end server test flow process is as follows:
#!/bin/bash
shRMCtest_v2.sh>sumary.txt
# calls RMCtest_v2.sh script and completes RMC and automatically log in and obtain rack summary information, and is redirected and outputs to sumary.txt file
Node-health=`cattmp.txt`# whole machine cabinet node state assignment to variable
Rack-health-tmp=OK# definition character string variable, its value is " OK "
While [[$ rack-health-tmp=" OK "]] # by whole machine cabinet health status as while cycle criterion condition
do
Each nodal information of rack under shRMCtest_v2.sh>sumary.txt# acquisition test condition
Rack-health-tmp=`catsummary.txt|grep " LocationStatusHealth "-A1|head-n2|tail-n1|awk'{print $ 3}'`# extractor cabinet state from summary information
Node-health-tmp=`catsummary.txt|grep " NodeIDStatusHealth "-A18|awk'{print $ 2}'`# extracts node state from summary information
If [[$ node-health-tmp=" OK "]]; Then# interpretation node state, if all nodes of whole machine cabinet all meet default, then carries out next step
Sleep10# time delay 10 seconds
Echo " `date`count=$ count " >>count.txt & # exports current testing time and time
./stop-power.sh# all node power are closed
Count=$ [$ count+1] # adds counting to counter
Sleep50# time delay 100 seconds
./start-power.sh# power supply electrifying
Sleep20# time delay 20 seconds
./start-chassis.sh# all nodes are started shooting
If [$ count=1001] if # judges that testing time meets the demands, then stops test, otherwise enters next circulation
then
echo"count=$counttest-stop"
break
else
echo"Nowcount=$count"
fi
else
echo"Nowcount=$count"
sleep100
fi
done
Run auto-ac.sh with " ./auto-ac.sh " in Terminal on control end server or control desk and start test; Screen can be seen the information that implementation exports, and test can perform 1000 times, if certain node occurs abnormal in test process, then test can stop, and continues test after waiting for the complete problem of artificial treatment.

Claims (4)

1. the automated testing method of a RACK rack AC stability, it is characterized in that arranging copy test script under each node of whole machine cabinet, ping leads to rack RMC administration module to be measured and control end server, and copy test script, to control end server, is given and performed authority;
Control end server obtains the state of whole machine cabinet node by logging in RMC, start all nodes and carry out respective test item, and control end server, by RMC monitoring node state, is waited for that all nodes all complete and tested and again enter test loop after shutting down;
If certain node cannot normal shutdown, control end server can allow test stop, and waits pending.
2. the automated testing method of a kind of RACK rack AC stability according to claim 1, it is characterized in that described control end server obtains the state of whole machine cabinet node by logging in RMC, if interior of equipment cabinet node normal shutdown all, then cut off rack power supply with RMC, after time delay certain hour, whole machine cabinet powers on, start all nodes test item separately, control end server by RMC monitoring node state, is waited for that all nodes all complete and is tested and again enter test loop after shutting down.
3. the automated testing method of a kind of RACK rack AC stability according to claim 1 and 2, it is characterized in that described control end server log RMC obtains rack summary information, and be redirected output to sumary.txt file, whole machine cabinet node state assignment to variable, definition character string variable value is " OK ", by whole machine cabinet health status as while cycle criterion condition, each nodal information rack state of rack under acquisition test condition, node state is extracted from summary information, interpretation node state, if all nodes of whole machine cabinet all meet default, then carry out test operation, until test meets number of times, otherwise enter next circulation.
4. the automated testing method of a kind of RACK rack AC stability according to claim 3, carrying out test operation for closing all node power, adding counting to counter described in it is characterized in that, time delay certain hour, power supply electrifying, time delay certain hour, starts shooting to all nodes.
CN201510739871.XA 2015-11-04 2015-11-04 Automatic testing method for AC stability of RACK cabinet Pending CN105302680A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510739871.XA CN105302680A (en) 2015-11-04 2015-11-04 Automatic testing method for AC stability of RACK cabinet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510739871.XA CN105302680A (en) 2015-11-04 2015-11-04 Automatic testing method for AC stability of RACK cabinet

Publications (1)

Publication Number Publication Date
CN105302680A true CN105302680A (en) 2016-02-03

Family

ID=55199971

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510739871.XA Pending CN105302680A (en) 2015-11-04 2015-11-04 Automatic testing method for AC stability of RACK cabinet

Country Status (1)

Country Link
CN (1) CN105302680A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107179991A (en) * 2017-05-17 2017-09-19 郑州云海信息技术有限公司 A kind of method of automatic checking Rack racks RMC stability
CN108763019A (en) * 2018-05-22 2018-11-06 郑州云海信息技术有限公司 A method of it is tested simultaneously towards SR whole machine cabinets and captures all node power consumptions
CN108829548A (en) * 2018-05-25 2018-11-16 郑州云海信息技术有限公司 A kind of multinode type restarts test method and system
CN109428390A (en) * 2017-08-23 2019-03-05 施耐德电气It公司 AC-OK detection circuit and method
CN109587282A (en) * 2018-11-12 2019-04-05 郑州云海信息技术有限公司 A kind of method and system towards SR whole machine cabinet automatic configuration node IP

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090307763A1 (en) * 2008-06-05 2009-12-10 Fiberlink Communications Corporation Automated Test Management System and Method
CN104317714A (en) * 2014-10-29 2015-01-28 浪潮电子信息产业股份有限公司 Method for automatically testing stability of rack based on expect
CN104506389A (en) * 2015-01-29 2015-04-08 浪潮电子信息产业股份有限公司 Integral high-density server stability testing method
CN104572379A (en) * 2015-01-29 2015-04-29 浪潮电子信息产业股份有限公司 RACK cabinet RMC login testing method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090307763A1 (en) * 2008-06-05 2009-12-10 Fiberlink Communications Corporation Automated Test Management System and Method
CN104317714A (en) * 2014-10-29 2015-01-28 浪潮电子信息产业股份有限公司 Method for automatically testing stability of rack based on expect
CN104506389A (en) * 2015-01-29 2015-04-08 浪潮电子信息产业股份有限公司 Integral high-density server stability testing method
CN104572379A (en) * 2015-01-29 2015-04-29 浪潮电子信息产业股份有限公司 RACK cabinet RMC login testing method

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107179991A (en) * 2017-05-17 2017-09-19 郑州云海信息技术有限公司 A kind of method of automatic checking Rack racks RMC stability
CN109428390A (en) * 2017-08-23 2019-03-05 施耐德电气It公司 AC-OK detection circuit and method
CN109428390B (en) * 2017-08-23 2022-07-29 施耐德电气It公司 AC-OK detection circuit and method
CN108763019A (en) * 2018-05-22 2018-11-06 郑州云海信息技术有限公司 A method of it is tested simultaneously towards SR whole machine cabinets and captures all node power consumptions
CN108829548A (en) * 2018-05-25 2018-11-16 郑州云海信息技术有限公司 A kind of multinode type restarts test method and system
CN109587282A (en) * 2018-11-12 2019-04-05 郑州云海信息技术有限公司 A kind of method and system towards SR whole machine cabinet automatic configuration node IP
CN109587282B (en) * 2018-11-12 2022-02-18 郑州云海信息技术有限公司 Method and system for SR (scheduling request) oriented automatic node IP (Internet protocol) configuration of complete equipment cabinet

Similar Documents

Publication Publication Date Title
CN105302680A (en) Automatic testing method for AC stability of RACK cabinet
CN106908738A (en) A kind of automatic testing method of SmartRack reserce cells
CN104572422A (en) Memory monitoring achievement method based on startup and shutdown of Linux system
CN104317714A (en) Method for automatically testing stability of rack based on expect
CN103812726A (en) Automated testing method and device for data communication equipment
CN106708716A (en) Software testing method, device and system
CN101369933A (en) Automatic test method and system
CN105975510A (en) Method and system for carrying out automatic additional recording of data on the basis of intelligent instrument
CN105068900A (en) Testing method for remote control server cold reboot
CN106093636B (en) The analog quantity check method and device of the secondary device of smart grid
CN103746879A (en) Testing system and method for consistency of IPv6 (Internet Protocol Version 6) protocol
CN110377347A (en) A kind of automatic inspection method and system of Redfish setting BIOS option
CN104809041A (en) Batch test method for server power supply of whole cabinet
CN103792451B (en) A kind of relay protection protection exit loop detection circuit and instrument
CN103730959A (en) Method for testing communication protocols of power distribution network equipment
CN109831348A (en) Automatic jig test method, equipment and system
CN102854423A (en) Method for testing starting reliability of equipment
CN104572379A (en) RACK cabinet RMC login testing method
CN104898070B (en) Power supply test method and device
CN105572564A (en) Nuclear power station nuclear-grade inverter card integrated testing system and method
CN105138447A (en) Method for monitoring hard disk and memory in Reboot test process
CN110928795A (en) Stability test method and device for upgrading storage system
CN106354599A (en) Automatic restart testing method for Solaris11 series servers
CN106603790A (en) Start-up and shutdown test method for mobile terminal
CN104768179A (en) Monitoring system and monitoring method of access control device

Legal Events

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

Application publication date: 20160203

RJ01 Rejection of invention patent application after publication