CN104615523A - Fatigue test method for BMC management module based on IPMI protocol - Google Patents

Fatigue test method for BMC management module based on IPMI protocol Download PDF

Info

Publication number
CN104615523A
CN104615523A CN201510097402.2A CN201510097402A CN104615523A CN 104615523 A CN104615523 A CN 104615523A CN 201510097402 A CN201510097402 A CN 201510097402A CN 104615523 A CN104615523 A CN 104615523A
Authority
CN
China
Prior art keywords
ipmi
testing fatigue
administration module
bmc
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
Application number
CN201510097402.2A
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 CN201510097402.2A priority Critical patent/CN104615523A/en
Publication of CN104615523A publication Critical patent/CN104615523A/en
Pending legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The invention particularly relates to a fatigue test method for a BMC management module based on an IPMI protocol. The fatigue test method for the BMC management module based on the IPMI protocol comprises the steps of formulating a standard common command set according to an IPMI protocol standard version supported by a product; setting the execution time of a fatigue test program; the test program circularly calls each line of commands in the execution command set text and judges whether the execution is successful; and outputting the test record redirection to the running log, and additionally recording the error in the error log. The fatigue testing method for the BMC management module based on the IPMI protocol enables the fatigue testing degree which can not be achieved by manual execution to be possible, completely realizes the stability testing of the BMC management module applied to a server, can verify the stability of the BMC management module from hardware to software under the condition of long-term frequent repeated high utilization rate, and greatly improves the discovery rate of relevant problems that sensor information is intermittently unreadable, the machine state is unreadable, no response exists in the BMC running process and the like.

Description

A kind of BMC administration module method for testing fatigue based on IPMI agreement
Technical field
The present invention relates to computer testing technology field, particularly a kind of BMC administration module method for testing fatigue based on IPMI agreement.
Background technology
Along with the development of IT field technology, conventional informationization service and the increasingly powerful stability requirement of cloud computing service to server B MC administration module more and more higher.The telemanagement of server, cluster management all depends on the BMC administration module of server.Most users even has BMC administration module as physical layer interface at product, carries out secondary development on its basis, and exploitation is more suitable for the management software of different user self.BMC administration module is once break down, and the sensor information of machine, information in place etc. cannot read, and just cannot judge server health status.
As server product provider, a server all needs to carry out system testing fatigue to product in development or production phase, and the testing fatigue of BMC administration module is also absolutely necessary.Most product just guaranteed whether the various functions of BMC administration module achieve in the past, the stability of little test b MC, also because the stability test of BMC there is no a kind of very effectively, method that enforceability is high.Adopt manual administration page operation or command operation to carry out BMC test, the frequent pressurization continued cannot be reached, and manual test too waste of manpower.
Therefore based on IPMI protocol specification, the present invention proposes a kind of practical, based on the BMC administration module method for testing fatigue of IPMI agreement, the frequent Continued communication that manpower can keep again BMC can be saved, and then realize the pressure test of BMC administration module.
Summary of the invention
The present invention, in order to make up the defect of prior art, provides a kind of simple and effective BMC administration module method for testing fatigue based on IPMI agreement.
The present invention is achieved through the following technical solutions:
Based on a BMC administration module method for testing fatigue for IPMI agreement, it is characterized in that comprising the following steps:
(1) standardization commonly used command collection is formulated according to the IPMI protocol specification version of product support;
(2) execution time of BMC administration module testing fatigue program is set;
(3) the every line command in test procedure recursive call fill order collection text also judges whether to run succeeded;
(4) export running log to by redirected for test record, and mistake is recorded in error log separately.
In described step (1), first confirm the IPMI protocol specification version of product support, then according to different protocol versions, commonly used command is inputed in .txt text; The all orders of reading in described command set text of testing fatigue program are that test is below prepared.
Described IPMI protocol specification version comprises IPMI1.1, IPMI1.5, IPMI2.0 etc.
In described step (2), manually after the input execution time, termination test procedure, according to set execution time self-clocking, is shown error log after timing terminates by BMC administration module testing fatigue program.
In described step (3), the every line command in test procedure recursive call fill order collection text also judges whether to run succeeded, and is saved in error log when having and performing unsuccessfully by the order of failure and output; Judge that terminating rear continuation performs next line order, then perform record and be saved in execution journal, then continue next loop test by fatigue program.
In described step (4), testing fatigue program loop runs IPMI order, tee order is used to be saved in the file under specified path by all implementations while testing results, program default setting is /tmp/records: realize real-time monitor (RTM) implementation status, and preserve correlation log file; When there being abnormal generation, check which kind of fault operates in which order occurs by the error log file preserved.
Described testing fatigue program adopts command set method of calling, order can be adjusted flexibly according to the IPMI protocol specification version of current support and carry out testing fatigue, be redirected simultaneously and export, error log is also shown to terminal window by the situation that all circulations of prewired program perform after end of run.
The invention has the beneficial effects as follows: should based on the BMC administration module method for testing fatigue of IPMI agreement, the testing fatigue degree that manual impossibility of execution is reached becomes possibility, fully achieve the BMC administration module stability test being applied to server, the stability from hardware to software of BMC administration module in long term frequent high usage situation repeatedly can be verified, greatly improve that sensor information intermittence cannot read, machine state cannot read, in BMC operational process without the discovery rate of the relevant issues such as response.
Accompanying drawing explanation
Accompanying drawing 1 is BMC administration module testing fatigue schematic flow sheet of the present invention.
Embodiment
With reference to Figure of description, the present invention is described in detail.
Based on the BMC administration module method for testing fatigue of IPMI agreement, should comprise the following steps:
(1) standardization commonly used command collection is formulated according to the IPMI protocol specification version of product support;
(2) execution time of BMC administration module testing fatigue program is set;
(3) the every line command in test procedure recursive call fill order collection text also judges whether to run succeeded;
(4) export running log to by redirected for test record, and mistake is recorded in error log separately.
In described step (1), first confirm the IPMI protocol specification version of product support, then according to different protocol versions, commonly used command is inputed in .txt text; The all orders of reading in described command set text of testing fatigue program are that test is below prepared.
Described IPMI protocol specification version comprises IPMI1.1, IPMI1.5, IPMI2.0 etc.
In described step (2), manually after the input execution time, termination test procedure, according to set execution time self-clocking, is shown error log after timing terminates by BMC administration module testing fatigue program.
In described step (3), the every line command in test procedure recursive call fill order collection text also judges whether to run succeeded, and is saved in error log when having and performing unsuccessfully by the order of failure and output; Judge that terminating rear continuation performs next line order, then perform record and be saved in execution journal, then continue next loop test by fatigue program.
In described step (4), testing fatigue program loop runs IPMI order, tee order is used to be saved in the file under specified path by all implementations while testing results, program default setting is /tmp/records: realize real-time monitor (RTM) implementation status, and preserve correlation log file; When there being abnormal generation, check which kind of fault operates in which order occurs by the error log file preserved.
Described testing fatigue program adopts command set method of calling, order can be adjusted flexibly according to the IPMI protocol specification version of current support and carry out testing fatigue, be redirected simultaneously and export, error log is also shown to terminal window by the situation that all circulations of prewired program perform after end of run.
Circulate the cycling time of reading before this according to this shell script and perform testing fatigue program, system cloud gray model is specified to the BMC pressure test of duration.Performing IPMI order by repeatedly calling for a long time, reaching the testing fatigue object of BMC administration module, the stability of test products.Until circulation terminates, complete all flow processs that program is run.
The whole process of the method mainly utilizes shell script to carry out robotization to system to restart and detect the storing device information after at every turn restarting, carrying out contrast with initial information judges whether wrong, remove interactive process from, also can be redirected according to the automatic testing results program of cycle index of setting and output in text.By arranging cycling time, reach multi cycle testing fatigue repeatedly.Shell script Automatically invoked runs IPMI command set and whether automatic decision order runs succeeded, and without the need to manually detecting again.This shell script starts test according to executive routine cycling time inputted before this, until script judges to complete by the fixed time.In the process of all installations, execution, have except output display except performing window, the redirected setting simultaneously in shell script by all process records in specified file, can check analysis so that follow-up.
The present invention is based on the BMC administration module method for testing fatigue of IPMI agreement, the IPMI agreement of different editions carries out the testing fatigue of BMC administration module, whether test procedure decision instruction can run succeeded and record all daily records when calling every bar IPMI instruction when performing, and clearly can check the situation that every bar IPMI instruction each time performs.Meanwhile, perform failed order and result can be saved in error log automatically, can check to run which order that what has occurred is abnormal.This script is easy to use, simple to operate, realizes automatic cycle and performs, and automatically can run BMC testing fatigue according to demand and to go forward side by side line item, without the need to carrying out man-machine interactively.The method has enriched the method for testing in the past only manually detecting BMC basic function, fully achieve the pressure test of BMC administration module iterative cycles, the stability from hardware to software of BMC administration module in long term frequent high usage situation repeatedly can be verified, greatly improve that sensor information intermittence cannot read, machine state cannot read, in BMC operational process without the discovery rate of the relevant issues such as response, avoid problem to flow out.
Above-mentioned embodiment is only concrete case of the present invention; scope of patent protection of the present invention includes but not limited to above-mentioned embodiment; claims of any a kind of BMC administration module method for testing fatigue in IPMI agreement according to the invention and any person of an ordinary skill in the technical field to its suitable change done or replacement, all should fall into scope of patent protection of the present invention.

Claims (7)

1., based on a BMC administration module method for testing fatigue for IPMI agreement, it is characterized in that comprising the following steps:
(1) standardization commonly used command collection is formulated according to the IPMI protocol specification version of product support;
(2) execution time of BMC administration module testing fatigue program is set;
(3) the every line command in test procedure recursive call fill order collection text also judges whether to run succeeded;
(4) export running log to by redirected for test record, and mistake is recorded in error log separately.
2. the BMC administration module method for testing fatigue based on IPMI agreement according to claim 1, it is characterized in that: in described step (1), first confirm the IPMI protocol specification version of product support, then according to different protocol versions, commonly used command is inputed in .txt text; The all orders of reading in described command set text of testing fatigue program are that test is below prepared.
3. the BMC administration module method for testing fatigue based on IPMI agreement according to claim 2, is characterized in that: described IPMI protocol specification version comprises IPMI1.1, IPMI1.5, IPMI2.0 etc.
4. the BMC administration module method for testing fatigue based on IPMI agreement according to claim 1, it is characterized in that: in described step (2), after the manual input execution time, termination test procedure, according to set execution time self-clocking, is shown error log after timing terminates by BMC administration module testing fatigue program.
5. the BMC administration module method for testing fatigue based on IPMI agreement according to claim 1, it is characterized in that: in described step (3), every line command in test procedure recursive call fill order collection text also judges whether to run succeeded, and is saved in error log when having and performing unsuccessfully by the order of failure and output; Judge that terminating rear continuation performs next line order, then perform record and be saved in execution journal, then continue next loop test by fatigue program.
6. the BMC administration module method for testing fatigue based on IPMI agreement according to claim 1, it is characterized in that: in described step (4), testing fatigue program loop runs IPMI order, tee order is used to be saved in the file under specified path by all implementations while testing results, program default setting is /tmp/records: realize real-time monitor (RTM) implementation status, and preserve correlation log file; When there being abnormal generation, check which kind of fault operates in which order occurs by the error log file preserved.
7. the BMC administration module method for testing fatigue based on IPMI agreement according to claim 1, it is characterized in that: described testing fatigue program adopts command set method of calling, order can be adjusted flexibly according to the IPMI protocol specification version of current support and carry out testing fatigue, be redirected simultaneously and export, error log is also shown to terminal window by the situation that all circulations of prewired program perform after end of run.
CN201510097402.2A 2015-03-05 2015-03-05 Fatigue test method for BMC management module based on IPMI protocol Pending CN104615523A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510097402.2A CN104615523A (en) 2015-03-05 2015-03-05 Fatigue test method for BMC management module based on IPMI protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510097402.2A CN104615523A (en) 2015-03-05 2015-03-05 Fatigue test method for BMC management module based on IPMI protocol

Publications (1)

Publication Number Publication Date
CN104615523A true CN104615523A (en) 2015-05-13

Family

ID=53149980

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510097402.2A Pending CN104615523A (en) 2015-03-05 2015-03-05 Fatigue test method for BMC management module based on IPMI protocol

Country Status (1)

Country Link
CN (1) CN104615523A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106297242A (en) * 2016-08-26 2017-01-04 美的智慧家居科技有限公司 The method and apparatus controlling home appliance
CN108089566A (en) * 2017-11-23 2018-05-29 郑州云海信息技术有限公司 A kind of BMC stability parallel test method and system
CN108173712A (en) * 2017-12-26 2018-06-15 郑州云海信息技术有限公司 A kind of double-mirror BMC stability test methods
CN109086154A (en) * 2018-07-26 2018-12-25 郑州云海信息技术有限公司 One kind is for detecting BIOS watchdog function inverse timing device and method
CN109726130A (en) * 2019-01-02 2019-05-07 浪潮商用机器有限公司 Test macro, method, equipment and the storage medium of BMC event log strategy
CN109800114A (en) * 2019-01-17 2019-05-24 郑州云海信息技术有限公司 A kind of BMC visual testing method, apparatus, terminal and storage medium
CN110175096A (en) * 2019-05-21 2019-08-27 苏州浪潮智能科技有限公司 A kind of GPU applied voltage test method, system, terminal and storage medium
CN110233772A (en) * 2019-04-22 2019-09-13 视联动力信息技术股份有限公司 A kind of view networked system test method and device
CN111061597A (en) * 2019-10-18 2020-04-24 苏州浪潮智能科技有限公司 Method for testing KCS communication stability

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090278940A1 (en) * 2008-05-09 2009-11-12 Hsin-Ming Lin Method of Testing a Display and Related Apparatus
CN102244591A (en) * 2010-05-10 2011-11-16 鸿富锦精密工业(深圳)有限公司 Client server and method for full process monitoring on function text of client server
CN103220192A (en) * 2013-05-10 2013-07-24 上海斐讯数据通信技术有限公司 Testing method of switch configuration
CN103516557A (en) * 2012-06-26 2014-01-15 腾讯科技(深圳)有限公司 Method and system for testing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090278940A1 (en) * 2008-05-09 2009-11-12 Hsin-Ming Lin Method of Testing a Display and Related Apparatus
CN102244591A (en) * 2010-05-10 2011-11-16 鸿富锦精密工业(深圳)有限公司 Client server and method for full process monitoring on function text of client server
CN103516557A (en) * 2012-06-26 2014-01-15 腾讯科技(深圳)有限公司 Method and system for testing
CN103220192A (en) * 2013-05-10 2013-07-24 上海斐讯数据通信技术有限公司 Testing method of switch configuration

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106297242A (en) * 2016-08-26 2017-01-04 美的智慧家居科技有限公司 The method and apparatus controlling home appliance
CN108089566B (en) * 2017-11-23 2020-09-22 苏州浪潮智能科技有限公司 BMC stability parallel test method and system
CN108089566A (en) * 2017-11-23 2018-05-29 郑州云海信息技术有限公司 A kind of BMC stability parallel test method and system
CN108173712A (en) * 2017-12-26 2018-06-15 郑州云海信息技术有限公司 A kind of double-mirror BMC stability test methods
CN109086154A (en) * 2018-07-26 2018-12-25 郑州云海信息技术有限公司 One kind is for detecting BIOS watchdog function inverse timing device and method
CN109086154B (en) * 2018-07-26 2022-02-18 郑州云海信息技术有限公司 Device and method for detecting countdown of BIOS watchdog function
CN109726130A (en) * 2019-01-02 2019-05-07 浪潮商用机器有限公司 Test macro, method, equipment and the storage medium of BMC event log strategy
CN109800114A (en) * 2019-01-17 2019-05-24 郑州云海信息技术有限公司 A kind of BMC visual testing method, apparatus, terminal and storage medium
CN109800114B (en) * 2019-01-17 2021-08-20 郑州云海信息技术有限公司 BMC visual test method, device, terminal and storage medium
CN110233772A (en) * 2019-04-22 2019-09-13 视联动力信息技术股份有限公司 A kind of view networked system test method and device
CN110233772B (en) * 2019-04-22 2021-11-19 视联动力信息技术股份有限公司 Method and device for testing video networking system
CN110175096A (en) * 2019-05-21 2019-08-27 苏州浪潮智能科技有限公司 A kind of GPU applied voltage test method, system, terminal and storage medium
CN111061597A (en) * 2019-10-18 2020-04-24 苏州浪潮智能科技有限公司 Method for testing KCS communication stability
CN111061597B (en) * 2019-10-18 2022-08-12 苏州浪潮智能科技有限公司 Method for testing KCS communication stability

Similar Documents

Publication Publication Date Title
CN104615523A (en) Fatigue test method for BMC management module based on IPMI protocol
CN104268055B (en) The monitoring method and device of a kind of program exception
CN110046073B (en) Log collection method and device, equipment and storage medium
CN103812726A (en) Automated testing method and device for data communication equipment
CN104636435A (en) Cloud terminal screen recording method
CN110673993B (en) Fault injection method, platform and system
CN102594618A (en) Method and device for realizing storage device test of storage area network (SAN)
CN102104500A (en) Automatic network management equipment abnormity restoring method
CN106713011B (en) Method and system for obtaining test data
CN104809057A (en) Application test system, application test method and storage medium
CN111666563B (en) Method and device for verifying application running state
CN109918221B (en) Hard disk error reporting analysis method, system, terminal and storage medium
CN116302989A (en) Pressure testing method and system, storage medium and computer equipment
WO2021056913A1 (en) Fault locating method, apparatus and system based on i2c communication
CN109947636A (en) Abnormal thread localization method and device
CN114518984A (en) Reporting method and device of embedded point information, storage medium and terminal equipment
CN106776180A (en) A kind of PCIE fault filling methods and its device and Fault Management System
CN111124828A (en) Data processing method, device, equipment and storage medium
CN105786668A (en) Memory error detection method based on Redhat system
CN102662716A (en) Method for realizing startup guiding control in computer system by using interface access
US20120136838A1 (en) Mechanism for performing automated data integrity verification testing for file systems
CN114546775A (en) Web monitoring method, device, equipment and medium based on client application
CN110990237B (en) Information collection system, method and storage medium
CN112787839B (en) Port description modification method and device
CN105827481A (en) Service error correction method and apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150513

WD01 Invention patent application deemed withdrawn after publication