The invention relates to server systems, and more particularly to a server system for creating sensor data record and method thereof.
The Intelligent Platform Management Interface (abbreviated as IPMI hereafter) uses several standard interfaces (such as I2C/IPMB interface, Serial/Modem interface, and LAN interface) controlled by the baseboard management controller (abbreviated as BMC hereafter) to connect to the sensors of the components that require monitoring (such as CPU, voltage, and the speed of fan), so that data from all sensors can be collected. If the BMC detects there is any emergency events in the monitored components from the information provided in sensor data, the BMC would then correct the server system, so that the system could continue to provide services, or pause the provision of services to prevent more severe errors from occurring.
Moreover, the IPMI also includes a sensor data recorder, which is a single and non-volatile storage unit; it is independent of CPU, BIOS, operation system, and system management software, and the sensor data recorder is under the management of BMC. The sensor data recorder holds a sensor data record, which includes monitoring information such as the monitoring threshold and the data about occurred events from each of the sensors. The BMC checks every sensor in turns according to the sensor data record, so as to obtain data from all of the sensors and determine whether the sensor data exceeds the monitoring threshold value or not. If the sensor data exceeds the monitoring threshold value, the BMC sends data about the occurred events to a remote terminal (such as the workstation used by the system administrator), so that the system administrator at the remote terminal can be made aware of the problem and work on it.
For example, a server system can be set to monitor the temperature of its CPU in the sensor data record, and such temperature is usually slightly lower than the temperature that may cause the CPU to overheat and shutdown; when the temperature of the CPU reaches such temperature, the BMC will send the data about the occurred event to the remote terminal; if the temperature of the CPU exceeds such temperature, the BMC will increase the speed of the fan in an attempt to cool down the CPU. If the temperature of the CPU remains high and even exceeds the temperature that represents emergency, the BMC would cut off power supply of the system, and record the events, and subsequently send a warning to the remote terminal via the LAN interface or the serial modem.
In addition, it is common practice to install motherboards of the same series in server systems with different specifications, and only a few components become varied in different server systems, such as backplanes, chassis, fans in the case, CPU, heatsinks, and fans. Therefore, the manufacturers of server systems term the server systems with different specifications and motherboards of the same series as Multi-Stock Keeping Unit (abbreviated as Multi-SKU hereafter); while each of the server systems with different specifications under Multi-SKU are called the Stock Keeping Unit (abbreviated as SKU hereafter).
Although each SKU corresponds to a number of different components, the monitored components of the majority of SKUs only vary slightly. However, for the purpose of addressing such variation, the manufacturer of the current server systems still edit and match the sensor data record of each of the SKUs, and then write the matched sensor data record into the sensor data recorder of each of the SKUs. But problems like writing the sensor data record of a SKU with specification B into the sensor data recorder of a SKU with specification A due to errors often occur, which in turn leads to inconvenience and difficulties to the manufacturers during the production of server systems.
In light of the disadvantages of the server systems of prior art, a method and a server system for creating sensor data record have been disclosed in this invention.
A major objective of the invention is to propose a method for creating sensor data record, which is applied in a server system. After the server system reads a first product code, it then compares the first product code with a link list stored in a first storage unit, so that it can find a second product code that matches the first product code from the link list, and then it reads the data of storage location corresponding to the second product code from the link list. Subsequently, the server system reads multiple storage locations by using the data of storage location, and then obtains each of the monitoring information it needs before copying such monitoring information to a third storage unit, thereby creating a sensor data record from such monitoring information. Accordingly, the problem of writing erroneous data into sensor data recorder observed in conventional server systems can be prevented.
Another objective of the invention is to propose a server system for creating sensor data record, which comprises a first storage unit, a second storage unit, a BMC (Baseboard Management Controller), and a third storage unit. The first storage unit has a link list stored therein; the second storage unit has a plurality of monitoring information stored therein. From the link list of the first storage unit, the BMC finds a second product code that match a first product code stored in the server system in advance, as well as the data of storage location corresponding to the second product code from the link list, so as to read each of the storage location by using the data of storage location and obtain the monitoring information required by the server system. The third storage unit is used to store the monitoring information from the BMC that is needed to create sensor data record. Consequently, the problem of writing erroneous data into sensor data recorder can be solved.
The foregoing aspects, as well as many of the attendant advantages and features of this invention will become more apparent by reference to the following detailed description, when taken in conjunction with the accompanying drawings, wherein:
Referring to
(1) reading a first product code stored in the server system 1 in advance; in a preferred embodiment of the invention, the first product code can be a SKU ID;
(2) comparing the first product code with a link list 100 stored in a first storage unit 10 (as shown in
(3) reading the data of storage location 104, which the second product code 102 corresponds to, from the link list 100;
(4) obtaining the monitoring information required by the server system 1 from each of the storage location from the second storage unit 12, in accordance with the plurality of storage locations included in the data of storage location 104; and
(5) copying the monitoring information to a third storage unit 14 for creating sensor data records, and thus completing the overall steps.
From the description above, it can be seen that the BMC 2 does not work in the same way the sensor data recorder of prior art does. The BMC 2 finds the monitoring information that matches the server system 1 from the link list 100 and from the second storage unit 12, and then creates the sensor data record. Therefore, the occurrence of errors, which resulted from a sensor data recorder of a server system 1 with specification A writing data into a sensor data recorder of a server system 1 with specification B, can be prevented.
Referring to
Furthermore, the server system 1 also comprises a third storage unit 14 and a BMC 2, in which the BMC 2 is electrically connected to the first, the second, and the third storage units 10, 12, and 14. The BMC 2 can read the first product code from the server system 1, and use it to find a second product code 102 that matches the first product code from the link list 100, it subsequently reads the data of storage location 104 that is corresponding to the second product code 102, and then obtains the monitoring information required by the server system 1 from the storage location of the second storage unit 12, this is followed by copying the monitoring information required by the server system 1 to the third storage unit 14, thereby completing the creation of sensor data record.
For example, if there are three server systems called A, B, and C, and each has different specifications, and system A needs seven entries of monitoring information, system B needs eight entries of monitoring information, and system C requires nine entries of monitoring information. After comparison, it was found that system A and system B has identical entries of monitoring information called a and b, while system A and system C has an identical entry of monitoring information called c, then it only needs to store the three entries of identical monitoring information a, b, and c, and eighteen different entries of monitoring information in the second storage unit 12 (as shown in
While the invention herein disclosed has been described by means of specific embodiments, numerous modifications and variations could be made thereto by those skilled in the art without departing from the scope and spirit of the invention set forth in the claims.