TWI656762B - Intellectual rack and ip addresses managing method thereof - Google Patents

Intellectual rack and ip addresses managing method thereof Download PDF

Info

Publication number
TWI656762B
TWI656762B TW106141384A TW106141384A TWI656762B TW I656762 B TWI656762 B TW I656762B TW 106141384 A TW106141384 A TW 106141384A TW 106141384 A TW106141384 A TW 106141384A TW I656762 B TWI656762 B TW I656762B
Authority
TW
Taiwan
Prior art keywords
server
cabinet
address
slot
rmc
Prior art date
Application number
TW106141384A
Other languages
Chinese (zh)
Other versions
TW201926947A (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 TW106141384A priority Critical patent/TWI656762B/en
Application granted granted Critical
Publication of TWI656762B publication Critical patent/TWI656762B/en
Publication of TW201926947A publication Critical patent/TW201926947A/en

Links

Abstract

一種智能機櫃,包括機櫃管理系統、機櫃管理控制器(Rack Management Controller,RMC)、內部硬體線路、多個伺服器插槽及設置在伺服器插槽的伺服器,其中RMC通過內部硬體線路連接各個伺服器插槽中設置的伺服器的基板管理控制器(Baseboard Management Controller,BMC)。機櫃管理系統藉由RMC以及一組內部硬體線路判斷是否有任一伺服器被置換,並於判斷伺服器被置換時確定置換動作的目標伺服器插槽。機櫃管理系統以目標伺服器插槽所綁定的網路協定(Internet Protocol,IP)位址取代所置換的伺服器的BMC原本使用的IP位址,以維持伺服器插槽、伺服器及IP位址三者的綁定效果。 A smart cabinet includes a cabinet management system, a Rack Management Controller (RMC), an internal hardware circuit, a plurality of server slots, and a server disposed in the server slot, wherein the RMC passes the internal hardware circuit Connect the Baseboard Management Controller (BMC) of the server set in each server slot. The cabinet management system determines whether any server is replaced by the RMC and a set of internal hardware lines, and determines the target server slot of the replacement action when determining that the server is replaced. The cabinet management system replaces the IP address originally used by the BMC of the replaced server with the Internet Protocol (IP) address bound to the target server slot to maintain the server slot, server and IP. The binding effect of the three addresses.

Description

智能機櫃及其網路協定位址管理方法 Intelligent cabinet and network protocol address management method thereof

本發明涉及智能機櫃,尤其涉及智能機櫃及其網路協定位址管理方法。 The invention relates to a smart cabinet, in particular to a smart cabinet and a network protocol address management method thereof.

一個資料中心內通常設置有多座機櫃,並且每一座機櫃中可分別設置多台伺服器。 A data center usually has multiple cabinets, and multiple servers can be set in each cabinet.

為了同時管理資料中心內的多座機櫃,管理人員需分配IP位址給各個機櫃內的RMC,並且還需分配IP位址給各個伺服器中的BMC。管理人員可操作一終端設備,並藉由所分配的IP位址來連接各座機櫃的RMC以及各個伺服器的BMC,以便於在遠端進行資料中心的管理。 In order to manage multiple cabinets in the data center at the same time, the administrator needs to assign an IP address to the RMC in each cabinet, and also assign an IP address to the BMC in each server. The administrator can operate a terminal device and connect the RMC of each cabinet and the BMC of each server by the assigned IP address, so as to manage the data center at the remote end.

所述伺服器需於資料中心內持續地運轉,因此伺服器的老化、損壞是無法避免的。每當有任一座機櫃中的任一台伺服器被置換時,管理人員即需立刻為所置換的新伺服器分配一組新的IP位址,以達到上述的管理目的。若資料中心內的機櫃及伺服器的數量眾多,則人工分配IP位址的動作無疑增加了管理人員的工作量,並且也間接提高了因人為操作而發生錯誤的風險。 The server needs to be continuously operated in the data center, so the aging and damage of the server cannot be avoided. Whenever any of the servers in any of the cabinets are replaced, the manager immediately needs to assign a new set of IP addresses to the replaced new server to achieve the above management objectives. If the number of cabinets and servers in the data center is large, the manual allocation of IP addresses will undoubtedly increase the workload of the administrators and indirectly increase the risk of errors due to human operations.

再者,資料中心內對於每座機櫃所能分配使用的IP位址的數量及範圍都有明確的限制與規範,在每座機櫃的RMC以及每個伺服器的BMC都需要分配一組IP位址的前提下,管理人員對於資料中心內所有IP位址的全面性管理及維護,實具有相當高的困難度及複雜度。 Furthermore, there are clear limits and specifications for the number and range of IP addresses that can be allocated for each cabinet in the data center. The RMC of each cabinet and the BMC of each server need to be assigned a set of IP addresses. Under the premise of the address, the management has a very high degree of difficulty and complexity for the comprehensive management and maintenance of all IP addresses in the data center.

本發明的主要目的,在於提供一種智能機櫃及其網路協定位址管理方法,可維持每一個機櫃中的伺服器插槽、伺服器及IP位址三者的綁定效果,藉此達到資料中心內所有機櫃及伺服器的全面性IP位址管理及維護。 The main object of the present invention is to provide a smart cabinet and a network protocol address management method thereof, which can maintain the binding effect of the server slot, the server and the IP address in each cabinet, thereby achieving the data. Comprehensive IP address management and maintenance of all cabinets and servers in the center.

為了達成上述目的,本發明的智能機櫃包括一機櫃管理系統、一機櫃管理控制器(Rack Management Controller,RMC)、一組內部硬體線路、多個伺服器插槽及設置在伺服器插槽的伺服器,其中該RMC通過該組內部硬體線路連接各該伺服器插槽中設置的伺服器的基板管理控制器(Baseboard Management Controller,BMC)。該機櫃管理系統藉由該RMC以及該組內部硬體線路判斷是否有任一伺服器被置換,並於任一該伺服器被置換時確定該置換動作的一目標伺服器插槽。並且,該機櫃管理系統以該目標伺服器插槽所綁定的網路協定(Internet Protocol,IP)位址取代該被置換的伺服器的該BMC原本使用的IP位址。 To achieve the above objective, the intelligent cabinet of the present invention includes a cabinet management system, a Rack Management Controller (RMC), a set of internal hardware lines, a plurality of server slots, and a server slot. The server, wherein the RMC connects the baseboard management controller (BMC) of each server set in the server slot through the set of internal hardware lines. The rack management system determines whether any of the servers is replaced by the RMC and the set of internal hardware lines, and determines a target server slot of the replacement action when any of the servers is replaced. Moreover, the cabinet management system replaces an IP address originally used by the BMC of the replaced server with an Internet Protocol (IP) address bound by the target server slot.

本發明在一個新的伺服器被插入機櫃中尚未被使用的伺服器插槽,或是任一個伺服器插槽中的伺服器被置換時,皆可由機櫃自動將對應的IP位址分配給所插入/置換的伺服器的BMC。如此一來,可減輕管理人員需要手動 分配IP位址給所插入/置換的伺服器的BMC所帶來的工作量,並且避免人為操作錯誤的風險。 The present invention can automatically assign a corresponding IP address to a server when a new server is inserted into a server slot that has not been used in the cabinet, or when a server in any of the server slots is replaced. Insert/replace the BMC of the server. As a result, managers can be manually removed. The workload of assigning an IP address to the BMC of the inserted/replaced server and avoiding the risk of human error.

1‧‧‧機櫃系統 1‧‧‧Cabinet system

2‧‧‧智能機櫃 2‧‧‧Smart cabinet

20‧‧‧伺服器插槽 20‧‧‧Server slot

21‧‧‧機櫃管理控制器 21‧‧‧Cabinet Management Controller

212‧‧‧機櫃網路介面控制器 212‧‧‧Cabinet Network Interface Controller

22‧‧‧內部硬體線路 22‧‧‧Internal hardware lines

23‧‧‧內部網路交換機 23‧‧‧Internal network switch

3‧‧‧公共網路交換機 3‧‧‧ public network switch

4‧‧‧機櫃管理系統 4‧‧‧Cabinet Management System

41‧‧‧查詢表單 41‧‧‧Query Form

5‧‧‧伺服器 5‧‧‧Server

51‧‧‧基板管理控制器 51‧‧‧Base Management Controller

52‧‧‧伺服器網路介面控制器 52‧‧‧Server Network Interface Controller

6‧‧‧外殼 6‧‧‧Shell

61‧‧‧流水編號 61‧‧‧Running number

S10~S18‧‧‧管理步驟 S10~S18‧‧‧Management steps

S30~S44‧‧‧管理步理 S30~S44‧‧‧Management steps

圖1為本發明的第一具體實施例的系統示意圖。 1 is a schematic diagram of a system in accordance with a first embodiment of the present invention.

圖2為本發明的第一具體實施例的機櫃示意圖。 2 is a schematic view of a cabinet according to a first embodiment of the present invention.

圖3為本發明的第一具體實施例的機櫃方塊圖。 Figure 3 is a block diagram of a cabinet in accordance with a first embodiment of the present invention.

圖4為本發明的第一具體實施例的管理流程圖。 Figure 4 is a flow chart showing the management of the first embodiment of the present invention.

圖5A為本發明的第一具體實施例的伺服器置換前示意圖。 FIG. 5A is a schematic diagram of a server prior to replacement in accordance with a first embodiment of the present invention. FIG.

圖5B為本發明的第一具體實施例的伺服器置換後示意圖。 FIG. 5B is a schematic diagram of the server after replacement according to the first embodiment of the present invention. FIG.

圖6為本發明的第二具體實施例的管理流程圖。 Figure 6 is a management flow diagram of a second embodiment of the present invention.

茲就本發明之一較佳實施例,配合圖式,詳細說明如後。 DETAILED DESCRIPTION OF THE INVENTION A preferred embodiment of the present invention will be described in detail with reference to the drawings.

請同時參閱圖1及圖2,分別為本發明的第一具體實施例的系統示意圖及機櫃示意圖。圖1揭露了一種機櫃系統1,包括複數智能機櫃2(下面簡稱機櫃2)、公共網路交換機3及機櫃管理系統4。於一實施例中,機櫃系統1的複數機櫃2設置於一資料中心,並且複數機櫃2分別連接公共網路交換機3。機櫃系統1的機櫃管理系統4為設置於遠端的伺服器,並且機櫃管理系統4可連接公共網路交換機3,藉此通過網路於遠端對複數機櫃2進行監控與管理。 Please refer to FIG. 1 and FIG. 2 respectively, which are respectively a schematic diagram of a system and a schematic diagram of a cabinet according to a first embodiment of the present invention. FIG. 1 discloses a cabinet system 1 including a plurality of smart cabinets 2 (hereinafter referred to as cabinets 2), a public network switch 3, and a cabinet management system 4. In one embodiment, the plurality of cabinets 2 of the cabinet system 1 are disposed in a data center, and the plurality of cabinets 2 are respectively connected to the public network switch 3. The cabinet management system 4 of the cabinet system 1 is a server disposed at a remote end, and the rack management system 4 can be connected to the public network switch 3, thereby monitoring and managing the plurality of cabinets 2 at the remote end through the network.

於另一實施例中,機櫃管理系統4可為設置於資料中心內的伺服器,並可通過有線或無線方式直接連接各個機櫃2。於又一實施例中,機櫃管理 系統4可為設置於任一機櫃2內的伺服器(即,機櫃管理系統4可插置於任一機櫃2的伺服器插槽中)。換句話說,本發明的機櫃管理系統4並不以設置於遠端並通過網路連接各個機櫃2為限。 In another embodiment, the rack management system 4 can be a server disposed in the data center, and can directly connect the cabinets 2 by wire or wirelessly. In yet another embodiment, cabinet management The system 4 can be a server disposed within any of the cabinets 2 (ie, the rack management system 4 can be plugged into the server slots of any of the cabinets 2). In other words, the cabinet management system 4 of the present invention is not limited to being disposed at the remote end and connected to each cabinet 2 through a network.

如圖2所示,本發明的每一座機櫃2中可設置複數台伺服器5,並且每一台伺服器5分別設置於機櫃2的一個伺服器插槽中。圖2的實施例是以兩座機櫃2設置於資料中心,並且每一座機櫃2分別具有七個伺服器插槽為限,但不以此為限。於本實施例中,每一座機櫃2還分別具有外殼6,並且外殼6於各個伺服器插槽的對應位置上分別標註有一個對應的流水編號(即,圖2中所示的1A至7A),以提示管理人員各個伺服器5於機櫃2內的對應位置(指實際的設置位置,而非電腦的虛擬位置)。 As shown in FIG. 2, a plurality of servers 5 can be disposed in each cabinet 2 of the present invention, and each server 5 is disposed in one server slot of the cabinet 2, respectively. The embodiment of FIG. 2 is limited to the case where the two cabinets 2 are disposed in the data center, and each of the cabinets 2 has seven server slots, but is not limited thereto. In this embodiment, each of the cabinets 2 also has a housing 6 respectively, and the corresponding positions of the housings 6 at the respective positions of the respective server slots are respectively marked with a corresponding serial number (ie, 1A to 7A shown in FIG. 2). In order to prompt the manager for the corresponding position of each server 5 in the cabinet 2 (refer to the actual setting position, not the virtual position of the computer).

本發明中,各個伺服器插槽可分別用以設置不同種類的伺服器。於圖2的實施例中,第一機櫃的第一伺服器插槽至第六伺服器插槽中設置的是一單位一端點(1U1N)的伺服器,因此外殼6上標註的流水編號為「1A」至「6A」。第一機櫃的第七伺服器插槽中設置的是一單位兩端點(1U2N)的伺服器,因此外殼6上標註的流水編號為「7A」與「7B」(即,兩台伺服器分別對應至第七伺服器插槽的A側以及第七伺服器插槽的B側)。 In the present invention, each server slot can be used to set different types of servers, respectively. In the embodiment of FIG. 2, the first server slot to the sixth server slot of the first cabinet are provided with a server with one unit and one end point (1U1N), so the serial number marked on the outer casing 6 is " 1A" to "6A". The seventh server slot of the first cabinet is provided with a server with one unit end point (1U2N), so the serial numbers marked on the outer casing 6 are "7A" and "7B" (ie, two servers respectively Corresponds to the A side of the seventh server slot and the B side of the seventh server slot).

另,第二機櫃的第一伺服器插槽以及第四伺服器插槽至第七伺服器插槽中設置的是一單位一端點(1U1N)的伺服器,因此外殼6上標註的流水編號為「1A」、「4A」至「7A」。第二機櫃的第二伺服器插槽及第三伺服器插槽中設置的是一單位兩端點(1U2N)的伺服器,因此外殼6上標註的流水編號為「2A」、「2B」、「3A」及「3B」(即,四台伺服器分別對應至第二伺服器插槽的A側、B側以及第三伺服器插槽的A側、B側)。 In addition, the first server slot of the second cabinet and the server of the fourth server slot to the seventh server slot are provided with one unit and one end point (1U1N), so the serial number marked on the outer casing 6 is "1A", "4A" to "7A". The second server slot and the third server slot of the second cabinet are provided with a server with one unit end point (1U2N). Therefore, the serial number marked on the outer casing 6 is "2A" and "2B". "3A" and "3B" (that is, the four servers correspond to the A side and the B side of the second server slot and the A side and the B side of the third server slot, respectively).

惟,上述說明僅為本發明的其中一個具體實施範例,資料中心的管理人員可就實際需求調整各個伺服器插槽中設置的伺服器的種類及數量,並且對應修改外殼6上標註的流水編號61,而不以上述者為限。 However, the above description is only one specific embodiment of the present invention. The manager of the data center can adjust the type and number of servers set in each server slot according to actual needs, and correspondingly modify the serial number marked on the outer casing 6. 61, not limited to the above.

為便於說明,下面段落將僅以資料中心內的單一座機櫃2為例,配合通過公共網路交換機3連接機櫃2的機櫃管理系統4,進行本發明的技術方案的闡述,但不以此為限。 For the sake of explanation, the following paragraphs will be based on a single cabinet 2 in the data center, and the cabinet management system 4 connected to the cabinet 2 through the public network switch 3 will be used to explain the technical solution of the present invention. limit.

參閱圖3,為本發明的第一具體實施例的機櫃方塊圖。於本實施例中,機櫃2主要包括機櫃管理控制器(Rack Management Controller,RMC)21、一組內部硬體線路22、複數伺服器插槽20以及複數伺服器5。 3 is a block diagram of a cabinet according to a first embodiment of the present invention. In the embodiment, the cabinet 2 mainly includes a Rack Management Controller (RMC) 21, a set of internal hardware lines 22, a plurality of server slots 20, and a plurality of servers 5.

如圖3所示,機櫃2中的機櫃管理控制器21可通過公共網路交換機3連接遠端的機櫃管理系統4。所述機櫃管理系統4主要可與機櫃2內的機櫃管理控制器21連接以進行溝通,藉此對機櫃2以及機櫃2內設置的複數伺服器5進行監控與管理。 As shown in FIG. 3, the cabinet management controller 21 in the cabinet 2 can be connected to the remote cabinet management system 4 through the public network switch 3. The cabinet management system 4 can be mainly connected to the cabinet management controller 21 in the cabinet 2 for communication, thereby monitoring and managing the cabinet 2 and the plurality of servers 5 installed in the cabinet 2.

於其他實施例中,機櫃管理系統4亦可直接設置於機櫃2中(即,機櫃管理系統4可為設置於任一伺服器插槽20中的伺服器5),並與機櫃管理控制器21直接連接。 In other embodiments, the rack management system 4 can also be directly disposed in the cabinet 2 (ie, the rack management system 4 can be a server 5 disposed in any of the server slots 20), and the rack management controller 21 direct connection.

複數伺服器5分別設置於各個伺服器插槽20中,並且各個伺服器5分別具有基板管理控制器(Baseboard Management Controller,BMC)51。所述機櫃管理控制器21與所述基板管理控制器51為伺服器領域的通常知識,於此不再贅述。 The plurality of servers 5 are respectively disposed in the respective server slots 20, and each of the servers 5 has a Baseboard Management Controller (BMC) 51. The cabinet management controller 21 and the baseboard management controller 51 are common knowledge in the field of servers, and details are not described herein again.

機櫃管理控制器21可通過內部硬體線路22定期偵測各個伺服器插槽20內的各個伺服器5的狀態(例如各個伺服器插槽20內的各個伺服器5的 基板管理控制器的序號(serial number)、媒體存取控制位址(Media Access Control Address,MAC Address)、所使用的網路協定(Internet Protocol,IP)位址等),並且將該些狀態記錄於基板管理控制器列表(圖未標示)中。 The rack management controller 21 can periodically detect the status of each server 5 in each server slot 20 through the internal hardware line 22 (for example, each server 5 in each server slot 20) The serial number of the baseboard management controller, the Media Access Control Address (MAC Address), the Internet Protocol (IP) address used, etc., and record the status In the list of substrate management controllers (not shown).

本發明的主要技術功效在於,各個伺服器插槽20於機櫃2中的位置不會改變(即,具有一絕對位置),且機櫃管理系統4預先對各個伺服器插槽20分別配置有一個綁定的IP位址。當任一伺服器插槽20中的伺服器5被置換時(即,管理者執行一置換動作,例如執行於圖3所示的插槽1A、插槽2A、插槽2B等),機櫃管理系統4可取得該伺服器插槽(即,所述置換動作的一個目標伺服器插槽)所固定對應的IP位址,並將該IP位址分配給被置換的伺服器5的基板管理控制器使用,以取代被置換的伺服器5的基板管理控制器原本使用的IP位址。藉此,機櫃2可依據機櫃管理系統4的指令而自動地進行IP位址的分配,以降低管理人員的工作量。 The main technical effect of the present invention is that the position of each server slot 20 in the cabinet 2 does not change (i.e., has an absolute position), and the rack management system 4 pre-configures each server slot 20 with a tie. The fixed IP address. When the server 5 in any of the server slots 20 is replaced (ie, the administrator performs a replacement action, such as the slot 1A, slot 2A, slot 2B, etc. shown in FIG. 3), the cabinet management The system 4 can obtain the IP address fixed by the server slot (ie, a target server slot of the replacement action), and assign the IP address to the substrate management control of the replaced server 5. The device is used to replace the IP address originally used by the baseboard management controller of the replaced server 5. Thereby, the cabinet 2 can automatically allocate the IP address according to the instruction of the cabinet management system 4, so as to reduce the workload of the manager.

所述內部硬體線路22用以連接機櫃管理控制器21及複數伺服器插槽20,藉此令機櫃管理控制器21可連接各個伺服器插槽20中設置的各個伺服器5的基板管理控制器。本發明中,機櫃2是通過內部硬體線路22對複數伺服器插槽20的位置(即,不會改變的絕對位置)進行各別定義,使每一個伺服器插槽20的位置皆為獨立、唯一且不重複的。如此一來,機櫃管理控制器21可有效地通過內部硬體線路22來確認各個伺服器插槽20的位置,進而將各個伺服器5的狀態與各個伺服器插槽20的位置進行關聯,並記錄於上述基板管理控制器列表中。 The internal hardware circuit 22 is configured to connect the rack management controller 21 and the plurality of server slots 20, thereby enabling the rack management controller 21 to connect the baseboard management controls of the respective servers 5 provided in the respective server slots 20. Device. In the present invention, the cabinet 2 defines the positions of the plurality of server slots 20 (i.e., the absolute positions that do not change) through the internal hardware circuit 22, so that the positions of each of the server slots 20 are independent. Unique and not repeated. In this way, the rack management controller 21 can effectively confirm the position of each server slot 20 through the internal hardware line 22, thereby associating the state of each server 5 with the position of each server slot 20, and Recorded in the above list of substrate management controllers.

本實施例中,當第一伺服器被插入第一伺服器插槽A側(1A)時,機櫃管理系統4將直接取得並分配第一伺服器插槽A側這個位置所綁定的IP位址給第一伺服器的基板管理控制器使用。 In this embodiment, when the first server is inserted into the first server slot A side (1A), the cabinet management system 4 will directly acquire and allocate the IP bit bound to the first server slot A side. The address is used by the baseboard management controller of the first server.

具體地,機櫃管理控制器21持續通過內部硬體線路22偵測第一伺服器插槽A側(1A)內的伺服器的基板管理控制器的狀態,並記錄於上述基板管理控制器列表。機櫃管理系統4可定期與機櫃管理控制器21溝通,並讀取所述基板管理控制器列表。當機櫃管理系統4發現基板管理控制器列表內記錄的伺服器資訊改變時(例如伺服器的基板管理控制器的serial number、MAC Address或使用的IP位址改變),機櫃管理系統4可判斷第一伺服器插槽A側(1A)內的伺服器已被置換(例如已被置換為上述第一伺服器)。此時,機櫃管理系統4可取得第一伺服器插槽A側這個位置所綁定的IP位址,並以該IP位址取代所述第一伺服器的基板管理控制器原本使用的IP位址。 Specifically, the rack management controller 21 continuously detects the state of the board management controller of the server in the first server slot A side (1A) through the internal hardware line 22, and records it in the above-mentioned board management controller list. The rack management system 4 can periodically communicate with the rack management controller 21 and read the list of the baseboard management controllers. When the cabinet management system 4 finds that the server information recorded in the list of the baseboard management controller changes (for example, the serial number of the baseboard management controller of the server, the MAC Address, or the used IP address changes), the cabinet management system 4 can determine the first The server in the server slot A side (1A) has been replaced (e.g., has been replaced with the first server described above). At this time, the rack management system 4 can obtain the IP address bound to the location on the first server slot A side, and replace the original IP address used by the baseboard management controller of the first server with the IP address. site.

同樣地,當第二伺服器被插入第二伺服器插槽A側(2A)時,機櫃管理系統4將直接取得並分配第二伺服器插槽A側這個位置所綁定的IP位址給第二伺服器的基板管理控制器使用。當第三伺服器被插入第二伺服器插槽B側(2B)時,機櫃管理系統4將直接取得並分配第二伺服器插槽B側這個位置所綁定的IP位址給第三伺服器的基板管理控制器使用。 Similarly, when the second server is inserted into the second server slot A side (2A), the cabinet management system 4 will directly obtain and allocate the IP address bound to the location on the second server slot A side. The base server management controller of the second server is used. When the third server is inserted into the second server slot B side (2B), the cabinet management system 4 will directly acquire and allocate the IP address bound to the second server slot B side to the third servo. The baseboard management controller is used.

當複數伺服器5的其中之一被管理人員置換為一個新伺服器(圖未標示)時,機櫃管理系統4先通過機櫃管理控制器21以及內部硬體線路22確認所述新伺服器所在的伺服器插槽20為何(即,讀取上述基板管理控制器列表,以確認置換動作的目標伺服器插槽為何)。接著,機櫃管理系統4查詢所述目標伺服器插槽所綁定的IP位址,並且再將該IP位址分配給所插入的新伺服器的 基板管理控制器使用(具體地,是將綁定的IP位址分配給新伺服器的基板管理控制器51使用)。 When one of the plurality of servers 5 is replaced by a manager with a new server (not shown), the cabinet management system 4 first confirms the location of the new server through the rack management controller 21 and the internal hardware line 22. Why is the server slot 20 (ie, reading the list of baseboard management controllers above to confirm the target server slot for the replacement action). Next, the rack management system 4 queries the IP address bound to the target server slot, and then assigns the IP address to the inserted new server. The baseboard management controller uses (specifically, the base management controller 51 that assigns the bundled IP address to the new server).

所述機櫃管理系統4可預先儲存有一個查詢表單41。於一實施例中,所述查詢表單41中記錄有機櫃2以及與機櫃2綁定的IP位址的對應關係。於此實施例中,於機櫃2開機後,所述機櫃管理系統4即在查詢了查詢表單41後,令機櫃管理控制器21使用機櫃2所綁定的IP位址。 The cabinet management system 4 may store a query form 41 in advance. In an embodiment, the query form 41 records the correspondence between the cabinet 2 and the IP address bound to the cabinet 2. In this embodiment, after the cabinet 2 is powered on, the rack management system 4, after querying the query form 41, causes the rack management controller 21 to use the IP address bound by the cabinet 2.

於另一實施例中,所述查詢表單41中還記錄有複數伺服器插槽20以及分別與各個伺服器插槽20綁定的複數IP位址的對應關係。於本實施例中,機櫃管理系統41依據被置換的新伺服器所在的伺服器插槽20(即,置換動作的目標伺服器插槽)查詢所述查詢表單41,以取得該伺服器插槽20所綁定的IP位址,並令所述新伺服器的基板管理控制器使用所取得的IP位址。 In another embodiment, the query form 41 further records a correspondence between the plurality of server slots 20 and the plurality of IP addresses respectively bound to the respective server slots 20. In this embodiment, the rack management system 41 queries the query form 41 according to the server slot 20 where the replaced new server is located (ie, the target server slot of the replacement action) to obtain the server slot. 20 bound IP addresses, and the base server management controller of the new server uses the obtained IP address.

通過上述技術手段,本發明可確保無論機櫃2內的伺服器5如何置換,皆以固定方式來分配IP位址給機櫃2中的機櫃管理控制器21以及各個伺服器5中的基板管理控制器51,藉此降低資料中心的管理人員的工作量,並且避免人為分配IP位址所可能造成的錯誤。 Through the above technical means, the present invention can ensure that the IP address is assigned to the cabinet management controller 21 in the cabinet 2 and the baseboard management controller in each server 5 in a fixed manner regardless of how the server 5 in the cabinet 2 is replaced. 51, thereby reducing the workload of the data center managers and avoiding the errors that may result from artificially assigning IP addresses.

請同時參閱圖2及圖3。本發明的機櫃2還包括所述外殼6,用以包覆機櫃2中的機櫃管理控制器21、複數伺服器插槽20、複數伺服器5及一組內部硬體線路22。若機櫃管理系統4設置於機櫃2內,則所述外殼6同時包覆機櫃管理系統4。並且,外殼6於各個伺服器插槽20的對應位置上分別標註有流水編號61,並且各流水編號61分別對應至內部硬體線路22所定義的各個伺服器插槽20於機櫃2內的絕對位置。 Please also refer to Figure 2 and Figure 3. The cabinet 2 of the present invention further includes the outer casing 6 for enclosing the cabinet management controller 21, the plurality of server slots 20, the plurality of servers 5, and a set of internal hardware lines 22 in the cabinet 2. If the rack management system 4 is disposed in the cabinet 2, the outer casing 6 simultaneously covers the rack management system 4. Moreover, the outer casing 6 is respectively marked with a running water number 61 at a corresponding position of each of the server slots 20, and each of the running water numbers 61 corresponds to an absolute of each server slot 20 defined in the inner hardware circuit 22 in the cabinet 2. position.

舉例來說,若內部硬體線路22將第一伺服器插槽A側於機櫃2內的絕對位置定義為「1A」,則管理人員可於第一伺服器插槽A側的對應位置上標註「1A」的流水編號61。並且,機櫃管理系統4可將位置「1A」與第一IP位址(例如192.168.0.1)進行綁定,並記錄於查詢表單41中。同樣地,若內部硬體線路22將第二伺服器插槽A側於機櫃2內的絕對位置定義為「2A」,則管理人員可於第二伺服器插槽A側的對應位置上標註有「2A」的流水編號61。並且,機櫃管理系統4可將位置「2A」與第二IP位址(例如192.168.0.2)進行綁定,並記錄於查詢表單41中。 For example, if the internal hardware circuit 22 defines the absolute position of the first server slot A side in the cabinet 2 as "1A", the manager can mark the corresponding position on the first server slot A side. The running number of "1A" is 61. Moreover, the rack management system 4 can bind the location "1A" to the first IP address (for example, 192.168.0.1) and record it in the query form 41. Similarly, if the internal hardware circuit 22 defines the absolute position of the second server slot A side in the cabinet 2 as "2A", the manager can mark the corresponding position on the second server slot A side. The running number of "2A" is 61. Moreover, the rack management system 4 can bind the location "2A" to the second IP address (eg, 192.168.0.2) and record it in the query form 41.

本實施例中,機櫃2可連接公共網路交換機3,並藉由公共網路交換機3連接遠端的機櫃管理系統4。藉此,管理人員可操作機櫃管理系統4,以從遠端對資料中心中的複數機櫃2分別進行監控與管理。 In this embodiment, the cabinet 2 can be connected to the public network switch 3, and connected to the remote cabinet management system 4 by the public network switch 3. Thereby, the manager can operate the rack management system 4 to separately monitor and manage the plurality of cabinets 2 in the data center from the remote end.

如圖3所示,機櫃管理控制器21還具有機櫃網路介面控制器(Network Interface Controller,NIC)212,並且各個伺服器5中的基板管理控制器51分別具有伺服器網路介面控制器52。本實施例中,機櫃2的內部還設置有內部網路交換機23,用以對內連接所述機櫃網路介面控制器212及伺服器網路介面控制器52,並且對外連接所述公共網路交換機3。 As shown in FIG. 3, the rack management controller 21 further has a cabinet network interface controller (NIC) 212, and the baseboard management controller 51 in each server 5 has a server network interface controller 52, respectively. . In this embodiment, the interior of the cabinet 2 is further provided with an internal network switch 23 for internally connecting the cabinet network interface controller 212 and the server network interface controller 52, and externally connecting the public network. Switch 3.

如上所述,機櫃2內的機櫃管理控制器21及各伺服器5中的基板管理控制器51可通過內部網路交換機23及公共網路交換機3連接遠端的機櫃管理系統4。如此一來,當機櫃管理控制器21以及基板管理控制器51皆已被分配了對應的IP位址後,機櫃管理系統4可通過IP位址來於遠端連接至所述機櫃管理控制器21以及各個基板管理控制器51,以對機櫃2及各伺服器5進行監控與管理。 As described above, the cabinet management controller 21 in the cabinet 2 and the baseboard management controller 51 in each server 5 can be connected to the remote cabinet management system 4 through the internal network switch 23 and the public network switch 3. In this way, after the cabinet management controller 21 and the baseboard management controller 51 have been assigned corresponding IP addresses, the cabinet management system 4 can be remotely connected to the rack management controller 21 through an IP address. And each of the substrate management controllers 51 to monitor and manage the cabinet 2 and the servers 5.

續請參閱圖4,為本發明的第一具體實施例的管理流程圖。圖4揭露了本發明的IP位址管理方法,並且本發明的IP位址管理方法主要運用於圖1至圖3所示的機櫃2。本實施例中,機櫃2的機櫃管理控制器21使用機櫃2所綁定的IP位址,並且各個伺服器5的基板管理控制器51分別使用所在位置的伺服器插槽20所綁定的IP位址。 Referring to FIG. 4, a management flow chart of the first embodiment of the present invention is shown. FIG. 4 discloses an IP address management method of the present invention, and the IP address management method of the present invention is mainly applied to the cabinet 2 shown in FIGS. 1 to 3. In this embodiment, the cabinet management controller 21 of the cabinet 2 uses the IP address bound by the cabinet 2, and the baseboard management controller 51 of each server 5 uses the IP bound to the server slot 20 at the location. Address.

於機櫃2被管理人員啟動後,機櫃管理控制器21持續通過內部硬體線路22偵測各個伺服器插槽20中的伺服器5的狀態,並且將偵測結果記錄為上述基板管理控制器列表。具體地,所述基板管理控制器列表可記錄各個伺服器插槽20的編號或位置,以及各個伺服器插槽20內的伺服器5的基板管理控制器的序號(serial number)、媒體存取控制位址(Media Access Control Address,MAC Address)、所使用的IP位址等資訊。 After the cabinet 2 is started by the management personnel, the rack management controller 21 continuously detects the state of the server 5 in each server slot 20 through the internal hardware circuit 22, and records the detection result as the above-mentioned substrate management controller list. . Specifically, the substrate management controller list may record the number or position of each server slot 20, and the serial number and media access of the baseboard management controller of the server 5 in each server slot 20. Information such as the Media Access Control Address (MAC Address) and the IP address used.

本發明中,機櫃管理系統4定期與機櫃管理控制器21溝通,以通過機櫃管理控制器21讀取所述基板管理控制器列表(步驟S10)。藉此,機櫃管理系統4可依據基板管理控制器列表的內容是否改變,判斷各個伺服器插槽20中的伺服器5是否被置換(步驟S12)。 In the present invention, the rack management system 4 periodically communicates with the rack management controller 21 to read the baseboard management controller list through the rack management controller 21 (step S10). Thereby, the rack management system 4 can judge whether or not the server 5 in each server slot 20 is replaced according to whether or not the content of the baseboard management controller list is changed (step S12).

於一實施例中,機櫃管理系統4可於基板管理控制器列表中取出各個伺服器5的基板管理控制器的序號或媒體存取控制位址等硬體資訊,並且於該些硬體資訊改變時,判斷伺服器5已被置換。 In an embodiment, the rack management system 4 can extract hardware information such as the serial number of the baseboard management controller or the media access control address of each server 5 in the list of the baseboard management controller, and change the hardware information. At this time, it is judged that the server 5 has been replaced.

於另一實施例中,機櫃管理系統4可於基板管理控制器列表中取出各個伺服器5的基板管理控制器51所採用的IP位址,再取得各個伺服器插槽20所綁定的IP位址。並且,機櫃管理系統4將基板管理控制器51目前採用 的IP位址與所在位置的伺服器插槽20所綁定的IP位址進行比對,並於比對不符時判斷伺服器5已被置換。 In another embodiment, the rack management system 4 can take out the IP address used by the baseboard management controller 51 of each server 5 in the list of the baseboard management controllers, and obtain the IP bound to each server slot 20. Address. Moreover, the rack management system 4 currently employs the baseboard management controller 51. The IP address is compared with the IP address bound to the server slot 20 at the location, and it is judged that the server 5 has been replaced when the comparison does not match.

若機櫃管理系統4於步驟S12中判斷為否(即,硬體資訊沒有改變,或是所採用的IP位址與所綁定的IP位址相同),則結束本發明的管理方法。並且,於機櫃2啟動的情況下,機櫃管理系統4會持續與機櫃管理控制器21進行溝通,藉此取得最新的基板管理控制器列表,而機櫃管理控制器21會透過內部硬體線路22以及電子訊號去偵測各個伺服器插槽20中的伺服器5的狀態,以令機櫃管理系統44得知最新的基板管理控制器列表。 If the cabinet management system 4 determines NO in step S12 (ie, the hardware information has not changed, or the adopted IP address is the same as the bound IP address), the management method of the present invention is terminated. Moreover, when the cabinet 2 is started, the rack management system 4 continuously communicates with the rack management controller 21, thereby obtaining the latest list of the baseboard management controllers, and the rack management controller 21 passes through the internal hardware lines 22 and The electronic signal detects the status of the server 5 in each of the server slots 20 to cause the rack management system 44 to know the latest list of baseboard management controllers.

若機櫃管理系統4於步驟S12中判斷為是,則機櫃管理系統4確定置換動作的目標伺服器插槽為何(步驟S14),並且取得目標伺服器插槽所綁定的IP位址。 If the cabinet management system 4 determines YES in step S12, the cabinet management system 4 determines the target server slot of the replacement operation (step S14), and obtains the IP address to which the target server slot is bound.

於上述步驟S14中,機櫃管理系統4是直接依據基板管理控制器列表的內容確認新伺服器的置換位置(例如圖3所示的第一伺服器插槽A側(1A)、第二伺服器插槽A側(2A)、第二伺服器插槽B側(2B)等),即,確認置換動作的目標伺服器插槽。接著,機櫃管理系統4依據目標伺服器插槽查詢所述查詢表單41,以取得目標伺服器插槽所綁定的IP位址。最後,機櫃管理系統4以目標伺服器插槽綁定的IP位址取代所述新伺服器5的基板管理控制器51原本使用的另一IP位址(步驟S16)。 In the above step S14, the rack management system 4 directly confirms the replacement position of the new server according to the content of the substrate management controller list (for example, the first server slot A side (1A) shown in FIG. 3, the second server. The slot A side (2A), the second server slot B side (2B), and the like, that is, the target server slot for the replacement operation is confirmed. Next, the rack management system 4 queries the query form 41 according to the target server slot to obtain the IP address bound to the target server slot. Finally, the cabinet management system 4 replaces another IP address originally used by the baseboard management controller 51 of the new server 5 with the IP address bound to the target server slot (step S16).

本實施例中,機櫃管理控制器21係假設被置換的伺服器5的基板管理控制器51已經具有一組IP位址。藉此,當新伺服器5被置換至任一伺服器插槽20後,機櫃管理控制器21就可以通過即有IP位址與新伺服器5進行溝通,並且依據機櫃管理系統4的指令對新伺服器5進行所綁定的IP位址的分 配程序(即,以目標伺服器插槽被綁定的IP位址取代新伺服器5的基板管理控制器51原本使用的IP位址)。 In the present embodiment, the rack management controller 21 assumes that the baseboard management controller 51 of the replaced server 5 already has a set of IP addresses. Thereby, when the new server 5 is replaced with any of the server slots 20, the cabinet management controller 21 can communicate with the new server 5 through the IP address, and according to the instruction of the cabinet management system 4. The new server 5 performs the assignment of the bound IP address. The program (ie, the IP address originally used by the baseboard management controller 51 of the new server 5 is replaced with the IP address to which the target server slot is bound).

最後,機櫃管理控制器21可選擇性地將伺服器的置換狀況以及IP位址的分配狀況回報至機櫃管理系統4(步驟S18)。 Finally, the rack management controller 21 can selectively report the replacement status of the server and the allocation status of the IP address to the rack management system 4 (step S18).

通過上述技術手段,本發明可確保無論一個伺服器5被插入機櫃2的哪一個伺服器插槽20中,皆會被自動分配與所插入的伺服器插槽20綁定的IP位址。 By the above technical means, the present invention ensures that regardless of which server slot 20 of the cabinet 2 is inserted into a server 2, the IP address bound to the inserted server slot 20 is automatically assigned.

參閱圖5A及圖5B,分別為本發明的第一具體實施例的伺服器置換前示意圖及伺服器置換後示意圖。本實施例中,機櫃2的各個伺服器插槽20分別具有綁定的IP位址。具體地,機櫃2依據機櫃管理系統4的指令,預先將第一伺服器插槽A側(1A)綁定第一IP位址(192.168.0.1)、將第二伺服器插槽A側(2A)綁定第二IP位址(192.168.0.2)、將第三伺服器插槽A側(3A)綁定第三IP位址(192.168.0.3)、將第四伺服器插槽A側(4A)綁定第四IP位址(192.168.0.4),以此類推。 Referring to FIG. 5A and FIG. 5B, respectively, a schematic diagram of a server prior to replacement and a schematic diagram of a server replacement according to a first embodiment of the present invention are shown. In this embodiment, each server slot 20 of the cabinet 2 has a bound IP address. Specifically, the cabinet 2 binds the first server slot A side (1A) to the first IP address (192.168.0.1) and the second server slot A side (2A) according to the instruction of the rack management system 4. Bind the second IP address (192.168.0.2), the third server slot A side (3A) to the third IP address (192.168.0.3), and the fourth server slot A side (4A) ) Bind the fourth IP address (192.168.0.4), and so on.

於圖5A的實施例中,管理人員將新伺服器插入第三伺服器插槽A側(3A)中,並且所述新伺服器的基板管理控制器在置換前已經被配置了另一IP位址(圖中以192.168.0.100為例)。 In the embodiment of FIG. 5A, the manager inserts a new server into the third server slot A side (3A), and the base server management controller of the new server has been configured with another IP bit before the replacement. Address (192.168.0.100 in the figure as an example).

具體地,所述新伺服器插入伺服器插槽後,其基板管理控制器必須先與機櫃管理控制器21進行溝通,接著才能進行IP位址的判定與綁定作業。換句話說,機櫃管理控制器21必須要能認得所述新伺服器的基板管理控制器所採用的另一IP位址。於圖5A的實施例中是以令所述新伺服器的基板管理控制器採用與機櫃2中的其他伺服器相同網段的IP位址(即,192.168.0.X)為例。 然而,如上所述,只要所述新伺服器的基板管理控制器可以通過網路與機櫃管理控制器21進行溝通即可,其所採用的IP位址並不以相同網段的IP位址為限。 Specifically, after the new server is inserted into the server slot, the baseboard management controller must first communicate with the cabinet management controller 21, and then the IP address determination and binding operation can be performed. In other words, the rack management controller 21 must be able to recognize another IP address used by the baseboard management controller of the new server. In the embodiment of FIG. 5A, the base station management controller of the new server is configured to take the IP address (ie, 192.168.0.X) of the same network segment as the other servers in the cabinet 2. However, as described above, as long as the baseboard management controller of the new server can communicate with the cabinet management controller 21 through the network, the IP address used by the base station does not use the IP address of the same network segment. limit.

如圖5B所示,當所述新伺服器插入機櫃2後,機櫃管理系統4可通過機櫃管理控制器21及內部硬體線路22確定新伺服器是被插入第三伺服器插槽A側(3A)中(即,查詢了所述基板管理控制器列表後確定第三伺服器插槽A側中的伺服器被置換)。因此,機櫃管理系統4在查詢了所述查詢表單41後,可以取得第三伺服器插槽A側(3A)所綁定的第三IP位址(本實施例中以192.168.0.3為例),並以所取得的第三IP位址取代新伺服器的基板管理控制器原本使用的另一IP位址。 As shown in FIG. 5B, after the new server is inserted into the cabinet 2, the rack management system 4 can determine through the rack management controller 21 and the internal hardware line 22 that the new server is inserted into the third server slot A side ( In 3A) (ie, after querying the list of the baseboard management controllers, it is determined that the server in the third server slot A side is replaced). Therefore, after querying the query form 41, the cabinet management system 4 can obtain the third IP address bound to the third server slot A side (3A) (in this embodiment, 192.168.0.3 is taken as an example). And replace the other IP address originally used by the baseboard management controller of the new server with the obtained third IP address.

如此一來,即使第三伺服器插槽A側(3A)中的伺服器已被置換,但管理人員不需要手動重新設定新伺服器的IP位址,即可直接操作機櫃管理系統4並以第三IP位址(即,192.168.0.3)來連接第三伺服器插槽A側(3A)中的新伺服器,以對新伺服器進行監控與管理,相當便利。 In this way, even if the server in the third server slot A side (3A) has been replaced, the administrator does not need to manually reset the IP address of the new server, and can directly operate the rack management system 4 and The third IP address (ie, 192.168.0.3) is used to connect the new server in the third server slot A side (3A) to monitor and manage the new server, which is quite convenient.

為了達到上述自動分配IP位址給機櫃2中的新伺服器的目的,本發明的機櫃2在置換任一伺服器5之前,還需先進行IP位址的綁定程序。 In order to achieve the above-mentioned automatic assignment of IP addresses to new servers in the cabinet 2, the cabinet 2 of the present invention needs to perform an IP address binding procedure before replacing any of the servers 5.

參閱圖6,為本發明的第二具體實施例的管理流程圖。圖6用以說明上述的IP位址的綁定程序。 Referring to Figure 6, there is shown a management flow diagram of a second embodiment of the present invention. Figure 6 is a diagram for explaining the binding procedure of the above IP address.

如圖6所示,首先,管理人員通電啟動本發明的機櫃2(步驟S30),其中機櫃2內已設置有機櫃管理控制器21,並且各個伺服器插槽20中已分別設置有對應的伺服器5。接著,機櫃2可由管理人員手動或由依機櫃管理系統4的指令分配IP位址給機櫃管理控制器21使用(步驟S32),並且分別分配IP位址給各個伺服器5中的基板管理控制器51使用(步驟S34)。 As shown in FIG. 6, first, the administrator energizes and starts the cabinet 2 of the present invention (step S30), wherein the cabinet management controller 21 is already disposed in the cabinet 2, and corresponding servos are respectively set in the respective server slots 20. Device 5. Next, the cabinet 2 can be used by the manager or manually by the cabinet management system 4 to assign an IP address to the rack management controller 21 (step S32), and respectively assign an IP address to the baseboard management controller 51 in each server 5. Used (step S34).

於機櫃管理控制器21及各個基板管理控制器51的IP位址皆分配完成後,管理人員即可操作機櫃管理系統4以連接機櫃2的機櫃管理控制器21,並取得機櫃管理控制器21的IP位址(步驟S36)。 After the IP addresses of the rack management controller 21 and the respective baseboard management controllers 51 are all allocated, the management personnel can operate the rack management system 4 to connect the rack management controller 21 of the cabinet 2, and obtain the cabinet management controller 21 IP address (step S36).

接著,機櫃管理系統4可由機櫃管理控制器21分別取得各個基板管理控制器51目前使用的IP位址(步驟S38),以及各個伺服器5所對應的伺服器插槽20的位置(步驟S40)。值得一提的是,所述機櫃管理系統4可通過網路從遠端連接機櫃2,亦可通過有線方式直接連接機櫃2,不加以限定。 Next, the rack management system 4 can obtain the IP addresses currently used by the respective baseboard management controllers 51 by the rack management controller 21 (step S38), and the positions of the server slots 20 corresponding to the respective servers 5 (step S40). . It is worth mentioning that the cabinet management system 4 can be connected to the cabinet 2 from the remote end through a network, or can be directly connected to the cabinet 2 through a wired manner, which is not limited.

於一實施例中,機櫃管理系統4可通過所述公共網路交換機3來連接機櫃2。於取得了機櫃管理控制器21以及各個基板管理控制器51的IP位址後,機櫃管理系統4亦可通過所述公共網路交換機3以及所述內部網路交換機23來連接機櫃管理控制器21及各個伺服器5的基板管理控制器51。 In an embodiment, the cabinet management system 4 can connect to the cabinet 2 through the public network switch 3. After obtaining the IP addresses of the cabinet management controller 21 and the respective baseboard management controllers 51, the rack management system 4 can also connect the rack management controller 21 through the public network switch 3 and the internal network switch 23. And a substrate management controller 51 of each server 5.

具體地,機櫃管理系統4可在連接至機櫃管理控制器21後,同時由機櫃管理控制器21取得各個基板管理控制器51的IP位址以及各個伺服器5所對應的伺服器插槽20的位置,換句話說,上述步驟S38與S40並沒有執行上的順序關係。 Specifically, the rack management system 4 can obtain the IP address of each baseboard management controller 51 and the server slot 20 corresponding to each server 5 by the rack management controller 21 after being connected to the rack management controller 21. Position, in other words, the above steps S38 and S40 are not executed in the order relationship.

接著,機櫃管理系統4可依據管理人員的操作對機櫃2進行一個IP位址的綁定程序,以將機櫃2與機櫃管理控制器21目前使用的IP位址進行綁定,並將各個伺服器5所對應的伺服器插槽20分別與各個伺服器5的基板管理控制器51目前使用的IP位址進行綁定(步驟S42)。 Then, the cabinet management system 4 can perform an IP address binding procedure on the cabinet 2 according to the operation of the administrator to bind the cabinet 2 with the IP address currently used by the rack management controller 21, and each server is connected. The server slots 20 corresponding to the five are respectively bound to the IP addresses currently used by the baseboard management controller 51 of each server 5 (step S42).

當上述綁定程序完成後,機櫃管理系統4可進一步依據綁定結果產生上述查詢表單41(步驟S44)。如此一來,查詢表單41中將記錄有機櫃2以 及與機櫃2綁定的IP位址的對應關係。藉此,無論機櫃2的伺服器如何被置換,機櫃2內的機櫃管理控制器21皆可被分配並使用與機櫃2綁定的IP位址。 After the binding process is completed, the cabinet management system 4 may further generate the query form 41 according to the binding result (step S44). In this way, the cabinet 2 will be recorded in the inquiry form 41. And the correspondence between the IP addresses bound to the cabinet 2. Thereby, regardless of how the servers of the cabinet 2 are replaced, the cabinet management controller 21 in the cabinet 2 can be assigned and use the IP address bound to the cabinet 2.

並且,於步驟S44後,查詢表單41還可記錄複數伺服器插槽20以及分別與各個伺服器插槽20綁定的IP位址的對應關係。藉此,無論各個伺服器插槽20內的伺服器5如何置換,被置換的新伺服器5的基板管理控制器51皆可被分配並使用與對應的伺服器插槽20綁定的IP位址。 Moreover, after step S44, the query form 41 can also record the correspondence between the plurality of server slots 20 and the IP addresses respectively bound to the respective server slots 20. Thereby, regardless of how the server 5 in each server slot 20 is replaced, the substrate management controller 51 of the replaced new server 5 can be assigned and uses the IP bit bound to the corresponding server slot 20. site.

通過上述技術方案,本發明可維持各個位置(包括機櫃2的位置以及伺服器插槽20的位置)與各個IP位址的綁定效果,藉此達到資料中心內所有機櫃及所有伺服器的全面性IP位址管理及維護。 Through the above technical solution, the present invention can maintain the binding effect of each location (including the position of the cabinet 2 and the position of the server slot 20) and each IP address, thereby achieving comprehensiveness of all cabinets and all servers in the data center. IP address management and maintenance.

以上所述僅為本發明之較佳具體實例,非因此即侷限本發明之專利範圍,故舉凡運用本發明內容所為之等效變化,均同理皆包含於本發明之範圍內,合予陳明。 The above is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Therefore, equivalent changes to the scope of the present invention are included in the scope of the present invention. Bright.

Claims (9)

一種智能機櫃,包括:一機櫃管理控制器(Rack Management Controller,RMC);一機櫃管理系統,連接該機櫃管理控制器;複數伺服器插槽;複數伺服器,分別設置於各該伺服器插槽中,並且分別具有一基板管理控制器(Baseboard Management Controller,BMC);及一組內部硬體線路,對該複數伺服器插槽的位置進行各別定義,並且連接該RMC與各該伺服器插槽中的各該伺服器;其中,於該智能機櫃啟動後,以手動或依指令分別分配IP位址給該RMC以及各該伺服器的該BMC,該機櫃管理系統連接該RMC以取得該RMC所使用的IP位址,並且由該RMC取得各該BMC所使用的IP位址,以及取得各該伺服器所對應的該些伺服器插槽;其中,該機櫃管理系統對該智能機櫃進行IP位址的綁定程序,以將該智能機櫃與該RMC使用的該IP位址進行綁定,並將各該伺服器所對應的該伺服器插槽分別與各該伺服器的該BMC使用的該IP位址進行綁定,並且再依據綁定結果產生一查詢表單,其中該查詢表單記錄該智能機櫃及與該智能機櫃綁定的該IP位址的對應關係,以及該複數伺服器插槽及分別與各該伺服器插槽綁定的複數該IP位址的對應關係;其中,當該複數伺服器的其中之一被置換為一新伺服器時,該機櫃管理系統通過該RMC及該組內部硬體線路確認該新伺服器所對應的該伺服器插槽,並於查詢所對應的該伺服器插槽所綁定的一網路協定(Internet Protocol,IP)位址後,以該IP位址取代該新伺服器的該BMC原本使用的另一IP位址。 A smart cabinet includes: a rack management controller (RMC); a rack management system, connected to the rack management controller; a plurality of server slots; and a plurality of servers respectively disposed in each server slot And each has a Baseboard Management Controller (BMC); and a set of internal hardware lines, each of which defines a location of the plurality of server slots, and connects the RMC to each of the server slots Each of the servers in the slot; wherein, after the smart cabinet is started, the IP address is respectively assigned to the RMC and the BMC of each server by manual or according to an instruction, and the cabinet management system connects the RMC to obtain the RMC. The IP address used, and the IP address used by each BMC is obtained by the RMC, and the server slots corresponding to the servers are obtained; wherein the cabinet management system performs IP on the smart cabinet a binding program of the address, the binding of the smart cabinet to the IP address used by the RMC, and the server slot corresponding to each server and the server respectively The IP address used by the BMC is bound, and a query form is generated according to the binding result, where the query form records the correspondence between the smart cabinet and the IP address bound to the smart cabinet, and the complex servo a slot corresponding to the plurality of IP addresses bound to each of the server slots; wherein, when one of the plurality of servers is replaced with a new server, the cabinet management system passes the The RMC and the internal hardware circuit of the group confirm the server slot corresponding to the new server, and query a corresponding network protocol bound to the server slot (Internet) After the Protocol, IP address, the IP address is replaced with another IP address originally used by the BMC of the new server. 如請求項1所述的智能機櫃,其中該查詢表單記錄該智能機櫃及與該智能機櫃綁定的該IP位址的對應關係,其中該RMC使用該智能機櫃所綁定的該IP位址。 The smart cabinet of claim 1, wherein the query form records the correspondence between the smart cabinet and the IP address bound to the smart cabinet, wherein the RMC uses the IP address bound by the smart cabinet. 如請求項1所述的智能機櫃,其中該查詢表單記錄該複數伺服器插槽及分別與各該伺服器插槽綁定的複數該IP位址的對應關係,該機櫃管理系統依據該新伺服器所對應的該伺服器插槽查詢該查詢表單,以取得所對應的該伺服器插槽所綁定的該IP位址。 The smart cabinet according to claim 1, wherein the query form records the correspondence between the plurality of server slots and the plurality of IP addresses respectively bound to the server slots, and the cabinet management system is configured according to the new servo The server slot corresponding to the server queries the query form to obtain the corresponding IP address bound to the server slot. 如請求項3所述的智能機櫃,其中更包括一外殼,包覆該RMC、該複數伺服器插槽、該複數伺服器及該組內部硬體線路,該外殼於各該伺服器插槽的對應位置上分別標註有一流水編號,並且各該流水編號分別對應至該組內部硬體線路所定義的各該伺服器插槽於該智能機櫃中的一絕對位置。 The smart cabinet of claim 3, further comprising a casing covering the RMC, the plurality of server slots, the plurality of servers, and the set of internal hardware circuits, wherein the casing is in each of the server slots The corresponding locations are respectively marked with a first-class water number, and each of the flow numbers corresponds to an absolute position of each of the server slots defined in the internal hardware circuit of the group in the smart cabinet. 如請求項4所述的智能機櫃,其中該RMC具有一機櫃網路介面控制器(Network Interface Controller,NIC),各該BMC分別具有一伺服器NIC,該智能機櫃更包括一內部網路交換機,該RMC通過該機櫃NIC連接該內部網路交換機,並且各該BMC分別通過該伺服器NIC連接該內部網路交換機,以通過該內部網路交換機連接該機櫃管理系統。 The smart cabinet of claim 4, wherein the RMC has a cabinet network interface controller (NIC), each of the BMCs has a server NIC, and the smart cabinet further includes an internal network switch. The RMC is connected to the internal network switch through the cabinet NIC, and each of the BMCs respectively connects the internal network switch through the server NIC to connect the rack management system through the internal network switch. 一種如請求項1所述的智能機櫃所使用的網路協定位址管理方法,包括:a01)啟動該智能機櫃;a02)以手動或依指令分別分配IP位址給該RMC以及各該伺服器的該BMC; a03)通過該機櫃管理系統連接該智能機櫃的該RMC;a04)該機櫃管理系統取得該RMC所使用的IP位址;a05)該機櫃管理系統由該RMC取得各該BMC所使用的IP位址,以及各該伺服器所對應的該些伺服器插槽;a06)該機櫃管理系統對該智能機櫃進行IP位址的綁定程序,以將該智能機櫃與該RMC使用的該IP位址進行綁定,並將各該伺服器所對應的該伺服器插槽分別與各該伺服器的該BMC使用的該IP位址進行綁定;a07)步驟a06)後,依據綁定結果產生一查詢表單,其中該查詢表單記錄該智能機櫃及與該智能機櫃綁定的該IP位址的對應關係,以及該複數伺服器插槽及分別與各該伺服器插槽綁定的複數該IP位址的對應關係;a)該機櫃管理系統通過該RMC讀取一基板管理控制器列表,其中該基板管理控制器列表記錄各該BMC的一序號、一媒體存取控制位址或一IP位址;b)依據該基板管理控制器列表的內容判斷各該伺服器插槽內的各該伺服器是否被置換為該新伺服器;c)於判斷該新伺服器被置換時,確定該新伺服器所對應的該伺服器插槽;d)步驟c)後,該機櫃管理系統查詢所對應的該伺服器插槽所綁定的該IP位址;及e)步驟d)後,以該IP位址取代該新伺服器的該BMC原本使用的另一IP位址。 A network protocol address management method used by the smart cabinet according to claim 1, comprising: a01) starting the smart cabinet; a02) respectively assigning an IP address to the RMC and each server by manual or according to an instruction. The BMC; A03) connecting the RMC of the smart cabinet through the rack management system; a04) the cabinet management system obtains an IP address used by the RMC; a05) the rack management system obtains, by the RMC, an IP address used by each BMC And the server slots corresponding to the servers; a06) the cabinet management system performs an IP address binding procedure on the smart cabinet to perform the smart cabinet and the IP address used by the RMC Binding, and binding the server slot corresponding to each server to the IP address used by the BMC of each server; a07) after step a06), generating a query according to the binding result a form, wherein the query form records a correspondence between the smart cabinet and the IP address bound to the smart cabinet, and the plurality of server slots and the plurality of IP addresses respectively bound to the server slots Corresponding relationship; a) the cabinet management system reads a list of the baseboard management controllers through the RMC, wherein the baseboard management controller list records a serial number, a media access control address or an IP address of each BMC; b) according to the substrate management controller The content of the table determines whether each server in each server slot is replaced with the new server; c) determines that the new server is replaced, determines the server slot corresponding to the new server ;d) after step c), the cabinet management system queries the corresponding IP address bound to the server slot; and e) after step d), replacing the new server with the IP address Another IP address originally used by the BMC. 如請求項6所述的網路協定位址管理方法,其中步驟b)是於該基板管理控制器列表中的任一該伺服器的該BMC的該序號或該媒體存取控制位址改變時,判斷該伺服器被置換,或於該基板管理控制器列表中的任一該伺服器的 該BMC目前使用的IP位址與對應的該伺服器插槽所綁定的IP位址不相同時,判斷該伺服器被置換。 The network protocol address management method according to claim 6, wherein the step b) is when the serial number of the BMC of the server or the media access control address of the server management controller list is changed. Determining that the server is replaced, or any of the servers in the list of substrate management controllers When the IP address currently used by the BMC is different from the IP address bound to the corresponding server slot, it is determined that the server is replaced. 如請求項6所述的網路協定位址管理方法,其中步驟d)是由該機櫃管理系統依據該新伺服器所對應的該伺服器插槽查詢該查詢表單,以取得所對應的該伺服器插槽所綁定的該IP位址。 The network protocol address management method according to claim 6, wherein the step d) is that the cabinet management system queries the query form according to the server slot corresponding to the new server to obtain the corresponding servo. The IP address to which the slot is bound. 如請求項6所述的網路協定位址管理方法,其中該智能機櫃更包括用以包覆該RMC、該複數伺服器插槽、該複數伺服器及該組內部硬體線路的一外殼,該外殼於各該伺服器插槽的對應位置上分別標註有一流水編號,並且各該流水編號分別對應至該組內部硬體線路所定義的各該伺服器插槽於該智能機櫃中的一絕對位置。 The network protocol address management method of claim 6, wherein the smart cabinet further comprises a casing for enclosing the RMC, the plurality of server slots, the plurality of servers, and the set of internal hardware lines. The shells are respectively marked with a first-class water number at corresponding positions of the server slots, and each of the pipeline numbers corresponds to an absolute of each of the server slots defined in the group of internal hardware lines in the smart cabinet. position.
TW106141384A 2017-11-28 2017-11-28 Intellectual rack and ip addresses managing method thereof TWI656762B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW106141384A TWI656762B (en) 2017-11-28 2017-11-28 Intellectual rack and ip addresses managing method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW106141384A TWI656762B (en) 2017-11-28 2017-11-28 Intellectual rack and ip addresses managing method thereof

Publications (2)

Publication Number Publication Date
TWI656762B true TWI656762B (en) 2019-04-11
TW201926947A TW201926947A (en) 2019-07-01

Family

ID=66995940

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106141384A TWI656762B (en) 2017-11-28 2017-11-28 Intellectual rack and ip addresses managing method thereof

Country Status (1)

Country Link
TW (1) TWI656762B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI715479B (en) * 2020-03-31 2021-01-01 神雲科技股份有限公司 Method for address allocating with accessing and server system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5490252A (en) * 1992-09-30 1996-02-06 Bay Networks Group, Inc. System having central processor for transmitting generic packets to another processor to be altered and transmitting altered packets back to central processor for routing
CN101946258A (en) * 2007-12-20 2011-01-12 惠普开发有限公司 Model based deployment of computer based business process on dedicated hardware
CN103092735A (en) * 2011-10-28 2013-05-08 英业达科技有限公司 Method for updating node states
TW201611559A (en) * 2014-09-08 2016-03-16 廣達電腦股份有限公司 Method and system of automatic generation of server network topology
TW201740791A (en) * 2016-05-03 2017-11-16 廣達電腦股份有限公司 Server system and cooling method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5490252A (en) * 1992-09-30 1996-02-06 Bay Networks Group, Inc. System having central processor for transmitting generic packets to another processor to be altered and transmitting altered packets back to central processor for routing
CN101946258A (en) * 2007-12-20 2011-01-12 惠普开发有限公司 Model based deployment of computer based business process on dedicated hardware
CN103092735A (en) * 2011-10-28 2013-05-08 英业达科技有限公司 Method for updating node states
TW201611559A (en) * 2014-09-08 2016-03-16 廣達電腦股份有限公司 Method and system of automatic generation of server network topology
TW201740791A (en) * 2016-05-03 2017-11-16 廣達電腦股份有限公司 Server system and cooling method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI715479B (en) * 2020-03-31 2021-01-01 神雲科技股份有限公司 Method for address allocating with accessing and server system

Also Published As

Publication number Publication date
TW201926947A (en) 2019-07-01

Similar Documents

Publication Publication Date Title
TWI568231B (en) Method and system of automatic generation of server network topology
US10419285B2 (en) Configuration management device, configuration interface device and method for vendor-independent network device configuration
TWI638553B (en) Method for detecting internet protocol address and media access control address
US8180862B2 (en) Arrangements for auto-merging processing components
US10313301B1 (en) Intellectual rack and IP addresses managing method thereof
TWI462016B (en) Method for automatic installation and setting of server and application program for the same
US20190090154A1 (en) Discovery, location determination, and crosschecking of network-connected data center components
TWI655544B (en) System for determining slot location in an equipment rack
KR20110065437A (en) Data processing device, method, and server to determine types of electric appliances
US10387347B2 (en) Method to locate SAS JBOD cable routing
CN103167050A (en) Automatic installation and setting method of server
TW201401829A (en) System and method for locating server
US8819200B2 (en) Automated cluster node configuration
CN111124603A (en) CD-ROM mounting method, device and related equipment
TWI656762B (en) Intellectual rack and ip addresses managing method thereof
WO2020151447A1 (en) Offline configuration method and apparatus for smart device
US20150215170A1 (en) Network card with searching ability, monitoring device with the network card, and searching method used for the same
CN109889615A (en) Intelligent cabinet and its internet protocol address management method
JP4645236B2 (en) Network device address automatic setting method and system
EP3284214B1 (en) Converged system compliance checking
RU2697745C1 (en) Intelligent rack and method of managing ip-addresses used therein
CN109962810B (en) Storage server management system
CN103475501A (en) Remote management method of rack position, system and inventory platform
CN109039770A (en) A kind of method for refreshing, device and the relevant device of server CMC
TWI782766B (en) Ipmi and redfish account synchronization method

Legal Events

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