1. Technical Field
The present disclosure relates to a system and a method of getting temperature data.
2. Description of Related Art
In many electronic devices and systems managing environmental temperatures and component temperatures can be very important. For example, in server systems, one or more fans controlled by a fan control board (FCB) are mounted in each server for motherboard heat dissipation. In general, a baseboard management controller (BMC) mounted on a motherboard provides that motherboard's temperature through an intelligent platform management interface (IPMI) in real time to the FCB, and the FCB can control the rotation speed of the corresponding fans accordingly. However, the FCB needs to be connected to the motherboard through a special connector and a special cable, which adds to the cost of the server.
Many aspects of the present embodiments can be better understood with reference to the following drawings. The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the present embodiments. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the several views.
The disclosure, including the accompanying drawings, is illustrated by way of example and not by way of limitation. It should be noted that references to “an” or “one” embodiment in this disclosure are not necessarily to the same embodiment, and such references mean at least one.
Referring to the
For each of the motherboards 50 there is a corresponding fan 70 to provide heat dissipation. Each of the motherboards 50 includes a network interface card (NIC) 57 with a unique Media Access Control (MAC) address, and a baseboard management controller (BMC) 55 for providing the motherboard temperature.
The network switch 40 comprises a MAC address table (not shown). The MAC address table comprises a plurality of MAC addresses, and port identifications (IDs) corresponding to the NICs 57. Each of the port IDs corresponds to a unique one of the MAC addresses in the MAC address table, and the MAC address corresponding to the port IDs is consistent with the MAC address in the corresponding NIC 57. In this embodiment, the network switch 40 is a layer-2 ethernet switch.
The DHCP server 30 includes an assigned Internet Protocol (IP) address table (not shown). The IP address table includes a plurality of IP addresses assigned to the motherboards 50, and a plurality of MAC addresses corresponding to the IP addresses. The MAC addresses in the IP address table are consistent with the MAC addresses in the MAC address table.
The FCB 80 communicates with the network switch 40 through a port such as a registered jack (RJ-45) port. The FCB 80 reads the MAC address table from the network switch 40 using Address Resolution Protocol (APR), and reads the IP address table from the DHCP server 30 through Transmission Control Protocol/Internet Protocol (TCP/IP), thereby getting the port IDs and IP addresses corresponding to the motherboards 50. The FCB 80 gets the motherboard temperatures by sending an intelligent platform management interface (IPMI) over local area network (LAN) (IOL) command to the BMCs 55 through the network switch 40, thereby getting the temperatures of the motherboards 50 based on the corresponding port IDs and MAC addresses and then controlling the rotation speeds of the fans 70 to provide more or less airflow as needed.
Referring to the
In step 5201, the FCB 80 reads the MAC address table from the network switch 40 using ARP, and the assigned IP address table from the DHCP server 30 through the TCP/IP.
In step 5202, the FCB 80 gets the port ID and the IP address corresponding to one of the motherboards 50 based on the read MAC address table and IP address table.
In step 5203, the FCB 80 obtains sensor readings by sending the IOL command to the corresponding BMC 55 through the net work switch 40, thereby getting the temperature data of the motherboard 50 based on the corresponding port ID and the MAC address.
The foregoing description of the exemplary embodiments of the disclosure has been presented only for the purposes of illustration and description and is not intended to be exhaustive or to limit the disclosure to the precise forms disclosed. Many modifications and variations are possible. The embodiments were chosen and described in order to explain the principles of the disclosure and their practical application so as to enable others of ordinary skill in the art to utilize the disclosure and various embodiments and with such various modifications as are suited to the particular use contemplated. Alternative embodiments will become apparent to those of ordinary skills in the art to which the present disclosure pertains without departing from its spirit and scope. Accordingly, the scope of the present disclosure is defined by the appended claims rather than by the foregoing description and the exemplary embodiments described therein.
Number | Date | Country | Kind |
---|---|---|---|
100141966 | Nov 2011 | TW | national |