1. Technical Field
The present disclosure relates to a time synchronization system and a server using the same.
2. Description of Related Art
Current servers include a baseboard management controller (BMC) complying with intelligent platform management interface (IPMI) specification. The time of the BMC is acquired from a real time chip (RTC) via a basic input output system (BIOS) during a power on self test (POST) under IPMI specification. However, the BMC starts earlier than the BIOS. Therefore, the time of the BMC is set to a default time (1970/01/01 00/00/00) before the BIOS transmits the real time to the BMC. That is, a registering time of many system logs of the BMC will be incorrect.
Therefore, it is desirable to provide a time synchronization system and a server having the same which can overcome the limitations described above.
Embodiments of the disclosure will now be described in detail, with reference to the accompanying drawings.
Referring to
The host system 10 comprises a number of electronic elements, such as a main board, a CPU, a memory and other components not detailed herein as they are well known in the art. The host system 10 is configured to receive external control signals, and perform operations according to the external control signals.
The BIOS module 20 comprises a BIOS chip and a setup program stored in the BIOS chip. The setup program runs in the BIOS chip when the host system 10 is turned on. The BIOS module 20 is configured to read time signals from the BMC module 30, and transmit the time signals to the host system 10.
The BMC module 30 is a processor, for example a 32-bit ARM7, and follows IPMI specification. Different types of sensors built into the host system 10 report to the BMC module 30 on parameters such as temperature, cooling fan speeds, power status, operating system (OS) status, etc. The BMC module 30 stores system logs comprising operating information of hardware and software. When there is any error occurred in the server 200, user or system can analysis the reasons according to the system logs stored in the BMC module 30.
The RTC module 40 is embedded in the BMC module 30, and configured to provide stable and accurate time signals to the BMC module 30. The RTC module 40 is connected to the BMC module 30 by an I2C bus 41. The time signals are configured to allow accurate time stamping of occurrences and events recorded in the system logs. The RTC module 40 operates at all times, even when the host system 10 is off, and keeps tacking of current time and date.
The on-board battery 50 is embedded in the host system 10, and supplies electrical power to the RTC module 40 at all times. When the host system 10 is turned on, an external battery may be used to charge the RTC module 40.
In operation, when the server is turned on, the BMC module 30 reads real time from the RTC module 40, and converts real time to the time signals. The BIOS module 20 acquires the time signals from the BMC module 30 following IPMI specification and through a system interface connected between the BIOS module 20 and the BMC module 30. Then the BIOS module 20 transmits the time signals to the host system 10. Therefore, the BMC module 30 acquires accurate time and date for use in the system logs that start up earlier than the host system 10.
Referring to
The present disclosure provides the BMC module 30 connected with the RTC module 40 thereby obtaining the ability of acquiring time signals before the host system 10 by itself, as such to record the occurrence time of the system logs accurately.
It will be understood that particular embodiments are shown and described by way of illustration only. The principles and the features of the present disclosure may be employed in various and numerous embodiments thereof without departing from the scope of the disclosure as claimed. The above-described embodiments illustrate the scope of the disclosure but do not restrict the scope of the disclosure.
Number | Date | Country | Kind |
---|---|---|---|
2010 1 0206009 | Jun 2010 | CN | national |
Number | Name | Date | Kind |
---|---|---|---|
7197657 | Tobias | Mar 2007 | B1 |
7437258 | Robertson et al. | Oct 2008 | B2 |
7581133 | Lambert et al. | Aug 2009 | B2 |
7716515 | Shih | May 2010 | B2 |
8259749 | Li et al. | Sep 2012 | B2 |
20100080249 | Li et al. | Apr 2010 | A1 |
20110185216 | Zhao et al. | Jul 2011 | A1 |
Number | Date | Country | |
---|---|---|---|
20110314322 A1 | Dec 2011 | US |