CN102915265A - BMC (baseboard management controller) loop test method and system - Google Patents

BMC (baseboard management controller) loop test method and system Download PDF

Info

Publication number
CN102915265A
CN102915265A CN2011102179582A CN201110217958A CN102915265A CN 102915265 A CN102915265 A CN 102915265A CN 2011102179582 A CN2011102179582 A CN 2011102179582A CN 201110217958 A CN201110217958 A CN 201110217958A CN 102915265 A CN102915265 A CN 102915265A
Authority
CN
China
Prior art keywords
bmc
loop test
server
electronic switch
remote access
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
CN2011102179582A
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.)
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Original Assignee
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision 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 Hongfujin Precision Industry Shenzhen Co Ltd, Hon Hai Precision Industry Co Ltd filed Critical Hongfujin Precision Industry Shenzhen Co Ltd
Priority to CN2011102179582A priority Critical patent/CN102915265A/en
Priority to TW100128082A priority patent/TW201308071A/en
Publication of CN102915265A publication Critical patent/CN102915265A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a BMC (baseboard management controller) loop test method comprising the steps as follows: controlling a serial port of a computer to send a pulse signal to an electronic switch, triggering a power source of a server to turn on when the electronic switch receives the pulse signal, and monitoring the starting situation of BMC in the server through a port on the server; when successfully accessing BMC within a default in a remote way, and judging that BMC is successfully started, controlling the serial port of the computer to send the pulse signal to the electronic switch again; when the electronic switch receives the pulse signal, triggering the power source of the server to turn off; and judging whether the loop test time is up to the default or not, if so, displaying the test information onto a display screen of the computer. The invention further provides a BMC loop test system. The automatic loop detection for the BMC power source aging test can be realized in an alternating current environment.

Description

BMC loop test mode and system
Technical field
The present invention relates to a kind of BMC loop test mode and system.
Background technology
The BMC full name is Baseboard Management Controller, refers to the substrate manager, is mainly used in telemanagement.In the server automatic test, the test of the BMC power source aging of server is in the situation that BMC does not have power down, realizes by the continuous start and close of BMC at present.Such method of testing is confined to the BMC DC test, does not consider the situation under the complete power down of BMC.When the complete power down of BMC, BMC can not initiate self.So BMC DC test method is to have circumscribedly, can not test the state of BMC in the interchange situation.And the test of BMC power source aging test under communication environment has demand, therefore is necessary to design the method for testing of a kind of BMC power source aging test under communication environment.
Summary of the invention
In view of above content, be necessary to provide a kind of BMC loop test mode, can realize that the automatic cycle of BMC power source aging test under the communication environment detects.
In view of above content, also be necessary to provide a kind of BMC loop test system, can realize that the automatic cycle of BMC power source aging test under the communication environment detects
Described BMC loop test mode, the method may further comprise the steps: the control step 1: the serial ports transmitted signal of control computing machine is to electronic switch, and described electronic switch connects this computing machine and server; Monitoring step: when electronic switch receives this pulse signal, trigger the power supply opening of server, and the startup situation by BMC in the port monitor server on the server, when the success of remote access BMC in preset value, judge when BMC successfully starts, carry out the control step 2, otherwise carry out step display; Control step 2: again control the serial ports transmitted signal of computing machine to electronic switch; Determining step: when electronic switch receives this pulse signal, trigger the power-off of server, judge whether the loop test number of times has reached predetermined value, when the loop test number of times has reached predetermined value, carry out step display, otherwise, return and continue to carry out the control step 1; Step display: detecting information is shown on the computer screen.
Described BMC loop test system, this system comprises: control module, be used for the serial ports transmitted signal of control computing machine to electronic switch, described electronic switch connects this computing machine and server; Monitoring modular, be used for when electronic switch receives this pulse signal, trigger the power supply opening of server, and by BMC in the port monitor server on the server, according to whether remote access BMC judges successfully whether BMC successfully starts in preset value in preset value; Judge module is used for judging whether the loop test number of times has reached predetermined value when electronic switch receives the power-off of pulse signal triggering server again; Display module is used for when remote access BMC failure or loop test number of times have reached predetermined value detecting information being shown on the computer screen.
Compared to prior art, described BMC loop test mode and system can realize that the automatic cycle of BMC power source aging test under the communication environment detects, and avoid manually-operated fully, can effectively improve testing efficiency.
Description of drawings
Fig. 1 is the Organization Chart of BMC loop test of the present invention system preferred embodiment.
Fig. 2 is the functional block diagram of BMC loop test of the present invention system preferred embodiment.
Fig. 3 is the process flow diagram of BMC loop test mode of the present invention preferred embodiment.
The main element symbol description
Computing machine 1
BMC loop test system 10
Display screen 11
Electronic switch 2
Server 3
BMC 30
Control module 100
Monitoring modular 101
Judge module 102
Display module 103
Following embodiment further specifies the present invention in connection with above-mentioned accompanying drawing.
Embodiment
As shown in Figure 1, be the Organization Chart of BMC loop test of the present invention system preferred embodiment.
BMC loop test system 10 runs in the computing machine 1, and this computing machine 1 connects display screen 11 and electronic switch 2.Described electronic switch 2 is connected to server 3, comprises chip BMC30 in the described server 3.Described electronic switch 2 is connected to the power supply of server 3, can realize the opening and closing of server 3 power supplys by electronic switch 2.
As shown in Figure 2, be the functional block diagram of BMC loop test of the present invention system preferred embodiment.
Described BMC loop test system 10 comprises control module 100, monitoring modular 101, judge module 102, display module 103.
Described control module 100 is used for the serial ports transmitted signal of control computing machine 1 to electronic switch 2.
Behind described electronic switch 2 return pulse signals, electronic switch 2 is opened, and trigger simultaneously server 3+alternating current path of 220V opens.Server 3+after the alternating current path of 220V was opened, described server 3 powered on and automatically starts, and starts simultaneously BMC30.Described server 3 has following function: need only one and power on, just can automatically start, do not need to do extra action.
But the time that server 3 starts is not fixed, and duration is arranged, and is sometimes short, so server 3 normal startups have a time range.Add the regular hour value on the peaked basis of scope at this moment, thereby form a time empirical value.
BMC30 is the chip piece on the server 3, after server 3 powers on, at first is that BMC30 starts, and then starts the BIOS chip of server 3.If so BMC30 starts, then server 3 necessarily starts.
Described monitoring modular 101 starts situation for monitoring BMC30 by the RJ45 port on the server 3, and judges whether remote access BMC30 is successful in preset value.
The interface of BMC30 is the RJ45 port, and the outward appearance of the RJ45 port of BMC30 is the same with network interface card RJ45 port.BMC30 also has MAC Address and IP address, can access BMC30 as accessed web page.After BMC30 starts, just can use the function of BMC30, such as setting up long-range the connection with BMC30.And BMC30 is when being not activated, and is the function that can not use BMC30.Described monitoring modular 101 judges whether remote access BMC30 judges namely successfully whether computing machine 1 can set up long-range the connection with BMC30.When computing machine 1 can be set up long-range the connection with BMC30, remote access BMC30 success namely is described, illustrate that then BMC30 successfully starts.
Described monitoring modular 101 judges whether server 3 can start, and this time empirical value is preset value in above-mentioned time empirical value.When the success of remote access BMC30 in described time empirical value, can judge that then BMC30 can start in preset value.
Described control module 100 also is used for after the remote access BMC30 success, controlling the serial ports transmitted signal of computing machine 1 to electronic switch 2 in preset value.
Behind described electronic switch 2 return pulse signals, electronic switch 2 cuts out, and trigger simultaneously server 3+alternating current path of 220V closes.
The pulse signal of described control module 100 twice transmission is identical, but effect is different.Described pulse signal can be realized the switching of electronic switch state, and when electronic switch 2 was in closed condition, pulse signal can trigger electronic switch 2 and open, and when electronic switch 2 was in open mode, pulse signal can trigger electronic switch 2 and close.Carry before the present invention into, electronic switch 2 is in closed condition.
Described judge module 102 is used for judging whether the loop test number of times has reached predetermined value.Described predetermined value is the predefined number of times that needs loop test BMC30 of user.
Above the serial ports transmitted signal of described control module 100 twice control computing machine 1 is to electronic switch 2, for the first time so that server 3+alternating current path of 220V opens, for the second time so that server 3+alternating current path of 220V closes.It is a circulation that such alternating current path is opened the process of closing again.
Described display module 103 is used for detecting information being shown on the display screen 11 of computing machine 1 when remote access BMC30 failure or loop test number of times have reached predetermined value.
When remote access BMC30 when failure, when the detecting information that described display module 103 shows is successful execution how many times loop test, each remote access success consuming time, when carrying out which time loop test, unsuccessfully wait information; When the loop test number of times has reached predetermined value, the information such as consuming time when the detecting information that described display module 103 shows is successful execution how many times loop test, each remote access success.
As shown in Figure 3, be the process flow diagram of BMC loop test mode of the present invention preferred embodiment.
Step S100, the serial ports transmitted signal of described control module 100 control computing machines 1 is to electronic switch 2.
Behind described electronic switch 2 return pulse signals, electronic switch 2 is opened, and trigger simultaneously server 3+alternating current path of 220V opens.After this alternating current path was opened, described server 3 started when powering on automatically, and started BMC30.
But the time that server 3 starts is not fixed, and duration is arranged, and is sometimes short, so server 3 normal startups have a time range.Add the regular hour value on the peaked basis of scope at this moment, thereby form a time empirical value.
Step S101, described monitoring modular 101 starts situation by the monitoring of the RJ45 port on the server 3 BMC30, and judges whether remote access BMC30 is successful in preset value.When the success of remote access BMC30 in preset value, execution in step S102, otherwise, execution in step S104.This preset value namely is described time empirical value.
After BMC30 starts, just can use the function of BMC30, such as setting up long-range the connection with BMC30.And BMC30 is when being not activated, and is the function that can not use BMC30.When computing machine 1 can be set up long-range the connection with BMC30, remote access BMC30 success namely is described, illustrate that then BMC30 successfully starts.
Step S102, the serial ports transmitted signal of described control module 100 control computing machines 1 is to electronic switch 2.
Behind described electronic switch 2 return pulse signals, electronic switch 2 cuts out, and trigger simultaneously server 3+alternating current path of 220V closes.
Step S103, described judge module 102 judge whether the loop test number of times has reached predetermined value.When the loop test number of times has reached predetermined value, execution in step S104, otherwise, return and continue execution in step S100.Described predetermined value is the predefined number of times that needs loop test BMC30 of user.
Above the serial ports transmitted signal of the 100 twice control computing machine 1 of control module described in step S100 and the step S102 is to electronic switch 2, for the first time so that server 3+alternating current path of 220V opens, for the second time so that server 3+alternating current path of 220V closes.It is a circulation that such alternating current path is opened the process of closing again.
Step S104, described display module 103 is shown in detecting information on the display screen 11 of computing machine 1.
When remote access BMC30 when failure, when the detecting information that described display module 103 shows is successful execution how many times loop test, each remote access success consuming time, when carrying out which time loop test, unsuccessfully wait information; When the loop test number of times has reached predetermined value, the information such as consuming time when the detecting information that described display module 103 shows is successful execution how many times loop test, each remote access success.
Above embodiment is only unrestricted in order to technical scheme of the present invention to be described, although with reference to preferred embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that, can make amendment or be equal to replacement technical scheme of the present invention, and not break away from the spirit and scope of technical solution of the present invention.

Claims (10)

1. a BMC loop test mode is characterized in that, the method comprising the steps of:
The control step 1: the serial ports transmitted signal of control computing machine is to electronic switch, and described electronic switch connects this computing machine and server;
Monitoring step: when electronic switch receives this pulse signal, trigger the power supply opening of server, and the startup situation by BMC in the port monitor server on the server, when the success of remote access BMC in preset value, judge when BMC successfully starts, carry out the control step 2, otherwise carry out step display;
Control step 2: again control the serial ports transmitted signal of computing machine to electronic switch;
Determining step: when electronic switch receives this pulse signal, trigger the power-off of server, judge whether the loop test number of times has reached predetermined value, when the loop test number of times has reached predetermined value, carry out step display, otherwise, return and continue to carry out the control step 1;
Step display: detecting information is shown on the computer screen.
2. BMC loop test mode as claimed in claim 1 is characterized in that, in described monitoring step, behind the power supply opening of server, at first is that BMC starts, and then is the BIOS chip enable of server.
3. BMC loop test mode as claimed in claim 1 is characterized in that, described preset value is for adding that on the peaked basis of the time range of startup of server the regular hour value forms.
4. BMC loop test mode as claimed in claim 1 is characterized in that, a loop test refers to that the power supply of server is by opening again to the process of closing.
5. BMC loop test mode as claimed in claim 1 is characterized in that, described step display comprises:
When remote access BMC failure, the information consuming time, failure when carrying out which time loop test the when detecting information of demonstration is the loop test number of times of successful execution, each remote access success;
When the loop test number of times has reached predetermined value, the information consuming time when the detecting information of demonstration is the loop test number of times of successful execution, each remote access success.
6. a BMC loop test system is characterized in that, this system comprises:
Control module is used for the serial ports transmitted signal of control computing machine to electronic switch, and described electronic switch connects this computing machine and server;
Monitoring modular, be used for when electronic switch receives this pulse signal, trigger the power supply opening of server, and by BMC in the port monitor server on the server, according to whether remote access BMC judges successfully whether BMC successfully starts in preset value in preset value;
Judge module is used for judging whether the loop test number of times has reached predetermined value when electronic switch receives the power-off of pulse signal triggering server again;
Display module is used for when remote access BMC failure or loop test number of times have reached predetermined value detecting information being shown on the computer screen.
7. BMC loop test as claimed in claim 6 system is characterized in that, behind the power supply opening of server, at first is that BMC starts, and then is the BIOS chip enable of server.
8. BMC loop test as claimed in claim 6 system is characterized in that, described preset value is for adding that on the peaked basis of the time range of startup of server the regular hour value forms.
9. BMC loop test as claimed in claim 6 system is characterized in that, a loop test refers to that the power supply of server is by opening again to the process of closing.
10. BMC loop test as claimed in claim 6 system is characterized in that, the information that described display module shows comprises:
When remote access BMC failure, the information consuming time, failure when carrying out which time loop test the when detecting information of demonstration is the loop test number of times of successful execution, each remote access success;
When the loop test number of times has reached predetermined value, the information consuming time when the detecting information of demonstration is the loop test number of times of successful execution, each remote access success.
CN2011102179582A 2011-08-01 2011-08-01 BMC (baseboard management controller) loop test method and system Pending CN102915265A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2011102179582A CN102915265A (en) 2011-08-01 2011-08-01 BMC (baseboard management controller) loop test method and system
TW100128082A TW201308071A (en) 2011-08-01 2011-08-05 Method and system for BMC looping test

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011102179582A CN102915265A (en) 2011-08-01 2011-08-01 BMC (baseboard management controller) loop test method and system

Publications (1)

Publication Number Publication Date
CN102915265A true CN102915265A (en) 2013-02-06

Family

ID=47613638

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011102179582A Pending CN102915265A (en) 2011-08-01 2011-08-01 BMC (baseboard management controller) loop test method and system

Country Status (2)

Country Link
CN (1) CN102915265A (en)
TW (1) TW201308071A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120304011A1 (en) * 2011-05-23 2012-11-29 Hon Hai Precision Industry Co., Ltd. Server and power supply test method
CN105371887A (en) * 2014-08-14 2016-03-02 全智科技股份有限公司 Multi-station circulation testing device
CN105589041A (en) * 2015-12-09 2016-05-18 上海斐讯数据通信技术有限公司 Test method and test device for battery under-voltage discharge protection circuit
CN105700995A (en) * 2016-01-19 2016-06-22 浪潮电子信息产业股份有限公司 Method of detecting validity of server intrusion switch intruder
CN108982137A (en) * 2018-05-28 2018-12-11 北京安控科技股份有限公司 A kind of RTU starting fatigue experimental device and method
CN109408154A (en) * 2018-11-02 2019-03-01 郑州云海信息技术有限公司 The method and device for closing network interface card network interface function is automatically opened under a kind of Linux system
CN114184866A (en) * 2021-12-07 2022-03-15 深圳友讯达科技股份有限公司 Automatic cycle power-on test method and test device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070169088A1 (en) * 2006-01-13 2007-07-19 Dell Products, L.P. Automatic firmware corruption recovery and update
CN101291261A (en) * 2008-04-28 2008-10-22 华为技术有限公司 Method and system for in-board device testing
CN101471820A (en) * 2007-12-28 2009-07-01 英业达股份有限公司 Test method for substrate management controller
CN101576842A (en) * 2008-05-07 2009-11-11 英业达股份有限公司 System and method for monitoring baseboard management controller
CN101741557A (en) * 2008-11-18 2010-06-16 财团法人工业技术研究院 Hierarchical key-based access control system and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070169088A1 (en) * 2006-01-13 2007-07-19 Dell Products, L.P. Automatic firmware corruption recovery and update
CN101471820A (en) * 2007-12-28 2009-07-01 英业达股份有限公司 Test method for substrate management controller
CN101291261A (en) * 2008-04-28 2008-10-22 华为技术有限公司 Method and system for in-board device testing
CN101576842A (en) * 2008-05-07 2009-11-11 英业达股份有限公司 System and method for monitoring baseboard management controller
CN101741557A (en) * 2008-11-18 2010-06-16 财团法人工业技术研究院 Hierarchical key-based access control system and method

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120304011A1 (en) * 2011-05-23 2012-11-29 Hon Hai Precision Industry Co., Ltd. Server and power supply test method
US8886998B2 (en) * 2011-05-23 2014-11-11 Hong Fu Jin Precision Industry (Shenzhen) Co., Ltd. Server and power supply test method
CN105371887A (en) * 2014-08-14 2016-03-02 全智科技股份有限公司 Multi-station circulation testing device
CN105371887B (en) * 2014-08-14 2017-08-29 全智科技股份有限公司 Multi-station cyclic test device
CN105589041A (en) * 2015-12-09 2016-05-18 上海斐讯数据通信技术有限公司 Test method and test device for battery under-voltage discharge protection circuit
CN105700995A (en) * 2016-01-19 2016-06-22 浪潮电子信息产业股份有限公司 Method of detecting validity of server intrusion switch intruder
CN108982137A (en) * 2018-05-28 2018-12-11 北京安控科技股份有限公司 A kind of RTU starting fatigue experimental device and method
CN109408154A (en) * 2018-11-02 2019-03-01 郑州云海信息技术有限公司 The method and device for closing network interface card network interface function is automatically opened under a kind of Linux system
CN114184866A (en) * 2021-12-07 2022-03-15 深圳友讯达科技股份有限公司 Automatic cycle power-on test method and test device

Also Published As

Publication number Publication date
TW201308071A (en) 2013-02-16

Similar Documents

Publication Publication Date Title
CN102915265A (en) BMC (baseboard management controller) loop test method and system
US9170618B2 (en) Power management circuit, server, and power management method thereof
US7302352B2 (en) Method and system for providing dying gasp support for a network component
TWI495297B (en) Process, computer readable media, and system for device power management using network connections
CN102387022A (en) Power over Ethernet method and device
CN106055440B (en) A kind of test method and system for realizing server exception power-off by BMC
CN104899120A (en) Server stability test method based on BMC startup and shutdown functions
CN103051490A (en) Method for carrying out startup and shutdown testing on blade server
WO2016197685A1 (en) Method and device for controlling power supply to chip, and communication device
US20150006930A1 (en) Systems and Methods for Power Management
CN105807848A (en) Touch industrial personal computer
CN101772140A (en) Self-adaption energy saving method and business system having self-adaption energy saving function
CN102354261A (en) Remote control system for power supply switches of machine room servers
US8453012B2 (en) System and method for communicating information relating to powered device power interruption and associated power sourcing equipment fallback power
CN101930382B (en) Method, circuit and terminal for starting terminal with memory
CN204633817U (en) A kind of remote desktop control system
CN103973508A (en) Node equipment and method for same entering and exiting energy-saving mode
CN104423530B (en) Mobile device electricity-saving control method, device and mobile device, host terminal
CN102819474B (en) Test method and device for system operation
CN104898070A (en) Power supply test method and device
CN115695060B (en) Power-off protection method, device, equipment and storage medium
CN201038741Y (en) Power management circuit and TV possessing the management circuit
CN102480359B (en) Power supply method for providing power to multiple servers
CN102594575A (en) System and method of controlling sleep and awakening of server
CN102810840B (en) Voltage protection 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
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20130206