TW201716977A - Routing method for cluster storage system - Google Patents

Routing method for cluster storage system Download PDF

Info

Publication number
TW201716977A
TW201716977A TW104136489A TW104136489A TW201716977A TW 201716977 A TW201716977 A TW 201716977A TW 104136489 A TW104136489 A TW 104136489A TW 104136489 A TW104136489 A TW 104136489A TW 201716977 A TW201716977 A TW 201716977A
Authority
TW
Taiwan
Prior art keywords
input
output
output modules
storage device
host
Prior art date
Application number
TW104136489A
Other languages
Chinese (zh)
Other versions
TWI566168B (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 TW104136489A priority Critical patent/TWI566168B/en
Application granted granted Critical
Publication of TWI566168B publication Critical patent/TWI566168B/en
Publication of TW201716977A publication Critical patent/TW201716977A/en

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

This invention provides a routing method for a cluster storage system. The cluster storage system includes a host and multiple storage devices, and each storage device has multiple input/output modules. The host and the storage devices form a network topology. In the network topology, the host is connected to all the input/output modules of at least one of the storage devices. Each input/output module of each storage device is connected to all the other input/output modules in that storage device, and is connected to one of the input/output modules of at least one of the other storage devices. The input/output module transmits the outside link information that records the connection relationship between the input/output module and the input/output modules of the other storage devices connected to it. However, the input/output module doesn't transmit the inside link information that records the connection relationship between the input/output module and all the other input/output modules in the same storage device. This method can avoid generating a loop when routing data.

Description

用於叢集式儲存系統的路由方法 Routing method for clustered storage systems

本發明是有關於一種路由方法,特別是指一種用於叢集式儲存系統的路由方法。 The present invention relates to a routing method, and more particularly to a routing method for a clustered storage system.

現有的叢集式儲存系統包含一主機及多數與該主機共同形成一網路拓撲的儲存設備。每一儲存設備例如為可安裝多數硬碟的簡單磁碟綁定(just a bunch of disks,JBOD)磁碟伺服器,該儲存設備包含多數輸出入模組(Input/Output Module,IOM)、一用於儲存資料的儲存模組,及一電連接該儲存模組及該等輸出入模組的處理器。該主機以序列式小型電腦系統介面(Serial Attached SCSI,SAS)連接至少一儲存設備的該等輸出入模組。該主機與該等儲存設備之間的資料傳輸的路由的建立方式為:該主機利用動態路由,以廣播(broadcast)方式傳送一詢問訊框到每一儲存設備的各個輸出入模組,然後每一儲存設備的處理器根據該詢問訊框,藉由每一儲存設備的每一輸出入模組回傳一包含該輸出入模 組與其所連接的其他輸出入模組的之間的連接資訊的回傳訊框至該主機,而使該主機能根據該等回傳訊框建立資料傳輸的路由。 An existing clustered storage system includes a host and a plurality of storage devices that form a network topology with the host. Each storage device is, for example, a just a bunch of disks (JBOD) disk server that can mount a plurality of hard disks, and the storage device includes a plurality of input/output modules (IOMs), one a storage module for storing data, and a processor electrically connected to the storage module and the input and output modules. The host connects the at least one storage device of the storage device with a Serial Attached SCSI (SAS). The route for data transmission between the host and the storage device is established in the following manner: the host uses dynamic routing to transmit an inquiry frame to each input and output module of each storage device in a broadcast manner, and then each The processor of a storage device returns, according to the query frame, each of the input and output modules of each storage device to include the output into the module. The backhaul frame of the connection information between the group and other connected input and output modules is connected to the host, so that the host can establish a route for data transmission according to the return frames.

現有的叢集式儲存系統在較大的網路裡,因為動態路由的機制,容易產生資料傳輸的迴圈(loop)。當該主機傳送資料時,資料可能在迴圈上不斷地重複地轉發,佔據網路頻寬和儲存設備的資源,造成效能下降。 Existing clustered storage systems are in larger networks, and because of the dynamic routing mechanism, loops of data transmission are easy to occur. When the host transmits data, the data may be repeatedly and repeatedly forwarded on the loop, occupying the network bandwidth and the resources of the storage device, resulting in a decrease in performance.

舉例來說,參閱圖1,該叢集式儲存系統包含一主機11、一儲存設備12A、一儲存設備12B,及一儲存設備12C。該儲存設備12A包括一輸出入模組121A1及一與該輸出入模組121A1連接的輸出入模組121A2。該儲存設備12B包括一輸出入模組121B1及一與該輸出入模組121B1連接的輸出入模組121B2。該儲存設備12C包括一輸出入模組121C1及一與該輸出入模組121C1連接的輸出入模組121C2。在該主機11根據所有的輸出入模組回傳的回傳訊框建立資料傳輸的路由之後,若該主機11要送出資料到該儲存設備12C的該輸出入模組121C2,因為該輸出入模組121A2連接與其同屬於儲存設備12A的該輸出入模組121A1,所以該主機11傳送資料到該輸出入模組121A2之後,所送出的資料可能會被該儲存設備12A的該輸出入模組121A2送至該輸出入模組121A1,再由該輸出入模組121A1送回該主機11,產生了資料傳輸的迴圈。 For example, referring to FIG. 1, the cluster storage system includes a host 11, a storage device 12A, a storage device 12B, and a storage device 12C. The storage device 12A includes an input/output module 121A1 and an input/output module 121A2 connected to the input/output module 121A1. The storage device 12B includes an input/output module 121B1 and an input/output module 121B2 connected to the input/output module 121B1. The storage device 12C includes an input/output module 121C1 and an input/output module 121C2 connected to the input/output module 121C1. After the host 11 establishes a data transmission route according to all the return frames sent back and forth by the module, if the host 11 wants to send data to the input/output module 121C2 of the storage device 12C, because the input and output modules are The 121A2 is connected to the input/output module 121A1 of the storage device 12A. Therefore, after the host 11 transmits the data to the input/output module 121A2, the sent data may be sent by the input/output module 121A2 of the storage device 12A. The input/output module 121A1 is sent back to the host 11 by the input/output module 121A1, and a loop for data transmission is generated.

目前已有數種技術試著解決資料傳輸的迴圈問題。例如,當有迴圈存在時,切斷迴圈上的某些資料傳輸的連接(link)以使迴圈消失。然而,這種方式可能會造成資料的傳輸集中在少數路徑而造成資料傳輸堵塞,或者路徑刪除後資料無法傳送至某些輸出入模組。 Several technologies have been tried to solve the loop problem of data transmission. For example, when there is a loop, the link of some data transmission on the loop is cut off to make the loop disappear. However, this method may cause data transmission to be concentrated in a few paths and cause data transmission to be blocked, or the data cannot be transmitted to some input/output modules after the path is deleted.

因此,如何研發出一種能避免發生資料傳輸迴圈的路由方法,便成為相關業者所欲努力研究的方向。 Therefore, how to develop a routing method that can avoid data transmission loops has become a direction for related companies to study hard.

因此,本發明之目的,即在提供一種用於叢集式儲存系統的路由方法。 Accordingly, it is an object of the present invention to provide a routing method for a clustered storage system.

於是,本發明用於叢集式儲存系統的路由方法,該叢集式儲存系統包含一主機及多數與該主機共同形成一網路拓撲並分別包括多數輸出入模組的儲存設備,在該網路拓撲中,該主機連接該等儲存設備的至少其中一者的每一輸出入模組,每一儲存設備的每一輸出入模組連接該輸出入模組所屬的儲存設備的其他每一輸出入模組,且連接至少一其他儲存設備的該等輸出入模組的其中一者,且該主機到任一輸出入模組的由該主機與屬於不同儲存設備的一或多數輸出入模組所組成的路徑僅有一條,該用於叢集式儲存系統的路由方法包含一步驟(A)、一步驟(B),及一步驟(C)。 Thus, the present invention is directed to a routing method for a clustered storage system, the clustered storage system comprising a host and a plurality of storage devices that together with the host form a network topology and respectively include a plurality of input and output modules, in the network topology The host is connected to each of the output modules of at least one of the storage devices, and each of the input and output modules of each storage device is connected to each of the other input and output modules of the storage device to which the input and output modules belong. And one of the input and output modules connected to at least one other storage device, and the host to any one of the input and output modules is composed of the host and one or more of the input and output modules belonging to different storage devices There is only one path, and the routing method for the cluster storage system includes a step (A), a step (B), and a step (C).

在步驟(A)中,該主機藉由該網路拓撲發送一詢問訊框到該等儲存設備的該等輸出入模組。 In the step (A), the host sends an inquiry frame to the input and output modules of the storage devices by using the network topology.

在步驟(B)中,每一儲存設備的每一輸出入模組在接收到該詢問訊框之後回傳一回傳訊框至該主機,其中該回傳訊框包含該輸出入模組與其所連接的每一其他儲存設備的輸出入模組之間的外部連接資訊,且不包含該輸出入模組與其所屬的儲存設備的其他任一輸出入模組之間的內部連接資訊。 In step (B), each input/output module of each storage device returns a communication frame to the host after receiving the inquiry frame, wherein the return frame includes the input/output module connected thereto The external connection information between the input and output modules of each of the other storage devices does not include the internal connection information between the input/output module and any other input/output modules of the storage device to which it belongs.

在步驟(C)中,該主機根據該等輸出入模組回傳的該等回傳訊框產生該主機與該等輸出入模組之間的資料傳輸的路由。 In the step (C), the host generates a route for data transmission between the host and the input and output modules according to the return frames sent back by the input and output modules.

本發明之功效在於:藉由該等輸出入模組回傳的該等回傳訊框不包含該等輸出入模組與其所屬的儲存設備的其他任一輸出入模組之間的外部連接資訊,以在建立資料傳輸的路由時避免產生資料傳輸的迴圈。 The effect of the present invention is that the backhaul frames returned by the input and output modules do not include external connection information between the input and output modules and any other input and output modules of the storage device to which they belong. To avoid the loop of data transmission when establishing the route of data transmission.

11‧‧‧主機 11‧‧‧Host

12A‧‧‧儲存設備 12A‧‧‧Storage equipment

121A1‧‧‧輸出入模組 121A1‧‧‧Output module

121A2‧‧‧輸出入模組 121A2‧‧‧Output module

12B‧‧‧儲存設備 12B‧‧‧Storage equipment

121B1‧‧‧輸出入模組 121B1‧‧‧Output module

121B2‧‧‧輸出入模組 121B2‧‧‧Output module

12C‧‧‧儲存設備 12C‧‧‧Storage equipment

121C1‧‧‧輸出入模組 121C1‧‧‧Output module

121C2‧‧‧輸出入模組 121C2‧‧‧Output module

2‧‧‧主機 2‧‧‧Host

3‧‧‧儲存設備 3‧‧‧Storage equipment

3A‧‧‧儲存設備 3A‧‧‧Storage equipment

31‧‧‧輸出入模組 31‧‧‧Output module

31A1‧‧‧輸出入模組 31A1‧‧‧Output module

31A2‧‧‧輸出入模組 31A2‧‧‧Output module

3B‧‧‧儲存設備 3B‧‧‧Storage equipment

31B1‧‧‧輸出入模組 31B1‧‧‧Output module

31B2‧‧‧輸出入模組 31B2‧‧‧Output module

3C‧‧‧儲存設備 3C‧‧‧Storage equipment

31C1‧‧‧輸出入模組 31C1‧‧‧Output module

31C2‧‧‧輸出入模組 31C2‧‧‧Output module

401~403‧‧‧步驟 401~403‧‧‧Steps

本發明之其他的特徵及功效,將於參照圖式的實施方式中清楚地呈現,其中:圖1是一方塊圖,說明一習知的叢集式儲存系統;圖2是一方塊圖,說明執行本發明用於叢集式儲存系統的路由方法的一的實施例的一叢集式儲存系統; 圖3是一流程圖,說明本發明用於叢集式儲存系統的路由方法的一實施例;圖4是一示意圖,說明本發明用於叢集式儲存系統的路由方法的該實施例的一詢問訊框的傳輸情形;圖5是一示意圖,說明本發明用於叢集式儲存系統的路由方法的該實施例的多數回傳訊框的傳輸情形;圖6是一示意圖,說明本發明用於叢集式儲存系統的路由方法的該實施例的該叢集式儲存系統的一主機與多數儲存設備的每一輸出入模組之間的資料傳輸的路由;圖7是一示意圖,說明本發明用於叢集式儲存系統的路由方法的該實施例的該叢集式儲存系統的該主機與該等儲存設備共同形成一樹狀網路拓撲;及圖8是一示意圖,說明本發明用於叢集式儲存系統的路由方法的該實施例的該叢集式儲存系統的該主機與該等儲存設備共同形成一星狀網路拓撲。 Other features and advantages of the present invention will be apparent from the embodiments of the present invention, wherein: FIG. 1 is a block diagram illustrating a conventional cluster storage system; FIG. 2 is a block diagram illustrating execution A cluster storage system for an embodiment of a routing method for a clustered storage system of the present invention; 3 is a flow chart illustrating an embodiment of a routing method for a clustered storage system of the present invention; and FIG. 4 is a schematic diagram illustrating an inquiry of the embodiment of the routing method for a clustered storage system of the present invention. Figure 5 is a schematic diagram illustrating the transmission of most of the back frames of the embodiment of the routing method of the cluster storage system of the present invention; and Figure 6 is a schematic diagram illustrating the present invention for cluster storage Routing of data transmission between a host of the clustered storage system and each of the input and output modules of the plurality of storage devices of the embodiment of the system; FIG. 7 is a schematic diagram illustrating the present invention for cluster storage The host of the clustered storage system of the embodiment of the system forms a tree network topology together with the storage devices; and FIG. 8 is a schematic diagram illustrating the routing method of the present invention for a cluster storage system. The host of the clustered storage system of this embodiment, together with the storage devices, forms a star network topology.

參閱圖2,本發明用於叢集式儲存系統的路由方法之一實施例是由一叢集式儲存系統執行。該叢集式儲存系統包含一主機2及多數與該主機2共同形成一網路拓撲的儲存設備3。每一儲存設 備3包括多數輸出入模組31、一用於儲存資料的儲存模組(圖未示),及一電連接該儲存模組及該等輸出入模組的處理器(圖未示)。其中,該主機2連接該等儲存設備3的至少其中一者的每一輸出入模組31。每一儲存設備3的每一輸出入模組31具有一SAS地址,並連接該輸出入模組31所屬的儲存設備3的其他每一輸出入模組31,且連接至少一其他儲存設備3的該等輸出入模組31的其中一者,且該主機2到任一輸出入模組31的由該主機2與屬於不同儲存設備3的一或多數輸出入模組31所組成的路徑僅有一條。例如,由該主機2到該輸出入模組31C2的該路徑由該主機2與屬於不同儲存設備3的該輸出入模組31A2、該輸出入模組31B2、該輸出入模組31C2所組成;又例如,由該主機2到該輸出入模組31B1的該路徑由該主機2與屬於不同儲存設備3的該輸出入模組31A1、該輸出入模組31B1所組成。在本實施例中,是以該叢集式儲存系統包含三儲存設備3,且每一儲存設備3包括二輸出入模組31為例,但不以此為限。且在本實施例中,該儲存設備3例如為JBOD磁碟伺服器,該主機2例如為伺服器主機,且該主機2及該等儲存設備3分別具有二個埠(port),並透過主機匯流排配接器(host bus adapter,HBA)連接,形成SAS網路拓撲,但不以此為限。 Referring to Figure 2, one embodiment of the routing method of the present invention for a clustered storage system is performed by a clustered storage system. The clustered storage system includes a host 2 and a plurality of storage devices 3 that together with the host 2 form a network topology. Each storage The device 3 includes a plurality of input and output modules 31, a storage module for storing data (not shown), and a processor (not shown) electrically connected to the storage module and the input and output modules. The host 2 is connected to each of the input and output modules 31 of at least one of the storage devices 3. Each of the input and output modules 31 of each storage device 3 has a SAS address, and is connected to each of the other input and output modules 31 of the storage device 3 to which the input and output module 31 belongs, and is connected to at least one other storage device 3 One of the input and output modules 31, and the path of the host 2 to any one of the input and output modules 31 consisting of the host 2 and one or more of the input and output modules 31 belonging to different storage devices 3 is only One. For example, the path from the host 2 to the input/output module 31C2 is composed of the host 2 and the input/output module 31A2, the input/output module 31B2, and the input/output module 31C2 belonging to different storage devices 3; For example, the path from the host 2 to the input/output module 31B1 is composed of the host 2 and the input/output module 31A1 and the input/output module 31B1 belonging to different storage devices 3. In this embodiment, the cluster storage system includes three storage devices 3, and each storage device 3 includes two input and output modules 31 as an example, but is not limited thereto. In this embodiment, the storage device 3 is, for example, a JBOD disk server, and the host device 2 is, for example, a server host, and the host device 2 and the storage devices 3 respectively have two ports and are transmitted through the host. The bus bus adapter (HBA) is connected to form a SAS network topology, but not limited to this.

參閱圖2與圖3,以下說明該實施例的各個步驟。 Referring to Figures 2 and 3, the various steps of this embodiment are described below.

在步驟401中,該主機2藉由該網路拓撲發送一詢問訊框到該等儲存設備3的該等輸出入模組31,其中該詢問訊框為SAS訊框(SAS frame)。詳細而言,如圖4所示,該詢問訊框被傳送到一儲存設備3A的一輸出入模組31A1;然後,再藉由該輸出入模組31A1發送該詢問訊框到其所連接的另一儲存設備3B的一輸出入模組31B1;最後,由該輸出入模組31B1發送該詢問訊框到其所連接的另一儲存設備3C的一輸出入模組31C1。類似地,該詢問訊框也被傳送到該儲存設備3A的一輸出入模組31A2;然後,再藉由該輸出入模組31A2發送該詢問訊框到其所連接的該儲存設備3B的一輸出入模組31B2;最後,由該輸出入模組31B2發送該詢問訊框到其所連接的該儲存設備3C的一輸出入模組31C2。 In step 401, the host 2 sends an inquiry frame to the input/output modules 31 of the storage devices 3 by using the network topology, wherein the query frame is a SAS frame. In detail, as shown in FIG. 4, the inquiry frame is transmitted to an input/output module 31A1 of a storage device 3A; and then the inquiry frame is sent to the connected device by the input/output module 31A1. An input/output module 31B1 of another storage device 3B; finally, the input/output module 31B1 sends the inquiry frame to an input/output module 31C1 of another storage device 3C to which it is connected. Similarly, the inquiry frame is also transmitted to an input/output module 31A2 of the storage device 3A; then, the inquiry frame is sent by the input/output module 31A2 to one of the storage devices 3B to which it is connected. The input and output module 31B2 is finally sent by the input/output module 31B2 to an input/output module 31C2 of the storage device 3C to which it is connected.

在步驟402中,每一儲存設備3的每一輸出入模組31在接收到該詢問訊框之後,每一儲存設備3的該處理器根據該詢問訊框,藉由該儲存設備3的每一輸出入模組31傳送一回傳訊框至該主機2,其中該回傳訊框包含該輸出入模組31與其所連接的每一其他儲存設備3的輸出入模組31之間的外部連接資訊,也就是包含該輸出入模組31的SAS地址及與其所連接的每一其他儲存設備3的輸出入模組31的SAS地址,且不包含該輸出入模組31與其所屬的儲存設備3的其他任一輸出入模組31之間的內部連接資訊,也就是不包 含該輸出入模組31所屬的儲存設備3的其他任一輸出入模組31的SAS地址。 In step 402, after each input and output module 31 of each storage device 3 receives the inquiry frame, the processor of each storage device 3 according to the inquiry frame, by each of the storage devices 3 An input/output module 31 transmits a communication frame to the host 2, wherein the return frame includes external connection information between the input/output module 31 and the input/output module 31 of each other storage device 3 to which it is connected. That is, the SAS address of the input/output module 31 and the SAS address of the input/output module 31 of each other storage device 3 connected thereto are not included, and the input/output module 31 and the storage device 3 to which it belongs are not included. The internal connection information between any other input and output modules 31, that is, not included The SAS address of any other input/output module 31 of the storage device 3 to which the input/output module 31 belongs is included.

其中,在實施上,每一儲存設備3的處理器針對該儲存設備3的每一輸出入模組31,先藉由習知技術產生習知的包含該儲存設備3中所有的輸出入模組31的SAS地址與該輸出入模組31所連接的每一其他儲存設備3的輸出入模組31的SAS地址的該回傳訊框,接著執行一程式碼來辨識該回傳訊框中是否除了該輸出入模組31的SAS地址之外還包含該儲存設備3的其他輸出入模組31的SAS地址,再從該回傳訊框中刪除該儲存設備3的其他輸出入模組31的SAS地址,而使得該回傳訊框僅包含該輸出入模組31的SAS地址及與其所連接的每一其他儲存設備3的輸出入模組31的SAS地址,而不包含該輸出入模組31所屬的儲存設備3的其他任一輸出入模組31的SAS地址。 In the implementation, the processor of each storage device 3 for each input and output module 31 of the storage device 3, firstly generates all the input and output modules included in the storage device 3 by conventional techniques. The SAS address of 31 and the return frame of the SAS address of the input/output module 31 of each of the other storage devices 3 connected to the input/output module 31, and then executing a code to identify whether the return frame is apart from the The SAS address of the input/output module 31 further includes the SAS address of the other input/output module 31 of the storage device 3, and the SAS address of the other input/output module 31 of the storage device 3 is deleted from the back frame. The return frame only includes the SAS address of the input/output module 31 and the SAS address of the input/output module 31 of each other storage device 3 connected thereto, and does not include the storage to which the input/output module 31 belongs. Any other input or output of device 3 enters the SAS address of module 31.

參閱圖5,在本實施例中,該輸出入模組31C1回傳的回傳訊框包含下列表一所示的一包含自身的SAS地址與該輸出入模組31B1的SAS地址的表格資料,以讓該主機2據以判斷出該輸出入模組31C1連接該輸出入模組31B1。該輸出入模組31B1回傳的回傳訊框包含下列表二所示的一包含自身的SAS地址、該輸出入模組31C1的SAS地址,及該輸出入模組31A1的SAS地址的表格資料,以讓該主機2據以判斷出該輸出入模組31B1連接該輸出入模組 31C1與該輸出入模組31A1。該輸出入模組31A1回傳的回傳訊框包含下列表三所示的一包含自身的SAS地址與該輸出入模組31B1的SAS地址的表格資料,以讓該主機2據以判斷出該輸出入模組31A1連接該輸出入模組31B1。同理,該輸出入模組31A2、該輸出入模組31B2,及該輸出入模組31C2,所回傳方式亦相同。 Referring to FIG. 5, in the embodiment, the backhaul frame returned by the input/output module 31C1 includes a table data including a SAS address of its own and a SAS address of the input/output module 31B1 as shown in the following list. The host 2 determines that the input/output module 31C1 is connected to the input/output module 31B1. The backhaul frame returned by the input/output module 31B1 includes a SAS address including its own, a SAS address of the input/output module 31C1, and a table data of the SAS address of the input/output module 31A1. So that the host 2 determines that the input/output module 31B1 is connected to the input/output module. 31C1 and the input and output module 31A1. The backhaul frame returned by the input/output module 31A1 includes a table data including its own SAS address and the SAS address of the input/output module 31B1 as shown in the following Table 3, so that the host 2 can determine the output accordingly. The input module 31A1 is connected to the input/output module 31B1. Similarly, the input/output module 31A2, the input/output module 31B2, and the input/output module 31C2 have the same return mode.

在步驟403中,該主機2根據該等輸出入模組31傳送的該等回傳訊框產生該主機2與該等儲存設備3的該等輸出入模組31之間的資料傳輸的路由。 In step 403, the host 2 generates a route for data transmission between the host 2 and the input/output modules 31 of the storage devices 3 according to the return frames transmitted by the input/output modules 31.

特別地,如圖6所示,因為在步驟403中的該等回傳訊框不包含屬於同一儲存設備3的該等輸出入模組31之間的內部連接資訊,而使該主機2判定屬於同一儲存設備3的該等輸出入模組31之間沒有路徑連接。如此,該主機2與該輸出入模組31C1之間的路 由,為經該輸出入模組31A1及該輸出入模組31B1,而到該輸出入模組31C1的路徑;該主機2與該輸出入模組31B1之間的路由,為經該輸出入模組31A1,而到該輸出入模組31B1的路徑;該主機2與該輸出入模組31A1之間的路由,則是由該主機2直接傳送到該輸出入模組31A1。同理,該主機2與該輸出入模組31A2、該輸出入模組31B2,及該輸出入模組31C2之間所建立的路由類似上述。由上述可知,因為該主機2判定屬於同一儲存設備3的該等輸出入模組31之間沒有路徑連接,所以該主機2藉由動態路由所產生的該主機2與該輸出入模組31之間的資料傳輸的路由不會造成迴圈。相對地,在習知的叢集式儲存系統的動態路由方法中,因為回傳訊框包含屬於同一儲存設備的輸出入模組之間的內部連接資訊,因而主機與輸出入模組之間的資料傳輸的路由容易造成迴圈。此外,在本實施例中是以靜態路由的方式建立同一儲存設備3的該等輸出入模組31之間的路由,以達成同一儲存設備3的該等輸出入模組31之間的資料傳輸。 Specifically, as shown in FIG. 6, since the back frames in step 403 do not include internal connection information between the input and output modules 31 belonging to the same storage device 3, the host 2 determines that they belong to the same There is no path connection between the input and output modules 31 of the storage device 3. Thus, the path between the host 2 and the input/output module 31C1 The path to the input/output module 31C1 through the input/output module 31A1 and the input/output module 31B1; the route between the host 2 and the input/output module 31B1 is through the output into the module The group 31A1 and the path to the input/output module 31B1; the route between the host 2 and the input/output module 31A1 is directly transmitted by the host 2 to the input/output module 31A1. Similarly, the route established between the host 2 and the input/output module 31A2, the input/output module 31B2, and the input/output module 31C2 is similar to the above. As can be seen from the above, since the host 2 determines that there is no path connection between the input/output modules 31 belonging to the same storage device 3, the host 2 and the input/output module 31 are generated by the dynamic routing of the host 2. The route of data transfer between the two does not cause a loop. In contrast, in the dynamic routing method of the conventional cluster storage system, since the back frame contains internal connection information between the input and output modules belonging to the same storage device, data transmission between the host and the input and output modules The route is easy to cause loops. In addition, in the embodiment, the routes between the input and output modules 31 of the same storage device 3 are established in a static routing manner to achieve data transmission between the input and output modules 31 of the same storage device 3. .

此外,雖然在本實施例中,該網路拓撲為圖2所示的線形拓撲,但該網路拓撲可有其他的實施態樣,例如為圖7所示的樹狀拓撲、圖8所示的星狀拓撲等,其中該主機2到任一輸出入模組31的由該主機2與屬於不同儲存設備3的一或多數輸出入模組31所組成的路徑也僅有一條。 In addition, although in this embodiment, the network topology is the linear topology shown in FIG. 2, the network topology may have other implementation manners, such as the tree topology shown in FIG. 7, and FIG. The star topology and the like, wherein the host 2 to any one of the input and output modules 31 has only one path composed of the host 2 and one or more of the input and output modules 31 belonging to different storage devices 3.

綜上所述,本發明用於叢集式儲存系統的路由方法,藉由每一輸出入模組31傳送的該回傳訊框不包含該等輸出入模組31與其所屬的儲存設備3的其他任一輸出入模組31之間的內部連接資訊,以避免該主機2傳送的資料由動態路由所建立路由經由其中一輸出入模組31時,傳送到位於同一儲存設備3的其他輸出入模組31而產生迴圈,故確實能達成本發明之目的。 In summary, the routing method for the cluster storage system of the present invention, the back frame transmitted by each of the input and output modules 31 does not include the other components of the input and output module 31 and the storage device 3 to which it belongs. An internal connection information between the input and output modules 31 to prevent the data transmitted by the host 2 from being routed by the dynamic routing to the other input and output modules located in the same storage device 3 through one of the output modules 31 The loop is generated by 31, so that the object of the present invention can be achieved.

惟以上所述者,僅為本發明之實施例而已,當不能以此限定本發明實施之範圍,凡是依本發明申請專利範圍及專利說明書內容所作之簡單的等效變化與修飾,皆仍屬本發明專利涵蓋之範圍內。 However, the above is only the embodiment of the present invention, and the scope of the invention is not limited thereto, and all the equivalent equivalent changes and modifications according to the scope of the patent application and the patent specification of the present invention are still The scope of the invention is covered.

401~403‧‧‧步驟 401~403‧‧‧Steps

Claims (7)

一種用於叢集式儲存系統的路由方法,該叢集式儲存系統包含一主機及多數與該主機共同形成一網路拓撲並分別包括多數輸出入模組的儲存設備,在該網路拓撲中,該主機連接該等儲存設備的至少其中一者的每一輸出入模組,每一儲存設備的每一輸出入模組連接該輸出入模組所屬的儲存設備的其他每一輸出入模組,且連接至少一其他儲存設備的該等輸出入模組的其中一者,且該主機到任一輸出入模組的由該主機與屬於不同儲存設備的一或多數輸出入模組所組成的路徑僅有一條,該用於叢集式儲存系統的路由方法包含:(A)該主機藉由該網路拓撲發送一詢問訊框到該等儲存設備的該等輸出入模組;(B)每一儲存設備的每一輸出入模組在接收到該詢問訊框之後回傳一回傳訊框至該主機,其中該回傳訊框包含該輸出入模組與其所連接的每一其他儲存設備的輸出入模組之間的外部連接資訊,且不包含該輸出入模組與其所屬的儲存設備的其他任一輸出入模組之間的內部連接資訊;及(C)該主機根據該等輸出入模組回傳的該等回傳訊框產生該主機與該等輸出入模組之間的資料傳輸的路由。 A routing method for a cluster storage system, the cluster storage system comprising a host and a plurality of storage devices that form a network topology together with the host and respectively include a plurality of input and output modules, wherein the network topology The host is connected to each of the input and output modules of at least one of the storage devices, and each of the input and output modules of each storage device is connected to each of the other input and output modules of the storage device to which the input and output modules belong, and Connecting one of the input and output modules of at least one other storage device, and the path of the host to any one of the input and output modules by the host and one or more of the input and output modules belonging to different storage devices is only The routing method for the cluster storage system includes: (A) the host sends an inquiry frame to the input and output modules of the storage devices by the network topology; (B) each storage Each input/output module of the device returns a communication frame to the host after receiving the inquiry frame, wherein the return frame includes the input and output modules and the input of each other storage device connected thereto. Entering external connection information between modules, and does not include internal connection information between the input/output module and any other input/output module of the storage device to which it belongs; and (C) the host enters the module according to the output The backhaul frames returned by the group generate a route for data transmission between the host and the input and output modules. 如請求項1所述的用於叢集式儲存系統的路由方法,其中,在步驟(A)中,該主機發送該詢問訊框到其所連接的 該等輸出入模組,且每一輸出入模組發送該詢問訊框到其所連接的屬於其他儲存設備的該輸出入模組。 The routing method for a cluster storage system according to claim 1, wherein in step (A), the host sends the inquiry frame to the connected The input and output modules are sent to the module, and each of the input and output modules sends the query frame to the input and output modules of other storage devices to which they are connected. 如請求項1所述的用於叢集式儲存系統的路由方法,其中,在步驟(B)中,該回傳訊框包含該輸出入模組的地址及與其所連接的每一其他儲存設備的輸出入模組的地址,且不包含該輸出入模組所屬的儲存設備的其他任一輸出入模組的地址。 The routing method for a cluster storage system according to claim 1, wherein in step (B), the back frame includes an address of the input/output module and an output of each other storage device connected thereto Enter the address of the module, and does not include the address of any other input and output module of the storage device to which the input and output modules belong. 如請求項3所述的用於叢集式儲存系統的路由方法,其中,在步驟(B)中,該儲存設備針對該輸出入模組,先產生包含該儲存設備中所有的輸出入模組的地址與該輸出入模組所連接的每一其他儲存設備的輸出入模組的地址的該回傳訊框,再從該回傳訊框中刪除除了該輸出入模組的地址之外的該儲存設備所包括的其他輸出入模組的地址。 The routing method for a cluster storage system according to claim 3, wherein in the step (B), the storage device first generates, for the input and output modules, all the input and output modules in the storage device. The address frame of the address of the input/output module of each of the other storage devices connected to the input and output module, and the storage device except the address of the input and output module is deleted from the back frame The address of other input and output modules included. 如請求項4所述的用於叢集式儲存系統的路由方法,其中,在步驟(B)中該儲存設備執行一程式碼後,辨識該回傳訊框中是否包含除了該輸出入模組的地址之外的還該儲存設備的所包括的其他輸出入模組的地址,再從該回傳訊框中刪除該儲存設備的其他輸出入模組的地址。 The routing method for a cluster storage system according to claim 4, wherein after the storage device executes a code in step (B), it is identified whether the return frame contains an address other than the input/output module. In addition to the address of the other input and output modules included in the storage device, the address of the other input and output modules of the storage device is deleted from the return frame. 如請求項3~5所述的用於叢集式儲存系統的路由方法,其中,在步驟(B)中,該地址為一序列式小型電腦系統介面地址。 The routing method for a cluster storage system according to claims 3 to 5, wherein in the step (B), the address is a serial small computer system interface address. 如請求項1所述的用於叢集式儲存系統的路由方法,其中,該詢問訊框及該回傳訊框為序列式小型電腦系統介面訊框。 The routing method for a cluster storage system according to claim 1, wherein the query frame and the back frame are serial small computer system interface frames.
TW104136489A 2015-11-05 2015-11-05 Routing method for cluster storage system TWI566168B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW104136489A TWI566168B (en) 2015-11-05 2015-11-05 Routing method for cluster storage system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW104136489A TWI566168B (en) 2015-11-05 2015-11-05 Routing method for cluster storage system

Publications (2)

Publication Number Publication Date
TWI566168B TWI566168B (en) 2017-01-11
TW201716977A true TW201716977A (en) 2017-05-16

Family

ID=58407971

Family Applications (1)

Application Number Title Priority Date Filing Date
TW104136489A TWI566168B (en) 2015-11-05 2015-11-05 Routing method for cluster storage system

Country Status (1)

Country Link
TW (1) TWI566168B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112578994A (en) * 2019-09-29 2021-03-30 佛山市顺德区顺达电脑厂有限公司 Cluster type storage system for expanding hard disk expansion unit

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060085425A1 (en) * 2004-10-15 2006-04-20 International Business Machines Corporation Cluster spanning command routing
US8127059B1 (en) * 2005-09-02 2012-02-28 Pmc-Sierra Us, Inc. Apparatus for interconnecting hosts with storage devices
US20080101395A1 (en) * 2006-10-30 2008-05-01 Raytheon Company System and Method for Networking Computer Clusters

Also Published As

Publication number Publication date
TWI566168B (en) 2017-01-11

Similar Documents

Publication Publication Date Title
US11765057B2 (en) Systems and methods for performing end-to-end link-layer and IP-layer health checks between a host machine and a network virtualization device
US9231849B2 (en) Apparatus and method for controlling virtual switches
US9659075B2 (en) Providing high availability in an active/active appliance cluster
US9197539B2 (en) Multicast miss notification for a distributed network switch
US9397851B2 (en) Directed route load/store packets for distributed switch initialization
US9983813B2 (en) Maintenance of a fabric priority during synchronous copy operations
US9832255B2 (en) Event distribution method, control device, and processor on software-defined network
CN104811392A (en) Method and system for processing resource access request in network
US20140233579A1 (en) Directed route load/store packets for distributed switch initialization
CN107547346A (en) A kind of message transmitting method and device
US20190042161A1 (en) Hard Disk Operation Method and Hard Disk Manager
US9401862B2 (en) Optimized internet small computer system interface path
WO2016187967A1 (en) Method and apparatus for realizing log transmission
US9641611B2 (en) Logical interface encoding
US20220210086A1 (en) Managing network state for high flow availability within distributed network platform
TWI566168B (en) Routing method for cluster storage system
WO2018099241A1 (en) Disk array controller, and data processing method and device thereof
US10353585B2 (en) Methods for managing array LUNs in a storage network with a multi-path configuration and devices thereof
CN109413142A (en) A kind of iSCSI virtual protocol implementation method under Linux
WO2018145267A1 (en) Forwarder network-access recognition method, sdn controller, and forwarder
CN106817307B (en) Method for establishing route for cluster type storage system
CN104954392A (en) Cloud disk as well as realization method and realization device thereof
US11106614B2 (en) Asymmetric logical unit access path selection system
US11294847B1 (en) Fibre channel host onboarding system
US11096108B2 (en) Asymmetric logical unit access path selection system