TW201423592A - Rack and method for updating basic input output systems at the time thereof - Google Patents

Rack and method for updating basic input output systems at the time thereof Download PDF

Info

Publication number
TW201423592A
TW201423592A TW101146665A TW101146665A TW201423592A TW 201423592 A TW201423592 A TW 201423592A TW 101146665 A TW101146665 A TW 101146665A TW 101146665 A TW101146665 A TW 101146665A TW 201423592 A TW201423592 A TW 201423592A
Authority
TW
Taiwan
Prior art keywords
management controller
cabinet
basic input
update
message
Prior art date
Application number
TW101146665A
Other languages
Chinese (zh)
Inventor
Kuo-Shu Chiu
Chao-Wei Chang
Jo-Yu Chang
Original Assignee
Inventec Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inventec Corp filed Critical Inventec Corp
Priority to TW101146665A priority Critical patent/TW201423592A/en
Publication of TW201423592A publication Critical patent/TW201423592A/en

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

A rack includes a rack management controller (RMC) and a plurality of server nodes. The RMC receives a firmware updating file and generates an updating message according the firmware updating file. Each of the server nodes includes a memory and a baseboard management controller (BMC). The memory stores a basic input output system (BIOS). The BMC coupled to the RMC and the memory receives the updating message to download the firmware updating file from the RMC and store the firmware updating file to a storage space. After downloading the updating firmware file is completed, the BMC makes the memory perform a recovery mode, the BMC then write the updating firmware file into the memory for updating a firmware of the BIOS.

Description

機櫃與其同時更新多個基本輸入輸出系統的方法 Method for cabinet to update multiple basic input and output systems simultaneously

一種伺服器與其更新方法,特別有關於一種機櫃與其同時更新多個基本輸入輸出系統的方法。 A server and a method for updating the same, and particularly relates to a method for a cabinet to simultaneously update a plurality of basic input and output systems.

一般來說,伺服器(Server)的多個主板上會各自配置有基本輸入輸出系統(Basic Input Output System,BIOS)記憶體,此記憶體用以儲存基本輸入輸出系統,並且需要更新此記憶體內所儲存的韌體,以達成伺服器之維護或是部分功能的升級。就前述基本輸入輸出系統的韌體更新來說,需要由人員進行更新,亦即人員需將此記憶體取下,並以更新器具將新版本或任何版本的韌體寫入記憶體中,以更新記憶體中所儲存的韌體。 Generally, a plurality of motherboards of a server (Server) are respectively configured with a basic input output system (BIOS) memory for storing a basic input/output system, and the memory needs to be updated. Stored firmware to achieve server maintenance or upgrades to some features. For the firmware update of the aforementioned basic input/output system, it needs to be updated by a person, that is, the person needs to remove the memory and write the new version or any version of the firmware into the memory with the update device. Update the firmware stored in the memory.

然而,由於伺服器的需求量越來越大,因此伺服器內的主機板也配置越來越多,以能提供較好的服務。在需要對伺服器內之大量主機板的基本輸入輸出系統進行更新時,若以前述的更新方式,則需要人員於現場逐一更新伺服器之主機板的基本輸入輸出系統,如此將會導致基本輸入輸出系統的作業時間漫長,而降低韌體更新的效率。因此,伺服器之基本輸入輸出系統的韌體更新仍有需要改進的地方。 However, due to the increasing demand for servers, there are more and more motherboards in the server to provide better services. When it is necessary to update the basic input/output system of a large number of motherboards in the server, if the above update method is required, the personnel need to update the basic input/output system of the server board one by one in the field, which will result in basic input. The output system has a long operating time and reduces the efficiency of firmware updates. Therefore, the firmware update of the basic input/output system of the server still needs improvement.

鑒於以上的問題,本揭露在於提供一種機櫃與其同時更新多 個基本輸入輸出系統的方法,藉以有效節省韌體更新的作業時間,並增加韌體更新的效率。 In view of the above problems, the present disclosure is to provide a cabinet with multiple updates at the same time. A basic input-output system approach that effectively saves firmware update time and increases firmware update efficiency.

本揭露之一種機櫃,包括機櫃管理控制器與多個伺服器節點。機櫃管理控制器用以接收韌體更新檔,並依據韌體更新檔,產生更新訊息。這些伺服器節點各自包括記憶體與基板管理控制器。記憶體用以儲存基本輸入輸出系統。基板管理控制器耦接機櫃管理控制器與記憶體,用以接收更新資訊,以從機櫃管理控制器下載韌體更新檔,並存至儲存空間,且於韌體更新檔下載完成後,命令記憶體進入復原模式,將韌體更新檔寫入記憶體,以更新基本輸入輸出系統的韌體。 A cabinet of the present disclosure includes a cabinet management controller and a plurality of server nodes. The cabinet management controller is configured to receive the firmware update file and generate an update message according to the firmware update file. These server nodes each include a memory and substrate management controller. The memory is used to store the basic input and output system. The baseboard management controller is coupled to the cabinet management controller and the memory for receiving update information, and the firmware update file is downloaded from the cabinet management controller and stored in the storage space, and after the firmware update file is downloaded, the command memory is Enter the recovery mode and write the firmware update file to the memory to update the firmware of the basic input/output system.

在一實施例中,前述機櫃管理控制器與基板管理控制器例如透過一傳輸通到進行資料傳輸。 In an embodiment, the foregoing cabinet management controller and the baseboard management controller communicate, for example, through a transmission.

在一實施例中,前述基板管理控制器依據更新訊息,基板管理控制器分別對應產生回應訊息機櫃管理控制器,機櫃管理控制器判斷是否有回應訊息,若判斷有回應訊息,基板管理控制器從機櫃管理控制器下載韌體更新檔,若判斷無回應訊息,機櫃管理控制器判斷無回應訊息的次數是否超過預設值,若判斷出回應訊息的次數未超過預設值,機櫃管理控制器再次產生更新訊息至基板管理控制器,若判斷出無回應訊息的次數超過預設值,機櫃管理控制器產生更新錯誤訊息。 In an embodiment, the substrate management controller according to the update message, the substrate management controller respectively generates a response message cabinet management controller, and the cabinet management controller determines whether there is a response message, and if the response message is determined, the baseboard management controller The cabinet management controller downloads the firmware update file. If it is determined that there is no response message, the cabinet management controller determines whether the number of times of no response message exceeds a preset value. If the number of times the response message is determined does not exceed the preset value, the cabinet management controller again An update message is generated to the baseboard management controller. If it is determined that the number of non-response messages exceeds a preset value, the cabinet management controller generates an update error message.

在一實施例中,前述基板管理控制器判斷基本輸入輸出系統 是否更新成功,若判斷出基本輸入輸出系統未更新成功,基板管理控制器分別產生一錯誤訊息至機櫃管理控制器,若判斷出基本輸入輸出系統更新成功,基板管理控制器分別產生一更新完成訊息至機櫃管理控制器,且基板管理控制器控制記憶體由回復模式進入至開機模式。 In an embodiment, the foregoing substrate management controller determines the basic input output system If the update is successful, if it is determined that the basic input/output system is not updated successfully, the baseboard management controller generates an error message to the cabinet management controller respectively. If it is determined that the basic input/output system is successfully updated, the baseboard management controller generates an update completion message. To the cabinet management controller, and the baseboard management controller controls the memory to enter the power-on mode from the reply mode.

本揭露提供一種同時更新多個基本輸入輸出系統的方法,適於一機櫃,此機櫃包括機櫃管理控制器與多個伺服器節點,且這些伺服器節點各自包括記憶體與基板管理控制器。此同時更新多個基本輸入輸出系統的方法包括下列步驟。由機櫃管理控制器接收韌體更新檔。依據韌體更新檔,產生更新訊息至多個伺服器節點的多個基板管理控制器。依據更新訊息,基板管理控制器從機櫃管理控制器下載韌體更新檔。基板管理控制器命令伺服器節點的多個記憶體進入回復模式,其中記憶體分別儲存基本輸入輸出系統。將韌體更新檔寫入記憶體,以更新基本輸入輸出系統的韌體。 The present disclosure provides a method for simultaneously updating a plurality of basic input/output systems, which is suitable for a cabinet, the cabinet includes a cabinet management controller and a plurality of server nodes, and each of the server nodes includes a memory and a baseboard management controller. The method of simultaneously updating a plurality of basic input/output systems includes the following steps. The firmware update file is received by the cabinet management controller. According to the firmware update file, an update message is generated to a plurality of baseboard management controllers of the plurality of server nodes. According to the update message, the baseboard management controller downloads the firmware update file from the cabinet management controller. The substrate management controller commands a plurality of memories of the server node to enter a recovery mode, wherein the memory stores the basic input/output system separately. The firmware update file is written to the memory to update the firmware of the basic input/output system.

在一實施例中,前述依據更新訊息,基板管理控制器從機櫃管理控制器下載韌體更新檔的步驟之前更包括下列步驟。依據更新訊息,基板管理控制器分別對應產生回應訊息。判斷是否有回應訊息。若判斷有回應訊息,則進入依據更新訊息,基板管理控制器從機櫃管理控制器下載韌體更新檔的步驟。若判斷無回應訊息,判斷無回應訊息的次數是否超過預設值。若判斷出無回應訊 息的次數未超過預設值,則進入依據韌體更新檔,產生更新訊息至伺服器節點的多個基板管理控制器的步驟。若判斷出無回應訊息的次數超過預設值,則產生更新錯誤訊息。 In an embodiment, the foregoing step further includes the following steps before the step of downloading the firmware update file from the cabinet management controller according to the update message. According to the update message, the baseboard management controller respectively generates a response message. Determine if there is a response message. If it is determined that there is a response message, the step of downloading the firmware update file from the cabinet management controller according to the update message is entered. If it is judged that there is no response message, it is judged whether the number of non-response messages exceeds the preset value. If it is judged that there is no response If the number of times of the information does not exceed the preset value, the step of generating an update message to the plurality of baseboard management controllers of the server node according to the firmware update file is entered. If it is determined that the number of non-response messages exceeds the preset value, an update error message is generated.

在一實施例中,前述以更新基本輸入輸出系統的韌體的步驟之後包括下列步驟。判斷基本輸入輸出系統是否更新成功。若判斷出基本輸入輸出系統未更新成功,基板管理控制器分別產生錯誤訊息至機櫃管理控制器。若判斷出基本輸入輸出系統更新成功,基板管理控制器分別產生更新完成訊息至機櫃管理控制器,且基板管理控制器控制記憶體由回復模式進入至開機模式。 In an embodiment, the step of updating the firmware of the basic input/output system includes the following steps. Determine if the basic input and output system is updated successfully. If it is determined that the basic input/output system has not been updated successfully, the baseboard management controller generates an error message to the cabinet management controller. If it is determined that the basic input/output system is successfully updated, the baseboard management controller respectively generates an update completion message to the cabinet management controller, and the baseboard management controller controls the memory to enter the boot mode from the reply mode.

本揭露之機櫃與其同時更新多個基本輸入輸出系統的方法,藉由機櫃管理控制器依據所接收到的韌體更新檔,而據以產生更新訊息並同時傳給機櫃的多個基板管理控制器,且基板管理控制器對應此更新訊息,從機櫃管理控制器下載韌體更新檔,並命令記憶體進入回復模式,以將韌體更新檔寫入至記憶體,以更新基本輸入輸出系統的韌體。如此一來,可有效節省韌體更新的作業時間,並增加韌體更新的效率。 The method for updating a plurality of basic input/output systems at the same time, the cabinet management controller generates an update message according to the received firmware update file, and simultaneously transmits the update information to the plurality of baseboard management controllers of the cabinet. And the baseboard management controller corresponds to the update message, downloads the firmware update file from the cabinet management controller, and commands the memory to enter the reply mode to write the firmware update file to the memory to update the toughness of the basic input/output system. body. In this way, the working time of firmware update can be effectively saved, and the efficiency of firmware update is increased.

有關本揭露的特徵與實作,茲配合圖式作最佳實施例詳細說明如下。 The features and implementations of the present disclosure are described in detail below with reference to the drawings.

請參考「第1圖」所示,其為本揭露之機櫃的示意圖。機櫃100包括機櫃管理控制器(Rack Management Controller,RMC)110 與多個伺服器節點120_1~120_N,其中N為大於1的正整數。其中,伺服器節點120_1~120_N可各自視為獨立運作的伺服器。另外,機櫃管理控制器110可以例如是一獨立運作的伺服器或是一單獨的控制裝置。 Please refer to "Figure 1" for a schematic view of the cabinet of the present disclosure. The cabinet 100 includes a Rack Management Controller (RMC) 110. And a plurality of server nodes 120_1~120_N, where N is a positive integer greater than one. Among them, the server nodes 120_1~120_N can each be regarded as a server that operates independently. Additionally, the rack management controller 110 can be, for example, a stand-alone server or a separate control unit.

機櫃管理控制器110用以接收韌體更新檔,且依據此韌體更新檔,產生一更新訊息。也就是說,使用者可透過有線網路或無線網路,將新版本或任何版本之基本輸入輸出系統(Basic Input Output System,BIOS)的韌體更新檔上載(Upload)至機櫃管理控制器110,機櫃管理控制器110據此進行後續之基本輸入輸出系統的韌體更新程序。其中,韌體更新檔例如為一映像檔。 The cabinet management controller 110 is configured to receive the firmware update file, and generate an update message according to the firmware update file. That is to say, the user can upload and upload the firmware update file of the new version or any version of the Basic Input Output System (BIOS) to the rack management controller 110 through the wired network or the wireless network. The cabinet management controller 110 performs the firmware update procedure of the subsequent basic input/output system accordingly. The firmware update file is, for example, an image file.

在本發明之一實施例中,若是有多個機櫃100均連接至一個上層的控制器時,管理者可透過有線網路或無線網路,將新版本或任何版本之基本輸入輸出系統(Basic Input Output System,BIOS)的韌體更新檔上載(Upload)至上層的控制器,而上層的控制器再分別將韌體更新檔傳送至各個機櫃100。 In an embodiment of the present invention, if a plurality of cabinets 100 are connected to an upper controller, the administrator can use a new version or any version of the basic input/output system via a wired network or a wireless network (Basic). The firmware update file of the Input Output System (BIOS) is uploaded to the upper controller, and the upper controller transmits the firmware update file to each cabinet 100.

伺服器節點120_1~120_N分別包括記憶體130_1~130_N與基板管理控制器(Baseboard Management Controller,BMC)140_1~140_N。其中,記憶體130_1~130_N用以儲存基本輸入輸出系統。 The server nodes 120_1~120_N include a memory 130_1~130_N and a baseboard management controller (BMC) 140_1~140_N, respectively. The memory 130_1~130_N is used to store the basic input/output system.

基板管理控制器140_1~140_N分別耦接機櫃管理控制器110與記憶體130_1~130_N,用以接收更新訊息,以得知需要進行韌 體更新程序。接著,基板管理控制器140_1~140_N依據更新訊息,從機櫃管理控制器110下載韌體更新檔,並將此韌體更新檔儲存於基板管理控制器140_1~140_N各自的儲存空間。 The baseboard management controllers 140_1~140_N are respectively coupled to the rack management controller 110 and the memory 130_1~130_N for receiving update information to learn that the device needs to be tough. Body update program. Then, the substrate management controllers 140_1~140_N download the firmware update files from the rack management controller 110 according to the update information, and store the firmware update files in the storage spaces of the substrate management controllers 140_1~140_N.

在一實施例中,這些儲存空間例如由基板管理控制器140_1~140_N虛擬出來的一個虛擬空間。進一步來說,前述虛擬空間例如是基板管理控制器140_1~140_N在相對應之伺服器節點120_1~120_N的記憶體130_1~130_N或硬碟上所畫分出來的空間。或是,在另一實施例中,這些儲存空間例如為配置於基板管理控制器140_1~140_N之暫存器所提供的。 In one embodiment, these storage spaces are, for example, a virtual space virtualized by the substrate management controllers 140_1~140_N. Further, the virtual space is, for example, a space that the baseboard management controllers 140_1~140_N draw on the memory 130_1~130_N or the hard disk of the corresponding server nodes 120_1~120_N. Alternatively, in another embodiment, the storage spaces are provided, for example, by a temporary storage device disposed in the substrate management controllers 140_1~140_N.

接著,在基板管理控制器140_1~140_N下載韌體更新檔後,會命令記憶體130_1~130_N進入回復模式(Recovery Mode),則基板管理控制器140_1~140_N將儲存空間的韌體更新檔寫入記憶體130_1~130_N,以更新記憶體130_1~130_N之基本輸入輸出系統的韌體。 Then, after the firmware management file 140_1~140_N downloads the firmware update file, the memory 130_1~130_N is instructed to enter the recovery mode, and the substrate management controller 140_1~140_N writes the firmware update file of the storage space. The memory 130_1~130_N is used to update the firmware of the basic input/output system of the memory 130_1~130_N.

進一步來說,當使用者上載韌體更新檔,例如新版本基本輸入輸出系統的韌體至機櫃管理控制器110。當機櫃管理控制器110接收到前述韌體更新檔,會對應產生更新訊息給基板管理控制器140_1~140_N。並且,在基板管理控制器140_1~140_N接收到前述更新訊息後,依據更新訊息,基板管理控制器140_1~140_N會分別對應產生回應訊息機櫃管理控制器110。 Further, when the user uploads the firmware update file, for example, the firmware of the new version of the basic input/output system to the rack management controller 110. When the cabinet management controller 110 receives the firmware update file, an update message is generated correspondingly to the baseboard management controllers 140_1~140_N. After the substrate management controllers 140_1~140_N receive the update message, the substrate management controllers 140_1~140_N respectively generate the response message cabinet management controller 110 according to the update message.

接著,機櫃管理控制器110會判斷是否有回應訊息。若判斷 有回應訊息,表示基板管理控制器140_1~140_N正常狀態,則基板管理控制器140_1~140_N會從機櫃管理控制器110下載韌體更新檔。 Next, the rack management controller 110 determines whether there is a response message. If judged There is a response message indicating that the baseboard management controllers 140_1~140_N are in a normal state, and the baseboard management controllers 140_1~140_N download the firmware update files from the rack management controller 110.

若判斷無回應訊息,機櫃管理控制器110判斷回應訊息的次數是否超過預設值。若判斷出無回應訊息的次數未超過預設值,機櫃管理控制器110會再次產生更新訊息基板管理控制器140_1~140_N,以告知基板管理控制器140_1~140_N進行後續之基本輸入輸出系統的韌體更新程序,直到機櫃管理控制器110判斷回應訊息的次數是否超過預設值為止。 If it is determined that there is no response message, the cabinet management controller 110 determines whether the number of response messages exceeds a preset value. If it is determined that the number of non-response messages does not exceed the preset value, the cabinet management controller 110 generates the update message baseboard management controllers 140_1~140_N again to inform the baseboard management controllers 140_1~140_N to perform the subsequent basic input/output system toughness. The program is updated until the cabinet management controller 110 determines whether the number of response messages exceeds a preset value.

若判斷出無回應訊息的次數超過預設值,機櫃管理控制器110產生更新錯誤訊息。並且,此更新錯誤訊息例如可傳送至顯示器或發光二極體,並顯示出對應的訊息,以告知使用者韌體更新發生錯誤,使用者便可進行相應的處理。 If it is determined that the number of non-response messages exceeds a preset value, the cabinet management controller 110 generates an update error message. Moreover, the update error message can be transmitted to the display or the LED, for example, and a corresponding message is displayed to inform the user that the firmware update has an error, and the user can perform corresponding processing.

接著,當基板管理控制器140_1~140_N從機櫃管理控制器110下載韌體更新檔後,基板管理控制器140_1~140_N會進一步命令記憶體130_1~130_N進入回復模式,例如由開機模式轉換至回復模式。之後,基板管理控制器140_1~140_N將韌體更新檔寫入記憶體130_1~130_N,使得記憶體130_1~130_N在回復模式下將新版本的基本輸入輸出系統覆蓋原始的基本輸入輸出系統。 Then, after the baseboard management controllers 140_1~140_N download the firmware update files from the rack management controller 110, the baseboard management controllers 140_1~140_N further instruct the memory 130_1~130_N to enter the reply mode, for example, switching from the boot mode to the reply mode. . Thereafter, the substrate management controllers 140_1~140_N write the firmware update files to the memory 130_1~130_N, so that the memory 130_1~130_N overwrites the original basic input/output system with the new version of the basic input/output system in the reply mode.

之後,基板管理控制器140_1~140_N判斷基本輸入輸出系統是否更新成功。若判斷出基本輸入輸出系統未更新成功,基板管 理控制器140_1~140_N分別產生一錯誤訊息至機櫃管理控制器110。接著,機櫃管理控制器110對應此錯誤訊息,產生對應的訊號至顯示器或發光二極體,並顯示出對應的訊息,以告知使用者韌體更新發生錯誤,使用者便可進行相應的處理。以告知基本輸入輸出系統未更新成功。 Thereafter, the substrate management controllers 140_1~140_N determine whether the basic input/output system is updated successfully. If it is judged that the basic input/output system has not been updated successfully, the substrate tube The controllers 140_1~140_N generate an error message to the rack management controller 110, respectively. Then, the cabinet management controller 110 generates a corresponding signal to the display or the LED according to the error message, and displays a corresponding message to inform the user that the firmware update error occurs, and the user can perform corresponding processing. To inform the basic input and output system that the update was not successful.

另一方面,若判斷出基本輸入輸出系統更新成功,基板管理控制器140_1~140_N分別產生更新完成訊息至機櫃管理控制器110。接著,機櫃管理控制器110對應此錯誤訊息,產生對應的訊號至顯示器或發光二極體,並顯示出對應的訊息,以告知使用者韌體更新完成且更新成功。 On the other hand, if it is determined that the basic input/output system update is successful, the substrate management controllers 140_1~140_N respectively generate an update completion message to the rack management controller 110. Then, the cabinet management controller 110 generates a corresponding signal to the display or the LED according to the error message, and displays a corresponding message to inform the user that the firmware update is completed and the update is successful.

另外,基板管理控制器140_1~140_N控制記憶體130_1~130_N由回復模式進入至開機模式,並控制伺服器節點120_1~120_N關機。接著,伺服器節點120_1~120_N重新啟動後,基本輸入輸出系統可在開機模式運行,使得伺服器節點120_1~120_N可正確開機並進入正常運作。 In addition, the substrate management controllers 140_1~140_N control the memory 130_1~130_N to enter the boot mode from the reply mode, and control the server nodes 120_1~120_N to shut down. Then, after the server nodes 120_1~120_N are restarted, the basic input/output system can be operated in the boot mode, so that the server nodes 120_1~120_N can be properly turned on and enter normal operation.

在本實施例中,當機櫃100欲更新基本輸入輸出系統時,因為機櫃100的電源供應器會提供交流(AC)電源給伺服器節點120_1~120_N,所以各伺服器節點120_1~120_N的基板管理控制器140_1~140_N皆已經被致能。 In this embodiment, when the cabinet 100 wants to update the basic input/output system, since the power supply of the cabinet 100 provides alternating current (AC) power to the server nodes 120_1~120_N, the substrate management of each server node 120_1~120_N Controllers 140_1~140_N have all been enabled.

當機櫃100開始更新基本輸入輸出系統時,若各伺服器節點120_1~120_N處於關機狀態,並且基板管理控制器140_1~140_N 接收到更新訊息後,即控制伺服器節點120_1~120_N開機。當伺服器節點120_1~120_N開機完成後,此時伺服器節點120_1~120_N仍是以舊的基本輸入輸出系統的韌體進行開機,則基本輸入輸出系統會偵測到基板管理控制器140_1~140_N所接收到的更新韌體,然後執行回復模式的操作,以進行韌體的更新程序。 When the cabinet 100 starts to update the basic input/output system, if each of the server nodes 120_1~120_N is in a shutdown state, and the baseboard management controllers 140_1~140_N After receiving the update message, the control server nodes 120_1~120_N are powered on. After the server nodes 120_1~120_N are powered on, the server nodes 120_1~120_N are still booted by the firmware of the old basic input/output system, and the basic input/output system detects the substrate management controllers 140_1~140_N. The received firmware is updated, and then the reply mode operation is performed to perform the firmware update procedure.

接著,當韌體更新完成後,基板管理控制器140_1~140_N控制伺服器節點120_1~120_N進行關機,使得伺服器節點120_1~120_N於下次開機時,就是以新的基本輸入輸出系統的韌體進行開機。 Then, after the firmware update is completed, the baseboard management controllers 140_1~140_N control the server nodes 120_1~120_N to perform shutdown, so that the server nodes 120_1~120_N are powered by the new basic input and output system at the next startup. Start up.

另外,當機櫃100開始更新基本輸入輸出系統時,若伺服器節點120_1~120_N處於開機運作狀態,並且基板管理控制器140_1~140_N接收到更新訊息後,基板管理控制器140_1~140_N會先控制伺服器節點120_1~120_N關機,以進行韌體更新的程序。 In addition, when the cabinet 100 starts to update the basic input/output system, if the server nodes 120_1~120_N are in the startup state, and the substrate management controllers 140_1~140_N receive the update message, the substrate management controllers 140_1~140_N first control the servos. The nodes 120_1~120_N are shut down for the firmware update procedure.

進一步來說,在一實施例中,基板管理控制器140_1~140_N可以等待並控制伺服器節點120_1~120_N關機後,控制伺服器節點120_1~120_N以舊的基本輸入輸出系統的韌體開機,再以更新韌體執行回復模式的操作,以進行韌體的更新程序。 Further, in an embodiment, the baseboard management controllers 140_1~140_N can wait for and control the server nodes 120_1~120_N to shut down, and control the server nodes 120_1~120_N to boot the firmware of the old basic input/output system, and then Perform the recovery mode operation by updating the firmware to update the firmware.

在另一實施例中,基板管理控制器140_1~140_N會等待機櫃管理控制器110不再分派任務給伺服器節點120_1~120_N(例如需要進行韌體更新的伺服器節點),且伺服器節點120_1~120_N已 將目前的工作完成後,控制伺服器節點120_1~120_N關機。接著,基板管理控制器140_1~140_N控制伺服器節點120_1~120_N以舊的基本輸入輸出系統的韌體開機,並以更新韌體執行回復模式的操作,以進行韌體的更新程序。 In another embodiment, the baseboard management controllers 140_1~140_N wait for the rack management controller 110 to no longer assign tasks to the server nodes 120_1~120_N (eg, server nodes that require firmware update), and the server node 120_1 ~120_N has After the current work is completed, the control server nodes 120_1~120_N are shut down. Next, the baseboard management controllers 140_1~140_N control the server nodes 120_1~120_N to boot up with the firmware of the old basic input/output system, and perform the operation of the recovery mode with the updated firmware to perform the firmware update procedure.

在本實施例中,前述機櫃管理控制器110與基板管理控制器140_1~140_N例如透過一傳輸通道150進行資料傳輸。其中,前述傳輸通道150例如為智慧平台管理介面(Intelligent Platform Management Interface,IPMI)與網路使用者介面(Web User Interface)等。 In this embodiment, the cabinet management controller 110 and the baseboard management controllers 140_1~140_N perform data transmission through a transmission channel 150, for example. The transmission channel 150 is, for example, an Intelligent Platform Management Interface (IPMI) and a Web User Interface.

藉由前述實施例的說明,可以歸納出一種同時更新多個基本輸入輸出系統的方法。請參考「第2圖」所示,其為本揭露之同時更新多個基本輸入輸出系統的方法流程圖。本實施例之同時更新多個基本輸入輸出系統的方法適於一機櫃,此機櫃包括機櫃管理控制器與多個伺服器節點,且這些伺服器節點各自包括記憶體與基板管理控制器。 With the description of the foregoing embodiments, a method of simultaneously updating a plurality of basic input/output systems can be summarized. Please refer to "Figure 2" for a flowchart of the method for updating multiple basic input and output systems at the same time. The method for updating a plurality of basic input/output systems at the same time in this embodiment is suitable for a cabinet, the cabinet includes a cabinet management controller and a plurality of server nodes, and each of the server nodes includes a memory and a baseboard management controller.

在步驟S210中,由機櫃管理控制器接收韌體更新檔。在步驟S220中,依據韌體更新檔,產生更新訊息至多個伺服器節點的多個基板管理控制器。 In step S210, the firmware update file is received by the cabinet management controller. In step S220, according to the firmware update file, an update message is generated to the plurality of baseboard management controllers of the plurality of server nodes.

在步驟S230中,依據更新訊息,基板管理控制器從機櫃管理控制器下載韌體更新檔。在步驟S240中,基板管理控制器命令伺服器節點的多個記憶體進入回復模式,其中記憶體分別儲存多個 基本輸入輸出系統。在步驟S250中,將韌體更新檔寫入記憶體,以更新基本輸入輸出系統的韌體。 In step S230, according to the update message, the baseboard management controller downloads the firmware update file from the cabinet management controller. In step S240, the substrate management controller commands the plurality of memories of the server node to enter a recovery mode, wherein the memory stores multiple Basic input and output system. In step S250, the firmware update file is written to the memory to update the firmware of the basic input/output system.

請參考「第3圖」所示,其為本揭露之另一同時更新多個基本輸入輸出系統的方法流程圖。本實施例之同時更新多個基本輸入輸出系統的方法適於一機櫃,此機櫃包括機櫃管理控制器與多個伺服器節點,且這些伺服器節點各自包括記憶體與基板管理控制器。 Please refer to FIG. 3, which is a flow chart of another method for simultaneously updating a plurality of basic input/output systems. The method for updating a plurality of basic input/output systems at the same time in this embodiment is suitable for a cabinet, the cabinet includes a cabinet management controller and a plurality of server nodes, and each of the server nodes includes a memory and a baseboard management controller.

在步驟S302中,由機櫃管理控制器接收韌體更新檔。在步驟S304中,依據韌體更新檔,產生更新訊息至多個伺服器節點的多個基板管理控制器。在步驟S306中,依據更新訊息,基板管理控制器分別對應產生回應訊息。 In step S302, the firmware update file is received by the cabinet management controller. In step S304, an update message is generated according to the firmware update file to the plurality of baseboard management controllers of the plurality of server nodes. In step S306, according to the update message, the baseboard management controller respectively generates a response message.

在步驟S308中,判斷是否有回應訊息。若判斷無回應訊息,則進入步驟S310,判斷無回應訊息的次數是否超過預設值。若判斷出無回應訊息的次數未超過預設值,則進入步驟S304,以再次依據韌體更新檔,產生更新訊息至伺服器節點的多個基板管理控制器。另一方面,若判斷出無回應訊息的次數超過預設值,則進入步驟S312,產生更新錯誤訊息。 In step S308, it is determined whether there is a response message. If it is determined that there is no response message, the process proceeds to step S310, and it is determined whether the number of times of no response message exceeds a preset value. If it is determined that the number of non-response messages does not exceed the preset value, then step S304 is performed to generate an update message to the plurality of baseboard management controllers of the server node according to the firmware update file. On the other hand, if it is determined that the number of times of no response message exceeds the preset value, the process proceeds to step S312 to generate an update error message.

承接上述步驟S308,若判斷有回應訊息,則進入步驟S314,依據更新訊息,基板管理控制器從機櫃管理控制器下載韌體更新檔。在步驟S316中,基板管理控制器命令伺服器節點的多個記憶體進入回復模式,其中記憶體分別儲存多個基本輸入輸出系統。 在步驟S318中,將韌體更新檔寫入記憶體,以更新基本輸入輸出系統的韌體。 In step S308, if it is determined that there is a response message, the process proceeds to step S314, and according to the update message, the baseboard management controller downloads the firmware update file from the cabinet management controller. In step S316, the substrate management controller commands the plurality of memories of the server node to enter a recovery mode, wherein the memory stores a plurality of basic input/output systems, respectively. In step S318, the firmware update file is written to the memory to update the firmware of the basic input/output system.

在步驟S320中,判斷基本輸入輸出系統是否更新成功。若判斷出基本輸入輸出系統未更新成功,則進入步驟S322,基板管理控制器分別產生一錯誤訊息至機櫃管理控制器。若判斷出基本輸入輸出系統更新成功,則進入步驟S324,基板管理控制器分別產生更新完成訊息至機櫃管理控制器,且基板管理控制器命令記憶體由回復模式進入至開機模式。 In step S320, it is determined whether the basic input/output system is updated successfully. If it is determined that the basic input/output system has not been successfully updated, the process proceeds to step S322, and the substrate management controller generates an error message to the cabinet management controller. If it is determined that the basic input/output system is successfully updated, proceeding to step S324, the baseboard management controller respectively generates an update completion message to the cabinet management controller, and the baseboard management controller commands the memory to enter the power-on mode from the reply mode.

本揭露之實施例的機櫃與其基本輸入輸出系統的更新方法,其藉由機櫃管理控制器依據所接收到的韌體更新檔,而據以產生更新訊息並同時傳給機櫃的多個基板管理控制器,且基板管理控制器對應此更新訊息,從機櫃管理控制器下載韌體更新檔,並命令記憶體進入回復模式,以將韌體更新檔寫入至記憶體,以更新基本輸入輸出系統的韌體。如此一來,可有效節省韌體更新的作業時間,並增加韌體更新的效率。 The method for updating a cabinet and a basic input/output system thereof according to the embodiment of the present disclosure, wherein the cabinet management controller generates an update message according to the received firmware update file and simultaneously transmits the plurality of baseboard management controls to the cabinet. And the baseboard management controller corresponds to the update message, downloads the firmware update file from the cabinet management controller, and commands the memory to enter the reply mode to write the firmware update file to the memory to update the basic input/output system. firmware. In this way, the working time of firmware update can be effectively saved, and the efficiency of firmware update is increased.

雖然本揭露以前述之實施例揭露如上,然其並非用以限定本揭露,任何熟習相像技藝者,在不脫離本揭露之精神和範圍內,當可作些許之更動與潤飾,因此本揭露之專利保護範圍須視本說明書所附之申請專利範圍所界定者為準。 The present disclosure is disclosed in the foregoing embodiments, and is not intended to limit the disclosure. Any subject matter of the present invention can be modified and retouched without departing from the spirit and scope of the disclosure. The scope of patent protection shall be subject to the definition of the scope of the patent application attached to this specification.

100‧‧‧機櫃 100‧‧‧ cabinet

110‧‧‧機櫃管理控制器 110‧‧‧Cabinet Management Controller

120_1~120_N‧‧‧伺服器節點 120_1~120_N‧‧‧ server node

130_1~130_N‧‧‧記憶體 130_1~130_N‧‧‧ memory

140_1~140_N‧‧‧基板管理控制器 140_1~140_N‧‧‧Baseboard Management Controller

150‧‧‧傳輸通道 150‧‧‧Transmission channel

第1圖為本揭露之機櫃的示意圖。 Figure 1 is a schematic view of the cabinet of the present disclosure.

第2圖為本揭露之同時更新多個基本輸入輸出系統的方法流程圖。 FIG. 2 is a flow chart of a method for updating a plurality of basic input/output systems simultaneously with the disclosure.

第3圖為本揭露之另一同時更新多個基本輸入輸出系統的方法流程圖。 FIG. 3 is a flow chart of another method for simultaneously updating a plurality of basic input/output systems according to the present disclosure.

Claims (7)

一種機櫃,包括:一機櫃管理控制器,用以接收一韌體更新檔,並依據該韌體更新檔,產生一更新訊息;以及多個伺服器節點,該些伺服器節點各自包括:一記憶體,用以儲存一基本輸入輸出系統;以及一基板管理控制器,耦接該機櫃管理控制器與該記憶體,用以接收該更新資訊,以從該機櫃管理控制器下載該韌體更新檔,並存至一儲存空間,且於該韌體更新檔下載完成後,命令該記憶體進入一復原模式,將該韌體更新檔寫入該記憶體,以更新該基本輸入輸出系統的一韌體。 A cabinet includes: a cabinet management controller for receiving a firmware update file, and generating an update message according to the firmware update file; and a plurality of server nodes, each of the server nodes including: a memory The body is configured to store a basic input/output system; and a baseboard management controller coupled to the cabinet management controller and the memory for receiving the update information to download the firmware update file from the cabinet management controller And saving to a storage space, and after the firmware update file is downloaded, instructing the memory to enter a recovery mode, and writing the firmware update file to the memory to update a firmware of the basic input/output system . 如請求項1所述之機櫃,其中該機櫃管理控制器與該些基板管理控制器透過一傳輸通道進行資料傳輸。 The cabinet of claim 1, wherein the cabinet management controller and the baseboard management controller perform data transmission through a transmission channel. 如請求項1所述之機櫃,其中該些基板管理控制器依據該更新訊息,該些基板管理控制器分別對應產生一回應訊息該機櫃管理控制器,該機櫃管理控制器判斷是否有該回應訊息,若判斷有該回應訊息,則該些基板管理控制器從該機櫃管理控制器下載該韌體更新檔,若判斷無該回應訊息,該機櫃管理控制器判斷無該回應訊息的次數是否超過一預設值,若判斷出無該回應訊息的次數未超過該預設值,該機櫃管理控制器再次產生該更新訊息至該些基板管理控制器,若判斷出無該回應訊息的次數 超過該預設值,該機櫃管理控制器產生一更新錯誤訊息。 The cabinet of claim 1, wherein the substrate management controllers respectively generate a response message corresponding to the cabinet management controller according to the update message, and the cabinet management controller determines whether the response message is generated. If the response message is determined, the baseboard management controller downloads the firmware update file from the cabinet management controller, and if it is determined that there is no response message, the cabinet management controller determines whether the number of times the response message does not exceed one. The preset value, if it is determined that the number of times the response message does not exceed the preset value, the cabinet management controller generates the update message to the substrate management controller again, and if the number of times the response message is not found Above the preset value, the cabinet management controller generates an update error message. 如請求項1所述之機櫃,其中該些基板管理控制器判斷該些基本輸入輸出系統是否更新成功,若判斷出該些基本輸入輸出系統未更新成功,該些基板管理控制器分別產生一錯誤訊息至該機櫃管理控制器,若判斷出該基本輸入輸出系統更新成功,該些基板管理控制器分別產生一更新完成訊息至該機櫃管理控制器,且該些基板管理控制器控制該些記憶體由該回復模式進入至一開機模式。 The cabinet of claim 1, wherein the substrate management controller determines whether the basic input/output systems are successfully updated, and if it is determined that the basic input/output systems are not updated successfully, the substrate management controllers respectively generate an error. Sending a message to the cabinet management controller, if it is determined that the basic input/output system is successfully updated, the baseboard management controllers respectively generate an update completion message to the cabinet management controller, and the baseboard management controller controls the memory From the reply mode, it enters a boot mode. 一種同時更新多個基本輸入輸出系統的方法,適於一機櫃,其中該機櫃包括一機櫃管理控制器與多個伺服器節點,且該伺服器節點各自包括一記憶體與一基板管理控制器,而該同時更新多個基本輸入輸出系統的方法包括:由該機櫃管理控制器接收一韌體更新檔;依據該韌體更新檔,產生一更新訊息至該些伺服器節點的該些基板管理控制器;依據該更新訊息,該些基板管理控制器從該機櫃管理控制器下載該韌體更新檔;該些基板管理控制器命令該些伺服器節點的該些記憶體進入一回復模式,其中該些記憶體分別儲存該些基本輸入輸出系統;以及將該韌體更新檔寫入該些記憶體,以更新該些基本輸入輸 出系統的一韌體。 A method for simultaneously updating a plurality of basic input/output systems is applicable to a cabinet, wherein the cabinet includes a cabinet management controller and a plurality of server nodes, and the server nodes each include a memory and a substrate management controller. The method for simultaneously updating a plurality of basic input/output systems includes: receiving, by the cabinet management controller, a firmware update file; and generating an update message to the substrate management controls of the server nodes according to the firmware update file. According to the update message, the baseboard management controller downloads the firmware update file from the cabinet management controller; the baseboard management controllers command the memory of the server nodes to enter a reply mode, wherein the The memory stores the basic input/output systems separately; and writing the firmware update file to the memory to update the basic input and output A firmware of the system. 如請求項5所述之同時更新多個基本輸入輸出系統的方法,其中依據該更新訊息,該些基板管理控制器從該機櫃管理控制器下載該韌體更新檔的步驟之前更包括:依據該更新訊息,該些基板管理控制器分別對應產生一回應訊息;判斷是否有該回應訊息;若判斷有該回應訊息,則進入依據該更新訊息,該些基板管理控制器從該機櫃管理控制器下載該韌體更新檔的步驟;若判斷無該回應訊息,判斷無該回應訊息的次數是否超過一預設值;若判斷出無該回應訊息的次數未超過該預設值,則進入依據該韌體更新檔,產生該更新訊息至該些伺服器節點的該些基板管理控制器的步驟;以及若判斷出無該回應訊息的次數超過該預設值,則產生一更新錯誤訊息。 The method of updating a plurality of basic input/output systems at the same time as described in claim 5, wherein the step of downloading the firmware update file from the cabinet management controller according to the update message further includes: Updating the message, the substrate management controllers respectively generate a response message; determining whether the response message is present; if the response message is determined, entering the substrate management controller to download from the cabinet management controller according to the update message The firmware updates the file step; if it is determined that there is no response message, it is determined whether the number of times the response message does not exceed a preset value; if it is determined that the number of times the response message does not exceed the preset value, then the entry is based on the toughness And updating the file to generate the update message to the baseboard management controllers of the server nodes; and if it is determined that the number of times the response message does not exceed the preset value, generating an update error message. 如請求項5所述之同時更新多個基本輸入輸出系統的方法,其中以更新該些基本輸入輸出系統的該韌體的步驟之後包括:判斷該些基本輸入輸出系統是否更新成功;若判斷出該些基本輸入輸出系統未更新成功,分別產生一錯誤訊息至該機櫃管理控制器;以及 若判斷出該基本輸入輸出系統更新成功,分別產生一更新完成訊息至該機櫃管理控制器,且該些基板管理控制器控制該些記憶體由該回復模式進入至一開機模式。 The method of updating a plurality of basic input/output systems at the same time as described in claim 5, wherein the step of updating the firmware of the basic input/output systems comprises: determining whether the basic input/output systems are updated successfully; The basic input/output systems are not updated successfully, respectively generating an error message to the cabinet management controller; If it is determined that the basic input/output system is successfully updated, an update completion message is generated to the cabinet management controller, and the baseboard management controller controls the memory to enter the boot mode by the reply mode.
TW101146665A 2012-12-11 2012-12-11 Rack and method for updating basic input output systems at the time thereof TW201423592A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW101146665A TW201423592A (en) 2012-12-11 2012-12-11 Rack and method for updating basic input output systems at the time thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW101146665A TW201423592A (en) 2012-12-11 2012-12-11 Rack and method for updating basic input output systems at the time thereof

Publications (1)

Publication Number Publication Date
TW201423592A true TW201423592A (en) 2014-06-16

Family

ID=51394053

Family Applications (1)

Application Number Title Priority Date Filing Date
TW101146665A TW201423592A (en) 2012-12-11 2012-12-11 Rack and method for updating basic input output systems at the time thereof

Country Status (1)

Country Link
TW (1) TW201423592A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI514282B (en) * 2014-10-23 2015-12-21 Inventec Corp Server directly updated through baseboard management controller
TWI668578B (en) * 2018-04-03 2019-08-11 神雲科技股份有限公司 Server rack system with function of automatic synchronization of bmc configuration parameters between different server and automatic synchronization method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI514282B (en) * 2014-10-23 2015-12-21 Inventec Corp Server directly updated through baseboard management controller
TWI668578B (en) * 2018-04-03 2019-08-11 神雲科技股份有限公司 Server rack system with function of automatic synchronization of bmc configuration parameters between different server and automatic synchronization method thereof

Similar Documents

Publication Publication Date Title
JP5623593B2 (en) Rack and method for simultaneously updating a basic input / output system
US10120676B2 (en) Method of updating baseboard management controller firmware for fan speed control
TWI578233B (en) Unified firmware managment system, non-transitory computer-readable storage medium and method for unified firmware managment
US20130007430A1 (en) Server and firmware updating method
CN103324495A (en) Method and system for data center server boot management
US9910664B2 (en) System and method of online firmware update for baseboard management controller (BMC) devices
CN106354610B (en) Server system and operation method thereof
TWI655582B (en) Server with dual firmware storage space and firmware update method thereof
CN103513993A (en) Firmware updating system and method
TWI509515B (en) Computer system and method for setting bios
TWI602121B (en) Technology for updating a server image file
US20120042307A1 (en) System and method for creating memory interface of computing device
CN107066300B (en) Firmware upgrading method of storage device and storage device
CN103136019A (en) Method and device used for uploading configuration information
JP2019139373A (en) Information processing system and information processor and bios update method of information processor and bios update program of information processor
CN107220009B (en) Method and device for uniformly acquiring state information of RAID cards of different manufacturers
JP2016524771A (en) Method and device for updating program data
CN110825409B (en) Parameter management method, electronic device and computer storage medium
US20090222677A1 (en) Display of blade server operating system information
TW201423592A (en) Rack and method for updating basic input output systems at the time thereof
JP2016173744A (en) Blade server, blade system, bmc, chipset, and enclosure manager
CN106484442B (en) Server system and method for updating startup mapping file
CN109697077B (en) Method, device and equipment for starting hard disk firmware
CN101727333A (en) Method for updating firmware in microprocessor and firmware updating system
JP2007249808A (en) Function extension system and function extension equipment