TW201942759A - Server rack system with function of automatic synchronization of BMC configuration parameters between different server and automatic synchronization method thereof - Google Patents

Server rack system with function of automatic synchronization of BMC configuration parameters between different server and automatic synchronization method thereof Download PDF

Info

Publication number
TW201942759A
TW201942759A TW107111999A TW107111999A TW201942759A TW 201942759 A TW201942759 A TW 201942759A TW 107111999 A TW107111999 A TW 107111999A TW 107111999 A TW107111999 A TW 107111999A TW 201942759 A TW201942759 A TW 201942759A
Authority
TW
Taiwan
Prior art keywords
management controller
update
parameter
update instruction
substrate management
Prior art date
Application number
TW107111999A
Other languages
Chinese (zh)
Other versions
TWI668578B (en
Inventor
朱鴻祿
呂郁銳
郭明義
Original Assignee
神雲科技股份有限公司
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 神雲科技股份有限公司 filed Critical 神雲科技股份有限公司
Priority to TW107111999A priority Critical patent/TWI668578B/en
Application granted granted Critical
Publication of TWI668578B publication Critical patent/TWI668578B/en
Publication of TW201942759A publication Critical patent/TW201942759A/en

Links

Abstract

A server rack system with automatic synchronization function of BMC configuration parameters and automatic synchronization method thereof are provided. The method includes an update module of a first BMC of any one of multiple servers updating a first BMC configuration parameter of the server including the first BMC according to a first update command from a user, the first BMC sending a second update command to every one of the servers that does not receive the first update command, and a second BMC of each one of the servers that does not receive the first update command updating a second BMC configuration parameter of the server including the second BMC according to the updated first BMC configuration parameter, wherein the second update command includes the updated first BMC configuration parameter.

Description

具自動同步更新不同伺服器之間的相同基板管理控制器設定參數功能之伺服器機櫃系統及其自動同步方法Server cabinet system with automatic synchronization updating function for setting parameters of the same substrate management controller between different servers and automatic synchronization method thereof

本發明是關於一種伺服器機櫃系統,且特別是具自動同步基板管理控制器設定參數功能之伺服器機櫃系統及其自動同步方法。The invention relates to a server cabinet system, and more particularly to a server cabinet system with an automatic synchronization substrate setting controller parameter setting function and an automatic synchronization method thereof.

伺服器機櫃系統包含複數台伺服器,每一台伺服器具有智慧平台管理介面(Intelligent Platform Management Interface;IPMI),智慧平台管理介面是伺服器管理平台的標準架構。在智慧平台管理介面包含的元件中,以基板管理器(Baseboard Management Controller;BMC)最為重要,基板管理器能獨立運作而不必受控於作業系統來監視及管控伺服器中的各個元件(例如包括中央處理器、硬碟裝置、風扇式散熱裝置、電源供應器、網路連結設備、等等)的數據,例如:溫度、轉速、電壓和電流值等等。透過智慧平台管理介面(Intelligent Platform Management Interface;IPMI),伺服器機櫃系統之管理者能藉由基板管理器瞭解伺服器中各個元件的運作狀況,達到便於管理每一台伺服器之目的。The server cabinet system includes a plurality of servers, and each server has an Intelligent Platform Management Interface (IPMI). The intelligent platform management interface is a standard framework of a server management platform. Among the components included in the intelligent platform management interface, the Baseboard Management Controller (BMC) is the most important. The Baseboard Manager can operate independently without being controlled by the operating system to monitor and control each component in the server (for example, including CPU, hard disk drive, fan-type heat sink, power supply, network connection equipment, etc.), such as temperature, speed, voltage and current values, etc. Through the Intelligent Platform Management Interface (IPMI), the administrator of the server cabinet system can understand the operating status of each component in the server through the baseboard manager, thereby achieving the purpose of facilitating the management of each server.

然而,由於伺服器機櫃系統可能包含數量眾多之伺服器。在一些雲端儲存之應用中,伺服器機櫃系統甚至包含數十萬台之伺服器,在透過智慧平台管理介面及基板管理器瞭解伺服器中各個元件的運作狀況之前,伺服器機櫃系統之管理者必須先設定好基板管理器參數(BMC configuration),例如:有多少個具有BMC的伺服器彼此相連,有多少個感應器與BMC相連,連接的設定值等等。當管理者欲將每一台伺服器分別包含的基板管理器設定參數設定為相同時,管理者需以手動之方式逐一地對每一台伺服器進行修改,如此將造成龐大的時間成本,且以手動的方式修改每一台伺服器容易因人為疏失而造成不同的伺服器之間的同一基板管理控制器設定參數不一致之情形。However, the server cabinet system may contain a large number of servers. In some cloud storage applications, the server cabinet system even includes hundreds of thousands of servers. Before understanding the operating status of each component in the server through the intelligent platform management interface and substrate manager, the administrator of the server cabinet system The BMC configuration must be set first, for example: how many servers with BMC are connected to each other, how many sensors are connected to BMC, the set value of the connection, etc. When the administrator wants to set the baseboard manager setting parameters included in each server to be the same, the manager needs to manually modify each server one by one, which will cause a huge time cost, and It is easy to modify each server by manual method, which may cause inconsistencies in the same board management controller setting parameters between different servers due to human error.

有鑑於此,本發明提出一種具自動同步基板管理控制器設定參數功能之伺服器機櫃系統及其自動同步方法。In view of this, the present invention provides a server cabinet system with an automatic synchronization substrate setting controller parameter setting function and an automatic synchronization method thereof.

在一實施例中,一種具自動同步更新不同伺服器之間的相同基板管理控制器設定參數功能之伺服器機櫃系統包含複數伺服器,複數伺服器之間相互連線且為屬於同一網域中的平行節點,每一伺服器包含一儲存單元及耦接於前述之儲存單元之一基板管理控制器。儲存單元包含複數基板管理控制器設定參數。基板管理控制器則用以更新前述之基板管理控制器設定參數。其中,當複數伺服器中之任一伺服器接收來自於使用者之一第一更新指令時,接收第一更新指令之伺服器的基板管理控制器根據第一更新指令更新其伺服器的基板管理控制器設定參數,且接收第一更新指令之伺服器發送一第二更新指令至複數伺服器中未接收第一更新指令之其他每一伺服器,第二更新指令包含更新後之基板管理控制器設定參數,使未接收第一更新指令之其他每一伺服器的基板管理控制器根據第二更新指令更新其伺服器的基板管理控制器設定參數。In one embodiment, a server cabinet system with the function of automatically synchronizing the setting parameters of the same baseboard management controller between different servers includes a plurality of servers. The plurality of servers are connected to each other and belong to the same network domain. , Each server includes a storage unit and a substrate management controller coupled to the aforementioned storage unit. The storage unit includes a plurality of substrate management controller setting parameters. The baseboard management controller is used to update the aforementioned board management controller setting parameters. Wherein, when any one of the plurality of servers receives the first update instruction from one of the users, the substrate management controller of the server receiving the first update instruction updates the substrate management of its server according to the first update instruction. The controller sets parameters, and the server receiving the first update command sends a second update command to each of the plurality of servers that did not receive the first update command. The second update command includes the updated board management controller. Set the parameters so that the baseboard management controller of each other server that has not received the first update instruction updates the baseboard management controller setting parameters of its server according to the second update instruction.

在一實施例中,一種自動同步更新不同伺服器之間的相同基板管理控制器設定參數之方法,適於一包含複數伺服器的伺服器機櫃系統,且前述之複數伺服器係屬於同一網域中的平行節點,前述之方法包含:複數伺服器中之任一伺服器的一第一基板管理控制器根據來自於使用者之一第一更新指令更新其伺服器的一第一基板管理控制器設定參數、第一基板管理控制器發送一第二更新指令至複數伺服器中未接收第一更新指令之其他伺服器,第二更新指令包含更新後之第一基板管理控制器設定參數、以及未接收第一更新指令之其他伺服器的一第二基板管理控制器根據更新後之第一基板管理控制器設定參數更新其伺服器的一第二基板管理控制器設定參數。In an embodiment, a method for automatically updating the same board management controller setting parameters between different servers is suitable for a server cabinet system including a plurality of servers, and the aforementioned plurality of servers belong to the same network domain In the parallel node in the foregoing method, a first substrate management controller of any one of a plurality of servers updates a first substrate management controller of its server according to a first update instruction from a user. The setting parameter, the first substrate management controller sends a second update instruction to other servers in the plurality of servers that have not received the first update instruction, and the second update instruction includes the updated first substrate management controller setting parameters, and A second substrate management controller of the other server receiving the first update instruction updates a second substrate management controller setting parameter of its server according to the updated first substrate management controller setting parameter.

綜上所述,根據本發明之具自動同步基板管理控制器設定參數功能之伺服器機櫃系統及其自動同步方法之一實施例,任一伺服器之基板管理控制器可將使用者變更之基板管理控制器設定參數自動同步更新至其他伺服器,使伺服器系統中的每一台伺服器都具有相同的基板管理控制器設定。使用者僅需對一台伺服器進行設定則可使每一台伺服器具有相同的基板管理控制器設定,且由伺服器自動進行更新可降低使用者手動設定每一台伺服器而造成錯誤之風險。再者,每一台伺服器都可以自動更新其他伺服器,無需額外設置一台管理伺服器,可降低硬體成本。To sum up, according to an embodiment of the server cabinet system with automatic synchronization substrate management controller setting parameter function and an automatic synchronization method of the present invention, the substrate management controller of any server can change the substrate of the user. The management controller setting parameters are automatically updated to other servers synchronously, so that each server in the server system has the same substrate management controller settings. Users only need to set one server to make each server have the same board management controller settings, and the server automatically updates to reduce the error caused by the user manually setting each server. risk. Furthermore, each server can automatically update other servers without the need to set up an additional management server, which can reduce hardware costs.

圖1為根據本發明之具自動同步不同伺服器之間的相同基板管理控制器設定參數功能之伺服器1之一實施例之方塊示意圖。圖2為根據本發明適於伺服器1之自動同步不同伺服器之間的相同基板管理控制器設定參數之方法之一實施例之流程圖。請合併參照圖1及圖2,伺服器1包含基板管理控制器11及儲存單元12。儲存單元12中儲存有基板管理控制器設定參數,基板管理控制器設定參數的數量至少為一。基板管理控制器11耦接於儲存單元12,基板管理控制器11可藉由儲存單元12中之基板管理控制器設定參數設定伺服器1之基板管理控制器設定。在一實施例中,儲存單元12可為唯讀記憶體,例如電子抹除式可複寫唯讀記憶體(EEPROM)。FIG. 1 is a schematic block diagram of an embodiment of a server 1 having the function of automatically synchronizing parameter settings of the same substrate management controller between different servers according to the present invention. FIG. 2 is a flowchart of an embodiment of a method for automatically synchronizing the same substrate management controller setting parameters between different servers suitable for the server 1 according to the present invention. Please refer to FIG. 1 and FIG. 2 together. The server 1 includes a substrate management controller 11 and a storage unit 12. The storage unit 12 stores the board management controller setting parameters, and the number of the board management controller setting parameters is at least one. The substrate management controller 11 is coupled to the storage unit 12. The substrate management controller 11 can set the substrate management controller of the server 1 through the substrate management controller setting parameters in the storage unit 12. In one embodiment, the storage unit 12 may be a read-only memory, such as an electronic erasable rewritable read-only memory (EEPROM).

基板管理控制器11包含參數更新模組111、參數同步模組112及智慧平台管理介面(Intelligent Platform Management Interface;IPMI)113。基板管理控制器11可藉由智慧平台管理介面113接收來自於使用者之更新指令S1(以下稱為第一更新指令S1)以及來自於屬於同一網域中的平行節點之其他伺服器(以下所提到的其他伺服器皆為與伺服器1屬於同一網域中的平行節點)之基板管理控制器之另一更新指令S3(以下稱為第三更新指令S3),其中,更新指令S1、S3皆為智慧平台管理介面指令。參數更新模組111可根據第一更新指令S1更新儲存單元12中之基板管理控制器設定參數(步驟S01)或可根據第三更新指令S3更新儲存單元12中之基板管理控制器設定參數(步驟S03)。在基板管理控制器設定參數更新之後,基板管理控制器11再藉由更新後之基板管理控制器設定參數設定伺服器1之基板管理控制器設定。在一實施例中,智慧平台管理介面113可為積體電路匯流排(Inter-Integrated Circuit;I2C)及/或區域網路(Local Area Network;LAN)。The baseboard management controller 11 includes a parameter update module 111, a parameter synchronization module 112, and an Intelligent Platform Management Interface (IPMI) 113. The baseboard management controller 11 may receive an update instruction S1 (hereinafter referred to as a first update instruction S1) from a user and other servers (hereinafter referred to as parallel nodes) belonging to the same network domain through the intelligent platform management interface 113. The other servers mentioned are another update instruction S3 (hereinafter referred to as the third update instruction S3) of the baseboard management controller of the parallel node belonging to the same network domain as the server 1; among them, the update instructions S1 and S3 All are smart platform management interface commands. The parameter update module 111 may update the board management controller setting parameters in the storage unit 12 according to the first update instruction S1 (step S01) or may update the board management controller setting parameters in the storage unit 12 according to the third update instruction S3 (step S03). After the board management controller setting parameters are updated, the board management controller 11 sets the board management controller settings of the server 1 by using the updated board management controller setting parameters. In one embodiment, the intelligent platform management interface 113 may be an integrated circuit bus (Inter-Integrated Circuit; I2C) and / or a local area network (LAN).

參數同步模組112用以週期性地藉由判斷一旗標訊號是否為一預設邏輯位準來判斷參數更新模組111是否根據第一更新指令S1更新基板管理控制器設定參數(步驟S04),當判斷結果為「是」時,表示參數更新模組111根據第一更新指令S1更新基板管理控制器設定參數,此時參數同步模組112會藉由智慧平台管理介面113發送一亦為智慧平台管理介面指令之第二更新指令S2至與伺服器1耦接之其他伺服器。第二更新指令S2包含根據第一更新指令S1更新後之基板管理控制器設定參數。The parameter synchronization module 112 is used to determine whether the parameter update module 111 periodically updates the board management controller setting parameters according to the first update instruction S1 by determining whether a flag signal is a preset logic level (step S04). When the judgment result is "Yes", it means that the parameter update module 111 updates the board management controller setting parameters according to the first update instruction S1, and at this time, the parameter synchronization module 112 will send one via the intelligent platform management interface 113, which is also intelligent. The second update instruction S2 of the platform management interface instruction is to other servers coupled to the server 1. The second update instruction S2 includes the baseboard management controller setting parameters updated according to the first update instruction S1.

基此,當使用者由遠端或直接操作伺服器1以變更伺服器1之基板管理控制器設定時,基板管理控制器11會接收到第一更新指令S1,參數更新模組111會執行步驟S01來更新基板管理控制器設定參數;於是,參數同步模組112在執行步驟S04時會判斷出基板管理控制器設定參數是根據第一更新指令S1更新,參數同步模組112接著執行步驟S05以發送第二更新指令S2至其他伺服器,使其他伺服器的參數更新模組根據參數同步模組112發送的基板管理控制器設定參數同步更新其基板管理控制器設定;或者,當使用者並非變更伺服器1之基板管理控制器設定而是變更其他伺服器之基板管理控制器設定時,基板管理控制器11會接收到來自於其他伺服器之第三更新指令S3,參數更新模組111會執行步驟S03來更新基板管理控制器設定參數;於是,根據第三更新指令S3,參數同步模組112在執行步驟S04不會判斷出基板管理控制器設定參數是根據第一更新指令S1更新(判斷結果為「否」),此時,參數同步模組112不會發送第二更新指令S2,參數同步模組112會不斷地執行步驟S04,直到判斷結果為「是」時始執行步驟S05來發送第二更新指令S2至其他伺服器。Based on this, when the user operates the server 1 remotely or directly to change the board management controller setting of the server 1, the board management controller 11 will receive the first update instruction S1, and the parameter update module 111 will perform the steps S01 updates the board management controller setting parameters; therefore, when executing step S04, the parameter synchronization module 112 determines that the board management controller setting parameters are updated according to the first update instruction S1, and the parameter synchronization module 112 then executes step S05 to Send a second update instruction S2 to other servers, so that the parameter update modules of the other servers synchronize and update their board management controller settings according to the board management controller setting parameters sent by the parameter synchronization module 112; or, when the user does not change When the board management controller settings of server 1 are changed but the board management controller settings of other servers are changed, the board management controller 11 will receive the third update instruction S3 from other servers, and the parameter update module 111 will execute Step S03 is to update the board management controller setting parameters; therefore, according to the third update instruction S3, the parameter synchronization module 112 is in In step S04, it is not determined that the board management controller setting parameters are updated according to the first update instruction S1 (the determination result is "No"). At this time, the parameter synchronization module 112 does not send the second update instruction S2, and the parameter synchronization mode The group 112 continuously executes step S04, and executes step S05 to send the second update instruction S2 to other servers until the determination result is "YES".

在一實施例中,前述基板管理控制器設定參數包含多種不同類型的設定參數,基板管理控制器11可根據第一更新指令S1或第三更新指令S3來更新基板管理控制器設定參數中之相應的設定參數,而其他伺服器則可根據第二更新指令S2來更新其他伺服器之基板管理控制器設定參數中之相應的設定參數。舉例來說,前述之基板管理控制器設定參數可包含與硬碟啟動控制有關之設定參數(例如,根據統一可延伸韌體介面(Unified Extensible Firmware Interface;UEFI)的基本輸入輸出系統或是傳統的基本輸入輸出系統(Legacy BIOS)選擇硬碟的啟動模式,或與開機選項(boot option)有關之設定參數,或與區域網路(LAN)協定(例如,使區域網路協定為固定制或是浮動制(Dynamic Host Configuration Protocol;DHCP))有關之設定參數。基此,參數更新模組111在接收到更新指令S1、S3時會判斷儲存單元12中需更新之設定參數,參數更新模組111不更新不符合更新指令S1、S3之設定參數;以第一更新指令S1包含前述之開機選項設定參數為例,參數更新模組111根據第一更新指令S1更新基板管理控制器設定參數中之開機選項設定參數而不更新其他設定參數。待開機選項設定參數更新之後,參數同步模組112再將更新後之開機選項設定參數發送至其他伺服器;以第三更新指令S3包含前述之開機選項設定參數為例,參數更新模組111可根據第三更新指令S3更新基板管理控制器設定參數中之開機選項設定參數。In one embodiment, the aforementioned board management controller setting parameters include a plurality of different types of setting parameters, and the board management controller 11 may update the corresponding ones of the board management controller setting parameters according to the first update instruction S1 or the third update instruction S3. And other servers can update the corresponding setting parameters in the board management controller setting parameters of other servers according to the second update instruction S2. For example, the aforementioned board management controller setting parameters may include setting parameters related to hard disk startup control (for example, based on a Unified Extensible Firmware Interface (UEFI) basic input output system or traditional The basic input output system (Legacy BIOS) selects the hard disk boot mode, or setting parameters related to the boot option, or with a local area network (LAN) protocol (for example, making the local network protocol fixed or Floating system (Dynamic Host Configuration Protocol; DHCP). Based on this, the parameter update module 111 will determine the setting parameters to be updated in the storage unit 12 when receiving the update instructions S1 and S3, and the parameter update module 111 Does not update the setting parameters that do not meet the update instructions S1 and S3; taking the first update instruction S1 as an example of the aforementioned boot option setting parameters, the parameter update module 111 updates the boot in the board management controller setting parameters according to the first update instruction S1 Option setting parameters without updating other setting parameters. After the power-on option setting parameters are updated, The digital synchronization module 112 then sends the updated boot option setting parameters to other servers; taking the third update command S3 as an example including the aforementioned boot option setting parameters, the parameter update module 111 can update the substrate according to the third update command S3 Set the boot option setting parameters in the management controller setting parameters.

在一實施例中,使用者可藉由直接操作伺服器1來變更伺服器1之基板管理控制器設定或是由遠端裝置連線於伺服器1來變更伺服器1之基板管理控制器設定。In an embodiment, the user can change the board management controller setting of server 1 by directly operating server 1 or change the board management controller setting of server 1 by connecting a remote device to server 1 .

在一實施例中,當參數更新模組111根據第一更新指令S1更新基板管理控制器設定參數時,參數更新模組111可發送一致能訊號至參數同步模組112,使參數同步模組112在執行步驟S04時接收到前述致能訊號後可判斷出參數更新模組111係根據第一更新指令S1更新基板管理控制器設定參數,進而執行步驟S05。In an embodiment, when the parameter update module 111 updates the board management controller setting parameters according to the first update instruction S1, the parameter update module 111 may send a consistent energy signal to the parameter synchronization module 112, so that the parameter synchronization module 112 After receiving the foregoing enabling signal when executing step S04, it can be determined that the parameter update module 111 updates the board management controller setting parameters according to the first update instruction S1, and then executes step S05.

在另一實施例中,請合併參照圖1及圖3,當參數更新模組111根據第一更新指令S1更新基板管理控制器設定參數之後,參數更新模組111設定前述之一旗標訊號(步驟S02),使旗標訊號由原有之第一邏輯位準(例如,「0」)轉變為第二邏輯位準(例如,「1」);於此,參數同步模組112在執行步驟S04時可藉由判斷前述旗標訊號是否為一預設邏輯位準(即,前述之第二邏輯位準)來判斷參數更新模組111是否根據第一更新指令S1來更新基板管理控制器設定參數,當使用者變更基板管理控制器設定時,參數同步模組112會判斷出旗標訊號為第二邏輯位準而執行步驟S05,並在執行步驟S05之後再設定旗標訊號,使旗標訊號由第二邏輯位準轉變為原有之第一邏輯位準,為第一邏輯位準之旗標訊號不觸發參數同步模組112發送第二更新指令S2。In another embodiment, please refer to FIG. 1 and FIG. 3 together. After the parameter update module 111 updates the board management controller setting parameters according to the first update instruction S1, the parameter update module 111 sets one of the aforementioned flag signals ( Step S02), so that the flag signal is changed from the original first logic level (for example, "0") to the second logic level (for example, "1"); here, the parameter synchronization module 112 is performing steps At S04, it can be determined whether the parameter update module 111 updates the board management controller setting according to the first update instruction S1 by judging whether the flag signal is a preset logic level (ie, the aforementioned second logic level). Parameter, when the user changes the settings of the board management controller, the parameter synchronization module 112 determines that the flag signal is at the second logic level and executes step S05, and sets the flag signal after executing step S05 to enable the flag The signal changes from the second logic level to the original first logic level, and the flag signal of the first logic level does not trigger the parameter synchronization module 112 to send a second update instruction S2.

另一方面,當參數更新模組111根據第三更新指令S3更新基板管理控制器設定參數時,參數更新模組111不設定旗標訊號,此時旗標訊號會維持於原有之第一邏輯位準。於是,當使用者變更其他伺服器的基板管理控制器設定時,參數同步模組112不會判斷出旗標訊號為第二邏輯位準(參數更新模組111未執行步驟S02),換言之,參數同步模組112在參數更新模組111根據第三更新指令S3更新基板管理控制器設定參數之後不會發送根據第三更新指令S3更新後之基板管理控制器設定參數至其他伺服器。On the other hand, when the parameter update module 111 updates the board management controller setting parameters according to the third update instruction S3, the parameter update module 111 does not set a flag signal, and the flag signal will be maintained at the original first logic at this time. Level. Therefore, when the user changes the settings of the baseboard management controller of other servers, the parameter synchronization module 112 does not determine that the flag signal is at the second logic level (the parameter update module 111 does not perform step S02). In other words, the parameters The synchronization module 112 does not send the board management controller setting parameters updated according to the third update instruction S3 to other servers after the parameter update module 111 updates the board management controller setting parameters according to the third update instruction S3.

在實作上,由於第一更新指令S1與第三更新指令S3之來源並不相同(第一更新指令S1係由伺服器1內部之單元所產生,前述之伺服器1內部之單元係受控於使用者變更伺服器1之基板管理控制器設定之單元而產生第一更新指令S1,而第三更新指令S3係由伺服器1以外之其他伺服器之內部單元所產生),第一更新指令S1與第三更新指令S3各包含用以表示其來源之一位元(可稱為來源識別位元),且前述位元於第一更新指令S1與第三更新指令S3中為不同的邏輯位準,舉例來說,以第一更新指令S1與第三更新指令S3之第一位元分別表示其來源為例,第一更新指令S1之第一位元的邏輯位準可為「1」,而第三更新指令S3之第一位元的邏輯位準可為「0」。於此,伺服器1內部受控於使用者變更基板管理控制器設定而產生第一更新指令S1之單元可將第一更新指令S1的第一位元設定為「1」,參數更新模組111在接收到第一更新指令S1時可根據前述位元為「1」之邏輯位準設定旗標訊號(即,將旗標訊號設定為第二邏輯位準),而參數更新模組111在接收到第三更新指令S3時則不設定旗標訊號;並且,參數同步模組112在產生第二更新指令S2時可將第二更新指令S2的來源識別位元設定為「0」,使其他基板管理控制器在接收到第二更新指令S2後根據邏輯位準為「0」之來源識別位元而不設定旗標訊號。In practice, because the sources of the first update instruction S1 and the third update instruction S3 are not the same (the first update instruction S1 is generated by a unit inside the server 1, the aforementioned unit inside the server 1 is controlled The first update instruction S1 is generated when the user changes the unit set by the baseboard management controller of server 1, and the third update instruction S3 is generated by an internal unit of a server other than server 1), the first update instruction S1 and the third update instruction S3 each include a bit (which can be referred to as a source identification bit) to indicate its source, and the aforementioned bits are different logical bits in the first update instruction S1 and the third update instruction S3. For example, if the first bit of the first update instruction S1 and the third bit of the third update instruction S3 respectively indicate their sources, the logic level of the first bit of the first update instruction S1 may be "1", The logic level of the first bit of the third update instruction S3 may be "0". Here, the unit inside the server 1 that is controlled by the user to change the settings of the substrate management controller and generate the first update instruction S1 can set the first bit of the first update instruction S1 to "1", and the parameter update module 111 When receiving the first update instruction S1, the flag signal can be set according to the aforementioned logic level of "1" (ie, the flag signal is set to the second logic level), and the parameter update module 111 is receiving When the third update instruction S3 is reached, the flag signal is not set; and when the parameter synchronization module 112 generates the second update instruction S2, the source identification bit of the second update instruction S2 can be set to "0", so that other substrates After receiving the second update instruction S2, the management controller does not set a flag signal according to the source identification bit whose logic level is "0".

在一實施例中,旗標訊號可儲存於儲存單元12或與基板管理控制器11耦接之其他儲存單元。基板管理控制器11可存取前述之儲存單元以設定旗標。In one embodiment, the flag signal may be stored in the storage unit 12 or other storage unit coupled to the substrate management controller 11. The baseboard management controller 11 can access the aforementioned storage unit to set a flag.

在一實施例中,當參數同步模組112發送第二更新指令S2時,參數同步模組112係以廣播(broadcast)之形式發送第二更新指令S2。在另一實施例中,參數同步模組112可指定欲發送至之伺服器之網路協定(Internet Protocol;IP)位址,使第二更新指令S2發送至指定之IP位址。詳細而言,參數同步模組112在發送第二更新指令S2之前先以廣播之形式發送一測試訊號,待其他伺服器接收到測試訊號並據以回傳確認訊號之後,參數同步模組112再藉由回傳確認訊號之伺服器得知同一網域中之其他伺服器之IP位址,此時參數同步模組112再將第二更新指令S2發送至已回傳確認訊號之其他伺服器。基此,參數同步模組112僅將第二更新指令S2發送給相同網域(domain)內之其他伺服器之BMC。In one embodiment, when the parameter synchronization module 112 sends the second update instruction S2, the parameter synchronization module 112 sends the second update instruction S2 in a broadcast form. In another embodiment, the parameter synchronization module 112 may specify the Internet Protocol (IP) address of the server to be sent, so that the second update instruction S2 is sent to the designated IP address. In detail, the parameter synchronization module 112 sends a test signal in a broadcast form before sending the second update instruction S2. After the other server receives the test signal and returns a confirmation signal accordingly, the parameter synchronization module 112 then The server that returns the confirmation signal knows the IP addresses of other servers in the same network domain. At this time, the parameter synchronization module 112 sends a second update command S2 to the other servers that have returned the confirmation signal. Based on this, the parameter synchronization module 112 only sends the second update instruction S2 to the BMCs of other servers in the same domain.

在一實施例中,伺服器1及耦接於伺服器1之其他伺服器可包含相同之一參數清單,參數更新模組111在執行步驟S01時可根據第一更新指令S1來更新前述之參數清單,且參數更新模組111在執行步驟S03時亦可根據第三更新指令S3來更新前述之參數清單。參數清單可包含基板管理控制器設定參數之更新紀錄,例如前述之硬碟控制設定參數之更新記錄、開機選項設定參數之更新記錄、或區域網路協定設定參數之更新記錄;或者,參數清單亦可包含前述之更新記錄再加上根據第一更新指令S1更新後之基板管理控制器設定參數。於是,第二更新指令S2可包含前述之參數清單,參數同步模組112可將包含參數清單之第二更新指令S2發送至其他伺服器,使其他伺服器依照參數清單來更新其基板管理控制器設定參數及其自身所包含之參數清單。In an embodiment, the server 1 and other servers coupled to the server 1 may include the same parameter list. The parameter update module 111 may update the foregoing parameters according to the first update instruction S1 when executing step S01. List, and the parameter update module 111 may also update the aforementioned parameter list according to the third update instruction S3 when executing step S03. The parameter list may include an update record of the board management controller setting parameters, such as the aforementioned update record of the hard disk control setting parameters, an update record of the boot option setting parameters, or an update record of the LAN protocol setting parameters; or, the parameter list also includes It may include the aforementioned update record plus the board management controller setting parameters updated according to the first update instruction S1. Therefore, the second update instruction S2 may include the aforementioned parameter list, and the parameter synchronization module 112 may send the second update instruction S2 including the parameter list to other servers, so that the other servers update their substrate management controllers according to the parameter list. Set parameters and the list of parameters contained in them.

在一實施例中,當參數更新模組111更新基板管理控制器設定參數(步驟S01、S03)卻更新失敗時,參數更新模組111可記錄前述之失敗事件,例如將前述之失敗事件寫入一日誌(log)檔,使管理者可根據已記錄之失敗事件來進行除錯。In one embodiment, when the parameter update module 111 fails to update the board management controller setting parameters (steps S01 and S03), the parameter update module 111 may record the aforementioned failure event, for example, write the aforementioned failure event A log file allows the administrator to debug based on recorded failure events.

在一實施例中,在步驟S03中,參數更新模組111在接收到第二更新指令S2時,參數更新模組111會先判斷儲存單元12中之基板管理控制器設定參數是否需要更新,例如參數更新模組111可比對儲存單元12中之基板管理控制器設定參數與第二更新指令S2包含的基板管理控制器設定參數是否相同,若參數更新模組111判斷出儲存單元12中之基板管理控制器設定參數需要更新,參數更新模組111始根據第二更新指令S2包含的基板管理控制器設定參數更新儲存單元12中之基板管理控制器設定參數,並將更新紀錄儲存於前述之參數清單中。In an embodiment, in step S03, when the parameter update module 111 receives the second update instruction S2, the parameter update module 111 first determines whether the parameters set by the substrate management controller in the storage unit 12 need to be updated, for example, The parameter update module 111 can compare whether the board management controller setting parameters in the storage unit 12 are the same as the board management controller setting parameters included in the second update instruction S2. If the parameter update module 111 determines that the board management in the storage unit 12 is the same The controller setting parameters need to be updated. The parameter update module 111 starts to update the board management controller setting parameters in the storage unit 12 according to the board management controller setting parameters included in the second update instruction S2, and stores the update record in the aforementioned parameter list. in.

圖4為根據本發明之具自動同步不同伺服器之間的相同基板管理控制器設定參數功能之伺服器機櫃系統之一實施例之示意圖。圖5及圖6分別為圖4之伺服器機櫃系統於運作時之一實施例之示意圖。在此,圖4至圖6係以伺服器機櫃系統包含四台伺服器為例,然本發明不以此為限,伺服器機櫃系統所包含之伺服器的數量可為大於四。請合併參照圖4至圖6,伺服器機櫃系統包含複數伺服器1、2、3、4。複數伺服器1、2、3、4連線於彼此。伺服器1、2、3、4中之每一者具有相同的構件,也就是伺服器2、3、4與伺服器1具有相同的構件。值得一提的是,伺服器1、2、3、4彼此之間相互連線且為屬於同一網域中的平行節點,如圖5及圖6所示,由伺服器1、2、3、4所組成的叢集(cluster)中,伺服器1、2、3、4為平行設置,並沒有設置主節點(master node)來分組管理各個伺服器,因此伺服器1、2、3、4均為從節點(slave node)。如圖5及圖6所示,伺服器1、2、3、4分別包含相同之基板管理控制器11、21、31、41及儲存單元12、22、32、42。儲存單元12、22、32、42中儲存有相同之至少一基板管理控制器設定參數(為方便描述,以下將伺服器1、2、3、4之基板管理控制器設定參數分別稱為第一基板管理控制器設定參數、第二基板管理控制器設定參數、第三基板管理控制器設定參數及第四基板管理控制器設定參數),也就是第一基板管理控制器設定參數、第二基板管理控制器設定參數、第三基板管理控制器設定參數及第四基板管理控制器設定參數均是對應於伺服器1、2、3、4之間之相同的基板管理控制器設定。FIG. 4 is a schematic diagram of an embodiment of a server cabinet system having the function of automatically synchronizing parameter settings of the same baseboard management controller between different servers according to the present invention. 5 and 6 are schematic diagrams of an embodiment of the server cabinet system of FIG. 4 during operation. Here, FIG. 4 to FIG. 6 use the server cabinet system including four servers as an example, but the present invention is not limited thereto, and the number of servers included in the server cabinet system may be more than four. Please refer to FIG. 4 to FIG. 6 collectively. The server cabinet system includes a plurality of servers 1, 2, 3, and 4. The plurality of servers 1, 2, 3, 4 are connected to each other. Each of the servers 1, 2, 3, 4 has the same components, that is, the servers 2, 3, 4 and the server 1 have the same components. It is worth mentioning that the servers 1, 2, 3, and 4 are connected to each other and are parallel nodes belonging to the same network domain. As shown in FIG. 5 and FIG. 6, the servers 1, 2, 3, and 4 In the cluster consisting of 4, servers 1, 2, 3, and 4 are set in parallel, and no master node is set to manage each server in groups. Therefore, servers 1, 2, 3, and 4 are all Is a slave node. As shown in FIG. 5 and FIG. 6, the servers 1, 2, 3, and 4 include the same substrate management controllers 11, 21, 31, and 41, and storage units 12, 22, 32, and 42, respectively. The storage units 12, 22, 32, and 42 store the same at least one substrate management controller setting parameter (for convenience of description, the substrate management controller setting parameters of the servers 1, 2, 3, and 4 are hereinafter referred to as first Substrate management controller setting parameters, second substrate management controller setting parameters, third substrate management controller setting parameters, and fourth substrate management controller setting parameters), that is, the first substrate management controller setting parameters, the second substrate management parameter The controller setting parameter, the third substrate management controller setting parameter, and the fourth substrate management controller setting parameter are corresponding to the same substrate management controller setting among the servers 1, 2, 3, and 4.

基此,基板管理控制器21、31、41分別耦接於儲存單元22、32、42,基板管理控制器21、31、41可分別藉由其基板管理控制器設定參數設定伺服器2、3、4之基板管理控制器設定。基板管理控制器21、31、41分別包含參數更新模組211、311、411、參數同步模組212、312、412及智慧平台管理介面213、313、413。參數更新模組211、311、411與參數更新模組111具有相同的運作模式,且參數同步模組212、312、412與參數同步模組112具有相同的運作模式。舉例來說,參數更新模組211、311、411能執行圖3中之步驟S01、S02、S03,或可記錄前述之更新失敗事件,或是更新參數清單,或是發送前述之測試訊號,參數同步模組212、312、412能執行圖3中步驟S04、S05、S06。參數更新模組211、311、411及參數同步模組212、312、412的運作模式已詳述於前,於此不再贅述。Based on this, the substrate management controllers 21, 31, and 41 are respectively coupled to the storage units 22, 32, and 42. The substrate management controllers 21, 31, and 41 can respectively set the servers 2 and 3 by setting parameters of the substrate management controller. 4, the board management controller settings. The substrate management controllers 21, 31, and 41 include parameter update modules 211, 311, and 411, parameter synchronization modules 212, 312, and 412, and intelligent platform management interfaces 213, 313, and 413, respectively. The parameter update modules 211, 311, and 411 have the same operation mode as the parameter update module 111, and the parameter synchronization modules 212, 312, and 412 have the same operation mode as the parameter synchronization module 112. For example, the parameter update modules 211, 311, and 411 can execute steps S01, S02, and S03 in FIG. 3, or can record the aforementioned update failure event, or update the parameter list, or send the aforementioned test signal, parameter The synchronization modules 212, 312, and 412 can execute steps S04, S05, and S06 in FIG. The operation modes of the parameter update modules 211, 311, and 411 and the parameter synchronization modules 212, 312, and 412 have been detailed in the foregoing, and are not repeated here.

於是,複數伺服器1、2、3、4中之任一伺服器都能接收來自於使用者之更新指令(以下稱為第一更新指令),請合併參照圖7,圖7係為根據本發明之適於包含複數伺服器1、2、3、4的伺服器機櫃系統的自動同步不同伺服器之間的相同基板管理控制器設定參數之方法之一實施例之流程圖,當伺服器機櫃系統中之任一伺服器接收第一更新指令時,接收第一更新指令之伺服器的基板管理控制器根據第一更新指令更新其伺服器的基板管理控制器設定參數(步驟S07),且接收第一更新指令之伺服器發送另一更新指令(以下稱為第二更新指令)至伺服器機櫃系統中未接收第一更新指令之其他每一伺服器(步驟S08),第二更新指令包含更新後之基板管理控制器設定參數,使未接收第一更新指令之其他每一伺服器的基板管理控制器根據第二更新指令更新其伺服器的基板管理控制器設定參數(步驟S09),且未接收第一更新指令之其他每一伺服器的基板管理控制器在根據第二更新指令更新其伺服器的基板管理控制器設定參數之後不發送更新後之基板管理控制器設定參數(步驟S10)。Therefore, any of the plurality of servers 1, 2, 3, and 4 can receive the update instruction from the user (hereinafter referred to as the first update instruction). Please refer to FIG. 7 in combination, which is based on this A flowchart of an embodiment of a method suitable for automatically synchronizing a server cabinet system including a plurality of servers 1, 2, 3, 4 with a same board management controller setting parameter between different servers, when the server cabinet When any server in the system receives the first update instruction, the substrate management controller of the server receiving the first update instruction updates the setting parameters of the substrate management controller of its server according to the first update instruction (step S07), and receives The server of the first update instruction sends another update instruction (hereinafter referred to as the second update instruction) to each other server in the server cabinet system that has not received the first update instruction (step S08). The second update instruction includes the update The subsequent board management controller sets parameters to enable the board management controller of each other server that has not received the first update instruction to update the board of its server according to the second update instruction The management controller sets parameters (step S09), and the baseboard management controller of each other server that has not received the first update instruction does not send an update after updating the baseboard management controller setting parameters of its server according to the second update instruction The board management controller sets parameters (step S10).

舉例來說,以使用者變更基板管理控制器設定之區域網路協定設定為例,當使用者變更伺服器1之基板管理控制器設定之區域網路協定設定時,如圖5所示,參數更新模組111會根據來自於使用者之第一更新指令S1更新第一基板管理控制器設定參數中之區域網路協定設定參數(步驟S07),且第一更新指令S1會觸發參數同步模組112發送包含更新後之區域網路協定設定參數之第二更新指令S2(步驟S08)。於是,未接收到第一更新指令S1之其他伺服器2、3、4接收來自於伺服器1之第二更新指令S2,基板管理控制器21、31、41藉由其智慧平台管理介面213、313、413接收第二更新指令S2。參數更新模組211、311、411根據第二更新指令S2分別更新儲存單元22、32、42所儲存之第二基板管理控制器設定參數、第三基板管理控制器設定參數及第四基板管理控制器設定參數中之區域網路協定設定參數(步驟S09),且參數更新模組211、311、411不將旗標訊號的邏輯位準設定為第二邏輯位準,具第一邏輯位準之旗標訊號不會觸發參數同步模組212、312、412發送相應於更新後之區域網路協定設定參數之更新指令給伺服器1(步驟S10)。For example, if the user changes the setting of the LAN protocol of the baseboard management controller, for example, when the user changes the setting of the LAN protocol of the baseboard management controller of the server 1, as shown in FIG. 5, the parameters The update module 111 updates the LAN protocol setting parameters in the setting parameters of the first baseboard management controller according to the first update instruction S1 from the user (step S07), and the first update instruction S1 triggers the parameter synchronization module 112 sends a second update instruction S2 including the updated LAN protocol setting parameters (step S08). Therefore, the other servers 2, 3, and 4 that have not received the first update instruction S1 receive the second update instruction S2 from the server 1. The substrate management controllers 21, 31, and 41 use their intelligent platform management interfaces 213, 313 and 413 receive the second update instruction S2. The parameter update modules 211, 311, and 411 respectively update the second substrate management controller setting parameters, the third substrate management controller setting parameters, and the fourth substrate management control stored in the storage units 22, 32, and 42 according to the second update instruction S2. The LAN protocol setting parameters in the device setting parameters (step S09), and the parameter update modules 211, 311, and 411 do not set the logic level of the flag signal to the second logic level, having the first logic level. The flag signal does not trigger the parameter synchronization modules 212, 312, and 412 to send an update instruction corresponding to the updated LAN protocol setting parameters to the server 1 (step S10).

在伺服器2、3、4根據第二更新指令S2更新第二基板管理控制器設定參數、第三基板管理控制器設定參數及第四基板管理控制器設定參數中之區域網路協定設定參數之後,伺服器2、3、4與伺服器1具有相同的區域網路協定設定參數而具有相同的區域網路協定設定。例如,伺服器1、2、3、4的區域網路協定設定可由固定制變更為浮動制,或是由浮動制變更為固定制。After the servers 2, 3, and 4 update the LAN protocol setting parameters in the second substrate management controller setting parameters, the third substrate management controller setting parameters, and the fourth substrate management controller setting parameters according to the second update instruction S2 , Server 2, 3, 4 and server 1 have the same LAN protocol setting parameters and the same LAN protocol settings. For example, the LAN settings of servers 1, 2, 3, and 4 can be changed from a fixed system to a floating system, or from a floating system to a fixed system.

另一方面,同樣以區域網路協定設定為例,當使用者變更伺服器2之基板管理控制器設定之區域網路協定設定時,如圖6所示,基板管理控制器21會接收來自於使用者之一更新指令S4(以下稱為第四更新指令S4,且在此實施例中,圖7中之第一更新指令及第二更新指令係分別為第四更新指令S4及第五更新指令S5),第四更新指令S4會觸發參數更新模組211更新第二基板管理控制器設定參數中之區域網路協定設定參數(步驟S07)並將旗標訊號的邏輯位準設定為第二邏輯位準(步驟S02),使參數同步模組212發送包含更新後之區域網路協定設定參數之第五更新指令S5(步驟S08)。於是,未接收到第四更新指令S4之其他伺服器1、3、4接收來自於伺服器2之第五更新指令S5,參數更新模組111、311、411分別根據第五更新指令S5更新第一基板管理控制器設定參數、第三基板管理控制器設定參數及第四基板管理控制器設定參數中之區域網路協定設定參數(步驟S09),且參數更新模組111、311、411不設定旗標訊號為第二邏輯位準,具第一邏輯位準之旗標訊號不會觸發參數同步模組112、312、412發送相應於更新後之區域網路協定設定參數之更新指令給伺服器2(步驟S10)。在伺服器1、3、4根據第五更新指令S5分別更新第一基板管理控制器設定參數、第三基板管理控制器設定參數及第四基板管理控制器設定參數中之區域網路協定設定參數之後,伺服器1、3、4與伺服器2具有相同的區域網路協定設定參數而具有相同的區域網路協定設定。On the other hand, also taking the LAN protocol setting as an example, when the user changes the LAN protocol setting of the baseboard management controller setting of the server 2, as shown in FIG. 6, the baseboard management controller 21 receives One of the users' update instruction S4 (hereinafter referred to as the fourth update instruction S4, and in this embodiment, the first update instruction and the second update instruction in FIG. 7 are the fourth update instruction S4 and the fifth update instruction, respectively S5), the fourth update instruction S4 will trigger the parameter update module 211 to update the LAN protocol setting parameters in the setting parameters of the second substrate management controller (step S07) and set the logic level of the flag signal to the second logic Level (step S02), so that the parameter synchronization module 212 sends a fifth update instruction S5 including the updated LAN protocol setting parameters (step S08). Therefore, the other servers 1, 3, and 4 that have not received the fourth update instruction S4 receive the fifth update instruction S5 from the server 2, and the parameter update modules 111, 311, and 411 update the first according to the fifth update instruction S5, respectively. One LAN management controller setting parameter, the third substrate management controller setting parameter, and the fourth substrate management controller setting parameter in the LAN protocol setting parameter (step S09), and the parameter update modules 111, 311, and 411 are not set The flag signal is the second logic level. The flag signal with the first logic level will not trigger the parameter synchronization module 112, 312, 412 to send an update command corresponding to the updated LAN protocol setting parameters to the server. 2 (step S10). The servers 1, 3, and 4 respectively update the LAN protocol setting parameters in the first substrate management controller setting parameter, the third substrate management controller setting parameter, and the fourth substrate management controller setting parameter according to the fifth update instruction S5. Thereafter, the servers 1, 3, and 4 have the same LAN protocol setting parameters and the same LAN protocol settings.

值得說明的是,在本案中,基板管理控制器11、21、31、41係藉由執行一基板管理控制器韌體程式碼來實施圖2、圖3及圖7中之步驟S01~S10。It is worth noting that, in this case, the baseboard management controllers 11, 21, 31, and 41 implement steps S01 to S10 in FIGS. 2, 3, and 7 by executing a baseboard management controller firmware code.

綜上所述,根據本發明之具自動同步基板管理控制器設定參數功能之伺服器機櫃系統及其自動同步方法之一實施例,任一伺服器之基板管理控制器可將使用者變更之基板管理控制器設定參數自動同步更新至其他伺服器,使伺服器系統中的每一台伺服器都具有相同的設定。使用者僅需對一台伺服器進行設定則可使每一台伺服器具有相同的設定,且由伺服器自動進行更新可降低使用者手動設定每一台伺服器而造成錯誤之風險。再者,每一台伺服器都可以自動更新其他伺服器,無需額外設置一台管理伺服器,可降低硬體成本。To sum up, according to an embodiment of the server cabinet system with automatic synchronization substrate management controller setting parameter function and an automatic synchronization method of the present invention, the substrate management controller of any server can change the substrate of the user. The management controller setting parameters are automatically updated to other servers, so that each server in the server system has the same settings. The user only needs to set one server to make each server have the same settings, and the automatic update by the server can reduce the risk of errors caused by the user manually setting each server. Furthermore, each server can automatically update other servers without the need to set up an additional management server, which can reduce hardware costs.

雖然本案已以實施例揭露如上然其並非用以限定本案,任何所屬技術領域中具有通常知識者,在不脫離本案之精神和範圍內,當可作些許之更動與潤飾,故本案之保護範圍當視後附之專利申請範圍所界定者為準。Although this case has been disclosed with examples as above, it is not intended to limit this case. Any person with ordinary knowledge in the technical field can make some changes and retouching without departing from the spirit and scope of this case. Therefore, the scope of protection of this case Subject to the scope of the attached patent application.

1‧‧‧伺服器1‧‧‧Server

11‧‧‧基板管理控制器11‧‧‧ substrate management controller

111‧‧‧參數更新模組111‧‧‧parameter update module

112‧‧‧參數同步模組112‧‧‧parameter synchronization module

113‧‧‧智慧平台管理介面113‧‧‧Smart Platform Management Interface

12‧‧‧儲存單元12‧‧‧Storage unit

2‧‧‧伺服器2‧‧‧Server

21‧‧‧基板管理控制器21‧‧‧ substrate management controller

211‧‧‧參數更新模組211‧‧‧parameter update module

212‧‧‧參數同步模組212‧‧‧parameter synchronization module

213‧‧‧智慧平台管理介面213‧‧‧Smart Platform Management Interface

22‧‧‧儲存單元22‧‧‧Storage Unit

3‧‧‧伺服器3‧‧‧Server

31‧‧‧基板管理控制器31‧‧‧ substrate management controller

311‧‧‧參數更新模組311‧‧‧parameter update module

312‧‧‧參數同步模組312‧‧‧parameter synchronization module

313‧‧‧智慧平台管理介面313‧‧‧Smart Platform Management Interface

32‧‧‧儲存單元32‧‧‧Storage unit

4‧‧‧伺服器4‧‧‧Server

41‧‧‧基板管理控制器41‧‧‧Substrate Management Controller

411‧‧‧參數更新模組411‧‧‧parameter update module

412‧‧‧參數同步模組412‧‧‧parameter synchronization module

413‧‧‧智慧平台管理介面413‧‧‧Smart Platform Management Interface

42‧‧‧儲存單元42‧‧‧Storage unit

S1‧‧‧第一更新指令S1‧‧‧First update instruction

S2‧‧‧第二更新指令S2‧‧‧ Second update instruction

S3‧‧‧第三更新指令S3‧‧‧ Third Update Instructions

S4‧‧‧第四更新指令S4‧‧‧ Fourth update instruction

S5‧‧‧第五更新指令S5‧‧‧Fifth update instruction

S01-S10‧‧‧步驟S01-S10‧‧‧step

[圖1] 為根據本發明之具自動同步不同伺服器之間的相同基板管理控制器設定參數功能之伺服器之一實施例之示意圖。 [圖2] 為根據本發明之適於伺服器之自動同步不同伺服器之間的相同基板管理控制器設定參數之方法之一實施例之流程圖。 [圖3] 為圖2之自動同步不同伺服器之間的相同基板管理控制器設定參數之方法之一實施態樣之流程圖。 [圖4] 為根據本發明之具自動同步不同伺服器之間的相同基板管理控制器設定參數功能之伺服器機櫃系統之一實施例之示意圖。 [圖5] 為圖4之伺服器機櫃系統於運作時之一實施例之示意圖。 [圖6] 為圖4之伺服器機櫃系統於運作時之另一實施例之示意圖。 [圖7] 為根據本發明之適於包含複數伺服器的伺服器機櫃系統的自動同步不同伺服器之間的相同基板管理控制器設定參數之方法之一實施例之流程圖。[FIG. 1] It is a schematic diagram of an embodiment of a server with the function of automatically synchronizing parameter settings of the same substrate management controller between different servers according to the present invention. [FIG. 2] It is a flowchart of an embodiment of a method for setting parameters of the same substrate management controller between different servers, which is automatically adapted to the server according to the present invention. [Fig. 3] Fig. 3 is a flowchart of one embodiment of a method for setting parameters of the same substrate management controller for automatically synchronizing different servers between Fig. 2. [Fig. 4] A schematic diagram of an embodiment of a server cabinet system having the function of automatically synchronizing parameter settings of the same baseboard management controller between different servers according to the present invention. [FIG. 5] It is a schematic diagram of an embodiment of the server cabinet system of FIG. 4 during operation. [FIG. 6] It is a schematic diagram of another embodiment of the server cabinet system of FIG. 4 during operation. 7 is a flowchart of an embodiment of a method for automatically synchronizing the same board management controller setting parameters between different servers in a server cabinet system including a plurality of servers according to the present invention.

Claims (10)

一種具自動同步更新不同伺服器之間的相同基板管理控制器設定參數功能之伺服器機櫃系統,包含: 複數伺服器,彼此之間相互連線且為屬於同一網域中的平行節點,每一該伺服器包含: 一儲存單元,包含複數基板管理控制器設定參數;及 一基板管理控制器,耦接於該儲存單元,該基板管理控制器用以更新該些基板管理控制器設定參數; 其中,當該些伺服器中之任一伺服器接收來自於使用者之一第一更新指令時,接收該第一更新指令之伺服器的基板管理控制器根據該第一更新指令更新其伺服器的基板管理控制器設定參數,且接收該第一更新指令之伺服器發送一第二更新指令至該些伺服器中未接收該第一更新指令之其他伺服器,該第二更新指令包含更新後之基板管理控制器設定參數,使未接收該第一更新指令之其他伺服器的基板管理控制器根據該第二更新指令更新其伺服器的基板管理控制器設定參數。A server cabinet system with the function of automatically updating the same baseboard management controller setting parameters between different servers, including: a plurality of servers connected to each other and being parallel nodes belonging to the same network domain, each The server includes: a storage unit including a plurality of substrate management controller setting parameters; and a substrate management controller coupled to the storage unit, the substrate management controller is used to update the substrate management controller setting parameters; wherein, When any one of the servers receives a first update instruction from a user, the substrate management controller of the server receiving the first update instruction updates the substrate of its server according to the first update instruction The management controller sets parameters, and the server receiving the first update instruction sends a second update instruction to other servers in the servers that do not receive the first update instruction. The second update instruction includes the updated substrate The management controller sets parameters to enable the baseboard management controllers of other servers that have not received the first update instruction to The second update instruction updates the board management controller setting parameters of its server. 如請求項1所述之具自動同步更新不同伺服器之間的相同基板管理控制器設定參數功能之伺服器機櫃系統,其中該些伺服器中之每一該伺服器之該基板管理控制器包含: 一參數更新模組,用以更新該儲存單元所包含之該些基板管理控制器設定參數;及 一參數同步模組,用以判斷該參數更新模組是否根據該第一更新指令更新該些基板管理控制器設定參數,以決定是否發送更新後之基板管理控制器設定參數; 其中,當該些伺服器中之任一伺服器接收該第一更新指令時,接收該第一更新指令之伺服器的基板管理控制器的參數更新模組根據該第一更新指令更新其伺服器的基板管理控制器設定參數,且接收該第一更新指令之伺服器的基板管理控制器的參數同步模組判斷其基板管理控制器的參數更新模組係根據該第一更新指令更新其伺服器的基板管理控制器設定參數而發送該第二更新指令至未接收該第一更新指令之其他伺服器; 其中,未接收該第一更新指令之其他伺服器的基板管理控制器的參數更新模組根據該第二更新指令更新其伺服器所包含的基板管理控制器設定參數,且未接收該第一更新指令之其他伺服器的基板管理控制器的參數同步模組判斷其基板管理控制器的參數更新模組未根據該第一更新指令更新其伺服器的基板管理控制器設定參數而不發送該第二更新指令。The server cabinet system with the function of automatically synchronizing the setting parameters of the same baseboard management controller between different servers as described in claim 1, wherein the baseboard management controller of each of the servers includes : A parameter update module for updating the board management controller setting parameters included in the storage unit; and a parameter synchronization module for determining whether the parameter update module updates the parameters according to the first update instruction The board management controller sets parameters to determine whether to send updated board management controller setting parameters; wherein, when any one of the servers receives the first update instruction, the server receiving the first update instruction The parameter updating module of the substrate management controller of the server updates the setting parameters of the substrate management controller of the server according to the first update instruction, and the parameter synchronization module of the substrate management controller of the server receiving the first update instruction judges The parameter update module of the substrate management controller updates the substrate management controller settings of the server according to the first update instruction. Setting the parameter and sending the second update instruction to other servers that did not receive the first update instruction; wherein the parameter update module of the baseboard management controller of the other server that did not receive the first update instruction according to the second update Instructs to update the board management controller setting parameters contained in its server, and the parameter synchronization modules of the board management controllers of other servers that have not received the first update instruction determine that the parameter update module of the board management controller is not based on The first update instruction updates the BMC setting parameters of its server without sending the second update instruction. 如請求項2所述之具自動同步更新不同伺服器之間的相同基板管理控制器設定參數功能之伺服器機櫃系統,其中每一該伺服器之該基板管理控制器的參數同步模組係週期性地根據一旗標訊號是否為一預設邏輯位準來判斷其基板管理控制器的參數更新模組是否根據該第一更新指令更新該些基板管理控制器設定參數,其中,當接收該第一更新指令之伺服器的基板管理控制器的參數更新模組根據該第一更新指令更新其伺服器的基板管理控制器設定參數時,接收該第一更新指令之伺服器的基板管理控制器的參數更新模組設定該旗標訊號為該預設邏輯位準,使接收該第一更新指令之伺服器的基板管理控制器的參數同步模組發送該第二更新指令,且接收該第一更新指令之伺服器的基板管理控制器的參數同步模組於發送該第二更新指令之後設定該旗標訊號為不同於該預設邏輯位準之另一邏輯位準。The server cabinet system with the function of automatically synchronizing the setting parameters of the same substrate management controller between different servers as described in claim 2, wherein the parameter synchronization module of the substrate management controller of each server is a cycle According to whether a flag signal is a preset logic level, it is determined whether the parameter updating module of the substrate management controller updates the substrate management controller setting parameters according to the first update instruction. When receiving the first A parameter updating module of the substrate management controller of the server of an update instruction updates the substrate management controller setting parameters of its server according to the first update instruction, and receives the information of the substrate management controller of the server of the first update instruction. The parameter update module sets the flag signal to the preset logic level, so that the parameter synchronization module of the substrate management controller of the server receiving the first update instruction sends the second update instruction and receives the first update The parameter synchronization module of the substrate management controller of the instructed server sets the flag signal to be different from that after the second update instruction is sent. The preset logic level is another logic level. 如請求項3所述之具自動同步更新不同伺服器之間的相同基板管理控制器設定參數功能之伺服器機櫃系統,其中接收該第一更新訊號之伺服器的基板管理控制器的參數更新模組係根據該第一更新指令所包含之一來源識別位元設定該旗標訊號為該預設邏輯位準,其中該參數同步模組於發送該第二更新指令之前設定該第二更新指令所包含之另一來源識別位元,使該第一更新指令之該來源識別位元與該第二更新指令之該另一來源識別位元之間為不相同之邏輯位準。The server cabinet system with the function of automatically updating the same substrate management controller setting parameters between different servers as described in claim 3, wherein the parameter update module of the substrate management controller of the server receiving the first update signal The group sets the flag signal to the preset logic level according to a source identification bit included in the first update instruction, wherein the parameter synchronization module sets the second update instruction location before sending the second update instruction. The other source identification bit is included, so that the source identification bit of the first update instruction and the other source identification bit of the second update instruction are at different logic levels. 如請求項2所述之具自動同步更新不同伺服器之間的相同基板管理控制器設定參數功能之伺服器機櫃系統,其中接收該第一更新指令之伺服器的基板管理控制器的參數同步模組於發送該第二更新指令之前發送一測試訊號,並根據回應該測試訊號之未接收該第一更新指令之其他伺服器之網際網路協定位址發送該第二更新指令。The server cabinet system with the function of automatically synchronizing the setting parameters of the same substrate management controller between different servers as described in claim 2, wherein the parameter synchronization module of the substrate management controller of the server receiving the first update instruction The group sends a test signal before sending the second update command, and sends the second update command according to the Internet Protocol address of the other server that did not receive the first update command in response to the test signal. 一種自動同步更新不同伺服器之間的相同基板管理控制器設定參數之方法,適於一包含複數伺服器的伺服器機櫃系統,且該些伺服器係屬於同一網域中的平行節點,該方法包含: 該複數伺服器中之任一伺服器的一第一基板管理控制器根據來自於使用者之一第一更新指令更新其伺服器的一第一基板管理控制器設定參數; 該第一基板管理控制器發送一第二更新指令至該些伺服器中未接收該第一更新指令之其他伺服器,該第二更新指令包含更新後之該第一基板管理控制器設定參數;及 未接收該第一更新指令之其他伺服器的一第二基板管理控制器根據更新後之該第一基板管理控制器設定參數更新其伺服器的一第二基板管理控制器設定參數。A method for automatically and synchronously updating setting parameters of the same baseboard management controller between different servers, suitable for a server cabinet system including a plurality of servers, and the servers belong to parallel nodes in the same network domain, the method Including: a first substrate management controller of any one of the plurality of servers updates a first substrate management controller setting parameter of its server according to a first update instruction from a user; the first substrate The management controller sends a second update instruction to the other servers of the servers that did not receive the first update instruction, the second update instruction includes the first substrate management controller setting parameters after the update; and does not receive the A second substrate management controller of the other server of the first update instruction updates a second substrate management controller setting parameter of its server according to the updated setting parameter of the first substrate management controller. 如請求項6所述之自動同步更新不同伺服器之間的相同基板管理控制器設定參數之方法,更包含:在該第二基板管理控制器更新其伺服器的該第二基板管理控制器設定參數之後,該第二基板管理控制器不發送更新後之該第二基板管理控制器設定參數; 其中該第一基板管理控制器包含一第一參數更新模組及一第一參數同步模組,該第一參數同步模組係用以判斷該第一參數更新模組是否根據來自於使用者之該第一更新指令更新其伺服器之任一基板管理控制器設定參數以決定是否發送更新後之該任一基板管理控制器設定參數,在該第一基板管理控制器更新該第一基板管理控制器設定參數之步驟中,該第一基板管理控制器係經由該第一參數更新模組根據該第一更新指令更新該第一基板管理控制器設定參數,當該第一參數更新模組根據該第一更新指令更新該第一基板管理控制器設定參數時,於該第一基板管理控制器發送該第二更新指令之步驟中,該第一基板管理控制器係經由該第一參數同步模組判斷出該第一參數更新模組係根據來自於使用者之該第一更新指令更新該第一基板管理控制器設定參數而發送該第二更新指令; 其中,該第二基板管理控制器包含一第二參數更新模組及一第二參數同步模組,該第二參數同步模組係用以判斷該第二參數更新模組是否根據來自於使用者之該第一更新指令更新其伺服器之任一基板管理控制器設定參數以決定是否發送更新後之該任一基板管理控制器設定參數,在該第二基板管理控制器更新該第二基板管理控制器設定參數之步驟中,該第二基板管理控制器係經由該第二參數更新模組根據該第二更新指令更新該第二基板管理控制器設定參數,當該第二參數更新模組根據該第二更新指令更新該第二基板管理控制器設定參數時,於該第二基板管理控制器不發送更新後之該第二基板管理控制器設定參數之步驟中,該第二基板管理控制器係經由該第二參數同步模組判斷出該第二參數更新模組未根據來自於使用者之該第一更新指令更新該第二基板管理控制器設定參數而不發送更新後之該第二基板管理控制器設定參數。The method for automatically and synchronously updating the same substrate management controller setting parameter between different servers as described in claim 6, further comprising: updating the server's second substrate management controller setting on the second substrate management controller. After the parameters, the second substrate management controller does not send the updated parameters of the second substrate management controller; wherein the first substrate management controller includes a first parameter update module and a first parameter synchronization module, The first parameter synchronization module is used to determine whether the first parameter update module updates any server management controller setting parameter of its server according to the first update instruction from the user to determine whether to send an updated The setting parameter of any one of the substrate management controllers, and in the step of updating the setting parameter of the first substrate management controller by the first substrate management controller, the first substrate management controller is based on the first parameter update module according to the The first update instruction updates the setting parameters of the first substrate management controller, and when the first parameter update module updates the first update instruction according to the first update instruction, When a baseboard management controller sets parameters, in the step of the first baseboard management controller sending the second update instruction, the first baseboard management controller determines the first parameter update via the first parameter synchronization module. The module sends the second update instruction according to the first update instruction from the user to update the setting parameters of the first substrate management controller; wherein the second substrate management controller includes a second parameter update module and A second parameter synchronization module, which is used to determine whether the second parameter update module updates any substrate management controller setting of its server according to the first update instruction from the user Parameters to determine whether to send the updated setting parameters of any of the substrate management controllers. In the step of updating the setting parameters of the second substrate management controller by the second substrate management controller, the second substrate management controller passes the The second parameter update module updates the setting parameters of the second substrate management controller according to the second update instruction. When the two update instructions update the setting parameters of the second substrate management controller, in a step in which the second substrate management controller does not send the updated setting parameters of the second substrate management controller, the second substrate management controller passes the The second parameter synchronization module determines that the second parameter update module does not update the second substrate management controller setting parameters according to the first update instruction from the user without sending the updated second substrate management control. Setting parameters. 如請求項7所述之自動同步更新不同伺服器之間的相同基板管理控制器設定參數之方法,其中,於該第一基板管理控制器發送該第二更新指令之步驟中,該第一參數同步模組係週期性地判斷一旗標訊號是否為一預設邏輯位準而判斷該第一參數更新模組係根據該第一更新指令更新該第一基板管理控制器設定參數,其中該自動同步更新不同伺服器之間的相同基板管理控制器設定參數之方法更包含: 該第一參數更新模組於更新該第一基板管理控制器設定參數之後設定該旗標訊號為該預設邏輯位準;及 該第一參數同步模組於發送該第二更新指令之後設定該旗標訊號為另一預設邏輯位準。The method for automatically updating the same substrate management controller setting parameters between different servers as described in claim 7, wherein in the step of the first substrate management controller sending the second update instruction, the first parameter The synchronization module periodically determines whether a flag signal is a preset logic level and determines that the first parameter update module updates the first substrate management controller setting parameter according to the first update instruction, wherein the automatic The method for synchronously updating the same substrate management controller setting parameters between different servers further includes: the first parameter update module setting the flag signal to the preset logic bit after updating the first substrate management controller setting parameters And the first parameter synchronization module sets the flag signal to another preset logic level after sending the second update instruction. 如請求項8所述之自動同步更新不同伺服器之間的相同基板管理控制器設定參數之方法,其中該第一參數更新模組設定該旗標訊號為該預設邏輯位準之步驟中,該第一參數更新模組係根據該第一更新指令所包含之一來源識別位元設定該旗標訊號為該預設邏輯位準;其中該自動同步更新方法更包含:該第一參數同步模組於發送該第二更新指令之前更設定該第二更新指令所包含之另一來源識別位元,使該第二更新指令之該另一來源識別位元與該第一更新指令之該來源識別位元之間為不相同之邏輯位準。The method for automatically and synchronously updating the same board management controller setting parameter between different servers as described in claim 8, wherein the first parameter update module sets the flag signal to the preset logic level in the step, The first parameter update module sets the flag signal to the preset logic level according to a source identification bit included in the first update instruction. The automatic synchronization update method further includes: the first parameter synchronization mode. The group further sets another source identification bit included in the second update instruction before sending the second update instruction, so that the other source identification bit of the second update instruction and the source identification of the first update instruction The bits have different logical levels. 如請求項7所述之自動同步更新不同伺服器之間的相同基板管理控制器設定參數之方法,其中該第一基板管理控制器發送該第二更新指令之步驟包含: 該第一參數同步模組於發送該第二更新指令之前發送一測試訊號;及 該第一參數同步模組根據回應該測試訊號之未接收該第一更新指令之其他伺服器的網際網路協定位址發送該第二更新指令。The method for automatically and synchronously updating the same substrate management controller setting parameters between different servers as described in claim 7, wherein the step of the first substrate management controller sending the second update instruction includes: the first parameter synchronization mode The group sends a test signal before sending the second update command; and the first parameter synchronization module sends the second signal according to the Internet protocol address of the other server that did not receive the first update command in response to the test signal. Update instructions.
TW107111999A 2018-04-03 2018-04-03 Server rack system with function of automatic synchronization of bmc configuration parameters between different server and automatic synchronization method thereof TWI668578B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW107111999A TWI668578B (en) 2018-04-03 2018-04-03 Server rack system with function of automatic synchronization of bmc configuration parameters between different server and automatic synchronization method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW107111999A TWI668578B (en) 2018-04-03 2018-04-03 Server rack system with function of automatic synchronization of bmc configuration parameters between different server and automatic synchronization method thereof

Publications (2)

Publication Number Publication Date
TWI668578B TWI668578B (en) 2019-08-11
TW201942759A true TW201942759A (en) 2019-11-01

Family

ID=68316474

Family Applications (1)

Application Number Title Priority Date Filing Date
TW107111999A TWI668578B (en) 2018-04-03 2018-04-03 Server rack system with function of automatic synchronization of bmc configuration parameters between different server and automatic synchronization method thereof

Country Status (1)

Country Link
TW (1) TWI668578B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI801730B (en) * 2020-04-07 2023-05-11 神雲科技股份有限公司 Server with system setting data synchronization function

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI720594B (en) * 2019-08-23 2021-03-01 神雲科技股份有限公司 Remote update firmware control method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7676666B2 (en) * 2006-02-02 2010-03-09 Dell Products L.P. Virtual BIOS firmware hub
TWI462017B (en) * 2012-02-24 2014-11-21 Wistron Corp Server deployment system and method for updating data
TW201423592A (en) * 2012-12-11 2014-06-16 Inventec Corp Rack and method for updating basic input output systems at the time thereof
TWI536767B (en) * 2013-09-03 2016-06-01 緯創資通股份有限公司 Server system and redundant management method thereof
CN106713053A (en) * 2017-02-19 2017-05-24 郑州云海信息技术有限公司 Method and device for batch updating server firmware based on Linux

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI801730B (en) * 2020-04-07 2023-05-11 神雲科技股份有限公司 Server with system setting data synchronization function

Also Published As

Publication number Publication date
TWI668578B (en) 2019-08-11

Similar Documents

Publication Publication Date Title
US7600005B2 (en) Method and apparatus for provisioning heterogeneous operating systems onto heterogeneous hardware systems
TWI578233B (en) Unified firmware managment system, non-transitory computer-readable storage medium and method for unified firmware managment
TWI502366B (en) Cloud cluster system and booting and deployment method using for the same
US8719390B2 (en) Server management apparatus and server management method
US20150178095A1 (en) Synchronous bmc configuration and operation within cluster of bmc
TWI655582B (en) Server with dual firmware storage space and firmware update method thereof
US9904561B2 (en) Computer system and method for setting BIOS
EP2645252A1 (en) Information processing system and virtual address setting method
US9703937B2 (en) Method to prevent operating system digital product key activation failures
TWI638553B (en) Method for detecting internet protocol address and media access control address
TWI649992B (en) Method for determining network node card operation speed of network node, port fanout configuration system and method thereof
TWI668578B (en) Server rack system with function of automatic synchronization of bmc configuration parameters between different server and automatic synchronization method thereof
CN108989123A (en) A kind of server configuration method and device
TWI501090B (en) Server system and node detection method
JP7007019B2 (en) Server management device, server management method, server management program, and version check program
TW202139006A (en) Server with system setting data synchronization function
CN110471677B (en) Server cabinet system and automatic synchronization method thereof
US11714687B2 (en) Dynamic preparation of a new network environment, and subsequent monitoring thereof
TWI697768B (en) Reset bmc control method
CN114008563B (en) System and method for identifying servers on a rack and assigning appropriate IP addresses to servers based on the physical location of the servers
CN109684134B (en) Method and server for rapidly deploying firmware settings among multiple devices
TWI530800B (en) Server and method for inquiring deployment status of server
JP2017033310A (en) Network device setting method, information processor, and bios program
TWI782766B (en) Ipmi and redfish account synchronization method
TWI509392B (en) Rack server system and method for managing rack configuration information therein

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees