CN106201813A - Method for automatically testing BMC stability - Google Patents

Method for automatically testing BMC stability Download PDF

Info

Publication number
CN106201813A
CN106201813A CN201610591454.XA CN201610591454A CN106201813A CN 106201813 A CN106201813 A CN 106201813A CN 201610591454 A CN201610591454 A CN 201610591454A CN 106201813 A CN106201813 A CN 106201813A
Authority
CN
China
Prior art keywords
machine
bmc
test
stability
measured
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
CN201610591454.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 CN201610591454.XA priority Critical patent/CN106201813A/en
Publication of CN106201813A publication Critical patent/CN106201813A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a method for automatically testing BMC (baseboard management controller) stability, which relates to a BMC (baseboard management controller) restarting test technology, and is characterized in that a test machine is connected with a machine to be tested through a network cable based on an IPMI (intelligent power interface) tool and a Python operating environment, so that the test machine and the BMC of the machine to be tested can be PING (platform management interface), the test machine periodically calls the IPMI tool by using a test script in the Python environment, and records a test log to achieve the test of BMC restarting of the machine to be tested. According to the invention, the BMC is restarted in a remote control mode, and the stability of the BMC can be detected; the method is suitable for the BMC restart stability test of all types of servers at present; the method is simple to operate, easy to realize and has good market popularization and use values.

Description

A kind of method of automatic test BMC stability
Technical field
The present invention relates to BMC and restart measuring technology, a kind of method of automatic test BMC stability.
Background technology
BMC (Baseboard Management Controller, baseboard management controller) supports the IPMI of industry standard Specification.This specification describes the management function being built on mainboard, and these functions include: local and remote diagnosis, control Platform support, configuration management, hardware management and failture evacuation.IPMI function is fully achieved in BMC and needs one powerful 16 Bit or 32 bit microcontrollers and the RAM stored for data, the fast flash memory bank stored for non-volatile data and Firmware.IPMI (IPMI) is the hardware management interface specification of a kind of open standard, defines embedded management The ad hoc approach that subsystem communicates.IPMI information (is positioned at the hardware group of IPMI specification by BMC (baseboard management controller) On part) exchange.Use low-level hardware intelligent management not use operating system to be managed, have two major advantages in that First, this configuration allows to carry out carrying outer server admin;Secondly, operating system need not the appointing of bearing transport system state data Business.IPMI instrument is the ipmi platform management instrument of a kind of command line mode that can be used under Linux system, and it supports ipmi 1.5 specifications, can realize obtaining the functions such as the information of sensor, display system log content, network remote switching on and shutting down by it.
BMC provides following function: the tachometer input that with the compatibility of IPMI1.0, monitors for rotation speed of the fan, for wind Fan rotating speed control pulse width regulator output, for front panel button and switch button input and server console Port carries out a multiplex serial port, remote access and ICMB (Intelligent Chassis Management Bus, intelligent case management bus) support, (one of them port is used for intelligent case pipe for three I2C master ports and standby port Reason bus).BMC is indispensable important composition parts in Modern server field, and its stability is related to the prison of server Control is the most stable.So the stability of BMC is carried out strict test, restart test including BMC.
Summary of the invention
The present invention is directed to demand and the weak point of current technology development, it is provided that a kind of automatic test BMC stability Method.
The method of a kind of automatic test BMC stability of the present invention, solves the technical side that above-mentioned technical problem uses Case is as follows: the method for described a kind of automatic test BMC stability, based on IPMI instrument and Python running environment, and will test Machine connects upper machine to be measured by netting twine so that test machine can lead to by PING with the BMC of machine to be measured, and test machine is under Python environment Performance test script periodically calls IPMI instrument, and records the test that test log reaches to restart machine BMC to be measured.
Preferably, described test machine is connected by netting twine with tested machine, and the BMC of described test machine and machine to be measured can PING Logical;And the IP of test machine and machine to be measured is arranged on same address field, simultaneously closes off fire wall.
Preferably, described test machine is installed Python software, and testing results script.
The method of a kind of automatic test BMC stability of the present invention compared with prior art has the advantage that It is: the present invention uses the mode of remotely control to allow BMC restart, it is possible to the stability of detection BMC;It is applicable to current all types The BMC of server restarts stability test;Use the method, Python software only need to be installed in a tester, run corresponding survey Training this, stability test can be carried out for the machine BMC to be measured that test machine PING is logical, simple to operate, be easily achieved, have relatively Good marketing use value.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with specific embodiment, to this The method of bright described a kind of automatic test BMC stability further describes.
The present invention provides a kind of method of automatic test BMC stability, based on IPMI instrument and Python running environment, Test machine is connected upper machine to be measured by netting twine so that test machine can lead to by PING with the BMC of machine to be measured, and test machine is at Python Under environment, performance test script periodically calls IPMI instrument, and records the survey that test log reaches to restart machine BMC to be measured Examination.
Described PING leads to, and refers to that between two equipment, network is logical;Send a packet from one end, the other end is with regard to energy Enough receiving, identifying two equipment is to lead to by ping.
Embodiment:
A kind of method of automatic test BMC stability described in the present embodiment, it is embodied as step and includes:
1) test machine is connected machine to be measured by netting twine so that the BMC of test machine and machine to be measured can lead to by PING;And set Put the IP of test machine and machine to be measured at same address field, simultaneously close off fire wall;
2) Python software is installed on a testing machine, and testing results script;
Described test script is as follows:
Wherein ipmitoolPath variable is the path of ipmitool, and BMCIP is the IP address of BMC to be measured.
Above-mentioned detailed description of the invention is only the concrete case of the present invention, and the scope of patent protection of the present invention includes but not limited to Above-mentioned detailed description of the invention, any that meet claims of the present invention and any person of an ordinary skill in the technical field The suitably change being done it or replacement, all should fall into the scope of patent protection of the present invention.

Claims (3)

1. the method for an automatic test BMC stability, it is characterised in that based on IPMI instrument and Python running environment, Test machine is connected upper machine to be measured by netting twine so that test machine can lead to by PING with the BMC of machine to be measured, and test machine is at Python Under environment, performance test script periodically calls IPMI instrument, and records the survey that test log reaches to restart machine BMC to be measured Examination.
A kind of method of automatic test BMC stability, it is characterised in that described test machine with Tested machine is connected by netting twine, and described test machine can lead to by PING with the BMC of machine to be measured;And by test machine and the IP of machine to be measured It is arranged on same address field, simultaneously closes off fire wall.
A kind of method of automatic test BMC stability, it is characterised in that at described test machine Upper installation Python software, and testing results script.
CN201610591454.XA 2016-07-26 2016-07-26 Method for automatically testing BMC stability Pending CN106201813A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610591454.XA CN106201813A (en) 2016-07-26 2016-07-26 Method for automatically testing BMC stability

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610591454.XA CN106201813A (en) 2016-07-26 2016-07-26 Method for automatically testing BMC stability

Publications (1)

Publication Number Publication Date
CN106201813A true CN106201813A (en) 2016-12-07

Family

ID=57494999

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610591454.XA Pending CN106201813A (en) 2016-07-26 2016-07-26 Method for automatically testing BMC stability

Country Status (1)

Country Link
CN (1) CN106201813A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107588029A (en) * 2017-09-04 2018-01-16 郑州云海信息技术有限公司 One kind automates multi-platform fan test method
CN107645427A (en) * 2017-09-25 2018-01-30 郑州云海信息技术有限公司 A kind of system and method for automatic test network connectivty and stability
CN108089566A (en) * 2017-11-23 2018-05-29 郑州云海信息技术有限公司 A kind of BMC stability parallel test method and system
CN109240862A (en) * 2018-08-23 2019-01-18 郑州云海信息技术有限公司 A kind of method of outband management test b MC stability
CN109446101A (en) * 2018-11-13 2019-03-08 郑州云海信息技术有限公司 The automated testing method and device of BMC are restarted based on ipmi instruction
CN109815068A (en) * 2018-12-25 2019-05-28 曙光信息产业(北京)有限公司 The method and system of multiple port PCI e compatibility transmitting terminal test
CN112272112A (en) * 2020-10-22 2021-01-26 浪潮商用机器有限公司 Automatic testing method and system for network configuration of BMC (baseboard management controller) management interface

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103051490A (en) * 2012-11-26 2013-04-17 浪潮电子信息产业股份有限公司 Method for carrying out startup and shutdown testing on blade server
CN103905253A (en) * 2014-04-04 2014-07-02 浪潮电子信息产业股份有限公司 Server monitoring and management method based on Nagios and BMC

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103051490A (en) * 2012-11-26 2013-04-17 浪潮电子信息产业股份有限公司 Method for carrying out startup and shutdown testing on blade server
CN103905253A (en) * 2014-04-04 2014-07-02 浪潮电子信息产业股份有限公司 Server monitoring and management method based on Nagios and BMC

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107588029A (en) * 2017-09-04 2018-01-16 郑州云海信息技术有限公司 One kind automates multi-platform fan test method
CN107588029B (en) * 2017-09-04 2019-03-05 郑州云海信息技术有限公司 A kind of multi-platform fan test method of automation
CN107645427A (en) * 2017-09-25 2018-01-30 郑州云海信息技术有限公司 A kind of system and method for automatic test network connectivty and stability
CN108089566A (en) * 2017-11-23 2018-05-29 郑州云海信息技术有限公司 A kind of BMC stability parallel test method and system
CN108089566B (en) * 2017-11-23 2020-09-22 苏州浪潮智能科技有限公司 BMC stability parallel test method and system
CN109240862A (en) * 2018-08-23 2019-01-18 郑州云海信息技术有限公司 A kind of method of outband management test b MC stability
CN109446101A (en) * 2018-11-13 2019-03-08 郑州云海信息技术有限公司 The automated testing method and device of BMC are restarted based on ipmi instruction
CN109446101B (en) * 2018-11-13 2021-10-29 郑州云海信息技术有限公司 Automatic testing method and device for restarting BMC based on ipmi instruction
CN109815068A (en) * 2018-12-25 2019-05-28 曙光信息产业(北京)有限公司 The method and system of multiple port PCI e compatibility transmitting terminal test
CN112272112A (en) * 2020-10-22 2021-01-26 浪潮商用机器有限公司 Automatic testing method and system for network configuration of BMC (baseboard management controller) management interface

Similar Documents

Publication Publication Date Title
CN106201813A (en) Method for automatically testing BMC stability
US20150106660A1 (en) Controller access to host memory
EP2472402B1 (en) Remote management systems and methods for mapping operating system and management controller located in a server
US9274174B2 (en) Processor TAP support for remote services
US8935576B2 (en) Automated cabling process for a complex environment
CN107277193B (en) Method, device and system for managing address of baseboard management controller
CN104516800B (en) Method, system and the associated circuitry of server master board diagnosis
TW201500935A (en) System and method of controlling shutdown and booting of servers
CN105068900A (en) Testing method for remote control server cold reboot
CN104317709A (en) Method and system for testing performance of software
US20120137027A1 (en) System and method for monitoring input/output port status of peripheral devices
CN104820156B (en) A kind of Beam Detector and method
CN107612775A (en) A kind of node two level connects the DC method of testings and system of server
CN104951421A (en) Automatic numbering and type recognition method and device for serial bus communication devices
CN104734904A (en) Automatic detection method and system of by-pass equipment
CN111817921A (en) Mobile test equipment, test method, device, system and networking method
CN115525490A (en) Memory eye pattern testing method, hardware debugging equipment and storage medium
CN103595999B (en) The automatic testing method of intelligent television and automatic detection device
CN211148838U (en) Air conditioner internal unit testing device
CN104330648A (en) Automatic elevator display plate testing device and method
CN109586788B (en) Monitoring system fault diagnosis method and device, computer equipment and storage medium
CN111045876A (en) Splash screen detection method and device, storage medium and electronic equipment
CN111008098A (en) Monitoring system and method
CN105242283A (en) Excavator GPS terminal fault detection system
CN209343321U (en) A kind of computer glitch detection 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: 20161207

RJ01 Rejection of invention patent application after publication