CN102880527B - Data recovery method of baseboard management controller - Google Patents

Data recovery method of baseboard management controller Download PDF

Info

Publication number
CN102880527B
CN102880527B CN201110204976.7A CN201110204976A CN102880527B CN 102880527 B CN102880527 B CN 102880527B CN 201110204976 A CN201110204976 A CN 201110204976A CN 102880527 B CN102880527 B CN 102880527B
Authority
CN
China
Prior art keywords
management controller
baseboard management
data
server system
recovery
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.)
Active
Application number
CN201110204976.7A
Other languages
Chinese (zh)
Other versions
CN102880527A (en
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.)
Beijing Hanwen Borui Technology Co., Ltd.
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 CN201110204976.7A priority Critical patent/CN102880527B/en
Publication of CN102880527A publication Critical patent/CN102880527A/en
Application granted granted Critical
Publication of CN102880527B publication Critical patent/CN102880527B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a data recovery method of a baseboard management controller. The data recovery method is applicable to a server and comprises the following steps of: providing a trigger unit, and connecting the trigger unit to the baseboard management controller; providing an external startup disk, and connecting the external startup disk to an external port of the server, wherein the external startup disk comprises a recovery program and recovery data; setting the state of the trigger unit as a trigger state, closing an operation module by the baseboard management controller according to triggering of the trigger unit, and switching to a guide module; booting to energize a server system, starting the server system from the external startup disk, and executing the recovery program to transmit the recovery data to the baseboard management controller by the server system; and receiving the recovery data by the baseboard management controller, and after the recovery data are successfully received, performing data recovery on the operation module by the guide module. The data recovery method has the advantage that by connection of the trigger unit which is arranged on the baseboard management controller, a common user can automatically recover a crashed system of the baseboard management controller by using the external startup disk.

Description

A kind of data reconstruction method of baseboard management controller
Technical field
The present invention relates to a kind of data reconstruction method being applicable to the baseboard management controller of server.
Background technology
IPMI (Intelligent Platform ManagementInterface, IPMI) is a kind of hardware management interface specification of open standard, defines the ad hoc approach that embedded management subsystem carries out communicating.IPMI information is exchanged by the baseboard management controller (Baseboard ManagementController, BMC) be positioned on the nextport hardware component NextPort of IPMI specification.The core of IPMI is baseboard management controller, it does not also rely on the processor of server, BIOS or operating system and carrys out work, be 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.In general, BMC has following functions:
1. conducted interviews by the serial port of system
2. fault log record and SNMP alarm send
3. access system event log (System Event Log, SEL) and sensor condition
4. control to comprise startup and shutdown
5. independent of the support of system power supply or duty
6. for Operation system setting, be redirected based on the text control desk of text common program and operating system control desk
Therefore, BMC is one of of paramount importance management system on server, which ensure that the normal operation of server.But in actual applications, BMC system crash can be caused due to maloperation or abnormal conditions, BMC still can not be recovered normal by AC-Cycle even again.
In the development phase, the BMC slip-stick artist of specialty can write by special tool software duplicate removal or refresh BMC under the systems such as DOS, windows, but does not have the common server managerial personnel of BMC development Experience that these instruments just cannot be used to recover the BMC data of collapse.
In view of this, common user how is made to be a problem facing of person skilled in the industry by the BMC management system that a simple solution is recovered to have collapsed.
Summary of the invention
For above-mentioned defect of the prior art, the invention provides a kind of data reconstruction method of baseboard management controller.
According to one aspect of the present invention, provide a kind of data reconstruction method of baseboard management controller, be applicable to a server, this server comprises a server system and a baseboard management controller, baseboard management controller is connected to server system, for the duty of monitoring server system, the data reconstruction method of baseboard management controller comprises the following steps:
There is provided a trigger element, be connected to baseboard management controller, described baseboard management controller comprises a bootstrap module and and runs module;
There is provided an external boot disk, connect the external-connected port of external boot disk to server system, external boot disk comprises a recovery routine and and recovers data;
The state of trigger element is set to trigger state, and baseboard management controller is closed according to the trigger state of trigger element and is run module, switches to bootstrap module;
Performing start makes server system power on, and starts server system from external boot disk, and server system performs recovery routine and recovery data are sent to baseboard management controller;
Baseboard management controller receives and recovers data, and performs date restoring by bootstrap module to operation module after completing reception.
Preferably, external-connected port is USB (universal serial bus).
Preferably, external boot disk be USB flash disk, portable hard drive, CD one of them.
Preferably, trigger element is the jumper wire construction obtained after one universal input/output pin programming.
Preferably, recovery routine comprises a batch program, and recovery data packets is containing a baseboard management controller data image.
Preferably, when connecting trigger element and be connected external boot disk, server is in off-position.
Preferably, the method more comprises: after carrying out date restoring, trigger element is set to non-toggle state, disconnects external boot disk, and sends one and restart order to baseboard management controller.
Preferably, before transmission one restarts order to baseboard management controller, the method more comprises: verify the firmware of baseboard management controller, if verify unsuccessfully, then re-executes the data recovery procedure of this baseboard management controller.
Preferably, after transmission one restarts order to baseboard management controller, the method more comprises: restart server system.
Adopt the data reconstruction method of baseboard management controller of the present invention, after by server system power-off, trigger element on baseboard management controller will be arranged on, i.e. GPIO pin, be set to trigger state, make BMC close the operation module of system of being in charge of and be switched to bootstrap module, under this module, BMC only can control basic GPIO and only perform the most basic refresh command.User only need will have the external boot disk of recovery routine and recovery data, and such as USB flash disk is connected with server system, and starts server system, just the BMC data image recovered in data can be flushed in the firmware of BMC.Even if so domestic consumer also can utilize external boot disk automatically to complete the operation of the substrate management controller system recovering collapse.
Accompanying drawing explanation
Reader, after having read the specific embodiment of the present invention with reference to accompanying drawing, will become apparent various aspects of the present invention.Wherein,
Fig. 1 illustrates the signal wiring schematic diagram according to one embodiment of the invention; And
Fig. 2 illustrates the process flow diagram carrying out date restoring in the system of fig. 1.
Embodiment
With reference to the accompanying drawings, the specific embodiment of the present invention is described in further detail.Those of ordinary skill in the art is to be understood that, embodiment hereinafter just schematically illustrates technical scheme of the present invention, and preferably introduce the structure of the data reconstruction method of the specific embodiment of the present invention and baseboard management controller of the present invention, but the present invention has more than and is confined to this.
Fig. 1 illustrates the signal wiring schematic diagram according to one embodiment of the invention.With reference to Fig. 1, the data operation of whole server is responsible for by central processing unit 100, itself and South Bridge chip group 102, i.e. i/o controller center (I/O controller hub, ICH) connect, South Bridge chip group 102 is responsible for the communication between I/O bus, as pci bus, USB, LAN, ATA, SATA, Audio Controller, keyboard controller, real-time clock controller, Advanced Program Zoom etc.South Bridge chip group 102 again with I/O center 104 (Input Output Hub, IOH) connect, the function of the communication of I/O center 104 primary responsibility I/O bus is various I/O equipment, is connected to the bridge of the central processing unit 100 possessing QPI bus.And baseboard management controller 108 (Baseboard Management Controller, BMC) is then connected with I/O center 104 by LPC (Low Pin Count) interface, the above-mentioned hardware arrangement being usual server system.The external boot disk 106 used at present, such as USB flash disk, portable hard drive, CD etc. all pass through the external-connected port at I/O center 104, and such as USB (universal serial bus) and server carry out data transmission.In addition, baseboard management controller 108 is also connected with multiple trigger element, in the present embodiment, trigger element is the jumper wire construction obtained after the programming of universal input/output (General Purpose Input Output, GPIO) pin 110, and it utilizes industrial standard I2C, SMBus tMor SPI tMinterface simplifies the expansion of I/O mouth, and when microcontroller or chipset do not have enough I/O ports, or when system needs adopt far-end serial communication or control, GPIO can provide extra control & monitor function, and it is set to jumper wire construction by programming.
Disclose the hardware configuration of the data reconstruction method being suitable for baseboard management controller of the present invention in above-mentioned Fig. 1, incorporated by reference to reference to Fig. 1 and Fig. 2, Fig. 2, the process flow diagram in the system of fig. 1 baseboard management controller being carried out to date restoring is shown.The ultimate principle of the data reconstruction method of baseboard management controller of the present invention is, server comprises a server system and a baseboard management controller 108, baseboard management controller 108 is connected to this server system, for monitoring the duty of this server system, the baseboard management controller 108 described in the present embodiment comprises bootstrap module (Boot block) and runs module (Runtimeblock).Bootstrap module is the hardware configuration for baseboard management controller 108, under bootstrap module state, baseboard management controller 108 only can control basic GPIO (such as active LED), i.e. General Purpose Input Output (universal input/output), or bus extender, and only perform the most basic refreshing (flash) order.And running the management function that module has complexity, the collapse of baseboard management controller 108 system usually occurs in operation module.Carry out making it to become trigger element after programming is arranged in the GPIO pin 110 had baseboard management controller 108, after this trigger element is set to trigger state, after pin 110 connection of jumper wire construction, baseboard management controller 108 is switched to bootstrap module, now substrate reason controller 108 can by operations module closedown and etc. to be refreshed.Now user just can be connected having recovery routine with the external-connected port of server system with the external boot disk 106 recovering data, it recovers data can from web download, and external boot disk 106 is made as starter gear, wherein, recovery routine comprises a batch program, recovery data packets is containing a baseboard management controller data image, when date restoring is carried out to baseboard management controller 108, start batch program and go the data calling baseboard management controller refurbishing procedure (flash BMC utility) and baseboard management controller data image recovery baseboard management controller 108.
Specifically, when baseboard management controller 108 collapse and restart also cannot recover time, first closing server makes it be in off-position (step 200), then the trigger element and when server is in off-position on connection substrate Management Controller 108, namely as the pin 110 of jumper wire construction, and will the external boot disk 106 of recovery data and a recovery routine be had, the such as external-connected port at USB flash disk, portable hard drive, CD one of them and I/O center 104, such as USB (universal serial bus) connects (step 202).Next step, performing start makes server system power on, owing to the pin 110 as trigger element being connected, now baseboard management controller 108 will run module closedown according to the trigger state of trigger element, and switching to bootstrap module, system just can be called recovery data and carry out date restoring (step 204) to baseboard management controller from external boot disk 106.Specifically, under normal service condition, pin 110 as trigger element is for low level, i.e. non-toggle state, high level will be set to when pin 110 is connected, i.e. trigger state, external-connected port and USB interface are the insert ports having the USB flash disk recovering data and recovery routine, when server dispatches from the factory, USB port is the first boot device of BIOS system default, server is started after inserting USB flash disk, just server system is started from external boot disk 106, such baseboard management controller 108 just enters bootstrap module, then system can run the batch program comprised in the recovery routine of USB flash disk automatically, this Programmable detection is in bootstrap module to baseboard management controller 108, just recovery data are sent to baseboard management controller 108.Then, after baseboard management controller 108 completes reception recovery data, the baseboard management controller data image (BMC image) just utilizing the recovery data packets in USB flash disk to contain by bootstrap module performs date restoring by BMC refurbishing procedure (flash BMC utility) to operation module.After completing date restoring, trigger element is set to non-toggle state, namely disconnects the connection of pin 110, external boot disk 106 is extracted from external-connected port, and send one and restart order to server (step 206).This completes the date restoring of baseboard management controller 108.
In addition, before transmission restarts order to baseboard management controller 108, also can verify the firmware of baseboard management controller 108, if verify unsuccessfully, then re-execute the data recovery procedure of this baseboard management controller 108.After transmission restarts order to baseboard management controller 108, also server system can be restarted.
Adopt the data reconstruction method of baseboard management controller of the present invention, after by server system power-off, trigger element on baseboard management controller will be arranged on, i.e. GPIO pin, be set to trigger state, make BMC close the operation module of system of being in charge of and be switched to bootstrap module, under this module, BMC only can control basic GPIO and only perform the most basic refresh command.User only need will have the external boot disk of recovery routine and recovery data, and such as USB flash disk is connected with server system, and starts server system, just the BMC data image recovered in data can be flushed in the firmware of BMC.Even if so domestic consumer also can utilize external boot disk automatically to complete the operation of the substrate management controller system recovering collapse.
Above, the specific embodiment of the present invention is described with reference to the accompanying drawings.But those skilled in the art can understand, when without departing from the spirit and scope of the present invention, various change and replacement can also be done to the specific embodiment of the present invention.These change and replace and all drop in claims of the present invention limited range.

Claims (9)

1. the data reconstruction method of a baseboard management controller, be applicable to a server, described server comprises a server system and a baseboard management controller, described baseboard management controller is connected to described server system, for monitoring the duty of described server system, it is characterized in that, the data reconstruction method of described baseboard management controller comprises the following steps:
There is provided a trigger element, be connected to described baseboard management controller, described baseboard management controller comprises a bootstrap module and and runs module;
There is provided an external boot disk, connect the external-connected port of described external boot disk to described server system, described external boot disk comprises a recovery routine and and recovers data;
The state of described trigger element is set to trigger state, and described baseboard management controller closes described operation module according to the trigger state of described trigger element, switches to described bootstrap module;
Performing start makes described server system power on, and start described server system from described external boot disk, described server system performs described recovery routine and described recovery data are sent to described baseboard management controller;
Described baseboard management controller receives described recovery data, and performs date restoring by described bootstrap module to described operation module after completing reception.
2. data reconstruction method as claimed in claim 1, it is characterized in that, described external-connected port is USB (universal serial bus).
3. data reconstruction method as claimed in claim 1, is characterized in that, described external boot disk be USB flash disk, portable hard drive, CD one of them.
4. data reconstruction method as claimed in claim 1, is characterized in that, described trigger element is the jumper wire construction obtained after one universal input/output pin programming.
5. the data reconstruction method according to any one of Claims 1-4, is characterized in that, described recovery routine comprises a batch program, and described recovery data packets is containing a baseboard management controller data image.
6. the data reconstruction method according to any one of Claims 1-4, is characterized in that, when connecting described trigger element and be connected described external boot disk, described server is in off-position.
7. the data reconstruction method according to any one of Claims 1-4, is characterized in that, described method more comprises:
After carrying out date restoring, described trigger element is set to non-toggle state, disconnects described external boot disk, and send one and restart order to described baseboard management controller.
8. data reconstruction method as claimed in claim 7, is characterized in that, before transmission one restarts order to described baseboard management controller, described method more comprises:
The firmware of described baseboard management controller is verified, if verify unsuccessfully, then re-executes the data recovery procedure of this baseboard management controller.
9. data reconstruction method as claimed in claim 7, is characterized in that, after transmission one restarts order to described baseboard management controller, described method more comprises:
Restart described server system.
CN201110204976.7A 2011-07-13 2011-07-13 Data recovery method of baseboard management controller Active CN102880527B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110204976.7A CN102880527B (en) 2011-07-13 2011-07-13 Data recovery method of baseboard management controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110204976.7A CN102880527B (en) 2011-07-13 2011-07-13 Data recovery method of baseboard management controller

Publications (2)

Publication Number Publication Date
CN102880527A CN102880527A (en) 2013-01-16
CN102880527B true CN102880527B (en) 2015-07-15

Family

ID=47481862

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110204976.7A Active CN102880527B (en) 2011-07-13 2011-07-13 Data recovery method of baseboard management controller

Country Status (1)

Country Link
CN (1) CN102880527B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109947628A (en) * 2019-03-29 2019-06-28 联想(北京)有限公司 Management control method, management control system and server

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104049679B (en) * 2013-03-13 2017-08-04 鸿富锦精密工业(深圳)有限公司 The extendible backboards of SAS
CN103412775A (en) * 2013-08-12 2013-11-27 浪潮电子信息产业股份有限公司 Method for refreshing BMC firmware intelligently and automatically
CN105808097B (en) * 2016-02-26 2019-05-31 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN109062733A (en) * 2018-07-26 2018-12-21 郑州云海信息技术有限公司 A kind of method, system, equipment and storage medium restoring BMC initial setting up
CN110825393B (en) * 2018-08-07 2023-11-17 联想企业解决方案(新加坡)有限公司 System and method for downloading firmware to a server
CN109976949B (en) * 2019-03-28 2021-12-17 苏州浪潮智能科技有限公司 BMC fault mirror image rollback refreshing method, device, terminal and storage medium
CN111813600A (en) * 2020-06-29 2020-10-23 中国长城科技集团股份有限公司 Controller recovery method, device, terminal and medium
CN113760058B (en) * 2021-07-29 2023-07-14 苏州浪潮智能科技有限公司 System and method for adapting to mainboards with different requirements through independent board cards

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101295253A (en) * 2007-04-28 2008-10-29 佛山市顺德区顺达电脑厂有限公司 Method for updating firmware
CN101657794A (en) * 2007-04-13 2010-02-24 国际商业机器公司 Automated firmware restoration to a peer programmable hardware device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1690975A (en) * 2004-04-28 2005-11-02 大众电脑股份有限公司 Method for restoring operating system and user data in a computer<and restoration system therefor 0}
CN100375049C (en) * 2005-03-28 2008-03-12 联想(北京)有限公司 Method for recoverying basic inputting and outputting system chip
US7849454B2 (en) * 2006-01-13 2010-12-07 Dell Products L.P. Automatic firmware corruption recovery and update
CN101114245A (en) * 2006-07-28 2008-01-30 技嘉科技股份有限公司 External connection type ROM-BIOS device
CN201134092Y (en) * 2007-12-26 2008-10-15 英业达科技有限公司 Control device for determining system configuration information
CN102012848A (en) * 2009-09-07 2011-04-13 英业达股份有限公司 Method for resetting parameters of baseboard management controller
CN101957787A (en) * 2010-08-16 2011-01-26 浪潮电子信息产业股份有限公司 Method for debugging blade server by using BMC module

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101657794A (en) * 2007-04-13 2010-02-24 国际商业机器公司 Automated firmware restoration to a peer programmable hardware device
CN101295253A (en) * 2007-04-28 2008-10-29 佛山市顺德区顺达电脑厂有限公司 Method for updating firmware

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109947628A (en) * 2019-03-29 2019-06-28 联想(北京)有限公司 Management control method, management control system and server

Also Published As

Publication number Publication date
CN102880527A (en) 2013-01-16

Similar Documents

Publication Publication Date Title
CN102880527B (en) Data recovery method of baseboard management controller
JP6530774B2 (en) Hardware failure recovery system
US9954727B2 (en) Automatic debug information collection
US9015458B2 (en) Computer system and method for updating basic input/output system by switching between local mode and bypass mode through baseboard management controller
CN100517246C (en) Computer remote control method and system
US20170090896A1 (en) Automatic system software installation on boot
EP3349118B1 (en) Bus hang detection and find out
CN102455950A (en) Firmware recovery system and method of base board management controller
CN101364193A (en) BIOS automatic recovery method and computer and system using the method
CN100492305C (en) Fast restoration method of computer system and apparatus
CN102567135B (en) Refreshing/recovering method and electronic equipment
CN111831488B (en) TCMS-MPU control unit with safety level design
CN102331959A (en) Server system
CN105242980A (en) Complementary watchdog system and complementary watchdog monitoring method
CN110658758A (en) Control method and control system
CN114116280A (en) Interactive BMC self-recovery method, system, terminal and storage medium
CN104734904B (en) The automatic test approach and system of bypass equipment
CN109582505B (en) BIOS option default value recovery system, method and device
CN103178977A (en) Computer system and starting-up management method of same
CN101515236B (en) Restoring method and update module for basic input/output system and computer system
CN104750537A (en) Test case execution method and device
CN115599617B (en) Bus detection method and device, server and electronic equipment
CN101630278A (en) Method for recording crash abnormal information of electronic device and electronic device
CN115098342A (en) System log collection method, system, terminal and storage medium
CN102243601B (en) Debugging system and relevant method for detecting and controlling state of computer host

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20190724

Address after: Room 407, 4th floor, Building 3, No. 6, North Third Ring Road, Xicheng District, Beijing

Patentee after: Beijing Hanwen Borui Technology Co., Ltd.

Address before: Taipei City, Taiwan Chinese Shilin District Hougang Street No. sixty-six

Patentee before: Inventec Corporation

CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: Room 1253, No. 6, Anfu street, Houshayu Town, Shunyi District, Beijing 101300

Patentee after: Beijing Hanwen Borui Technology Co.,Ltd.

Address before: Room 407, floor 4, building 3, No. 6, Middle North Third Ring Road, Xicheng District, Beijing 100032

Patentee before: Beijing Hanwen Borui Technology Co.,Ltd.