TWI715479B - Method for address allocating with accessing and server system - Google Patents
Method for address allocating with accessing and server system Download PDFInfo
- Publication number
- TWI715479B TWI715479B TW109110948A TW109110948A TWI715479B TW I715479 B TWI715479 B TW I715479B TW 109110948 A TW109110948 A TW 109110948A TW 109110948 A TW109110948 A TW 109110948A TW I715479 B TWI715479 B TW I715479B
- Authority
- TW
- Taiwan
- Prior art keywords
- address
- server
- baseboard management
- management controller
- media access
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 27
- 238000004891 communication Methods 0.000 claims description 58
- 230000005540 biological transmission Effects 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 238000012546 transfer Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 2
- 239000000758 substrate Substances 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Landscapes
- Small-Scale Networks (AREA)
Abstract
Description
本發明是有關於一種電子數位資料處理的系統及方法,特別是指一種可達到更快的進行網路互連或傳送請求之處理的伺服系統管理裝置及伺服器位址配置存取方法。The present invention relates to a system and method for electronic digital data processing, in particular to a server system management device and server address configuration access method that can achieve faster network interconnection or transmission request processing.
在現行的伺服器機櫃中,每一個伺服器的基板管理控制器(BMC: Baseboard Management Controller,以下簡稱BMC)是監控及管理該伺服器整體狀態的重要元件,若系統管理人員欲藉由一遠端裝置連線到伺服器機櫃中其中一伺服器的BMC以進行監控及管理前,須先得知該伺服器的BMC的網際協定位址(IP address: Internet Protocol Address),之後才可依據該BMC的網際協定位址對其進行遠端監控及管理,若系統管理人員欲藉由遠端裝置直接對本地端伺服器進行網路通訊,則須先得知該本地端伺服器本身所對應的網際協定位址,才可依據該本地端伺服器本身所對應的網際協定位址與本地端伺服器直接進行網路通訊。In the current server cabinet, the baseboard management controller (BMC: Baseboard Management Controller, hereinafter referred to as BMC) of each server is an important component to monitor and manage the overall status of the server. If the system administrator wants to use a remote Before the end device connects to the BMC of one of the servers in the server cabinet for monitoring and management, it must first know the Internet Protocol Address (IP address: Internet Protocol Address) of the server’s BMC. BMC's Internet Protocol address is used to remotely monitor and manage it. If the system administrator wants to directly communicate with the local server through the remote device, he must first know the corresponding local server Only the Internet Protocol address can directly communicate with the local server based on the Internet Protocol address corresponding to the local server itself.
而現有技術中,本地端伺服器取得自身對應的網際協定位址的做法是,在本地端伺服器第一次上電後,須待本地端伺服器的處理器執行基本輸入輸出程式,以完成開機自我檢測的開機程序並成功的切換載入執行作業系統程式後,該本地端伺服器才能藉由執行該作業系統程式以與執行動態主機設定協定的伺服器進行溝通,並自執行該動態主機設定協定的本地端伺服器取得該本地端伺服器自身的網際協定位址,而遠端系統管理員若要取得該本地端伺服器的網際協定位址,則需要由系統管理員親臨所要管理的該伺服器,直接以人工的方式操作該本地端伺服器開機並進入其作業系統(OS: Operating System)再以人工操作取得並人工記錄該本地端伺服器的網際協定位址。In the prior art, the local server obtains its own corresponding Internet protocol address. After the local server is powered on for the first time, it must wait for the local server's processor to execute the basic input and output program to complete After booting the self-checking boot process and successfully switching and loading the operating system program, the local server can communicate with the server executing the dynamic host configuration protocol by executing the operating system program, and execute the dynamic host automatically The local server that sets the protocol obtains the local server’s own Internet protocol address, and if the remote system administrator wants to obtain the local server’s Internet protocol address, the system administrator needs to visit the managed server in person The server directly manually operates the local server to boot and enters its operating system (OS: Operating System), and then manually obtains and manually records the Internet protocol address of the local server.
然而,逐一等待本地端伺服器上電並完成開機程序以載入並切換執行作業系統,本地端伺服器才能去得自身的網際協定位址非常耗時,且逐一的以人工操作來索取並記錄每一本地端伺服器的網際協定位址的缺點就是當伺服器機櫃的本地端伺服器數量增加時(實務上為上百台至上千台),將須耗費大量人力及時間進行手動配置管理。However, waiting for the local server to power on and complete the boot process to load and switch the operating system, so that the local server can get its own Internet Protocol address is very time-consuming, and one by one manual operation to obtain and record The disadvantage of the Internet Protocol address of each local server is that when the number of local servers in the server cabinet increases (from hundreds to thousands in practice), it will take a lot of manpower and time to manually configure and manage.
因此,本發明的一目的,在於提供一種可改善先前技術至少一個缺點的位址存取方法。Therefore, an object of the present invention is to provide an address access method that can improve at least one shortcoming of the prior art.
此外,本發明的另一目的,則是提供一種可改善先前技術至少一個缺點的伺服系統。In addition, another object of the present invention is to provide a servo system that can improve at least one of the disadvantages of the prior art.
於是,本發明位址配置存取方法由一伺服系統執行,該伺服系統包含多個本地端伺服器,及一位址分配伺服器,該等本地端伺服器各自包括一基板管理控制器,該位址分配伺服器與該等基板管理控制器通訊連接,用以根據媒體存取位址分配網際協定位址,該位址配置存取方法包含一步驟(A)、一步驟(B)、一步驟(C),及一步驟(D)。Therefore, the address configuration access method of the present invention is executed by a server system. The server system includes a plurality of local servers and an address allocation server. The local servers each include a baseboard management controller. The address allocation server communicates with the baseboard management controllers to allocate Internet protocol addresses according to the media access address. The address allocation access method includes one step (A), one step (B), one Step (C), and Step (D).
該步驟(A)為該等本地端伺服器其中之一的基板管理控制器自該本地端伺服器取得一第一媒體存取位址。In step (A), the baseboard management controller of one of the local servers obtains a first media access address from the local server.
該步驟(B)為該基板管理控制器根據所取得的該第一媒體存取位址自該位址分配伺服器取得一對應的第一網際協定位址,該基板管理控制器將該第一網際協定位址儲存為對應於自身及該本地端伺服器其中一者的網際協定位址。The step (B) is that the baseboard management controller obtains a corresponding first Internet protocol address from the address allocation server according to the obtained first media access address, and the baseboard management controller obtains the first Internet protocol address The internet protocol address is stored as an internet protocol address corresponding to one of itself and the local server.
該步驟(C)為該基板管理控制器根據該第一媒體存取位址產生並儲存一第二媒體存取位址。In step (C), the baseboard management controller generates and stores a second medium access address according to the first medium access address.
該步驟(D)為該基板管理控制器根據該第二媒體存取位址自該位址分配伺服器取得一第二網際協定位址,該基板管理控制器將該第二網際協定位址設定儲存為對應於自身及該本地端伺服器的其中另一者的網際協定位址。In step (D), the baseboard management controller obtains a second internet protocol address from the address allocation server according to the second media access address, and the baseboard management controller sets the second internet protocol address It is stored as the Internet protocol address corresponding to itself and the other of the local server.
再者,本發明伺服系統包含多個本地端伺服器,及一位址分配伺服器。Furthermore, the server system of the present invention includes a plurality of local servers and one-address allocation servers.
該等本地端伺服器各自包括一基板管理控制器。Each of the local servers includes a baseboard management controller.
該位址分配伺服器與該等基板管理控制器通訊連接,用以根據媒體存取位址分配網際協定位址。The address allocation server communicates with the baseboard management controllers to allocate Internet protocol addresses based on the media access addresses.
該等本地端伺服器其中之一的基板管理控制器取得並儲存一第一媒體存取位址。The baseboard management controller of one of the local servers obtains and stores a first media access address.
該基板管理控制器根據該第一媒體存取位址自該位址分配伺服器取得一對應的第一網際協定位址,並將該第一網際協定位址設定儲存為對應於自身及該本地端伺服器其中一者的網際協定位址。The baseboard management controller obtains a corresponding first internet protocol address from the address allocation server according to the first media access address, and stores the first internet protocol address setting to correspond to itself and the local The Internet Protocol address of one of the end servers.
該基板管理控制器根據該第一媒體存取位址產生並儲存一第二媒體存取位址。The baseboard management controller generates and stores a second medium access address according to the first medium access address.
該基板管理控制器根據該第二媒體存取位址自該位址分配伺服器接收一對應的的第二網際協定位址,且該基板管理控制器將該第二網際協定位址設定儲存為對應於自身及該本地端伺服器其中另一者的網際協定位址。The baseboard management controller receives a corresponding second internet protocol address from the address allocation server according to the second media access address, and the baseboard management controller stores the second internet protocol address setting as Correspond to the Internet Protocol address of the other one of itself and the local server.
本發明的功效在於:由該位址分配伺服器依據該等基板管理控制器傳送的媒體存取位址,以分別動態主機協定分配對應的第一網際協定位址到該等基板管理控制器,該等基板管理控制器自動將分配到的第一網際協定位址設定儲存為對應於本身及該本地端伺服器其中之一的網際協定位址,並據以產生、儲存第二媒體存取位址,再據以自該位址分配伺服器接收一關於該基板管理控制器的第二網際協定位址,進而節省須以人工進行手動配置管理的成本及時間。The effect of the present invention is that the address allocation server allocates the corresponding first Internet protocol address to the baseboard management controllers according to the media access addresses sent by the baseboard management controllers through dynamic host protocols, respectively, The baseboard management controllers automatically store the assigned first internet protocol address setting as the internet protocol address corresponding to one of itself and the local server, and generate and store the second media access bit accordingly According to this, a second Internet protocol address for the baseboard management controller is received from the address allocation server, thereby saving the cost and time of manual configuration management.
本提案構想為適用於包括一台通訊伺服器的網路環境,該通訊伺服器為支援訊息佇列遙測傳輸功能的伺服器(MQTT server: Message Queuing Telemetry Transport server,或稱MQTT broker),當伺服器機櫃系統中的一本地端伺服器被提供電源,例如連接市電,其基板管理控制器(BMC: Baseboard Management Controller,以下簡稱BMC)會因接收到電源而進行初始化並進入工作狀態,而主要運行該本地端伺服器的一處理器則因為自身需要藉由執行基本輸入輸出系統程式以對該本地端伺服器進行各硬體元件的檢查及設定的開機自我檢測(POST:Power-On Self-Test)的開機程序,因此該本地端伺服器完成開機的時間會晚於該基板管理控制器,在該本地端伺服器完成開機前,該BMC會藉由執行自身的BMC韌體程式而自動發送網路控制器邊帶介面(NCSI: Network Controller Sideband Interface)命令至該本地端伺服器對應的一系統晶片組,以索取並取得該本地端伺服器的媒體存取控制位址(MAC address: Media Access Control address,以下簡稱MAC位址),接著BMC將該本地端伺服器對應的MAC位址傳送至一動態主機組態協定(DHCP: Dynamic Host Configuration Protocol,以下簡稱DHCP)伺服器,接著再由該DHCP伺服器依據該本地端伺服器的MAC位址分配一對應該本地端伺服器的網際協定位址(IP address)到該BMC,該BMC儲存由該DHCP伺服器取得對應該本地端伺服器的MAC位址的該本地端伺服器的網際協定位址,接著該BMC再將先前取得的該本地端伺服器的MAC位址加以運算以產生供作為該BMC本身的MAC位址,且該BMC將對應本身的MAC位址傳送至DHCP伺服器,而該DHCP伺服器再次依據此對應於該BMC本身的MAC位址產生並傳送對應該BMC本身的另一網際協定位址至該BMC,該BMC並將對應該BMC本身的網際協定位址儲存為對應於該BMC本身的網際協定位址,且該BMC還自動將包括所取得的該本地端伺服器對應的MAC位址及IP位址以及該BMC本身對應的MAC位址及IP位址其中至少一者的位址資料傳送到該通訊伺服器,當一遠端系統管理者或自動化管理軟體欲透過一遠端電腦取得該本地端伺服器的位址資料時,即可藉由連線到該通訊伺服器取得,其中,該BMC是將該本地端伺服器的網際協定位址及對應於該BMC本身的網際協定位址儲存於BMC自身的記憶體或儲存於與該BMC電連接的記憶體,其中,該BMC還將該本地端伺服器的網際協定位址傳送至該本地端伺服器的系統晶片組,以供儲存,其中,該BMC以標準訊息佇列遙測傳輸封包形式發送位址資料至該通訊伺服器,且該遠端系統管理者或自動化管理軟體可藉由網頁瀏覽器或以超文本傳輸協定(HTTP: HyperText Transfer Protocol)協定連線到該通訊伺服器,進而讀取位址資料的相關資訊,以下接著以二個實施例進一步說明本發明的具體技術細節。This proposal is conceived to be applicable to a network environment including a communication server, which is a server (MQTT server: Message Queuing Telemetry Transport server, or MQTT broker) that supports message queue telemetry transmission. A local server in the cabinet system is supplied with power, for example, when it is connected to the mains, its baseboard management controller (BMC: Baseboard Management Controller, hereinafter referred to as BMC) will be initialized and enter the working state after receiving the power, and the main operation A processor of the local server needs to execute the basic input output system program to check the hardware components of the local server and set the power-on self-test (POST: Power-On Self-Test). ), so the local server will finish booting later than the baseboard management controller. Before the local server finishes booting, the BMC will automatically send the network by executing its own BMC firmware program. Network Controller Sideband Interface (NCSI: Network Controller Sideband Interface) commands to a system chipset corresponding to the local server to obtain and obtain the MAC address: Media Access control address of the local server. Control address, hereinafter referred to as MAC address), and then BMC sends the MAC address corresponding to the local server to a dynamic host configuration protocol (DHCP: Dynamic Host Configuration Protocol, hereinafter referred to as DHCP) server, and then the The DHCP server assigns the IP address corresponding to the local server to the BMC according to the MAC address of the local server, and the BMC stores the corresponding local server's IP address obtained by the DHCP server MAC address of the local server’s Internet protocol address, and then the BMC calculates the previously obtained MAC address of the local server to generate the MAC address for the BMC itself, and the BMC will The corresponding MAC address is sent to the DHCP server, and the DHCP server again generates and sends another Internet protocol address corresponding to the BMC itself to the BMC based on the MAC address corresponding to the BMC itself. The BMC does not Save the Internet Protocol address corresponding to the BMC itself as the Internet Protocol address corresponding to the BMC itself, and the BMC will also automatically include the obtained MAC address and IP address corresponding to the local server and the BMC The address data of at least one of its own corresponding MAC address and IP address is sent to the communication server, as a remote system administrator or When the automated management software wants to obtain the address data of the local server through a remote computer, it can be obtained by connecting to the communication server, where the BMC is the Internet protocol address of the local server And the Internet Protocol address corresponding to the BMC itself is stored in the BMC’s own memory or in a memory electrically connected to the BMC, wherein the BMC also sends the Internet Protocol address of the local server to the local The system chipset of the end server for storage. The BMC sends address data to the communication server in the form of standard message queue telemetry transmission packets, and the remote system manager or automated management software can use the web page The browser may connect to the communication server through the HyperText Transfer Protocol (HTTP: HyperText Transfer Protocol) protocol, and then read the relevant information of the address data. The following two embodiments further illustrate the specific technical details of the present invention.
在本發明被詳細描述前,應當注意在以下的說明內容中,類似的元件是以相同的編號來表示。Before the present invention is described in detail, it should be noted that in the following description, similar elements are represented by the same numbers.
參閱圖1,本發明伺服系統的一第一實施例,包含多個本地端伺服器2、一位址分配伺服器3、一通訊伺服器4,及一遠端伺服器5。Referring to FIG. 1, a first embodiment of the server system of the present invention includes a plurality of
該等本地端伺服器2分別包括一基板管理控制器21(即前述的BMC),及一與該基板管理控制器21電連接,且對應一第一媒體存取位址(以下以第一MAC位址簡述)的系統晶片組22。The
該位址分配伺服器3與該等基板管理控制器21通訊連接,該位址分配伺服器3即前述的動態主機組態協定伺服器,其用以分配多個分別與該等本地端伺服器2相關的網際協定位址。The
該通訊伺服器4與該位址分配伺服器3通訊連接,且該通訊伺服器4即為前述的訊息佇列遙測傳輸伺服器。The
該遠端伺服器5與該通訊伺服器4通訊連接。The
配合參閱圖2,為該第一實施例執行的一位址存取方法,包含一接收媒體存取位址步驟(A)、一設定網際協定位址步驟(B)、一儲存媒體存取位址步驟(C)、一接收網際協定位址步驟(D)、一產生資料庫步驟(E),及一讀取資料庫步驟(F)。With reference to FIG. 2, the one-address access method implemented in the first embodiment includes a step of receiving a media access address (A), a step of setting an Internet protocol address (B), and a storage media access location Address step (C), a step of receiving an Internet protocol address (D), a step of generating a database (E), and a step of reading the database (F).
該接收媒體存取位址步驟(A)為該等本地端伺服器2其中之一的基板管理控制器21自該本地端伺服器2的該系統晶片組22接收該第一MAC位址,須先說明的是,在該第一實施例中,本地端伺服器2的總數量假設為N個,圖1所繪示的本地端伺服器2為其中的第i個,i=1~N。The step (A) of receiving the media access address is that the
此外,該等本地端伺服器2還分別包含一對應於該系統晶片組22的第一網路模組23,每一第一網路模組23為一網路卡、一網路晶片,或是整合至該系統晶片組22內的模組,且該第一網路模組23儲存對應於該本地端伺服器2的該第一MAC位址,其中,該系統晶片組22為一平台路徑控制器(PCH:Platform Controller Hub)或是整合一處理器及該平台路徑控制器的晶片組,又稱為系統單晶片,或是整合該處理器及該平台路徑控制器及該第一網路模組23的晶片組。In addition, the
配合參閱圖3,進一步詳細說明該接收媒體存取位址步驟(A)的細部流程,其具體包括一發送索取命令子步驟(A1),及一回傳媒體存取位址子步驟(A2)。With reference to Figure 3, the detailed process of the step (A) of receiving the media access address is described in further detail, which specifically includes a sub-step of sending a request command (A1), and a sub-step of transmitting the media access address (A2) .
在該發送索取命令子步驟(A1)中,該基板管理控制器21傳送一位址索取命令到該系統晶片組22,以索取對應於該本地端伺服器2的該第一MAC位址。In the sub-step (A1) of sending a request command, the
在該回傳媒體存取位址子步驟(A2)中,該系統晶片組22根據該位址索取命令傳送對應於該本地端伺服器2的該第一MAC位址到該基板管理控制器21。In the return medium access address sub-step (A2), the
需再補充說明的是,在該第一實施例中,該接收媒體存取位址步驟(A)其細部流程的另一種實施態樣為包括一讀取媒體存取位址子步驟(A1’),及一儲存媒體存取位址子步驟(A2’)(圖未示)。It should be added that, in the first embodiment, another implementation aspect of the detailed process of the receiving medium access address step (A) includes a sub-step of reading the medium access address (A1' ), and a storage medium access address sub-step (A2') (not shown).
在該讀取媒體存取位址子步驟(A1’)中,當該基板管理控制器21進行初始化完成後,該基板管理控制器21藉由一對應的非揮發性記憶體讀取該第一媒體存取位址。In the sub-step of reading the media access address (A1'), after the BMC 21 is initialized, the BMC 21 uses a corresponding non-volatile memory to read the first Media access address.
在該儲存媒體存取位址子步驟(A2’)中,該基板管理控制器21複製並儲存所讀取到的該第一媒體存取位址,其中,該基板管理控制器21是先將所複製的第一媒體存取位址暫時儲存於其內部的揮發性記憶體(圖未示),該揮發性記憶體例如為暫存器(Register)、或隨機存取記憶體(RAM: Random Access Memory)等,其類型為當基板管理控制器21未接收電源時,所儲存資料會消失的記憶體。In the storage medium access address sub-step (A2'), the
再參閱圖2,該設定網際協定位址步驟(B)為該基板管理控制器21根據所接收到的該本地端伺服器2的該第一MAC位址以自該位址分配伺服器3取得一對應該本地端伺服器2的第一網際協定位址(以下以第一IP位址簡稱),該基板管理控制器21並將該第一IP位址設定儲存為對應於該本地端伺服器2的網際協定位址。Referring again to FIG. 2, the step (B) of setting the Internet Protocol address is that the
需再補充說明的是,在本第一實施例中,該基板管理控制器21所接收的IP數量並不僅限於如該設定網際協定位址步驟(B)所述,當該本地端伺服器2有多張網路卡,該本地端伺服器2將根據其連接的該等網路卡數量,而取得相同數量的IP位址,以使每一張網路卡分別對應一個ip,也就是說該本地端伺服器2連接幾張網路卡,該本地端伺服器2就會對應幾個IP位址,不論該等網路卡是專屬於該本地端伺服器2的中央處理器使用,或是僅其中一部份專屬於該本地端伺服器2的中央處理器使用,而其餘部份分別專屬於該本地端伺服器2的其他元件使用,或是說有些網路卡是內嵌於該本地端伺服器2的其他元件,在這種狀況下,該基板管理控制器21也可以根據自該本地端伺服器2取得該第一MAC位址,並由該位址分配伺服器3以DHCP協定取得第一IP位址後,經運算產生該第二MAC位址,並在取得第二IP位址後,再接著運算產生第三、第四、…、第n個MAC位址,並以相同機制取得第三、第四、…、第n個IP位址,It should be added that, in the first embodiment, the number of IPs received by the
該儲存媒體存取位址步驟(C)為該基板管理控制器21根據該第一MAC位址產生並儲存一對應該基板管理控制器21的第二媒體存取位址(以下以第二MAC位址簡稱)。The storage medium access address step (C) is that the
配合參閱圖4,進一步詳細說明該儲存媒體存取位址步驟(C)的詳細流程,其具體包括一產生第二媒體存取位址子步驟(C1),及一儲存第二媒體存取位址子步驟(C2),該產生第二媒體存取位址子步驟(C1)為該基板管理控制器21根據該第一MAC位址與一預設規則進行運算產生該第二MAC位址,更詳細地說,該基板管理控制器21將自接收媒體存取位址步驟(A)所取得的該第一MAC位址依照一預設規則(對應一預設值)進行運算,例如該預設規則加且該預設值為1則該基板管理控制器21將該第一MAC位址的最後一個字節加1、或例如該預設規則為乘且該預設值為2則該基板管理控制器21將該第一MAC位址的最後一個字節乘2,進而得到對應該基板管理控制器21的另一MAC位址,也就是該第二MAC位址,該儲存第二媒體存取位址子步驟(C2)為該基板管理控制器21對該第二MAC位址進行儲存。With reference to FIG. 4, the detailed process of the storage medium access address step (C) is further described in detail, which specifically includes a sub-step (C1) of generating a second medium access address, and a storing second medium access location Address sub-step (C2), the second media access address generation sub-step (C1) is that the
該接收網際協定位址步驟(D)為該基板管理控制器21根據該第二MAC位址自該位址分配伺服器3取得一關於該基板管理控制器21的第二網際協定位址(以下以第二IP位址簡稱),並儲存該第二IP位址,其中,該基板管理控制器21是將所取得的第一IP位址及第二IP位址儲存於自身內部的揮發性記憶體或是與自身電連接的非揮發性記憶體。The step (D) of receiving the internet protocol address is that the
該產生資料庫步驟(E)為該基板管理控制器21還自動將包括該本地端伺服器2對應的第一MAC位址及第一IP位址以及該基板管理控制器21本身對應的一名稱信息、第二MAC位址及第二IP位址其中至少一者的位址資料以封包的形式傳送到該通訊伺服器4,該通訊伺服器4匯整來自該等基板管理控制器21的封包,並記錄於一用以供遠端讀取的資料庫,該資料庫記錄分別關於該等本地端伺服器2的該等本地端伺服器2分別對應的位址資料。In the step (E) of generating a database, the
該讀取資料庫步驟(F)為該遠端伺服器5連線到該通訊伺服器4以讀取該資料庫。The step (F) of reading the database is that the
在上述本發明的該第一實施例中,該等本地端伺服器2的基板管理控制器21自系統晶片組22取得關於本地端伺服器2的第一MAC位址,並由該位址分配伺服器3依據該第一MAC位址分配該第一IP位址,接著,由基板管理控制器21依據接收到的第一MAC位址及預設規則進行運算,以產生對應於本身的第二MAC位址,並再次由該位址分配伺服器3分配對應的該第二IP位址,以進一步由該等基板管理控制器21自動依據各自儲存且包括本地端伺服器2對應的第一MAC位址及第一IP位址以及該基板管理控制器21本身對應的該名稱信息、第二MAC位址及第二IP位址其中至少一者的位址資料產生一封包,例如為MQTT封包並將其發佈(publish)到該通訊伺服器4以彙整記錄於該通訊伺服器4的資料庫中,以供訂閱者(subscriber)索取,也就是該遠端伺服器5可進一步透過網路連結該通訊伺服器4藉以取得該等對應於該通訊伺服器4的該基板管理控制器21所傳送至該通訊伺服器4的本地端伺服器2本身的網際協定位址或對應的基板管理控制器21的網際協定位址等資料,進而改善須浪費人力及時間成本操作伺服系統的缺點,且直接由各本地端伺服器2的基板管理控制器21自動的於上電後自位址分配伺服器3取得並蒐集本地端伺服器2的各元件所對應的媒體存取位址或網際協定位址,並由各本地端伺服器2的基板管理控制器21自動的傳送至該通訊伺服器4,可以達到更便利且省時的取得並蒐集各本地端伺服器2的位址資料,此外,使用者或是自動監控軟體等也可以透過該遠端伺服器5登入該通訊伺服器4,並於該通訊伺服器4設定該遠端伺服器5為該通訊伺服器4的訂閱者,藉此,該通訊伺服器4週期性的提供資料庫所儲存的資料給其對應的訂閱者,再者,一旦該通訊伺服器4變更其所儲存的資料庫內容,該通訊伺服器4即可將所儲存的資料庫內容傳送給其所對應的訂閱者,或者該遠端伺服器5也可以設定為自動的週期性的透過網路索取並取得通訊伺服器4的資料庫所存取的內容,其中,對應該通訊伺服器4的該等基板管理控制器21是經由其所通訊連接的該位址分配伺服器3或是藉由系統晶片組與該通訊伺服器4或該位址分配伺服器3進行網路通訊。In the first embodiment of the present invention described above, the
參閱圖5,本發明伺服系統的一第二實施例,其與該第一實施例的差別在於:該第二實施例中,該等基板管理控制器21分別具有一第二網路模組211,該等基板管理控制器21藉由其第二網路模組211與該位址分配器3及該通訊伺服器4進行網路通訊,且該等本地端伺服器2還分別包括一電連接該基板管理控制器21的一非揮發性記憶體24,例如為一非揮發性隨機存取記憶體(NVRAM: Non-volatile random-access memory),該非揮發性隨機存取記憶體、電子抹除式可程式化唯讀記憶體(EEPROM: Electrically Erasable Programmable Read Only Memory)或快閃記憶體(Flash memory)等,當不提供電源時,所儲存的資料部會消失的電腦記憶體。Referring to FIG. 5, a second embodiment of the servo system of the present invention differs from the first embodiment in that: in the second embodiment, the
此外,以該第二實施例執行該位址存取方法時,其與該第一實施例執行該位址存取方法的步驟差異在於:若以第二實施例執行該接收媒體存取位址步驟(A)時,該等本地端伺服器2其中之一的基板管理控制器21自該本地端伺服器2的該系統晶片組22及該非揮發性記憶體24其中一者取得對應該本地端伺服器2的該第一MAC位址,且當以第二實施例執行執行該設定網際協定位址步驟(B)時,基板管理控制器21將於接收媒體存取位址步驟(A)所取得的該第一MAC位址經由其第二網路模組211傳送到該位址分配伺服器3,該位址分配伺服器3據以進行動態主機協定分配而產生並傳送該第一IP位址,該基板管理控制器21經由該第二網路模組211接收該第一IP位址,以將該第一IP位址設定為對應於該本地端伺服器2的網際協定位址,也就是系統晶片組22所對應的網際協定位址,並將該第一IP位址儲存於該非揮發性記憶體24。In addition, when the address access method is executed in the second embodiment, the difference in steps from the address access method in the first embodiment is: if the second embodiment executes the receiving medium access address In step (A), the
又,在該第二實施例中,當執行該接收網際協定位址步驟(D)時,如同該設定網際協定位址步驟(B),該基板管理控制器21將該第二MAC位址經由其第二網路模組211傳送到該位址分配伺服器3,該位址分配伺服器3據以進行動態主機協定分配而產生並傳送該第二IP位址,進而該基板管理控制器21經由該第二網路模組211接收並儲存該第二IP位址以作為自身對應的網際協定位址。Moreover, in the second embodiment, when the step (D) of receiving the Internet Protocol address is executed, as in the step (B) of setting the Internet Protocol address, the
在上述本發明的該第二實施例中,該等本地端伺服器2各自的基板管理控制器21自本地端伺服器2讀取關於本地端伺服器2的第一MAC位址,並將接收到的第一MAC位址經由本身的第二網路模組211傳送到位址分配伺服器3,再由該位址分配伺服器3依據該第一MAC位址分配該第一IP位址,並由基板管理控制器21依據接收到的第一MAC位址及預設規則進行運算,以產生對應於本身的第二MAC位址,接著再將該第二MAC位址經由本身的第二網路模組211傳送到位址分配伺服器3,並由該位址分配伺服器3分配對應的該第二IP位址,進一步由各自對應於該通訊伺服器4的基板管理控制器21自動依據包括各自的名稱信息、第二MAC位址及第二IP位址以及該等基板管理控制器所儲存的第一MAC位址及第一IP位址其中至少一者的位址資料以產生對應的MQTT封包並將該位址資料發佈(publish)到該通訊伺服器4以彙整記錄於該通訊伺服器4的資料庫中,以供訂閱者(subscriber)索取,也就是該遠端伺服器5可進一步透過網路連結該通訊伺服器4藉以取得對應該通訊伺服器的該等基板款裡控制器所傳送至該通訊伺服器4的位址資料,進而僅藉由各本地端伺服器2的該基板管理控制器21主動與該位址分配伺服器3的通訊,即可分別取得該基板管理控制器21自身及各本地端伺服器2對應的網際協定位址等位址資料,並藉由各基板管理控制器主動發送該位址資訊至通訊伺服器4,改善須浪費人力及時間成本操作伺服系統的缺點,並達到更為便利的獲取並提供位址資訊至通訊伺服器4的功效,此外,該遠端伺服器5也可以登入該通訊伺服器4,並於該通訊伺服器4設定該遠端伺服器5為該通訊伺服器4的訂閱者,藉此,該通訊伺服器4週期性的提供資料庫所儲存的資料給其對應的訂閱者,再者,一旦該通訊伺服器4變更其所儲存的資料庫內容,即可將所儲存的資料庫內容傳送給其所對應的訂閱者,或者該遠端伺服器5也可以設定為自動的週期性的透過網路取得通訊伺服器4的資料庫所存取的內容。In the second embodiment of the present invention described above, the baseboard management controller 21 of each of the local servers 2 reads the first MAC address of the local server 2 from the local server 2, and will receive The received first MAC address is sent to the address allocation server 3 via its second network module 211, and then the address allocation server 3 allocates the first IP address according to the first MAC address, and The baseboard management controller 21 performs operations based on the received first MAC address and preset rules to generate a second MAC address corresponding to itself, and then passes the second MAC address through its own second network The module 211 is sent to the address allocation server 3, and the address allocation server 3 allocates the corresponding second IP address, and the baseboard management controller 21 corresponding to the communication server 4 automatically The name information, the second MAC address and the second IP address and the address data of at least one of the first MAC address and the first IP address stored by the baseboard management controllers to generate the corresponding MQTT packet And publish the address data to the communication server 4 to aggregate records in the database of the communication server 4 for subscribers to request, that is, the remote server 5 can further access The communication server 4 is connected to the network to obtain the address data sent to the communication server 4 by the controllers in the substrates corresponding to the communication server, and then only the substrate management of each local server 2 The controller 21 actively communicates with the address allocation server 3, and can obtain the address data such as the Internet protocol address of the baseboard management controller 21 itself and each local server 2 respectively, and use each baseboard management The controller actively sends the address information to the communication server 4, which improves the shortcomings of wasting manpower and time cost to operate the servo system, and achieves the effect of obtaining and providing address information to the communication server 4 more conveniently. In addition, the The
綜上所述,上述第一、第二實施例藉由位址分配伺服器3依據與該通訊伺服器4對應的該等基板管理控制器21分別於自身初始化後自動傳送的第一、第二MAC位址,以動態主機協定分配對應的第一、第二IP位址並分別回傳給對應的該等基板管理控制器21,該等基板管理控制器21再自動化地將各自所接收的第一、第二IP位址設定為分別對應的本地端伺服器2的網際協定位址及本身的網際協定位址,並據以對應產生用以傳送到通訊伺服器4的封包,以供遠端伺服器5訂閱查詢本地端伺服器2的網際協定位址或其基板管理控制器21的網際協定位址,進而節省須以人工進行手動配置管理的成本及時間,其中,該基板管理控制器21也可以將第一次取得的第一MAC位址作為自身的MAC位址,並將對應取得的第一IP位址作為自身的IP位址,再對第一MAC位址進行運算而產生的第二MAC位址作為本地端伺服器2的位址,並將對應取得的第二IP位址作為該本地端伺服器2的IP位址,藉此,遠端伺服器5可以直接由通訊伺服器4取得與該通訊伺服器4對應的任一本地端伺服器2的基板管理控制器21或任一本地端伺服器2上的任一控制器所對應的IP位址,故確實達成本發明的創作目的。To sum up, the first and second embodiments described above use the
惟以上所述者,僅為本發明的實施例而已,當不能以此限定本發明實施的範圍,凡是依本發明申請專利範圍及專利說明書內容所作的簡單的等效變化與修飾,皆仍屬本發明專利涵蓋的範圍內。However, the above are only examples of the present invention. When the scope of implementation of the present invention cannot be limited by this, all simple equivalent changes and modifications made in accordance with the scope of the patent application of the present invention and the content of the patent specification still belong to Within the scope of the patent for the present invention.
2:本地端伺服器 21:基板管理控制器 211:第二網路模組 22:系統晶片組 23:第一網路模組 24:非揮發性記憶體 3:位址分配伺服器 4:通訊伺服器 5:遠端伺服器 A:接收媒體存取位址步驟 A1:發送索取命令子步驟 A2:回傳存取位址子步驟 B:設定網際協定位址步驟 C:儲存媒體存取位址步驟 C1:產生第二媒體存取位址子步驟 C2:儲存第二媒體存取位址子步驟 D:接收網際協定位址步驟 E:產生資料庫步驟 F:讀取資料庫步驟2: Local server 21: baseboard management controller 211: The second network module 22: System Chipset 23: The first network module 24: Non-volatile memory 3: Address allocation server 4: Communication server 5: Remote server A: Steps for receiving media access address A1: Sub-steps for sending request commands A2: Return the access address sub-step B: Steps to set the Internet Protocol address C: Storage media access address steps C1: Sub-step of generating the second media access address C2: Save the second media access address sub-step D: Steps to receive Internet Protocol address E: Steps to generate database F: Steps to read the database
本發明的其他的特徵及功效,將於參照圖式的實施方式中清楚地呈現,其中: 圖1是一方塊圖,說明本發明伺服系統的一第一實施例;及 圖2是一流程圖,說明該第一實施例執行一位址存取方法的詳細步驟; 圖3是一流程圖,說明該第一實施例執行該位址存取方法其中一傳送位址步驟的更詳細流程; 圖4是一流程圖,說明該第一實施例執行該位址存取方法其中一儲存媒體存取位址步驟的更詳細流程;及 圖5是一方塊圖,說明本發明伺服系統的一第二實施例 Other features and effects of the present invention will be clearly presented in the embodiments with reference to the drawings, in which: Figure 1 is a block diagram illustrating a first embodiment of the servo system of the present invention; and FIG. 2 is a flowchart illustrating the detailed steps of the one-bit address access method in the first embodiment; FIG. 3 is a flowchart illustrating a more detailed flow of one of the address transfer steps of the address access method in the first embodiment; FIG. 4 is a flowchart illustrating a more detailed flow of the first embodiment of the address access method for one of the storage medium accessing address steps; and Figure 5 is a block diagram illustrating a second embodiment of the servo system of the present invention
2:本地端伺服器 2: Local server
21:基板管理控制器 21: baseboard management controller
22:系統晶片組 22: System Chipset
23:第一網路模組 23: The first network module
3:位址分配伺服器 3: Address allocation server
4:通訊伺服器 4: Communication server
5:遠端伺服器 5: Remote server
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW109110948A TWI715479B (en) | 2020-03-31 | 2020-03-31 | Method for address allocating with accessing and server system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW109110948A TWI715479B (en) | 2020-03-31 | 2020-03-31 | Method for address allocating with accessing and server system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TWI715479B true TWI715479B (en) | 2021-01-01 |
| TW202139675A TW202139675A (en) | 2021-10-16 |
Family
ID=75237305
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW109110948A TWI715479B (en) | 2020-03-31 | 2020-03-31 | Method for address allocating with accessing and server system |
Country Status (1)
| Country | Link |
|---|---|
| TW (1) | TWI715479B (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI839271B (en) * | 2023-07-17 | 2024-04-11 | 神雲科技股份有限公司 | Method of backuping media access control address and server system |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI598745B (en) * | 2016-03-08 | 2017-09-11 | 神雲科技股份有限公司 | Data transfer method and server using the same |
| TWI656762B (en) * | 2017-11-28 | 2019-04-11 | 營邦企業股份有限公司 | Intellectual rack and ip addresses managing method thereof |
-
2020
- 2020-03-31 TW TW109110948A patent/TWI715479B/en not_active IP Right Cessation
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI598745B (en) * | 2016-03-08 | 2017-09-11 | 神雲科技股份有限公司 | Data transfer method and server using the same |
| TWI656762B (en) * | 2017-11-28 | 2019-04-11 | 營邦企業股份有限公司 | Intellectual rack and ip addresses managing method thereof |
Also Published As
| Publication number | Publication date |
|---|---|
| TW202139675A (en) | 2021-10-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7451071B2 (en) | Data model for automated server configuration | |
| CN101917452B (en) | Platform discovery in a pre-boot environment using web services | |
| US7953830B2 (en) | Automatic network reconfiguration upon changes in DHCP IP addresses | |
| US8412901B2 (en) | Making automated use of data volume copy service targets | |
| TW201250455A (en) | System and method for controlling power devices in data center | |
| CN110795158A (en) | Bare computer server management method, system, electronic equipment and storage medium | |
| JP2003046569A (en) | Load test execution device and system, method therefor, and program therefor | |
| CN114115917A (en) | Operating system installation method and device | |
| US8819200B2 (en) | Automated cluster node configuration | |
| TWI715479B (en) | Method for address allocating with accessing and server system | |
| CN104253792A (en) | Substrate management controller virtual system and method | |
| US9912534B2 (en) | Computer system, method for starting a server computer, server computer, management station, and use | |
| TWI715456B (en) | Method for managing the addresses of baseboard management controllers and server system | |
| CN113766038B (en) | Address configuration access method and server system | |
| CN101022425A (en) | ISCSI-based storage resource distributing method | |
| CN107659621B (en) | A RAID control card configuration method and device | |
| CN113766041B (en) | Method, device, equipment and storage medium for acquiring Media Access Control (MAC) address of first server | |
| JP4208493B2 (en) | Load test system for network server | |
| CN117075817B (en) | A data center virtualization storage optimization method, system, device and medium | |
| US20110023018A1 (en) | Software platform and method of managing application individuals in the software platform | |
| CN115048187B (en) | A PVC file import method, device and storage medium based on Operator | |
| CN106484460A (en) | The installation method of large-scale storage cluster system in a kind of | |
| CN111580888A (en) | Method, device and equipment for batch creation of server RAID (redundant array of independent disks) and storage medium | |
| US20050132084A1 (en) | Method and apparatus for providing server local SMBIOS table through out-of-band communication | |
| CN117938641A (en) | Network address configuration method and computing device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| MM4A | Annulment or lapse of patent due to non-payment of fees |