TWI530800B - Server and method for inquiring deployment status of server - Google Patents

Server and method for inquiring deployment status of server Download PDF

Info

Publication number
TWI530800B
TWI530800B TW103117652A TW103117652A TWI530800B TW I530800 B TWI530800 B TW I530800B TW 103117652 A TW103117652 A TW 103117652A TW 103117652 A TW103117652 A TW 103117652A TW I530800 B TWI530800 B TW I530800B
Authority
TW
Taiwan
Prior art keywords
server
deployment
information
management controller
baseboard management
Prior art date
Application number
TW103117652A
Other languages
Chinese (zh)
Other versions
TW201544962A (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 TW103117652A priority Critical patent/TWI530800B/en
Publication of TW201544962A publication Critical patent/TW201544962A/en
Application granted granted Critical
Publication of TWI530800B publication Critical patent/TWI530800B/en

Links

Description

伺服器及查詢其部署狀態的方法 Server and method for querying its deployment status

本發明是有關於一種伺服器及其管理方法,且特別是有關於一種伺服器及查詢其部署狀態的方法。 The present invention relates to a server and a management method thereof, and more particularly to a server and a method for querying its deployment state.

伺服器在開機的過程中必定經過下列步驟:首先,由統一可延伸韌體介面(Unified Extensible Firmware Interface,UEFI)/基本輸入輸出系統(Basic Input/Output System,BIOS)進行系統硬體初始化(Power-On Self-Test,POST),並掃描週邊裝置與列舉可開機裝置。接著,將開機裝置內的作業系統啟動程式(boot loader)載入系統記憶體。最後,將系統控制權交至啟動程式,以繼續完成作業系統核心程式(kernel)載入等啟動作業。 The server must go through the following steps during the boot process: First, the system is initialized by the Unified Extensible Firmware Interface (UEFI)/Basic Input/Output System (BIOS). -On Self-Test, POST), and scan peripheral devices and enumerate bootable devices. Next, the boot loader in the boot device is loaded into the system memory. Finally, the system control is passed to the startup program to continue the startup of the operating system kernel (kernel) loading.

智慧平台管理介面(Intelligent Platform Management Interface,IPMI)/基板管理控制器(Baseboard Management Controller,BMC)為一種伺服器上特有的工業標準與裝置。系統管理員可利用智慧平台管理介面遠端管理資料中心並大量收集伺 服器的硬體運作資訊。但傳統上,除了智慧平台管理介面標準中所定義的資訊以及基板管理控制器自身可獨立存取的硬體資訊外,若要遠端進行伺服器操作、管理或獲取基板管理控制器無法獨立取得的資訊(例如作業系統啟動程式),大多僅能透過虛擬鍵盤-視訊-滑鼠(Keyboard-Video-Mouse,KVM)採1對1的模式進行。但這樣的管理方式在資料中心中欲進行大量部署時,是不方便也難以達成的。 The Intelligent Platform Management Interface (IPMI)/Baseboard Management Controller (BMC) is a unique industry standard and device for servers. System administrators can use the smart platform management interface to remotely manage the data center and collect a large number of servers. The hardware operation information of the server. However, traditionally, in addition to the information defined in the smart platform management interface standard and the hardware information that the baseboard management controller itself can independently access, remote server operations, management, or acquisition of the baseboard management controller cannot be independently obtained. Most of the information (such as the operating system startup program) can only be played in a one-to-one mode via the virtual keyboard-Video-Mouse (KVM). However, such management methods are inconvenient and difficult to achieve when a large number of deployments are required in the data center.

本發明提供一種伺服器及查詢其部署狀態的方法,可透過網路取得伺服器的部署資訊,確認伺服器的部署狀態。 The invention provides a server and a method for querying the deployment state thereof, which can obtain the deployment information of the server through the network and confirm the deployment state of the server.

本發明的查詢伺服器部署狀態的方法,適於由管理中心查詢至少一台伺服器的部署狀態,其中此管理中心透過網路與各個伺服器的基板管理控制器連接。此方法是透過網路將查詢指令發送至基板管理控制器,而由基板管理控制器據以發出硬體中斷訊號。接著,伺服器的開機系統會響應此硬體中斷訊號,將伺服器安裝作業系統的部署資訊提供給基板管理控制器。然後,由基板管理控制器透過網路將部署資訊回傳給管理中心,以供管理中心判斷伺服器的部署狀態。 The method for querying the deployment status of the server is adapted to query, by the management center, the deployment status of at least one server, wherein the management center is connected to the baseboard management controller of each server through the network. In this method, the query command is sent to the baseboard management controller through the network, and the baseboard management controller sends a hardware interrupt signal accordingly. Then, the server booting system responds to the hardware interrupt signal and provides deployment information of the server installation operating system to the baseboard management controller. Then, the baseboard management controller sends the deployment information back to the management center through the network, so that the management center can determine the deployment status of the server.

本發明的伺服器包括儲存單元、基板管理控制器及處理器。其中,儲存單元是用以儲存開機系統的程式。基板管理控制器包括網路卡及硬體接腳,其中網路卡是用以透過網路連接管理 中心,以接收管理中心發送的查詢指令,而硬體接腳則是用以根據查詢指令發出硬體中斷訊號。處理器連接儲存單元及基板管理控制器,用以執行儲存單元所儲存的開機系統,其中開機系統會響應硬體接腳發出的硬體中斷訊號,將伺服器安裝作業系統的部署資訊提供給基板管理控制器,而由基板管理控制器的網路卡透過網路將部署資訊回傳給管理中心,以供管理中心判斷伺服器的部署狀態。 The server of the present invention includes a storage unit, a substrate management controller, and a processor. The storage unit is a program for storing the booting system. The baseboard management controller includes a network card and a hardware pin, wherein the network card is used to manage through a network connection. The center receives the query command sent by the management center, and the hardware pin is used to send a hardware interrupt signal according to the query command. The processor is connected to the storage unit and the baseboard management controller for executing the booting system stored in the storage unit, wherein the booting system responds to the hardware interrupt signal sent by the hardware pin, and provides the deployment information of the server installation operating system to the substrate. The controller is managed, and the network card of the baseboard management controller transmits the deployment information to the management center through the network, so that the management center can determine the deployment status of the server.

基於上述,本發明之伺服器及查詢其部署狀態的方法是由開機系統在開機過程中記錄開機的相關資訊。而在基板管理控制器接收到管理中心的查詢指令時,即以硬體中斷的方式觸發開機系統主動提供此資訊。此資訊經由基板管理控制器回傳管理中心後,位於管理中心的管理者即可得知目前伺服器的部署狀態。 Based on the above, the server of the present invention and the method for querying the deployment state thereof are recorded by the booting system during the booting process. When the baseboard management controller receives the query instruction of the management center, the booting system is triggered by the hardware interrupt to actively provide the information. After the information is returned to the management center via the baseboard management controller, the manager located in the management center can know the current deployment status of the server.

為讓本發明的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。 The above described features and advantages of the invention will be apparent from the following description.

10‧‧‧管理中心 10‧‧‧Management Center

12‧‧‧網路 12‧‧‧Network

14、24‧‧‧基板管理控制器 14, 24‧‧‧ Baseboard Management Controller

142、242‧‧‧網路卡 142, 242‧‧‧ network card

144、244‧‧‧硬體接腳 144, 244‧‧‧ hardware pins

146‧‧‧旗標 146‧‧‧flag

16‧‧‧開機系統 16‧‧‧ boot system

162‧‧‧程式碼 162‧‧‧ Code

20、S1~SN‧‧‧伺服器 20, S 1 ~ S N ‧ ‧ server

22‧‧‧儲存單元 22‧‧‧ storage unit

26‧‧‧處理器 26‧‧‧ Processor

S302~S308‧‧‧本發明一實施例查詢伺服器部署狀態的方法步驟 S302~S308‧‧‧ method steps for querying the deployment state of the server according to an embodiment of the present invention

圖1A至圖1C是依照本發明一實施例所繪示之查詢伺服器部署狀態的示意圖。 FIG. 1A to FIG. 1C are schematic diagrams showing a deployment state of a query server according to an embodiment of the invention.

圖2是依照本發明一實施例所繪示之伺服器的方塊圖。 2 is a block diagram of a server in accordance with an embodiment of the invention.

圖3是依照本發明一實施例所繪示的查詢伺服器部署狀態的方法流程圖。 FIG. 3 is a flow chart of a method for querying a deployment state of a server according to an embodiment of the invention.

由於電腦在將系統控制權交至啟動程式之前,整個系統都是由統一可延伸韌體介面(Unified Extensible Firmware Interface,UEFI)或基本輸入輸出系統(Basic Input/Output System,BIOS)等開機系統掌握開機流程。因此,本發明透過在開機系統中加入一段程式碼,以使其在開機的過程中可記錄其所載入的啟動程式(boot loader)資訊與啟動程式是否曾因為載入作業系統核心程式(OS kernel)失敗而將系統控制權返還給開機系統等關鍵資訊,以作為判斷當前系統上是否已配置作業系統之用,甚至可更進一步判斷該作業系統的種類及版本。 Since the computer is given control of the system to the startup program, the entire system is controlled by a boot system such as Unified Extensible Firmware Interface (UEFI) or Basic Input/Output System (BIOS). Boot process. Therefore, the present invention adds a program code to the booting system so that it can record the boot loader information and the boot program loaded during the boot process because the operating system core program (OS) is loaded. The kernel fails to return the control of the system to the boot system and other key information to determine whether the operating system is configured on the current system, and even further determine the type and version of the operating system.

圖1A至圖1C是依照本發明一實施例所繪示之查詢伺服器部署狀態的示意圖。請先參照圖1A,本實施例係在伺服器的開機系統中加入程式碼(例如在伺服器S1的開機系統16中加入程式碼162),促使開機系統在開機的過程中可記錄其所載入的啟動程式資訊或載入失敗等關鍵資訊。藉此,管理中心10即可透過網路12傳送查詢指令至各個伺服器(即伺服器S1~SN),以取得各個伺服器的部署資訊。以伺服器S1為例,當伺服器S1的之基板管理控制器(Baseboard Management Controller,BMC)14的網路卡142接收到查詢指令時,即會透過硬體接腳144發出硬體中斷訊號(如圖1B所示)。此時,伺服器S1的開機系統16即會響應此硬體中斷訊號,將先前記錄的作業系統的部署資訊利用智慧平台管理介面(Intelligent Platform Management Interface,IPMI)指令傳送至 基板管理控制器14(如圖1C所示)。最後,基板管理控制器14會透過網路卡142將此部署資訊回傳給管理中心10。而根據各個伺服器回傳的部署資訊,管理中心10即可得知其所有伺服器的部署狀態。需說明的是,基板管理控制器14在取得此部署資訊後,例如可將此資訊記錄在至少一個旗標146中,以便在之後再次接收到管理中心10的查詢指令時,可立即回覆管理中心10。 FIG. 1A to FIG. 1C are schematic diagrams showing a deployment state of a query server according to an embodiment of the invention. Referring to FIG. 1A, in this embodiment, a code is added to the booting system of the server (for example, the code 162 is added to the booting system 16 of the server S1), so that the booting system can record the booting process during the booting process. Key information such as startup program information or loading failure. Thereby, the management center 10 can transmit query commands to the respective servers (ie, servers S 1 to S N ) through the network 12 to obtain deployment information of each server. Taking the server S 1 as an example, when the network card 142 of the baseboard management controller (BMC) 14 of the server S 1 receives the query command, the hardware pin 144 is used to issue a hardware interrupt. Signal (as shown in Figure 1B). At this time, the booting system 16 of the server S1 responds to the hardware interrupt signal, and transmits the previously recorded operating system deployment information to the baseboard management controller 14 by using an Intelligent Platform Management Interface (IPMI) command ( As shown in Figure 1C). Finally, the baseboard management controller 14 transmits the deployment information back to the management center 10 via the network card 142. According to the deployment information returned by each server, the management center 10 can know the deployment status of all its servers. It should be noted that, after obtaining the deployment information, the substrate management controller 14 may record the information in at least one flag 146, for example, to immediately reply to the management center when receiving the query instruction of the management center 10 again. 10.

圖2是依照本發明一實施例所繪示之伺服器的方塊圖。請參照圖2,本實施例的伺服器20包括儲存單元22、基板管理控制器24及處理器26,其功能分述如下: 2 is a block diagram of a server in accordance with an embodiment of the invention. Referring to FIG. 2, the server 20 of the embodiment includes a storage unit 22, a substrate management controller 24, and a processor 26. The functions are as follows:

儲存單元22例如是唯讀記憶體(Read Only Memory,ROM)、可程式唯讀記憶體(Programmable ROM,PROM)、可抹除可編程唯讀記憶體(Erasable Programmable Read Only Memory,EPROM)、電子抹除式可複寫唯讀記憶體(Electrically Erasable Programmable Read Only Memory,EEPROM)、反及閘型(NAND-type)快閃記憶體(Flash memory)或反或閘型(NOR-type)快閃記憶體等非揮發性記憶體,其係用以儲存伺服器20的統一可延伸韌體介面或基本輸入輸出系統等開機系統的程式。本實施例例如是在此程式中加入一段程式碼,以使得開機系統在開機的過程中可記錄其所載入的啟動程式資訊與啟動程式是否曾因為載入作業系統核心程式失敗而將系統控制權返還給開機系統等關鍵資訊。 The storage unit 22 is, for example, a read only memory (ROM), a programmable read only memory (PROM), an erasable programmable read only memory (EPROM), and an electronic Electable Erasable Programmable Read Only Memory (EEPROM), NAND-type Flash Memory or NOR-type Flash Memory A non-volatile memory, such as a body, is used to store a program of a bootable firmware interface of the server 20 or a booting system such as a basic input/output system. In this embodiment, for example, a program code is added to the program, so that the booting system can record the startup program information and the startup program loaded during the booting process, and the system is controlled because the loading of the operating system core program fails. The right is returned to key information such as the boot system.

基板管理控制器24係支援智慧平台管理介面,負責伺服 器20內部各式周邊設備的監控。其中,基板管理控制器24係透過網路卡242與外部的管理中心連接,而能夠接收管理中心發出的監控指令,據以執行監控動作,並回報執行結果給管理中心,以便管理中心掌握伺服器20的運作狀況。在本實施例中,基板管理控制器24更配置有一個硬體接腳244,其可在網路卡242接收到管理中心發出的查詢指令時,發出硬體中斷訊號,促使伺服器20的開機系統提供其安裝作業系統的部署資訊。 The baseboard management controller 24 supports the smart platform management interface and is responsible for the servo. The monitoring of various peripheral devices inside the device 20. The baseboard management controller 24 is connected to the external management center through the network card 242, and can receive the monitoring command issued by the management center, and perform the monitoring action according to the report, and report the execution result to the management center, so that the management center can grasp the server. 20 operating conditions. In this embodiment, the baseboard management controller 24 is further configured with a hardware pin 244, which can send a hardware interrupt signal when the network card 242 receives the query command sent by the management center, thereby causing the server 20 to boot. The system provides deployment information for its installation operating system.

處理器26例如是具有單核心或多核心的中央處理單元(Central Processing Unit,CPU),或是其他可程式化之一般用途或特殊用途的微處理器(Microprocessor)、數位訊號處理器(Digital Signal Processor,DSP)、可程式化控制器、特殊應用積體電路(Application Specific Integrated Circuit,ASIC)或其他類似元件或上述元件的組合。在本實施例中,處理器26可執行儲存單元22所儲存的開機系統,藉以實現本發明實施例的查詢伺服器部署狀態的方法。 The processor 26 is, for example, a central processing unit (CPU) having a single core or multiple cores, or other programmable general purpose or special purpose microprocessor (Microprocessor), digital signal processor (Digital Signal) Processor, DSP), programmable controller, Application Specific Integrated Circuit (ASIC) or other similar components or a combination of the above. In this embodiment, the processor 26 can execute the booting system stored in the storage unit 22, thereby implementing the method for querying the deployed state of the server in the embodiment of the present invention.

詳言之,圖3是依照本發明一實施例所繪示的查詢伺服器部署狀態的方法流程圖。請同時參照圖2及圖3,本實施例的方法適用於圖2的伺服器20,而適於由管理中心查詢伺服器20的部署狀態,其中管理中心是透過網路與伺服器20的基板管理控制器24的網路卡242連接,以下即搭配圖2中伺服器20的各項元件,說明本實施例方法的詳細流程。 In detail, FIG. 3 is a flowchart of a method for querying a deployment state of a server according to an embodiment of the invention. Referring to FIG. 2 and FIG. 3 simultaneously, the method in this embodiment is applicable to the server 20 of FIG. 2, and is suitable for querying the deployment state of the server 20 by the management center, wherein the management center is a substrate through the network and the server 20. The network card 242 of the management controller 24 is connected. The following describes the detailed flow of the method of the embodiment in conjunction with the components of the server 20 in FIG.

在本實施例中,當資料中心的管理者欲部署伺服器或需 了解目前伺服器的部署狀態時,可由管理中心透過網路發送查詢指令至各個伺服器(在本實施例中以伺服器20為例)的基板管理控制器(步驟S302),以要求各個伺服器回報其部署資訊。 In this embodiment, when the data center administrator wants to deploy a server or needs When the deployment status of the current server is known, the management center may send a query command to the baseboard management controller of each server (in the embodiment, the server 20 is taken as an example) through the network (step S302) to request each server. Reward their deployment information.

此時,伺服器20的基板管理控制器24即會根據所接收的查詢指令,利用硬體接腳244發出硬體中斷訊號(步驟S304)。而伺服器20的開機系統則會響應此硬體中斷訊號,將其安裝作業系統的部署資訊回傳給基板管理控制器24(步驟S306)。其中,上述的部署資訊例如是由開機系統在伺服器20先前開機的過程中,記錄伺服器20所載入的啟動程式資訊或是伺服器20載入作業系統核心程式失敗的關鍵資訊。此外,藉由在開機系統的程式中寫入程式碼,使得開機系統在接收到硬體接腳244發出的硬體中斷訊號時,會主動利用智慧平台管理介面指令將上述預先記錄的部署資訊回傳給基板管理控制器24。 At this time, the baseboard management controller 24 of the server 20 issues a hardware interrupt signal by the hardware pin 244 according to the received query command (step S304). The booting system of the server 20 responds to the hardware interrupt signal, and transmits the deployment information of the installation operating system to the baseboard management controller 24 (step S306). The above deployment information is, for example, the startup program in the booting process of the server 20, the startup program information loaded by the server 20 or the key information that the server 20 fails to load the operating system core program. In addition, by writing the code in the program of the booting system, when the booting system receives the hardware interrupt signal from the hardware pin 244, the booting system actively uses the smart platform management interface command to return the pre-recorded deployment information. It is transmitted to the substrate management controller 24.

最後,基板管理控制器24會利用網路卡242透過網路將此部署資訊回傳至管理中心,藉以提供管理中心判斷伺服器的部署狀態(步驟S308)。 Finally, the baseboard management controller 24 uses the network card 242 to transmit the deployment information to the management center through the network, thereby providing the management center to determine the deployment status of the server (step S308).

藉由上述方法,遠端的管理者僅需利用管理中心發出查詢指令,即可得知目前資料中心中各個伺服器上作業系統的部署狀態。 By the above method, the remote manager only needs to use the management center to issue an inquiry command, and can know the deployment status of the operating system on each server in the current data center.

需說明的是,在步驟S306中,當基板管理控制器24接收到開機系統回傳的部署資訊時,除了會傳送給管理中心外,還可將此部署資訊儲存在自身的儲存空間,例如利用至少一個旗標 (例如圖1中的旗標146)來儲存。其中,如果基板管理控制器24回傳的部署資訊表示啟動程式存在,則基板管理控制器24可在一個旗標儲存旗標值1,否則儲存旗標值0;此外,如果基板管理控制器24回傳的部署資訊包括已安裝作業系統的種類、版本等詳細資訊,則基板管理控制器24可利用適當數量的旗標來儲存這些資訊。藉此,往後基板管理控制器24若再次接收到管理中心的查詢指令時,即便伺服器20當時並未開機,仍然能夠提供伺服器20關機前最後的部署資訊給管理中心,以便管理中心的管理者了解伺服器20的部署狀態。 It should be noted that, in step S306, when the substrate management controller 24 receives the deployment information returned by the booting system, in addition to being transmitted to the management center, the deployment information may be stored in its storage space, for example, At least one flag (for example, flag 146 in Figure 1) to store. If the deployment information returned by the baseboard management controller 24 indicates that the startup program exists, the baseboard management controller 24 may store the flag value 1 in one flag, otherwise store the flag value 0; in addition, if the baseboard management controller 24 The post-deployment deployment information includes details such as the type and version of the installed operating system, and the baseboard management controller 24 can store the information using an appropriate number of flags. Therefore, if the subsequent substrate management controller 24 receives the query command of the management center again, even if the server 20 is not turned on at the time, the last deployment information before the server 20 is turned off can be provided to the management center for the management center. The administrator knows the deployment status of the server 20.

舉例來說,假設機房內已建置有伺服器A、B、D,當管理者購入新的伺服器C、E,並建置至機房(連接電源及網路)後,即可透過管理中心與各個伺服器之基板管理控制器的網路連線,搜索機房內的所有伺服器(包括伺服器A~E),其中包括取得各個伺服器的名稱、網際網路通訊協定(Internet Protocol,IP)位址、是否開機等資訊(如下表1所示)。藉由本發明實施例的方法,管理者即可透過向各個伺服器發送查詢指令取得各個伺服器的部署資訊,而能夠準確辨識伺服器A、D已部署作業系統Ubuntu 12.04,且伺服器C、E尚未部署作業系統。其中,雖然伺服器B未開機,但透過記錄在基板管理控制器內的旗標值,管理者仍可辨識伺服器B也已部署作業系統Ubuntu 12.04。藉由,即可幫助管理者得知機房內伺服器的部署狀態,從而對伺服器C、E進行後續部署。 For example, suppose that servers A, B, and D have been built in the equipment room. When the administrator purchases new servers C and E and builds them into the equipment room (connecting power and network), they can go through the management center. Connect to the network of the baseboard management controller of each server and search all the servers in the equipment room (including servers A~E), including the name of each server and the Internet Protocol (IP). ) Information such as the address, whether it is turned on or not (as shown in Table 1 below). With the method of the embodiment of the present invention, the administrator can obtain the deployment information of each server by sending a query instruction to each server, and can accurately identify the deployed operating system Ubuntu 12.04 of the server A and D, and the servers C and E. The operating system has not been deployed. Among them, although the server B is not turned on, the manager can still recognize that the server B has deployed the operating system Ubuntu 12.04 through the flag value recorded in the baseboard management controller. By means, the administrator can know the deployment status of the server in the equipment room, and then perform subsequent deployment on the servers C and E.

綜上所述,本發明之伺服器及查詢其部署狀態的方法藉由在伺服器的開機系統中撰寫一段程式碼,使其在開機的過程中,可記錄其作業系統之啟動程式等相關資訊。而藉由在基板管理控制中配置一個硬體接腳,使其在接收到查詢指令時,可發出硬體中斷訊號,促使開機系統提供部署資訊,從而回傳給管理中心。藉此,管理中心即可辨識各個伺服器的部署狀態,從而進行後續的部署工作。 In summary, the server of the present invention and the method for querying the deployment state thereof can write a program code in the booting system of the server, so that during the booting process, the startup program of the operating system can be recorded. . By configuring a hardware pin in the baseboard management control, when receiving the query command, a hardware interrupt signal can be issued to prompt the booting system to provide deployment information, thereby being transmitted back to the management center. In this way, the management center can identify the deployment status of each server for subsequent deployment.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。 Although the present invention has been disclosed in the above embodiments, it is not intended to limit the present invention, and any one of ordinary skill in the art can make some changes and refinements without departing from the spirit and scope of the present invention. The scope of the invention is defined by the scope of the appended claims.

S302~S308‧‧‧本發明一實施例查詢伺服器部署狀態的方法步驟 S302~S308‧‧‧ method steps for querying the deployment state of the server according to an embodiment of the present invention

Claims (10)

一種查詢伺服器部署狀態的方法,適於由一管理中心查詢至少一伺服器的部署狀態,其中該管理中心透過網路與各所述伺服器的一基板管理控制器連接,該方法包括下列步驟:透過該網路發送一查詢指令至各所述伺服器的該基板管理控制器;由該基板管理控制器根據該查詢指令發出一硬體中斷訊號;由該伺服器的一開機系統響應該硬體中斷訊號提供該伺服器安裝一作業系統的一部署資訊至該基板管理控制器;以及由該基板管理控制器透過該網路回傳該部署資訊至該管理中心,以供該管理中心判斷所述伺服器的該部署狀態。 A method for querying a deployment state of a server is adapted to query, by a management center, a deployment status of at least one server, wherein the management center is connected to a base management controller of each of the servers through a network, and the method includes the following steps Transmitting, by the network, a query command to the baseboard management controller of each server; the baseboard management controller sends a hardware interrupt signal according to the query command; and the booting system of the server responds to the hard The physical interrupt signal provides a deployment information of the operating system to the baseboard management controller; and the baseboard management controller returns the deployment information to the management center through the network for the management center to determine Describe the deployment status of the server. 如申請專利範圍第1項所述的查詢伺服器部署狀態的方法,其中在由該伺服器的該開機系統響應該硬體中斷訊號提供該伺服器安裝該作業系統的該部署資訊至該基板管理控制器的步驟之前,更包括:由該開機系統在該伺服器開機的過程中,記錄該伺服器所載入的一啟動程式(boot loader)資訊或是該伺服器載入一作業系統核心程式失敗的一關鍵資訊,以做為該部署資訊。 The method for querying a server deployment state according to claim 1, wherein the booting system of the server responds to the hardware interrupt signal to provide the server to install the deployment information of the operating system to the substrate management. Before the step of the controller, the booting system records the boot loader information loaded by the server or the server loads the core program of the operating system during the booting process of the server. A key piece of information for failure as a deployment information. 如申請專利範圍第1項所述的查詢伺服器部署狀態的方法,其中由該伺服器的該開機系統響應該硬體中斷訊號提供該伺服器安裝該作業系統的該部署資訊至該基板管理控制器的步驟包括: 由該開機系統利用智慧型平台管理介面(Intelligent Platform Management Interface,IPMI)指令發送該部署資訊至該基板管理控制器,以提供該部署資訊至該基板管理控制器。 The method for querying a server deployment state according to claim 1, wherein the booting system of the server provides the server to install the deployment information of the operating system to the baseboard management control in response to the hardware interrupt signal. The steps of the device include: The booting system transmits the deployment information to the baseboard management controller by using an Intelligent Platform Management Interface (IPMI) command to provide the deployment information to the baseboard management controller. 如申請專利範圍第3項所述的查詢伺服器部署狀態的方法,其中在該開機系統提供該部署資訊至該基板管理控制器的步驟之後,更包括:由該基板管理控制器利用至少一旗標記錄該部署資訊,以在再次接收到該管理中心發出的該查詢指令時,回傳該部署資訊至該管理中心。 The method for querying a server deployment state according to claim 3, wherein after the step of providing the deployment information to the baseboard management controller, the method further includes: using at least one flag by the baseboard management controller The deployment information is recorded to return the deployment information to the management center when the query command issued by the management center is received again. 如申請專利範圍第1項所述的查詢伺服器部署狀態的方法,其中該部署資訊包括該伺服器是否安裝該作業系統或該伺服器所安裝之一作業系統種類。 The method for querying a server deployment state according to claim 1, wherein the deployment information includes whether the server installs the operating system or a type of operating system installed by the server. 一種伺服器,包括:一儲存單元,儲存一開機系統的程式;一基板管理控制器,包括:一網路卡,透過網路連接一管理中心,接收該管理中心發送的一查詢指令;以及一硬體接腳,根據該查詢指令發出一硬體中斷訊號;以及一處理器,連接該儲存單元及該基板管理控制器,執行該儲存單元所儲存的該開機系統,其中該開機系統包括響應該硬體接腳發出的該硬體中斷訊號,提供該伺服器安裝一作業系統的一部署資訊至該基板管理控制器,而由該基板管理控制器的該網路卡 透過該網路回傳該部署資訊至該管理中心,以供該管理中心判斷該伺服器的該部署狀態。 A server includes: a storage unit that stores a program for booting a system; a baseboard management controller, comprising: a network card, connected to a management center through the network, and receiving a query command sent by the management center; and a a hardware pin, a hardware interrupt signal is sent according to the query command; and a processor is connected to the storage unit and the baseboard management controller to execute the booting system stored by the storage unit, wherein the booting system includes responding to the The hardware interrupt signal sent by the hardware pin provides a deployment information of the operating system to the baseboard management controller, and the network card of the baseboard management controller The deployment information is returned to the management center through the network, so that the management center determines the deployment status of the server. 如申請專利範圍第6項所述的伺服器,其中該開機系統更包括在該伺服器開機的過程中,記錄該伺服器所載入的一啟動程式資訊或是該伺服器載入一作業系統核心程式失敗的一關鍵資訊於該儲存單元,以做為該部署資訊。 The server of claim 6, wherein the booting system further includes recording, during the booting process of the server, a startup program information loaded by the server or loading the server into an operating system. A key piece of information about the failure of the core program is the storage unit as the deployment information. 如申請專利範圍第6項所述的伺服器,其中該開機系統包括利用智慧型平台管理介面指令發送該部署資訊至該基板管理控制器,以提供該部署資訊至該基板管理控制器。 The server of claim 6, wherein the booting system comprises transmitting the deployment information to the baseboard management controller by using a smart platform management interface command to provide the deployment information to the baseboard management controller. 如申請專利範圍第8項所述的伺服器,其中該基板管理控制器更包括利用至少一旗標記錄該部署資訊,以在再次接收到該管理中心發出的該查詢指令時,回傳該部署資訊至該管理中心。 The server of claim 8, wherein the baseboard management controller further comprises: recording the deployment information by using at least one flag to return the deployment when the query command issued by the management center is received again. Information to the management center. 如申請專利範圍第6項所述的伺服器,其中該部署資訊包括該伺服器是否安裝該作業系統或該伺服器所安裝之一作業系統種類。 The server of claim 6, wherein the deployment information includes whether the server installs the operating system or a type of operating system installed by the server.
TW103117652A 2014-05-20 2014-05-20 Server and method for inquiring deployment status of server TWI530800B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW103117652A TWI530800B (en) 2014-05-20 2014-05-20 Server and method for inquiring deployment status of server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW103117652A TWI530800B (en) 2014-05-20 2014-05-20 Server and method for inquiring deployment status of server

Publications (2)

Publication Number Publication Date
TW201544962A TW201544962A (en) 2015-12-01
TWI530800B true TWI530800B (en) 2016-04-21

Family

ID=55407089

Family Applications (1)

Application Number Title Priority Date Filing Date
TW103117652A TWI530800B (en) 2014-05-20 2014-05-20 Server and method for inquiring deployment status of server

Country Status (1)

Country Link
TW (1) TWI530800B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110865819B (en) * 2016-10-31 2022-05-10 超聚变数字技术有限公司 OS installation method, server and system

Also Published As

Publication number Publication date
TW201544962A (en) 2015-12-01

Similar Documents

Publication Publication Date Title
CN106681751B (en) Unified firmware management system and management method and computer readable medium
CN106648958B (en) Basic input output system replys management system and its method and program product
US20210226846A1 (en) Systems and methods for operating system deployment and lifecycle management of a smart network interface card
US9507604B2 (en) Boot method and boot system
TW201729123A (en) Method and server for remote launching deployment utility
US20170031694A1 (en) System and method for remote system configuration managment
US9904561B2 (en) Computer system and method for setting BIOS
TWI590044B (en) Test system and test method thereof
US10606677B2 (en) Method of retrieving debugging data in UEFI and computer system thereof
JP2016157417A (en) Management facility of basic input/output system of network, method, and non-temporary computer-readable medium
TW201913369A (en) Server with dual firmware storage space and firmware upgrading method for server
US10067771B2 (en) Systems and methods for configuring bootable network target for boot in a single reboot
CN106547645B (en) Method for automatically restoring image file and server system
US20190026126A1 (en) System and Method for Operating System Initiated Firmware Update via UEFI Applications
CN109426527B (en) Computer system and method for sharing Bluetooth data between UEFI firmware and operating system
US8086834B2 (en) System and method for populating a dedicated system service repository for an information handling system
US11416233B1 (en) Software upgrade system and method for a baseboard management controller configured in an information handling system
TWI553490B (en) Method and system for remote system configuration management and non-transitory computer-readable storage medium
US11256519B2 (en) Using a single process to install a UEFI-supported OS or a non-UEFI supported OS on a hardware platform
TWI530800B (en) Server and method for inquiring deployment status of server
CN106484442B (en) Server system and method for updating startup mapping file
TWI668578B (en) Server rack system with function of automatic synchronization of bmc configuration parameters between different server and automatic synchronization method thereof
US11204704B1 (en) Updating multi-mode DIMM inventory data maintained by a baseboard management controller
CN109684134B (en) Method and server for rapidly deploying firmware settings among multiple devices
CN109254800B (en) Equipment information processing method, electronic equipment and server