1. Field of the Invention
The invention relates to an intelligent platform management interface (IPMI), and in particular to a method for simulating an IPMI using BIOS.
2. Description of the Related Art
IPMI is a message-based hardware management interface that is implemented at the silicon level and uses a baseboard management controller, which is a small processor that sets up IPMI as a subsystem independent of the CPU of a server or operating system. IPMI enables remote monitoring, management and recovery capabilities, regardless of the status of the server. IPMI can be exposed through any standard management software interface such as Common Information Model, Simple Network Management Protocol (SNMP) and Windows Management Instrumentation. It can also feed into higher-level management software such as HP's OpenView.
When errors for a server system are detected, system BIOS records event logs in an IPMI module for reference by management information system (MIS) engineers for maintenance of the server system. When an unrecoverable error, for example, a system memory error is detected, the system BIOS records an error message for the unrecoverable error in a memory (Electrically Erasable Programmable Read-Only Memory (EEPROM), for example) of the IPMI module. MIS engineers or users query the error message in the memory of the IPMI module using tool applications to analyze and maintain the system server.
Currently, IPMI modules are implemented using hardware circuits combining IPMI chips and present an additional cost to users.
Thus, the invention provides a method for simulating an IPMI using BIOS, recording system event logs (SEL) using BIOS firmware, comprising BIOS software and a memory (EEPROM, for example) storing the BIOS software, to simulate an IPMI module and a memory of the IPMI module, thereby achieving IPMI functions and reducing costs. Additionally, the BIOS software provides a tool application for error message querying.
A method for simulating IPMI using BIOS is provided. A memory space is defined in a memory storing BIOS for storing a Basic Management Control (BMC) module. The BIOS provides a setup menu comprising an enabling option for enabling or disabling a BMC function. It is determined whether the BMC function is enabled. If so, the BIOS detects and regards an error as an error message. The error message is stored in the memory space storing the BMC module and generating an event log
A detailed description is given in the following embodiments with reference to the accompanying drawings.
The invention can be more fully understood by reading the subsequent detailed description and examples with references made to the accompanying drawings, wherein:
Several exemplary embodiments of the invention are described with reference to
The invention discloses a method for simulating IPMI using BIOS.
An exemplary embodiment of the method records system event logs (SEL) using BIOS firmware to simulate of an IPMI module and a memory (EEPROM, for example) of the IPMI module, called “Software Mini BMC Function”, thereby reducing hardware cost for the IPMI. The BIOS firmware of the invention further provides a tool application for querying of system errors.
The simulation method of the invention comprises three phases of firmware space allocation (the BIOS layer), BIOS setup (the BIOS setup layer), and system event log view (the SEL viewer utility layer).
With respect to the firmware space allocation, a memory space (4096 bytes, for example, but is not to be limitative) of a flash ROM (Read Only Memory) storing the BIOS is defined to store a basic management control (BMC) module, applied to particularly record system event logs for simulation of EERPOM of an IPMI module and capable of determining the amount of the recording data based on the size of the memory space.
With respect to the BIOS setup layer, the BIOS directly stores system event logs in memory space 140 when error messages are detected.
Referring to Attachment 1, the invention adds sections 1110 and 1120 to a BIOS setup menu, comprising configuring system event logs (Event Log Configuration), enabling or disabling the BMC function (Mini BMC Function [Enabled/Disabled]), erasing system event logs (Set Threshold), implementing the SEL viewer (Mini BMC SEL Viewer [Enter]), and opening or closing the final system event log (POST Event Log[Enabled/Disabled]).
With respect to the system event log viewer utility layer, the invention provides a system event log viewer (SEL viewer) to view event result details and erase all system event logs. Referring to Attachment 2, which displays system event logs when, the SEL viewer is executed.
A memory space is first defined in a memory (a flash memory, for example) storing BIOS for storing a BMC module. The BMC module records system event logs. A plurality of options is added to a BIOS setup menu comprising configuring system event logs, enabling or disabling the BMC function, erasing system event logs, implementing SEL viewer, and opening or closing the final system event log. When a computer system is activated to execute a power-on self test (POST), the BIOS determines whether the BMC function is enabled (step S111). If the BMC function is enabled, the BIOS then determines whether an error is detected (step S121). If an error is detected, the error is regarded as an error message and is stored in the memory space storing the BMC module to generate a system event log (step S122). Further, the BIOS determines whether a command for implementing the SEL is received (step S131). If the command is received, the SEL viewer is activated (step S132) and system event logs are displayed (step S133).
When a computer system is activated to execute a power-on self test (POST), the BIOS determines whether the BMC function is enabled (step S211). If the BMC function is enabled, the BIOS then determines whether an error is detected (step S221). If an error is detected, the error is regarded as an error message and is stored in the memory space storing the BMC module to generate a system event log (step S222).
Further, the BIOS determines whether a command for implementing the SEL is received (step S231). If the command is received, the SEL viewer is activated (step S232) and system event logs are displayed (step S233). Further, the BIOS determines whether a command for configuring system event logs (step S241). If the command is received, system event logs stored in the memory space storing the BMC module is configured (step S242). Further, the BIOS determines whether a command for erasing system event logs (step S251). If the command is received, system event logs stored in the memory space storing the BMC module is erased (step S252).
While the invention has been described by way of example and in terms of the preferred embodiments, it is to be understood that the invention is not limited to the disclosed embodiments. To the contrary, it is intended to cover various modifications and similar arrangements (as would be apparent to those skilled in the art). Therefore, the scope of the appended claims should be accorded the broadest interpretation so as to encompass all such modifications and similar arrangements.
Number | Name | Date | Kind |
---|---|---|---|
6772376 | Merkin et al. | Aug 2004 | B1 |
7124412 | Fish et al. | Oct 2006 | B2 |
7293165 | Tobias | Nov 2007 | B1 |
7426592 | Chen | Sep 2008 | B2 |
20060136703 | Wisecup et al. | Jun 2006 | A1 |
20070234123 | Shih et al. | Oct 2007 | A1 |
Number | Date | Country | |
---|---|---|---|
20080059784 A1 | Mar 2008 | US |