TW201418974A - Disc allocation method and electronic apparatus - Google Patents

Disc allocation method and electronic apparatus Download PDF

Info

Publication number
TW201418974A
TW201418974A TW101141439A TW101141439A TW201418974A TW 201418974 A TW201418974 A TW 201418974A TW 101141439 A TW101141439 A TW 101141439A TW 101141439 A TW101141439 A TW 101141439A TW 201418974 A TW201418974 A TW 201418974A
Authority
TW
Taiwan
Prior art keywords
disk
management controller
control unit
disk configuration
micro control
Prior art date
Application number
TW101141439A
Other languages
Chinese (zh)
Other versions
TWI468931B (en
Inventor
Hsueh-Jen Chang
Huang-Ching Wang
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 TW101141439A priority Critical patent/TWI468931B/en
Publication of TW201418974A publication Critical patent/TW201418974A/en
Application granted granted Critical
Publication of TWI468931B publication Critical patent/TWI468931B/en

Links

Abstract

A disc allocation method and an electronic apparatus are provided. In the present invention, a baseboard management controller (BMC) sends a disc allocation information to a micro controller unit. And the micro controller unit sends the disc allocation information to an expander such that the expander executes a disc allocation according to the disc allocation information.

Description

磁碟配置方法及伺服器機架系統 Disk configuration method and server rack system

本發明是有關於一種磁碟配置機制,且特別是有關於一種可透過基板管理控制器的磁碟配置方法及伺服器機架系統。 The present invention relates to a disk configuration mechanism, and more particularly to a disk configuration method and a server rack system that are permeable to a substrate management controller.

一般而言,串列連接小電腦系統介面擴展器(Serial attached SCSI(Small Computer System Interface),SAS)硬碟機櫃都採模組化設計,其提供頻道內(in-band)SCSI箱體服務(SCSI Enclosure Service,SES)等系統錯誤及狀態報告功能,每一部硬碟均具備運作狀態及故障顯示燈號,而韌體則可以透過in-band SAS埠或序列埠更新。 In general, serial attached SCSI (Small Computer System Interface) (SAS) hard disk cabinets are modularly designed to provide in-band SCSI cabinet services ( System error and status reporting functions such as SCSI Enclosure Service (SES), each hard disk has operational status and fault display lights, and the firmware can be updated via in-band SAS or serial port.

由於硬碟配置的方式只能透過頻道內(in-band)的方式,即透過作業系統並搭配相關的應用程式及驅動程式的方式來達成。所以必須透過硬碟並搭配相關軟體來實現頻道內(in-band)的方式。因此,有硬體及軟體上的負擔。當硬碟或軟體運作出現異常,缺乏第二種支援此項功能的風險對策。此外,基板管理控制器因功能受限於硬體及韌體設計,因此並無法直接與SAS擴展器(expander)進行溝通,故無法直接支援旁頻帶(side-band)的方式來硬碟配置,上述旁頻帶(side-band)的方式也就直接利用基板管理控制器的方式。 The way the hard disk is configured can only be achieved by means of an in-band approach, ie through the operating system and associated applications and drivers. Therefore, the in-band mode must be implemented through a hard disk and associated software. Therefore, there is a burden on the hardware and the software. When the hard disk or software operates abnormally, there is no second risk countermeasure to support this function. In addition, since the board management controller is limited in hardware and firmware design, it cannot directly communicate with the SAS expander, so it cannot directly support the side-band method for hard disk configuration. The above-mentioned side-band approach also takes the form of a substrate management controller directly.

本發明提供一種磁碟配置方法及伺服器機架系統,可利用基板管理控制器(Baseboard Management Controller,BMC)來執行磁碟配置。 The present invention provides a disk configuration method and a server rack system, which can perform disk configuration using a Baseboard Management Controller (BMC).

本發明提出一種磁碟配置方法,適用於伺服器機架系統,其中伺服器機架系統包括基板管理控制器、微控制單元以及擴展單元。此磁碟配置方法包括:基板管理控制器傳送磁碟配置資訊至微控制單元;由微控制單元傳送磁碟配置資訊至擴展單元;以及擴展單元依據磁碟配置資訊來執行磁碟配置。 The present invention provides a disk configuration method suitable for a server rack system, wherein the server rack system includes a baseboard management controller, a micro control unit, and an expansion unit. The disk configuration method includes: the substrate management controller transmits the disk configuration information to the micro control unit; the disk configuration information is transmitted by the micro control unit to the expansion unit; and the expansion unit performs the disk configuration according to the disk configuration information.

在本發明之一實施例中,上述在透過基板管理控制器傳送磁碟配置資訊至微控制單元之前,微控制單元傳送取得資訊指令至基板管理控制器,藉以在基板管理控制器接收到磁碟配置資訊時,自基板管理控制器接收磁碟配置資訊。 In an embodiment of the invention, before transmitting the disk configuration information to the micro control unit through the substrate management controller, the micro control unit transmits the acquisition information command to the substrate management controller, so that the substrate management controller receives the disk. When the information is configured, the disk configuration information is received from the baseboard management controller.

在本發明之一實施例中,上述磁碟配置方法更包由括微控制單元傳送一取得狀態指令至擴展單元,以自擴展單元獲得磁碟狀態。並且,微控制單元將磁碟狀態傳送至基板管理控制器。 In an embodiment of the present invention, the disk configuration method further includes transmitting a get state command to the extension unit by the micro control unit to obtain the disk state from the extension unit. And, the micro control unit transmits the disk state to the baseboard management controller.

在本發明之一實施例中,上述磁碟配置方法更包括由微處理控制器傳送其自身的狀態資訊至基板管理控制器。 In an embodiment of the invention, the disk configuration method further includes transmitting, by the microprocessor controller, its own status information to the baseboard management controller.

在本發明之一實施例中,上述在擴展單元依據磁碟配置資訊來完成磁碟模組的配置之後,微控制單元自擴展單元接收一更新結果,並將更新結果傳送至基板管理控制器。 In an embodiment of the present invention, after the expansion unit completes the configuration of the disk module according to the disk configuration information, the micro control unit receives an update result from the extension unit, and transmits the update result to the baseboard management controller.

在本發明之一實施例中,上述微控制單元配置於風扇控制電路板。 In an embodiment of the invention, the micro control unit is configured on a fan control circuit board.

本發明提出一種伺服器機架系統,包括擴展單元、配置有一基板管理控制器的主機板以及微控制單元。微控制單元透過第一連接介面耦接至基板管理控制器,以及透過第二連接介面耦接至擴展單元。上述微控制單元透過第一連接介面自基板管理控制器接收一磁碟配置資訊,並且透過第二連接介面傳送磁碟配置資訊至擴展單元,使得擴展單元依據磁碟配置資訊來執行磁碟配置。 The present invention provides a server rack system including an expansion unit, a motherboard configured with a baseboard management controller, and a micro control unit. The micro control unit is coupled to the baseboard management controller through the first connection interface, and coupled to the expansion unit through the second connection interface. The micro control unit receives a disk configuration information from the substrate management controller through the first connection interface, and transmits the disk configuration information to the expansion unit through the second connection interface, so that the expansion unit performs the disk configuration according to the disk configuration information.

在本發明之一實施例中,上述伺服器機架系統更包括磁碟模組,其耦接至擴展單元。磁碟模組包括多個儲存單元。其中,上述擴展單元依據磁碟配置資訊來配置上述儲存單元。 In an embodiment of the invention, the server rack system further includes a disk module coupled to the expansion unit. The disk module includes a plurality of storage units. The expansion unit configures the storage unit according to the disk configuration information.

在本發明之一實施例中,上述伺服器機架系統更包括風扇控制板,其配置有上述微控制單元。 In an embodiment of the invention, the server rack system further includes a fan control board configured with the above micro control unit.

在本發明之一實施例中,上述伺服器機架系統更包括一中間板(mid-plane),上述中間板經由第三連接介面耦接在主機板與擴展單元之間,並且經由第一連接介面耦接在微控制單元與基板管理控制器之間。 In an embodiment of the invention, the server rack system further includes a mid-plane, the intermediate board is coupled between the motherboard and the expansion unit via the third connection interface, and is connected via the first connection The interface is coupled between the micro control unit and the baseboard management controller.

在本發明之一實施例中,上述第一連接介面為智慧平台管理匯流排(Intelligent Platform Management Bus,IPMB)介面、第二連接介面為通用非同步收發傳輸器(Universal Asynchronous Receiver/Transmitter,UART)介面,第三連接介面為序列SCSI(Serial attached SCSI,SAS) 介面。 In an embodiment of the present invention, the first connection interface is an Intelligent Platform Management Bus (IPMB) interface, and the second connection interface is a Universal Asynchronous Receiver/Transmitter (UART). Interface, the third connection interface is Serial Attached SCSI (SAS) interface.

基於上述,本發明利用另一微控制單元將基板管理控制器的磁碟配置資訊傳送至擴展單元,解決了基板管理控制器無法直接與擴展單元互相溝通的問題。 Based on the above, the present invention utilizes another micro control unit to transmit the disk configuration information of the substrate management controller to the expansion unit, thereby solving the problem that the substrate management controller cannot directly communicate with the expansion unit.

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

第一實施例First embodiment

圖1是依照本發明第一實施例的伺服器機架系統的示意圖。請參照圖1,伺服器機架系統100包括主機板110、微控制單元120以及擴展單元130。另外,主機板110中更包括一基板管理控制器(Baseboard Management Controller,BMC)111。 1 is a schematic diagram of a servo rack system in accordance with a first embodiment of the present invention. Referring to FIG. 1 , the server rack system 100 includes a motherboard 110 , a micro control unit 120 , and an expansion unit 130 . In addition, the motherboard 110 further includes a Baseboard Management Controller (BMC) 111.

擴展單元130用以管理磁碟的配置。舉例來說,擴展單元130為串列連接小電腦系統介面擴展器(SAS expander)。SAS擴展器有助於眾多SAS裝置之間的交流。例如,SAS擴展器包含兩個或兩個以上的外部擴展埠,而每一擴展器內部包含至少一個用於管理的SAS管理通訊協定裝置。就一儲存系統而言,其具有數個SAS擴展器,而每個SAS擴展器皆有一個可與外部連結的串聯埠以及支援SSP協定且能識別診斷指令之OEM(original equipment manufacturer)操作碼並可執行診斷指令的韌體。 The expansion unit 130 is used to manage the configuration of the disk. For example, the expansion unit 130 is a serial connection small computer system interface expander (SAS expander). The SAS expander facilitates communication between numerous SAS devices. For example, a SAS expander contains two or more external extensions, and each expander internally contains at least one SAS management protocol device for management. In the case of a storage system, it has several SAS expanders, and each SAS expander has a serial port that can be connected externally and an OEM (original equipment manufacturer) opcode that supports the SSP protocol and can recognize the diagnostic command. A firmware that can execute diagnostic instructions.

微控制單元120例如為額外配置的控制單元,或者可 利用伺服器機架系統100中現有的風扇控制板(Fan Control Board,FCB)上的控制單元來實現。微控制單元120過第一連接介面140耦接至BMC 111,以及透過第二連接介面150耦接至擴展單元130。 The micro control unit 120 is, for example, an additionally configured control unit, or This is accomplished using a control unit on an existing Fan Control Board (FCB) in the server rack system 100. The micro control unit 120 is coupled to the BMC 111 through the first connection interface 140 and to the expansion unit 130 through the second connection interface 150.

上述第一連接介面140用來作為聯繫微控制單元120與基板管理控制器111的溝通介面。例如以智慧平台管理匯流排(Intelligent Platform Management Bus,IPMB)介面來實現第一連接介面140,並定義微控制單元120與基板管理控制器111雙方的IPMB溝通協定。另外,亦可以內部整合電路(Inter-Integrated Circuit,I2C)匯流排作為第一連接介面140。 The first connection interface 140 is used as a communication interface between the micro control unit 120 and the substrate management controller 111. For example, the first interface interface 140 is implemented by an intelligent platform management bus (IPMB) interface, and an IPMB communication protocol between the micro control unit 120 and the substrate management controller 111 is defined. In addition, an inter-integrated circuit (I 2 C) bus bar may be used as the first connection interface 140.

另外,上述第二連接介面150用來作為聯繫擴展單元130與微控制單元120的溝通介面。例如以通用非同步收發傳輸器(Universal Asynchronous Receiver/Transmitter,UART)介面來實現第二連接介面150,並且定義擴展單元130與微控制單元120雙方之間的UART溝通協定。 In addition, the second connection interface 150 is used as a communication interface between the extension unit 130 and the micro control unit 120. For example, the second connection interface 150 is implemented by a Universal Asynchronous Receiver/Transmitter (UART) interface, and a UART communication protocol between the extension unit 130 and the micro control unit 120 is defined.

透過上述的耦接方式,能夠使在本端或遠端的使用者利用基板管理控制器111的功能,並且透過微控制單元120的韌體更新方式來更新磁碟配置,解決了基板管理控制器120無法直接傳送如IPMB格式等的封包至擴展單元130的問題。 Through the above coupling manner, the user at the local end or the remote end can use the function of the substrate management controller 111 and update the disk configuration through the firmware update mode of the micro control unit 120, thereby solving the substrate management controller. 120 cannot directly transmit a packet such as the IPMB format to the extension unit 130.

底下即搭配上述伺服器機架系統100來說明磁碟配置方法的各步驟。 The steps of the disk configuration method will be described below in conjunction with the server rack system 100 described above.

圖2是依照本發明第一實施例的磁碟配置方法的流程 圖。請同時參照圖1及圖2,在步驟S205中,透過基板管理控制器110傳送磁碟配置資訊至微控制單元120。底下舉例來說明磁碟配置資訊包括哪些內容。 2 is a flow chart of a disk configuration method according to a first embodiment of the present invention; Figure. Referring to FIG. 1 and FIG. 2 simultaneously, in step S205, the disk configuration information is transmitted to the micro control unit 120 through the substrate management controller 110. The following is an example to illustrate what is included in the disk configuration information.

圖3是依照本發明第一實施例的磁碟配置資訊的示意圖。請參照圖3,磁碟配置資訊300例如為組態映像檔(Configuration Image),包括標頭區域310與磁碟組態區域320。標頭區域310記錄了映像檔類型(image type)、磁碟配置資訊300的版本、檢查碼(checksum)等。磁碟組態區域320則記錄了映像檔的版本、硬碟映射資訊(mapping information)等。其中,上述標頭區域310所記錄的檢查碼用以提供接收端(例如微控制單元120)來判斷所接收到的磁碟配置資訊300是否正確。 3 is a schematic diagram of disk configuration information in accordance with a first embodiment of the present invention. Referring to FIG. 3, the disk configuration information 300 is, for example, a configuration image, including a header area 310 and a disk configuration area 320. The header area 310 records the image type, the version of the disk configuration information 300, the checksum, and the like. The disk configuration area 320 records the version of the image file, mapping information, and the like. The check code recorded by the header area 310 is used to provide a receiving end (for example, the micro control unit 120) to determine whether the received disk configuration information 300 is correct.

返回圖2,在步驟S210中,由微控制單元120傳送磁碟配置資訊至擴展單元130。即,微控制單元120透過第二連接介面150將磁碟配置資訊傳送至擴展單元130。 Returning to FIG. 2, in step S210, the disk configuration information is transmitted by the micro control unit 120 to the extension unit 130. That is, the micro control unit 120 transmits the disk configuration information to the extension unit 130 through the second connection interface 150.

之後,在步驟S215中,擴展單元130依據磁碟配置資訊來執行磁碟配置。例如,假設磁碟配置資訊中記錄了主機板110應該使用的儲存單元的數量為2個,則擴展單元130便會將2個儲存單元視為同一個儲存容量較大的儲存設備而配置給主機板110來使用。據此,本地端或遠端的使用者可利用基板管理控制器111所提供的介面來輸入磁碟配置資訊,透過微控制單元120將磁碟配置資訊傳送給儲存設備的擴展單元130,最終由擴展單元130完成其更動磁碟配置的任務。 Thereafter, in step S215, the expansion unit 130 performs the disk configuration in accordance with the disk configuration information. For example, if the number of storage units that the motherboard 110 should use is recorded in the disk configuration information, the expansion unit 130 will treat the two storage units as the same storage device with a larger storage capacity and configure the host. The board 110 is used. According to this, the local or remote user can use the interface provided by the baseboard management controller 111 to input the disk configuration information, and transmit the disk configuration information to the expansion unit 130 of the storage device through the micro control unit 120, and finally The expansion unit 130 completes its task of changing the disk configuration.

底下再舉一例來說明透過更動磁碟配置的方式,來達成使用不同的儲存設備(如硬碟)。 Let's take another example to illustrate the use of different storage devices (such as hard drives) by changing the disk configuration.

圖4A及圖4B是依照本發明第一實施例的磁碟配置的示意圖。本實施例是基於圖1的架構,假設伺服器機架系統100包括主機板110_1、主機板110_2、主機板110_3以及主機板110_4。並且,假設包括八個實體硬碟,即,硬碟HD1~硬碟HD8。 4A and 4B are schematic views of a disk configuration in accordance with a first embodiment of the present invention. This embodiment is based on the architecture of FIG. 1, assuming that the server rack system 100 includes a motherboard 110_1, a motherboard 110_2, a motherboard 110_3, and a motherboard 110_4. Also, it is assumed that eight physical hard disks, that is, hard disk HD1 to hard disk HD8 are included.

在圖4A中,透過擴展單元130將硬碟HD1與硬碟HD2配置為硬碟組合410_1,將硬碟HD3與硬碟HD4配置為硬碟組合410_2,將硬碟HD5與硬碟HD6配置為硬碟組合410_3,以及將硬碟HD7與硬碟HD8配置為硬碟組合410_4。在此,硬碟組合410_1~硬碟組合410_4分別對應至主機板110_1~110_4。 In FIG. 4A, the hard disk HD1 and the hard disk HD2 are configured as a hard disk combination 410_1 through the expansion unit 130, the hard disk HD3 and the hard disk HD4 are configured as a hard disk combination 410_2, and the hard disk HD5 and the hard disk HD6 are configured as hard. The disc combination 410_3, and the hard disc HD7 and the hard disc HD8 are configured as a hard disc combination 410_4. Here, the hard disk combination 410_1~hard disk combination 410_4 corresponds to the motherboards 110_1~110_4, respectively.

在此,假設在磁碟配置資訊中記錄了主機板110_1要求配置3個實體硬碟。倘若擴展單元130透過微控制單元120接收到來自基板管理控制器110的磁碟配置資訊時,如圖4B所示,將硬碟HD1~硬碟HD3配置為硬碟組合410_1,因此,硬碟組合410_2僅剩下硬碟HD4。 Here, it is assumed that the motherboard 110_1 is required to configure three physical hard disks in the disk configuration information. If the expansion unit 130 receives the disk configuration information from the baseboard management controller 110 through the micro control unit 120, as shown in FIG. 4B, the hard disk HD1 to hard disk HD3 are configured as a hard disk combination 410_1, so the hard disk combination 410_2 only the hard disk HD4 is left.

也就是說,透過更動磁碟配置資訊的方式,可達成底下情況,即,能夠進一步調整不同的主機板110_1~主機板110_4所使用的硬碟。如圖4A的情況,主機板110_1使用硬碟HD1與硬碟HD2,共2顆硬碟。經過更動後,如圖4B所示,主機板110_1使用硬碟HD1~硬碟HD3,共3顆硬碟。 That is to say, by changing the configuration information of the disk, the underlying situation can be achieved, that is, the hard disk used by the different motherboards 110_1~110_4 can be further adjusted. As in the case of FIG. 4A, the motherboard 110_1 uses a hard disk HD1 and a hard disk HD2, for a total of two hard disks. After the change, as shown in FIG. 4B, the motherboard 110_1 uses a hard disk HD1~hard disk HD3, for a total of three hard disks.

第二實施例Second embodiment

在本實施例中,以伺服器機架系統內部現有的風扇控制板的微控制單元來作為基板管理控制器與擴展單元之間的溝通橋樑。 In this embodiment, the micro control unit of the existing fan control board inside the server rack system serves as a communication bridge between the baseboard management controller and the expansion unit.

圖5是依照本發明第二實施例的伺服器機架系統的方塊圖。請參照圖5,伺服器機架系統500包括主機板模組50、風扇控制板模組52、中間板(mid-plane)模組54以及磁碟模組56。在此,主機板模組50包括主機板510_1~主機板510_4,風扇控制板模組52包括風扇控制板520,中間板模組54包括中間板540與中間板541,磁碟模組56包括擴展單元560與硬碟組合561_1~硬碟組合561_4。然,在此並不限定上述各構件的數量,本實施例所列舉的數量僅為便於說明。 Figure 5 is a block diagram of a servo rack system in accordance with a second embodiment of the present invention. Referring to FIG. 5 , the server rack system 500 includes a motherboard module 50 , a fan control panel module 52 , a mid-plane module 54 , and a disk module 56 . Here, the motherboard module 50 includes a motherboard 510_1~a motherboard 510_4, the fan control panel module 52 includes a fan control panel 520, the intermediate panel module 54 includes an intermediate board 540 and an intermediate board 541, and the disk module 56 includes an extension. Unit 560 is combined with hard disk 561_1~hard disk combination 561_4. However, the number of the above-described respective members is not limited herein, and the numbers listed in the present embodiment are merely for convenience of explanation.

中間板模組54透過第一連接介面(以實線表示)耦接至風扇控制板520以及基板管理控制器511_1~基板管理控制器511_4,並且中間板模組54透過第三連接介面(以虛線表示)耦接至擴展單元560以及主機板510_1~主機板510_4。其中,主機板510_1與主機板510_2以及基板管理控制器511_1與基板管理控制器511_2是耦接至中間板540,而主機板510_3與主機板510_4以及基板管理控制器511_3與基板管理控制器511_4是耦接至中間板541。 The intermediate board module 54 is coupled to the fan control board 520 and the substrate management controller 511_1~the baseboard management controller 511_4 through the first connection interface (shown by the solid line), and the intermediate board module 54 is transmitted through the third connection interface (in the dotted line) The representation is coupled to the expansion unit 560 and the motherboard 510_1~ 510_4. The motherboard 510_1 and the motherboard 510_2 and the substrate management controller 511_1 and the substrate management controller 511_2 are coupled to the intermediate board 540, and the motherboard 510_3 and the motherboard 510_4 and the substrate management controller 511_3 and the substrate management controller 511_4 are It is coupled to the intermediate plate 541.

然,在此僅為舉例說明,在其他實施例中,亦可將一個主機板與對應的基板管理控制器耦接至一個中間板,或者將兩個以上的主機板與對應的基板管理控制器耦接至一 個中間板,在此並不限制。 However, in this embodiment, only one motherboard and a corresponding substrate management controller may be coupled to one intermediate board, or two or more motherboards and corresponding substrate management controllers may be coupled. Coupled to one Intermediate boards are not limited here.

另外,風扇控制板520透過第三連接介面(以鏈線表示)耦接至擴展單元560。在磁碟模組56中,擴展單元560亦是透過第三連接介面耦接至硬碟組合561_1~硬碟組合561_4。硬碟組合561_1~硬碟組合561_4是分別由一個或一個以上的實體硬碟所組成,其分別對應至主機板510_1~主機板510_4。 In addition, the fan control board 520 is coupled to the expansion unit 560 through a third connection interface (indicated by a chain line). In the disk module 56, the expansion unit 560 is also coupled to the hard disk combination 561_1~561 combination 561_4 through the third connection interface. The hard disk combination 561_1~hard disk combination 561_4 is composed of one or more physical hard disks respectively, which respectively correspond to the motherboard 510_1~the motherboard 510_4.

在此,耦接在中間板模組54與風扇控制板520之間的第二連接介面的數量是依據主機板的數量來決定。例如,在伺服器機架系統500中,4個主機板510_1~主機板510_4以4組IPMB介面來連繫風扇控制板520。另外,擴展單元560以1組UART介面連繫風扇控制板520。據此,達成風扇控制板520支援基板管理控制器511_1~基板管理控制器511_4與擴展單元560進行溝通,進而完成磁碟配置。 Here, the number of the second connection interfaces coupled between the intermediate board module 54 and the fan control board 520 is determined according to the number of the motherboards. For example, in the server rack system 500, the four motherboards 510_1~ 510_4 are connected to the fan control board 520 by four sets of IPMB interfaces. In addition, the expansion unit 560 is connected to the fan control board 520 by a set of UART interfaces. As a result, the fan control board 520 is supported to support the substrate management controller 511_1 to the substrate management controller 511_4 to communicate with the extension unit 560, thereby completing the disk arrangement.

圖6A與圖6B是依照本發明第二實施例的磁碟配置流程的示意圖。本實施例是基於圖5的架構來進行說明。在此以基板管理控制器511來概括代表基板管理控制器511_1~基板管理控制器511_4。 6A and 6B are schematic views showing a flow of a disk configuration according to a second embodiment of the present invention. This embodiment is explained based on the architecture of FIG. Here, the representative substrate management controller 511_1 to the substrate management controller 511_4 are summarized by the substrate management controller 511.

請圖6A中,在步驟S601中,微控制單元521可透過UART介面而隨時傳送一取得狀態指令至擴展單元560。而擴展單元560在接收到取得狀態指令之後,如步驟S603所示,將磁碟狀態透過UART介面傳送至微控制單元521。舉例來說,磁碟狀態包括磁碟的可用容量、已使用容量、磁碟是否正常運轉等資訊。 In FIG. 6A, in step S601, the micro control unit 521 can transmit an acquisition status command to the extension unit 560 at any time through the UART interface. After receiving the acquisition status command, the expansion unit 560 transmits the disk status to the micro control unit 521 through the UART interface as shown in step S603. For example, the state of the disk includes information such as the available capacity of the disk, the used capacity, and whether the disk is functioning properly.

另外,在步驟S605中,微控制單元521還可透過IPMB介面隨時傳送自身的狀態資訊至基板管理控制器511。而基板管理控制器511在接收到微控制單元521的狀態資訊之後,如步驟S607所示,會回傳一回應封包至微控制單元521。 In addition, in step S605, the micro control unit 521 can also transmit its own status information to the baseboard management controller 511 through the IPMB interface at any time. After receiving the status information of the micro control unit 521, the substrate management controller 511 returns a response packet to the micro control unit 521 as shown in step S607.

此外,在本實施例中,將微控制單元521設定為會不間斷地透過IPMB介面傳送一取得資訊指令至基板管理控制器511,如步驟S611。以4個基板管理控制器511_1~基板管理控制器511_4而言,微控制單元521會分別透過對應的IPMB介面傳送一取得資訊指令至基板管理控制器511_1~基板管理控制器511_4。當使用者在本地端或透過遠端而利用基板管理控制器511來輸入磁碟配置資訊時,如步驟S609所示,基板管理控制器511會接收到磁碟配置資訊。此時,當基板管理控制器511接收到取得資訊指令,如步驟S613所示,基板管理控制器511會透過IPMB介面將磁碟配置資訊傳送至微控制單元521。 In addition, in the embodiment, the micro control unit 521 is configured to continuously transmit an information request to the baseboard management controller 511 through the IPMB interface, as in step S611. In the case of the four substrate management controllers 511_1 to 511_4, the micro control unit 521 transmits an acquisition information command to the substrate management controller 511_1 to the substrate management controller 511_4 through the corresponding IPMB interface. When the user inputs the disk configuration information by using the substrate management controller 511 at the local end or through the remote end, the substrate management controller 511 receives the disk configuration information as shown in step S609. At this time, when the substrate management controller 511 receives the information acquisition command, the substrate management controller 511 transmits the disk configuration information to the micro control unit 521 through the IPMB interface as shown in step S613.

之後,微控制單元521在接收到磁碟配置資訊之後,如步驟S615,微控制單元521會再透過UART介面將磁碟配置資訊傳送至擴展單元560。擴展單元560在接收到磁碟配置資訊之後,便開始更新磁碟配置。擴展單元560在完成磁碟配置之後,如步驟S617所示,透過UART介面回應一更新結果至微控制單元521。 After the micro control unit 521 receives the disk configuration information, in step S615, the micro control unit 521 transmits the disk configuration information to the extension unit 560 through the UART interface. After receiving the disk configuration information, the expansion unit 560 starts to update the disk configuration. After completing the disk configuration, the expansion unit 560 responds to an update result to the micro control unit 521 through the UART interface as shown in step S617.

然後,如步驟S619所示,微控制單元521透過IPMB介面將更新結果傳送至基板管理控制器511。而基板管理 控制器511在接收到更新結果之後,會透過IPMB介面回傳一回應封包給微控制單元521。 Then, as shown in step S619, the micro control unit 521 transmits the update result to the baseboard management controller 511 through the IPMB interface. Substrate management After receiving the update result, the controller 511 returns a response packet to the micro control unit 521 through the IPMB interface.

此時,在重新進行磁碟配置之後,將系統重新啟動,如圖6B所示。在圖6B中,在重新進行磁碟配置之後,在步驟S623中,微控制單元521可傳送一取得組態指令至擴展單元560,接著,在步驟S625中,擴展單元560會回應更新後的磁碟組態至微控制單元521。舉例來說,磁碟組態記錄有各個碟硬碟組合包括哪幾個實體硬碟,對應至哪個主機板。 At this time, after the disk configuration is re-executed, the system is restarted as shown in FIG. 6B. In FIG. 6B, after the disk configuration is re-executed, in step S623, the micro control unit 521 can transmit a get configuration command to the extension unit 560, and then, in step S625, the extension unit 560 responds to the updated magnetic The disc is configured to the micro control unit 521. For example, the disk configuration records which physical hard disk is included in each disk hard disk combination, which corresponds to which motherboard.

另外,在重新啟動之後,微控制單元521仍可透過UART介面而隨時傳送一取得狀態指令至擴展單元560,如步驟S627所示。而擴展單元560在接收到取得狀態指令之後,如步驟S629所示,將磁碟狀態透過UART介面傳送至微控制單元521。 In addition, after restarting, the micro control unit 521 can still transmit a get status command to the extension unit 560 through the UART interface, as shown in step S627. After receiving the acquisition status command, the expansion unit 560 transmits the disk status to the micro control unit 521 through the UART interface as shown in step S629.

而在步驟S631中,微控制單元521在獲得磁碟組態之後,以可隨時傳送磁碟組態至基板管理控制器511。而基板管理控制器在接收到磁碟組態之後,如步驟S633所示,回傳一回應封包至微控制單元521,藉以通知微控制單元521已接收到磁碟組態。 In step S631, the micro control unit 521 can transmit the disk configuration to the baseboard management controller 511 at any time after obtaining the disk configuration. After receiving the disk configuration, the substrate management controller returns a response packet to the micro control unit 521 as shown in step S633, thereby notifying the micro control unit 521 that the disk configuration has been received.

另外,在步驟S635中,微控制單元521還可透過IPMB介面隨時傳送自身的狀態資訊至基板管理控制器511。而基板管理控制器511在接收到微控制單元521的狀態資訊之後,如步驟S637所示,會回傳一回應封包至微控制單元521。 In addition, in step S635, the micro control unit 521 can also transmit its own status information to the baseboard management controller 511 at any time through the IPMB interface. After receiving the status information of the micro control unit 521, the substrate management controller 511 returns a response packet to the micro control unit 521 as shown in step S637.

綜上所述,在上述實施例中利用另一微控制單元將基板管理控制器的磁碟配置資訊傳送至擴展單元,達成了以基板管理控制器的旁頻帶(side-band)的方式來達成。例如,利用風扇控制器等控制器來作為擴展器與基板管理控制器之間溝通的橋樑。基板管理控制器透過IPMB介面傳送磁碟組態更新資訊至風扇控制器,風扇控制器再利用UART介面將磁碟組態更新資訊傳送至擴展單元。藉此,即使基板管理控制器的設計受限,仍可利用另一微控制班元來間接支援基板管理控制器,讓使用者依然可藉由基板管理控制器的功能,來達成硬碟配置的目的。此外,利用side-band的方式,使用者無需額外負擔系統的硬碟及作業系統,而能夠直接透夠過基板管理控制器的韌體更新介面,完成遠端硬碟配置,操作簡易且運作穩定。 In summary, in the above embodiment, another micro control unit is used to transmit the disk configuration information of the substrate management controller to the extension unit, thereby achieving a side-band manner of the substrate management controller. . For example, a controller such as a fan controller is used as a bridge between the expander and the baseboard management controller. The baseboard management controller transmits the disk configuration update information to the fan controller through the IPMB interface, and the fan controller transmits the disk configuration update information to the expansion unit by using the UART interface. Therefore, even if the design of the substrate management controller is limited, another micro-control class can be used to indirectly support the substrate management controller, so that the user can still achieve the hard disk configuration by the function of the substrate management controller. purpose. In addition, by using the side-band method, the user can directly pass through the firmware update interface of the baseboard management controller without completing the hard disk and operating system of the system, and complete the remote hard disk configuration, which is easy to operate and stable in operation. .

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

100‧‧‧伺服器機架系統 100‧‧‧Server Rack System

110、110_1~110_4、510_1~510_4‧‧‧主機板 110, 110_1~110_4, 510_1~510_4‧‧‧ motherboard

111‧‧‧基板管理控制器 111‧‧‧Baseboard Management Controller

120‧‧‧微控制單元 120‧‧‧Micro Control Unit

130、560‧‧‧擴展單元 130, 560‧‧‧ expansion unit

140‧‧‧第一連接介面 140‧‧‧First connection interface

150‧‧‧第二連接介面 150‧‧‧Second connection interface

300‧‧‧磁碟配置資訊 300‧‧‧Disk configuration information

310‧‧‧標頭區域 310‧‧‧head area

320‧‧‧磁碟組態區域 320‧‧‧Disk configuration area

410_1~410_4‧‧‧硬碟組合 410_1~410_4‧‧‧ Hard disk combination

500‧‧‧伺服器機架系統 500‧‧‧Server Rack System

50‧‧‧主機板模組 50‧‧‧ motherboard module

52‧‧‧風扇控制板模組 52‧‧‧Fan control panel module

54‧‧‧中間板模組 54‧‧‧Intermediate board module

56‧‧‧磁碟模組 56‧‧‧Disk Module

520‧‧‧風扇控制板 520‧‧‧Fan control panel

561_1540、541‧‧‧中間板 561_1540, 541‧‧‧ middle board

561_1~561_4‧‧‧硬碟組合 561_1~561_4‧‧‧ Hard disk combination

511_1~511_4‧‧‧基板管理控制器 511_1~511_4‧‧‧Base management controller

S205~S215‧‧‧第一實施例的磁碟配置方法的各步驟 S205~S215‧‧‧ steps of the disk configuration method of the first embodiment

S601~S637‧‧‧第二實施例的磁碟配置流程的各步驟 S601~S637‧‧‧ steps of the disk configuration flow of the second embodiment

圖1是依照本發明第一實施例的伺服器機架系統的示意圖。 1 is a schematic diagram of a servo rack system in accordance with a first embodiment of the present invention.

圖2是依照本發明第一實施例的磁碟配置方法的流程圖。 2 is a flow chart of a disk configuration method in accordance with a first embodiment of the present invention.

圖3是依照本發明第一實施例的磁碟配置資訊的示意 圖。 Figure 3 is a schematic illustration of disk configuration information in accordance with a first embodiment of the present invention; Figure.

圖4A及圖4B是依照本發明第一實施例的磁碟配置的示意圖。 4A and 4B are schematic views of a disk configuration in accordance with a first embodiment of the present invention.

圖5是依照本發明第二實施例的伺服器機架系統的方塊圖。 Figure 5 is a block diagram of a servo rack system in accordance with a second embodiment of the present invention.

圖6A與圖6B是依照本發明第二實施例的磁碟配置流程的示意圖。 6A and 6B are schematic views showing a flow of a disk configuration according to a second embodiment of the present invention.

100‧‧‧伺服器機架系統 100‧‧‧Server Rack System

110‧‧‧主機板 110‧‧‧ motherboard

111‧‧‧基板管理控制器 111‧‧‧Baseboard Management Controller

120‧‧‧微控制單元 120‧‧‧Micro Control Unit

130‧‧‧擴展單元 130‧‧‧Extension unit

140‧‧‧第一連接介面 140‧‧‧First connection interface

150‧‧‧第二連接介面 150‧‧‧Second connection interface

Claims (10)

一種磁碟配置方法,適用於一伺服器機架系統,其中該伺服器機架系統包括一基板管理控制器、一微控制單元以及一擴展單元,該磁碟配置方法包括:該基板管理控制器傳送一磁碟配置資訊至該微控制單元;由該微控制單元傳送該磁碟配置資訊至該擴展單元;以及該擴展單元依據該磁碟配置資訊來執行一磁碟配置。 A disk configuration method, applicable to a server rack system, wherein the server rack system includes a substrate management controller, a micro control unit, and an expansion unit, the disk configuration method includes: the substrate management controller Transmitting a disk configuration information to the micro control unit; transmitting, by the micro control unit, the disk configuration information to the expansion unit; and the expansion unit performing a disk configuration according to the disk configuration information. 如申請專利範圍第1項所述之磁碟配置方法,其中在透過該基板管理控制器傳送該磁碟配置資訊至該微控制單元的步驟之前,更包括:該微控制單元傳送一取得資訊指令至該基板管理控制器,藉以在該基板管理控制器接收到該磁碟配置資訊時,自該基板管理控制器接收該磁碟配置資訊。 The disk configuration method of claim 1, wherein before the step of transmitting the disk configuration information to the micro control unit through the substrate management controller, the method further comprises: the micro control unit transmitting a get information command And the substrate management controller is configured to receive the disk configuration information from the substrate management controller when the substrate management controller receives the disk configuration information. 如申請專利範圍第1項所述之磁碟配置方法,更包括:該微控制單元傳送一取得狀態指令至該擴展單元,以自該擴展單元獲得一磁碟狀態;以及該微控制單元傳送該磁碟狀態至該基板管理控制器。 The disk configuration method of claim 1, further comprising: the micro control unit transmitting a get status command to the extension unit to obtain a disk state from the extension unit; and the micro control unit transmitting the Disk status to the baseboard management controller. 如申請專利範圍第1項所述之磁碟配置方法,更包括:該微處理控制器傳送其自身的一狀態資訊至該基板管理控制器。 The disk configuration method of claim 1, further comprising: the microprocessor controller transmitting a status message of its own to the baseboard management controller. 如申請專利範圍第1項所述之磁碟配置方法,其中在該擴展單元依據該磁碟配置資訊來完成該磁碟模組的配置的步驟之後,更包括:該微控制單元自該擴展單元接收一更新結果,並將該更新結果傳送至該基板管理控制器。 The method of configuring a disk according to claim 1, wherein after the step of completing the configuration of the disk module according to the disk configuration information, the method further comprises: the micro control unit from the expansion unit An update result is received and the update result is transmitted to the baseboard management controller. 一種伺服器機架系統,包括:一擴展單元;一主機板,配置有一基板管理控制器;以及一微控制單元,透過一第一連接介面耦接至該基板管理控制器,以及透過一第二連接介面耦接至該擴展單元,該微控制單元透過該第一連接介面自該基板管理控制器接收一磁碟配置資訊,並且透過該第二連接介面傳送該磁碟配置資訊至該擴展單元,使得該擴展單元依據該磁碟配置資訊來執行一磁碟配置。 A server rack system includes: an expansion unit; a motherboard configured with a baseboard management controller; and a micro control unit coupled to the baseboard management controller through a first connection interface, and through a second The connection interface is coupled to the expansion unit, and the micro control unit receives a disk configuration information from the substrate management controller through the first connection interface, and transmits the disk configuration information to the expansion unit through the second connection interface, The expansion unit is caused to perform a disk configuration according to the disk configuration information. 如申請專利範圍第6項所述之伺服器機架系統,更包括:一磁碟模組,耦接至該擴展單元,該磁碟模組包括多個儲存單元;其中,該擴展單元依據該磁碟配置資訊來配置該些儲存單元。 The server rack system of claim 6, further comprising: a disk module coupled to the expansion unit, the disk module comprising a plurality of storage units; wherein the expansion unit is Disk configuration information to configure the storage units. 如申請專利範圍第6項所述之伺服器機架系統,更包括:一風扇控制板,包括該微控制單元。 The server rack system of claim 6, further comprising: a fan control board including the micro control unit. 如申請專利範圍第6項所述之伺服器機架系統,更 包括:一中間板,經由一第三連接介面耦接在該主機板與該擴展單元之間,並且經由該第一連接介面耦接在該微控制單元與該基板管理控制器之間。 For example, the server rack system described in claim 6 of the patent scope is further The intermediate board is coupled between the motherboard and the expansion unit via a third connection interface, and is coupled between the micro control unit and the baseboard management controller via the first connection interface. 如申請專利範圍第9項所述之伺服器機架系統,其中該第一連接介面為智慧平台管理匯流排介面、該第二連接介面為通用非同步收發傳輸器介面,該第三連接介面為串列小型電腦系統介面。 The server rack system of claim 9, wherein the first connection interface is a smart platform management bus interface, and the second connection interface is a universal asynchronous transceiver interface, the third connection interface is Serial small computer system interface.
TW101141439A 2012-11-07 2012-11-07 Disc allocation method and electronic apparatus TWI468931B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW101141439A TWI468931B (en) 2012-11-07 2012-11-07 Disc allocation method and electronic apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW101141439A TWI468931B (en) 2012-11-07 2012-11-07 Disc allocation method and electronic apparatus

Publications (2)

Publication Number Publication Date
TW201418974A true TW201418974A (en) 2014-05-16
TWI468931B TWI468931B (en) 2015-01-11

Family

ID=51294328

Family Applications (1)

Application Number Title Priority Date Filing Date
TW101141439A TWI468931B (en) 2012-11-07 2012-11-07 Disc allocation method and electronic apparatus

Country Status (1)

Country Link
TW (1) TWI468931B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI551997B (en) * 2014-11-03 2016-10-01 廣達電腦股份有限公司 Computer-readable medium and multiple-protocol-system-management method and system
TWI589135B (en) * 2015-07-16 2017-06-21 廣達電腦股份有限公司 Server system and operating method thereof
TWI595415B (en) * 2016-05-30 2017-08-11 神雲科技股份有限公司 Firmware updating control method
TWI613594B (en) * 2016-12-22 2018-02-01 財團法人工業技術研究院 Method for assigning central processing units and server using the same

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI251740B (en) * 2004-12-29 2006-03-21 Inventec Corp Automatic rebuilding method of redundant arrays of inexpensive disks (RAID) equipment
US8341349B2 (en) * 2008-10-31 2012-12-25 Lsi Corporation System and method for loose coupling between raid volumes and drive groups
TW201028845A (en) * 2009-01-16 2010-08-01 Inventec Corp RAID testing method and testing system
TW201222246A (en) * 2010-11-30 2012-06-01 Inventec Corp Computer chassis system and hard disk status display method thereof

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI551997B (en) * 2014-11-03 2016-10-01 廣達電腦股份有限公司 Computer-readable medium and multiple-protocol-system-management method and system
TWI589135B (en) * 2015-07-16 2017-06-21 廣達電腦股份有限公司 Server system and operating method thereof
US9713215B2 (en) 2015-07-16 2017-07-18 Quanta Computer Inc. Identification of storage device for trouble shooting
TWI595415B (en) * 2016-05-30 2017-08-11 神雲科技股份有限公司 Firmware updating control method
TWI613594B (en) * 2016-12-22 2018-02-01 財團法人工業技術研究院 Method for assigning central processing units and server using the same
US11126470B2 (en) 2016-12-22 2021-09-21 Industrial Technology Research Institute Allocation method of central processing units and server using the same

Also Published As

Publication number Publication date
TWI468931B (en) 2015-01-11

Similar Documents

Publication Publication Date Title
US11126352B2 (en) Method for using BMC as proxy NVMeoF discovery controller to provide NVM subsystems to host
EP3073381B1 (en) Virtual intelligent platform management interface (ipmi) satellite controller and method
US9208047B2 (en) Device hardware agent
US10127032B2 (en) System and method for unified firmware management
US10127170B2 (en) High density serial over LAN management system
US10754811B2 (en) Multi-mode NVMe over fabrics devices
JP4448878B2 (en) How to set up a disaster recovery environment
US20110197011A1 (en) Storage apparatus and interface expansion authentication method therefor
US20060020848A1 (en) Systems and methods for out-of-band booting of a computer
US20170031694A1 (en) System and method for remote system configuration managment
EP3966682A1 (en) Dynamically-configurable baseboard management controller
US10331520B2 (en) Raid hot spare disk drive using inter-storage controller communication
CN105893293A (en) System and method used for managing hot plug of peripheral component interface express device
US10831897B2 (en) Selective enforcement of secure boot database entries in an information handling system
US9680930B2 (en) Data communication system for a storage management system and communication method thereof
TWI468931B (en) Disc allocation method and electronic apparatus
JP2015114873A (en) Information processor and monitoring method
CN105874442A (en) Computer system and method for accessing endpoint device in the computer system
US7590770B2 (en) Device-independent control of storage hardware using SCSI enclosure services
US7962735B2 (en) Servo device auto-booted upon power supply recovery and method thereof
CN103793180A (en) Disk collocation method and server rack system
CN112015689A (en) Serial port output path switching method, system and device and switch
WO2020238801A1 (en) Smart device management method and apparatus, network device, and readable storage medium
US8352661B1 (en) Data storage systems having seamless software upgrades
JP2007018049A (en) Storage control system

Legal Events

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