CN101741577A - Method and system for testing baseboard management controller - Google Patents

Method and system for testing baseboard management controller Download PDF

Info

Publication number
CN101741577A
CN101741577A CN200810176236A CN200810176236A CN101741577A CN 101741577 A CN101741577 A CN 101741577A CN 200810176236 A CN200810176236 A CN 200810176236A CN 200810176236 A CN200810176236 A CN 200810176236A CN 101741577 A CN101741577 A CN 101741577A
Authority
CN
China
Prior art keywords
management controller
baseboard management
measured
power supply
supply control
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
CN200810176236A
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.)
Inventec Corp
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to CN200810176236A priority Critical patent/CN101741577A/en
Publication of CN101741577A publication Critical patent/CN101741577A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The invention discloses a method and a system for testing a baseboard management controller, which are suitable to be used for testing the baseboard management controller of a device to be tested by using remote host computer and a remote power supply control device through a network. The power-on and power-off test method comprises: controlling the remote power supply control device to render a power wire which is connected between the remote power supply control device and the device to be tested in a closed-circuit state; and initializing the baseboard management controller. The method also comprises judging if the baseboard management controller is successfully initialized, wherein when the baseboard management controller is successfully initialized, the remote power supply control device is controlled to render the power wire in an open-circuit state; and when the baseboard management controller is not initialized successfully, an error signal is output. Thus, the baseboard management controller of the device to be tested can be effectively tested by remote control.

Description

The method of testing and the test macro thereof that are used for baseboard management controller
Technical field
The invention relates to a kind of method of testing and use the test macro of the method, but and particularly relevant for a kind of baseboard management controller that is used to test device to be measured whether normal operation method of testing and use the test macro of the method.
Background technology
Along with the progress of computer science and technology, people use information equipment to replace the artificial operation of tradition gradually.When daily or work affairs were information-based all, people had presented the highly state of dependence for information equipment.Therefore, in case information equipment can't will produce serious influence during normal operation.Particularly, for the industrial society of stressing time efficiency,, will cause irreparable harm for goodwill and the credit of manufacturer, even need to face the reparations of huge volume in case the production line of production firm can't normal operation and punctual delivery when giving the client.
In order to come the state of monitor message equipment with remote mode, many server hosts all have baseboard management controller (Baseboard Management Controller, BMC).Baseboard management controller is a kind ofly to manage whole system (that is device to be measured) by various interfaces.For example, system is carried out state-detection and event filtering, power management, recording events time of origin and system's answer control, and send the incident that is detected to main control system through network or serial port.Therefore, for the user with remote mode management server main frame, the stability of baseboard management controller and reliability are its problems of paying close attention to.
In order to guarantee the reliable and stable of baseboard management controller, after the production of finishing the information equipment that uses baseboard management controller, the factory chamber of commerce of information equipment carries out a pressure test to the baseboard management controller of these a little information equipments.For example, the test man can carry out repeatedly the baseboard management controller of these a little information equipments and send the action of electricity with outage, and confirms whether baseboard management controller can send running normally under the electricity.Particularly, this send the electricity and the action of outage to carry out repeatedly more than 24 hours.Therefore yet above-mentioned test program must be carried out a period of time repeatedly, is very labor intensive and time with the manual type operation.Therefore, the method that needs development one cover can carry out above-mentioned test program is efficiently arranged.
Summary of the invention
In view of this, the invention provides a kind of method of testing, it can promote the efficient of test base Management Controller effectively.
The invention provides a kind of on-off testing system, it can carry out the test of baseboard management controller in efficient mode.
The present invention proposes a kind of method for testing open/close machine, be applicable to by distance host see through network and remote power supply control device test the baseboard management controller of at least one device to be measured (Baseboard ManagementController, BMC).This method for testing open/close machine comprises: (a) control remote power supply control device makes the power line that is connected between remote power supply control device and the device to be measured become channel status; (b) initialization baseboard management controller; (c) judge whether baseboard management controller can normally operate, execution in step (d) when baseboard management controller can normally operate wherein, and when baseboard management controller can't normally operate, export a rub-out signal and (d) control remote power supply control device make power line become off state.
In one embodiment of this invention, the above-mentioned step of judging whether baseboard management controller can normally operate is to finish by reading device identification code (the Get Device ID) instruction of baseboard management controller being carried out baseboard management controller.
In one embodiment of this invention, above-mentioned method of testing also comprises in the given time automatically repeated execution of steps (a), step (b), step (c) and step (d).
In one embodiment of this invention, above-mentioned method of testing also comprise when at least one device to be measured when being a plurality of device to be measured simultaneously to these a little device execution in step to be measured (a), step (b), step (c) and step (d).
The present invention proposes a kind of test macro, and it comprises distance host, remote power supply control device and at least one device to be measured.The remote power supply control device is to see through network to be connected to distance host.Device to be measured is to see through network to be connected to distance host and to see through power line respectively and be connected to the remote power supply control device, and wherein each device to be measured has baseboard management controller and this baseboard management controller can be to carry out initialization under the channel status at power line.In addition, distance host can make power line become channel status or off state and judgement are whether channel status infrabasal plate Management Controller can normally operate at power line according to the control of distance host, and distance host can the output error signal when baseboard management controller can't normally operate.
In one embodiment of this invention, above-mentioned distance host can judge whether baseboard management controller can normally operate by instructing to the reading device identification code of baseboard management controller execution baseboard management controller.
In one embodiment of this invention, above-mentioned distance host and device to be measured are to be configured in mutually in the same network segment or to be disposed in a plurality of different segments.
In one embodiment of this invention, above-mentioned distance host is controlled the remote power supply control device repeatedly and is made power line become channel status or off state and judge whether can normally operate at channel status infrabasal plate Management Controller in a scheduled time.
In one embodiment of this invention, above-mentioned when at least one device to be measured when being a plurality of device to be measured distance host control remote power supply control device side by side make connection so far the power line of a little devices to be measured be channel status or off state and judge whether these a little baseboard management controllers can normally operate in channel status.
In one embodiment of this invention, above-mentioned distance host is server host or personal computer.
The present invention controls because of adopting remote power supply control, therefore can send the electric substrate management middle controller that moves and test device to be measured with outage to device to be measured by remote mode, and the efficient of test is carried out in lifting thus.
For above-mentioned feature and advantage of the present invention can be become apparent, preferred embodiment cited below particularly, and conjunction with figs. are described in detail below.
Description of drawings
Fig. 1 illustrates the calcspar of test macro according to the embodiment of the invention.
Fig. 2 is the flow chart that illustrates testing procedure according to the embodiment of the invention.
Embodiment
Fig. 1 illustrates the calcspar of test macro according to the embodiment of the invention.
Please refer to Fig. 1, test macro 100 comprises distance host 102, remote power supply control (Remote PowerControl) device 104, first device 106, second device 108 to be measured to be measured, network 110.Can see through network 110 at the test macro 100 medium-long range main frames 102 according to the embodiment of the invention tests with 104 pairs first devices 106 to be measured of remote power supply control device and second device 108 to be measured, (whether Baseboard Management Controller BMC) can normally operate particularly to test the baseboard management controller of following first device 106 to be measured and second device 108 to be measured.
In the present embodiment, distance host 102 has CPU (not illustrating) and storage element (not illustrating).Particularly, storing a plurality of mechanical orders and this a little mechanical orders on this storage element can be carried out to finish the testing procedure according to the embodiment of the invention by central processor unit, that is to say that the testing procedure that distance host 102 can be carried out according to the embodiment of the invention comes the baseboard management controller of first device 106 to be measured and second device 108 to be measured is tested.
In an embodiment of the present invention, distance host 102 is server hosts.Yet, the invention is not restricted to this, distance host 102 can be any can be complete according to the calculator device of the mechanical order of the switching on and shutting down testing procedure of the embodiment of the invention, for example general personal computer.Though the present invention is the detailed structure of shows in detail distance host 102 not, this these those skilled in the art should understand easily distance host 102 can comprise the general server main frame the function that should have, for example input unit (for example, mouse, keyboard etc.), display unit etc.
Remote power supply control device 104 is to see through network 110 to set up with distance host 102 and link, but and the control command of receiving remote main frame 102 open and close the power supply of connection electronic equipment thereon.In the present embodiment, remote power supply control device 104 is to see through first power line 132 respectively to be connected to first device 106 to be measured and second device 108 to be measured with second source line 134, and distance host 102 may command remote power supply control device 104 are controlled first power line 132 and second source line 134 be a channel status or off state with conducting or cut-out be connected to first device 106 to be measured and second device 108 to be measured AC power (AlternatingCurrent, AC).
First device 106 to be measured and second device 108 to be measured are electronic installations that desire is accepted test.For example, first device 106 to be measured and second device 108 to be measured are personal computer or server host.First device 106 to be measured and second device 108 to be measured are to see through network 110 to set up binding with distance host 102.
In the present embodiment, first device 106 to be measured and second device 108 to be measured have baseboard management controller 162 and baseboard management controller 164 respectively.Baseboard management controller is a kind ofly to manage whole system (for example, device to be measured) by various interfaces.For example, system is carried out state-detection and event filtering, power management, recording events time of origin and system's answer control, and send the incident that is detected to main control system through network or serial port.In the present embodiment, baseboard management controller 162 and baseboard management controller 164 be the technology that can understand easily of those skilled in the art for this reason, is not described in detail at this.
In the present embodiment, when first power line 132 during for channel status baseboard management controller 162 can carry out the control command of the initialization and the receiving remote main frame 102 of awaiting orders.Similarly, when second source line 134 during for channel status baseboard management controller 164 can carry out the control command of the initialization and the receiving remote main frame 102 of awaiting orders.
Network 110 is in order to connect distance host 102 with remote power supply control device 104 and be connected distance host 102, first device 106 to be measured and second device 108 to be measured.In the present embodiment, network 110 is to use transmission control/Internet protocol (Transmission Control Protocol/Internet Protocol, network TCP/IP).Yet, it must be appreciated to the invention is not restricted to this that the present invention also can be applicable to use in the network of other host-host protocol.
In addition, distance host 102, remote power supply control device 104, first device 106 to be measured and second device 108 to be measured are to be positioned on the same network segment (segment) of network 110 in the present embodiment.Yet, also can be positioned on the different segment at another embodiment of the present invention medium-long range main frame 102, remote power supply control device 104, first device 106 to be measured and second device 108 to be measured, and set up binding through router (Router) and switch (Switch Hub).
Fig. 2 is the flow chart that illustrates testing procedure according to the embodiment of the invention.
To be that example illustrates the step that Fig. 2 is illustrated with the baseboard management controller 162 of testing first device 106 to be measured below.Yet the baseboard management controller 162 of testing first device 106 to be measured is identical with the method for the baseboard management controller 164 of second device 108 to be measured, and therefore same step also can be applicable to test the baseboard management controller 164 of second device 108 to be measured.In addition, what deserves to be mentioned is that distance host 102 can multithreading (multi-threading) technology synchronously baseboard management controller 162 and baseboard management controller 164 carry out following testing procedure.
Please refer to Fig. 2, when test program 200 beginnings, can make first power line 132 that is connected between the remote power supply control device 104 and first device 106 to be measured become channel status by control remote power supply control device 104 at step S201 medium-long range main frame 102, that is to say that the 104 meeting conductings of remote power supply control device are connected to the AC power of first device 106 to be measured.
Then, after waiting baseboard management controller initialization time (step S203), but can confirm at step S205 medium-long range main frame 102 whether baseboard management controller 162 is normal operation.In an embodiment of the present invention, can assign reading device identification code instruction (Get Device ID) to baseboard management controller 162 at step S205 medium-long range main frame 102 and judge by the response message of baseboard management controller 162 but whether baseboard management controller 162 is normal operation.In addition, be to carry out initialization in the step of step S203, and baseboard management controller initialization time can be set according to the characteristic of baseboard management controller 162 in order to wait baseboard management controller 162.For example, baseboard management controller initialization time is to be set at 60 seconds in the present embodiment.
If in step S205, judge when baseboard management controller 162 can't normal operation, then can the output error message in step S207 and finish test program 200.
But if when in step S205, judging baseboard management controller 162 normal operations, then can make first power line 132 that is connected between the remote power supply control device 104 and first device 106 to be measured become off state by control remote power supply control device 104, that is to say that remote power supply control device 104 can cut off the AC power that is connected to first device 106 to be measured at step S209 medium-long range main frame 102.
In the present embodiment, distance host 102 can judge in step S211 whether first device 106 to be measured has finished 24 hours pressure test, when if test does not also reach 24 hours, then can in step S213, wait after all outages source times (for example, 5 seconds) once more to the first device 106 execution in step S201 to be measured.What deserves to be mentioned is, test the time of device to be measured and can set according to the pressure test that the user desires to carry out, for example 48 hours, with the stability and the reliability of test base Management Controller.If in step S211, judge when first device 106 to be measured has been finished 24 hours pressure test, then finish test program 200.
It must be appreciated that the described testing procedure of Fig. 2 is not limited to order shown in Figure 2, these those skilled in the art can change above-mentioned order under spirit of the present invention.
In sum, the present invention sees through and uses the remote power supply control device to come automation ground to carry out the pressure test of the baseboard management controller of device to be measured, effectively promotes the efficient of carrying out test program thus.In addition, see through the multithreading distance host and can synchronously carry out test, more can significantly promote the efficient of carrying out test program thus the baseboard management controller of a plurality of devices to be measured.
Though the present invention discloses as above with preferred embodiment; right its is not in order to limit the present invention; have in the technical field under any and know the knowledgeable usually; without departing from the spirit and scope of the present invention; when can doing a little change and retouching, so protection scope of the present invention is when with being as the criterion that claim was defined.

Claims (10)

1. method of testing is applicable to by a distance host to see through the baseboard management controller that a network and a remote power supply control device are tested at least one device to be measured, and this method for testing open/close machine comprises:
(a) controlling this remote power supply control device makes a power line that is connected between this remote power supply control device and this device to be measured become a channel status;
(b) this baseboard management controller of initialization;
(c) judge whether this baseboard management controller can normally operate, execution in step (d) when this baseboard management controller can normally operate wherein, and when this baseboard management controller can't normally operate, export a rub-out signal; And
(d) controlling this remote power supply control device makes this power line become an off state.
2. method of testing as claimed in claim 1 is characterized in that, judges that the step whether this baseboard management controller can normally operate is to instruct by a reading device identification code of this baseboard management controller being carried out this baseboard management controller to finish.
3. method of testing as claimed in claim 1 is characterized in that, more is included in the scheduled time automatically repeated execution of steps (a), step (b), step (c) and step (d).
4. method of testing as claimed in claim 1 is characterized in that, more comprise when this at least one device to be measured when being a plurality of device to be measured simultaneously to those device execution in step to be measured (a), step (b), step (c) and step (d).
5. test macro comprises:
One distance host;
One remote power supply control device sees through a network and is connected to this distance host; And
At least one device to be measured, seeing through this network is connected to this distance host and is connected to this remote power supply control device through a power line respectively, wherein each this device to be measured has a baseboard management controller and this baseboard management controller and can carry out initialization under this channel status at this power line
Wherein this distance host makes this power line become a channel status or an off state in order to control remote power supply control device, and judge at this power line to be that whether this baseboard management controller can normally operate under this channel status, and this distance host is exported a rub-out signal when this baseboard management controller can't normally operate.
6. test macro as claimed in claim 5 is characterized in that, this distance host is to instruct by a reading device identification code of this baseboard management controller being carried out this baseboard management controller to judge whether this baseboard management controller can normally operate.
7. test macro as claimed in claim 5 is characterized in that, this distance host and this device to be measured are to be configured in one mutually in the same network segment or in a plurality of different segment.
8. test macro as claimed in claim 5, it is characterized in that this distance host is to control this remote power supply control device repeatedly to make this power line become this channel status or this off state and judge whether this baseboard management controller can normally operate in this channel status in a scheduled time.
9. test macro as claimed in claim 5, it is characterized in that, when this at least one device to be measured be a plurality of when device to be measured this distance host control this remote power supply control device and side by side make the power line that is connected to those devices to be measured for this channel status or this off state and judge whether those baseboard management controllers can normally operate in this channel status.
10. test macro as claimed in claim 5 is characterized in that, this distance host is a server host or a personal computer.
CN200810176236A 2008-11-14 2008-11-14 Method and system for testing baseboard management controller Pending CN101741577A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810176236A CN101741577A (en) 2008-11-14 2008-11-14 Method and system for testing baseboard management controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810176236A CN101741577A (en) 2008-11-14 2008-11-14 Method and system for testing baseboard management controller

Publications (1)

Publication Number Publication Date
CN101741577A true CN101741577A (en) 2010-06-16

Family

ID=42464516

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810176236A Pending CN101741577A (en) 2008-11-14 2008-11-14 Method and system for testing baseboard management controller

Country Status (1)

Country Link
CN (1) CN101741577A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102480396A (en) * 2010-11-30 2012-05-30 英业达股份有限公司 Server system and connection method thereof
US20120304011A1 (en) * 2011-05-23 2012-11-29 Hon Hai Precision Industry Co., Ltd. Server and power supply test method
CN110941522A (en) * 2019-11-22 2020-03-31 英业达科技有限公司 Pressure testing method, system, medium and device of baseboard management controller
CN112084074A (en) * 2019-06-14 2020-12-15 佛山市顺德区顺达电脑厂有限公司 Remote connection control method
CN112231162A (en) * 2020-10-23 2021-01-15 英业达科技有限公司 Startup test system and startup test method

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102480396A (en) * 2010-11-30 2012-05-30 英业达股份有限公司 Server system and connection method thereof
CN102480396B (en) * 2010-11-30 2014-05-07 英业达股份有限公司 Server system and connection method thereof
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
CN112084074A (en) * 2019-06-14 2020-12-15 佛山市顺德区顺达电脑厂有限公司 Remote connection control method
CN110941522A (en) * 2019-11-22 2020-03-31 英业达科技有限公司 Pressure testing method, system, medium and device of baseboard management controller
CN112231162A (en) * 2020-10-23 2021-01-15 英业达科技有限公司 Startup test system and startup test method

Similar Documents

Publication Publication Date Title
CN101727368A (en) On/off test method and on/off test system
CN106648958B (en) Basic input output system replys management system and its method and program product
CN107632219B (en) Automatic startup and shutdown test system and test method thereof
US7831860B2 (en) System and method for testing redundancy and hot-swapping capability of a redundant power supply
CN106909479B (en) Startup and shutdown test fixture
US8055887B2 (en) Dynamically updating barcode data
AU2010229495B2 (en) System and method for altering a user interface of a power device
JP2007286937A (en) Storage device and power source failure management method for storage device
EP2724239A1 (en) System and methods for driverless operation of usb device
CN101741577A (en) Method and system for testing baseboard management controller
CN106055440B (en) A kind of test method and system for realizing server exception power-off by BMC
CN109254783A (en) A kind of server system installation method, device, equipment and readable storage medium storing program for executing
CN103201690B (en) For many local control network network processor (LCNP) emulators for control system
CN103364650A (en) Testing system and testing method
JP2010026677A (en) File sharing device and system
CN105095142A (en) System and method for controlling expander card
WO2017027041A1 (en) Device operating state modification with uninterruptible power source
CN113608970A (en) Core board, server, failure recovery method, device and storage medium
US10012698B1 (en) Portable test unit with load
CN107894935A (en) OPS computer module detection process method, apparatus and electronic equipment
CN102819253B (en) 3G (the third generation telecommunication) network based remote dental air circuit diagnosing and monitoring system
CN109871329A (en) A kind of whole machine cabinet server carries out the method and system of multinode AC test
JP6036229B2 (en) Battery control device, battery control method, and program
US11726766B2 (en) Method and apparatus for maintaining software of a control unit for an industrial control system
US12001833B2 (en) Method and apparatus for maintaining software of a control unit for an industrial control 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

Open date: 20100616