CN104809041A - Batch test method for server power supply of whole cabinet - Google Patents

Batch test method for server power supply of whole cabinet Download PDF

Info

Publication number
CN104809041A
CN104809041A CN201510229851.8A CN201510229851A CN104809041A CN 104809041 A CN104809041 A CN 104809041A CN 201510229851 A CN201510229851 A CN 201510229851A CN 104809041 A CN104809041 A CN 104809041A
Authority
CN
China
Prior art keywords
power supply
test
rmc
crt
script
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
CN201510229851.8A
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 CN201510229851.8A priority Critical patent/CN104809041A/en
Publication of CN104809041A publication Critical patent/CN104809041A/en
Pending legal-status Critical Current

Links

Landscapes

  • Power Sources (AREA)

Abstract

The invention discloses a batch test method of a whole cabinet server power supply, belonging to the technical field of computer test; the method specifically comprises the following steps: building a test platform, and preparing a test environment: the server side of the Secure CRT is connected with a remote management main board RMC through a serial port line, the RMC is connected with a power supply frame body of a server of the whole cabinet, the RMC can be communicated with each PSU, the power supply state is indirectly monitored in real time, a test task sent by the Secure CRT server side is received, and a test result is fed back; recording a Secure CRT automatic test script at a server of the Secure CRT; logging in an RMC automatic operation script through a Secure CRT to perform power supply test; storing the test results, verifying and judging each test result and generating an output report; the invention improves the test level of the IT system and realizes batch automatic test without manual intervention; the realization cost is low, and the expandability is strong.

Description

A kind of batch testing method of whole machine cabinet server power supply
Technical field
The present invention discloses a kind of batch testing method of whole machine cabinet server power supply, belongs to computer testing technology field; Relate in particular to the batch testing method of the whole machine cabinet server power supply based on Secure CRT script.
Background technology
Along with Constructing data center is towards the future development of overall usability, the demand of machine room to high density rack is growing.High density whole machine cabinet has power supply more more than single node server, the difference of more redundant power, so the test pattern of single node server power supply is no longer applicable to instantly in the past.The power supply of particularly instantly popular N+N and N+2 pattern, carried out the method no longer reality of power supply test one by one by former Single-Server.Existing power supply test needs in turn to the PSU command line order in each power supply operations specification, and for there being the high density server of numerous power supply, the a large amount of manpower of cost and time is needed to carry out a whole machine cabinet power supply test to it, thus cause that the cost of product in test period increases greatly, efficiency is extremely low, but also do not have method can accomplish not only to facilitate but also carry out whole machine cabinet power supply batch quickly to test.The invention provides a kind of batch testing method of whole machine cabinet server power supply, the method be a kind of can batch operation possess ageing rack power supply test method, carry out based on Secure CRT script, RMC is connected with power supply framework, RMC can be intercomed with each PSU phase, and RMC here refers to telemanagement mainboard; Record the automatic test script of Secure CRT; Log in the automatic Run Script of RMC by Secure CRT to test; Preserve every bar test result; Each test result is carried out. verify and generate report, compared with prior art, not only applied widely, efficiency is high, shortens the test duration, promotes the testing level of IT system, and achieve batch, without the need to the automatic test of manual intervention; Realize cost low, extensibility is strong.
Summary of the invention
The present invention is directed to existing rack power supply test method and need a large amount of manpower of cost and time, cause the problem that the cost of product in test period increases greatly, efficiency is extremely low, a kind of batch testing method of whole machine cabinet server power supply is provided, carry out based on Secure CRT script, compared with prior art, not only applied widely, efficiency is high, shorten the test duration, promote the testing level of IT system, and achieve batch, without the need to the automatic test of manual intervention; Realize cost low, extensibility is strong.
The concrete scheme that the present invention proposes is:
A kind of batch testing method of whole machine cabinet server power supply:
Build test platform, setup test environment: the service end of Secure CRT connects telemanagement mainboard RMC by Serial Port Line, RMC is connected with whole machine cabinet server power supply framework, can intercom with each PSU phase, real-time indirect monitoring power supply status, receive the test assignment that Secure CRT service end sends, feedback test result; The automatic test script of Secure CRT is recorded in the service end of Secure CRT;
Log in the automatic Run Script of RMC by Secure CRT and carry out power supply test;
Preserve test result, checking is carried out to each test result and judges and generate output report.
The operating process of described Secure CRT service end is:
Configuration Secure CRT logs in RMC script automatically;
Record institute needed for power supply to be measured in steps, form a complete automatic test script of Secure CRT;
Each step in testing procedure is expected the result typing script produced, as criterion;
Using established script as template, each power supply performs a test;
Output test result.
The service end of described Secure CRT is recorded the automatic test script process of Secure CRT and is:
RMC system is logged in by Secure CRT in Secure CRT service end;
Open recording function;
Regular test command is inputted according to test specification;
Input complete, terminate the recording function of Secure CRT;
Preserve current script;
It is as follows that Secure CRT server end performs instruction:
#$language = "VBScript"
#$interface = "1.0"
Crt.Screen.Synchronous=True//script synchronization function is opened
' This automatically generated script may need to be
' edited in order to work correctly.
Sub Main
Crt.Screen.WaitForString " # " // acquisition expectation value No. #, waits for that next instruction inputs
Crt.Screen.Send " cd/usr/local/bin " & chr (13) // input directory instruction also performs
Crt.Screen.WaitForString " # " // acquisition expectation value No. #, waits for that next instruction inputs
Crt.Screen.Send " ./PSU_CLi " & " I A1 0 0x00 " & chr (13) // input regular test command and perform
End Sub//script end of run.
The process that described automatic Run Script carries out power supply test is:
Determine the numbering of the current power supply that will refresh;
Script is automatically performed to RMC by Secure CRT in service end;
RMC inputs or outputs by carrying out signal between PMbus and power supply;
Signal transmission feeds back to RMC and produces log;
Secure CRT prints the log produced;
Automatic Verification judges the correctness of the test result produced;
Circulation performs other power supply tests, until complete whole test script.
A batch testing system for whole machine cabinet server power supply, comprises Secure CRT service end, telemanagement mainboard RMC, whole machine cabinet server power supply; The service end of Secure CRT connects telemanagement mainboard RMC by Serial Port Line, and RMC is connected with whole machine cabinet server power supply framework, can intercom with each PSU phase;
Secure CRT service end is responsible for recording the automatic test script of Secure CRT, logs in the automatic Run Script of RMC carry out power supply test by Secure CRT; Preserve test result, checking is carried out to each test result and judges and generate output report;
RMC is responsible for real-time indirect monitoring power supply status, receives the test assignment that Secure CRT service end sends, feedback test result.
The built-in some power supplys of described whole machine cabinet, telemanagement mainboard RMC is connected with each server power supply by the PMbus communications cable, RMC detects the change of power supply signal at set intervals, produces corresponding log and records, by the real-time indirect monitoring power supply status of RMC.
Secure CRT service end connects RMC by serial ports, and the power supply status real-time monitored change is fed back to Secure CRT service end also with Secure CRT printout with data mode by PMbus by RMC.
Usefulness of the present invention is: the present invention is based on Secure CRT script and carry out, and log in the disposable recording testing process of RMC, and RMC is connected by Secure CRT with power supply framework, can intercom, be applied to all power supplys in place with each PSU phase; And test and preserved every bar test result generate report, simple operating steps without the need to the script that reruns; Compared with prior art, not only very big convenience is provided to Test Engineer; Save the test duration, reduce the test duration and drop into, improve later maintenance efficiency, and improve testing efficiency, applied widely, be easy to promote.
Accompanying drawing explanation
Fig. 1 the inventive method schematic diagram.
Embodiment
The present invention will be further described by reference to the accompanying drawings.
A kind of batch testing method of whole machine cabinet server power supply:
Build test platform, setup test environment: the service end of Secure CRT connects telemanagement mainboard RMC by Serial Port Line, RMC is connected with whole machine cabinet server power supply framework, can intercom with each PSU phase, real-time indirect monitoring power supply status, receive the test assignment that Secure CRT service end sends, feedback test result;
The operating process of described Secure CRT service end is:
Configuration Secure CRT logs in RMC script automatically;
Record institute needed for power supply to be measured in steps, form a complete automatic test script of Secure CRT;
Each step in testing procedure is expected the result typing script produced, as criterion;
Using established script as template, each power supply performs a test;
Output test result.
The process recording the automatic test script of Secure CRT in the service end of Secure CRT is:
RMC system is logged in by Secure CRT in Secure CRT service end;
Open recording function;
Regular test command is inputted according to test specification;
Input complete, terminate the recording function of Secure CRT;
Preserve current script;
It is as follows that Secure CRT server end performs instruction:
#$language = "VBScript"
#$interface = "1.0"
Crt.Screen.Synchronous=True//script synchronization function is opened
' This automatically generated script may need to be
' edited in order to work correctly.
Sub Main
Crt.Screen.WaitForString " # " // acquisition expectation value No. #, waits for that next instruction inputs
Crt.Screen.Send " cd/usr/local/bin " & chr (13) // input directory instruction also performs
Crt.Screen.WaitForString " # " // acquisition expectation value No. #, waits for that next instruction inputs
Crt.Screen.Send " ./PSU_CLi " & " I A1 0 0x00 " & chr (13) // input regular test command and perform
End Sub//script end of run.
Log in the automatic Run Script of RMC by Secure CRT and carry out power supply test; Concrete operations are:
Preserve test result, checking is carried out to each test result and judges and generate output report.
The service end of described Secure CRT is recorded the automatic test script process of Secure CRT and is:
Determine the numbering of the current power supply that will refresh, such as script testing authentication is done to No. 1, power supply;
Script is automatically performed to RMC by Secure CRT in service end; Judgement statement can be added in script;
RMC inputs or outputs by carrying out signal between PMbus and power supply; The result that can feed back test process is done and is judged Pass or Fail;
Signal transmission feeds back to RMC and produces log;
Secure CRT prints the log produced;
Automatic Verification judges the correctness of the test result produced;
Circulation performs other power supply tests, until complete whole test script.
In above method of testing, the batch testing system of implicit a kind of whole machine cabinet server power supply, comprises Secure CRT service end, telemanagement mainboard RMC, whole machine cabinet server power supply; The service end of Secure CRT connects telemanagement mainboard RMC by Serial Port Line, and RMC is connected with whole machine cabinet server power supply framework, can intercom with each PSU phase;
Secure CRT service end is responsible for recording the automatic test script of Secure CRT, logs in the automatic Run Script of RMC carry out power supply test by Secure CRT; Preserve test result, checking is carried out to each test result and judges and generate output report;
RMC is responsible for real-time indirect monitoring power supply status, receives the test assignment that Secure CRT service end sends, feedback test result;
The built-in some power supplys of whole machine cabinet, telemanagement mainboard RMC is connected with each server power supply by the PMbus communications cable, RMC detects the change of power supply signal at set intervals, produces corresponding log and records, by the real-time indirect monitoring power supply status of RMC.
Secure CRT service end receives the power supply status the real-time monitored change of RMC feedback with data mode Secure CRT printout.

Claims (7)

1. a batch testing method for whole machine cabinet server power supply, is characterized in that:
Build test platform, setup test environment: the service end of Secure CRT connects telemanagement mainboard RMC by Serial Port Line, RMC is connected with whole machine cabinet server power supply framework, can intercom with each PSU phase, real-time indirect monitoring power supply status, receive the test assignment that Secure CRT service end sends, feedback test result; The automatic test script of Secure CRT is recorded in the service end of Secure CRT;
Log in the automatic Run Script of RMC by Secure CRT and carry out power supply test;
Preserve test result, checking is carried out to each test result and judges and generate output report.
2. the batch testing method of a kind of whole machine cabinet server power supply according to claim 1, is characterized in that the operating process of described Secure CRT service end is:
Configuration Secure CRT logs in RMC script automatically;
Record institute needed for power supply to be measured in steps, form a complete automatic test script of Secure CRT;
Each step in testing procedure is expected the result typing script produced, as criterion;
Using established script as template, each power supply performs a test;
Output test result.
3. the batch testing method of a kind of whole machine cabinet server power supply according to claim 1 and 2, is characterized in that the service end of described Secure CRT is recorded the automatic test script process of Secure CRT and is:
RMC system is logged in by Secure CRT in Secure CRT service end;
Open recording function;
Regular test command is inputted according to test specification;
Input complete, terminate the recording function of Secure CRT;
Preserve current script;
It is as follows that Secure CRT server end performs instruction:
#$language = "VBScript"
#$interface = "1.0"
Crt.Screen.Synchronous=True//script synchronization function is opened
' This automatically generated script may need to be
' edited in order to work correctly.
Sub Main
Crt.Screen.WaitForString " # " // acquisition expectation value No. #, waits for that next instruction inputs
Crt.Screen.Send " cd/usr/local/bin " & chr (13) // input directory instruction also performs
Crt.Screen.WaitForString " # " // acquisition expectation value No. #, waits for that next instruction inputs
Crt.Screen.Send " ./PSU_CLi " & " I A1 0 0x00 " & chr (13) // input regular test command and perform
End Sub//script end of run.
4. the batch testing method of a kind of whole machine cabinet server power supply according to claim 3, is characterized in that the process that described automatic Run Script carries out power supply test is:
Determine the numbering of the current power supply that will refresh;
Script is automatically performed to RMC by Secure CRT in service end;
RMC inputs or outputs by carrying out signal between PMbus and power supply;
Signal transmission feeds back to RMC and produces log;
Secure CRT prints the log produced;
Automatic Verification judges the correctness of the test result produced;
Circulation performs other power supply tests, until complete whole test script.
5. a batch testing system for whole machine cabinet server power supply, is characterized in that comprising Secure CRT service end, telemanagement mainboard RMC, whole machine cabinet server power supply; The service end of Secure CRT connects telemanagement mainboard RMC by Serial Port Line, and RMC is connected with whole machine cabinet server power supply framework, can intercom with each PSU phase;
Secure CRT service end is responsible for recording the automatic test script of Secure CRT, logs in the automatic Run Script of RMC carry out power supply test by Secure CRT; Preserve test result, checking is carried out to each test result and judges and generate output report;
RMC is responsible for real-time indirect monitoring power supply status, receives the test assignment that Secure CRT service end sends, feedback test result.
6. the batch testing system of a kind of whole machine cabinet server power supply according to claim 5, it is characterized in that the built-in some power supplys of described whole machine cabinet, telemanagement mainboard RMC is connected with each server power supply by the PMbus communications cable, RMC detects the change of power supply signal at set intervals, produce corresponding log and record, by the real-time indirect monitoring power supply status of RMC.
7. the batch testing system of a kind of whole machine cabinet server power supply according to claim 5 or 6, it is characterized in that Secure CRT service end connects RMC by serial ports, the power supply status real-time monitored change is fed back to Secure CRT service end also with Secure CRT printout with data mode by PMbus by RMC.
CN201510229851.8A 2015-05-07 2015-05-07 Batch test method for server power supply of whole cabinet Pending CN104809041A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510229851.8A CN104809041A (en) 2015-05-07 2015-05-07 Batch test method for server power supply of whole cabinet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510229851.8A CN104809041A (en) 2015-05-07 2015-05-07 Batch test method for server power supply of whole cabinet

Publications (1)

Publication Number Publication Date
CN104809041A true CN104809041A (en) 2015-07-29

Family

ID=53693886

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510229851.8A Pending CN104809041A (en) 2015-05-07 2015-05-07 Batch test method for server power supply of whole cabinet

Country Status (1)

Country Link
CN (1) CN104809041A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105357064A (en) * 2015-12-15 2016-02-24 山东海量信息技术研究院 Node fault recording method of high-end fault tolerance server
CN105610644A (en) * 2015-12-25 2016-05-25 浪潮电子信息产业股份有限公司 Method for realizing password-free bidirectional login of network based on LINUX
CN105955855A (en) * 2016-04-27 2016-09-21 浪潮电子信息产业股份有限公司 Method for testing redundancy of double power supplies of rack cabinet
CN106326050A (en) * 2016-08-18 2017-01-11 浪潮电子信息产业股份有限公司 Automatic monitoring management method for whole cabinet server
CN106908738A (en) * 2017-04-13 2017-06-30 广东浪潮大数据研究有限公司 A kind of automatic testing method of SmartRack reserce cells
CN107045467A (en) * 2017-02-07 2017-08-15 郑州云海信息技术有限公司 A kind of method of whole machine cabinet remote monitoring node system testing state
CN107992180A (en) * 2017-12-05 2018-05-04 郑州云海信息技术有限公司 A kind of dual input power supply switching automatic test device and method
CN109408293A (en) * 2018-11-02 2019-03-01 郑州云海信息技术有限公司 A kind of method of real-time monitoring RACK cabinet power supply
CN114328182A (en) * 2021-11-30 2022-04-12 苏州浪潮智能科技有限公司 Switch PSU test method and related device

Citations (3)

* 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

Patent Citations (3)

* 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

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
黄向农等: "利用VBS批量创建Secure CRT配置文件的方法", 《电脑知识与技术》 *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105357064A (en) * 2015-12-15 2016-02-24 山东海量信息技术研究院 Node fault recording method of high-end fault tolerance server
CN105610644A (en) * 2015-12-25 2016-05-25 浪潮电子信息产业股份有限公司 Method for realizing password-free bidirectional login of network based on LINUX
CN105955855A (en) * 2016-04-27 2016-09-21 浪潮电子信息产业股份有限公司 Method for testing redundancy of double power supplies of rack cabinet
CN106326050A (en) * 2016-08-18 2017-01-11 浪潮电子信息产业股份有限公司 Automatic monitoring management method for whole cabinet server
CN107045467A (en) * 2017-02-07 2017-08-15 郑州云海信息技术有限公司 A kind of method of whole machine cabinet remote monitoring node system testing state
CN106908738A (en) * 2017-04-13 2017-06-30 广东浪潮大数据研究有限公司 A kind of automatic testing method of SmartRack reserce cells
CN107992180A (en) * 2017-12-05 2018-05-04 郑州云海信息技术有限公司 A kind of dual input power supply switching automatic test device and method
CN109408293A (en) * 2018-11-02 2019-03-01 郑州云海信息技术有限公司 A kind of method of real-time monitoring RACK cabinet power supply
CN109408293B (en) * 2018-11-02 2022-02-18 郑州云海信息技术有限公司 Method for monitoring RACK cabinet power supply in real time
CN114328182A (en) * 2021-11-30 2022-04-12 苏州浪潮智能科技有限公司 Switch PSU test method and related device
CN114328182B (en) * 2021-11-30 2023-11-10 苏州浪潮智能科技有限公司 Switch PSU testing method and related device

Similar Documents

Publication Publication Date Title
CN104809041A (en) Batch test method for server power supply of whole cabinet
CN108459951B (en) Test method and device
CN101739334A (en) Automatic testing method of embedded software
CN104461854A (en) General simulation testing platform for software of ship equipment and construction method of general simulation testing platform
WO2014153764A1 (en) Method and device for automatic test of relay protection function of intelligent substation
CN105141441A (en) IP network graphical configuration method
CN111917610B (en) Communication test method, device and system for stability control device and direct current control protection device
CN109613909A (en) Steady control host test method and its system
CN110568339A (en) Instrument automatic testing system and method based on Internet of things
CN111176910A (en) System function testing method and device
CN104852912A (en) Domain name registration server performance testing system and domain name registration server performance testing method
CN108508296B (en) Bidirectional ring network-based in-place element protection test method and system
CN109167701B (en) Consistency checking method, device and system for power distribution automation standardization extension communication protocol
CN112540266A (en) Distribution network feeder automation field test system
CN115525557A (en) Method and system for recovering CPLD (complex programmable logic device) capability under PFR (pulse frequency response) abnormal condition, electronic equipment and storage medium
CN104484254A (en) Method for testing influence of internal vibration of high-density cabinet on I/O (Input/Output) performance
CN104506389A (en) Integral high-density server stability testing method
CN107776911B (en) PXI bus-based flight parameter system test platform and method
CN106789290B (en) Data access method and system based on Modbus RTU protocol
CN106405277B (en) Testing device and method for main processing unit in nuclear power station protection system
CN116599572A (en) Commercial batch satellite single machine intelligent testing method
CN103544104A (en) Testing method for power distribution terminal remote control functional software module
CN116303036A (en) Product testing method, device, equipment and storage medium
CN104932294A (en) Method for testing output switching capacity of power supply module of high-density server cabinet
CN110691008B (en) Intelligent management unit test system and test method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150729