[go: up one dir, main page]

TWI406545B - Method for access remote logic device with multi-path in linux operation system - Google Patents

Method for access remote logic device with multi-path in linux operation system Download PDF

Info

Publication number
TWI406545B
TWI406545B TW97100914A TW97100914A TWI406545B TW I406545 B TWI406545 B TW I406545B TW 97100914 A TW97100914 A TW 97100914A TW 97100914 A TW97100914 A TW 97100914A TW I406545 B TWI406545 B TW I406545B
Authority
TW
Taiwan
Prior art keywords
initiator
connection
iscsi
path
target end
Prior art date
Application number
TW97100914A
Other languages
Chinese (zh)
Other versions
TW200931885A (en
Inventor
Ming Sheng Zhu
ji dong Wang
Tom Chen
Win Harn Liu
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 TW97100914A priority Critical patent/TWI406545B/en
Publication of TW200931885A publication Critical patent/TW200931885A/en
Application granted granted Critical
Publication of TWI406545B publication Critical patent/TWI406545B/en

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

Method for access remote logic device with multi-path in Linux operation system is disclosed. The method is used for implement access remote devices with multi-paths between initiator and target in a storage area network (SAN). First, a connection is built between initiator and target. Afterward, the initiator sends a request to the target for setting at least one session. And then, the initiator receives allocation informs of the iSCSI Host. The initiator retrieves storage devices of the corresponding iSCSI Host by means of sending a report LUN command. And than, the initiator allocates a device-mapper for generates a redundancy devices inform according to storage devices and its corresponding logic unit number (LUN). And the initiator maps those redundancy storage devices into a mapped device.

Description

Linux系統下的多路徑訪問遠端邏輯設備的方法Method for multi-path access remote logic device under Linux system

本發明為一種訪問遠端邏輯設備的方法,且特別是一種Linux系統下的多路徑訪問遠端邏輯設備的方法。The present invention is a method for accessing a remote logical device, and in particular, a method for multipath access to a remote logical device under a Linux system.

儲存區域網路(Storage Area Network,SAN)所指為透過網際網路小型電腦系統介面(internet Small Computer Systems Interface,iSCSI)通訊協定標準,將網際網路上多個分散的儲存設備連結成的虛擬大型儲存設備的技術。使用者透過一個儲存區域網路(Storage Area Network,SAN)存取遠端邏輯磁碟上的資料,就如同存取本地端的硬碟裝置般。相較於現有RAID技術,使用iSCSI技術建立之儲存區域網路兼具小型電腦系統介面(Small Computer Interface,SCSI)的高速傳輸特性,以及優於現有儲存設備的高擴充性。因此,儲存區域網路逐漸成為資訊儲存相關的熱門技術。儲存區域網路,其包含發起端(Initiator)及目標端(Target)兩部分。所謂的發起端(initiator)可視為要求提供存取服務者,而目標端可視為是儲存裝置的提供者。目標端產生多個邏輯單元號(Logic Unit Number,LUN),這些邏輯單元號分別對應至網路上的實體儲存裝置。當發起端與目標端建立對話(Session)後,隨即取得這些邏輯單元號,並加以分配給使用者。使用者尋訪邏輯單元號,並透過iSCSI命令指令存取前述的實體儲存裝置。一般而言,發起端與目標端之間僅會建立一條對話。若允許在發起端與目標端間建立多重路徑讀寫(Multi-Path Input/Output),即可達到容錯備援與負載平衡之功效。Storage Area Network (SAN) refers to the virtual large-scale connection of multiple distributed storage devices on the Internet through the Internet Small Computer Systems Interface (iSCSI) protocol. The technology of storage devices. The user accesses the data on the remote logical disk through a storage area network (SAN), just like accessing the local hard disk device. Compared with the existing RAID technology, the storage area network established by iSCSI technology has the high-speed transmission characteristics of the Small Computer Interface (SCSI) and the high scalability of the existing storage devices. Therefore, the storage area network has gradually become a popular technology related to information storage. A storage area network, which includes an initiator (initiator) and a target (Target). The so-called initiator can be considered to require access to the provider, and the target can be considered to be the provider of the storage device. The target end generates a plurality of Logic Unit Numbers (LUNs), which correspond to physical storage devices on the network. After the initiator establishes a session with the target, these logical unit numbers are obtained and assigned to the user. The user searches for the logical unit number and accesses the aforementioned physical storage device through the iSCSI command command. In general, only one conversation will be established between the initiator and the target. If multi-path Input/Output is allowed between the initiator and the target, fault-tolerant backup and load balancing can be achieved.

一般而言,Linux作業系統的伺服器在執行效率與穩定性皆相較於Windows作業系統穩定。服務伺服器採用Linux作業系統意味可帶來較高規格的系統穩定性。另外,這些服務伺服器若可支援多重路徑讀寫及避免資料重複,則可提高系統可用性及數據的可靠度。然而,在Linux作業系統下,儲存區域網路的部分發起端與目標端根本無法支援多重路徑讀寫;另外,部分的發起端與目標端雖提供多重路徑讀寫,然而在詢訪相異邏輯單元號時,卻發現所存取的資料內容相同。諸如此類,如何讓Linux系統環境下的儲存區域網路支援多路徑訪問,並避免出現兩個內容相同的邏輯設備,遂成為儲存區域網路領域中的重要資訊議題。In general, the operating system of the Linux operating system is more stable and stable than the Windows operating system. The use of the Linux operating system by the service server means that the system stability of a higher specification can be achieved. In addition, these service servers can improve system availability and data reliability if they support multi-path reading and writing and avoid data duplication. However, under the Linux operating system, some initiators and targets of the storage area network cannot support multi-path reading and writing at all; in addition, some initiators and targets provide multiple paths for reading and writing, but in the inquiry of different logic. When the unit number is found, the content of the accessed material is found to be the same. In this way, how to enable the storage area network in the Linux system environment to support multi-path access and avoid the emergence of two logical devices with the same content has become an important information topic in the field of storage area networks.

鑒於上述Linux系統環境中,不支援多路徑訪問遠端邏輯設備,或訪問相異邏輯設備號(Logic Unit Number,LUN),卻取得相同資料內容等問題。本發明之目的在於提出一種用於Linux系統下的多路徑訪問遠端邏輯設備的方法,藉由找出所有連線主機中存取相同邏輯單元號的連線設備,並將這些連線設備群組化為一個獨一無二的映射設備,藉以讓每一個映射設備皆映射到相異之邏輯單元號,以解決前述存取到相同資料內容之問題。In view of the above Linux system environment, multi-path access to remote logical devices or access to different logical device numbers (LUNs) is obtained, but the same data content is obtained. The object of the present invention is to provide a method for multi-path access to a remote logical device in a Linux system, by finding a connection device accessing the same logical unit number among all connected hosts, and connecting these wired device groups The grouping is a unique mapping device, so that each mapping device is mapped to a different logical unit number to solve the aforementioned problem of accessing the same data content.

為連上述支援多路徑訪問遠端邏輯設備(Logic Device)時,並避免訪問相異邏輯設備號(Logic Unit Number,LUN),卻發現取得相同之資料內容之現象。本發明之Linux系統下的多路徑訪問遠端邏輯設備的方法如下:首先,在發起端與目標端之間建立通訊連線。接著,發起端要求與目標端建立至少一連線對話。之後,發起端(initiator)取得由目標端(target)分配之至少一iSCSI連線主機。然後,發起端透過傳送一則回報邏輯單元號命令(report LUN command),獲取對應SCSI連線主機的至少一連線設備之訊息。最後,發起端配置設備映射器,此設備映射器依據取得之連線設備及對應之邏輯單元號,產生冗餘設備信息,並將這些冗餘的連線設備映射為獨一無二之映射設備(亦即映射設備號,mapped LUN)。所謂,冗餘的連線設備所指為多個訪問相同邏輯單元號的連線設備。In order to access the remote logical device (Logic Device) while supporting the above multipath, and avoiding accessing the Logic Unit Number (LUN), it is found that the same data content is obtained. The method for multi-path access to the remote logical device in the Linux system of the present invention is as follows: First, a communication connection is established between the initiator end and the target end. Then, the initiator requests to establish at least one online conversation with the target. Thereafter, the initiator obtains at least one iSCSI connection host allocated by the target. Then, the originating end obtains a message corresponding to at least one connected device of the SCSI connection host by transmitting a report LUN command. Finally, the initiator configures a device mapper, and the device mapper generates redundant device information according to the obtained wired device and the corresponding logical unit number, and maps the redundant wired devices to a unique mapping device (ie, Map device number, mapped LUN). The so-called redundant connection device refers to multiple connection devices accessing the same logical unit number.

依照本發明的較佳實施例,前述通訊連線,可以是由傳輸控制協定(Transmission Control Protocol,TCP)通訊協定或使用者資料協定(User Datagram Protocol,UDP)通訊協定所建立之通訊連線。連線對話的建立步驟,包括:先由發起端傳送一個iSCSI登入請求封包予目標端;再由目標端依據由iSCSI登入請求封包解析包覆之安全認證及密碼參數等資訊判斷是否允許發起端傳送之存取請求;最後,目標端在回傳iSCSI登入回應封包給發起端,並建立所述連線對話。According to a preferred embodiment of the present invention, the communication connection may be a communication connection established by a Transmission Control Protocol (TCP) protocol or a User Datagram Protocol (UDP) protocol. The establishment of the connection dialog includes: first sending an iSCSI login request packet to the target end by the initiator; and then determining, by the target end, whether to allow the initiator to transmit according to the information such as the security authentication and password parameters parsed by the iSCSI login request packet. The access request; finally, the target end returns the iSCSI login response packet to the initiator, and establishes the connection session.

依照本發明的較佳實施例,iSCSI登入回應封包負載(piggyback)的資訊包括允許連線指令以及連線狀態。另外,前述回報邏輯單元號命令(report LUN command)負載於SCSI封包中的命令描述區塊(Command Description Block)。In accordance with a preferred embodiment of the present invention, the information of the iSCSI login response piggyback includes the allowable connection instructions and the connection status. In addition, the aforementioned report LUN command is loaded in the Command Description Block in the SCSI packet.

依照本發明的較佳實施例,當其中的一條連線對話發生流量 壅塞時,前述的設備映射器執行網路分流手段,將部分流量切換以另一映射設備均衡負載;另外,當這些連線對話中斷時,則由設備映射器切換以另一映射設備傳輸資料封包。According to a preferred embodiment of the present invention, traffic occurs when one of the connection sessions occurs When the congestion occurs, the foregoing device mapper performs network offloading means to switch part of the traffic to another mapped device to balance the load; in addition, when the connection session is interrupted, the device mapper switches to transmit the data packet to another mapping device. .

由上所述,本發明在建立連線對話後,目標端藉由傳送回報邏輯單元號命令取得iSCSI連線主機的連線設備訊息。然後發起端再透過配置的設備映射器將對應至相同邏輯單元號的該些連線設備映射為獨一無二的映射設備,藉以避免訪問不同連線設備,卻連線到相同邏輯單元號存取相同資料之情事。As described above, after the connection session is established, the target terminal obtains the connection device information of the iSCSI connection host by transmitting the report logic unit number command. Then, the initiator maps the connected devices corresponding to the same logical unit number to a unique mapping device through the configured device mapper, so as to avoid accessing different wired devices, but connect to the same logical unit number to access the same data. The situation.

有關本發明之詳細特徵與實作,茲配合圖示在實施方式中詳細說明如下,其內容足以使任何熟習相關技藝者了解本發明之技術內容並據以實施,且根據本說明書所揭露之內容及圖式,任何熟習相關技藝者可輕易地理解本發明相關之目的及優點。The detailed description of the present invention and the detailed description of the present invention are set forth in the following detailed description of the embodiments of the present invention, which is to be understood by those skilled in the art to understand the technical contents of the present invention and to be implemented according to the present disclosure. The related objects and advantages of the present invention will be readily understood by those skilled in the art.

本發明之目的及提出之在下列較佳實施例中詳細說明之。然而本發明之概念亦可用於其他範圍。以下列舉之實施例僅用於說明本發明之目的與執行方法,並非用以限制其範圍。The objects and embodiments of the present invention are described in detail in the following preferred embodiments. However, the concepts of the present invention are also applicable to other ranges. The following examples are merely illustrative of the objects and methods of the present invention and are not intended to limit the scope thereof.

「第1圖」為本發明較佳實施例之Linux系統下的多路徑訪問遠端邏輯設備的方法流程圖。請參照「第1圖」,在本實施例中,Linux系統下的多路徑訪問遠端邏輯設備的方法是用以實現儲存區域網路(Storage Area Network,SAN)的發起端與目標端之間的多路徑訪問。首先,發起端與目標端建立通訊連線(步驟S110)。接著,發起端要求與目標端建立至少一連線對話(步驟S120)。之後,發起端取得目標端分配之至少一iSCSI連線主機(步驟S130)。然 後,發起端透過傳送回報邏輯單元號命令,獲取對應SCSI連線主機的連線設備訊息(步驟S140)。最後,發起端配置設備映射器,依據連線設備及對應之邏輯單元號,產生冗餘設備信息,並將冗餘的連線設備映射為映射設備(步驟S150),亦即形成一個獨一無二的映射設備號(mapped LUN)。FIG. 1 is a flowchart of a method for multi-path accessing a remote logical device in a Linux system according to a preferred embodiment of the present invention. Referring to FIG. 1 , in this embodiment, a multi-path access to a remote logical device in a Linux system is used to implement a storage area network (SAN) between an initiator and a target end. Multipath access. First, the initiator establishes a communication connection with the target end (step S110). Then, the initiator requests to establish at least one connection session with the target end (step S120). Thereafter, the initiator obtains at least one iSCSI connection host allocated by the target end (step S130). Of course Then, the initiator obtains the connection device information corresponding to the SCSI connection host by transmitting the report logic unit number command (step S140). Finally, the initiator configures the device mapper to generate redundant device information according to the connection device and the corresponding logical unit number, and maps the redundant connection device to the mapping device (step S150), that is, forms a unique mapping. Device number (mapped LUN).

承上,發起端與目標端建立通訊連線之步驟如下:發起端先傳送iSCSI登入請求給目標端。目標端再依據此iSCSI登入請求封包解析其中的安全認證及密碼參數。當判斷為合法使用者後,即允許發起端的存取請求。此時,目標端回傳一個iSCSI登入回應封包給發起端,以建立連線對話。在本實施中,所述的通訊連線為採用TCP通訊協定所建立之通訊連線。通訊連線亦可以是UDP通訊連線,在此不限制其範圍。The procedure for establishing the communication connection between the initiator and the target is as follows: the initiator first transmits an iSCSI login request to the target. The target end resolves the security authentication and password parameters based on the iSCSI login request packet. When it is determined to be a legitimate user, the access request of the initiator is allowed. At this point, the target end returns an iSCSI login response packet to the initiator to establish a connection session. In this implementation, the communication connection is a communication connection established by using a TCP communication protocol. The communication connection can also be a UDP communication connection, and the scope is not limited herein.

發起端與目標端所傳送的iSCSI封包(例如,iSCSI登入請求封包或iSCSI登入回應封包)負載(Piggyback)的資訊通常還包括允許連線指令以及連線狀態等資訊。當建立起通訊連線後,發起端將回報邏輯單元命令號(report LUN command)負載於iSCSI封包的命令描述區塊(Command Description Block)。「第2A圖」為本發明較佳實施例之iSCSI封包格式示意圖。請參照「第2A圖」,發起端將帶有回報邏輯單元命令號之指令包覆於命令描述區塊,並封裝為iSCSI資料單元250。之後透過TCP資料單元240、IP資料單元230、以及乙太網路標頭檔220等,層層封裝為網路封包210,藉由網際網路傳輸給目標端。「第2B圖」為第2A圖的iSCSI資料單元包含欄位示意圖。請參照「第2B圖」,在iSCSI資料單 元250中更包括iSCSI標頭檔252、iSCSI控制指令254、以及資料內容256。前述之回報邏輯單元命令號即是寫在iSCSI控制指令254欄位內,而目標段所紀錄之所有可訪問的邏輯單元號,則是寫入於資料內容256。The information of the piggybacked iSCSI packet (for example, iSCSI login request packet or iSCSI login response packet) transmitted by the initiator and the target terminal usually includes information such as the connection command and the connection status. When the communication connection is established, the initiator loads the report LUN command to the Command Description Block of the iSCSI packet. FIG. 2A is a schematic diagram of an iSCSI packet format according to a preferred embodiment of the present invention. Referring to FIG. 2A, the initiator encapsulates the command with the report unit of the report logic in the command description block and encapsulates it into the iSCSI data unit 250. Then, through the TCP data unit 240, the IP data unit 230, and the Ethernet roadmap header file 220, etc., the layer is encapsulated into a network packet 210, which is transmitted to the target end through the Internet. "Block 2B" is a schematic diagram of the iSCSI data unit containing fields in Figure 2A. Please refer to "Figure 2B" on the iSCSI data sheet. The element 250 further includes an iSCSI header file 252, an iSCSI control command 254, and a data content 256. The aforementioned return logic unit command number is written in the iSCSI control command 254 field, and all accessible logical unit numbers recorded in the target segment are written in the data content 256.

「第3圖」為本發明較佳實施例中實作多路徑訪問遠端邏輯設備的系統架構示意圖。請參照「第3圖」,發起端310先與目標端320建立起TCP通訊連線。建立通訊連線後,再嚐試與目標端320建立多條連線對話(Session),發起端310傳送iSCSI登入請求封包(Login Request PDU)給目標端,並要求建立多條通訊連線。並取得分配iSCSI連線主機312、314,以及對應之邏輯單元號322、324。發起端並透過傳送帶有回報邏輯單元號命令之iSCSI封包,獲取對應SCSI連線主機的連線設備訊息,諸如連線設備的種類、儲存資料的速度與空間等、甚或是連線設備的製造廠商、型號等訊息。另如取得連線主機312所對應之連線設備312a、312b,以及取得連線主機314所對應之連線設備314a、314b。之後,發起端會配置一個設備映射器,此設備映射器會比對連線設備312a、312b、314a、及314b所對應的邏輯單元號322、324,並找出對應至相同邏輯單元號的連線設備。舉例來說,連線設備312a與連線設備314a所對應的邏輯單元號為邏輯單元號322,則將連線設備312a與連線設備314a視為是同組冗餘設備。同理,連線設備312b與連線設備314b則視為對應到邏輯單元號324的同組冗餘設備。設備映射器紀錄下這些冗餘設備信息,並將這些冗餘的連線設備映射為映射設備(亦即映射設備號,mapped LUN)。例如,將連線設備312a與連線設備314a設為映射設備332,以及將連線設備312b與連線設備314b設為映射設備334。由「第3圖」,吾人可發現訪問兩相異的映射設備(332、334),最後會連線訪問到不同的邏輯單元號(Logic Unit Number),可避免以不同路徑訪問相同邏輯單元號而取出相同的資料的情況發生。FIG. 3 is a schematic diagram of a system architecture for implementing multi-path access to a remote logical device in a preferred embodiment of the present invention. Please refer to "FIG. 3", the initiator 310 first establishes a TCP communication connection with the target terminal 320. After the communication connection is established, an attempt is made to establish a plurality of connection sessions with the target end 320. The initiator 310 transmits an iSCSI login request packet (Login Request PDU) to the target end, and requests to establish multiple communication connections. And the assigned iSCSI connection hosts 312, 314, and the corresponding logical unit numbers 322, 324 are obtained. The initiator sends the connection device information corresponding to the SCSI connection host by transmitting the iSCSI packet with the report logic unit number command, such as the type of the connection device, the speed and space of the stored data, or even the manufacturer of the connection device. , model and other information. In addition, the connection devices 312a and 312b corresponding to the connection host 312 and the connection devices 314a and 314b corresponding to the connection host 314 are obtained. After that, the initiator configures a device mapper, which compares the logical unit numbers 322 and 324 corresponding to the connection devices 312a, 312b, 314a, and 314b, and finds a connection corresponding to the same logical unit number. Line equipment. For example, if the logical unit number corresponding to the connection device 312a and the connection device 314a is the logical unit number 322, the connection device 312a and the connection device 314a are regarded as the same group of redundant devices. Similarly, the connection device 312b and the connection device 314b are regarded as the same group of redundant devices corresponding to the logical unit number 324. The device mapper records these redundant device information and maps these redundant wired devices to mapped devices (ie, mapped device numbers, mapped LUN). For example, the connection device 312a and the connection device 314a are set as the mapping device 332, and the connection device 312b and the connection device 314b are set as the mapping device 334. From "Figure 3", we can find access to two different mapping devices (332, 334), and finally access to different Logic Unit Numbers to avoid accessing the same logical unit number with different paths. The case where the same data is taken out occurs.

由於每一個映射設備皆包含多個連線設備,並可透過不同的連線對話訪問到目標端的邏輯單元號,藉由此特性可達到網路分流之目的。舉例來說,透過映射設備332,可經由不同連線主機(312、314)所建立之不同連線對話,訪問相同的邏輯單元號322,進而達到網路流量分流之目的。另外,當某一條連線對話發生流量擁塞時,則執行網路分流手段,將部分流量切換以另一映射設備來均衡流量負載。當連線對話中斷時,亦可藉由映射設備中的其餘冗餘的連線設備,以另一條路徑訪問原邏輯單元號,並持續資料封包的傳遞,避免連線中斷。Since each mapping device includes multiple connection devices, and the logical unit number of the target end can be accessed through different connection sessions, the network can be used for the purpose of network offloading. For example, through the mapping device 332, the same logical unit number 322 can be accessed through different connection sessions established by different connection hosts (312, 314), thereby achieving the purpose of network traffic offloading. In addition, when traffic congestion occurs in a certain connection session, a network offloading method is performed to switch part of the traffic to another mapping device to balance the traffic load. When the connection dialog is interrupted, the original logical unit number can be accessed by another path by mapping the remaining redundant connection devices in the device, and the data packet transmission is continued to avoid the connection interruption.

雖然本發明以前述之較佳實施例揭露如上,然其並非用以限定本發明,任何熟習相像技藝者,在不脫離本發明之精神和範圍內,所為之更動與潤飾,均屬本發明之專利保護範圍,因此本發明之專利保護範圍須視本說明書所附之申請專利範圍所界定者為準。While the present invention has been described above in terms of the preferred embodiments thereof, it is not intended to limit the invention, and the invention may be modified and modified without departing from the spirit and scope of the invention. The scope of patent protection, therefore, the scope of patent protection of the present invention shall be defined by the scope of the patent application attached to the specification.

210‧‧‧網路封包210‧‧‧Network packet

220‧‧‧乙太網路標頭檔220‧‧‧Ethtonet signpost file

230‧‧‧IP資料單元230‧‧‧IP data unit

240‧‧‧TCP資料單元240‧‧‧TCP data unit

250‧‧‧iSCSI資料單元250‧‧‧iSCSI data unit

252‧‧‧iSCSI標頭檔252‧‧‧iSCSI header file

254‧‧‧iSCSI控制指令254‧‧‧iSCSI Control Instructions

256‧‧‧資料內容256‧‧‧Information content

310‧‧‧發起端310‧‧‧Initiator

320‧‧‧目標端320‧‧‧ Target

330‧‧‧設備映射器330‧‧‧Device Mapper

312、314‧‧‧連線主機312, 314‧‧‧Connected host

312a、312b、314a、314b‧‧‧連線設備312a, 312b, 314a, 314b‧‧‧ connection equipment

322、324‧‧‧邏輯單元號322, 324‧‧‧ logical unit number

332、334‧‧‧映射設備332, 334‧‧ ‧ mapping equipment

第1圖為本發明較佳實施例之Linux系統下的多路徑訪問遠端邏輯設備的方法流程圖。1 is a flow chart of a method for multi-path access to a remote logical device in a Linux system according to a preferred embodiment of the present invention.

第2A圖為本發明較佳實施例之iSCSI封包格式示意圖。FIG. 2A is a schematic diagram of an iSCSI packet format according to a preferred embodiment of the present invention.

第2B圖為第2A圖的iSCSI資料單元包含欄位示意圖。Figure 2B is a schematic diagram of the iSCSI data unit containing fields in Figure 2A.

第3圖為本發明較佳實施例中實作多路徑訪問遠端邏輯設備的系統架構示意圖。FIG. 3 is a schematic diagram of a system architecture for implementing a multi-path access remote logical device according to a preferred embodiment of the present invention.

Claims (7)

一種Linux系統下的多路徑訪問遠端邏輯設備的方法,用於在儲存區域網路的發起端與目標端之間實現多路徑訪問邏輯設備,包括:(a)一發起端與一目標端建立一通訊連線;(b)該發起端要求與該目標端建立複數條對話,其中該步驟(b)更包括:該發起端傳送一網際網路小型電腦系統介面(iSCSI)登入請求封包予該目標端;該目標端依據由該iSCSI登入請求封包解析之一安全認證及一密碼參數判斷允許該發起端之存取請求;以及回傳一iSCSI登入回應封包予該發起端,並建立該/該些連線對話;(c)該發起端取得目標端分配之至少一iSCSI連線主機;(d)該發起端透過傳送一回報邏輯單元號命令,獲取對應該/該些iSCSI連線主機的至少一連線設備之訊息;以及(e)該發起端配置一設備映射器,依據該/該些連線設備及對應之該邏輯單元號,產生一冗餘設備信息,並將該些冗餘的連線設備映射為一映射設備。 A multi-path access remote logical device in a Linux system, configured to implement a multi-path access logic device between an originating end and a target end of a storage area network, including: (a) an initiator and a target end are established a communication connection; (b) the initiator requires a plurality of conversations with the target end, wherein the step (b) further comprises: the initiator transmitting an internet small computer system interface (iSCSI) login request packet to the a target end; the target end determines, according to the one of the iSCSI login request packet parsing, a security authentication and a password parameter to allow the initiator to access the request; and returns an iSCSI login response packet to the initiator, and establishes the/the (c) the initiator obtains at least one iSCSI connection host allocated by the target end; (d) the initiator transmits at least one of the iSCSI connection hosts by transmitting a report logic unit number command a device for connecting the device; and (e) the initiator configures a device mapper to generate a redundant device information according to the/the wired device and the corresponding logical unit number, and the redundant device information Line equipment to a mapping device maps. 如申請專利範圍第1項所述之多路徑訪問邏輯設備的方法,其中建立該通訊連線採用之通訊協定係選自於傳輸控制協定(TCP)通訊協定及使用者資料協定(UDP)通訊協定所組成的集合之任一。 The method of claim 1, wherein the communication protocol used to establish the communication connection is selected from a Transmission Control Protocol (TCP) protocol and a User Data Protocol (UDP) protocol. Any of the collections. 如申請專利範圍第1項所述之多路徑訪問邏輯設備的方法,其中該iSCSI登入回應封包負載(piggyback)之資訊包括一允許連線指令以及一連線狀態。 The method of multi-path accessing a logical device according to claim 1, wherein the information of the iSCSI login response piggyback includes an allowable connection command and a connection status. 如申請專利範圍第1項所述之多路徑訪問邏輯設備的方法,其中該回報邏輯單元號命令(report LUN command)係負載於一iSCSI封包中的一命令描述區塊(Command Description Block)。 The method of claim 1, wherein the report LUN command is loaded in a Command Description Block in an iSCSI packet. 如申請專利範圍第1項所述之多路徑訪問邏輯設備的方法,其中該些冗餘的連線設備係為訪問相同邏輯單元號的連線設備。 The method of multi-path accessing a logical device according to claim 1, wherein the redundant connection devices are connection devices that access the same logical unit number. 如申請專利範圍第1項所述之多路徑訪問邏輯設備的方法,其中該設備映射器包括當該些連線對話之一發生流量壅塞時,執行一網路分流手段,將部分流量切換以另一映射設備均衡負載。 The method of claim 1, wherein the device mapper includes performing a network offloading method to switch part of the traffic to another when traffic congestion occurs in one of the connection sessions. A mapping device equalizes the load. 如申請專利範圍第1項所述之多路徑訪問邏輯設備的方法,其中該設備映射器包括當該些連線對話中斷時,切換以另一映射設備傳輸資料封包。A method of multi-path accessing a logical device as described in claim 1, wherein the device mapper comprises switching the data packet to be transmitted by another mapping device when the connection sessions are interrupted.
TW97100914A 2008-01-09 2008-01-09 Method for access remote logic device with multi-path in linux operation system TWI406545B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW97100914A TWI406545B (en) 2008-01-09 2008-01-09 Method for access remote logic device with multi-path in linux operation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW97100914A TWI406545B (en) 2008-01-09 2008-01-09 Method for access remote logic device with multi-path in linux operation system

Publications (2)

Publication Number Publication Date
TW200931885A TW200931885A (en) 2009-07-16
TWI406545B true TWI406545B (en) 2013-08-21

Family

ID=44865421

Family Applications (1)

Application Number Title Priority Date Filing Date
TW97100914A TWI406545B (en) 2008-01-09 2008-01-09 Method for access remote logic device with multi-path in linux operation system

Country Status (1)

Country Link
TW (1) TWI406545B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107506283A (en) * 2017-08-25 2017-12-22 郑州云海信息技术有限公司 A kind of main frame stores the method and system of pushed information to SAN

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107168656B (en) * 2017-06-09 2020-07-24 苏州浪潮智能科技有限公司 A volume replica set system based on multipath disk drive and its realization method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200423625A (en) * 2002-12-31 2004-11-01 Ibm Quality of service for iSCSI

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200423625A (en) * 2002-12-31 2004-11-01 Ibm Quality of service for iSCSI

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107506283A (en) * 2017-08-25 2017-12-22 郑州云海信息技术有限公司 A kind of main frame stores the method and system of pushed information to SAN
CN107506283B (en) * 2017-08-25 2021-06-29 郑州云海信息技术有限公司 Method and system for host to push information to SAN storage

Also Published As

Publication number Publication date
TW200931885A (en) 2009-07-16

Similar Documents

Publication Publication Date Title
US10581907B2 (en) Systems and methods for network access control
JP5026283B2 (en) Collaborative shared storage architecture
CN101449275B (en) Systems and methods for secure access control of storage devices
JP4430710B2 (en) Failover and load balancing
CN101471830B (en) Method of multi-path accessing remote logical device under Linux system
US9842154B2 (en) Secure data replication
JP4512179B2 (en) Storage apparatus and access management method thereof
US8793432B2 (en) Consistent distributed storage communication protocol semantics in a clustered storage system
US20110153905A1 (en) Method and apparatus for i/o path switching
JP2004192305A (en) iSCSI storage management method and management system
US8359379B1 (en) Method of implementing IP-based proxy server for ISCSI services
JP5466723B2 (en) Host providing system and communication control method
CN104811473B (en) A kind of method, system and management system for creating virtual non-volatile storage medium
CN101335765A (en) Storage Service Middleware Based on Mobile Cache
Sarkar et al. Internet protocol storage area networks
US10798159B2 (en) Methods for managing workload throughput in a storage system and devices thereof
CN106354436A (en) Storage system based on distributed IPSAN
US20090216886A1 (en) Method of multi-path accessing remote logic device under linux system
TWI406545B (en) Method for access remote logic device with multi-path in linux operation system
US20070299960A1 (en) Performance profiling for improved data throughput
JP2005157826A (en) Access control apparatus and method
US8473643B2 (en) Method and apparatus of tier storage management awareness networking
CN107707665A (en) A kind of network storage method, device, system and computer-readable recording medium
CN102118389A (en) Method for accessing storage device through internet small computer system interface (iSCSI) in multipath manner and storage device
TWI852130B (en) Automatic proxy system and automatic proxy method

Legal Events

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