TW201523277A - Server system and node detection method - Google Patents

Server system and node detection method Download PDF

Info

Publication number
TW201523277A
TW201523277A TW102144931A TW102144931A TW201523277A TW 201523277 A TW201523277 A TW 201523277A TW 102144931 A TW102144931 A TW 102144931A TW 102144931 A TW102144931 A TW 102144931A TW 201523277 A TW201523277 A TW 201523277A
Authority
TW
Taiwan
Prior art keywords
node
address table
record
tested
processing module
Prior art date
Application number
TW102144931A
Other languages
Chinese (zh)
Other versions
TWI501090B (en
Inventor
Ying-Chih Lu
Original Assignee
Inventec Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inventec Corp filed Critical Inventec Corp
Priority to TW102144931A priority Critical patent/TWI501090B/en
Publication of TW201523277A publication Critical patent/TW201523277A/en
Application granted granted Critical
Publication of TWI501090B publication Critical patent/TWI501090B/en

Links

Abstract

A node detection method adapted for a server system, the server system includes an admin node and at least one device under test. The step processes of the method are described below. The device transmits a request to the admin node. The admin node configures an IP address to the device according to the request, and establishes an address table. The admin node determines whether the device is a node according to the address table. If the determination is YES, the admin node transmits a WOL signal to the node. The node executes a PXE mode according to the WOL signal such that obtains the hardware information of the node. The admin node determines the applicable type of the node according to the hardware information of the node. Wherein, the applicable type of the node is at least one of the storage node, the compute node, and the service node.

Description

伺服器系統與節點偵測方法 Server system and node detection method

本發明有關於一種伺服器系統與節點偵測方法,且特別是有關於一種可判斷節點所適用的類型的伺服器系統與節點偵測方法。 The invention relates to a server system and a node detecting method, and in particular to a server system and a node detecting method for determining a type applicable to a node.

隨著科技的發展,透過網際網路能夠使得世界各地的電腦進行連結。一台電腦透過網路連線便能夠與另一台電腦進行資料的交換、存取等動作。在客戶端與伺服器系統架構上,客戶端與伺服器便是透過網路來進行溝通。 With the development of technology, computers around the world can be connected through the Internet. A computer can exchange data and access data with another computer through a network connection. On the client and server system architecture, the client and server communicate through the network.

一般來說,伺服器系統可配置有多個節點,且每一個節點同時運行多個虛擬機器(virtual machine,VM),藉以提供給每一使用者獨立的運作環境。並且,每個節點可視為各自獨立的計算機,亦即各節點具有記憶體、儲存空間、運算能力與網路連結功能。因此,各節點可以運行獨自的作業系統,且各節點之間也可以透過網路交換器(switch)進行溝通與資料傳輸。 In general, a server system can be configured with multiple nodes, and each node runs multiple virtual machines (VMs) at the same time, thereby providing each user with a separate operating environment. Moreover, each node can be regarded as a separate computer, that is, each node has a memory, a storage space, a computing capability, and a network connection function. Therefore, each node can run a separate operating system, and each node can also communicate and transmit data through a network switch.

在伺服器系統架構完畢後,必須對其內的節點完成部署,亦即安裝各節點所需的作業系統、軟體封裝資料與 韌體封裝資料,以使伺服器系統運作並提供服務給使用者使用。然而,當有一個待測裝置出現於伺服器系統時,由於使用者無法直接得知此待測裝置究竟是節點或是網路交換器,造成此待測裝置無法有效的被偵測與利用。 After the server system architecture is completed, the nodes in it must be deployed, that is, the operating system and software package information required for installing each node. Firmware package information to enable the server system to operate and provide services to the user. However, when a device to be tested appears in the server system, the user cannot directly know whether the device under test is a node or a network switch, and the device to be tested cannot be effectively detected and utilized.

有鑑於以上的問題,本揭露提出一種伺服器系統與節點偵測方法,其可自動地偵測伺服器系統中的所有節點並獲取這些節點的硬體資訊,並可對這些節點進行適用類型的判斷。 In view of the above problems, the present disclosure proposes a server system and node detection method, which can automatically detect all nodes in the server system and obtain hardware information of the nodes, and can apply the types to the nodes. Judge.

根據本揭露一實施例中的一種節點偵測方法,此節點偵測方法適用於伺服器系統(例如機櫃式之資料中心),其中伺服器系統包括管理節點與至少一待測裝置。所述之節點偵測方法的步驟流程如下所述。由待測裝置對管理節點發送請求。管理節點依據此請求而配置網際網路協定位址給待測裝置,並依據網際網路協定位址建立位址表。管理節點依據位址表判斷待測裝置是否為節點。若管理節點判斷出待測裝置為節點,則傳送網路喚醒訊號給節點。節點依據網路喚醒訊號執行預啟動執行環境模式,並據以取得節點的硬體資訊。管理節點依據節點的硬體資訊判斷節點的適用類型,其中節點的適用類型係為儲存節點、計算節點與服務節點至少其中之一。 According to a node detection method in an embodiment of the disclosure, the node detection method is applicable to a server system (for example, a cabinet type data center), wherein the server system includes a management node and at least one device to be tested. The flow of steps of the node detection method is as follows. The request is sent by the device under test to the management node. The management node configures the Internet Protocol address to the device under test according to the request, and establishes an address table according to the Internet Protocol address. The management node determines whether the device under test is a node according to the address table. If the management node determines that the device under test is a node, the network wake-up signal is transmitted to the node. The node performs a pre-boot execution environment mode according to the network wake-up signal, and obtains hardware information of the node accordingly. The management node determines the applicable type of the node according to the hardware information of the node, wherein the applicable type of the node is at least one of the storage node, the computing node and the service node.

在一實施例中,於管理節點依據位址表判斷待測 裝置是否為節點的步驟中,更包括以下所述之步驟流程。取得紀錄,此紀錄用以指示對管理節點發送請求的待測裝置的網際網路協定位址及硬體存取控制位址(MAC address)。判斷此紀錄是否存在於位址表中的第一位址表或第二位址表內。若判斷出此紀錄已存在於第一位址表或第二位址表,則接著判斷是否具有另一待測裝置的紀錄,並於判斷為是時,接續執行判斷另一紀錄是否存在於第一位址表或第二位址表的步驟,直至判斷出紀錄不存在於第一位址表或第二位址表。若判斷出紀錄不存在於第一位址表或第二位址表,則接著判斷此紀錄所對應的待測裝置是否為節點。若判斷出此紀錄所對應的待測裝置不為節點,則將紀錄更新至第一位址表,並接續執行判斷是否具有另一待測裝置的紀錄之後的步驟。若判斷出此紀錄所對應的待測裝置為節點,則將此紀錄更新至第二位址表,並接續執行傳送網路喚醒訊號給節點之後的步驟。 In an embodiment, the management node determines the test according to the address table. In the step of whether the device is a node, the step flow described below is further included. Obtain a record indicating the Internet Protocol address and the hardware access control address (MAC address) of the device under test that sends the request to the management node. It is judged whether the record exists in the first address table or the second address table in the address table. If it is determined that the record already exists in the first address table or the second address table, then it is determined whether there is another record of the device under test, and when the determination is yes, the subsequent execution determines whether another record exists in the first The step of the address table or the second address table until it is determined that the record does not exist in the first address table or the second address table. If it is determined that the record does not exist in the first address table or the second address table, then it is determined whether the device to be tested corresponding to the record is a node. If it is determined that the device to be tested corresponding to the record is not a node, the record is updated to the first address table, and the step subsequent to determining whether there is another record of the device to be tested is performed. If it is determined that the device to be tested corresponding to the record is a node, the record is updated to the second address table, and the step after transmitting the network wake-up signal to the node is continued.

承接上述之實施例,於判斷紀錄所對應的待測裝置是否為節點的步驟中,更包括以下所述之步驟流程。依據紀錄所對應的網際網路協定位址,對待測裝置發送詢問訊號。判斷待測裝置於預設時間內是否有回應詢問訊號。若判斷出待測裝置經過預設時間仍未回應詢問訊號,則待測裝置係為節點。若判斷出待測裝於預設時間內回應詢問訊號,則接著判斷所回應的回應訊號是否具有特殊字串。若判斷出回應訊號不具有特殊字串,則待測裝置係為節點。若判斷出回 應訊號具有特殊字串,則待測裝置係為網路交換器。 In the above-mentioned embodiment, in the step of determining whether the device to be tested corresponding to the record is a node, the step flow described below is further included. The inquiry signal is sent to the device under test according to the Internet Protocol address corresponding to the record. Determine whether the device under test has responded to the inquiry signal within a preset time. If it is determined that the device under test has not responded to the inquiry signal after a preset time, the device to be tested is a node. If it is determined that the to-be-tested device responds to the inquiry signal within the preset time, then it is determined whether the response signal that is responded has a special string. If it is determined that the response signal does not have a special string, the device under test is a node. If judged back The signal has a special string, and the device under test is a network switch.

在一實施例中,若管理節點判斷出待測裝置為節點,則管理節點更可透過控制訊號而選擇性地控制節點中的硬體的電源關機、強迫電源關機、燈號指示、系統重設啟動,其中此控制訊號用以指示節點中的硬體的識別碼。 In an embodiment, if the management node determines that the device to be tested is a node, the management node can selectively control the power shutdown, forced power shutdown, light indication, and system reset of the hardware in the node through the control signal. Startup, where the control signal is used to indicate the identification code of the hardware in the node.

在一實施例中,於節點依據網路喚醒訊號執行預啟動執行環境模式以取得節點的硬體資訊的步驟中,節點的硬體資訊係儲存於資料庫中。此資料庫通訊連接於待測裝置與管理節點之間,以儲存節點的硬體資訊與管理節點判斷出的節點的適用類型之結果,或提供節點的硬體資訊至管理節點。 In an embodiment, in the step of the node performing the pre-boot execution environment mode according to the network wake-up signal to obtain the hardware information of the node, the hardware information of the node is stored in the database. The database communication is connected between the device under test and the management node to store the hardware information of the node and the result of the applicable type of the node determined by the management node, or provide the hardware information of the node to the management node.

根據本揭露一實施例中的一種伺服器系統,此伺服器系統包括待測裝置與管理節點,其中管理節點通訊連接待測裝置。管理節點包括伺服器、處理模組、電源控制模組以及分析模組。伺服器依據由待測裝置所發送的請求而配置網際網路協定位址給待測裝置,並依據網際網路協定位址建立位址表。處理模組用以依據位址表判斷待測裝置是否為節點。電源控制模組用以於處理模組判斷出待測裝置為節點時傳送網路喚醒訊號給節點,據以使節點依據網路喚醒訊號執行預啟動執行環境模式並據以取得節點的硬體資訊。分析模組用以依據節點的硬體資訊判斷節點的適用類型,其中節點的適用類型係為儲存節點、計算節點與服務節點至少其中之 一。 According to a server system according to an embodiment of the present disclosure, the server system includes a device to be tested and a management node, wherein the management node communicates with the device to be tested. The management node includes a server, a processing module, a power control module, and an analysis module. The server configures the Internet Protocol address to the device under test according to the request sent by the device under test, and establishes an address table according to the Internet Protocol address. The processing module is configured to determine, according to the address table, whether the device to be tested is a node. The power control module is configured to transmit a network wake-up signal to the node when the processing module determines that the device to be tested is a node, so that the node performs a pre-boot execution environment mode according to the network wake-up signal and obtains hardware information of the node according to the network wake-up signal. . The analysis module is configured to determine the applicable type of the node according to the hardware information of the node, wherein the applicable type of the node is at least a storage node, a computing node and a service node. One.

在一實施例中,於處理模組依據位址表判斷待測裝置是否為節點時,更包括取得紀錄,此紀錄用以指示對管理節點發送請求的待測裝置的網際網路協定位址及硬體存取控制位址(MAC address)。接著,處理模組判斷紀錄是否存在於位址表中的第一位址表或第二位址表內。若處理模組判斷出紀錄已存在於第一位址表或第二位址表,則處理模組接著判斷是否具有另一待測裝置的紀錄,並於判斷為是時,處理模組接續執行判斷另一紀錄是否存在於第一位址表或第二位址表,直至判斷出紀錄不存在於第一位址表或第二位址表。若處理模組判斷出紀錄不存在於第一位址表或第二位址表,則處理模組接著判斷紀錄所對應的待測裝置是否為節點。若處理模組判斷出紀錄所對應的待測裝置不為節點,則將此紀錄更新至第一位址表。若處理模組判斷出紀錄所對應的待測裝置為節點,則將此紀錄更新至第二位址表。 In an embodiment, when the processing module determines, according to the address table, whether the device under test is a node, the method further includes obtaining a record, where the record is used to indicate an Internet Protocol address of the device to be tested that sends the request to the management node. Hardware access control address (MAC address). Next, the processing module determines whether the record exists in the first address table or the second address table in the address table. If the processing module determines that the record already exists in the first address table or the second address table, the processing module then determines whether there is another record of the device under test, and when the determination is yes, the processing module continues to execute. It is judged whether another record exists in the first address table or the second address table until it is determined that the record does not exist in the first address table or the second address table. If the processing module determines that the record does not exist in the first address table or the second address table, the processing module then determines whether the device to be tested corresponding to the record is a node. If the processing module determines that the device under test corresponding to the record is not a node, the record is updated to the first address table. If the processing module determines that the device to be tested corresponding to the record is a node, the record is updated to the second address table.

承接上述之實施例,當處理模組於判斷紀錄所對應的待測裝置是否為節點時,處理模組更依據紀錄所對應的網際網路協定位址來對待測裝置發送詢問訊號,並判斷待測裝置於預設時間內是否有回應詢問訊號。若處理模組判斷出待測裝置經過預設時間仍未回應詢問訊號,則待測裝置係為節點。若處理模組判斷出待測裝於預設時間內回應詢問訊號,則處理模組接著判斷所回應的回應訊號是否具有特殊字 串。若處理模組判斷出回應訊號不具有特殊字串,則待測裝置係為節點。若處理模組判斷出回應訊號具有特殊字串,則待測裝置係為網路交換器。 According to the above embodiment, when the processing module determines whether the device to be tested corresponding to the record is a node, the processing module sends an inquiry signal to the device to be tested according to the Internet Protocol address corresponding to the record, and determines that the device is to be tested. Whether the measuring device responds to the inquiry signal within the preset time. If the processing module determines that the device under test has not responded to the inquiry signal after a preset time, the device to be tested is a node. If the processing module determines that the device to be tested responds to the inquiry signal within the preset time, the processing module then determines whether the response signal that is responded has a special word. string. If the processing module determines that the response signal does not have a special string, the device under test is a node. If the processing module determines that the response signal has a special string, the device under test is a network switch.

在一實施例中,若處理模組判斷出待測裝置為節點,則處理模組更可透過控制訊號而選擇性地控制節點中的硬體的電源關機、強迫電源關機、燈號指示、系統重設啟動,其中控制訊號用以指示節點中的硬體的識別碼。 In an embodiment, if the processing module determines that the device to be tested is a node, the processing module can selectively control the power shutdown, forced power shutdown, light indication, and system of the hardware in the node through the control signal. The reset is initiated, wherein the control signal is used to indicate the identification code of the hardware in the node.

在一實施例中,伺服器系統更包括資料庫,此資料庫通訊連接於待測裝置與管理節點之間。此資料庫用以儲存節點的硬體資訊與分析模組所判斷出的節點的適用類型之結果,或提供節點的硬體資訊至分析模組。 In an embodiment, the server system further includes a database, and the database is communicatively coupled between the device under test and the management node. This database is used to store the result of the node's hardware information and the type of node determined by the analysis module, or to provide hardware information of the node to the analysis module.

綜合以上所述,本揭露提供一種伺服器系統與節點偵測方法,其透過建立位址表,使得管理節點可以依據位址表來判斷待測裝置是否為節點,並且於待測裝置被判斷為節點時,使待測裝置執行預啟動執行環境模式,以使管理節點可以依據所獲得的節點的硬體資訊判斷節點的適用類型。此外,於管理節點判斷待測裝置是否為節點時,更可以透過一種詢問回應機制來判斷所回應的訊號是否具有某個特殊字串,據以判斷出此待測裝置是節點或網路交換器。 In summary, the disclosure provides a server system and a node detection method, which establishes an address table, so that the management node can determine whether the device under test is a node according to the address table, and is determined by the device to be tested as At the time of the node, the device under test is configured to execute a pre-boot execution environment mode, so that the management node can determine the applicable type of the node according to the obtained hardware information of the node. In addition, when the management node determines whether the device under test is a node, it is further possible to determine whether the signal to be responded has a special string through a query response mechanism, and determine whether the device to be tested is a node or a network switch. .

以上之關於本揭露內容之說明及以下之實施方式之說明係用以示範與解釋本發明之精神與原理,並且提供本發明之專利申請範圍更進一步之解釋。 The above description of the disclosure and the following description of the embodiments of the present invention are intended to illustrate and explain the spirit and principles of the invention, and to provide further explanation of the scope of the invention.

1‧‧‧伺服器系統 1‧‧‧Server system

10‧‧‧管理節點 10‧‧‧Management node

100‧‧‧伺服器 100‧‧‧Server

102‧‧‧處理模組 102‧‧‧Processing module

104‧‧‧電源控制模組 104‧‧‧Power Control Module

106‧‧‧分析模組 106‧‧‧Analysis module

12‧‧‧待測裝置 12‧‧‧Device under test

14‧‧‧資料庫 14‧‧‧Database

S200~S212、S300~S312、S400~S408‧‧‧步驟流程 S200~S212, S300~S312, S400~S408‧‧‧Step process

第1圖係為根據本揭露一實施例之伺服器系統的功能方塊圖。 1 is a functional block diagram of a server system in accordance with an embodiment of the present disclosure.

第2圖係為根據本揭露一實施例之節點偵測方法的步驟流程圖。 2 is a flow chart showing the steps of a node detecting method according to an embodiment of the present disclosure.

第3圖係為根據第2圖之步驟S204的詳細步驟流程圖。 Fig. 3 is a flow chart showing the detailed steps of step S204 according to Fig. 2.

第4圖係為根據第3圖之步驟S308的詳細步驟流程圖。 Fig. 4 is a flow chart showing the detailed steps of step S308 according to Fig. 3.

以下在實施方式中詳細敘述本發明之詳細特徵以及優點,其內容足以使任何熟習相關技藝者了解本發明之技術內容並據以實施,且根據本說明書所揭露之內容、申請專利範圍及圖式,任何熟習相關技藝者可輕易地理解本發明相關之目的及優點。以下之實施例係進一步詳細說明本發明之觀點,但非以任何觀點限制本發明之範疇。 The detailed features and advantages of the present invention are set forth in the Detailed Description of the Detailed Description of the <RTIgt; </ RTI> <RTIgt; </ RTI> </ RTI> </ RTI> <RTIgt; The objects and advantages associated with the present invention can be readily understood by those skilled in the art. The following examples are intended to describe the present invention in further detail, but are not intended to limit the scope of the invention.

請參照第1圖,第1圖係為根據本揭露一實施例之伺服器系統的功能方塊圖。如第1圖所示,伺服器系統1主要包括管理節點10、待測裝置12以及資料庫14,其中管理節點10、待測裝置12與資料庫14互相通訊連接。此外,管理節點(admin node)10更包括有伺服器100、處理模組102、電 源控制模組104與分析模組106。於實務上,伺服器系統1可以為一種機櫃式之資料中心(container data center),但不以此為限。以下將分別就伺服器系統1中的各部功能模組作詳細的說明。 Please refer to FIG. 1. FIG. 1 is a functional block diagram of a server system according to an embodiment of the present disclosure. As shown in FIG. 1, the server system 1 mainly includes a management node 10, a device under test 12, and a database 14, wherein the management node 10, the device under test 12, and the database 14 are in communication with each other. In addition, the admin node 10 further includes a server 100, a processing module 102, and an electric The source control module 104 and the analysis module 106. In practice, the server system 1 can be a rack-type data center, but not limited thereto. The function modules of each part in the server system 1 will be described in detail below.

伺服器100用以依據由待測裝置12所發送的請求(request)而配置一個網際網路協定位址(internet protocol address,IP address)給待測裝置12,並依據此網際網路協定位址建立一個位址表。於實務上,伺服器100可以為一種動態主機設定協定伺服器(dynamic host configuration protocol server,DHCP server),此DHCP伺服器會自動的分配IP與相關的網路參數給用戶端,來提供用戶端自動以DHCP伺服器提供的參數來設定他們的網路。因此,待測裝置12發送給伺服器100的請求則會為DHCP request。此外,位址表可以為一種MAC/IP mapping table,此MAC/IP mapping table可以透過命令行介面工具(command line interface tool,CLI tool,亦稱命令行工具)而取得。 The server 100 is configured to configure an internet protocol address (IP address) to the device under test 12 according to a request sent by the device under test 12, and according to the internet protocol address. Create an address table. In practice, the server 100 can be a dynamic host configuration protocol server (DHCP server), and the DHCP server automatically allocates IP and related network parameters to the client to provide the client. Automatically set their network with the parameters provided by the DHCP server. Therefore, the request sent by the device under test 12 to the server 100 will be a DHCP request. In addition, the address table can be a MAC/IP mapping table, and the MAC/IP mapping table can be obtained through a command line interface tool (CLI tool, also called a command line tool).

處理模組102用以依據上述的位址表來判斷待測裝置12是否為一種節點。電源控制模組104用以於處理模組102判斷出待測裝置12為節點時傳送一個網路喚醒訊號給此節點(即待測裝置12),據以使此節點(即待測裝置12)可以依據網路喚醒訊號來執行開機自我檢測(power on self test,POST)模式與預啟動執行環境(preboot execution environment,PXE) 模式,並於執行預啟動執行環境模式時取得此節點的硬體資訊。於實務上,上述的網路喚醒訊號係透過網路喚醒(Wake-on-LAN,WOL,亦稱遠端喚醒)技術來實現,此網路喚醒技術可以讓已經進入休眠狀態或關機狀態的節點透過管理節點10的發令,使節點從休眠狀態喚醒、恢復成運作狀態或從關機狀態轉成開機狀態。 The processing module 102 is configured to determine whether the device under test 12 is a node according to the address table. The power control module 104 is configured to transmit a network wake-up signal to the node (ie, the device under test 12) when the processing module 102 determines that the device under test 12 is a node, so that the node (ie, the device under test 12) The power on self test (POST) mode and the preboot execution environment (PXE) can be performed according to the network wake-up signal. Mode, and obtain the hardware information of this node when executing the pre-boot execution environment mode. In practice, the above-mentioned network wake-up signal is implemented by Wake-on-LAN (WOL) technology, which can make the node that has entered the sleep state or the shutdown state. Through the command of the management node 10, the node wakes up from the sleep state, returns to the operational state, or transitions from the shutdown state to the power-on state.

值得注意的是,本發明中的屬於待測裝置12的節點需要將其基本輸入輸出系統(basic input output system,BIOS)之介面的啟動項的優先順序(Boot Option Priorities)的第一啟動項(Boot Option #1)預先設定為PXE模式。在實際的操作中,當處理模組102判斷出待測裝置12為節點時,則處理模組102更可以透過控制訊號來選擇性地控制節點中的硬體的電源關機、強迫電源關機、燈號指示、系統重設啟動,其中此控制訊號用以指示此節點中的硬體的識別碼。於實務上,控制訊號可以透過通用唯一識別碼(universally unique identifier,UUID)或全球惟一識別碼(globally unique identifier,GUID),本發明在此不加以限制。 It should be noted that the node belonging to the device under test 12 in the present invention needs the first startup item of the Boot Option Priorities of the interface of the basic input output system (BIOS). Boot Option #1) is preset to PXE mode. In the actual operation, when the processing module 102 determines that the device under test 12 is a node, the processing module 102 can selectively control the power shutdown, forced power shutdown, and light of the hardware in the node through the control signal. The number indication and system reset start, wherein the control signal is used to indicate the identification code of the hardware in the node. In practice, the control signal may be through a universally unique identifier (UUID) or a globally unique identifier (GUID), which is not limited herein.

在實際的操作中,此控制訊號係為包括有6bytes的形式移控字元(form feed character,FF)、6次重複的GUID(每一個GUID有16bytes)以及MAC address的特殊封包(packet payload)。藉此,屬於節點的待測裝置12中的網路介面控制器(network interface controller,NIC,亦稱網路卡)會監督此特 殊封包中的payload之GUID欄位,並執行對應之操作。舉例來說,若NIC判斷出GUID欄位係為「E4FB6490-1854-4176-959F-FAFCF3E50152」,則節點中的燈號會開啟;若NIC判斷出GUID欄位係為「8AB61CE6-01A4-450a-80E8-287416BC2835」,則節點中的燈號會關閉;若NIC判斷出GUID欄位係為「BA3C6C53-F302-4d2e-ACF7-427FF6754902」,則節點的電源會開啟或關閉;若NIC判斷出GUID欄位係為「A994BEEC-5F2D-4e14-AD18-1982C1D44561」,則節點會被強制電源關機;若NIC判斷出GUID欄位係為「1385BC34-BEAD-4bfa-BC29-84BF9345C880」,則節點會系統重設啟動(reset system),使得屬於節點的待測裝置12可以不需基板管理控制器(baseboard management controller,BMC)亦能正常作動。 In actual operation, the control signal is a form feed character (FF) including 6 bytes, a GUID of 6 repetitions (16 bytes per GUID), and a packet payload of the MAC address. . Thereby, the network interface controller (NIC, also known as the network card) in the device under test 12 belonging to the node supervises this special The GUID field of the payload in the special package, and perform the corresponding operation. For example, if the NIC determines that the GUID field is "E4FB6490-1854-4176-959F-FAFCF3E50152", the light in the node will be turned on; if the NIC determines that the GUID field is "8AB61CE6-01A4-450a- 80E8-287416BC2835", the signal in the node will be turned off; if the NIC determines that the GUID field is "BA3C6C53-F302-4d2e-ACF7-427FF6754902", the power of the node will be turned on or off; if the NIC determines the GUID column If the position is "A994BEEC-5F2D-4e14-AD18-1982C1D44561", the node will be forced to power off; if the NIC determines that the GUID field is "1385BC34-BEAD-4bfa-BC29-84BF9345C880", the node will be reset. The reset system 12 enables the device under test 12 belonging to the node to operate normally without a baseboard management controller (BMC).

分析模組106用以依據此節點的硬體資訊判斷此節點的適用類型,其中此節點的適用類型係為儲存節點(storage node)、計算節點(compute node)與服務節點(service node)至少其中之一,亦即此節點的適用類型亦可以為具有計算節點之功能與服務節點之功能的通用節點(generic node)。一般來說,儲存節點用以提供儲存空間給客戶端的使用者使用以及用以儲存虛擬機器(virtual machine,VM)之映像檔及組態檔,計算節點用以提供多個虛擬機器給客戶端的使用者使 用,服務節點用以提供服務給客戶端的使用者使用。 The analysis module 106 is configured to determine the applicable type of the node according to the hardware information of the node, where the applicable type of the node is at least a storage node, a compute node, and a service node. One, that is, the applicable type of this node may also be a generic node having the function of the computing node and the function of the service node. Generally, the storage node is used to provide storage space for the user of the client and to store the image file and configuration file of the virtual machine (VM), and the computing node is used to provide multiple virtual machines to the client. Make The service node is used to provide services to the user of the client.

資料庫(database)14用以儲存屬於節點的待測裝置12的硬體資訊與分析模組106所判斷出的此節點的適用類型之結果,或提供此節點的硬體資訊至分析模組106。於實務上,資料庫14可以為一種Berkeley資料庫,此Berkeley資料庫可以保存任意型別的鍵/值對(key/value pair),換句話說,Berkeley資料庫的資料儲存方式是以(key,value)為之。 The database 14 is configured to store the result of the applicable type of the node determined by the hardware information and analysis module 106 of the device 12 to be tested belonging to the node, or provide the hardware information of the node to the analysis module 106. . In practice, the database 14 can be a Berkeley database that can hold any type of key/value pair. In other words, the data storage method of the Berkeley database is (key). , value) for it.

值得注意的是,由於本發明實施例中的節點可以透過管理節點10來進行節點電源的開啟、關閉、強迫關閉、重新啟動或燈號控制以及判斷節點所適用的類型,且管理節點10可自動地偵測伺服器系統中的所有節點,故本發明實施例中的節點可以不需要有底板管理控制器(baseboard management controller,BMC),而能節省成本。於其中一實施例中,節點具有進階組態與電源介面(Advanced Configuration and Power Interface,ACPI)與網路介面控制器(network interface controller,NIC,亦稱網路卡),使得節點可以受控於管理節點10。 It is to be noted that, because the node in the embodiment of the present invention can perform the power on/off, forced shutdown, restart, or signal control of the node through the management node 10, and determine the type applicable to the node, and the management node 10 can automatically The nodes in the embodiment of the present invention can detect the baseboard management controller (BMC), which can save costs. In one embodiment, the node has an Advanced Configuration and Power Interface (ACPI) and a network interface controller (NIC, also known as a network card), so that the node can be controlled In the management node 10.

為了更加清楚說明本發明之伺服器系統1與節點偵測方法的實際運作方式,請一併參照第1圖與第2圖,第2圖係為根據本揭露一實施例之節點偵測方法的步驟流程圖。如第2圖所示,在步驟S200中,待測裝置12會對管理節點10發送請求。在步驟S202中,管理節點10會依據此請 求而配置網際網路協定位址給待測裝置12,並依據網際網路協定位址建立位址表。 In order to more clearly illustrate the actual operation mode of the server system 1 and the node detecting method of the present invention, please refer to FIG. 1 and FIG. 2 together. FIG. 2 is a node detecting method according to an embodiment of the present disclosure. Step flow chart. As shown in FIG. 2, in step S200, the device under test 12 transmits a request to the management node 10. In step S202, the management node 10 will be based on this request. The Internet Protocol address is configured to be sent to the device under test 12, and an address table is established according to the Internet Protocol address.

在步驟S204中,管理節點10會依據上述的位址表來判斷待測裝置12是否為節點。若管理節點10判斷出待測裝置12為節點,則執行步驟S208;若管理節點10判斷出待測裝置12不為節點的話,則代表此待測裝置12為一種網路交換器(switch)(即步驟S206),此網路交換器用以使網際網路中的各個節點進行溝通與資料傳輸。 In step S204, the management node 10 determines whether the device under test 12 is a node according to the address table described above. If the management node 10 determines that the device under test 12 is a node, step S208 is performed; if the management node 10 determines that the device under test 12 is not a node, the device under test 12 is a network switch ( That is, in step S206), the network switch is used to enable each node in the Internet to communicate and transmit data.

在步驟S208中,管理節點10會傳送網路喚醒訊號給判斷為節點的待測裝置12。接著,在步驟S210中,判斷為節點的待測裝置12會依據上述的網路喚醒訊號來執行預啟動執行環境模式,並據以取得此節點的硬體資訊。最後,在步驟S212中,管理節點10會依據此節點的硬體資訊來判斷此節點的適用類型。 In step S208, the management node 10 transmits a network wake-up signal to the device under test 12 determined to be a node. Next, in step S210, it is determined that the device under test 12 of the node performs the pre-boot execution environment mode according to the above-mentioned network wake-up signal, and obtains the hardware information of the node accordingly. Finally, in step S212, the management node 10 determines the applicable type of the node according to the hardware information of the node.

請參照第3圖,第3圖係為根據第2圖之步驟S204的詳細步驟流程圖。如第3圖所示,於管理節點10依據位址表判斷待測裝置12是否為節點的步驟(即步驟S204)中,更可以包括有以下所述之詳細步驟流程。在步驟S300中,管理節點10會先取得一個紀錄。其中,此紀錄用以指示對管理節點10發送請求的待測裝置12的網際網路協定位址及硬體存取控制位址(MAC address)。 Please refer to FIG. 3, which is a flow chart of detailed steps according to step S204 of FIG. 2. As shown in FIG. 3, in the step of determining whether the device under test 12 is a node according to the address table according to the address table (ie, step S204), the detailed step flow described below may be further included. In step S300, the management node 10 first obtains a record. The record is used to indicate the Internet Protocol address and the MAC address of the device under test 12 that sends the request to the management node 10.

在步驟S302中,管理節點10會判斷此紀錄是否 存在於位址表中的第一位址表或第二位址表內。若管理節點10判斷出此紀錄已存在於位址表中的第一位址表或第二位址表,則執行步驟S304;若管理節點10判斷出此紀錄皆不存在於位址表中的第一位址表或第二位址表,則執行步驟S308。 In step S302, the management node 10 determines whether the record is It exists in the first address table or the second address table in the address table. If the management node 10 determines that the record already exists in the first address table or the second address table in the address table, step S304 is performed; if the management node 10 determines that the record does not exist in the address table. The first address table or the second address table is executed in step S308.

在步驟S304中,管理節點10會判斷是否具有另一個待測裝置的另一個紀錄。若管理節點10判斷出具有另一個紀錄,則重新執行步驟S302,直至管理節點10判斷出紀錄不存在於第一位址表或第二位址表為止。若管理節點10判斷出不再具有新的紀錄,則執行步驟S306的休眠一段預設時間,直至管理節點10又再重新建立另一個位址表為止,並且於管理節點10建立另一個位址表時重新執行步驟S300。 In step S304, the management node 10 determines whether there is another record of another device under test. If the management node 10 determines that there is another record, step S302 is re-executed until the management node 10 determines that the record does not exist in the first address table or the second address table. If the management node 10 determines that there is no more new record, the sleep of step S306 is performed for a preset time until the management node 10 re-establishes another address table, and another address table is established at the management node 10. When step S300 is re-executed.

在步驟S308中,管理節點10會判斷此紀錄所對應的待測裝置12是否為節點。若管理節點10判斷出此紀錄所對應的待測裝置12不為節點(即待測裝置12被判斷為網路交換器),則執行步驟S310;若管理節點10判斷出此紀錄所對應的待測裝置12為節點,則執行步驟S312。在步驟S310中,由於管理節點10已判斷出待測裝置12係為網路交換器,則管理節點10會將對應於此網路交換器的紀錄更新至第一位址表中,並且接續步驟S304。在步驟S312中,由於管理節點10已判斷出待測裝置12係為節點,則管理節點10會將對應於此節點的紀錄更新至第二位址表中,並且同時接續步驟S208及S304。 In step S308, the management node 10 determines whether the device under test 12 corresponding to the record is a node. If the management node 10 determines that the device under test 12 corresponding to the record is not a node (ie, the device under test 12 is determined to be a network switch), step S310 is performed; if the management node 10 determines that the record corresponds to the If the measuring device 12 is a node, step S312 is performed. In step S310, since the management node 10 has determined that the device under test 12 is a network switch, the management node 10 updates the record corresponding to the network switch to the first address table, and the subsequent steps S304. In step S312, since the management node 10 has judged that the device under test 12 is a node, the management node 10 updates the record corresponding to the node to the second address table, and simultaneously proceeds to steps S208 and S304.

於實務上,第一位址表為一種用以儲存網路交換器的紀錄的位置表,而第二位址表則為一種用以儲存節點的紀錄的位置表,亦即第一位址表係為網路交換器位址表,第二位址表係為節點位址表,且第一位址表與第二位址表將會隨著待測裝置12數量增加而進行更新。 In practice, the first address table is a location table for storing records of the network switch, and the second address table is a location table for storing the records of the nodes, that is, the first address table. It is a network switch address table, and the second address table is a node address table, and the first address table and the second address table are updated as the number of devices 12 under test increases.

請參照第4圖,第4圖係為根據第3圖之步驟S308的詳細步驟流程圖。如第4圖所示,於管理節點10判斷紀錄所對應的待測裝置是否為節點的步驟(即步驟S308)中,更可以包括有以下所述之詳細步驟流程。在步驟S400中,管理節點10會依據此紀錄所對應的網際網路協定位址,對待測裝置12發送一個詢問訊號。於實務上,此詢問訊號可以為一種簡單網路管理協定指令(simple network management protocol command,SNMP command),此種簡單網路管理協定指令可以被網路交換器所辨識,亦即網路交換器可支援此種簡單網路管理協定指令。 Please refer to FIG. 4, which is a flow chart of detailed steps according to step S308 of FIG. As shown in FIG. 4, in the step of determining whether the device to be tested corresponding to the record is a node (ie, step S308), the detailed step flow described below may be further included. In step S400, the management node 10 sends an inquiry signal to the device 12 to be tested according to the Internet Protocol address corresponding to the record. In practice, the query signal can be a simple network management protocol command (SNMP command), and the simple network management protocol command can be recognized by the network switch, that is, the network switch. This simple network management protocol directive can be supported.

在步驟S402中,管理節點10會判斷待測裝置12於一段預設時間內是否有回應此詢問訊號。若管理節點10判斷出待測裝置12未於此段預設時間中回應此詢問訊號,則表示待測裝置12係為一種節點(即步驟S404);若管理節點10判斷出待測裝置12於此段預設時間中已回應了此詢問訊號,則執行步驟S406。 In step S402, the management node 10 determines whether the device under test 12 has responded to the inquiry signal for a predetermined period of time. If the management node 10 determines that the device under test 12 does not respond to the inquiry signal in the preset time period, it indicates that the device under test 12 is a kind of node (ie, step S404); if the management node 10 determines that the device under test 12 is If the inquiry signal has been answered in the preset time period, step S406 is performed.

在步驟S406中,管理節點10會判斷所回應的回 應訊號是否具有某個特殊字串。若管理節點10判斷出此回應訊號不具有某個特殊字串,則表示待測裝置12係為一種節點(即步驟S404);若管理節點10判斷出此回應訊號中具有某個特殊字串,則表示待測裝置12係為一種網路交換器(即步驟S408)。於實務上,回應訊號可以為一種具有「switch」字串之系統描述(system description),而「switch」字串即為此特殊字串,但不以此為限。 In step S406, the management node 10 determines the response back. Whether the signal should have a special string. If the management node 10 determines that the response signal does not have a special string, it indicates that the device under test 12 is a kind of node (ie, step S404); if the management node 10 determines that the response signal has a special string, It means that the device under test 12 is a network switch (ie, step S408). In practice, the response signal can be a system description with a "switch" string, and the "switch" string is a special string, but not limited to this.

綜合以上所述,本發明實施例提供一種伺服器系統與節點偵測方法,其透過建立位址表,使得管理節點可以依據位址表來判斷待測裝置是否為節點,並且於待測裝置被判斷為節點時,使待測裝置執行預啟動執行環境模式,以使管理節點可以依據所獲得的節點的硬體資訊判斷節點的適用類型。此外,於管理節點判斷待測裝置是否為節點時,更可以透過一種詢問回應機制來判斷所回應的訊號是否具有某個特殊字串,據以判斷出此待測裝置是節點或網路交換器。藉此,本發明之伺服器系統與節點偵測方法可自動地偵測伺服器系統中的所有節點,並透過控制這些節點的電源開啟來獲得這些節點的硬體資訊,進而可以依據這些硬體資訊來判斷這些節點的適用類型,且能使節點不需要設置有底板管理控制器,而能節省成本,十分具有實用性。 In summary, the embodiment of the present invention provides a server system and a node detection method, which establishes an address table, so that the management node can determine whether the device under test is a node according to the address table, and is When it is determined as a node, the device under test is configured to execute a pre-boot execution environment mode, so that the management node can determine the applicable type of the node according to the obtained hardware information of the node. In addition, when the management node determines whether the device under test is a node, it is further possible to determine whether the signal to be responded has a special string through a query response mechanism, and determine whether the device to be tested is a node or a network switch. . Thereby, the server system and the node detection method of the present invention can automatically detect all the nodes in the server system, and obtain the hardware information of the nodes by controlling the power on of the nodes, and then according to the hardware. The information is used to judge the applicable types of these nodes, and the node does not need to be provided with a backplane management controller, which can save cost and is very practical.

雖然本發明以上述之實施例揭露如上,然其並非用以限定本發明。在不脫離本發明之精神和範圍內,所為之 更動與潤飾,均屬本發明之專利保護範圍。關於本發明所界定之保護範圍請參考所附之申請專利範圍。 Although the present invention has been disclosed above in the above embodiments, it is not intended to limit the invention. Without departing from the spirit and scope of the invention Both the movement and the retouching are within the scope of patent protection of the present invention. Please refer to the attached patent application for the scope of protection defined by the present invention.

Claims (10)

一種節點偵測方法,適用於一伺服器系統,該伺服器系統包括一管理節點與至少一待測裝置,該節點偵測方法包括:由該待測裝置對該管理節點發送一請求;該管理節點依據該請求而配置一網際網路協定位址給該待測裝置,並依據該網際網路協定位址建立一位址表;該管理節點依據該位址表判斷該待測裝置是否為一節點;若該管理節點判斷出該待測裝置為該節點,則傳送一網路喚醒訊號給該節點;該節點依據該網路喚醒訊號執行一預啟動執行環境模式,並據以取得該節點的硬體資訊;以及該管理節點依據該節點的硬體資訊判斷該節點的適用類型,其中該節點的適用類型係為儲存節點、計算節點與服務節點至少其中之一。 A node detection method is applicable to a server system, the server system includes a management node and at least one device to be tested, and the node detection method includes: sending, by the device under test, a request to the management node; the management The node configures an internet protocol address to the device under test according to the request, and establishes an address table according to the internet protocol address; the management node determines, according to the address table, whether the device to be tested is one a node; if the management node determines that the device to be tested is the node, transmitting a network wake-up signal to the node; the node performs a pre-launch execution environment mode according to the network wake-up signal, and obtains the node according to the The hardware information is determined by the management node according to the hardware information of the node, wherein the applicable type of the node is at least one of a storage node, a computing node, and a service node. 如請求項1所述之節點偵測方法,其中於該管理節點依據該位址表判斷該待測裝置是否為該節點的步驟中,更包括:取得一紀錄,該紀錄用以指示對該管理節點發送該請求的該待測裝置的該網際網路協定位址; 判斷該紀錄是否存在於該位址表中的一第一位址表或一第二位址表內;若判斷出該紀錄已存在於該第一位址表或該第二位址表,則接著判斷是否具有另一該待測裝置的另一該紀錄,並於判斷為是時,接續執行判斷另一該紀錄是否存在於該第一位址表或該第二位址表的步驟,直至判斷出該紀錄不存在於該第一位址表或該第二位址表;若判斷出該紀錄不存在於該第一位址表或該第二位址表,則接著判斷該紀錄所對應的該待測裝置是否為該節點;若判斷出該紀錄所對應的該待測裝置不為該節點,則將該紀錄更新至該第一位址表,並接續執行判斷是否具有另一該待測裝置的另一該紀錄之後的步驟;以及若判斷出該紀錄所對應的該待測裝置為該節點,則將該紀錄更新至該第二位址表,並接續執行傳送該網路喚醒訊號給該節點之後的步驟。 The method for detecting a node according to claim 1, wherein the step of determining, by the management node, whether the device to be tested is the node according to the address table further comprises: obtaining a record, the record is used to indicate the management The internet protocol address of the device under test to which the node sends the request; Determining whether the record exists in a first address table or a second address table in the address table; if it is determined that the record already exists in the first address table or the second address table, Then, it is determined whether there is another record of the other device to be tested, and when the determination is yes, the step of determining whether another record exists in the first address table or the second address table is continued; Determining that the record does not exist in the first address table or the second address table; if it is determined that the record does not exist in the first address table or the second address table, then determining that the record corresponds to Whether the device to be tested is the node; if it is determined that the device to be tested corresponding to the record is not the node, the record is updated to the first address table, and the subsequent execution is performed to determine whether there is another Another step after the recording of the device; and if it is determined that the device to be tested corresponding to the record is the node, updating the record to the second address table, and subsequently performing the transmission of the network wake-up signal Give the step after the node. 如請求項2所述之節點偵測方法,其中於判斷該紀錄所對應的該待測裝置是否為該節點的步驟中,更包括:依據該紀錄所對應的該網際網路協定位址,對該待測裝置發送一詢問訊號;判斷該待測裝置於一預設時間內是否有回應該詢問訊號; 若判斷出該待測裝置經過該預設時間仍未回應該詢問訊號,則該待測裝置係為該節點;若判斷出該待測裝於該預設時間內回應該詢問訊號,則接著判斷所回應的一回應訊號是否具有一特殊字串;若判斷出該回應訊號不具有該特殊字串,則該待測裝置係為該節點;以及若判斷出該回應訊號具有該特殊字串,則該待測裝置係為一網路交換器。 The method for detecting a node according to claim 2, wherein the step of determining whether the device to be tested corresponding to the record is the node further comprises: according to the internet protocol address corresponding to the record, The device under test sends an inquiry signal; and determines whether the device to be tested has a response signal within a preset time; If it is determined that the device under test has not returned the inquiry signal after the preset time, the device to be tested is the node; if it is determined that the device to be tested should be queried within the preset time, then the signal is determined, and then it is determined Whether the response signal of the response has a special string; if it is determined that the response signal does not have the special string, the device to be tested is the node; and if it is determined that the response signal has the special string, then The device under test is a network switch. 如請求項1所述之節點偵測方法,其中若該管理節點判斷出該待測裝置為該節點,則該管理節點更可透過一控制訊號選擇性地控制該節點中的硬體的電源關機、強迫電源關機、燈號指示、系統重設啟動,其中該控制訊號用以指示該節點中的硬體的識別碼。 The node detection method of claim 1, wherein if the management node determines that the device to be tested is the node, the management node can selectively control the power shutdown of the hardware in the node through a control signal. The forced power off, the light indication, and the system reset start, wherein the control signal is used to indicate the identification code of the hardware in the node. 如請求項1所述之節點偵測方法,其中於該節點依據該網路喚醒訊號執行該預啟動執行環境模式以取得該節點的硬體資訊的步驟中,該節點的硬體資訊係儲存於一資料庫中,該資料庫通訊連接於該待測裝置與該管理節點之間,以儲存該節點的硬體資訊與該管理節點判斷出的該節點的適用類型之結果,或提供該節點的硬體資訊至該管理節點。 The node detecting method according to claim 1, wherein in the step of the node executing the pre-boot execution environment mode according to the network wake-up signal to obtain the hardware information of the node, the hardware information of the node is stored in the In a database, the database is connected between the device under test and the management node to store the hardware information of the node and the result of the applicable type of the node determined by the management node, or provide the node Hardware information to the management node. 一種伺服器系統,包括: 一待測裝置;以及一管理節點,通訊連接該待測裝置,該管理節點包括:一伺服器,依據由該待測裝置所發送的一請求而配置一網際網路協定位址給該待測裝置,並依據該網際網路協定位址建立一位址表;一處理模組,用以依據該位址表判斷該待測裝置是否為一節點;一電源控制模組,用以於該處理模組判斷出該待測裝置為該節點時傳送一網路喚醒訊號給該節點,據以使該節點依據該網路喚醒訊號執行一預啟動執行環境模式並據以取得該節點的硬體資訊;以及一分析模組,用以依據該節點的硬體資訊判斷該節點的適用類型,其中該節點的適用類型係為儲存節點、計算節點與服務節點至少其中之一。 A server system comprising: a device to be tested; and a management node, the communication device is connected to the device under test, the management node includes: a server, configured to configure an internet protocol address to be tested according to a request sent by the device under test a device, and establishing an address table according to the Internet Protocol address; a processing module for determining whether the device to be tested is a node according to the address table; and a power control module for processing The module determines that the device to be tested is a node and transmits a network wake-up signal to the node, so that the node performs a pre-launch execution environment mode according to the network wake-up signal and obtains hardware information of the node according to the network wake-up signal. And an analysis module, configured to determine a suitable type of the node according to the hardware information of the node, wherein the applicable type of the node is at least one of a storage node, a computing node, and a service node. 如請求項6所述之伺服器系統,其中於該處理模組依據該位址表判斷該待測裝置是否為該節點時,更包括先取得一紀錄,該紀錄用以指示對該管理節點發送該請求的該待測裝置的該網際網路協定位址,接著該處理模組判斷該紀錄是否存在於該位址表中的一第一位址表或一第二位址表內,若該處理模組判斷出該紀錄已存在於該第一位址表或該第二位址表,則該處理模組接著判斷是否具有另一該待測裝置的另一該紀錄,並於判斷為是時,該處理模組接續 執行判斷另一該紀錄是否存在於該第一位址表或該第二位址表,直至判斷出該紀錄不存在於該第一位址表或該第二位址表,若該處理模組判斷出該紀錄不存在於該第一位址表或該第二位址表,則該處理模組接著判斷該紀錄所對應的該待測裝置是否為該節點,若該處理模組判斷出該紀錄所對應的該待測裝置不為該節點,則將該紀錄更新至該第一位址表,若該處理模組判斷出該紀錄所對應的該待測裝置為該節點,則將該紀錄更新至該第二位址表。 The server system of claim 6, wherein the processing module determines whether the device to be tested is the node according to the address table, and further includes obtaining a record for indicating to send to the management node. The requested internet protocol address of the device under test, and then the processing module determines whether the record exists in a first address table or a second address table in the address table, if The processing module determines that the record already exists in the first address table or the second address table, and the processing module then determines whether there is another record of the other device to be tested, and determines that it is When the processing module is connected Performing to determine whether another record exists in the first address table or the second address table until it is determined that the record does not exist in the first address table or the second address table, if the processing module Determining whether the record does not exist in the first address table or the second address table, the processing module then determines whether the device to be tested corresponding to the record is the node, and if the processing module determines the If the device to be tested corresponding to the record is not the node, the record is updated to the first address table, and if the processing module determines that the device to be tested corresponding to the record is the node, the record is recorded. Update to the second address table. 如請求項7所述之伺服器系統,其中該處理模組於判斷該紀錄所對應的該待測裝置是否為該節點時,該處理模組更依據該紀錄所對應的該網際網路協定位址來對該待測裝置發送一詢問訊號,並判斷該待測裝置於一預設時間內是否有回應該詢問訊號,若該處理模組判斷出該待測裝置經過該預設時間仍未回應該詢問訊號,則該待測裝置係為該節點,若該處理模組判斷出該待測裝於該預設時間內回應該詢問訊號,則該處理模組接著判斷所回應的一回應訊號是否具有一特殊字串,若該處理模組判斷出該回應訊號不具有該特殊字串,則該待測裝置係為該節點,若該處理模組判斷出該回應訊號具有該特殊字串,則該待測裝置係為一網路交換器。 The server system of claim 7, wherein the processing module determines whether the device to be tested corresponding to the record is the node, and the processing module further determines the internet protocol bit corresponding to the record. Sending an inquiry signal to the device to be tested, and determining whether the device under test has a response signal for a predetermined time, if the processing module determines that the device to be tested has not returned after the preset time If the signal is to be queried, the device to be tested is the node. If the processing module determines that the device to be tested is back to the inquiry signal within the preset time, the processing module then determines whether the response signal is responsive. Having a special string, if the processing module determines that the response signal does not have the special string, the device to be tested is the node, and if the processing module determines that the response signal has the special string, The device under test is a network switch. 如請求項6所述之伺服器系統,其中若該處理模組判斷出該待測裝置為該節點,則該處理模組更可透過一控制訊號 選擇性地控制該節點中的硬體的電源關機、強迫電源關機、燈號指示、系統重設啟動,其中該控制訊號用以指示該節點中的硬體的識別碼。 The server system of claim 6, wherein the processing module is further capable of transmitting a control signal if the processing module determines that the device to be tested is the node The power supply shutdown, forced power shutdown, light indication, and system reset startup of the hardware in the node are selectively controlled, wherein the control signal is used to indicate the identification code of the hardware in the node. 如請求項6所述之伺服器系統,其中該伺服器系統更包括一資料庫,該資料庫通訊連接於該待測裝置與該管理節點之間,該資料庫用以儲存該節點的硬體資訊與該分析模組所判斷出的該節點的適用類型之結果,或提供該節點的硬體資訊至該分析模組。 The server system of claim 6, wherein the server system further comprises a database, the database is communicatively connected between the device under test and the management node, and the database is used to store the hardware of the node. The information and the result of the applicable type of the node determined by the analysis module, or the hardware information of the node is provided to the analysis module.
TW102144931A 2013-12-06 2013-12-06 Server system and node detection method TWI501090B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW102144931A TWI501090B (en) 2013-12-06 2013-12-06 Server system and node detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW102144931A TWI501090B (en) 2013-12-06 2013-12-06 Server system and node detection method

Publications (2)

Publication Number Publication Date
TW201523277A true TW201523277A (en) 2015-06-16
TWI501090B TWI501090B (en) 2015-09-21

Family

ID=53935645

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102144931A TWI501090B (en) 2013-12-06 2013-12-06 Server system and node detection method

Country Status (1)

Country Link
TW (1) TWI501090B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI757923B (en) * 2020-10-21 2022-03-11 英業達股份有限公司 Pre-boot execution environment determination system and method thereof
TWI764454B (en) * 2020-01-27 2022-05-11 美商惠普發展公司有限責任合夥企業 Firmware corruption recovery

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI554950B (en) * 2015-12-17 2016-10-21 英業達股份有限公司 R/w method and r/w system for field replaceable unit
TWI638553B (en) * 2017-01-25 2018-10-11 神雲科技股份有限公司 Method for detecting internet protocol address and media access control address

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7627694B2 (en) * 2000-03-16 2009-12-01 Silicon Graphics, Inc. Maintaining process group membership for node clusters in high availability computing systems
TW201324354A (en) * 2011-12-12 2013-06-16 Wistron Corp Method for automatic consecutive installing operating systems
TWI554876B (en) * 2011-12-21 2016-10-21 英業達股份有限公司 Method for processing node replacement and server system using the same

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI764454B (en) * 2020-01-27 2022-05-11 美商惠普發展公司有限責任合夥企業 Firmware corruption recovery
TWI757923B (en) * 2020-10-21 2022-03-11 英業達股份有限公司 Pre-boot execution environment determination system and method thereof

Also Published As

Publication number Publication date
TWI501090B (en) 2015-09-21

Similar Documents

Publication Publication Date Title
TWI684859B (en) Method for remote system recovery
EP3255527B1 (en) Remote keyboard-video-mouse technologies
TWI610167B (en) Computing device-implemented method and non-transitory medium holding computer-executable instructions for improved platform management, and computing device configured to provide enhanced management information
EP2472402B1 (en) Remote management systems and methods for mapping operating system and management controller located in a server
TWI526824B (en) Method and system for managing network interface card information
US8719390B2 (en) Server management apparatus and server management method
US20100180110A1 (en) System and method for configuring option rom
EP3319283B1 (en) Server data port learning at data switch
US9703937B2 (en) Method to prevent operating system digital product key activation failures
US9712382B2 (en) Retrieving console messages after device failure
TWI501090B (en) Server system and node detection method
TWI638553B (en) Method for detecting internet protocol address and media access control address
TW201351132A (en) System and method of monitoring fan
US9319313B2 (en) System and method of forwarding IPMI message packets based on logical unit number (LUN)
US20110029650A1 (en) Method and system for host independent platform diagnostics
TWI553490B (en) Method and system for remote system configuration management and non-transitory computer-readable storage medium
WO2016041453A1 (en) Remote resource access method and exchange device
JP2009193358A (en) Information processor
CN104660455B (en) Server system and nodal test method
TW201314576A (en) Method for accessing pre-boot information
TWI518519B (en) Server system and node replacement method
TW201440478A (en) System and method for distributing IP address automatically
CN110471677B (en) Server cabinet system and automatic synchronization method thereof
CN111245681A (en) Method for obtaining interconnection information of server ports
TW201527996A (en) System for configuring testing environment of cluster server