CN105635310B - A kind of access method and device of storage resource - Google Patents

A kind of access method and device of storage resource Download PDF

Info

Publication number
CN105635310B
CN105635310B CN201610040881.9A CN201610040881A CN105635310B CN 105635310 B CN105635310 B CN 105635310B CN 201610040881 A CN201610040881 A CN 201610040881A CN 105635310 B CN105635310 B CN 105635310B
Authority
CN
China
Prior art keywords
lun
entity
memory node
request
behalf
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.)
Active
Application number
CN201610040881.9A
Other languages
Chinese (zh)
Other versions
CN105635310A (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.)
Hangzhou Sequoia Polytron Technologies Inc
Original Assignee
Hangzhou Sequoia Polytron Technologies Inc
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 Hangzhou Sequoia Polytron Technologies Inc filed Critical Hangzhou Sequoia Polytron Technologies Inc
Priority to CN201610040881.9A priority Critical patent/CN105635310B/en
Publication of CN105635310A publication Critical patent/CN105635310A/en
Application granted granted Critical
Publication of CN105635310B publication Critical patent/CN105635310B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]

Abstract

The application provides the access method and device of a kind of storage resource, this method comprises: the ownership memory node of the corresponding entity LUN and entity LUN of LUN identification information is obtained from the LUN relationship list item of local record according to the LUN identification information carried in I/O request when the memory node in storage system receives the I/O request of application server transmission;When the ownership memory node of entity LUN is not this memory node, the ownership memory node of Xiang Shiti LUN forwards I/O request, so that I/O request is submitted entity LUN to handle by the ownership memory node of entity LUN;After the completion of I/O request processing, the home node of entity LUN is to the memory node forward process for receiving I/O request as a result, processing result is returned to application server again by the memory node for receiving I/O request.The reliability of storage system can be effectively improved by the application, and the technical solution is simple and easy, the scalability of system is strong.

Description

A kind of access method and device of storage resource
Technical field
This application involves technical field of network storage more particularly to the access methods and device of a kind of storage resource.
Background technique
Social now, information system has become the important support of social production ability and enterprise's normal operation, and data are The foundation stone of information system, business continuance are the guarantees of information system availability, and more and more users' selection saves data In special storage system.It is relatively high to the reliability requirement of storage system for high-end storage user, and controller is The core component of storage system completes the key functions such as data transmit-receive, data storage, data protection, the controller of storage system Number is the important indicator for measuring storage system reliability to the degrees of tolerance of controller failure, front-end access path.
Common more controlled storage systems are dual control storage equipment at present, and a small number of producers also provide four controls storage equipment, when answering It is simultaneously switched off with all paths between server and storage equipment, alternatively, all controller simultaneous faults in storage equipment When, business will interrupt.Although expanding storage apparatus internal controller number can constantly promote the reliability of storage equipment, it is limited In hardware design and software design complexity, technical difficulty is very big, is not easy to realize.
Summary of the invention
In view of this, the application provides the access method and device of a kind of storage resource, for user provide it is one higher can By more controlled storage systems of property.
Specifically, the application is achieved by the following technical solution:
The application provides a kind of access method of storage resource, and the method is applied to the storage section in more controlled storage systems On point, more controlled storage systems include multiple memory nodes, this method comprises:
When memory node receives the I/O request of application server transmission, according to the LUN identification carried in the I/O request Information obtains returning for the LUN identification information corresponding entity LUN and entity LUN from the LUN relationship list item of local record Belong to memory node;
When the ownership memory node of the entity LUN is not this memory node, the ownership of Xiang Suoshu entity LUN stores section Point forwards the I/O request, so that the ownership memory node of the entity LUN submits the I/O request at the entity LUN Reason;
After the completion of the I/O request processing, the ownership memory node of the entity LUN receives depositing for I/O request to described Node forward process is stored up as a result, processing result is returned to the application server again by the memory node for receiving I/O request.
Further, the method also includes:
When the ownership memory node of the entity LUN is this memory node, the I/O request is submitted into this memory node On entity LUN processing;
After the completion of the I/O request processing, processing result is returned to the application server by this memory node.
Further, the memory node is before the I/O request for receiving application server transmission, further includes:
On the memory node create it is corresponding with the entity LUN acts on behalf of LUN, add the entity LUN with it is corresponding The LUN that acts on behalf of is distributed to the application server on the memory node by the LUN relationship list item for acting on behalf of LUN;
The application server is established to after the connection of the memory node, is recognized and is acted on behalf of the corresponding reality of LUN with described When body LUN, the entity LUN described in the application server access, the LUN identification information carried in the I/O request is the reality Body LUN is corresponding to act on behalf of LUN identification information.
Further, the method also includes:
When the application server is no longer needed through the storage node accesses entity LUN, in the memory node It is upper it is described act on behalf of LUN from application server cancel distribute, delete the entity LUN and the LUN relation table for acting on behalf of LUN , deletion is described to act on behalf of LUN.
Further,
The LUN relationship list item is used to record the corresponding relationship for acting on behalf of LUN and entity LUN and the ownership of entity LUN is deposited Store up node.
Further,
The LUN attribute of acting on behalf of is with the entity LUN, so that the multi-path software on the application server is multiple The LUN that acts on behalf of found on memory node is identified as the same entity LUN.
The application also provides a kind of access mechanism of storage resource, and described device is applied to the storage in more controlled storage systems On node, more controlled storage systems include multiple memory nodes, which includes:
Acquiring unit, when receiving the I/O request of application server transmission for memory node, according in the I/O request The LUN identification information of carrying obtained from the LUN relationship list item of local record the corresponding entity LUN of the LUN identification information with And the ownership memory node of entity LUN;
Retransmission unit, for when the ownership memory node of the entity LUN is not this memory node, Xiang Suoshu entity The ownership memory node of LUN forwards the I/O request, so that the ownership memory node of the entity LUN submits the I/O request The entity LUN processing;
Return unit, after the completion of I/O request processing, the ownership memory node of the entity LUN is to the reception To I/O request memory node forward process as a result, the memory node for receiving I/O request again returns to processing result described in Application server.
Further, described device further include:
Processing unit, for when the ownership memory node of the entity LUN is this memory node, the I/O request to be mentioned The entity LUN on this memory node is handed over to handle;After the completion of I/O request processing, described in this memory node returns to processing result Application server.
Further, described device further include:
Creating unit, for being deposited described before the I/O request that the acquiring unit receives application server transmission Creation is corresponding with the entity LUN on storage node acts on behalf of LUN, adds the entity LUN and the corresponding LUN relationship for acting on behalf of LUN The LUN that acts on behalf of is distributed to the application server on the memory node by list item;The application server is established to institute After the connection for stating memory node, recognizes and act on behalf of the corresponding entity LUN of LUN with described, described in the application server access When entity LUN, the LUN identification information carried in the I/O request, which is that the entity LUN is corresponding, acts on behalf of LUN identification information.
Further, described device further include:
Unit is deleted, for when the application server is no longer needed through the storage node accesses entity LUN, The LUN that acts on behalf of is deleted the entity LUN with described and act on behalf of LUN from application server cancellation distribution on the memory node LUN relationship list item, delete and described act on behalf of LUN.
Further,
The LUN relationship list item is used to record the corresponding relationship for acting on behalf of LUN and entity LUN and the ownership of entity LUN is deposited Store up node.
Further,
The LUN attribute of acting on behalf of is with the entity LUN, so that the multi-path software on the application server is multiple The LUN that acts on behalf of found on memory node is identified as the same entity LUN.
In the application it can be seen from above description, the corresponding storage equipment of a memory node, application server pair The access of entity LUN, the controller number being no longer limited on entity LUN ownership memory node can also be by controlling storage system more Other storage node accesses in system, to increase the number of paths of application server access entity LUN, on the one hand, increase Bandwidth, on the other hand, under abnormal conditions, when the path between application server and storage system is abnormal, simply by the presence of Any paths are reachable, and the business on application server will not interrupt.In addition, when controller is abnormal, as long as entity There is a controller to operate normally on LUN ownership memory node, that is, can guarantee that application server passes through preconfigured a plurality of visit Ask the entity LUN on path access ownership memory node.As it can be seen that the application can effectively improve the reliability of storage system, and skill Art scheme is simple and easy, and the scalability of system is strong.
Detailed description of the invention
Fig. 1 is more controlled storage system schematic diagrames shown in one exemplary embodiment of the application;
Fig. 2 is a kind of access method flow chart of storage resource shown in one exemplary embodiment of the application;
Fig. 3 is that more controlled storage system schematic diagrames after LUN are acted on behalf of in the creation shown in one exemplary embodiment of the application;
Fig. 4 is that the basis of equipment where a kind of access mechanism of storage resource shown in one exemplary embodiment of the application is hard Part structural schematic diagram;
Fig. 5 is a kind of structural schematic diagram of the access mechanism of storage resource shown in one exemplary embodiment of the application.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the application.
It is only to be not intended to be limiting the application merely for for the purpose of describing particular embodiments in term used in this application. It is also intended in the application and the "an" of singular used in the attached claims, " described " and "the" including majority Form, unless the context clearly indicates other meaning.It is also understood that term "and/or" used herein refers to and wraps It may be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the application A little information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not departing from In the case where the application range, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ... " or " in response to determination ".
Social now, information system has become the important support of social production ability and enterprise's normal operation, and data are The foundation stone of information system, business continuance are the guarantees of information system availability, and more and more users' selection saves data In special storage system.It is relatively high to the reliability requirement of storage system for high-end storage user, and controller is The core component of storage system completes the key functions such as data transmit-receive, data storage, data protection, the controller of storage system Number is the important indicator for measuring storage system reliability to the degrees of tolerance of controller failure, front-end access path.
Common more controlled storage systems are dual control storage equipment at present, and a small number of producers also provide four controls storage equipment, when answering It is simultaneously switched off with all paths between server and storage equipment, alternatively, all controller simultaneous faults in storage equipment When, business will interrupt.Although expanding storage apparatus internal controller number can constantly promote the reliability of storage equipment, it is limited In hardware design and software design complexity, technical difficulty is very big, is not easy to realize.
In view of the above-mentioned problems, the embodiment of the present application proposes a kind of access method of storage resource, it is applied to more control storages system On memory node (i.e. aforementioned storage equipment) in system, this method receives the I/O request of application server transmission in memory node When, it is corresponding that LUN identification information is obtained from the LUN relationship list item of local record according to the LUN identification information carried in I/O request Entity LUN and entity LUN ownership memory node.When the ownership memory node of entity LUN is not this memory node, to The ownership memory node of entity LUN forwards I/O request, so that I/O request is submitted entity LUN by the ownership memory node of entity LUN Processing.After the completion of I/O request processing, the home node of entity LUN is to the memory node forward process knot for receiving I/O request Processing result is returned to application server again by fruit, the memory node for receiving I/O request.Wherein, entity LUN is on memory node There are the LUN of amount of physical memory.
It is the more controlled storage system schematic diagrames of the application referring to Fig. 1.More controlled storage systems include 3 memory nodes, respectively For NodeA, NodeB and NodeC, each memory node includes 2 controllers (SP1 and SP2).Wherein, it is created on NodeA It is entity LUN that LUN1, LUN0 and LUN1 are created on LUN0, NodeB.Each memory node is interconnected by private network, for example, with Too net, FC (Fibre Channel, optical-fibre channel), PCI-E (Peripheral Component Interconnection- Express, quick peripheral component interconnection) etc., realize the data interaction between memory node.On application server ServerA Multi-path software is run, LUN0 and LUN1 can be accessed by a plurality of access path (A1, A2, B1, B2, C1, C2).
It referring to fig. 2, is one embodiment flow chart of the access method of the application storage resource, which provides storage The access process in source is described.
Step 201, when memory node receives the I/O request of application server transmission, according to what is carried in the I/O request LUN identification information obtains the corresponding entity LUN of the LUN identification information and entity from the LUN relationship list item of local record The ownership memory node of LUN.
Before the more controlled storage systems of application server access, first have to complete to resource distribution work on more controlled storage systems Make.Specifically, administrator logs in the administration interface of more controlled storage systems by management equipment, saved according to user demand in each storage Entity LUN is created on point, and the entity LUN of creation is then distributed to application server.The embodiment of the present application is entity LUN points When dispensing application server, from memory node distribution configuration command of the management equipment into more controlled storage systems, the configuration order Middle carrying entity LUN information (for example, LUN0 of NodeA) and routing information.After memory node receives configuration order, at this Creation is corresponding with entity LUN on memory node acts on behalf of LUN, this acts on behalf of LUN attribute with entity LUN, so that subsequent applications service The LUN that acts on behalf of found on multiple memory nodes is identified as the same entity LUN by multi-path software by device, this acts on behalf of LUN It is not take up any memory space;Entity LUN and the corresponding LUN relationship list item for acting on behalf of LUN are added on this memory node, referring to table 1, it is LUN relationship list item example, the LUN relationship list item is for recording the corresponding relationship and entity for acting on behalf of LUN Yu entity LUN The ownership memory node of LUN;LUN will be acted on behalf of on this memory node and distributes to application server, i.e. configuration application server can With the path of access agent LUN.
Table 1
Table 1 is a LUN relationship list item on memory node NodeB, which shows to create an agency on NodeB LUN (VB-LUN0), the VB-LUN0 are that the entity LUN (LUN0) of direction NodeA of the configuration on NodeB acts on behalf of LUN.
Administrator logs in application server after completing to resource distribution work on more controlled storage systems, establishes application clothes The connection of business device each memory node into more controlled storage systems, application server can recognize entity corresponding with LUN is acted on behalf of LUN.Specifically, the embodiment of the present application respectively the creation on different memory nodes be directed toward same entity LUN act on behalf of LUN, due to The attribute that LUN inherits entity LUN is acted on behalf of, therefore, the multiple attributes for acting on behalf of LUN for being directed toward same entity LUN are identical, by multipath Software is identified as an entity LUN, and the upper layer application for being presented to application server uses.That is, being on application server An existing entity LUN has a plurality of accessible path to entity LUN, corresponding multiple memory nodes.
As application server access entity LUN, road is selected according to network condition, path status etc. by multi-path software Diameter issues I/O request, and LUN identification information is carried in I/O request.LUN identification information in the embodiment of the present application is entity LUN It is corresponding to act on behalf of LUN identification information.When the memory node being located on the path receives I/O request, carried according in I/O request LUN identification information the corresponding entity LUN and entity LUN of LUN identification information is obtained from the LUN relationship list item of local record Ownership memory node.
Step 202, when the ownership memory node of the entity LUN is not this memory node, Xiang Suoshu entity LUN's returns Belong to memory node and forward the I/O request, so that the I/O request is submitted the reality by the ownership memory node of the entity LUN Body LUN processing.
Step 203, after the completion of the I/O request processing, the ownership memory node of the entity LUN receives IO to described The memory node forward process of request is as a result, processing result is returned to the application again by the memory node for receiving I/O request Server.
When the ownership memory node of entity LUN is not this memory node, illustrate the application server entity LUN to be accessed Not on this memory node, then I/O request is transmitted to the ownership memory node of entity LUN by the memory node for receiving I/O request, The entity LUN of own node is submitted to handle I/O request by the ownership memory node of entity LUN.After completing I/O request processing, From the ownership memory node of entity LUN to the memory node forward process for receiving I/O request as a result, depositing by reception I/O request again It stores up node and processing result is returned into application server.That is, processing result is returned along I/O request path.
When the ownership memory node of entity LUN is this memory node, the entity LUN for illustrating that application server to be accessed exists On this memory node, I/O request is directly submitted into the processing of the entity LUN on this memory node, and complete in I/O request processing Afterwards, processing result is returned into application server by this memory node.
In addition, when application server is no longer needed through some storage node accesses entity LUN, it can be in the storage section The corresponding LUN that acts on behalf of of entity LUN is deleted the entity LUN with described and act on behalf of LUN from application server cancellation distribution on point LUN relationship list item, then delete it is described act on behalf of LUN, to reduce the consumption of system resource.
It can be seen from the above description that access of the application server to a certain entity LUN, is no longer limited to entity LUN and returns Belong to the path on memory node, it can be by the path access on other memory nodes in more controlled storage systems, to increase visit It asks the way the quantity and bandwidth of diameter.Even if the path that entity LUN belongs on memory node is all off, on the ownership memory node Entity LUN can be equally accessed.Certainly, this requires the controller normal operation on ownership memory node, for controlling storage more Node (Fig. 1 show dual control memory node) will at least guarantee a controller (SP1 or SP2) normal operation, so as to connect The I/O request for receiving other memory node forwardings is handled.As it can be seen that the scalability of technical scheme is extremely strong (can be connected It is N number of memory node, unrestricted on the value principle of N), do not had in technology realization it is highly difficult, it is simple and easy, improve and deposit The reliability of storage system.
Now still by taking Fig. 1 as an example, storage resource access process is discussed in detail.
Assuming that user demand are as follows: ServerA accesses LUN0 by NodeA, NodeB, NodeC, and LUN0 is located on NodeA, Capacity is 100GB;LUN1 is accessed by NodeA, NodeB, LUN1 is located on NodeB, capacity 200GB.
Firstly, configuration resource.In RAID (Redundant Array of Independent Disks, the independence of NodeA Redundant array of inexpensive disk) on create LUN0, capacity 100GB;LUN1, capacity 200GB are created on the RAID of NodeB.
Then, resource allocation is taken server to application.Administrator is by management equipment under NodeA, NodeB, NodeC Send out configuration order.
For LUN0 is distributed to ServerA on NodeB, NodeB receives the configuration order that management equipment issues, should Entity LUN information (LUN0 of NodeA) and routing information are carried in configuration order;NodeB obtains needs from configuration order The entity LUN information of configuration, create LUN0 acts on behalf of LUN VB-LUN0, which is directed toward the LUN0 of NodeA, and inherits The attribute of LUN0, NodeB is in the LUN relationship list item for locally adding LUN0 and VB-LUN0, referring to table 1;Then, NodeB is from configuration VB-LUN0 is distributed to application server by acquisite approachs information in order, and path incidence relation is referring to table 2.
Table 2
From table 2 it can be seen that being associated with two paths on NodeB for VB-LUN0 (LUN0 for being equivalent to NodeA): SP2 → VB-LUN0 of SP1 → VB-LUN0 of ServerA → NodeB, ServerA → NodeB pass through path shown in FIG. 1 The accessible VB-LUN0 of B1 and B2, and then access the LUN0 of NodeA.
Similarly, creation and distribution that LUN is acted on behalf of on all memory nodes are completed according to user demand, referring to Fig. 3.It configures Cheng Hou, LUN relationship list item and path incidence relation on each memory node are respectively as follows:
Table 3
Table 4
Table 3 is the LUN relationship list item on NodeA;Table 4 is the path incidence relation on NodeA.
Table 5
Table 6
Table 5 is the LUN relationship list item on NodeB;Table 6 is the path incidence relation on NodeB.
Table 7
Table 8
Table 7 is the LUN relationship list item on NodeC;Table 8 is the path incidence relation on NodeC.
It completes to postpone matching for storage system, administrator logs in ServerA, establishes on ServerA to each memory node and controls The connection of device processed, then the multi-path software on ServerA can recognize entity LUN under each path.
By taking LUN0 as an example, since the attribute of VA-LUN0, VB-LUN0, VC-LUN0 are identical, multi-path software identification ServerA upper layer application is presented to for the same LUN (LUN0).It can be seen that on ServerA from table 4, table 6, table 8 and Fig. 3 Corresponding 6 access path of the LUN0 of presentation, i.e. ServerA by each controller on NodeA, NodeB, NodeC (SP1, SP2 it) may have access to LUN0.
Complete above-mentioned storage-node side and application server side with postponing, start storage resource access, below with ServerA is accessed for LUN0.
It is assumed that SP2 respective path (path B2 shown in Fig. 3) issues I/O request, NodeB on multi-path software selection NodeB SP2 receive the I/O request, in the I/O request carry act on behalf of LUN identification VB-LUN0.NodeB is looked into according to LUN identification VB-LUN0 Table 5 is ask, determines that the corresponding entity LUN of VB-LUN0 is LUN0, the ownership memory node of LUN0 is NodeA, i.e. entity LUN does not exist On this node, therefore, I/O request is transmitted to by NodeA by the private network between memory node, NodeA submits to I/O request LUN0 processing.After the completion of processing, processing result is returned to SP2 on NodeB, NodeB returns to ServerA along path B2.
It is assumed that SP1 respective path (path A1 shown in Fig. 3) issues I/O request, NodeA on multi-path software selection NodeA SP1 receive the I/O request, in the I/O request carry act on behalf of LUN identification VA-LUN0.NodeA is looked into according to LUN identification VA-LUN0 Table 3 is ask, determines that the corresponding entity LUN of VA-LUN0 is LUN0, the ownership memory node of LUN0 is NodeA, i.e. entity LUN is at this On node, therefore, I/O request is submitted into the processing of the LUN0 on this node, after the completion of processing, processing result is returned along path A1 Back to ServerA.
It is located on NodeA as it can be seen that ServerA may have access to by the path on memory nodes different in more controlled storage systems LUN0, if there is controller to operate normally (SP1 or SP2) on NodeA, and not all path (A1, A2, B1, B2, C1, C2) all disconnect, the access to LUN0 can be realized, this improves the reliability of more controlled storage systems, and access path Quantity and bandwidth have increase, improve the performance of storage system.
Corresponding with the embodiment of aforementioned storage resource access method, present invention also provides storage resource access mechanisms Embodiment.
The embodiment of the application storage resource access mechanism can be applied on memory node.Installation practice can pass through Software realization can also be realized by way of hardware or software and hardware combining.Taking software implementation as an example, it anticipates as a logic Device in justice is that corresponding computer program instructions are formed in the processor run memory by equipment where it.From For hardware view, as shown in figure 4, for a kind of hardware structure diagram of the application storage resource access mechanism place equipment, in addition to Except processor shown in Fig. 4, network interface and memory, the equipment in embodiment where device is generally according to the equipment Actual functional capability, can also include other hardware, this is repeated no more.
Referring to FIG. 5, for the structural schematic diagram of the storage resource access mechanism in the application one embodiment.Storage money Source access mechanism includes acquiring unit 501, retransmission unit 502 and return unit 503, in which:
Acquiring unit 501, when receiving the I/O request of application server transmission for memory node, according to the I/O request The LUN identification information of middle carrying obtains the corresponding entity LUN of the LUN identification information from the LUN relationship list item of local record And the ownership memory node of entity LUN;
Retransmission unit 502, for when the ownership memory node of the entity LUN is not this memory node, to the reality The ownership memory node of body LUN forwards the I/O request, so that the ownership memory node of the entity LUN proposes the I/O request The entity LUN is handed over to handle;
Return unit 503, after the completion of I/O request processing, the ownership memory node of the entity LUN is to described The memory node forward process of I/O request is received as a result, the memory node for receiving I/O request again returns to processing result The application server.
Further, described device further include:
Processing unit, for when the ownership memory node of the entity LUN is this memory node, the I/O request to be mentioned The entity LUN on this memory node is handed over to handle;After the completion of I/O request processing, described in this memory node returns to processing result Application server.
Further, described device further include:
Creating unit, for the acquiring unit 501 receive application server transmission I/O request before, described Creation is corresponding with the entity LUN on memory node acts on behalf of LUN, adds the entity LUN and the corresponding LUN for acting on behalf of LUN is closed It is list item, the LUN that acts on behalf of is distributed to the application server on the memory node;The application server foundation is arrived After the connection of the memory node, recognizes and act on behalf of the corresponding entity LUN of LUN with described, when the application server access institute When stating entity LUN, the LUN identification information carried in the I/O request, which is that the entity LUN is corresponding, acts on behalf of LUN identification information.
Further, described device further include:
Unit is deleted, for when the application server is no longer needed through the storage node accesses entity LUN, The LUN that acts on behalf of is deleted the entity LUN with described and act on behalf of LUN from application server cancellation distribution on the memory node LUN relationship list item, delete and described act on behalf of LUN.
Further,
The LUN relationship list item is used to record the corresponding relationship for acting on behalf of LUN and entity LUN and the ownership of entity LUN is deposited Store up node.
Further,
The LUN attribute of acting on behalf of is with the entity LUN, so that the multi-path software on the application server is multiple The LUN that acts on behalf of found on memory node is identified as the same entity LUN.
The function of each unit and the realization process of effect are specifically detailed in the above method and correspond to step in above-mentioned apparatus Realization process, details are not described herein.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual The purpose for needing to select some or all of the modules therein to realize application scheme.Those of ordinary skill in the art are not paying Out in the case where creative work, it can understand and implement.
The foregoing is merely the preferred embodiments of the application, not to limit the application, all essences in the application Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the application protection.

Claims (10)

1. a kind of access method of storage resource, which is characterized in that the method is applied to the storage section in more controlled storage systems On point, more controlled storage systems include multiple memory nodes, this method comprises:
When memory node receives the I/O request of application server transmission, according to the LUN identification information carried in the I/O request The ownership that the LUN identification information corresponding entity LUN and entity LUN is obtained from the LUN relationship list item of local record is deposited Store up node, wherein the LUN identification information be the memory node be pre-created corresponding with the entity LUN act on behalf of LUN Identification information, the LUN that acts on behalf of distributes to the application server by the memory node;
When the ownership memory node of the entity LUN is not this memory node, the ownership memory node of Xiang Suoshu entity LUN turns Send out I/O request described, so that the I/O request is submitted the entity LUN to handle by the ownership memory node of the entity LUN;
After the completion of I/O request processing, the ownership memory node of the entity LUN is to the storage section for receiving I/O request Point forward process is as a result, processing result is returned to the application server again by the memory node for receiving I/O request.
2. the method as described in claim 1, which is characterized in that the method also includes:
When the ownership memory node of the entity LUN is this memory node, the I/O request is submitted on this memory node Entity LUN processing;
After the completion of the I/O request processing, processing result is returned to the application server by this memory node.
3. the method as described in claim 1, which is characterized in that the method also includes:
When the application server is no longer needed through the storage node accesses entity LUN, the handle on the memory node The LUN that acts on behalf of is distributed from application server cancellation, is deleted the entity LUN and the LUN relationship list item for acting on behalf of LUN, is deleted LUN is acted on behalf of except described.
4. the method as described in claim 1, it is characterised in that:
The LUN relationship list item is used to record the corresponding relationship for acting on behalf of LUN and entity LUN and the ownership storage section of entity LUN Point.
5. the method as described in claim 1, it is characterised in that:
The LUN attribute of acting on behalf of is with the entity LUN, so that the multi-path software on the application server is in multiple storages The LUN that acts on behalf of found on node is identified as the same entity LUN.
6. a kind of access mechanism of storage resource, which is characterized in that described device is applied to the storage section in more controlled storage systems On point, more controlled storage systems include multiple memory nodes, which includes:
Acquiring unit carries when receiving the I/O request of application server transmission for memory node according in the I/O request LUN identification information the corresponding entity LUN of the LUN identification information and reality are obtained from the LUN relationship list item of local record The ownership memory node of body LUN, wherein the LUN identification information is that the memory node is being pre-created with the entity LUN The LUN that acts on behalf of is distributed to the application server by the corresponding identification information for acting on behalf of LUN, the memory node;
Retransmission unit, for when the ownership memory node of the entity LUN is not this memory node, Xiang Suoshu entity LUN's Belong to memory node and forward the I/O request, so that the ownership memory node of the entity LUN will be described in I/O request submission Entity LUN processing;
Return unit, after the completion of I/O request processing, the ownership memory node of the entity LUN receives IO to described The memory node forward process of request is as a result, processing result is returned to the application again by the memory node for receiving I/O request Server.
7. device as claimed in claim 6, which is characterized in that described device further include:
Processing unit, for when the ownership memory node of the entity LUN is this memory node, the I/O request to be submitted this Entity LUN processing on memory node;After the completion of the I/O request processing, processing result is returned to the application by this memory node Server.
8. device as claimed in claim 6, which is characterized in that described device further include:
Unit is deleted, for when the application server is no longer needed through the storage node accesses entity LUN, described The LUN that acts on behalf of is deleted the entity LUN and the LUN for acting on behalf of LUN from application server cancellation distribution on memory node Relationship list item, deletion is described to act on behalf of LUN.
9. device as claimed in claim 6, it is characterised in that:
The LUN relationship list item is used to record the corresponding relationship for acting on behalf of LUN and entity LUN and the ownership storage section of entity LUN Point.
10. device as claimed in claim 6, it is characterised in that:
The LUN attribute of acting on behalf of is with the entity LUN, so that the multi-path software on the application server is in multiple storages The LUN that acts on behalf of found on node is identified as the same entity LUN.
CN201610040881.9A 2016-01-20 2016-01-20 A kind of access method and device of storage resource Active CN105635310B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610040881.9A CN105635310B (en) 2016-01-20 2016-01-20 A kind of access method and device of storage resource

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610040881.9A CN105635310B (en) 2016-01-20 2016-01-20 A kind of access method and device of storage resource

Publications (2)

Publication Number Publication Date
CN105635310A CN105635310A (en) 2016-06-01
CN105635310B true CN105635310B (en) 2019-02-26

Family

ID=56049781

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610040881.9A Active CN105635310B (en) 2016-01-20 2016-01-20 A kind of access method and device of storage resource

Country Status (1)

Country Link
CN (1) CN105635310B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106446197B (en) * 2016-09-30 2019-11-19 华为数字技术(成都)有限公司 A kind of date storage method, apparatus and system
CN106331166B (en) * 2016-10-11 2019-09-06 杭州宏杉科技股份有限公司 A kind of access method and device of storage resource
CN107171865A (en) * 2017-06-30 2017-09-15 郑州云海信息技术有限公司 A kind of multinode storage system and LUN ownernode switching methods
CN107491270B (en) * 2017-08-23 2020-06-23 杭州宏杉科技股份有限公司 Resource access method and device of multi-control storage system
CN107577425A (en) * 2017-08-23 2018-01-12 杭州宏杉科技股份有限公司 A kind of data migration method and device
CN113703676B (en) * 2021-07-30 2023-08-04 苏州浪潮智能科技有限公司 Calling method, device, equipment and medium for double live volumes

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101329691A (en) * 2008-07-30 2008-12-24 中兴通讯股份有限公司 Redundant magnetic disk array sharing file system and read-write method
CN101964818A (en) * 2010-09-28 2011-02-02 中兴通讯股份有限公司 Multi-controller disk array system and user request processing method
CN104571960A (en) * 2014-12-30 2015-04-29 华为技术有限公司 Device and method for distributing IO requests, host, storage array and computer system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4718851B2 (en) * 2004-05-10 2011-07-06 株式会社日立製作所 Data migration in storage systems

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101329691A (en) * 2008-07-30 2008-12-24 中兴通讯股份有限公司 Redundant magnetic disk array sharing file system and read-write method
CN101964818A (en) * 2010-09-28 2011-02-02 中兴通讯股份有限公司 Multi-controller disk array system and user request processing method
CN104571960A (en) * 2014-12-30 2015-04-29 华为技术有限公司 Device and method for distributing IO requests, host, storage array and computer system

Also Published As

Publication number Publication date
CN105635310A (en) 2016-06-01

Similar Documents

Publication Publication Date Title
CN105635310B (en) A kind of access method and device of storage resource
US11218539B2 (en) Synchronous replication for storage
US11249857B2 (en) Methods for managing clusters of a storage system using a cloud resident orchestrator and devices thereof
US7380074B2 (en) Selecting storage clusters to use to access storage
US8898663B2 (en) Storage visibility in virtual environments
US7921185B2 (en) System and method for managing switch and information handling system SAS protocol communication
US8285747B1 (en) Incorporation of client storage into a storage system
US20160092136A1 (en) Method and apparatus for cost-based load balancing for port selection
US10423332B2 (en) Fibre channel storage array having standby controller with ALUA standby mode for forwarding SCSI commands
US10241712B1 (en) Method and apparatus for automated orchestration of long distance protection of virtualized storage
US20130346532A1 (en) Virtual shared storage in a cluster
EP3380922B1 (en) Synchronous replication for file access protocol storage
US10855515B2 (en) Implementing switchover operations between computing nodes
CN106331166B (en) A kind of access method and device of storage resource
US11200082B2 (en) Data storage system employing dummy namespaces for discovery of NVMe namespace groups as protocol endpoints
US20090285098A1 (en) Systems and methods for load balancing storage system requests in a multi-path environment based on transfer speed of the multiple paths
US9696917B1 (en) Method and apparatus for efficiently updating disk geometry with multipathing software
US9602341B1 (en) Secure multi-tenant virtual control server operation in a cloud environment using API provider
US8924656B1 (en) Storage environment with symmetric frontend and asymmetric backend
US9917740B2 (en) Reducing internodal communications in a clustered system
WO2018157605A1 (en) Message transmission method and device in cluster file system
US10001939B1 (en) Method and apparatus for highly available storage management using storage providers
US9612769B1 (en) Method and apparatus for automated multi site protection and recovery for cloud storage
US10855522B2 (en) Dual port storage device emulation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Hangzhou City, Zhejiang Province, Binjiang District West Street 310053 Qianmo Road No. 482 building eleventh layer to the twelfth layer A

Applicant after: Hangzhou Sequoia Polytron Technologies Inc

Address before: Hangzhou City, Zhejiang Province, Binjiang District West Street 310053 Qianmo Road No. 482 building eleventh layer to the twelfth layer A

Applicant before: Hangzhou MacroSAN Technologies Co., Ltd.

COR Change of bibliographic data
GR01 Patent grant
GR01 Patent grant