CN104899120A - Server stability testing method based on BMC (baseboard management controller) startup and shutdown functions - Google Patents

Server stability testing method based on BMC (baseboard management controller) startup and shutdown functions Download PDF

Info

Publication number
CN104899120A
CN104899120A CN201510277538.1A CN201510277538A CN104899120A CN 104899120 A CN104899120 A CN 104899120A CN 201510277538 A CN201510277538 A CN 201510277538A CN 104899120 A CN104899120 A CN 104899120A
Authority
CN
China
Prior art keywords
server
tested
system control
bmc
linux system
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
CN201510277538.1A
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 CN201510277538.1A priority Critical patent/CN104899120A/en
Publication of CN104899120A publication Critical patent/CN104899120A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention particularly relates to a server stability testing method based on a BMC (baseboard management controller) power-on and power-off function. The server stability testing method based on the BMC startup and shutdown function is characterized in that a linux system control end is connected with a network port of a server to be tested of a tested end, a switch is further connected between the linux system control end and the server to be tested, and the network port of the server to be tested is a BMC port; and starting a test program, wherein the test program automatically controls the power supply starting action of the server to carry out unattended cycle test. The server stability testing method based on the BMC power on/off function is simple to operate, does not need to use special power on/off equipment, has better usability, greatly saves testing time and improves testing efficiency; the invention is suitable for all servers with BMC management function, basically has no requirement on an operating system, has good performance in the test process, and can well complete the test task.

Description

A kind of server stability test method based on BMC power on/off function
Technical field
The present invention relates to server stability test technical field, particularly a kind of server stability test method based on BMC power on/off function.
Background technology
Along with the fast development of server industries, increasing client starts to be partial to buy the core application of large batch of server as oneself.Server in batch be deployed in machine room, due to One's name is legion, will manage them, traditional unit way to manage is obviously not too applicable, and usual user can adopt the long-range unified mode controlled.And for server, stability is most important, if server can not ensure the needs of service operation in stability, higher performance is also useless.Therefore, carrying out test to the stability of server is be necessary very much, and very important.
IPMI is the abbreviation of intelligent platform management interface (Intelligent Platform Management Interface), is a kind of industrial standard that the peripherals used in the business system of management based on Intel structure adopts.IPMI (IPMI), as a kind of hardware management interface specification of open standard, defines the ad hoc approach that embedded management subsystem carries out communicating.
The core of IPMI is a special chip/controller BMC(Baseboard Management Controller, baseboard management controller).BMC does not also rely on the processor of server, BIOS or operating system and carrys out work, is independent in the extreme, be one run in system separately without proxy management subsystem, as long as there is BMC and IPMI firmware, it just can be started working.And a BMC normally independently board be arranged on server master board, also have now server master board provide to IPMI support.IPMI information is exchanged by baseboard management controller BMC, use low-level hardware intelligent management and do not use operating system to manage, overcome in the past based on operating system way to manage suffered by restriction, have two major advantages: first, this configuration allows to carry out being with outer server admin; Secondly, operating system need not the task of bearing transport system state data.
Operationally, all IPMI functions all send order to BMC and have come, and order uses the instruction specified in IPMI specification, BMC receive and in System Event Log recording events message, safeguard the Sensor Data Record of sensor situation in descriptive system.When needs remote access system, on the LAN that IPMI is new, serial (SOL) characteristic is very useful.SOL changes local serial ports direction of transfer in IPMI conversation procedure, thus provides the remote access to urgent management service, Windows dedicated management control desk or Linux serial console.BMC accomplishes this point by changing the direction sending the information of serial port on LAN, provide a kind of have nothing to do with manufacturer long-range check starts, operating system loader or promptly supervisor console diagnose and the standard mode of maintenance failure.
For the existing issue in existing Server Restart test process, the present invention proposes a kind of server stability test method based on BMC power on/off function.Be intended to by improving operation condition of server judgment mode, the mode of use the most simply, simplifying most carries out server stability test.
Summary of the invention
The present invention, in order to make up the defect of prior art, provides a kind of simple to operate, does not need the server stability test method based on BMC power on/off function by other switches and equipment.
The present invention is achieved through the following technical solutions:
A kind of server stability test method based on BMC power on/off function, it is characterized in that: the network interface of Linux system control end with the server to be measured of tested end is connected, also be connected with a switch between Linux system control end and server to be measured, the network interface of described server to be measured is BMC port; Start test procedure, the power supply boot action of the automatic Control Server of test procedure, carries out unattended loop test.
Described test procedure comprises following steps:
(1) shutdown programm is automatically performed after described tested end start enters operating system;
(2) described Linux system control end detects the open state of tested end;
(3) when Linux system control end detects that tested end is in open state, perform step (2), again detect the open state of tested end; When Linux system control end detects that tested end is in off-mode, Linux system control end sends power-on command;
(4) tested termination is started shooting after receiving power-on command;
(5) when tested end start number of times arrives predetermined value, test terminates; When tested end start number of times does not reach predetermined value, perform step (2), Linux system control end detects the open state of tested end again.
In described step (3), when Linux system control end detects that tested end is in open state, wait for after 20 seconds, again detect the open state of tested end; When Linux system control end detects that tested end is in off-mode, Linux system control end utilizes IPMI to send power-on command.
In described step (5), described predetermined value is the start number of times starting to test pre-editing, when tested end start number of times does not reach predetermined value, after Linux system control end waits for 20 seconds, again detects the open state of tested end.
The invention has the beneficial effects as follows: should based on the server stability test method of BMC power on/off function, simple to operate, do not need, by special switching on and shutting down equipment, to there is good ease for use, greatly save the test duration, improve testing efficiency; And the present invention is applicable to all servers with BMC management function, to the basic no requirement (NR) of operating system, in test process, performance is good, can be good at test assignment.
Accompanying drawing explanation
Accompanying drawing 1 is for the present invention is based on the server stability test method logic flow schematic diagram of BMC power on/off function.
Embodiment
Below in conjunction with accompanying drawing, the present invention is described in detail.
Should based on the server stability test method of BMC power on/off function, the network interface of Linux system control end with the server to be measured of tested end is connected, also be connected with a switch between Linux system control end and server to be measured, the network interface of described server to be measured is BMC port; Start test procedure, the power supply boot action of the automatic Control Server of test procedure, carries out unattended loop test.
Described test procedure comprises following steps:
(1) shutdown programm is automatically performed after described tested end start enters operating system;
(2) described Linux system control end detects the open state of tested end;
(3) when Linux system control end detects that tested end is in open state, perform step (2), again detect the open state of tested end; When Linux system control end detects that tested end is in off-mode, Linux system control end sends power-on command;
(4) tested termination is started shooting after receiving power-on command;
(5) when tested end start number of times arrives predetermined value, test terminates; When tested end start number of times does not reach predetermined value, perform step (2), Linux system control end detects the open state of tested end again.
In described step (3), when Linux system control end detects that tested end is in open state, wait for after 20 seconds, again detect the open state of tested end; When Linux system control end detects that tested end is in off-mode, Linux system control end utilizes IPMI to send power-on command.
In described step (5), described predetermined value is 1000, when tested end start number of times does not reach predetermined value, after Linux system control end waits for 20 seconds, again detects the open state of tested end.

Claims (4)

1. the server stability test method based on BMC power on/off function, it is characterized in that: the network interface of Linux system control end with the server to be measured of tested end is connected, also be connected with a switch between Linux system control end and server to be measured, the network interface of described server to be measured is BMC port; Start test procedure, the power supply boot action of the automatic Control Server of test procedure, carries out unattended loop test.
2. the server stability test method based on BMC power on/off function according to claim 1, is characterized in that: described test procedure comprises following steps:
(1) shutdown programm is automatically performed after described tested end start enters operating system;
(2) described Linux system control end detects the open state of tested end;
(3) when Linux system control end detects that tested end is in open state, perform step (2), again detect the open state of tested end; When Linux system control end detects that tested end is in off-mode, Linux system control end sends power-on command;
(4) tested termination is started shooting after receiving power-on command;
(5) when tested end start number of times arrives predetermined value, test terminates; When tested end start number of times does not reach predetermined value, perform step (2), Linux system control end detects the open state of tested end again.
3. the server stability test method based on BMC power on/off function according to claim 2, it is characterized in that: in described step (3), when Linux system control end detects that tested end is in open state, wait for after 20 seconds, again detect the open state of tested end; When Linux system control end detects that tested end is in off-mode, Linux system control end utilizes IPMI to send power-on command.
4. the server stability test method based on BMC power on/off function according to claim 2, it is characterized in that: in described step (5), described predetermined value is the start number of times starting to test pre-editing, when tested end start number of times does not reach predetermined value, after Linux system control end waits for 20 seconds, again detect the open state of tested end.
CN201510277538.1A 2015-05-27 2015-05-27 Server stability testing method based on BMC (baseboard management controller) startup and shutdown functions Pending CN104899120A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510277538.1A CN104899120A (en) 2015-05-27 2015-05-27 Server stability testing method based on BMC (baseboard management controller) startup and shutdown functions

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510277538.1A CN104899120A (en) 2015-05-27 2015-05-27 Server stability testing method based on BMC (baseboard management controller) startup and shutdown functions

Publications (1)

Publication Number Publication Date
CN104899120A true CN104899120A (en) 2015-09-09

Family

ID=54031797

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510277538.1A Pending CN104899120A (en) 2015-05-27 2015-05-27 Server stability testing method based on BMC (baseboard management controller) startup and shutdown functions

Country Status (1)

Country Link
CN (1) CN104899120A (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105446861A (en) * 2015-11-11 2016-03-30 浪潮电子信息产业股份有限公司 Linux-based IPMI (intelligent platform management interface) interface load stability monitoring method
CN105653408A (en) * 2015-12-25 2016-06-08 浪潮电子信息产业股份有限公司 Test method for POWER CYCLE startup and shutdown based on BMC IPMITOOL command single-node batch control
CN105912431A (en) * 2016-04-01 2016-08-31 浪潮电子信息产业股份有限公司 Reboot testing method of server, server, control device and system
CN106055440A (en) * 2016-05-31 2016-10-26 深圳市国鑫恒宇科技有限公司 Testing method and system for realizing abnormal power failure of server through BMC
CN106155784A (en) * 2016-01-22 2016-11-23 浪潮电子信息产业股份有限公司 Method and device for automatically switching IPMI network port working mode
CN106598793A (en) * 2016-12-13 2017-04-26 郑州云海信息技术有限公司 Test system and method based on BIOS serial port log data
CN106789216A (en) * 2016-12-12 2017-05-31 郑州云海信息技术有限公司 A kind of detection method, apparatus and system
CN107294805A (en) * 2017-06-23 2017-10-24 郑州云海信息技术有限公司 A kind of method of testing network communication stability, apparatus and system
CN107332734A (en) * 2017-07-03 2017-11-07 上海斐讯数据通信技术有限公司 A kind of method of testing and system of wireless module robustness
CN107943637A (en) * 2017-12-07 2018-04-20 郑州云海信息技术有限公司 A kind of mains cycle test device and method based on IPMI platforms
CN107957901A (en) * 2017-11-24 2018-04-24 郑州云海信息技术有限公司 A kind of method for capturing test node start daily record
CN109802867A (en) * 2019-01-02 2019-05-24 郑州云海信息技术有限公司 A kind of method and system for testing network interface card NCSI connective stability
CN110471799A (en) * 2018-05-11 2019-11-19 佛山市顺德区顺达电脑厂有限公司 Server test method
CN110932886A (en) * 2019-11-15 2020-03-27 苏州浪潮智能科技有限公司 Method and system for automatically testing network performance of server and SOL testing device
CN111966570A (en) * 2020-07-25 2020-11-20 芯发威达电子(上海)有限公司 Unmanned self-testing method and system for industrial personal computer and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050060529A1 (en) * 2003-09-04 2005-03-17 Chih-Wei Chen Remote reboot method and system for network-linked computer platform
CN101727368A (en) * 2008-10-23 2010-06-09 英业达股份有限公司 On/off test method and on/off test system
CN102937927A (en) * 2011-08-15 2013-02-20 鸿富锦精密工业(深圳)有限公司 Method and system for testing stability of server
CN103051490A (en) * 2012-11-26 2013-04-17 浪潮电子信息产业股份有限公司 Method for carrying out startup and shutdown testing on blade server
CN104268045A (en) * 2014-09-29 2015-01-07 浪潮电子信息产业股份有限公司 Testing method for startup and shutdown in remote control system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050060529A1 (en) * 2003-09-04 2005-03-17 Chih-Wei Chen Remote reboot method and system for network-linked computer platform
CN101727368A (en) * 2008-10-23 2010-06-09 英业达股份有限公司 On/off test method and on/off test system
CN102937927A (en) * 2011-08-15 2013-02-20 鸿富锦精密工业(深圳)有限公司 Method and system for testing stability of server
CN103051490A (en) * 2012-11-26 2013-04-17 浪潮电子信息产业股份有限公司 Method for carrying out startup and shutdown testing on blade server
CN104268045A (en) * 2014-09-29 2015-01-07 浪潮电子信息产业股份有限公司 Testing method for startup and shutdown in remote control system

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105446861A (en) * 2015-11-11 2016-03-30 浪潮电子信息产业股份有限公司 Linux-based IPMI (intelligent platform management interface) interface load stability monitoring method
CN105653408A (en) * 2015-12-25 2016-06-08 浪潮电子信息产业股份有限公司 Test method for POWER CYCLE startup and shutdown based on BMC IPMITOOL command single-node batch control
CN106155784A (en) * 2016-01-22 2016-11-23 浪潮电子信息产业股份有限公司 Method and device for automatically switching IPMI network port working mode
CN105912431A (en) * 2016-04-01 2016-08-31 浪潮电子信息产业股份有限公司 Reboot testing method of server, server, control device and system
CN106055440B (en) * 2016-05-31 2019-08-20 深圳市同泰怡信息技术有限公司 A kind of test method and system for realizing server exception power-off by BMC
CN106055440A (en) * 2016-05-31 2016-10-26 深圳市国鑫恒宇科技有限公司 Testing method and system for realizing abnormal power failure of server through BMC
CN106789216A (en) * 2016-12-12 2017-05-31 郑州云海信息技术有限公司 A kind of detection method, apparatus and system
CN106598793A (en) * 2016-12-13 2017-04-26 郑州云海信息技术有限公司 Test system and method based on BIOS serial port log data
CN107294805A (en) * 2017-06-23 2017-10-24 郑州云海信息技术有限公司 A kind of method of testing network communication stability, apparatus and system
CN107332734A (en) * 2017-07-03 2017-11-07 上海斐讯数据通信技术有限公司 A kind of method of testing and system of wireless module robustness
CN107957901A (en) * 2017-11-24 2018-04-24 郑州云海信息技术有限公司 A kind of method for capturing test node start daily record
CN107943637A (en) * 2017-12-07 2018-04-20 郑州云海信息技术有限公司 A kind of mains cycle test device and method based on IPMI platforms
CN110471799B (en) * 2018-05-11 2023-06-06 佛山市顺德区顺达电脑厂有限公司 Server testing method
CN110471799A (en) * 2018-05-11 2019-11-19 佛山市顺德区顺达电脑厂有限公司 Server test method
CN109802867A (en) * 2019-01-02 2019-05-24 郑州云海信息技术有限公司 A kind of method and system for testing network interface card NCSI connective stability
CN109802867B (en) * 2019-01-02 2022-04-26 郑州云海信息技术有限公司 Method and system for testing connection stability of network card NCSI
CN110932886A (en) * 2019-11-15 2020-03-27 苏州浪潮智能科技有限公司 Method and system for automatically testing network performance of server and SOL testing device
CN111966570A (en) * 2020-07-25 2020-11-20 芯发威达电子(上海)有限公司 Unmanned self-testing method and system for industrial personal computer and electronic equipment

Similar Documents

Publication Publication Date Title
CN104899120A (en) Server stability testing method based on BMC (baseboard management controller) startup and shutdown functions
CN107885686B (en) System and method for controlling restart of single hard disk by adopting BMC
CN103051490A (en) Method for carrying out startup and shutdown testing on blade server
JP2017224272A (en) Hardware failure recovery system
CN107277193B (en) Method, device and system for managing address of baseboard management controller
CN106055440B (en) A kind of test method and system for realizing server exception power-off by BMC
TW201500935A (en) System and method of controlling shutdown and booting of servers
CN107943637A (en) A kind of mains cycle test device and method based on IPMI platforms
CN102354261A (en) Remote control system for power supply switches of machine room servers
CN103926992A (en) Power management circuit, server and power management method thereof
CN101877640A (en) Power control system of server
CN110769051B (en) Embedded server remote management system and method based on domestic processor
CN104270430A (en) Server remote dispatching method suitable for cloud computing
CN113325940A (en) Power consumption control method, system, terminal and storage medium of intelligent device
CN113609051A (en) Hot plug method, system, device and computer storage medium for expansion board
CN102915265A (en) BMC (baseboard management controller) loop test method and system
CN104898070A (en) Power supply test method and device
CN102819474B (en) Test method and device for system operation
JP6583942B1 (en) BMC, determination method and BMC firmware
CN116028123A (en) Method and system for safely switching on and switching off server
CN116483613A (en) Processing method and device of fault memory bank, electronic equipment and storage medium
CN111475352A (en) JBOD interface testing device and method
CN110389643B (en) Server and remote control method thereof
WO2016045363A1 (en) Method for cpu to control wifi module via hsic bus interface
CN100559761C (en) Network testing device and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination