Movatterモバイル変換


[0]ホーム

URL:


CN101471830A - Method for multi-path access of remote logic equipment under Linux system - Google Patents

Method for multi-path access of remote logic equipment under Linux system
Download PDF

Info

Publication number
CN101471830A
CN101471830ACNA2007103023611ACN200710302361ACN101471830ACN 101471830 ACN101471830 ACN 101471830ACN A2007103023611 ACNA2007103023611 ACN A2007103023611ACN 200710302361 ACN200710302361 ACN 200710302361ACN 101471830 ACN101471830 ACN 101471830A
Authority
CN
China
Prior art keywords
online
line
iscsi
linux system
originating end
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CNA2007103023611A
Other languages
Chinese (zh)
Other versions
CN101471830B (en
Inventor
朱明胜
王纪东
陈玄同
刘文涵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inventec Corp
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 CorpfiledCriticalInventec Corp
Priority to CN2007103023611ApriorityCriticalpatent/CN101471830B/en
Publication of CN101471830ApublicationCriticalpatent/CN101471830A/en
Application grantedgrantedCritical
Publication of CN101471830BpublicationCriticalpatent/CN101471830B/en
Expired - Fee Relatedlegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Landscapes

Abstract

Translated fromChinese

一种Linux系统下的多路径访问远程逻辑设备的方法,用以实现储存局域网络中,发起端与目标端之间的多路径访问。首先,发起端与目标端间建立通信联机。发起端并要求与目标端建立至少一条联机对话。之后,发起端取得目标端分配的iSCSI联机主机,并通过回报逻辑单元号命令获取对应iSCSI联机主机的联机设备信息。然后,该发起端配置设备映像器,依据联机设备及其对应的逻辑单元号,产生冗余设备信息,并将这些冗余的联机设备映射为独一的映射设备。

Figure 200710302361

A method for multi-path access to remote logical devices under a Linux system is used to implement multi-path access between an initiator and a target in a storage area network. First, a communication connection is established between the initiator and the target. The initiator also requires to establish at least one online dialogue with the target. After that, the initiator obtains the iSCSI online host assigned by the target, and obtains the online device information corresponding to the iSCSI online host through a report logical unit number command. Then, the initiator configures a device mapper, generates redundant device information according to the online device and its corresponding logical unit number, and maps these redundant online devices to unique mapping devices.

Figure 200710302361

Description

The method of the accessing remote logic equipment through multiple routes under the linux system
Technical field
The present invention relates to a kind of method of visiting remote logic equipment, and be particularly related to the method for the accessing remote logic equipment through multiple routes under a kind of linux system.
Background technology
Store LAN (Storage Area Network, SAN) indication is for passing through internet small computer system interface (internet Small Computer Systems Interface, iSCSI) communication protocol standard, the technology of the virtual large-scale storage facilities that the storage facilities of a plurality of dispersions on the internet is connected to.The user stores LAN by one, and (Storage Area Network, the data on SAN) the access remote logic disk are just as the hard disk unit of access local side.Compared to existing RAID technology, the storage LAN of using iscsi technology to set up has small computer system interface (Small Computer Interface, high-speed transfer characteristic SCSI), and the high extendibility that is better than existing storage facilities concurrently.Therefore, store LAN and become the relevant hot technology of information storage gradually.Store LAN, it comprises originating end (Initiator) and destination end (Target) two parts.So-called originating end (initiator) can be considered requirement provides access service person, and destination end to can be considered be the supplier of storage device.Destination end produces a plurality of LUN, and (Logic UnitNumber, LUN), these LUN correspond to the entity storage device on the network respectively.After originating end and destination end foundation dialogue (Session), obtain these LUN immediately, and distributed to the user.The user looks for LUN, and by the aforesaid entity storage device of iSCSI command instruction access.Generally speaking, only can set up a dialogue between originating end and the destination end.If allow between originating end and destination end, to set up multi-path read-write (Multi-Path Input/Output), can reach the effect of fault-tolerant redundant and load balance.
Generally speaking, the server of (SuSE) Linux OS is all stable compared to Windows operating system in execution efficient and stability.Service server adopts the (SuSE) Linux OS meaning can bring the stability of a system of high gauge.In addition, these service servers then can improve the reliability of system availability and data if can support the multi-path read-write and avoid data to repeat.Yet under (SuSE) Linux OS, the part originating end and the destination end that store LAN can't be supported the multi-path read-write at all; In addition, though the originating end of part and destination end provide the multi-path read-write, yet when asking the different LUN of visit, find that the data content of institute's access is identical.Like that, how to allow the storage LAN under the linux system environment support the multipath visit, and avoid occurring two logical device that content is identical, become the important information subject under discussion that stores in the LAN field then.
Summary of the invention
In above-mentioned linux system environment, do not support accessing remote logic equipment through multiple routes, or (Logic Unit Number LUN), but obtains problems such as same data content to visit different logic device number.The objective of the invention is to propose a kind of method that is used for the accessing remote logic equipment through multiple routes under the linux system, by the on-line equipment of finding out access same logical units in all online main frames number, and these on-line equipment groups are turned to a unique mapped device, to allow each mapped device different LUN of all videoing, to solve the problem of aforementioned access to same data content.
When realizing above-mentioned support accessing remote logic equipment through multiple routes (Logic Device), and (Logic Unit Number, LUN), but discovery obtains the phenomenon of identical data content to avoid visiting different logic device number.The method of the accessing remote logic equipment through multiple routes under the linux system of the present invention is as follows: at first, between originating end and destination end, set up communicate by letter online.Then, originating end requires to set up at least one on-line dialogue with destination end.Afterwards, originating end (initiator) is obtained the online main frame of at least one iSCSI that is distributed by destination end (target).Then, originating end is repaid LUN order (reportLUN command) first by transmitting, and obtains the information of at least one on-line equipment of the online main frame of corresponding SCSI.At last, originating end configuration device projection instrument, this device map device produces redundance unit information according to on-line equipment of obtaining and corresponding LUN, and the on-line equipment that these are redundant is mapped as unique mapped device (that is mapped device number, mapped LUN).What is called, redundant on-line equipment indication are the on-line equipment of a plurality of visit same logical units number.
According to preferred embodiment of the present invention, aforementioned communication is online, can be that the communication of being set up by TCP communication protocol or UDP communication protocol is online.The establishment step of on-line dialogue comprises: login Request Packet by iSCSI of originating end transmission earlier and give destination end; Judge whether to allow the access request of originating end transmission again according to information such as the safety certification of logining Request Packet parsing coating by iSCSI and cryptographic parameter by destination end; At last, destination end is logined the response package at passback iSCSI and is given originating end, and sets up described on-line dialogue.
According to preferred embodiment of the present invention, the information that iSCSI logins response package load (piggyback) comprises permission online-order and on line state.In addition, aforementioned repayment LUN order (report LUNcommand) is carried on the command description block (Command Description Block) in the SCSI package.
According to preferred embodiment of the present invention, when wherein on-line dialogue generation flow congestion, aforesaid Device Image device is carried out network shunting means, and partial discharge is switched with another equipment equally loaded of videoing; In addition, when these on-line dialogues interrupt, then switch with another reflection equipment transmission data package by the Device Image device.
From the above mentioned, the present invention is after setting up on-line dialogue, and destination end is by transmitting the on-line equipment information that the order of repayment LUN obtains the online main frame of iSCSI.Then originating end again those on-line equipments that will correspond to same logical units number of the Device Image device by configuration be mapped as unique mapped device, to avoid visiting different on-line equipments, but connect to the thing of same logical units access identical data.
Describe the present invention below in conjunction with the drawings and specific embodiments, but not as a limitation of the invention.
Description of drawings
Fig. 1 is the method flow diagram of the accessing remote logic equipment through multiple routes under the linux system of preferred embodiment of the present invention;
Fig. 2 A is the iSCSI package form schematic diagram of preferred embodiment of the present invention;
Fig. 2 B comprises the field schematic diagram for the iSCSI data cell of Fig. 2 A;
Fig. 3 is the real system architecture schematic diagram of making accessing remote logic equipment through multiple routes in the preferred embodiment of the present invention.
Wherein, Reference numeral
210 network package
220 Etherloop header file
230 IP data cells
240 tcp data unit
250 iSCSI data cells
252 iSCSI header files
254 iSCSI control commands
256 data contents
310 originating ends
320 destination end
330 device map devices
312,314 online main frames
312a, 312b, 314a, 314b on-line equipment
322,324 LUN
332,334 mapped devices
Embodiment
In following preferred embodiment, describing in detail of purpose of the present invention and proposition.Yet notion of the present invention also can be used for other scope.Following listed examples only is used to purpose of the present invention and manner of execution are described, is not in order to limit its scope.
Fig. 1 is the method flow diagram of the accessing remote logic equipment through multiple routes under the linux system of preferred embodiment of the present invention.Please refer to Fig. 1, in the present embodiment, the method for the accessing remote logic equipment through multiple routes under the linux system is in order to realize storing LAN (Storage Area Network, originating end SAN) and the visit of the multipath between the destination end.At first, originating end is set up communicate by letter online (step S110) with destination end.Then, originating end requires to set up at least one on-line dialogue (step S120) with destination end.Afterwards, originating end is obtained the online main frame of at least one iSCSI (step S130) that destination end is distributed.Then, originating end obtains the on-line equipment information (step S140) of the online main frame of corresponding SCSI by transmitting the order of repayment LUN.At last, originating end configuration device projection instrument according to the LUN of on-line equipment and correspondence, produces redundance unit information, and the on-line equipment of redundancy is mapped as mapped device (step S150), that is form a unique mapped device number (mapped LUN).
Hold, it is as follows that originating end and destination end are set up the online step of communicate by letter: originating end transmits the iSCSI request of logining earlier to destination end.Destination end is logined Request Packet parsing safety certification and cryptographic parameter wherein according to this iSCSI again.After being judged as legal user, promptly allow the access request of originating end.At this moment, iSCSI of destination end passback logins the response package and gives originating end, to set up on-line dialogue.In this enforcement, described communication online for the communication of adopting TCP communication protocol to be set up online.Communicating by letter online can also be that UDP communication is online, does not limit its scope at this.
The information of the iSCSI package that originating end and destination end are transmitted (for example, iSCSI logins Request Packet or iSCSI logins the response package) load (Piggyback) also comprises information such as allowing online-order and on line state usually.When set up communication online after, originating end will be repaid the command description block (Command Description Block) that logical block command number (report LUNcommand) is carried on the iSCSI package.Fig. 2 A is the iSCSI package form schematic diagram of preferred embodiment of the present invention.Please refer to Fig. 2 A, the instruction that originating end will have repayment logical block command number is coated on the command description block, and is encapsulated as iSCSI data cell 250.Bytcp data unit 240,IP data cell 230 and Etherloopheader file 220 etc., be encapsulated asnetwork package 210 layer by layer afterwards, give destination end by Internet transmission.Fig. 2 B comprises the field schematic diagram for the iSCSI data cell of Fig. 2 A.Please refer to Fig. 2 B, iniSCSI data cell 250, also compriseiSCSI header file 252,iSCSI control command 254 and data content 256.Aforesaid repayment logical block command number promptly is to write iniSCSI control command 254 fields, and all addressable LUN that target phase is noted down then are to be written intodata content 256.
Fig. 3 is the real system architecture schematic diagram of making accessing remote logic equipment through multiple routes in the preferred embodiment of the present invention.Please refer to Fig. 3, originating end 310 is set up TCP with destination end 320 earlier and is communicated by letter online.Set up communication online after, reattempt with destination end 320 and set up many on-line dialogues (Session), originating end 310 transmits iSCSI and logins Request Packet (Login Request PDU) and give destination end, and it is online to require to set up many communications.And obtain and distribute online main frame 312,314 of iSCSI and corresponding LUN 322,324.Originating end also has the iSCSI package of repayment LUN order by transmission, obtain the on-line equipment information of the online main frame of corresponding SCSI, even be the information such as manufacturer, model of on-line equipment such as the speed of the kind of on-line equipment, storage data and space etc.For another obtaining online main frame 312 pairing on-line equipment 312a, 312b, and obtain online main frame 314 pairing on-line equipment 314a, 314b.Afterwards, originating end can dispose a Device Image device, and this device map device can be compared on-line equipment 312a, 312b, 314a, and the pairing LUN 322,324 of 314b, and finds out the on-line equipment that corresponds to same logical units number.For instance, on-line equipment 312a and the pairing LUN of on-line equipment 314a are LUN 322, and then on-line equipment 312a and on-line equipment 314a being considered as is redundance unit on the same group.In like manner, on-line equipment 312b and on-line equipment 314b then are considered as corresponding to the redundance unit on the same group of LUN 324.Device Image device record is these redundance unit information down, and the on-line equipment that these are redundant is mapped as mapped device (that is mapped device number, mapped LUN).For example, on-line equipment 312a and on-line equipment 314a are made as reflection equipment 332, and on-line equipment 312b and on-line equipment 314b are made as mapped device 334.By Fig. 3, can find to visit two different mapped devices (332,334), at last can on-line access to different LUN (Logic Unit Number), can avoid taking out identical data conditions and take place with different path access same logical units number.
Because each mapped device all comprises a plurality of on-line equipments, and can have access to the LUN of destination end by different on-line dialogues, characteristic can reach the purpose of network shunting thus.For instance, by mapped device 332, the different on-line dialogues that can be set up via the online main frame of difference (312,314) are visitedidentical LUN 322, and then are reached the purpose of network flow quantity shunting.In addition, when a certain on-line dialogue generation flow congestion, then carry out network shunting means, partial discharge is switched come the balancing flow load with another reflection equipment.When on-line dialogue interrupts, also can visit former LUN with another paths by all the other the redundant on-line equipments in the mapped device, and the transmission of duration data package, avoid online interruption.
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.

Claims (8)

1, the method for the accessing remote logic equipment through multiple routes under a kind of linux system is used for realizing multipath access logic equipment between originating end that stores LAN and destination end, it is characterized in that, comprising:
(a) originating end and a destination end set up one communicate by letter online;
(b) this originating end requires to set up several dialogues with this destination end;
(c) this originating end is obtained the online main frame of at least one iSCSI that destination end is distributed;
(d) this originating end is by transmitting a repayment LUN order, obtain to should/information of at least one on-line equipment of the online main frame of those SCSI; And
(e) this originating end disposes a Device Image device, according to being somebody's turn to do/those on-line equipments and this corresponding LUN, produce a redundance unit information, and the on-line equipment that those are redundant is mapped as a mapped device.
2, the method for the multipath access logic equipment under the linux system according to claim 1 is characterized in that, the communication protocol of setting up this online employing of communicating by letter is selected from the arbitrary of set that TCP communication protocol and UDP communication protocol formed.
3, the method for the multipath access logic equipment under the linux system according to claim 1 is characterized in that, this step (b) also comprises:
This originating end transmits an iSCSI and logins Request Packet and give this destination end;
This destination end is judged the access request that allows this originating end according to a safety certification of being logined the Request Packet parsing by this iSCSI and a cryptographic parameter; And
Return an iSCSI and login response packet and give this originating end, and set up should/those on-line dialogues.
4, the method for the multipath access logic equipment under the linux system according to claim 3 is characterized in that, the information that this iSCSI logins the load of response package comprises that one allows an online-order and an on line state.
5, the method for the multipath access logic equipment under the linux system according to claim 1 is characterized in that, this repayment LUN order is a command description block that is carried in the SCSI package.
6, the method for the multipath access logic equipment under the linux system according to claim 1 is characterized in that, those redundant on-line equipments are the on-line equipment of visit same logical units number.
7, the method for the multipath access logic equipment under the linux system according to claim 1, it is characterized in that, this device map device comprises when flow congestion takes place one of those on-line dialogues, carries out network shunting means, and partial discharge is switched with another reflection equipment equally loaded.
8, the method for the multipath access logic equipment under the linux system according to claim 1 is characterized in that, this device map device comprises when those on-line dialogues interrupt, and switches with another reflection equipment transmission data package.
CN2007103023611A2007-12-252007-12-25 Method of multi-path accessing remote logical device under Linux systemExpired - Fee RelatedCN101471830B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN2007103023611ACN101471830B (en)2007-12-252007-12-25 Method of multi-path accessing remote logical device under Linux system

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN2007103023611ACN101471830B (en)2007-12-252007-12-25 Method of multi-path accessing remote logical device under Linux system

Publications (2)

Publication NumberPublication Date
CN101471830Atrue CN101471830A (en)2009-07-01
CN101471830B CN101471830B (en)2011-02-02

Family

ID=40828973

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN2007103023611AExpired - Fee RelatedCN101471830B (en)2007-12-252007-12-25 Method of multi-path accessing remote logical device under Linux system

Country Status (1)

CountryLink
CN (1)CN101471830B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103326876A (en)*2012-03-222013-09-25纬创资通股份有限公司Server system and management method thereof
CN103888367A (en)*2014-03-102014-06-25清华大学Multi-path TCP congestion control method based on packet transmission delay
CN105141675A (en)*2015-08-102015-12-09浪潮(北京)电子信息产业有限公司Method for accessing remote logical equipment through multiple paths, sending end and system
CN105162824A (en)*2015-07-072015-12-16浪潮(北京)电子信息产业有限公司Host multi-path disposition method in cloud storage system, and system
CN105786732A (en)*2014-12-262016-07-20华为技术有限公司 Data access method and device
CN103326876B (en)*2012-03-222016-11-30纬创资通股份有限公司Server system and management method thereof
WO2017054733A1 (en)*2015-09-302017-04-06中兴通讯股份有限公司Processing method and device for storage hosting and switching
CN107391047A (en)*2017-08-022017-11-24郑州云海信息技术有限公司A kind of method and device of system management memory
WO2018054048A1 (en)*2016-09-222018-03-29华为技术有限公司Communication path selection method and apparatus
CN109413142A (en)*2018-09-072019-03-01电信科学技术第五研究所有限公司A kind of iSCSI virtual protocol implementation method under Linux
CN110166558A (en)*2019-05-242019-08-23苏州浪潮智能科技有限公司A kind of communication means, device and the equipment of more control storage clusters

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US6954881B1 (en)*2000-10-132005-10-11International Business Machines CorporationMethod and apparatus for providing multi-path I/O in non-concurrent clustering environment using SCSI-3 persistent reserve
CN100452795C (en)*2004-01-162009-01-14英业达股份有限公司Method for accessing logical device by using iSCSI protocol
US7343467B2 (en)*2004-12-202008-03-11Emc CorporationMethod to perform parallel data migration in a clustered storage environment

Cited By (14)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103326876B (en)*2012-03-222016-11-30纬创资通股份有限公司Server system and management method thereof
CN103326876A (en)*2012-03-222013-09-25纬创资通股份有限公司Server system and management method thereof
CN103888367A (en)*2014-03-102014-06-25清华大学Multi-path TCP congestion control method based on packet transmission delay
CN105786732A (en)*2014-12-262016-07-20华为技术有限公司 Data access method and device
CN105162824A (en)*2015-07-072015-12-16浪潮(北京)电子信息产业有限公司Host multi-path disposition method in cloud storage system, and system
CN105141675B (en)*2015-08-102019-02-22浪潮(北京)电子信息产业有限公司 Method, transmitter and system for multi-path access to remote logical device
CN105141675A (en)*2015-08-102015-12-09浪潮(北京)电子信息产业有限公司Method for accessing remote logical equipment through multiple paths, sending end and system
WO2017054733A1 (en)*2015-09-302017-04-06中兴通讯股份有限公司Processing method and device for storage hosting and switching
WO2018054048A1 (en)*2016-09-222018-03-29华为技术有限公司Communication path selection method and apparatus
CN107391047A (en)*2017-08-022017-11-24郑州云海信息技术有限公司A kind of method and device of system management memory
CN109413142A (en)*2018-09-072019-03-01电信科学技术第五研究所有限公司A kind of iSCSI virtual protocol implementation method under Linux
CN109413142B (en)*2018-09-072020-07-31电信科学技术第五研究所有限公司Method for realizing iSCSI virtual agent under L inux
CN110166558A (en)*2019-05-242019-08-23苏州浪潮智能科技有限公司A kind of communication means, device and the equipment of more control storage clusters
CN110166558B (en)*2019-05-242020-03-06苏州浪潮智能科技有限公司Communication method, device and equipment of multi-control storage cluster

Also Published As

Publication numberPublication date
CN101471830B (en)2011-02-02

Similar Documents

PublicationPublication DateTitle
CN101471830B (en) Method of multi-path accessing remote logical device under Linux system
CN100396065C (en) A Realization Method of iSCSI Storage System
US9331963B2 (en)Wireless host I/O using virtualized I/O controllers
JP5026283B2 (en) Collaborative shared storage architecture
EP2659375B1 (en)Non-disruptive failover of rdma connection
US8621603B2 (en)Methods and structure for managing visibility of devices in a clustered storage system
TWI439867B (en) Dynamic entity and virtual multipath input/output
CN108196800B (en) Storage System
US20050010688A1 (en)Management device for name of virtual port
US7962567B1 (en)Systems and methods for disabling an array port for an enterprise
JP2007527172A (en) Failover and load balancing
KR20110025052A (en) Methods, systems, and computer readable media for providing multipathing
JP5404914B2 (en) Active-active support for virtual storage management within a storage area network (“SAN”)
US7805520B2 (en)Storage system, program and method
US10798159B2 (en)Methods for managing workload throughput in a storage system and devices thereof
US9021223B2 (en)Resilient mirroring
US8635420B2 (en)Resilient mirroring utilizing peer-to-peer storage
CN103150127A (en)System for accessing storage in multiple paths, configuration of system, and access method
US7523287B2 (en)Storage system and method for restricting access to virtual memory area by management host, and program for executing the same
US20090216886A1 (en)Method of multi-path accessing remote logic device under linux system
JP2005157826A (en) Access control apparatus and method
CN104836833A (en) Storage agent method on SAN device for providing data service
US8473643B2 (en)Method and apparatus of tier storage management awareness networking
TWI406545B (en)Method for access remote logic device with multi-path in linux operation system
CN107688441B (en) A method and device for realizing storage virtualization

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
C14Grant of patent or utility model
GR01Patent grant
CF01Termination of patent right due to non-payment of annual fee

Granted publication date:20110202

Termination date:20151225

EXPYTermination of patent right or utility model

[8]ページ先頭

©2009-2025 Movatter.jp