[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN106557276B - Storage takeover and switching processing method and device - Google Patents

Storage takeover and switching processing method and device Download PDF

Info

Publication number
CN106557276B
CN106557276B CN201510642236.XA CN201510642236A CN106557276B CN 106557276 B CN106557276 B CN 106557276B CN 201510642236 A CN201510642236 A CN 201510642236A CN 106557276 B CN106557276 B CN 106557276B
Authority
CN
China
Prior art keywords
storage
lun
client
storage resource
gateway
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
CN201510642236.XA
Other languages
Chinese (zh)
Other versions
CN106557276A (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.)
ZTE Corp
Original Assignee
ZTE 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 ZTE Corp filed Critical ZTE Corp
Priority to CN201510642236.XA priority Critical patent/CN106557276B/en
Priority to PCT/CN2016/100593 priority patent/WO2017054733A1/en
Publication of CN106557276A publication Critical patent/CN106557276A/en
Application granted granted Critical
Publication of CN106557276B publication Critical patent/CN106557276B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/08Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a storage takeover and switching processing method and a device, wherein the method comprises the following steps: the storage gateway provides a storage resource logic unit number LUN to the client; the storage gateway forwards the received request instruction for the client to acquire the LUN attribute of the storage resource to the storage device; the storage gateway forwards the storage resource LUN attribute returned from the storage device according to the request instruction to the client, wherein the storage resource LUN attribute is used for combining the storage resource LUN acquired from the storage gateway and the storage resource LUN acquired from the storage device into a multi-path storage resource LUN by the client to form two paths, and services are switched to the path of the storage resource LUN accessed from the storage gateway to the storage device on line.

Description

Storage takeover and switching processing method and device
Technical Field
The invention relates to the field of communication, in particular to a storage takeover and switching processing method and device.
Background
The storage gateway can protect and manage the storage equipment and is wide in application. In order to reinforce the data security on the storage device, the storage gateway needs to take over the storage resources of the storage device, which is beneficial to increasing the operations of controlling and reinforcing the data security and the like.
The existing storage gateway generally adopts such a takeover method, and the storage gateway first discovers the storage resources of the storage device by establishing a connection with the storage device. Some of the discovered storage resources have data already stored and some are empty. For a storage resource storing data, a storage gateway establishes a virtual storage resource mapped to the storage resource, and as for the virtual storage resource, the flow of establishing the virtual storage resource is the same as that of establishing a Logical Unit Number (LUN for short) of a local storage resource, some private attributes of the storage gateway are set, and only the set size of the storage resource is kept consistent with that of the original storage resource to be taken over, and the storage gateway provides the LUN to a client. The storage gateway will convert the client's access to the virtual storage resource LUN into a remote storage resource LUN access that is taken over. The storage takeover mode does not destroy original data of the storage resources. However, there are problems that because the attributes of the virtual storage resource LUN are generated by the storage gateway, such as a serial number, and these LUN attributes are referenced by the client to determine whether two LUNs can be merged into a multi-path disk, some attributes of the LUN learned by the client from the storage gateway and those of the LUN learned directly from the storage device are inconsistent, which may affect the generation of the multi-path disk, the client may not generate the multi-path disk, the client may not perform multi-path switching, and the service may not be switched from the storage device access to the storage gateway online.
The problem that two LUNs learned by a client cannot be combined into a multi-path disk due to the fact that some attributes of virtual storage LUNs created based on a storage gateway are set to be inconsistent with the LUN attributes of original storage equipment exists, and the problem exists in the prior art. And the storage gateway sends a protocol request command for acquiring the LUN attribute to the storage equipment, and the attribute of the virtual storage LUN is filled with the acquired real LUN attribute value. However, this solution has difficulties in implementation, such as compatibility, because the storage devices hosted by the storage gateway may be of different manufacturers and models. For example, the protocol command requesting the LUN attribute has multiple formats, and the storage gateway initiates a LUN attribute protocol command requesting a format, and some storage devices do not necessarily support a response. The storage gateway actively acquires the attributes of the takeover LUN to notify the attributes of the LUN, which is a real takeover mode, can only be supported by specific and limited storage devices.
An effective solution is not provided yet for the problem that the storage gateway in the related art has defects if the storage gateway supports the client-side online switching.
Disclosure of Invention
The invention provides a storage takeover and switching processing method and device, which are used for at least solving the problem that the storage gateway in the related technology has defects if online switching of a client is supported.
According to an aspect of the present invention, there is provided a storage takeover processing method, including: the storage gateway provides a storage resource logic unit number LUN to the client; the storage gateway forwards the received request instruction for the client to acquire the LUN attribute of the storage resource to the storage device; and the storage gateway forwards the storage resource LUN attribute returned by the storage device according to the request instruction to the client, wherein the storage resource LUN attribute is used for combining the storage resource LUN acquired from the storage gateway and the storage resource LUN acquired from the storage device into a multi-path storage resource LUN by the client, so that two paths of the storage resource LUN directly reaching the storage device and the storage resource LUN reaching the storage device from the storage gateway are formed, and the service is switched to the path of the storage resource LUN accessed to the storage device from the storage gateway on line.
Further, before the storage gateway provides the storage resource LUN to the client, the method further comprises: the storage gateway establishes connection with the storage equipment; the storage gateway acquires a storage resource LUN of the storage equipment through the established connection; the storage gateway creates a virtual storage resource LUN having a mapping relationship with a storage resource LUN in which data is stored.
Further, the providing, by the storage gateway, the storage resource LUN to the client comprises: the storage gateway establishes connection with the client; the storage gateway receives a request message for requesting a storage resource LUN sent by the client; and the storage gateway acquires the storage resource LUN through the virtual storage resource LUN according to the request message and provides the acquired storage resource LUN for the client.
Further, the method further comprises: and the storage gateway encrypts the storage resource LUN.
Further, the forwarding, by the storage gateway, the received request instruction for the client to acquire the LUN attribute of the storage resource to the storage device includes: the storage gateway forwards a received request instruction for the client to acquire the LUN attribute of the storage resource to the storage device through a general driver Interface of a Small Computer System Interface (SCSI).
According to another aspect of the present invention, there is provided a handover processing method, including: after a storage gateway forwards a received request instruction for a client to acquire a storage resource Logic Unit Number (LUN) attribute to a storage device and forwards a storage resource LUN attribute returned by the storage device according to the request instruction to the client, the client combines a storage resource LUN acquired from the storage gateway and a storage resource LUN acquired from the storage device into a multi-path storage resource LUN to form two paths of the storage resource LUN directly reaching the storage device and the storage resource LUN reaching the storage device from the storage gateway; and the client switches the service online to a path of a storage resource LUN accessed to the storage equipment from the storage gateway.
According to another aspect of the present invention, there is also provided a storage takeover processing apparatus, applied to a storage gateway, including: a providing module, configured to provide a storage resource logical unit number LUN to a client; the first forwarding module is used for forwarding the received request instruction for the client to acquire the LUN attribute of the storage resource to the storage device; and a second forwarding module, configured to forward a storage resource LUN attribute returned by the storage device according to the request instruction to the client, where the storage resource LUN attribute is used for the client to combine a storage resource LUN acquired from the storage gateway and a storage resource LUN acquired from a storage device into one multi-path storage resource LUN, form two paths, namely a storage resource LUN directly reaching the storage device and a storage resource LUN reaching the storage device from the storage gateway, and switch a service online to a path, namely a storage resource LUN accessing the storage device from the storage gateway.
Further, the apparatus further comprises: the connection establishing module is used for establishing connection with the storage equipment; the acquisition module is used for acquiring the storage resource LUN of the storage equipment through the established connection; and the creating module is used for creating the virtual storage resource LUN which has a mapping relation with the storage resource LUN in which the data is stored.
Further, the providing module includes: a connection establishing unit, configured to establish a connection with the client; a receiving unit, configured to receive a request message requesting to store a resource LUN sent by the client; and the obtaining unit is used for obtaining the storage resource LUN through the virtual storage resource LUN according to the request message and providing the obtained storage resource LUN for the client.
According to another aspect of the present invention, there is also provided a handover processing apparatus, applied to a client, including: the merging module is used for merging the storage resource LUN acquired from the storage gateway and the storage resource LUN acquired from the storage equipment into a multi-path storage resource LUN after the storage gateway forwards the received request instruction for acquiring the attribute of the storage resource logical unit number LUN from the client to the storage equipment and forwards the attribute of the storage resource LUN returned from the storage equipment according to the request instruction to the client, so as to form two paths of the storage resource LUN directly reaching the storage equipment and the storage resource LUN reaching the storage equipment from the storage gateway; and the switching module is used for switching the service to a path of the storage resource LUN accessed to the storage equipment from the storage gateway on line.
According to the invention, a storage gateway is adopted to provide a storage resource logical unit number LUN for a client; the storage gateway forwards the received request instruction for the client to acquire the LUN attribute of the storage resource to the storage device; the storage gateway forwards the storage resource LUN attribute returned from the storage device according to the request instruction to the client, wherein the storage resource LUN attribute is used for combining the storage resource LUN acquired from the storage gateway and the storage resource LUN acquired from the storage device into a multi-path storage resource LUN by the client, two paths of the storage resource LUN directly reaching the storage device and the storage resource LUN reaching the storage device from the storage gateway are formed, and the service is switched online to the path of the storage resource LUN accessed from the storage gateway to the storage device, so that the problem that the storage gateway in the related art has defects if supporting online switching of the client is solved, and online switching of the client can be realized.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a flow diagram of a storage takeover processing method according to an embodiment of the invention;
FIG. 2 is a flow diagram of a handover processing method according to an embodiment of the present invention;
FIG. 3 is a block diagram of a storage takeover processing apparatus according to an embodiment of the present invention;
FIG. 4 is a block diagram one of a memory takeover processing apparatus in accordance with a preferred embodiment of the present invention;
FIG. 5 is a block diagram two of a memory takeover processing apparatus in accordance with a preferred embodiment of the present invention;
fig. 6 is a block diagram of a handover processing apparatus according to an embodiment of the present invention;
FIG. 7 is a block diagram of a storage gateway taking over a storage device according to an embodiment of the invention;
FIG. 8 is a flowchart of a method for a storage gateway to take over a storage device according to an embodiment of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
An embodiment of the present invention provides a storage takeover processing method, and fig. 1 is a flowchart of the storage takeover processing method according to the embodiment of the present invention, and as shown in fig. 1, the method includes:
step S102, the storage gateway provides a storage resource logic unit number LUN to the client;
step S104, the storage gateway forwards the received request instruction for the client to acquire the LUN attribute of the storage resource to the storage device;
step S106, the storage gateway forwards the storage resource LUN attribute returned from the storage device according to the request instruction to the client, where the storage resource LUN attribute is used for the client to combine the storage resource LUN acquired from the storage gateway and the storage resource LUN acquired from the storage device into one multi-path storage resource LUN, form two paths directly connected to the storage resource LUN of the storage device and the storage resource LUN from the storage gateway to the storage device, and switch the service online to the path of the storage resource LUN accessed from the storage gateway to the storage device.
Because the storage gateway directly forwards the received request instruction for the client to obtain the attribute of the storage resource LUN to the storage device, and forwards the attribute of the storage resource LUN returned from the storage device according to the request instruction to the client, that is, the storage gateway is realized by a transparent transmission mode without modifying the format of the request instruction, the mode can ensure that the attributes of two LUNs seen by the client are consistent, and the multi-path software can combine the two LUNs into a multi-path disk and support multi-path switching. The problem that a storage gateway initiates a request instruction for requesting LUN attributes in a certain format, some storage devices do not support responses, and correspondingly, the content responded by some storage devices may be in a special format, and the storage gateway does not necessarily support correct analysis is solved.
Further, before the storage gateway provides the storage resource LUN to the client, the storage gateway establishes a connection with the storage device; the storage gateway acquires the storage resource LUN of the storage device through the established connection, and creates a virtual storage resource LUN having a mapping relationship with the storage resource LUN in which data is stored.
Further, the providing, by the storage gateway, the storage resource LUN to the client may include: the storage gateway establishes connection with the client; the storage gateway receives a request message for requesting a storage resource LUN sent by the client; and the storage gateway acquires the storage resource LUN through the virtual storage resource LUN according to the request message and provides the acquired storage resource LUN for the client.
In order to improve the security of the storage resource, the storage gateway may further encrypt the storage resource LUN, and decrypt the encrypted storage resource LUN when the client acquires the storage resource LUN, so as to provide the decrypted storage resource LUN to the client.
Further, the storage gateway may forward the received request instruction for the storage resource LUN attribute acquired by the client to the storage device through a generic driver interface of the SCSI.
An embodiment of the present invention further provides a handover processing method, and fig. 2 is a flowchart of the handover processing method according to the embodiment of the present invention, and as shown in fig. 2, the handover processing method includes:
step S202, after the storage gateway forwards the received request instruction for the client to acquire the attribute of the storage resource logic unit number LUN to the storage device and forwards the attribute of the storage resource LUN returned from the storage device according to the request instruction to the client, the client combines the storage resource LUN acquired from the storage gateway and the storage resource LUN acquired from the storage device into a multi-path storage resource LUN to form two paths directly connected to the storage resource LUN of the storage device and the storage resource LUN from the storage gateway to the storage device;
in step S204, the client switches the service online to a path of the storage resource LUN accessed from the storage gateway to the storage device.
An embodiment of the present invention provides a storage takeover processing apparatus, which is applied to a storage gateway, and fig. 3 is a block diagram of the storage takeover processing apparatus according to the embodiment of the present invention, as shown in fig. 3, including:
a providing module 32 for providing a storage resource logical unit number LUN to a client;
a first forwarding module 34, configured to forward the received request instruction for obtaining the LUN attribute of the storage resource by the client to the storage device;
and a second forwarding module 36, configured to forward the storage resource LUN attribute returned by the storage device according to the request instruction to the client, where the storage resource LUN attribute is used for the client to combine the storage resource LUN acquired from the storage gateway and the storage resource LUN acquired from the storage device into one multi-path storage resource LUN, form two paths directly connected to the storage resource LUN of the storage device and the storage resource LUN from the storage gateway to the storage device, and switch the service online to the path accessed from the storage gateway to the storage resource LUN of the storage device.
Fig. 4 is a first block diagram of a memory takeover processing apparatus according to a preferred embodiment of the present invention, as shown in fig. 4, the apparatus further includes:
a connection establishing module 42 for establishing a connection with the storage device;
an obtaining module 44, configured to obtain a storage resource LUN of the storage device through the established connection;
a creating module 46 is configured to create a virtual storage resource LUN having a mapping relationship with a storage resource LUN storing data.
Fig. 5 is a block diagram ii of the storage takeover processing apparatus according to the preferred embodiment of the present invention, and as shown in fig. 5, the providing module 32 includes:
a connection establishing unit 52, configured to establish a connection with the client;
a receiving unit 54, configured to receive a request message requesting to store a resource LUN sent by the client;
an obtaining unit 56, configured to obtain the storage resource LUN through the virtual storage resource LUN according to the request message, and provide the obtained storage resource LUN to the client.
An embodiment of the present invention further provides a handover processing apparatus, which is applied to a client, and fig. 6 is a block diagram of the handover processing apparatus according to the embodiment of the present invention, as shown in fig. 6, including:
a merging module 62, configured to forward, at a storage gateway, a received request instruction for acquiring the LUN attribute of the storage resource logical unit number from a client to a storage device, and forward, to the client, the LUN attribute of the storage resource returned by the storage device according to the request instruction, and then merge the LUN acquired from the storage gateway and the LUN acquired from the storage device into a multi-path storage resource LUN, so as to form two paths directly connected to the LUN of the storage device and the LUN from the storage gateway to the storage device;
a switching module 64, configured to switch the service online to a path of the storage resource LUN accessed from the storage gateway to the storage device.
The following examples are provided to further illustrate the present invention.
The embodiment of the invention can support the storage takeover of the client-side online switching, can solve the problem that the client-side can switch the service to access from the storage gateway only by interrupting the on-way service because the storage gateway does not support the client-side online switching in order to add the storage gateway in the storage application to reinforce the safety of the stored data, and the like, can support the client-side online switching, and can also continue to reinforce the safety of the stored data. Fig. 7 is a block diagram of a storage gateway taking over a storage device according to an embodiment of the present invention, and as shown in fig. 7, the technical solution of the embodiment of the present invention is applied to a storage gateway to provide transparent transmission and security reinforcement functions. The storage gateway establishes connection with the storage device first, and discovers the storage resource of the storage device. For storage resources with data, the storage gateway creates virtual storage resources and a mapping thereof. After the client end and the storage gateway are connected, the client end initiates a request LUN report command to the storage gateway in the first step, the storage gateway analyzes that the request command sent by the client end is the request LUN report command, and the storage gateway notifies all LUNs meeting the conditions to the client end. The client then queries the LUN attribute information for each acquired LUN. The storage gateway analyzes that the request command sent by the client is a command for acquiring the LUN attribute, does not directly respond, forwards the content of the request command to the storage device without changing the content, waits for the response of the storage device, and forwards the response content to the client when receiving the response of the storage device. In this process, the storage gateway is in a forwarder role between the client and the storage device. In other processes, the storage gateway does not act as a forwarder. When the storage gateway recognizes that the client command is about requesting to read and write the LUN data or the storage device responds to the read and write LUN data, the storage gateway performs processing for reinforcing the data security.
The important point of the technical scheme is that transparent transmission is performed aiming at the command for acquiring the LUN attribute. The realization of command transparent transmission is based on technology, and the interface provided by the SCSI general driver can realize transparent transmission. After the storage gateway transparently transmits the LUN attribute acquisition command of the client, the client multipath software can combine the LUN learned from the storage gateway and the LUN learned from the storage equipment into a multipath LUN to form the LUN from two paths to the storage equipment. With this condition, the client can switch the traffic that is going on with the storage device to enter from the storage gateway before reaching the storage device. Storage gateway uplinks do not require interruption of client traffic.
Fig. 8 is a flowchart of a method for a storage gateway to take over a storage device according to an embodiment of the present invention, as shown in fig. 8, the method includes the following steps:
s802, the storage gateway establishes connection with the storage equipment and initiates a request for taking over LUN to the storage equipment;
s804, the storage device informs the storage gateway of the LUN to be taken over;
s806, the storage gateway creates a virtual LUN and takes over LUN mapping;
s808, the client establishes connection with a storage gateway and initiates a report LUN request;
s810, the storage gateway advertises LUNs to the client;
s812, the client and the storage gateway initiate a request for obtaining the LUN attribute;
s814, the storage gateway determines that the LUN requested by the client is the previously created virtual LUN, and finds out the LUN on the storage device mapped with the LUN;
s816, the storage gateway transfers an SCSI general driver interface, and forwards the request for obtaining the LUN attribute to the storage device;
s818, the storage device responds LUN attribute to the storage gateway;
s820, the storage gateway responds the LUN attribute of the storage device and forwards the LUN attribute to the client;
s822, the multi-path software of the client finds that the attribute of the LUN is consistent with the attribute of the LUN learned from the storage equipment, and a multi-path disk is generated;
s824, the client executes multi-path switching, and the service is switched to a storage gateway access mode;
s826, the client initiates an I/O (Input/Output) request for reading and writing the storage data to the storage gateway;
s828, the storage gateway performs security processing on the storage data of the read-write I/O request initiated by the client;
s830, the storage gateway initiates an I/O execution request to the storage device;
s832, the storage device executes the I/O request.
By the embodiment of the invention, the LUN can be transparently taken over without losing the function of reinforcing the data security of the LUN, and the client-side online switching is supported.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A storage takeover processing method, comprising:
the storage gateway provides a storage resource logic unit number LUN to the client;
the storage gateway forwards the received request instruction for the client to acquire the LUN attribute of the storage resource to the storage device in a transparent transmission mode;
and the storage gateway forwards the storage resource LUN attribute returned by the storage device according to the request instruction to the client, wherein the storage resource LUN attribute is used for combining the storage resource LUN acquired from the storage gateway and the storage resource LUN acquired from the storage device into a multi-path storage resource LUN by the client, so that two paths of the storage resource LUN directly reaching the storage device and the storage resource LUN reaching the storage device from the storage gateway are formed, and the service is switched to the path of the storage resource LUN accessed to the storage device from the storage gateway on line.
2. The method according to claim 1, wherein before the storage gateway provides a storage resource LUN to a client, the method further comprises:
the storage gateway establishes connection with the storage equipment;
the storage gateway acquires a storage resource LUN of the storage equipment through the established connection;
the storage gateway creates a virtual storage resource LUN having a mapping relationship with a storage resource LUN in which data is stored.
3. The method of claim 2, wherein the storage gateway providing a storage resource LUN to a client comprises:
the storage gateway establishes connection with the client;
the storage gateway receives a request message for requesting a storage resource LUN sent by the client;
and the storage gateway acquires the storage resource LUN through the virtual storage resource LUN according to the request message and provides the acquired storage resource LUN for the client.
4. A method according to claim 2 or 3, characterized in that the method further comprises:
and the storage gateway encrypts the storage resource LUN.
5. The method according to claim 1, wherein the storage gateway forwarding the received request instruction for the storage resource LUN attribute obtained by the client to the storage device comprises:
the storage gateway forwards the received request instruction of the client for obtaining the storage resource LUN attribute to the storage device through a universal driver interface of a small computer system interface SCSI.
6. A handover processing method, comprising:
in a transparent transmission mode, a storage gateway forwards a received request instruction for acquiring the LUN attribute of a storage resource logic unit number from a client to a storage device, and forwards the LUN attribute of the storage resource returned by the storage device according to the request instruction to the client, and then the client combines the LUN of the storage resource acquired from the storage gateway and the LUN of the storage resource acquired from the storage device into a multi-path storage resource LUN to form two paths of the LUN of the storage resource directly reaching the storage device and the LUN of the storage resource from the storage gateway reaching the storage device;
and the client switches the service online to a path of a storage resource LUN accessed to the storage equipment from the storage gateway.
7. A storage takeover processing device is applied to a storage gateway and is characterized by comprising:
a providing module, configured to provide a storage resource logical unit number LUN to a client;
the first forwarding module is used for forwarding the received request instruction for the client to acquire the LUN attribute of the storage resource to the storage device in a transparent transmission mode;
and a second forwarding module, configured to forward a storage resource LUN attribute returned by the storage device according to the request instruction to the client, where the storage resource LUN attribute is used for the client to combine a storage resource LUN acquired from the storage gateway and a storage resource LUN acquired from a storage device into one multi-path storage resource LUN, form two paths, namely a storage resource LUN directly reaching the storage device and a storage resource LUN reaching the storage device from the storage gateway, and switch a service online to a path, namely a storage resource LUN accessing the storage device from the storage gateway.
8. The apparatus of claim 7, further comprising:
the connection establishing module is used for establishing connection with the storage equipment;
the acquisition module is used for acquiring the storage resource LUN of the storage equipment through the established connection;
and the creating module is used for creating the virtual storage resource LUN which has a mapping relation with the storage resource LUN in which the data is stored.
9. The apparatus of claim 8, wherein the providing module comprises:
a connection establishing unit, configured to establish a connection with the client;
a receiving unit, configured to receive a request message requesting to store a resource LUN sent by the client;
and the obtaining unit is used for obtaining the storage resource LUN through the virtual storage resource LUN according to the request message and providing the obtained storage resource LUN for the client.
10. A switching processing device applied to a client side is characterized by comprising:
the merging module is used for forwarding a received request instruction for acquiring the LUN attribute of the storage resource logic unit number from the client to the storage equipment in a transparent transmission mode at the storage gateway, and after forwarding the LUN attribute of the storage resource returned by the storage equipment according to the request instruction to the client, merging the LUN of the storage resource acquired from the storage gateway and the LUN of the storage resource acquired from the storage equipment into a multi-path storage resource LUN to form two paths of the LUN of the storage resource directly reaching the storage equipment and the LUN of the storage resource from the storage gateway reaching the storage equipment;
and the switching module is used for switching the service to a path of the storage resource LUN accessed to the storage equipment from the storage gateway on line.
CN201510642236.XA 2015-09-30 2015-09-30 Storage takeover and switching processing method and device Active CN106557276B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510642236.XA CN106557276B (en) 2015-09-30 2015-09-30 Storage takeover and switching processing method and device
PCT/CN2016/100593 WO2017054733A1 (en) 2015-09-30 2016-09-28 Processing method and device for storage hosting and switching

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510642236.XA CN106557276B (en) 2015-09-30 2015-09-30 Storage takeover and switching processing method and device

Publications (2)

Publication Number Publication Date
CN106557276A CN106557276A (en) 2017-04-05
CN106557276B true CN106557276B (en) 2021-02-23

Family

ID=58418196

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510642236.XA Active CN106557276B (en) 2015-09-30 2015-09-30 Storage takeover and switching processing method and device

Country Status (2)

Country Link
CN (1) CN106557276B (en)
WO (1) WO2017054733A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108932105A (en) * 2017-05-25 2018-12-04 中兴通讯股份有限公司 A kind of configuration method and system of the classification storage of storage gateway
CN107704206B (en) * 2017-10-09 2020-09-18 苏州浪潮智能科技有限公司 Method, device, equipment and storage medium for online migration of heterogeneous system data

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1348134A (en) * 2000-10-13 2002-05-08 国际商业机器公司 Method and equipment for providing multi-channel input/output in the environment of non-cocurrent cluster
CN101000592A (en) * 2006-01-12 2007-07-18 国际商业机器公司 Non-disruptive multipath device driver update system and method
CN101252533A (en) * 2008-03-26 2008-08-27 中国科学院计算技术研究所 Covering network system and route selecting method
CN101387957A (en) * 2008-09-12 2009-03-18 成都市华为赛门铁克科技有限公司 Multi-path software implementing apparatus and method
US8112510B2 (en) * 2002-10-23 2012-02-07 Netapp, Inc. Methods and systems for predictive change management for access paths in networks
CN102497656A (en) * 2011-12-09 2012-06-13 西安电子科技大学 Switchover method of single-service multi-path transmission in heterogeneous network

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4383132B2 (en) * 2003-09-02 2009-12-16 株式会社日立製作所 Virtualization control device and computer system
CN101471830B (en) * 2007-12-25 2011-02-02 英业达股份有限公司 Method for accessing remote logic equipment through multiple routes in Linux system
CN101931650A (en) * 2010-08-23 2010-12-29 浪潮(北京)电子信息产业有限公司 Method and device for managing storage resource configuration information
US10120617B2 (en) * 2013-11-12 2018-11-06 International Business Machines Corporation Using deterministic logical unit numbers to dynamically map data volumes

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1348134A (en) * 2000-10-13 2002-05-08 国际商业机器公司 Method and equipment for providing multi-channel input/output in the environment of non-cocurrent cluster
US8112510B2 (en) * 2002-10-23 2012-02-07 Netapp, Inc. Methods and systems for predictive change management for access paths in networks
CN101000592A (en) * 2006-01-12 2007-07-18 国际商业机器公司 Non-disruptive multipath device driver update system and method
CN101252533A (en) * 2008-03-26 2008-08-27 中国科学院计算技术研究所 Covering network system and route selecting method
CN101387957A (en) * 2008-09-12 2009-03-18 成都市华为赛门铁克科技有限公司 Multi-path software implementing apparatus and method
CN102497656A (en) * 2011-12-09 2012-06-13 西安电子科技大学 Switchover method of single-service multi-path transmission in heterogeneous network

Also Published As

Publication number Publication date
WO2017054733A1 (en) 2017-04-06
CN106557276A (en) 2017-04-05

Similar Documents

Publication Publication Date Title
CN110417842B (en) Fault processing method and device for gateway server
US8316139B2 (en) Systems and methods for integrating local systems with cloud computing resources
EP3275162B1 (en) Systems and techniques for web communication
TWI476581B (en) Method, apparatus and computer program product for providing high availability in an active/active appliance cluster
KR101354869B1 (en) Methods and systems for implementing inter-network roam, querying and attaching network
US20230350825A1 (en) Communications for field programmable gate array device
CN114080058A (en) Processing method of computing task, communication device and wireless network architecture
JP2019502186A (en) System and method for obtaining, processing and updating global information
Li et al. 6G cloud-native system: Vision, challenges, architecture framework and enabling technologies
US11558479B2 (en) Access method, internet of things platform, application device, service device
CN106557276B (en) Storage takeover and switching processing method and device
US9055522B2 (en) Method, device, and system for selecting route discovery
CN118264617B (en) Method, system, equipment and storage medium for transmitting data of overlay network
KR101759429B1 (en) Node corresponding to the domain in multi-domain environment and Method for controlling the same
US20220052902A1 (en) Method for managing remote device through management device
CN110568996A (en) Local storage capacity expansion system based on device driver
CN113347234B (en) Network information acquisition method, device, system, computer equipment and storage medium
CN103338117B (en) The management method of a kind of virtual switch, equipment and system
CN115022178A (en) Network card switching method and device, electronic equipment and readable storage medium
CN114727324A (en) Network disaster tolerance processing method and device, storage medium and electronic equipment
CN108848156B (en) Access gateway processing method, device and storage medium
CN113391759A (en) Communication method and device
CN116708027B (en) Multi-terminal remote cooperative communication method, device, equipment and storage medium
US20240314034A1 (en) Device-specific pre-configuration of cloud endpoints
CN108965494A (en) Data transmission method and device in data system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant