CN104407950A - Novel power-off switching-on and switching-off test method based on program control variable-frequency power supply - Google Patents
Novel power-off switching-on and switching-off test method based on program control variable-frequency power supply Download PDFInfo
- Publication number
- CN104407950A CN104407950A CN201410611780.3A CN201410611780A CN104407950A CN 104407950 A CN104407950 A CN 104407950A CN 201410611780 A CN201410611780 A CN 201410611780A CN 104407950 A CN104407950 A CN 104407950A
- Authority
- CN
- China
- Prior art keywords
- power supply
- switching
- server
- time
- program
- 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
Links
Landscapes
- Power Sources (AREA)
Abstract
The invention discloses a novel power-off switching-on and switching-off test method based on a program control variable-frequency power supply. The program control variable-frequency power supply is connected with a power supply of a server to be tested according to requirements, the program control setting is carried out on the program control variable-frequency power supply, electrification and power off time intervals and a number of operation times are set, after the test is started, an Linux poweroff.sh script operates in a system, and the switching-off is carried out in the electrification interval time. The method provided by the invention is applicable to all of the existing server test items, in the test process, the performance is good, and test tasks can be well completed. The test method has the advantages that the operation is simple, better easy-of-use performance is realized, the test time is greatly reduced, and the test efficiency is improved. The unexpected power-off switching-on and switching-off operation has great damage to the server, the novel power-off switching-on and switching-off test method based on the program control variable-frequency power supply has the advantages that the existing unexpected switching-on and switching-off power-off test is perfectly supplemented, the switching-on and switching-off test can be favorably perfected, and the product quality is improved.
Description
Technical field
The present invention relates to power supply test field, be specifically related to a kind of novel electricity cut-off type method for testing open/close machine based on program-controlled frequency-changing power supply.
Background technology
Along with the fast development of server industries, increasing client starts to be partial to buy the core application of large batch of server as oneself, but the server sometimes had can be in idle state.So except the stability to server, performance requirement, reliability it is also proposed higher requirement.And server can keep shutting down at any time after power-off, and the start that can normally power at any time, becomes a new research direction.
The server that existing client has can after model machine shuts down by machine room, and meeting power-off a period of time, then start shooting, such number of times has a lot.
The principle of work and power of program-controlled frequency-changing power supply: by Single-chip Controlling output voltage, frequency, and control the time T1 of output, the voltage exporting to server power supply will be cut off after time T1, after power-off T2 interval time, Single-chip Controlling equipment output voltage again, server powers on, and server is arranged to by BIOS the automatic turn-on function that powers on, then server start.
Shutdown script function principle under Linux: under linux, the scriptlet that shut down by Linuxpoweroff.sh copies into #/root/Desktop/Linuxpoweroff.sh path, run this script, after server powers on, system will automatically perform this shutdown script after the 2 minutes.
Summary of the invention
The technical problem to be solved in the present invention is: in order to emulating server power-off again after normal shutdown, then automatically actuated manual testing after powering on, the present invention improves existing method of testing, change accident power-off test under system normal shutdown, then AC power supplies is cut off, by program-controlled frequency-changing power-supply device and server shutdown script, come emulating server repeatedly close tester in power-down state then power on start method.
The technical solution adopted in the present invention is:
A kind of novel electricity cut-off type method for testing open/close machine based on program-controlled frequency-changing power supply, this program-controlled frequency-changing power supply is connected with the power supply of server to be measured on request, program control setting is carried out to program-controlled frequency-changing power supply, setting powers on and power-off time interval, number of run, after starting test, under system, run Linuxpoweroff.sh script, shut down powering in interval time.
Described method testing process is as follows:
1) first server loads onto linux system, and Linuxpoweroff is shut down scriptlet copy under #/root/Desktop/Linuxpoweroff.sh path;
2) start enters BIOS, in Chipset Configuration is arranged, Restore On AC Power Loss is chosen as power on, and to guarantee that model machine is after AC powers on, model machine can Auto Power On;
3) timing is T3 from the server start that powers on to the time executing shutdown script this complete shutdown process;
4) program-controlled frequency-changing power-supply device input end is connected AC power, output terminal connects server power supply;
5) by program-controlled frequency-changing electric power starting, output voltage, set of frequency are 220V, 50HZ by parameters on panel, and arranging voltage stabilizing output time is T1, arranges power-off time and is spaced apart T2, and arrange testing time;
6) program-controlled frequency-changing power supply is exported unlatching, output time starts countdown T1-1, and now server power supply powers on, server Auto Power On, and within the T3 time, server completes the complete procedure into system and shutdown;
7) after the T1 time terminates, program-controlled frequency-changing dump exports electricity, and now whole server A C TURP breaks, program control after the T2 time will output voltage again, the test that after realizing the server shutdown of unmanned circulation with this, power-off powers on again;
8), after test terminates, to be looked out for mistakes information by/var/log/messages under linux.
Described voltage stabilizing output time T1 is greater than the time T2 of complete shutdown process.
Described testing time is set to 1000 times.
Beneficial effect of the present invention: the present invention is applicable to server test projects all at present, in test process, performance is good, can be good at completing test assignment.This method of testing is simple to operate, has good ease for use, greatly saves the test duration, improve testing efficiency.Accident power-off switching on and shutting down test is comparatively large to server infringement, and the novel electricity cut-off type method for start-up and shutdown based on program-controlled frequency-changing power supply is one to current unexpected switching on and shutting down power-off test and perfectly supplements, and contributes to improving switching on and shutting down test, improves the quality of products.
Accompanying drawing explanation
Fig. 1 is the operational flow diagram of the inventive method.
Embodiment
Below according to Figure of description, in conjunction with specific embodiments, the present invention is further described:
A kind of novel electricity cut-off type method for testing open/close machine based on program-controlled frequency-changing power supply, this program-controlled frequency-changing power supply is connected with the power supply of server to be measured on request, program control setting is carried out to program-controlled frequency-changing power supply, setting powers on and power-off time interval, number of run, after starting test, under system, run Linuxpoweroff.sh script, shut down powering in interval time.
Described method testing process is as follows:
1, first server loads onto linux system, and Linuxpoweroff is shut down scriptlet copy under #/root/Desktop/Linuxpoweroff.sh path;
2, start enters BIOS, by Restore On AC Power Loss in Chipset Configuration is arranged
Be chosen as power on, to guarantee that model machine is after AC powers on, model machine can Auto Power On;
3, timing is T3 from the server start that powers on to the time executing shutdown script this complete shutdown process;
4, program-controlled frequency-changing power-supply device input end is connected AC power, output terminal connects server power supply;
5, by program-controlled frequency-changing electric power starting, output voltage, set of frequency are 220V, 50HZ by parameters on panel, and arranging voltage stabilizing output time is T1 (T1>T3), arrange power-off time and be spaced apart T2, testing time is 1000 times;
6, program-controlled frequency-changing power supply is exported unlatching, output time starts countdown T1-1, and now server power supply powers on, server Auto Power On, and within the T3 time, server completes the complete procedure into system and shutdown.
7, after the T1 time terminates, program-controlled frequency-changing dump exports electricity, and now whole server A C TURP breaks, program control after the T2 time will output voltage again, the test that after realizing the server shutdown of unmanned circulation with this, power-off powers on again.
8, after test terminates, to be looked out for mistakes information by/var/log/messages under linux.
Claims (4)
1. the novel electricity cut-off type method for testing open/close machine based on program-controlled frequency-changing power supply, it is characterized in that: program-controlled frequency-changing power supply is connected with the power supply of server to be measured on request, program control setting is carried out to program-controlled frequency-changing power supply, setting powers on and power-off time interval, number of run, after starting test, under system, run Linuxpoweroff.sh script, shut down powering in interval time.
2. a kind of novel electricity cut-off type method for testing open/close machine based on program-controlled frequency-changing power supply according to claim 1, it is characterized in that, described method testing process is as follows:
1) first server loads onto linux system, and Linuxpoweroff is shut down scriptlet copy under #/root/Desktop/Linuxpoweroff.sh path;
2) start enters BIOS, in Chipset Configuration is arranged, Restore On AC Power Loss is chosen as power on, and to guarantee that model machine is after AC powers on, model machine can Auto Power On;
3) timing is T3 from the server start that powers on to the time executing shutdown script this complete shutdown process;
4) program-controlled frequency-changing power-supply device input end is connected AC power, output terminal connects server power supply;
5) by program-controlled frequency-changing electric power starting, output voltage, set of frequency are 220V, 50HZ by parameters on panel, and arranging voltage stabilizing output time is T1, arranges power-off time and is spaced apart T2, and arrange testing time;
6) program-controlled frequency-changing power supply is exported unlatching, output time starts countdown T1-1, and now server power supply powers on, server Auto Power On, and within the T3 time, server completes the complete procedure into system and shutdown;
7) after the T1 time terminates, program-controlled frequency-changing dump exports electricity, and now whole server A C TURP breaks, program control after the T2 time will output voltage again, the test that after realizing the server shutdown of unmanned circulation with this, power-off powers on again;
8), after test terminates, to be looked out for mistakes information by/var/log/messages under linux.
3. a kind of novel electricity cut-off type method for testing open/close machine based on program-controlled frequency-changing power supply according to claim 2, is characterized in that: described voltage stabilizing output time T1 is greater than the time T2 of complete shutdown process.
4. a kind of novel electricity cut-off type method for testing open/close machine based on program-controlled frequency-changing power supply according to Claims 2 or 3, is characterized in that: described testing time is set to 1000 times.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410611780.3A CN104407950A (en) | 2014-11-04 | 2014-11-04 | Novel power-off switching-on and switching-off test method based on program control variable-frequency power supply |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410611780.3A CN104407950A (en) | 2014-11-04 | 2014-11-04 | Novel power-off switching-on and switching-off test method based on program control variable-frequency power supply |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104407950A true CN104407950A (en) | 2015-03-11 |
Family
ID=52645583
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410611780.3A Pending CN104407950A (en) | 2014-11-04 | 2014-11-04 | Novel power-off switching-on and switching-off test method based on program control variable-frequency power supply |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104407950A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104778108A (en) * | 2015-04-27 | 2015-07-15 | 浪潮集团有限公司 | Device and method for abnormal power failure circulating testing of server system |
CN105138437A (en) * | 2015-08-25 | 2015-12-09 | 浪潮电子信息产业股份有限公司 | SmartRack multi-node parallel reboot testing method based on fatigue testing machine and 4U fixture |
CN105550086A (en) * | 2015-12-11 | 2016-05-04 | 浪潮电子信息产业股份有限公司 | Startup/shutdown testing method based on voltage and frequency change |
CN108535563A (en) * | 2018-03-28 | 2018-09-14 | 四川斐讯信息技术有限公司 | A kind of method for testing open/close machine and test system |
CN111176736A (en) * | 2019-12-25 | 2020-05-19 | 苏州浪潮智能科技有限公司 | Server mainboard power-on and power-off test method and system |
CN111858203A (en) * | 2020-06-29 | 2020-10-30 | 广东浪潮大数据研究有限公司 | Server performance detection method, system, programmable controller and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101206600A (en) * | 2006-12-22 | 2008-06-25 | 华硕电脑股份有限公司 | Testing device and method for testing open/close machine of computer system |
US20110087452A1 (en) * | 2009-10-12 | 2011-04-14 | Quanta Computer Inc. | Test device |
CN102446127A (en) * | 2010-10-11 | 2012-05-09 | 鸿富锦精密工业(深圳)有限公司 | Power supply device and method for testing on/off of computer motherboard |
CN103970660A (en) * | 2014-05-19 | 2014-08-06 | 浪潮电子信息产业股份有限公司 | Total system stability automatic test method based on crontab |
-
2014
- 2014-11-04 CN CN201410611780.3A patent/CN104407950A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101206600A (en) * | 2006-12-22 | 2008-06-25 | 华硕电脑股份有限公司 | Testing device and method for testing open/close machine of computer system |
US20110087452A1 (en) * | 2009-10-12 | 2011-04-14 | Quanta Computer Inc. | Test device |
CN102446127A (en) * | 2010-10-11 | 2012-05-09 | 鸿富锦精密工业(深圳)有限公司 | Power supply device and method for testing on/off of computer motherboard |
CN103970660A (en) * | 2014-05-19 | 2014-08-06 | 浪潮电子信息产业股份有限公司 | Total system stability automatic test method based on crontab |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104778108A (en) * | 2015-04-27 | 2015-07-15 | 浪潮集团有限公司 | Device and method for abnormal power failure circulating testing of server system |
CN105138437A (en) * | 2015-08-25 | 2015-12-09 | 浪潮电子信息产业股份有限公司 | SmartRack multi-node parallel reboot testing method based on fatigue testing machine and 4U fixture |
CN105550086A (en) * | 2015-12-11 | 2016-05-04 | 浪潮电子信息产业股份有限公司 | Startup/shutdown testing method based on voltage and frequency change |
CN108535563A (en) * | 2018-03-28 | 2018-09-14 | 四川斐讯信息技术有限公司 | A kind of method for testing open/close machine and test system |
CN111176736A (en) * | 2019-12-25 | 2020-05-19 | 苏州浪潮智能科技有限公司 | Server mainboard power-on and power-off test method and system |
CN111176736B (en) * | 2019-12-25 | 2022-07-08 | 苏州浪潮智能科技有限公司 | Server mainboard power-on and power-off test method and system |
CN111858203A (en) * | 2020-06-29 | 2020-10-30 | 广东浪潮大数据研究有限公司 | Server performance detection method, system, programmable controller and storage medium |
CN111858203B (en) * | 2020-06-29 | 2024-02-09 | 广东浪潮大数据研究有限公司 | Server performance detection method, system, programmable controller and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104407950A (en) | Novel power-off switching-on and switching-off test method based on program control variable-frequency power supply | |
CN103970630A (en) | Method for testing overall stability of server | |
CN107834836B (en) | A kind of photovoltaic DC-to-AC converter starting method | |
WO2018137355A1 (en) | System having black start function, and black start method therefor | |
CN103412203B (en) | Motor variable-frequency driver ageing tester and method of testing thereof | |
CN103901995A (en) | Computer power supply and power supply method thereof | |
CN110350584B (en) | Control method and control device of photovoltaic system, photovoltaic system and storage medium | |
CN111831498B (en) | Power-off test method, device and equipment | |
CN204886397U (en) | Stand -by power supply automatic switch -over circuit | |
CN104699215A (en) | Power supply protection system and power supply protection method | |
CN105550086A (en) | Startup/shutdown testing method based on voltage and frequency change | |
CN105652195A (en) | Molded case circuit breaker magnetic characteristic detection test apparatus and control method | |
CN104615520A (en) | Test method for evaluating startup and shutdown life of server | |
CN202261051U (en) | Switching power supply | |
CN206060229U (en) | A kind of microcomputer automatic sub-synchronous device shutting-brake control system | |
CN102937829A (en) | Energy-saving management circuit | |
CN105244906B (en) | Standby state control method, device and system for wind driven generator converter | |
CN102681872A (en) | Automatic cold boot method of notebook computer | |
CN204604559U (en) | A kind of Intelligent automatic-control type type concrete steam curing means | |
CN103616843B (en) | The abnormal switching device shifter of pocket watch | |
CN102255339B (en) | Quick start method for power-supply system of CRDM (control rod drive mechanism) | |
CN203027170U (en) | Low voltage frequency converter with rotating speed tracing start function | |
CN206594244U (en) | A kind of short-circuit test system for gas turbine | |
CN204287466U (en) | Expense control intelligent electric energy meter is deducted fees functional reliability verifying attachment | |
CN205038277U (en) | Excitation undercurrent ring -opening testing system |
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: 20150311 |
|
RJ01 | Rejection of invention patent application after publication |