TWI468922B - Electronic apparatus and management method thereof and rack server system - Google Patents

Electronic apparatus and management method thereof and rack server system Download PDF

Info

Publication number
TWI468922B
TWI468922B TW101141441A TW101141441A TWI468922B TW I468922 B TWI468922 B TW I468922B TW 101141441 A TW101141441 A TW 101141441A TW 101141441 A TW101141441 A TW 101141441A TW I468922 B TWI468922 B TW I468922B
Authority
TW
Taiwan
Prior art keywords
port
interface
packet
management
controller
Prior art date
Application number
TW101141441A
Other languages
Chinese (zh)
Other versions
TW201418967A (en
Inventor
Kuo Shu Chiu
Chien Chou Chen
yu hui Wang
Jo Yu Chang
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 TW101141441A priority Critical patent/TWI468922B/en
Publication of TW201418967A publication Critical patent/TW201418967A/en
Application granted granted Critical
Publication of TWI468922B publication Critical patent/TWI468922B/en

Links

Landscapes

  • Debugging And Monitoring (AREA)

Description

電子裝置及其管理方法與機櫃伺服系統Electronic device and its management method and cabinet servo system

本發明是有關於一種電子裝置的監控機制,且特別是有關於一種可即時監控儲存單元的電子裝置及其管理方法。The present invention relates to a monitoring mechanism of an electronic device, and more particularly to an electronic device capable of monitoring a storage unit in real time and a management method thereof.

在計算機的領域中,電腦伺服器(server)擁有較高的計算能力,能夠提供多樣化的功能給多個使用者同時使用。因此電腦伺服器在硬體裝置的選用標準,和一般的個人電腦不同。電腦伺服器的硬體裝置必須是能夠承受大量的負載(loading),以及擁有較高的使用壽命,避免在執行計算工作時,因為硬體毀損而導致電腦伺服器的資料遺失。由於電腦伺服器專用的磁碟機非常昂貴而且儲存空間有限,因此現有電腦伺服器的磁碟機大多使用由多個實體(physical)磁碟機所組成的硬碟陣列。In the field of computers, computer servers have high computing power and can provide a variety of functions for multiple users to use at the same time. Therefore, the selection criteria of the computer server in the hardware device are different from those of a general personal computer. The hardware device of the computer server must be able to withstand a large amount of load and have a high service life, so as to avoid data loss of the computer server due to hardware damage during the calculation work. Since the disk drive dedicated to computer servers is very expensive and has limited storage space, the disk drives of existing computer servers mostly use a hard disk array composed of a plurality of physical disks.

一般來說,印刷電路版(Printed Circuit Board,PCB)端上的儲存卡(Storage Card)的韌體(Firmware)只支援提供儲存裝置(Storage device)資訊,但對於其下游裝置如獨立磁碟備援陣列(Redundant Array of Independent Disks,RAID)控制器、擴展器(Expender)、簡單磁碟綁定(Just a Bunch Of Disks,JBOD)系統等的如溫度、電壓等系統環境資訊等並無提供,或者屬於非業界標準化命令,因而造成在外部的整合環境控制上造成即時監控的一 個漏洞。In general, the firmware of the Storage Card on the Printed Circuit Board (PCB) side only supports the provision of storage device information, but for downstream devices such as independent disk storage. Redundant Array of Independent Disks (RAID) controllers, expanders (Expenders), and Just a Bunch Of Disks (JBOD) systems, such as temperature and voltage, etc., are not provided. Or belong to non-industry standardized commands, resulting in an immediate monitoring of external integrated environmental control Vulnerabilities.

本發明提供一種電子裝置及其管理方法,可即時自儲存介面來獲得儲存單元的相關資訊。The invention provides an electronic device and a management method thereof, which can obtain information about a storage unit from a storage interface.

本發明提出一種電子裝置,包括儲存單元、儲存介面以及基板管理控制器。基板管理控制器包括第一連接埠,用以傳送管理介面封包。儲存介面耦接至儲存單元,儲存介面包括第二連接埠以及硬碟控制器。第二連接埠耦接至第一連接埠,用以接收管理介面封包。硬碟控制器耦接至第二連接埠,轉換管理介面封包為符合儲存介面的內部控制命令,藉以依據內部控制命令來讀取系統環境資訊,並且,將系統環境資訊封裝至回覆封包,透過第二連接埠傳送回覆封包至基板管理控制器的第一連接埠。其中,回覆封包符合管理介面封包的格式。The invention provides an electronic device comprising a storage unit, a storage interface and a substrate management controller. The baseboard management controller includes a first port for transmitting a management interface packet. The storage interface is coupled to the storage unit, and the storage interface includes a second port and a hard disk controller. The second port is coupled to the first port to receive the management interface packet. The hard disk controller is coupled to the second port, and the conversion management interface packet is an internal control command conforming to the storage interface, so that the system environment information is read according to the internal control command, and the system environment information is encapsulated into the reply packet, The second port transmits a return packet to the first port of the baseboard management controller. The reply packet conforms to the format of the management interface packet.

在本發明之一實施例中,上述電子裝置更包括風扇,其耦接至基板管理控制器。其中,基板管理控制器傳送控制訊號至風扇,藉以控制風扇的轉速。In an embodiment of the invention, the electronic device further includes a fan coupled to the substrate management controller. The baseboard management controller transmits a control signal to the fan to control the speed of the fan.

在本發明之一實施例中,上述硬碟控制器包括韌體,由韌體來驅動硬碟控制器。In an embodiment of the invention, the hard disk controller includes a firmware that is driven by the firmware to drive the hard disk controller.

在本發明之一實施例中,上述電子裝置更包括晶片組,而上述儲存介面插設於晶片組。In an embodiment of the invention, the electronic device further includes a chip set, and the storage interface is inserted into the chip set.

在本發明之一實施例中,上述系統環境資訊包括該儲存單元的電力狀態、硬碟狀態、錯誤狀態、感測器資訊、 磁碟陣列資訊以及現場可替換單元(Field Replace Unit,FRU)資訊至少其中之一或其組合者。另外,上述第一連接埠與第二連接埠皆為內部整合電路(Inter-Integrated Circuit,I2 C)埠,第一連接埠與第二連接埠透過內部整合電路匯流排進行耦接,而管理介面封包與回覆封包皆為智慧平台管理介面(Intelligent Platform Management Interface,IPMI)封包。In an embodiment of the invention, the system environment information includes power status, hard disk status, error status, sensor information, disk array information, and field replace unit (FRU) information of the storage unit. At least one or a combination thereof. In addition, the first connection port and the second port are both an internal integrated circuit (I 2 C), and the first port and the second port are coupled through the internal integrated circuit bus, and are managed. Both the interface packet and the reply packet are encapsulated in the Intelligent Platform Management Interface (IPMI).

本發明提出一種機櫃伺服系統,包括機櫃管理伺服器、儲存單元以及儲存介面。機櫃管理伺服器包括基板管理控制器,基板管理控制器包括第一連接埠,以藉由第一連接埠來傳送管理介面封包。儲存介面耦接至儲存單元,儲存介面包括第二連接埠以及硬碟控制器。第二連接埠耦接至第一連接埠,用以接收管理介面封包。硬碟控制器耦接至第二連接埠,轉換管理介面封包為符合儲存介面的內部控制命令,藉以依據內部控制命令來讀取系統環境資訊,並且,將系統環境資訊封裝至回覆封包,透過第二連接埠傳送回覆封包至基板管理控制器的第一連接埠。其中,回覆封包符合管理介面封包的格式。The invention provides a cabinet servo system, which comprises a cabinet management server, a storage unit and a storage interface. The rack management server includes a baseboard management controller, and the baseboard management controller includes a first port to transmit the management interface packet by the first port. The storage interface is coupled to the storage unit, and the storage interface includes a second port and a hard disk controller. The second port is coupled to the first port to receive the management interface packet. The hard disk controller is coupled to the second port, and the conversion management interface packet is an internal control command conforming to the storage interface, so that the system environment information is read according to the internal control command, and the system environment information is encapsulated into the reply packet, The second port transmits a return packet to the first port of the baseboard management controller. The reply packet conforms to the format of the management interface packet.

本發明提出一種管理方法,適於一電子裝置。在本方法中,透過基板管理控制器的第一連接埠傳送管理介面封包至儲存介面的第二連接埠,其中儲存介面包括硬碟控制器,且儲存介面耦接至儲存裝置;由硬碟控制器轉換管理介面封包為符合儲存介面的內部控制命令,藉以依據內部控制命令來讀取系統環境資訊;以及硬碟控制器將系統環 境資訊封裝至回覆封包,透過第二連接埠傳送回覆封包至基板管理控制器的第一連接埠,其中回覆封包符合該管理介面封包的格式。The present invention provides a management method suitable for an electronic device. In the method, the first port of the baseboard management controller transmits a management interface packet to the second port of the storage interface, wherein the storage interface includes a hard disk controller, and the storage interface is coupled to the storage device; The device management interface packet is an internal control command conforming to the storage interface, so as to read system environment information according to internal control commands; and the hard disk controller will system ring The environment information is encapsulated into a reply packet, and the first packet is sent back to the baseboard management controller through the second port, wherein the reply packet conforms to the format of the management interface packet.

在本發明之一實施例中,上述管理方法中,還可透過基板管理控制器傳送控制訊號至風扇,藉以控制風扇的轉速,其中風扇耦接至基板管理控制器。In an embodiment of the present invention, the management method may further transmit a control signal to the fan through the baseboard management controller to control the rotation speed of the fan, wherein the fan is coupled to the baseboard management controller.

在本發明之一實施例中,上述管理方法中,基板管理控制器在接收到回覆封包之後,判斷系統環境資訊中的系統溫度是否大於或等於預設溫度。當系統溫度大於或等於預設溫度時,基板管理控制器傳送控制訊號至風扇。In an embodiment of the present invention, in the foregoing management method, after receiving the reply packet, the substrate management controller determines whether the system temperature in the system environment information is greater than or equal to a preset temperature. When the system temperature is greater than or equal to the preset temperature, the baseboard management controller transmits a control signal to the fan.

基於上述,本發明利用基板管理控制器自儲存介面獲得儲存單元的相關資訊,可即時得知儲存單元的狀態,進而能夠做出對應的處理機制。Based on the above, the substrate management controller obtains related information of the storage unit from the storage interface, and can immediately know the state of the storage unit, thereby enabling a corresponding processing mechanism.

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

為了使本發明之內容更為明瞭,以下特舉實施例作為本發明確實能夠據以實施的範例。In order to clarify the content of the present invention, the following specific examples are given as examples in which the present invention can be implemented.

圖1是依照本發明一實施例的電子裝置的方塊圖。請參照圖1,電子裝置100包括基板管理控制器(Baseboard management controller,BMC)110、儲存介面120以及儲存單元130。基板管理控制器110包括第一連接埠111,儲存介面120包括第二連接埠121與硬碟控制器123。儲存 介面120耦接至儲存單元130。基板管理控制器110透過第一連接埠111與儲存介面120的第二連接埠121連接。1 is a block diagram of an electronic device in accordance with an embodiment of the present invention. Referring to FIG. 1 , the electronic device 100 includes a baseboard management controller (BMC) 110 , a storage interface 120 , and a storage unit 130 . The substrate management controller 110 includes a first port 111, and the storage interface 120 includes a second port 121 and a hard disk controller 123. Store The interface 120 is coupled to the storage unit 130. The substrate management controller 110 is connected to the second port 121 of the storage interface 120 through the first port 111.

基板管理控制器110並不依賴電子裝置100的處理器、基本輸入輸出系統(Basic Input/Output System,BIOS)或作業系統來運作,基板管理控制器110是一個單獨在電子裝置100內運行的子系統,其通常為安裝在主機板上的獨立的電路板。當基板管理控制器110開始執行之後,便會開始進行監控程序。之後,基板管理控制器110會開始傳送管理介面封包至儲存介面120,藉以取得儲存介面120的系統環境資訊。然後,基板管理控制器110會去判斷所接收到的系統環境資訊是否有錯誤,進而執行對應的處理。The substrate management controller 110 does not depend on the processor of the electronic device 100, a Basic Input/Output System (BIOS) or an operating system, and the substrate management controller 110 is a slave that runs alone in the electronic device 100. The system, which is typically a separate board mounted on the motherboard. After the baseboard management controller 110 begins execution, the monitoring process begins. Then, the substrate management controller 110 starts to transfer the management interface packet to the storage interface 120 to obtain the system environment information of the storage interface 120. Then, the substrate management controller 110 determines whether there is an error in the received system environment information, and then performs corresponding processing.

硬碟控制器123用以管理實體的儲存單元130,使得如中央處理單元(未繪示)能夠與儲存單元130進行溝通。硬碟控制器123包括韌體,以藉由韌體來驅動硬碟控制器123。當儲存介面120啟動時,首先會先對硬碟控制器123的韌體進行初始化。之後,當儲存介面120接收到管理介面封包時,由硬碟控制器123將管理介面封包轉換為符合儲存介面120的內部控制命令,藉以依據內部控制命令來讀取系統環境資訊,並且,將系統環境資訊封裝至回覆封包,透過第二連接埠121傳送回覆封包至基板管理控制器110的第一連接埠111,其中回覆封包符合管理介面封包的格式。The hard disk controller 123 is configured to manage the physical storage unit 130 such that a central processing unit (not shown) can communicate with the storage unit 130. The hard disk controller 123 includes a firmware to drive the hard disk controller 123 by firmware. When the storage interface 120 is booted, the firmware of the hard disk controller 123 is first initialized first. Then, when the storage interface 120 receives the management interface packet, the hard disk controller 123 converts the management interface packet into an internal control command conforming to the storage interface 120, thereby reading the system environment information according to the internal control command, and The environment information is encapsulated into a reply packet, and the second packet is sent back to the first port 111 of the baseboard management controller 110 through the second port 121, wherein the reply packet conforms to the format of the management interface packet.

儲存單元130例如為獨立磁碟備援陣列(Redundant Array of Independent Disks,RAID)或簡單磁碟綁定(Just a Bunch Of Disks,JBOD)系統等邏輯磁碟陣列。可將多個硬碟組合起來,成為一個邏輯磁碟陣列。或者,儲存單元130為硬碟(Hard Disk Drive,HDD)等非揮發性儲存裝置。The storage unit 130 is, for example, a Redundant Array of Independent Disks (RAID) or a simple disk binding (Just). A Bunch Of Disks (JBOD) system and other logical disk arrays. Multiple hard disks can be combined to form a logical disk array. Alternatively, the storage unit 130 is a non-volatile storage device such as a Hard Disk Drive (HDD).

另外,在其他實施例中,儲存介面120亦可允許耦接至多個儲存單元130。而基板管理控制器110可針對不同的儲存單元130來傳送管理介面封包。In addition, in other embodiments, the storage interface 120 may also be coupled to the plurality of storage units 130. The substrate management controller 110 can transmit the management interface packet for different storage units 130.

圖2是依照本發明一實施例的管理方法的流程圖。請同時參照圖1及圖2,在步驟S205中,透過基板管理控制器110的第一連接埠傳送管理介面封包至儲存介面120的第二連接埠121。在此,管理介面封包與回覆封包的格式為智慧平台管理介面(Intelligent Platform Management Interface,IPMI)封包。2 is a flow chart of a management method in accordance with an embodiment of the present invention. Referring to FIG. 1 and FIG. 2 simultaneously, in step S205, the first connection port of the substrate management controller 110 transmits the management interface packet to the second port 121 of the storage interface 120. Here, the format of the management interface packet and the reply packet is an Intelligent Platform Management Interface (IPMI) packet.

在儲存介面120接收到管理介面封包之後,在步驟S210中,由硬碟控制器123轉換管理介面封包為符合儲存介面120的內部控制命令,藉以依據內部控制命令來讀取系統環境資訊。例如,在儲存介面120中配置有一儲存空間,以儲存自儲存單元130所讀取到的系統環境資訊、或是偵測儲存單元130所獲得的系統環境資訊。After the storage interface 120 receives the management interface packet, in step S210, the hard disk controller 123 converts the management interface packet into an internal control command conforming to the storage interface 120, thereby reading the system environment information according to the internal control command. For example, a storage space is configured in the storage interface 120 to store system environment information read from the storage unit 130 or to detect system environment information obtained by the storage unit 130.

上述系統環境資訊包括儲存單元130的電力狀態、硬碟狀態、錯誤狀態、感測器資訊、磁碟陣列資訊以及現場可替換單元(Field Replace Unit,FRU)資訊至少其中之一或其組合者。上述電力狀態包括電源狀態與電壓狀態,例如儲存單元的電源為開啟或關閉,電壓值為多少等資 訊。硬碟資訊例如為硬碟的可使用空間、已使用空間等。感測器資訊例如為系統溫度、感測器所讀取到的值等。磁碟陣列資訊例如為磁碟陣列的類型,以RAID系統而言,RAID系統包括了多個不同的等級。FRU資訊例如為硬體種類、製造商識別碼、使用的插槽編號,以及硬體規格等。The system environment information includes at least one of a power state of the storage unit 130, a hard disk state, an error state, sensor information, disk array information, and field replaceable unit (FRU) information. The power state includes a power state and a voltage state, for example, the power of the storage unit is turned on or off, and the voltage value is News. The hard disk information is, for example, a usable space of the hard disk, a used space, and the like. The sensor information is, for example, the system temperature, the value read by the sensor, and the like. The disk array information is, for example, the type of disk array. In the case of a RAID system, the RAID system includes a plurality of different levels. The FRU information is, for example, a hardware type, a manufacturer identification code, a slot number to be used, and a hardware specification.

之後,在步驟S215中,硬碟控制器123將系統環境資訊封裝至回覆封包,透過第二連接埠121傳送回覆封包至基板管理控制器110的第一連接埠111,其中回覆封包符合管理介面封包的格式。Then, in step S215, the hard disk controller 123 encapsulates the system environment information into the reply packet, and transmits the packet back to the first port 111 of the substrate management controller 110 through the second port 121, wherein the reply packet conforms to the management interface packet. The format.

另外,儲存介面130可以插設在晶片組上,底下再舉一例說明。圖3是依據本發明另一實施例的電子裝置的方塊圖。本實施例以圖1的電子裝置100進行說明,將具有相同功能的構件標示上相同的符號,並省略相關的說明。In addition, the storage interface 130 can be inserted into the chip set, and an example will be described below. 3 is a block diagram of an electronic device in accordance with another embodiment of the present invention. The present embodiment is described with reference to the electronic device 100 of FIG. 1, and members having the same functions are denoted by the same reference numerals, and the related description will be omitted.

請參照圖3,在本實施例中,電子裝置100還包括晶片組330與擴展(expander)單元320。並且,晶片組330包括週邊元件互連擴充(Peripheral Component Interconnection Express,PCIE)埠331。儲存介面120亦包括PCIE埠305,儲存介面120透過PCIE埠305插設於晶片組330的PCIE埠331。Referring to FIG. 3 , in the embodiment, the electronic device 100 further includes a chip set 330 and an expander unit 320 . Also, the chipset 330 includes a Peripheral Component Interconnection Express (PCIE) 331. The storage interface 120 also includes a PCIE port 305. The storage interface 120 is inserted into the PCIE port 331 of the chip set 330 through the PCIE port 305.

晶片組330例如為南橋晶片或整合了南橋晶片與北橋晶片功能的電路。一般而言,晶片組330是耦接至中央處理單元(未繪示)。另外,晶片組330亦可耦接至基板管理控制器110。Wafer set 330 is, for example, a south bridge wafer or a circuit that integrates the functions of a south bridge wafer and a north bridge wafer. In general, the chip set 330 is coupled to a central processing unit (not shown). In addition, the chip set 330 can also be coupled to the substrate management controller 110.

此外,儲存介面120還包括有現場可替換單元301以 及感應器資料記錄(Sensor Data Record,SDR)303。現場可替換單元301例如是用以儲存自儲存單元130所獲得的可替換設備的詳細清單,如供應者識別碼、製造商等。感應器資料記錄303則則記錄了儲存單元130內部個別的感應器所提供的屬性資料,例如:儲存單元130可能內建有系統溫度的感應器、風扇轉速的感應器或電流的感應器等。In addition, the storage interface 120 further includes a field replaceable unit 301. And Sensor Data Record (SDR) 303. The field replaceable unit 301 is, for example, a detailed list for storing the replaceable devices obtained from the storage unit 130, such as a supplier identification code, a manufacturer, and the like. The sensor data record 303 records the attribute data provided by the individual sensors inside the storage unit 130. For example, the storage unit 130 may have a system temperature sensor, a fan speed sensor or a current sensor.

底下以目前技術而言,再舉一例說明。假設第一連接埠111與第二連接埠121皆為內部整合電路(Inter-Integrated Circuit,I2 C)埠,第一連接埠111與第二連接埠121透過內部整合電路匯流排進行耦接,而管理介面封包與回覆封包皆為IPMI封包。In the current technology, another example is given. It is assumed that the first port 111 and the second port 121 are both Inter-Integrated Circuits (I 2 C), and the first port 111 and the second port 121 are coupled through the internal integrated circuit bus. The management interface packet and the reply packet are both IPMI packets.

在硬體配置上,將基板管理控制器110的一組I2 C埠作為第一連接埠111,並且將儲存介面120的一組I2 C埠作為第二連接埠121,透過I2 C匯流排連結第一連接埠111與第二連接埠121。In the hardware configuration, a set of I 2 C埠 of the substrate management controller 110 is used as the first port 111, and a set of I 2 C埠 of the storage interface 120 is used as the second port 121, and the I 2 C confluence is transmitted. The row connects the first port 111 and the second port 121.

而硬碟控制器123與基板管理控制器110兩者韌體的處理訊號機制則如下所示。由基板管理控制器110傳送IPMI封包透過I2 C匯流排傳至儲存介面120。儲存介面120接收後必須產生處理機制,即,硬碟控制器123針對IPMI封包的資料內容做解析,將接收後的封包層層拆解至IPMI封包的表頭(header)、資料內容、驗證碼等等,藉以瞭解IPMI封包所含的訊息,進而轉換成符合儲存介面120所支援的格式的內部控制命令,使得硬碟控制器123能夠利用儲存介面120既有命令方式如小型電腦系統介面 (Small Computer System Interface,SCSI)或串列SCSI(Serial attached SCSI,SAS)命令來驅動儲存單元130或擴展單元320,以擷取儲存單元130或擴展單元320的系統環境資訊,如電壓值、硬碟剩餘空間、硬碟配置資訊等等。之後,儲存介面120將得到的系統環境資訊封裝成IPMI封包,透過透過I2 C匯流排回覆給基板管理控制器110。The processing signal mechanism of the firmware of both the hard disk controller 123 and the baseboard management controller 110 is as follows. The IPMI packet transmitted by the baseboard management controller 110 is transmitted to the storage interface 120 through the I 2 C bus. After the storage interface 120 is received, a processing mechanism must be generated. That is, the hard disk controller 123 parses the data content of the IPMI packet, and disassembles the received packet layer to the header, data content, and verification code of the IPMI packet. And so on, to understand the information contained in the IPMI packet, and then convert into an internal control command conforming to the format supported by the storage interface 120, so that the hard disk controller 123 can utilize the storage interface 120 to have a command mode such as a small computer system interface (Small). Computer System Interface (SCSI) or Serial Attached SCSI (SAS) commands to drive the storage unit 130 or the expansion unit 320 to retrieve system environment information such as voltage values and hard disk remaining of the storage unit 130 or the expansion unit 320. Space, hard drive configuration information, and more. Then, the storage interface 120 encapsulates the obtained system environment information into an IPMI packet, and sends it back to the substrate management controller 110 through the I 2 C bus.

之後,基板管理控制器110將蒐集到的系統環境資訊,透過如網頁介面(Web Interface)等使用者介面,讓使用者知道儲存單元130的狀況。據此,便能夠針對系統環境資訊,而透過基板管理控制器110來自動化處理反應機制。例如,當儲存單元130的系統溫度大於或等於預設溫度,即系統溫度過高時,基板管理控制器110可自動調高風扇310的轉動速度使儲存單元130降溫。也就是說,基板管理控制器110會直接發送控制訊號給風扇310,藉以控制風扇310的轉速。Then, the substrate management controller 110 allows the user to know the status of the storage unit 130 through a user interface such as a web interface. Accordingly, the reaction mechanism can be automated by the substrate management controller 110 for system environment information. For example, when the system temperature of the storage unit 130 is greater than or equal to the preset temperature, that is, when the system temperature is too high, the substrate management controller 110 may automatically increase the rotational speed of the fan 310 to cool the storage unit 130. That is to say, the substrate management controller 110 directly sends a control signal to the fan 310 to control the rotation speed of the fan 310.

另外,上述方法亦可實施於機櫃伺服系統中。底下再舉一例說明之。In addition, the above method can also be implemented in a cabinet servo system. Let me give another example.

圖4是依據本發明一實施例的機櫃伺服系統的方塊圖。請參照圖4,機櫃伺服系統400包括機櫃管理伺服器410、儲存介面420、儲存單元430、伺服器440、交換機450以及風扇460。機櫃管理伺服器410、儲存介面420、儲存單元430、伺服器440以及風扇460皆耦接至交換機450,藉以透過交換機450來進行溝通。在本實施例中僅列舉一個伺服器440,在其他實施例中,機櫃伺服系統400 可以包括兩個或兩個以上的伺服器440,在此並不限制。4 is a block diagram of a cabinet servo system in accordance with an embodiment of the present invention. Referring to FIG. 4, the cabinet servo system 400 includes a cabinet management server 410, a storage interface 420, a storage unit 430, a server 440, a switch 450, and a fan 460. The cabinet management server 410, the storage interface 420, the storage unit 430, the server 440, and the fan 460 are all coupled to the switch 450 for communication through the switch 450. In the present embodiment, only one server 440 is listed. In other embodiments, the cabinet servo system 400 Two or more servers 440 may be included, which are not limited herein.

機櫃管理伺服器410包括基板管理控制器411,基板管理控制器411包括第一連接埠401,以藉由第一連接埠401來傳送管理介面封包。另外,機櫃管理伺服器410還包括晶片組413。晶片組413透過如PCIE埠等連接介面407與基板管理控制器411的連接介面403(例如為PCIE埠)連接。The rack management server 410 includes a baseboard management controller 411 that includes a first port 401 for transmitting a management interface packet by the first port 401. Additionally, the rack management server 410 also includes a wafer set 413. The chip set 413 is connected to the connection interface 403 (for example, PCIE埠) of the substrate management controller 411 through a connection interface 407 such as a PCIE port.

儲存介面420耦接至儲存單元430。並且儲存介面420包括第二連接埠421以及硬碟控制器423。第二連接埠421耦接至第一連接埠401,用以接收管理介面封包。硬碟控制器423耦接至第二連接埠421,用以轉換管理介面封包為符合儲存介面420的內部控制命令,藉以依據內部控制命令來讀取系統環境資訊,並且,將系統環境資訊封裝至回覆封包,透過第二連接埠421傳送回覆封包至基板管理控制器411的第一連接埠401。其中,回覆封包符合管理介面封包的格式。The storage interface 420 is coupled to the storage unit 430. And the storage interface 420 includes a second port 421 and a hard disk controller 423. The second port 421 is coupled to the first port 401 for receiving the management interface packet. The hard disk controller 423 is coupled to the second port 421 for converting the management interface packet to the internal control command of the storage interface 420, thereby reading the system environment information according to the internal control command, and encapsulating the system environment information to The packet is replied, and the first packet 401 is transferred back to the substrate management controller 411 through the second port 421. The reply packet conforms to the format of the management interface packet.

在本實施例中,第一連接埠401與第二連接埠421皆為I2 C埠,即,第一連接埠401與第二連接埠421透過I2 C匯流排進行耦接,而管理介面封包與回覆封包皆為IPMI封包。而本實施例的IPMI封包的收送過程與上述圖3所述相似,在此省略不提。另,在本實施例中,基板管理控制器411透過交換機450來與風扇460進行溝中,例如,基板管理控制器411透過交換機將控制訊號傳送至風扇460。In this embodiment, the first port 401 and the second port 421 are both I 2 C, that is, the first port 401 and the second port 421 are coupled through the I 2 C bus, and the management interface is Both the packet and the reply packet are IPMI packets. The receiving process of the IPMI packet in this embodiment is similar to that described in FIG. 3 above, and is omitted here. In addition, in the embodiment, the substrate management controller 411 is in the trench with the fan 460 through the switch 450. For example, the substrate management controller 411 transmits the control signal to the fan 460 through the switch.

綜上所述,基板管理控制器透過例如為I2 C埠的第一連接埠與儲存介面中例如為I2 C埠的第二連接埠耦接,據以透過基板管理控制器直接去向儲存介面讀取儲存單元的系統環境資訊。據此,根據由硬碟控制器所獲得的系統環境資訊會更為準確,因為所獲得的系統環境資訊是由設置在儲存單元內部的感應器所偵測,而非由配置在儲存單元外側的感應器來偵測。另外,還可進一步在基板管理控制器中記錄關於所獲得的系統環境資訊,以便使用者日後查看。此外,基板管理控制器與儲存介面之間還可同時使用IPMI格式的封包來傳遞溝通,不僅具有安全與驗證機制,還可增進模組未來的一致化與擴展性。In summary, the BMC is coupled through e.g. e.g. I 2 C port with the reservoir port of the first interface to the second port of the I 2 C ports, according to the direct transmission destination storage interface BMC Read system environment information of the storage unit. Accordingly, the system environment information obtained by the hard disk controller is more accurate because the obtained system environment information is detected by the sensor disposed inside the storage unit, rather than being disposed outside the storage unit. Sensor to detect. In addition, the obtained system environment information may be further recorded in the substrate management controller for the user to view later. In addition, the IPMI format packet can be used to communicate between the baseboard management controller and the storage interface, which not only has security and verification mechanisms, but also enhances the future consistency and scalability of the module.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,故本發明之保護範圍當視後附之申請專利範圍所界定者為準。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‧‧‧Electronic devices

110、411‧‧‧基板管理控制器110,411‧‧‧Baseboard management controller

111、401‧‧‧第一連接埠111, 401‧‧‧ first connection埠

120、420‧‧‧儲存介面120, 420‧‧‧ storage interface

121、421‧‧‧第二連接埠121, 421‧‧‧Second connection埠

123、423‧‧‧硬碟控制器123, 423‧‧‧ Hard disk controller

130、430‧‧‧儲存單元130, 430‧‧‧ storage unit

301‧‧‧現場可替換單元301‧‧‧Field replaceable unit

303‧‧‧感應器資料記錄303‧‧‧ Sensor data record

305、331‧‧‧PCIE埠305, 331‧‧‧PCIE埠

310‧‧‧風扇310‧‧‧fan

320‧‧‧擴展單元320‧‧‧Extension unit

330、413‧‧‧晶片組330, 413‧‧‧ chipsets

403、407‧‧‧連接介面403, 407‧‧‧ connection interface

410‧‧‧機櫃管理伺服器410‧‧‧Cabinet Management Server

440‧‧‧伺服器440‧‧‧Server

450‧‧‧交換機450‧‧‧Switch

460‧‧‧風扇460‧‧‧fan

S205~S215‧‧‧本發明一實施例的管理方法各步驟S205~S215‧‧‧ steps of the management method of an embodiment of the present invention

圖1是依照本發明一實施例的電子裝置的方塊圖。1 is a block diagram of an electronic device in accordance with an embodiment of the present invention.

圖2是依照本發明一實施例的管理方法的流程圖。2 is a flow chart of a management method in accordance with an embodiment of the present invention.

圖3是依據本發明另一實施例的電子裝置的方塊圖。3 is a block diagram of an electronic device in accordance with another embodiment of the present invention.

圖4是依據本發明一實施例的機櫃伺服系統的方塊圖。4 is a block diagram of a cabinet servo system in accordance with an embodiment of the present invention.

S205~S215‧‧‧本發明一實施例的管理方法各步驟S205~S215‧‧‧ steps of the management method of an embodiment of the present invention

Claims (9)

一種電子裝置,包括:一儲存單元;一基板管理控制器,包括:一第一連接埠,傳送一管理介面封包;以及一儲存介面,耦接至該儲存單元,該儲存介面包括:一第二連接埠,耦接至該第一連接埠,接收該管理介面封包;以及一硬碟控制器,耦接至該第二連接埠,轉換該管理介面封包為符合該儲存介面的一內部控制命令,藉以依據該內部控制命令來讀取一系統環境資訊,並且,將該系統環境資訊封裝至一回覆封包,透過該第二連接埠傳送該回覆封包至該基板管理控制器的該第一連接埠,其中該回覆封包符合該管理介面封包的格式,該系統環境資訊包括該儲存單元的電力狀態、硬碟狀態、錯誤狀態、感測器資訊、磁碟陣列資訊以及現場可替換單元資訊至少其中之一或其組合者。 An electronic device includes: a storage unit; a substrate management controller, comprising: a first port, transmitting a management interface packet; and a storage interface coupled to the storage unit, the storage interface comprising: a second The connection port is coupled to the first port to receive the management interface packet; and a hard disk controller coupled to the second port to convert the management interface packet to an internal control command conforming to the storage interface, The system environment information is read according to the internal control command, and the system environment information is encapsulated into a reply packet, and the reply packet is transmitted to the first port of the baseboard management controller through the second port. The reply packet conforms to the format of the management interface packet, and the system environment information includes at least one of a power state, a hard disk state, an error state, sensor information, a disk array information, and a field replaceable unit information of the storage unit. Or a combination thereof. 如申請專利範圍第1項所述之電子裝置,更包括:一風扇,耦接至該基板管理控制器;其中,該基板管理控制器傳送一控制訊號至該風扇,藉以控制該風扇的轉速。 The electronic device of claim 1, further comprising: a fan coupled to the substrate management controller; wherein the substrate management controller transmits a control signal to the fan to control the rotation speed of the fan. 如申請專利範圍第1項所述之電子裝置,其中該硬碟控制器包括一韌體,由該韌體驅動該硬碟控制器。 The electronic device of claim 1, wherein the hard disk controller comprises a firmware, and the hard disk controller is driven by the firmware. 如申請專利範圍第1項所述之電子裝置,更包括一 晶片組,其中該儲存介面插設於該晶片組。 The electronic device as claimed in claim 1, further comprising a a chip set, wherein the storage interface is interposed in the chip set. 如申請專利範圍第1項所述之電子裝置,其中該第一連接埠與該第二連接埠皆為內部整合電路埠,該第一連接埠與該第二連接埠透過內部整合電路匯流排進行耦接,而該管理介面封包與該回覆封包皆為智慧平台管理介面封包。 The electronic device of claim 1, wherein the first port and the second port are internal integrated circuits, and the first port and the second port are connected through the internal integrated circuit bus. The management interface packet and the reply packet are both smart platform management interface packets. 一種管理方法,適於一電子裝置,該方法包括:透過一基板管理控制器的一第一連接埠傳送一管理介面封包至一儲存介面的一第二連接埠,其中該儲存介面包括一硬碟控制器,且該儲存介面耦接至一儲存裝置;由該硬碟控制器轉換該管理介面封包為符合該儲存介面的一內部控制命令,藉以依據該內部控制命令來讀取一系統環境資訊,其中該系統環境資訊包括一儲存單元的電力狀態、硬碟狀態、錯誤狀態、感測器資訊、磁碟陣列資訊以及現場可替換單元資訊至少其中之一或其組合者;以及該硬碟控制器將該系統環境資訊封裝至一回覆封包,透過該第二連接埠傳送該回覆封包至該基板管理控制器的該第一連接埠,其中該回覆封包符合該管理介面封包的格式。 A management method for an electronic device, the method comprising: transmitting a management interface packet to a second port of a storage interface through a first port of a baseboard management controller, wherein the storage interface comprises a hard disk a controller, and the storage interface is coupled to a storage device; the management interface packet is converted by the hard disk controller into an internal control command corresponding to the storage interface, so that a system environment information is read according to the internal control command, The system environment information includes at least one or a combination of a power state, a hard disk state, an error state, sensor information, a disk array information, and field replaceable unit information of a storage unit; and the hard disk controller The system environment information is encapsulated into a reply packet, and the reply packet is transmitted to the first port of the baseboard management controller through the second port, wherein the reply packet conforms to the format of the management interface packet. 如申請專利範圍第6項所述之管理方法,更包括:透過該基板管理控制器傳送一控制訊號至一風扇,藉以控制該風扇的轉速,其中該風扇耦接至該基板管理控制器。 The management method of claim 6, further comprising: transmitting a control signal to a fan through the baseboard management controller to control the rotation speed of the fan, wherein the fan is coupled to the baseboard management controller. 如申請專利範圍第7項所述之管理方法,更包括:該基板管理控制器在接收到該回覆封包之後,判斷該系統環境資訊中的一系統溫度是否大於或等於一預設溫度;以及當該系統溫度大於或等於該預設溫度時,該基板管理控制器傳送該控制訊號至該風扇。 The management method of claim 7, further comprising: after receiving the reply packet, the baseboard management controller determines whether a system temperature in the system environment information is greater than or equal to a preset temperature; When the system temperature is greater than or equal to the preset temperature, the baseboard management controller transmits the control signal to the fan. 一種機櫃伺服系統,包括:一機櫃管理伺服器,包括:一基板管理控制器,包括一第一連接埠,藉由該第一連接埠傳送一管理介面封包;一儲存單元;以及一儲存介面,耦接至該儲存單元,該儲存介面包括:一第二連接埠,耦接至該第一連接埠,接收該管理介面封包;以及一硬碟控制器,耦接至該第二連接埠,轉換該管理介面封包為符合該儲存介面的一內部控制命令,藉以依據該內部控制命令來讀取一系統環境資訊,並且,將該系統環境資訊封裝至一回覆封包,透過該第二連接埠傳送該回覆封包至該基板管理控制器的該第一連接埠,其中該回覆封包符合該管理介面封包的格式。A cabinet servo system, comprising: a cabinet management server, comprising: a baseboard management controller, comprising: a first port, transmitting a management interface packet through the first port; a storage unit; and a storage interface, The storage interface includes: a second port coupled to the first port, receiving the management interface packet; and a hard disk controller coupled to the second port, converting The management interface packet is an internal control command corresponding to the storage interface, and the system environment information is read according to the internal control command, and the system environment information is encapsulated into a reply packet, and the second interface is transmitted through the second interface. The packet is replied to the first port of the baseboard management controller, wherein the reply packet conforms to the format of the management interface packet.
TW101141441A 2012-11-07 2012-11-07 Electronic apparatus and management method thereof and rack server system TWI468922B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW101141441A TWI468922B (en) 2012-11-07 2012-11-07 Electronic apparatus and management method thereof and rack server system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW101141441A TWI468922B (en) 2012-11-07 2012-11-07 Electronic apparatus and management method thereof and rack server system

Publications (2)

Publication Number Publication Date
TW201418967A TW201418967A (en) 2014-05-16
TWI468922B true TWI468922B (en) 2015-01-11

Family

ID=51294326

Family Applications (1)

Application Number Title Priority Date Filing Date
TW101141441A TWI468922B (en) 2012-11-07 2012-11-07 Electronic apparatus and management method thereof and rack server system

Country Status (1)

Country Link
TW (1) TWI468922B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI579699B (en) * 2016-06-01 2017-04-21 英業達股份有限公司 Server system

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160127167A1 (en) * 2014-11-03 2016-05-05 Quanta Computer Inc. Multiple protocol system management
CN104360718B (en) 2014-11-10 2017-11-10 英业达科技有限公司 A kind of server
US10296228B2 (en) * 2016-04-18 2019-05-21 Super Micro Computer, Inc. Low capacity latency storage enclosure with logic device
TWI607315B (en) * 2016-08-19 2017-12-01 神雲科技股份有限公司 Method of determining connection states and device types of devices
US20200097055A1 (en) * 2018-09-21 2020-03-26 Quanta Computer Inc. Thermal management via operating system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5991530A (en) * 1993-02-05 1999-11-23 Canon Denshi Kabushiki Kaisha Interface device receivable in card storage device slot of host computer
US20050091438A1 (en) * 2003-10-24 2005-04-28 Sun Microsystems, Inc. Exporting 12C controller interfaces for 12C slave devices using IPMI micro-controller

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5991530A (en) * 1993-02-05 1999-11-23 Canon Denshi Kabushiki Kaisha Interface device receivable in card storage device slot of host computer
US20050091438A1 (en) * 2003-10-24 2005-04-28 Sun Microsystems, Inc. Exporting 12C controller interfaces for 12C slave devices using IPMI micro-controller

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI579699B (en) * 2016-06-01 2017-04-21 英業達股份有限公司 Server system

Also Published As

Publication number Publication date
TW201418967A (en) 2014-05-16

Similar Documents

Publication Publication Date Title
US20140122753A1 (en) Electronic Device, Management Method Thereof, and Rack Serving System
TWI710908B (en) Proxy device in chassis and method for using the same
TWI754654B (en) Self-configuring baseboard management controller (bmc), self-configuring method thereof and storage medium
TWI631466B (en) System and method for chassis management
US10127170B2 (en) High density serial over LAN management system
TWI468922B (en) Electronic apparatus and management method thereof and rack server system
US11336318B2 (en) Transceiver device port configuration and monitoring system
EP3035187B1 (en) Hard disk and management method
US10846159B2 (en) System and method for managing, resetting and diagnosing failures of a device management bus
US7917664B2 (en) Storage apparatus, storage apparatus control method, and recording medium of storage apparatus control program
US20070180278A1 (en) Remote power sensing for hard disk bridge controller
US20170220506A1 (en) Modular Software Defined Storage Technology
US10691185B2 (en) Cooling behavior in computer systems
US10783109B2 (en) Device management messaging protocol proxy
KR102170993B1 (en) Electronic system and operating method thereof
US20040177182A1 (en) Embedded control and monitoring of hard disk drives in an information handling system
JP2020053017A (en) System and method for hybrid power source
US10140235B2 (en) Server
US11436182B2 (en) System and method for handling in-band interrupts on inactive I3C channels
US11640377B2 (en) Event-based generation of context-aware telemetry reports
TWI607317B (en) Computer system
TW201419003A (en) Rack server system and management method of logic disc system
US9423863B2 (en) Server system with power distribution board and storage control method thereof
US10409940B1 (en) System and method to proxy networking statistics for FPGA cards
US11836127B2 (en) Unique identification of metric values in telemetry reports

Legal Events

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