TWI668578B - 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
TWI668578B
TWI668578B TW107111999A TW107111999A TWI668578B TW I668578 B TWI668578 B TW I668578B TW 107111999 A TW107111999 A TW 107111999A TW 107111999 A TW107111999 A TW 107111999A TW I668578 B TWI668578 B TW I668578B
Authority
TW
Taiwan
Prior art keywords
parameter
update
management controller
server
module
Prior art date
Application number
TW107111999A
Other languages
Chinese (zh)
Other versions
TW201942759A (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

本發明提出一種具自動同步基板管理控制器設定參數功能之伺服器機櫃系統及其自動同步方法。所述自動同步方法包含複數伺服器中之任一伺服器的第一基板管理控制器根據來自於使用者之一第一更新指令更新其伺服器的第一基板管理控制器設定參數、第一基板管理控制器發送第二更新指令至複數伺服器中未接收第一更新指令之其他伺服器、以及未接收第一更新指令之其他伺服器的第二基板管理控制器根據更新後之第一基板管理控制器設定參數更新其伺服器的第二基板管理控制器設定參數。其中,前述之第二更新指令包含更新後之第一基板管理控制器設定參數。The invention provides a server cabinet system with an automatic synchronization substrate management controller setting parameter function and an automatic synchronization method thereof. The automatic synchronization method includes a first substrate management controller of any one of the plurality of servers updating a first substrate management controller setting parameter of the server according to a first update instruction from the user, the first substrate The management controller sends the second update instruction to the other server of the plurality of servers that does not receive the first update instruction, and the second baseboard management controller of the other server that does not receive the first update instruction, according to the updated first substrate management The controller setting parameters update the second substrate management controller setting parameters of its server. The second update instruction includes the updated first baseboard management controller setting parameter.

Description

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

本發明是關於一種伺服器機櫃系統,且特別是具自動同步基板管理控制器設定參數功能之伺服器機櫃系統及其自動同步方法。The present invention relates to a server cabinet system, and more particularly to a server cabinet system having an automatic synchronization substrate management controller setting parameter 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, each of which has an Intelligent Platform Management Interface (IPMI), and the smart platform management interface is a standard architecture of the server management platform. Among the components included in the smart 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 the various components in the server (for example including Data for central processing units, hard disk devices, fan-type heat sinks, power supplies, network-connected devices, etc., such as temperature, speed, voltage, and current values. Through the Intelligent Platform Management Interface (IPMI), the administrator of the server cabinet system can understand the operation status of each component in the server through the baseboard manager, which is convenient for managing each server.

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

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

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

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

圖1為根據本發明之具自動同步不同伺服器之間的相同基板管理控制器設定參數功能之伺服器1之一實施例之方塊示意圖。圖2為根據本發明適於伺服器1之自動同步不同伺服器之間的相同基板管理控制器設定參數之方法之一實施例之流程圖。請合併參照圖1及圖2,伺服器1包含基板管理控制器11及儲存單元12。儲存單元12中儲存有基板管理控制器設定參數,基板管理控制器設定參數的數量至少為一。基板管理控制器11耦接於儲存單元12,基板管理控制器11可藉由儲存單元12中之基板管理控制器設定參數設定伺服器1之基板管理控制器設定。在一實施例中,儲存單元12可為唯讀記憶體,例如電子抹除式可複寫唯讀記憶體(EEPROM)。1 is a block diagram of an embodiment of a server 1 having the function of automatically synchronizing the same substrate management controller setting parameters between different servers in accordance with the present invention. 2 is a flow diagram of one embodiment of a method for automatically synchronizing the same substrate management controller setting parameters between different servers in the server 1 in accordance with the present invention. Referring 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 substrate management controller setting parameters, and the number of the substrate management controller setting parameters is at least one. The substrate management controller 11 is coupled to the storage unit 12, and the substrate management controller 11 can set the substrate management controller of the parameter setting server 1 by the substrate management controller in the storage unit 12. In one embodiment, storage unit 12 can be a read-only memory, such as an electronically 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 substrate 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 can receive the update command S1 from the user (hereinafter referred to as the first update command S1) and other servers from the parallel nodes belonging to the same network domain through the smart platform management interface 113 (hereinafter referred to as The other servers mentioned are all another update command S3 (hereinafter referred to as a third update command S3) of the baseboard management controller belonging to the parallel node of the server 1 in the same domain, wherein the update commands S1, S3 All are smart platform management interface instructions. The parameter update module 111 may update the substrate management controller setting parameter in the storage unit 12 according to the first update instruction S1 (step S01) or may update the substrate management controller setting parameter in the storage unit 12 according to the third update instruction S3 (step S03). After the substrate management controller setting parameter update, the substrate management controller 11 sets the substrate management controller setting of the parameter setting server 1 by the updated substrate management controller. In an embodiment, the smart platform management interface 113 can be an integrated circuit (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 configured to periodically determine whether the parameter update module 111 updates the substrate management controller setting parameter according to the first update instruction S1 by determining whether a flag signal is a predetermined logic level (step S04). When the determination result is "Yes", it indicates that the parameter update module 111 updates the substrate management controller setting parameters according to the first update command S1. At this time, the parameter synchronization module 112 sends a smart information through the smart platform management interface 113. The second update instruction S2 of the platform management interface instruction to the other server coupled to the server 1. The second update instruction S2 includes the substrate 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至其他伺服器。Therefore, when the user remotely or directly operates the server 1 to change the substrate management controller setting of the server 1, the substrate management controller 11 receives the first update command S1, and the parameter update module 111 performs the steps. S01 to update the substrate management controller setting parameter; then, the parameter synchronization module 112 determines that the substrate management controller setting parameter is updated according to the first update instruction S1 when the step S04 is performed, and the parameter synchronization module 112 then performs step S05. Sending the second update command S2 to the other server, so that the parameter update module of the other server synchronously updates the baseboard management controller setting according to the baseboard management controller setting parameter sent by the parameter synchronization module 112; or, when the user does not change When the baseboard management controller of the server 1 is set to change the base management controller setting of the other server, the baseboard management controller 11 receives the third update command S3 from the other server, and the parameter update module 111 executes. Step S03 to update the substrate management controller setting parameters; then, according to the third update instruction S3, the parameter synchronization module 112 is Step S04 does not determine that the substrate management controller setting parameter is updated according to the first update command S1 (the determination result is "No"). At this time, the parameter synchronization module 112 does not send the second update command S2, the parameter synchronization mode. The group 112 will continuously execute step S04 until the determination result is "YES", and step S05 is executed to transmit the second update command S2 to the other server.

在一實施例中,前述基板管理控制器設定參數包含多種不同類型的設定參數,基板管理控制器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 an embodiment, the foregoing substrate management controller setting parameter includes a plurality of different types of setting parameters, and the substrate management controller 11 may update the corresponding one of the substrate management controller setting parameters according to the first update instruction S1 or the third update instruction S3. The setting parameters, and other servers may update the corresponding setting parameters of the baseboard management controller setting parameters of other servers according to the second update instruction S2. For example, the foregoing substrate management controller setting parameters may include setting parameters related to hard disk boot control (for example, a basic input/output system according to Unified Extensible Firmware Interface (UEFI) or a conventional one. The basic input/output system (Legacy BIOS) selects the boot mode of the hard disk, or the setting parameters related to the boot option, or the local area network (LAN) protocol (for example, making the regional network protocol fixed or Based on the setting parameters of the Dynamic Host Configuration Protocol (DHCP), the parameter update module 111 determines the setting parameters to be updated in the storage unit 12 when receiving the update commands S1 and S3, and the parameter updating module 111 The update parameter does not meet the setting parameters of the update command S1, S3; the first update command S1 includes the boot option setting parameter as an example, and the parameter update module 111 updates the base management controller setting parameter according to the first update command S1. Option to set parameters without updating other setting parameters. After the power-on option setting parameter is updated, The number synchronization module 112 sends the updated boot option setting parameter to the other server. The third update command S3 includes the boot option setting parameter as an example. The parameter update module 111 can update the substrate according to the third update command S3. Manage the boot option setting parameters in the controller setting parameters.

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

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

在另一實施例中,請合併參照圖1及圖3,當參數更新模組111根據第一更新指令S1更新基板管理控制器設定參數之後,參數更新模組111設定前述之一旗標訊號(步驟S02),使旗標訊號由原有之第一邏輯位準(例如,「0」)轉變為第二邏輯位準(例如,「1」);於此,參數同步模組112在執行步驟S04時可藉由判斷前述旗標訊號是否為一預設邏輯位準(即,前述之第二邏輯位準)來判斷參數更新模組111是否根據第一更新指令S1來更新基板管理控制器設定參數,當使用者變更基板管理控制器設定時,參數同步模組112會判斷出旗標訊號為第二邏輯位準而執行步驟S05,並在執行步驟S05之後再設定旗標訊號,使旗標訊號由第二邏輯位準轉變為原有之第一邏輯位準,為第一邏輯位準之旗標訊號不觸發參數同步模組112發送第二更新指令S2。In another embodiment, referring to FIG. 1 and FIG. 3, after the parameter update module 111 updates the substrate management controller setting parameters according to the first update command S1, the parameter update module 111 sets one of the foregoing flag signals ( Step S02), changing the flag signal from the original first logic level (for example, "0") to the second logic level (for example, "1"); wherein the parameter synchronization module 112 is performing steps S04: determining whether the parameter update module 111 updates the substrate management controller setting according to the first update instruction S1 by determining whether the flag signal is a predetermined logic level (ie, the second logic level) The parameter synchronization module 112 determines that the flag signal is the second logic level and performs step S05, and then sets the flag signal to perform the flag after the step S05 is executed. The signal is converted 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 the 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 substrate management controller setting parameter according to the third update command S3, the parameter update module 111 does not set the flag signal, and the flag signal is maintained at the original first logic. Level. Therefore, when the user changes the substrate management controller setting of the other server, the parameter synchronization module 112 does not determine that the flag signal is the second logic level (the parameter update module 111 does not perform step S02), in other words, the parameter After the parameter update module 111 updates the substrate management controller setting parameters according to the third update command S3, the synchronization module 112 does not transmit the substrate management controller setting parameters updated according to the third update command S3 to other servers.

在實作上,由於第一更新指令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, since the source of the first update command S1 and the third update command S3 are different (the first update command S1 is generated by the unit inside the server 1, the unit inside the server 1 is controlled) The first update command S1 is generated when the user changes the unit set by the baseboard management controller of the server 1, and the third update command S3 is generated by the internal unit of the server other than the server 1, the first update command S1 and the third update instruction S3 each include one bit (which may be referred to as a source identification bit) for indicating its source, and the foregoing bits are different logical bits in the first update instruction S1 and the third update instruction S3. For example, the first bit of the first update command S1 and the third update command S3 respectively indicate the source thereof, and the logic level of the first bit of the first update command S1 may be “1”. The logic level of the first bit of the third update instruction S3 may be "0". In this case, the unit that generates the first update command S1 by the user changing the substrate management controller setting in the server 1 can set the first bit of the first update command S1 to “1”, and the parameter update module 111 When receiving the first update command S1, the flag signal can be set according to the logic level of the bit “1” (ie, the flag signal is set to the second logic level), and the parameter update module 111 is receiving. When the third update command S3 is reached, the flag signal is not set; and when the second update command S2 is generated, the parameter synchronization module 112 can set the source identification bit of the second update command S2 to “0” to make other substrates. After receiving the second update command S2, the management controller identifies the bit according to the source whose logic level is “0” without setting the flag signal.

在一實施例中,旗標訊號可儲存於儲存單元12或與基板管理控制器11耦接之其他儲存單元。基板管理控制器11可存取前述之儲存單元以設定旗標。In an embodiment, the flag signal may be stored in the storage unit 12 or other storage unit coupled to the baseboard management controller 11. The substrate 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 an embodiment, when the parameter synchronization module 112 sends the second update instruction S2, the parameter synchronization module 112 transmits the second update instruction S2 in the form of a broadcast. In another embodiment, the parameter synchronization module 112 can specify an Internet Protocol (IP) address of the server to which the server is to be sent, and cause the second update command S2 to be sent to the designated IP address. In detail, the parameter synchronization module 112 sends a test signal in the form of a broadcast before sending the second update command S2. After the other server receives the test signal and returns the confirmation signal, the parameter synchronization module 112 The server that returns the confirmation signal knows the IP addresses of other servers in the same domain. At this time, the parameter synchronization module 112 sends the second update instruction S2 to the other servers that have returned the confirmation signal. Accordingly, the parameter synchronization module 112 only transmits the second update command S2 to the BMCs of other servers within 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 one of the parameter lists, and the parameter update module 111 may update the foregoing parameters according to the first update instruction S1 when performing step S01. The list, and the parameter update module 111 may also update the foregoing parameter list according to the third update instruction S3 when performing step S03. The parameter list may include an update record of the setting parameters of the baseboard management controller, such as the update record of the aforementioned hard disk control setting parameter, the update record of the boot option setting parameter, or the update record of the regional network protocol setting parameter; or, the parameter list is also The foregoing update record may be included in addition to the substrate management controller setting parameters updated according to the first update command S1. Therefore, the second update instruction S2 may include the foregoing parameter list, and the parameter synchronization module 112 may send the second update instruction S2 including the parameter list to other servers, so that other servers update their baseboard management controller according to the parameter list. Set the parameters and a list of the parameters they contain.

在一實施例中,當參數更新模組111更新基板管理控制器設定參數(步驟S01、S03)卻更新失敗時,參數更新模組111可記錄前述之失敗事件,例如將前述之失敗事件寫入一日誌(log)檔,使管理者可根據已記錄之失敗事件來進行除錯。In an embodiment, when the parameter update module 111 updates the substrate management controller setting parameters (steps S01, S03) but fails to update, the parameter update module 111 may record the foregoing failure event, for example, write the foregoing failure event. A log file allows the administrator to debug based on the 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 command S2, the parameter update module 111 first determines whether the substrate management controller setting parameter in the storage unit 12 needs to be updated, for example, The parameter update module 111 can compare whether the substrate management controller setting parameter in the storage unit 12 and the substrate management controller setting parameter included in the second update instruction S2 are the same, and if the parameter update module 111 determines the substrate management in the storage unit 12 The controller setting parameter needs to be updated, and the parameter updating module 111 first updates the substrate management controller setting parameter in the storage unit 12 according to the substrate management controller setting parameter included in the second update instruction S2, and stores the update record in the foregoing 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之間之相同的基板管理控制器設定。4 is a schematic diagram of one embodiment of a server rack system with automatic synchronization of the same substrate management controller setting parameter functions between different servers in accordance with the present invention. 5 and 6 are schematic views of an embodiment of the server cabinet system of FIG. 4 in operation. Here, FIG. 4 to FIG. 6 are examples in which the server cabinet system includes four servers. However, the present invention is not limited thereto, and the number of servers included in the server cabinet system may be greater than four. Referring to FIG. 4 to FIG. 6, 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 have the same components as the server 1. It is worth mentioning that the servers 1, 2, 3, 4 are connected to each other and belong to parallel nodes in the same network domain, as shown in FIG. 5 and FIG. 6, by the servers 1, 2, 3, In the cluster composed of 4, the servers 1, 2, 3, and 4 are arranged in parallel, and the master node is not provided to manage each server in groups, so the servers 1, 2, 3, and 4 are all As a slave node. As shown in FIGS. 5 and 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 unit 12, 22, 32, 42 stores 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 respectively referred to as the 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, first substrate management controller setting parameters, second substrate management The controller setting parameters, the third substrate management controller setting parameters, and the fourth substrate management controller setting parameters are all the same substrate management controller settings corresponding to 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的運作模式已詳述於前,於此不再贅述。Therefore, 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 parameter setting servers 2, 3 by their base management controllers. , 4 substrate 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 smart 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 module 211, 311, 411 can perform steps S01, S02, and S03 in FIG. 3, or can record the foregoing update failure event, or update the parameter list, or send the foregoing test signal, parameters. The synchronization modules 212, 312, 412 can perform steps S04, S05, 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 described in detail above, and are not described herein again.

於是,複數伺服器1、2、3、4中之任一伺服器都能接收來自於使用者之更新指令(以下稱為第一更新指令),請合併參照圖7,圖7係為根據本發明之適於包含複數伺服器1、2、3、4的伺服器機櫃系統的自動同步不同伺服器之間的相同基板管理控制器設定參數之方法之一實施例之流程圖,當伺服器機櫃系統中之任一伺服器接收第一更新指令時,接收第一更新指令之伺服器的基板管理控制器根據第一更新指令更新其伺服器的基板管理控制器設定參數(步驟S07),且接收第一更新指令之伺服器發送另一更新指令(以下稱為第二更新指令)至伺服器機櫃系統中未接收第一更新指令之其他每一伺服器(步驟S08),第二更新指令包含更新後之基板管理控制器設定參數,使未接收第一更新指令之其他每一伺服器的基板管理控制器根據第二更新指令更新其伺服器的基板管理控制器設定參數(步驟S09),且未接收第一更新指令之其他每一伺服器的基板管理控制器在根據第二更新指令更新其伺服器的基板管理控制器設定參數之後不發送更新後之基板管理控制器設定參數(步驟S10)。Therefore, any one of the plurality of servers 1, 2, 3, and 4 can receive an update command from the user (hereinafter referred to as a first update command), please refer to FIG. 7 in combination, and FIG. 7 is based on the present invention. A flow chart of one embodiment of a method for automatically synchronizing the same substrate management controller setting parameters between different servers of a server cabinet system comprising a plurality of servers 1, 2, 3, 4, when the server cabinet When any one of the servers receives the first update instruction, the baseboard management controller of the server receiving the first update instruction updates the baseboard management controller setting parameter of the server according to the first update instruction (step S07), and receives The server of the first update instruction sends another update command (hereinafter referred to as a second update command) to each of the other servers in the server cabinet system that does not receive the first update command (step S08), and the second update command includes an update. The subsequent substrate management controller sets parameters such that the substrate management controller of each of the other servers that have not received the first update instruction updates the substrate of the server according to the second update instruction. Management controller setting parameters (step S09), and the baseboard management controller of each of the other servers not receiving the first update instruction does not send the update after updating the baseboard management controller setting parameters of its server according to the second update instruction The substrate 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, when the user changes the regional network protocol setting set by the baseboard management controller as an example, when the user changes the regional network protocol setting set by the baseboard management controller of the server 1, as shown in FIG. 5, the parameter The update module 111 updates the regional network protocol setting parameter in the first substrate management controller setting parameter according to the first update command S1 from the user (step S07), and the first update command S1 triggers the parameter synchronization module. 112 transmits a second update command S2 including the updated local area network protocol setting parameters (step S08). Therefore, the other servers 2, 3, 4 that have not received the first update command S1 receive the second update command S2 from the server 1, and the baseboard management controllers 21, 31, 41 have their smart platform management interface 213, 313, 413 receives 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 command S2. Setting the regional network protocol setting parameter in the parameter (step S09), and the parameter updating module 211, 311, 411 does not set the logical level of the flag signal to the second logic level, and has the first logic level. The flag signal does not trigger the parameter synchronization module 212, 312, 412 to send an update command corresponding to the updated regional network protocol setting parameter to the server 1 (step S10).

在伺服器2、3、4根據第二更新指令S2更新第二基板管理控制器設定參數、第三基板管理控制器設定參數及第四基板管理控制器設定參數中之區域網路協定設定參數之後,伺服器2、3、4與伺服器1具有相同的區域網路協定設定參數而具有相同的區域網路協定設定。例如,伺服器1、2、3、4的區域網路協定設定可由固定制變更為浮動制,或是由浮動制變更為固定制。After the server 2, 3, 4 updates the second substrate management controller setting parameter, the third substrate management controller setting parameter, and the regional network protocol setting parameter in the fourth substrate management controller setting parameter according to the second update command S2 Servers 2, 3, and 4 have the same regional network protocol setting parameters as server 1 and have the same regional network protocol settings. For example, the regional network protocol settings of the servers 1, 2, 3, and 4 can be changed from a fixed system to a floating system or 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 regional network protocol setting as an example, when the user changes the regional network protocol setting set by the baseboard management controller of the server 2, as shown in FIG. 6, the substrate management controller 21 receives the One of the user updates the command S4 (hereinafter referred to as the fourth update command S4, and in this embodiment, the first update command and the second update command in FIG. 7 are the fourth update command S4 and the fifth update command, respectively. S5), the fourth update command S4 triggers the parameter update module 211 to update the regional network protocol setting parameter in the second substrate management controller setting parameter (step S07) and set the logical level of the flag signal to the second logic. The level (step S02) causes the parameter synchronization module 212 to transmit a fifth update command S5 including the updated regional network protocol setting parameters (step S08). Therefore, the other servers 1, 3, 4 that have not received the fourth update command S4 receive the fifth update command S5 from the server 2, and the parameter update modules 111, 311, 411 update the first update command S5, respectively. a substrate management controller setting parameter, a third substrate management controller setting parameter, and a regional network protocol setting parameter in the fourth substrate management controller setting parameter (step S09), and the parameter updating module 111, 311, 411 is not set. The flag signal is the second logic level, and the flag signal with the first logic level does not trigger the parameter synchronization module 112, 312, 412 to send an update instruction corresponding to the updated regional network protocol setting parameter to the server. 2 (step S10). The servers 1, 3, and 4 respectively update the regional network 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 command S5. Thereafter, servers 1, 3, 4 and server 2 have the same regional network protocol setting parameters and have the same regional network protocol settings.

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

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

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

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

11‧‧‧基板管理控制器11‧‧‧Base 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‧‧‧Base 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‧‧‧Base 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‧‧‧Base 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 directive

S2‧‧‧第二更新指令S2‧‧‧ second update directive

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

S4‧‧‧第四更新指令S4‧‧‧ Fourth Update Directive

S5‧‧‧第五更新指令S5‧‧‧ fifth update directive

S01-S10‧‧‧步驟S01-S10‧‧‧Steps

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

Claims (8)

一種具自動同步更新不同伺服器之間的相同基板管理控制器設定參數功能之伺服器機櫃系統,包含:複數伺服器,彼此之間相互連線且為屬於同一網域中的平行節點,每一該伺服器包含:一儲存單元,包含複數基板管理控制器設定參數;及一基板管理控制器,耦接於該儲存單元,該基板管理控制器包含:一參數更新模組,用以更新該儲存單元所包含之該些基板管理控制器設定參數;及一參數同步模組,用以判斷該參數更新模組是否根據來自於其伺服器內部之一第一更新指令更新該些基板管理控制器設定參數並判斷該參數更新模組是否根據其他伺服器之一第二更新指令更新該些基板管理控制器設定參數,以決定是否發送更新後之基板管理控制器設定參數,其中,當該參數同步模組判斷出該參數更新模組係根據該第一更新指令更新該些基板管理控制器設定參數時,該參數同步模組發送更新後之該些基板管理控制器設定參數,當該參數同步模組判斷出該參數更新模組係根據該第二更新指令更新該些基板管理控制器設定參數時,該參數同步模組不發送更新後之該些基板管理控制器設定參數;其中,當該些伺服器中之任一伺服器接收該第一更新指令時,接收該第一更新指令之伺服器的基板管理控制器的參數更新模組根據該第一更新指令更新其伺服器的基板管理控制器設定參數,且接收該第一更新指令之伺服器的基板管理控制器的參數同步模組判斷其基板管理控制器的參 數更新模組係根據該第一更新指令更新其伺服器的基板管理控制器設定參數而發送該第二更新指令至未接收該第一更新指令之其他伺服器;其中,未接收該第一更新指令之其他伺服器的基板管理控制器的參數更新模組根據該第二更新指令更新其伺服器所包含的基板管理控制器設定參數,且未接收該第一更新指令之其他伺服器的基板管理控制器的參數同步模組判斷其基板管理控制器的參數更新模組未根據該第一更新指令更新其伺服器的基板管理控制器設定參數而不發送該第二更新指令。 A server cabinet system with automatic synchronous update of the same baseboard management controller setting parameter function between different servers, comprising: a plurality of servers connected to each other and being parallel nodes belonging to the same domain, each The server includes: a storage unit including a plurality of baseboard management controller setting parameters; and a baseboard management controller coupled to the storage unit, the baseboard management controller includes: a parameter update module for updating the storage The substrate management controller setting parameters included in the unit; and a parameter synchronization module for determining whether the parameter update module updates the substrate management controller settings according to a first update instruction from a server thereof And determining whether the parameter update module updates the substrate management controller setting parameters according to one of the other server second update instructions to determine whether to send the updated substrate management controller setting parameter, wherein when the parameter synchronization mode is The group determines that the parameter update module updates the baseboard management controllers according to the first update instruction When the parameter is determined, the parameter synchronization module sends the updated substrate management controller setting parameters, and when the parameter synchronization module determines that the parameter update module updates the substrate management controller settings according to the second update instruction The parameter synchronization module does not send the updated substrate management controller setting parameters; wherein, when any one of the servers receives the first update instruction, receiving the first update instruction The parameter update module of the server management controller of the server updates the baseboard management controller setting parameter of the server according to the first update instruction, and the parameter synchronization module of the baseboard management controller of the server that receives the first update instruction Determine the parameters of its substrate management controller The number update module sends the second update command to the other server that does not receive the first update command according to the first update instruction updating the baseboard management controller setting parameter of the server; wherein the first update is not received The parameter update module of the baseboard management controller of the other server of the command updates the substrate management controller setting parameters included in the server according to the second update instruction, and the substrate management of other servers that do not receive the first update instruction The parameter synchronization module of the controller determines that the parameter update module of the baseboard management controller does not update the baseboard management controller setting parameter of the server according to the first update instruction without transmitting the second update instruction. 如請求項1所述之具自動同步更新不同伺服器之間的相同基板管理控制器設定參數功能之伺服器機櫃系統,其中每一該伺服器之該基板管理控制器的參數同步模組係週期性地根據一旗標訊號是否為一預設邏輯位準來判斷其基板管理控制器的參數更新模組是否根據該第一更新指令更新該些基板管理控制器設定參數,其中,當接收該第一更新指令之伺服器的基板管理控制器的參數更新模組根據該第一更新指令更新其伺服器的基板管理控制器設定參數時,接收該第一更新指令之伺服器的基板管理控制器的參數更新模組設定該旗標訊號為該預設邏輯位準,使接收該第一更新指令之伺服器的基板管理控制器的參數同步模組發送該第二更新指令,且接收該第一更新指令之伺服器的基板管理控制器的參數同步模組於發送該第二更新指令之後設定該旗標訊號為不同於該預設邏輯位準之另一邏輯位準。 The server cabinet system with the same baseboard management controller setting parameter function between different servers is automatically synchronized, as described in claim 1, wherein the parameter synchronization module period of the baseboard management controller of the server is Whether the parameter update module of the baseboard management controller updates the baseboard management controller setting parameters according to the first update instruction, according to whether the flag signal is a predetermined logic level, wherein when receiving the When the parameter update module of the baseboard management controller of the server that updates the command updates the baseboard management controller setting parameter of the server according to the first update command, the baseboard management controller of the server that receives the first update command The parameter update module sets the flag signal to the preset logic level, so that the parameter synchronization module of the baseboard management controller of the server that receives the first update instruction sends the second update instruction, and receives the first update. The parameter synchronization module of the baseboard management controller of the command server sets the flag signal to be different after sending the second update command The logic level of the preset logic level is another. 如請求項2所述之具自動同步更新不同伺服器之間的相同基板管理控制器設定參數功能之伺服器機櫃系統,其中接收該第一更新訊號之伺服器的基板管理控制器的參數更新模組係根據該第一更新指令所 包含之一來源識別位元設定該旗標訊號為該預設邏輯位準,其中該參數同步模組於發送該第二更新指令之前設定該第二更新指令所包含之另一來源識別位元,使該第一更新指令之該來源識別位元與該第二更新指令之該另一來源識別位元之間為不相同之邏輯位準。 The server rack system with the same baseboard management controller setting parameter function between different servers is automatically synchronized, as described in claim 2, wherein the parameter of the baseboard management controller of the server receiving the first update signal is updated. The group is based on the first update instruction Include one source identification bit to set the flag signal as the preset logic level, wherein the parameter synchronization module sets another source identification bit included in the second update instruction before sending the second update instruction, The logical identification level is different between the source identification bit of the first update instruction and the another source identification bit of the second update instruction. 如請求項1所述之具自動同步更新不同伺服器之間的相同基板管理控制器設定參數功能之伺服器機櫃系統,其中接收該第一更新指令之伺服器的基板管理控制器的參數同步模組於發送該第二更新指令之前發送一測試訊號,並根據回應該測試訊號之未接收該第一更新指令之其他伺服器之網際網路協定位址發送該第二更新指令。 A server cabinet system for automatically synchronizing the same baseboard management controller setting parameter function between different servers, as described in claim 1, wherein the parameter synchronization module of the baseboard management controller of the server receiving the first update instruction The group sends a test signal before transmitting the second update command, and sends the second update command according to an internet protocol address of another server that does not receive the first update command. 一種自動同步更新不同伺服器之間的相同基板管理控制器設定參數之方法,適於一包含複數伺服器的伺服器機櫃系統,且該些伺服器係屬於同一網域中的平行節點,該方法包含:該複數伺服器中之任一伺服器的一第一基板管理控制器之一第一參數更新模組根據來自於其伺服器內部之一第一更新指令更新其伺服器的一第一基板管理控制器設定參數;該第一基板管理控制器之一第一參數同步模組判斷該第一參數更新模組是否根據來自於其伺服器內部之更新指令更新該第一基板管理控制器設定參數並判斷該第一參數更新模組是否根據來自於其他伺服器之更新指令更新該第一基板管理控制器設定參數,以決定是否發送更新後之該第一基板管理控制器設定參數;在該第一參數更新模組更新該第一基板管理控制器設定參數之後,該第一參數同步模組判斷出該第一參數更新模組係根據來自於其伺服器內 部之更新指令更新該第一基板管理控制器設定參數而發送一第二更新指令至該些伺服器中未接收該第一更新指令之其他伺服器,該第二更新指令包含更新後之該第一基板管理控制器設定參數;未接收該第一更新指令之其他伺服器的一第二基板管理控制器之一第二參數更新模組根據更新後之該第一基板管理控制器設定參數更新其伺服器的一第二基板管理控制器設定參數;該第二基板管理控制器之一第二參數同步模組判斷該第二參數更新模組是否根據來自於其伺服器內部之更新指令更新該第二基板管理控制器設定參數並判斷該第二參數更新模組是否根據來自於其他伺服器之更新指令更新該第二基板管理控制器設定參數,以決定是否發送更新後之該第二基板管理控制器設定參數;及在該第二參數更新模組更新該第二基板管理控制器設定參數之後,該第二參數同步模組判斷出該參數更新模組係根據來自於其他伺服器之更新指令更新該第二基板管理控制器設定參數而不發送更新後之該第二基板管理控制器設定參數。 A method for automatically synchronizing and updating the same substrate management controller setting parameters 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 The first parameter update module of one of the first substrate management controllers of any one of the plurality of servers updates a first substrate of the server according to a first update instruction from a server Management controller setting parameter; the first parameter synchronization module of the first baseboard management controller determines whether the first parameter update module updates the first baseboard management controller setting parameter according to an update instruction from an internal server thereof And determining whether the first parameter update module updates the first baseboard management controller setting parameter according to an update instruction from another server, to determine whether to send the updated first baseboard management controller setting parameter; After the parameter update module updates the first substrate management controller setting parameter, the first parameter synchronization module determines the first According to the parameter update module from its server-based The update instruction of the part updates the first baseboard management controller setting parameter and sends a second update command to another server of the server that does not receive the first update instruction, the second update instruction includes the updated a substrate management controller setting parameter; one of the second substrate management controllers of the other server that does not receive the first update command, the second parameter update module updates the first substrate management controller setting parameter according to the updated a second substrate management controller setting parameter of the server; the second parameter synchronization module of the second substrate management controller determines whether the second parameter update module updates the first according to an update instruction from an internal server thereof The second substrate management controller sets parameters and determines whether the second parameter update module updates the second substrate management controller setting parameter according to an update instruction from another server to determine whether to send the updated second substrate management control Setting parameters; and after the second parameter update module updates the second substrate management controller setting parameter, the second Synchronization module determines that the number of parameter update module setting system parameters according to the second controller update instruction from the other server to update the second controller setting parameters without transmitting the update. 如請求項5所述之自動同步更新不同伺服器之間的相同基板管理控制器設定參數之方法,其中,於該第一參數同步模組發送該第二更新指令之步驟中,該第一參數同步模組係週期性地判斷一旗標訊號是否為一預設邏輯位準而判斷該第一參數更新模組係根據來自於其伺服器內部之更新指令更新該第一基板管理控制器設定參數,其中該自動同步更新不同伺服器之間的相同基板管理控制器設定參數之方法更包含: 該第一參數更新模組於更新該第一基板管理控制器設定參數之後設定該旗標訊號為該預設邏輯位準;及該第一參數同步模組於發送該第二更新指令之後設定該旗標訊號為另一預設邏輯位準。 The method for automatically synchronizing the same substrate management controller setting parameters between different servers according to claim 5, wherein the first parameter is in the step of sending the second update instruction by the first parameter synchronization module The synchronization module periodically determines whether a flag signal is a predetermined logic level, and determines that the first parameter update module updates the first substrate management controller setting parameter according to an update instruction from an internal server thereof. The method of automatically synchronizing the same substrate management controller setting parameters between different servers further includes: The first parameter update module sets the flag signal to the preset logic level after updating the first substrate management controller setting parameter; and the first parameter synchronization module sets the second update command after sending the second update command. The flag signal is another preset logic level. 如請求項6所述之自動同步更新不同伺服器之間的相同基板管理控制器設定參數之方法,其中該第一參數更新模組設定該旗標訊號為該預設邏輯位準之步驟中,該第一參數更新模組係根據該第一更新指令所包含之一來源識別位元設定該旗標訊號為該預設邏輯位準;其中該自動同步更新方法更包含:該第一參數同步模組於發送該第二更新指令之前更設定該第二更新指令所包含之另一來源識別位元,使該第二更新指令之該另一來源識別位元與該第一更新指令之該來源識別位元之間為不相同之邏輯位準。 The method for automatically synchronizing the same substrate management controller setting parameters between different servers according to the method of claim 6, wherein the first parameter updating module sets the flag signal to the preset logic level, The first parameter update module sets the flag signal to the preset logic level according to the 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 another source identification bit of the second update instruction and the source identification of the first update instruction Bits are not the same logical level. 如請求項5所述之自動同步更新不同伺服器之間的相同基板管理控制器設定參數之方法,其中該第一參數同步模組發送該第二更新指令之步驟包含:該第一參數同步模組於發送該第二更新指令之前發送一測試訊號;及該第一參數同步模組根據回應該測試訊號之未接收該第一更新指令之其他伺服器的網際網路協定位址發送該第二更新指令。The method for automatically synchronizing the same substrate management controller setting parameters between different servers according to claim 5, wherein the step of transmitting the second update command by the first parameter synchronization module comprises: the first parameter synchronization mode Sending a test signal before sending the second update command; and the first parameter synchronization module sends the second network according to an internet protocol address of another server that does not receive the first update command 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 true TWI668578B (en) 2019-08-11
TW201942759A 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
TWI720594B (en) * 2019-08-23 2021-03-01 神雲科技股份有限公司 Remote update firmware control method

Families Citing this family (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

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070186086A1 (en) * 2006-02-02 2007-08-09 Dell Products L.P. Virtual BIOS firmware hub
TW201335847A (en) * 2012-02-24 2013-09-01 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
US20150067084A1 (en) * 2013-09-03 2015-03-05 Wistron Corporation 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

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070186086A1 (en) * 2006-02-02 2007-08-09 Dell Products L.P. Virtual BIOS firmware hub
TW201335847A (en) * 2012-02-24 2013-09-01 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
US20150067084A1 (en) * 2013-09-03 2015-03-05 Wistron Corporation 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
TWI720594B (en) * 2019-08-23 2021-03-01 神雲科技股份有限公司 Remote update firmware control method

Also Published As

Publication number Publication date
TW201942759A (en) 2019-11-01

Similar Documents

Publication Publication Date Title
US7600005B2 (en) Method and apparatus for provisioning heterogeneous operating systems onto heterogeneous hardware systems
US10177974B2 (en) Configuring managed server
US9619243B2 (en) Synchronous BMC configuration and operation within cluster of BMC
TWI502366B (en) Cloud cluster system and booting and deployment method using for the same
US8719390B2 (en) Server management apparatus and server management method
TWI581589B (en) Iscsi boot parameter deployment system and iscsi boot parameter deployment method
JP5910246B2 (en) Information processing system and virtual address setting method
EP2998877A2 (en) Server comprising a plurality of modules
US9904561B2 (en) Computer system and method for setting BIOS
WO2018192478A1 (en) Cloud management platform, virtual machine management method, system thereof
TW201913369A (en) Server with dual firmware storage space and firmware upgrading method for server
TWI649992B (en) Method for determining network node card operation speed of network node, port fanout configuration system and method thereof
US10630542B2 (en) Method for automatically initializing network device, remote server and network system using the same
TWI668578B (en) Server rack system with function of automatic synchronization of bmc configuration parameters between different server and automatic synchronization method thereof
US11349721B2 (en) Discovering switch port locations and internet protocol addresses of compute nodes
US20200295996A1 (en) Systems and methods for dynamically configuring a network switch for monitoring
CN110471677B (en) Server cabinet system and automatic synchronization method thereof
JP2015069282A (en) Information processing device and internal information update method of information processing device
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
JP6051798B2 (en) Firmware verification system, firmware verification method, and firmware verification program
TW201926035A (en) Firmware update method and baseboard management controller for firmware update
US20230325203A1 (en) Provisioning dpu management operating systems using host and dpu boot coordination
TW201544962A (en) Server and method for inquiring deployment status of server
CN109756585B (en) Method and control device for identifying position of new network access equipment
TW202013934A (en) System and method of automatic serial-attached scsi (sas) zoing configuration

Legal Events

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