This non-provisional application claims priority under 35 U.S.C. ยง 119(a) on Patent Application No(s). 201811525625.4 filed in China on Dec. 13, 2018, the entire contents of which are hereby incorporated by reference.
The disclosure relates to a computer manufacturing filed, more particularly to a server structure, a method for resource aggregation and a method for obtaining a sensor data of a server.
In the server composed by the mainboard (host) and the GPU (graphic processing unit) resource box, since the mainboard and the GPU resource box have independent BMCs (the board manage controller, or the management controller) respectively, and the firmware performed in the BMCs is different, as a result, the resources of the SDR (the sensor data record, or the sensor record) of the mainboard and the GPU resource box are monitored, managed and saved by the respective BMCs.
Since the mainboard and the GPU resource box is managed separately, it needs two management interface. Hence, parts of the resources for operating and maintaining are wasted, and the entirety of the server management is affected. In addition, from the perspective of the experience from the user, if the user wants to obtain the SDR information of the server, the user needs to access the BMC of the mainboard and the BMC of the GPU resource box respectively in order to obtain the completed SDR information of the server, and then the users further needs to integrate the data by himself. For these reasons, the series of operation steps are not convenient for the user, and the user can not understand the monitored condition of the whole housing of the server directly. Additionally, for the external traces of the server, if the mainboard and the GPU resource box are controlled by independent BMCs respectively, it needs to configure the external traces from the mainboard and the GPU resource box respectively in order to meet the demand for the user searching. Thus, the cost of the hardware is increased, and the management in the later time becomes more difficult.
Preferably, the management controller of the mainboard integrates the sensor record of the mainboard and all the sensor records of the resource box into the sensor record of the server, and the management controller of the mainboard supplies the sensor record of the server externally.
Preferably, at least one resource box sends sensor data of the at least one resource box to the management controller of the mainboard thorough an intelligent platform management bus.
Preferably, the at least one resource box comprises a graphic processing unit (GPU).
The method for the resource aggregation comprises the following steps:
step S1, loading at least one sensor record of at least one resource box to a server by a management controller of a mainboard;
step S2, integrating the at least one sensor record of the at least one resource box and a sensor record of the mainboard into a sensor record of the server by the management controller of the mainboard.
Preferably, the management controller of the mainboard performs the step S1 and the step S2 repeatedly and periodically by the management controller of the mainboard, and renewing a server log adapted for user access simultaneously according to the sensor record of the server by the management controller of the mainboard.
Preferably, in the step 1, the management controller of the mainboard obtains the at least one sensor record of the at least one resource box through an intelligent platform management bus.
Preferably, when the server is going through initialization and the numbers of the at least one sensor record and the at least one resource box are plural, the management controller of the mainboard loads the sensor records of the resource boxes one by one according to a previous sensor record.
Preferably, the sensor record comprises the sensor serial number and the sensor data at least. Also, in the step S1, the management controller of the mainboard loads the sensor data to the mainboard from the resource box periodically according to the sensor serial number, and the management controller of the mainboard saves the sensor serial number and the sensor data.
Preferably, when the management controller of the mainboard has included the sensor records of all of the resource boxes, the management controller of the mainboard obtains all of the sensor serial numbers.
Preferably, when the management controller of the mainboard does not have the sensor records of the resource boxes, the management controller of the mainboard obtains the sensor records from the resource boxes to obtain all of the sensor serial numbers.
Preferably, when the management controller of the mainboard has included several of the sensor records of the resource boxes, the management controller of the mainboard obtains other sensor records from other resource boxes of the resource boxes and obtains all the sensor serial numbers.
This disclosure further provides a method for obtaining a sensor data of a server, which comprises the following steps:
P1, receiving a command asked for sending the sensor data by the server;
P2, sending an integrated sensor data of the server to a command sender which sends the command;
wherein, wherein the sensor record of the server is provided by aforementioned method for resource aggregation.
This disclosure further provides a computer storage medium, which saves a computer program, the computer program is able to implement the method for resource aggregation according to claim 5 when the computer program is performed by a management controller of a mainboard of a server. Alternatively, the computer program is able to implement the method for resource aggregation according to claim 13.
The present disclosure will become more fully understood from the detailed description given hereinbelow and the accompanying drawings which are given by way of illustration only and thus are not limitative of the present disclosure and wherein:
For making the purposes and the features of this disclosure are more obvious and understandable, the specific implementation of this disclosure is further described hereinbelow with the reference to the accompanying drawings. However, this disclosure may be implemented in different forms and should not be limited to the described embodiments in this disclosure. Also, the embodiments of the present disclosure and the features in the embodiments are allowed for combination or replacement with each other in the condition of the principles are not conflicted with each other. Combining with the following descriptions, the advantages and the features of this disclosure will be clearer.
It should be noted that the drawings are in a very simplified form, and all the drawings are used a non-precise scale. Hence, the drawings are only used for an auxiliary description to the purpose in the embodiments of this disclosure in an easy, clear way.
Also, it needs to declare that, the purpose of numbering the steps is to facilitate the corresponding reference in this disclosure rather than limiting the sequence. For the individual steps which need to be emphasized its order will be described in the specific description in this disclosure.
Please refer to
Further, the management controller 11 of the mainboard integrates the sensor record of the mainboard 1 and the sensor records of all of the resource boxes into a sensor record of the server in order to form an integrated sensor record database. When the information is sent externally through the external interface, the mainboard 1 always obtains the sensor data from the sensor record database. As the right part shown in
Specifically, the first resource box 2 and the second resource box 3 may be the GPU (graphic processing unit) resource box or other resource box.
Please refer to
S1, the management controller of the mainboard loads the sensor records of the resource boxes to the server;
S2, the management controller of the mainboard integrates the sensor records of the resource boxes and the sensor record of the mainboard into the sensor record of the server.
Specifically, during the server operating stability, the management controller of the mainboard performs the step S1 and step S2 in a loop repeatedly in order to implement the function of renewing the sensor record database periodically. Hence, the sensor data between the mainboard and the resource box is able to be simultaneous dynamically. The period is set as 2 seconds in this embodiment. The people with conventional skill in the related field is able to provide other proper period for renewing the sensor record database periodically according to the comprehensive consideration about the amount of the data in the server and the ability of computing.
Specifically, the sensor record at least comprises a sensor serial number and a sensor data. The sensor serial number is corresponding to a respective one of the sensors in the server, so as to serve as the identifier of the sensor. In an embodiment, the sensor serial numbers of the server are saved in the mainboard in advance, and the mainboard determines whether to aggregate all the sensor records according to the sensor serial number saved in the mainboard in advance. When the server goes through initialization, the mainboard compares each of the sensor serial numbers saved in advance with each of the loaded sensor serial numbers renewed currently in the sensor record respectively. As a result, when the sensor serial numbers saved in advance are accordance with the loaded sensor serial numbers renewed currently, it is able to assure that all the sensor records have been loaded.
Further, the function of the mainboard that integrates the sensor record of the mainboard and the sensor record of the resource box into the sensor record of the server (i.e. the sensor record database) and generates the server log corresponding to the sensor record of the server and accessible to the user may be performed during the idle time of the loop, such as after the step S2. Furthermore, the sensor record database is renewed periodically according to the sensor serial number; alternatively, the sensor serial number is able to be regarded as the index number.
Further, as
As the left part shown in
P1, the server receives a command asked for sending the sensor record, wherein the command is sent according to the requirement of the user;
P2, the server sends the integrated sensor record of the server to the sender which sends the command, i.e. the user;
wherein, the sensor record of the server is supplied by aforementioned method for the resource aggregation.
Aforementioned server structure is able to use the bus included in the server for aggregating all the sensor records to the mainboard in advance. From the hardware aspect, it does not need to design the traces from the resource box end anymore. When the user needs to search the sensor record, it only needs a management interface and only communicates with the mainboard for searching the mainboard and all the sensor records of the resource box. Hence, it is much more convenient to use, the complexity of the traces is reduced, and the cost of operating and maintaining of the server room is saved efficiently.
Aforementioned method for the resource aggregation is able to aggregate the sensor record to the mainboard periodically from the resource box, when the hardware or firmware of the resource box end changes, the mainboard end is able to obtain related information currently, and the sensor record database is renewed simultaneously. As a result, the robustness and the stability of the server are improved.
Aforementioned method for obtaining the sensor data of the server is able to obtain all the sensor records of the server through a simple command, so the method provides the convenient for the user.
Obviously, people with the conventional skills in the related art is able to make various modifications and variations to this disclosure without departing from the spirit and the scope of this disclosure. Thus, if such modifications and variations of this disclosure fall within the scope of the claims and its equivalent technology of this disclosure, this disclosure is also intended to include these modifications and variations.
Number | Date | Country | Kind |
---|---|---|---|
201811525625.4 | Dec 2018 | CN | national |