CN104104648A - Storage device data visiting method, application server and network - Google Patents

Storage device data visiting method, application server and network Download PDF

Info

Publication number
CN104104648A
CN104104648A CN201310113104.9A CN201310113104A CN104104648A CN 104104648 A CN104104648 A CN 104104648A CN 201310113104 A CN201310113104 A CN 201310113104A CN 104104648 A CN104104648 A CN 104104648A
Authority
CN
China
Prior art keywords
path
storage server
access path
memory device
request
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.)
Pending
Application number
CN201310113104.9A
Other languages
Chinese (zh)
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 XINHE DATA TECHNOLOGY CO LTD
Original Assignee
HANGZHOU XINHE DATA TECHNOLOGY CO LTD
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 XINHE DATA TECHNOLOGY CO LTD filed Critical HANGZHOU XINHE DATA TECHNOLOGY CO LTD
Priority to CN201310113104.9A priority Critical patent/CN104104648A/en
Publication of CN104104648A publication Critical patent/CN104104648A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Hardware Redundancy (AREA)

Abstract

The invention embodiment provides a storage device data visiting method, an application server and a network; the method applies to the application server; the storage device is managed by at least one storage server; the method comprises the following steps: receiving a data, in the storage device, visiting request, and requesting to set up a first kind visit path with the storage server; when the first kind visit path fails, then setting up a second kind visit path with the storage device according to the visit request content. When the storage device cannot be visited through a virtual storage platform, the storage device can be directly visited according to the visit request, and data content and format in the storage device cannot be changed, thus realizing path redundancy for visiting the data.

Description

Method, application server and the network of the data in a kind of accessing storage device
Technical field
The present invention relates to data management technique, refer to especially method, application server and the network of the data in a kind of accessing storage device.
Background technology
Memory device is with transparent migration mode access of virtual storage platform, managed by the storage server in virtual memory platform, first the access request of memory device is passed through to the storage server of virtual memory platform, then by virtual memory platform, access request is forwarded to memory device.
There are the following problems for prior art: the mode with transparent migration is taken over memory device, and access request if break down, cannot realize the access to memory device after arriving the storage server of virtual memory platform.
Summary of the invention
The technical problem to be solved in the present invention is to provide method, application server and the network of the data in a kind of accessing storage device, after storage server breaks down in solution prior art, cannot access the defect that is positioned at the data on memory device.
For solving the problems of the technologies described above, a kind of method that embodiments of the invention provide access to be positioned at the data on memory device, is applied to an application server, and described memory device is managed by least one storage server; Method comprises: receive the access request to being positioned at the data on memory device, request is set up first kind access path with storage server; In the time setting up the failure of first kind access path, according to the content of described access request, set up Equations of The Second Kind access path with memory device.
In described method, request is set up first kind access path with storage server and is comprised: when the pattern of fleeing from is that two-shipper is fled from, and when request and generic storage server are set up the failure of first kind access path, request is set up first kind access path with redundant storage server.
In described method, set up Equations of The Second Kind access path with memory device and also comprise afterwards: at Equations of The Second Kind access path duration of existence, forbid setting up first kind access path with storage server voluntarily.
In described method, after setting up Equations of The Second Kind access path with memory device, also comprise: at Equations of The Second Kind access path duration of existence, when detecting that application server current time does not have access request, and synchrodata between generic storage equipment and redundant storage devices detected while there is not storage server fault and line fault; Equations of The Second Kind access path is switched back to first kind access path.
Access is positioned at an application server for the data on memory device, comprising: access process unit, and for receiving the access request to being positioned at the data on memory device, the first path unit, sets up first kind access path for request and storage server; Described memory device is managed by least one storage server; The second path unit, in the time setting up the failure of first kind access path, according to the content of described access request, sets up Equations of The Second Kind access path with memory device.
In described application server, the first path unit comprises: redundant path module, for being that two-shipper is fled from when the pattern of fleeing from, and request and generic storage server be while setting up the failure of first kind access path, and request and redundant storage server are set up first kind access path.
In described application server, also comprise: switch unit, after synchrodata completes between generic storage equipment and redundant storage devices, switches back first kind access path by Equations of The Second Kind access path.
A network of storing data, comprising: application server, storage server and memory device; Storage server, for managing memory apparatus; Memory device, for store data; Application server comprises: access process unit, the first path unit and the second path unit, wherein, access process unit, for receiving the access request to being positioned at the data on memory device, the first path unit, sets up first kind access path for request and storage server; The second path unit, in the time setting up the failure of first kind access path, according to the content of described access request, sets up Equations of The Second Kind access path with memory device.
In described network, storage server comprises generic storage server and redundant storage server, and memory device comprises generic storage equipment and redundant storage devices; Generic storage server, for managing generic storage equipment; Redundant storage server, for managing redundant memory device; In generic storage server and redundant storage server, include: lock unit, be used at Equations of The Second Kind access path duration of existence, when detecting that application server current time does not have access request, and synchrodata between generic storage equipment and redundant storage devices detected while there is not storage server fault and line fault.
In described network, application server also comprises: switch unit, after synchrodata completes between generic storage equipment and redundant storage devices, switches back first kind access path by Equations of The Second Kind access path.
The beneficial effect of technique scheme of the present invention is as follows: cannot accessing storage device by virtual memory platform at present, according to access request DASD, and can not change content and the form of data in memory device, realize the path redundancy that data are conducted interviews.
Brief description of the drawings
Fig. 1 represents that a kind of access is positioned at the schematic flow sheet of the method for the data on memory device;
Fig. 2 represents the operation principle schematic diagram that unit is fled from;
Fig. 3 represents the operation principle schematic diagram that two-shipper is fled from.
Embodiment
For making the technical problem to be solved in the present invention, technical scheme and advantage clearer, be described in detail below in conjunction with the accompanying drawings and the specific embodiments.
The embodiment of the present invention provides the method for the data in a kind of accessing storage device, is applied to application server, and described memory device is managed by least one storage server;
As shown in Figure 1, method comprises:
Step 101, receives the access request to being positioned at the data on memory device, and request is set up first kind access path with storage server;
Step 102, in the time setting up the failure of first kind access path, according to the access consideration in described access request, sets up Equations of The Second Kind access path with memory device.
The technology that provides of application, cannot accessing storage device by virtual memory platform at present, according to access request DASD, and can not change content and the form of data in memory device, realized the path redundancy that data are conducted interviews.
Application server, supports multipath input output (MPIO, Multi-Path Input/Output), and MPIO supports to realize the switching between multipath.
In MPIO, the VPD hardware information that product data (VPD, the vital product data) hardware information that memory device provides provides with storage server should be consistent,
MPIO can distinguish a path from storage server or from memory device, supports the path of priority access from storage server.
In a preferred embodiment, at Equations of The Second Kind access path (path2) duration of existence, forbid setting up first kind access path (path1) with storage server.
MPIO ensures in the process of application server DASD, path can not switched back to storage server again, application server is walked around storage server and can be caused storage server to lose the partial information of access request by Equations of The Second Kind access path DASD, can identify complete access request for guarantee storage server, only allow, by manual intervention, access path is switched back to storage server.
In the handoff procedure of the multipath of the embodiment of the present invention, will abandon by the data in application server access memory device, thereby the data in DASD are called the pattern of fleeing from, the pattern of fleeing from comprises that unit is fled from two-shipper and flees from.
As shown in Figure 2, unit is fled from and is: the first kind access path accessing storage device that application server preferentially uses storage server to provide passes through Equations of The Second Kind access path DASD in the situation that cannot accessing storage server by first kind access path.
In the application scenarios of fleeing from a unit, recognize and occur storage server fault, line fault etc., cause cannot accessing the data in storage server by first kind access path, should allow to set up Equations of The Second Kind access path according to access request, by Equations of The Second Kind access path accessing storage device, if also cannot accessing storage device by Equations of The Second Kind access path, there will be and access unsuccessfully.
As shown in Figure 3, it is to expand on the basis of fleeing from unit that two-shipper is fled from, be provided with two storage servers: one is generic storage server, generic storage server is connected with common memory device, another is redundant storage server, redundant storage server is connected with redundant storage devices, with the data of depositing in synchronous two memory devices of mirror image mode.
In a preferred embodiment, asking to set up first kind access path with storage server comprises:
When the pattern of fleeing from is that two-shipper is fled from, and request and storage server be while setting up the failure of first kind access path, and request is set up first kind access path with redundant storage server.
Application server is received after access request, attempt setting up first kind access path with two storage servers, in the time all cannot setting up first kind access path with two storage servers, set up Equations of The Second Kind access path according to the access consideration in access request and common memory device.
In a preferred embodiment, setting up Equations of The Second Kind access path with storage server also comprises afterwards:
At Equations of The Second Kind access path duration of existence, when detecting that application server current time does not have access request, and synchrodata between generic storage equipment and redundant storage devices detected while there is not storage server fault and line fault;
Equations of The Second Kind access path is switched back to first kind access path.
Be switched to after Equations of The Second Kind access path, should only allow switch back first kind access path by manual intervention, manual intervention comprises the data in synchronous generic storage equipment (S1) and redundant storage devices (S1 '), makes it mutual mirror image.
In the application scenarios of fleeing from a two-shipper, comprising:
Preferential and the generic storage server/redundant storage server of application server is set up first kind access path, owing to there is the redundant storage server consistent with generic storage server capability, any single failure occurring in generic storage server and redundant storage server does not affect application server and obtains data by first kind access path.
Owing to carrying out data image between synchronous generic storage equipment and redundant storage devices, whether allow DASD to judge according to the state of data.
Also can there is inconsistent situation in the data between generic storage equipment S1 and redundant storage devices S1 ', if new data are present in S1 ' but not S1, show the data inaccessible on memory device, now storage server can notify MPIO not allow by Equations of The Second Kind access path DASD, if now also cannot access by first kind access path, application server cannot complete this access request so.
If synchronous data, should notify MPIO can access by Equations of The Second Kind access path between two memory device S1 and S1 '.
Gone up if access request has been switched to Equations of The Second Kind access path path3, MPIO should ensure during the visit, no longer this access request is switched back on the path1 and path2 of first kind access path.
The embodiment of the present invention provides a kind of access to be positioned at the application server of the data on memory device, comprising:
Access process unit, for receiving the access request to being positioned at the data on memory device,
The first path unit, sets up first kind access path for request and storage server; Described memory device is managed by least one storage server;
The second path unit, in the time setting up the failure of first kind access path, according to the content of described access request, sets up Equations of The Second Kind access path with memory device.
Two-shipper is fled from pattern, and storage server comprises generic storage server and redundant storage server, and memory device comprises generic storage equipment and redundant storage devices.
In a preferred embodiment, the first path unit comprises:
Redundant path module, for being that two-shipper is fled from when the pattern of fleeing from, and request and generic storage server be while setting up the failure of first kind access path, and request and redundant storage server are set up first kind access path.
In a preferred embodiment, application server also comprises:
Switch unit, after synchrodata completes between generic storage equipment and redundant storage devices, switches back first kind access path by Equations of The Second Kind access path.
The embodiment of the present invention provides a kind of network of storing data, as shown in Figure 2, comprising: application server, storage server and memory device;
Storage server, for managing memory apparatus;
Memory device, for store data;
Application server comprises: access process unit, the first path unit and the second path unit, wherein,
Access process unit, for receiving the access request to being positioned at the data on memory device,
The first path unit, sets up first kind access path for request and storage server;
The second path unit, in the time setting up the failure of first kind access path, according to the content of described access request, sets up Equations of The Second Kind access path with memory device.
In a preferred embodiment, as shown in Figure 3, storage server comprises generic storage server and redundant storage server, and memory device comprises generic storage equipment and redundant storage devices;
Generic storage server, for managing generic storage equipment;
Redundant storage server, for managing redundant memory device;
In generic storage server and redundant storage server, include:
Lock unit, be used at Equations of The Second Kind access path duration of existence, when detecting that application server current time does not have access request, and synchrodata between generic storage equipment and redundant storage devices detected while there is not storage server fault and line fault.
In a preferred embodiment, application server also comprises:
Switch unit, after synchrodata completes between generic storage equipment and redundant storage devices, switches back first kind access path by Equations of The Second Kind access path.
Adopt the advantage after this programme to be: cannot accessing storage device by storage server (virtual memory platform) time, according to access request DASD, and this direct access can not change content and the form of data in memory device, has realized the path redundancy that data are conducted interviews.
The above is the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, do not departing under the prerequisite of principle of the present invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (10)

1. access is positioned at a method for the data on memory device, it is characterized in that, is applied to an application server, and described memory device is managed by least one storage server;
Method comprises:
Receive the access request to being positioned at the data on memory device, request is set up first kind access path with storage server;
In the time setting up the failure of first kind access path, according to the content of described access request, set up Equations of The Second Kind access path with memory device.
2. method according to claim 1, is characterized in that, request is set up first kind access path with storage server and comprised:
When the pattern of fleeing from is that two-shipper is fled from, and request and generic storage server be while setting up the failure of first kind access path, and request is set up first kind access path with redundant storage server.
3. method according to claim 1, is characterized in that, sets up Equations of The Second Kind access path also comprise afterwards with memory device:
At Equations of The Second Kind access path duration of existence, forbid setting up first kind access path with storage server voluntarily.
4. method according to claim 1, is characterized in that, sets up Equations of The Second Kind access path also comprise afterwards with memory device:
At Equations of The Second Kind access path duration of existence, when detecting that application server current time does not have access request, and synchrodata between generic storage equipment and redundant storage devices detected while there is not storage server fault and line fault;
Equations of The Second Kind access path is switched back to first kind access path.
5. access is positioned at an application server for the data on memory device, it is characterized in that, comprising:
Access process unit, for receiving the access request to being positioned at the data on memory device,
The first path unit, sets up first kind access path for request and storage server; Described memory device is managed by least one storage server;
The second path unit, in the time setting up the failure of first kind access path, according to the content of described access request, sets up Equations of The Second Kind access path with memory device.
6. application server according to claim 5, is characterized in that, the first path unit comprises:
Redundant path module, for being that two-shipper is fled from when the pattern of fleeing from, and request and generic storage server be while setting up the failure of first kind access path, and request and redundant storage server are set up first kind access path.
7. application server according to claim 5, is characterized in that, also comprises:
Switch unit, after synchrodata completes between generic storage equipment and redundant storage devices, switches back first kind access path by Equations of The Second Kind access path.
8. a network of storing data, is characterized in that, comprising: application server, storage server and memory device;
Storage server, for managing memory apparatus;
Memory device, for store data;
Application server comprises: access process unit, the first path unit and the second path unit, wherein,
Access process unit, for receiving the access request to being positioned at the data on memory device,
The first path unit, sets up first kind access path for request and storage server;
The second path unit, in the time setting up the failure of first kind access path, according to the content of described access request, sets up Equations of The Second Kind access path with memory device.
9. network according to claim 8, is characterized in that, storage server comprises generic storage server and redundant storage server, and memory device comprises generic storage equipment and redundant storage devices;
Generic storage server, for managing generic storage equipment;
Redundant storage server, for managing redundant memory device;
In generic storage server and redundant storage server, include:
Lock unit, be used at Equations of The Second Kind access path duration of existence, when detecting that application server current time does not have access request, and synchrodata between generic storage equipment and redundant storage devices detected while there is not storage server fault and line fault.
10. network according to claim 8, is characterized in that, application server also comprises:
Switch unit, after synchrodata completes between generic storage equipment and redundant storage devices, switches back first kind access path by Equations of The Second Kind access path.
CN201310113104.9A 2013-04-02 2013-04-02 Storage device data visiting method, application server and network Pending CN104104648A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310113104.9A CN104104648A (en) 2013-04-02 2013-04-02 Storage device data visiting method, application server and network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310113104.9A CN104104648A (en) 2013-04-02 2013-04-02 Storage device data visiting method, application server and network

Publications (1)

Publication Number Publication Date
CN104104648A true CN104104648A (en) 2014-10-15

Family

ID=51672451

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310113104.9A Pending CN104104648A (en) 2013-04-02 2013-04-02 Storage device data visiting method, application server and network

Country Status (1)

Country Link
CN (1) CN104104648A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105653399A (en) * 2015-12-23 2016-06-08 北京奇虎科技有限公司 Application backup restoration method, device and system
CN109597710A (en) * 2018-11-19 2019-04-09 杭州信核数据科技股份有限公司 A kind of distributive data center strange land dual-active method and application server and network

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010037371A1 (en) * 1997-04-28 2001-11-01 Ohran Michael R. Mirroring network data to establish virtual storage area network
CN101577735A (en) * 2009-06-24 2009-11-11 成都市华为赛门铁克科技有限公司 Method, device and system for taking over fault metadata server
CN102541693A (en) * 2011-12-31 2012-07-04 曙光信息产业股份有限公司 Multi-copy storage management method and system of data
CN102694860A (en) * 2012-05-25 2012-09-26 北京邦诺存储科技有限公司 Method, equipment and system for data processing of cloud storage

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010037371A1 (en) * 1997-04-28 2001-11-01 Ohran Michael R. Mirroring network data to establish virtual storage area network
CN101577735A (en) * 2009-06-24 2009-11-11 成都市华为赛门铁克科技有限公司 Method, device and system for taking over fault metadata server
CN102541693A (en) * 2011-12-31 2012-07-04 曙光信息产业股份有限公司 Multi-copy storage management method and system of data
CN102694860A (en) * 2012-05-25 2012-09-26 北京邦诺存储科技有限公司 Method, equipment and system for data processing of cloud storage

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105653399A (en) * 2015-12-23 2016-06-08 北京奇虎科技有限公司 Application backup restoration method, device and system
CN105653399B (en) * 2015-12-23 2019-07-23 北京奇虎科技有限公司 Using backup and reduction method, apparatus and system
CN109597710A (en) * 2018-11-19 2019-04-09 杭州信核数据科技股份有限公司 A kind of distributive data center strange land dual-active method and application server and network

Similar Documents

Publication Publication Date Title
US11323307B2 (en) Method and system of a dynamic high-availability mode based on current wide area network connectivity
CN104158693B (en) The disaster-tolerant backup method and system of data service
KR101908465B1 (en) Fault management method, entity and system
EP2648114B1 (en) Method, system, token conreoller and memory database for implementing distribute-type main memory database system
CN109828868B (en) Data storage method, device, management equipment and double-active data storage system
US9286298B1 (en) Methods for enhancing management of backup data sets and devices thereof
CN106664216B (en) VNF switching method and device
US10764119B2 (en) Link handover method for service in storage system, and storage device
CN111917846A (en) Kafka cluster switching method, device and system, electronic equipment and readable storage medium
CN106446159B (en) A kind of method of storage file, the first virtual machine and name node
US20160134467A1 (en) Method and apparatus for switching between master device and backup device
CN103077242A (en) Method for hot standby of dual database servers
CN105554074A (en) NAS resource monitoring system and monitoring method based on RPC communication
CN102006189A (en) Primary access server determination method and device for dual-machine redundancy backup
WO2016177231A1 (en) Dual-control-based active-backup switching method and device
CN111176888B (en) Disaster recovery method, device and system for cloud storage
CN105554130A (en) Distributed storage system-based NameNode switching method and switching device
CN102647304A (en) Synchronizing method of address resolution protocols and device
CN107005435A (en) A kind of network service descriptor restocking method and device
WO2018157605A1 (en) Message transmission method and device in cluster file system
CN105472049B (en) CGN backup protection method and device for carrier-grade network address conversion
CN104170307A (en) Failure switching method, device and system
CN102187627B (en) Method, device and broadband access server system for load share
WO2012075743A1 (en) Method and device for link protection switching in an ethernet ring
CN104104648A (en) Storage device data visiting method, application server and network

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: 12 building, 1038 International Venture Center, Jincheng Road, Xiaoshan District, Zhejiang, Hangzhou, 311202

Applicant after: Hangzhou Xinhe Data Technology Co.,Ltd.

Address before: 12 building, 1038 International Venture Center, Jincheng Road, Xiaoshan District, Zhejiang, Hangzhou, 311202

Applicant before: Hangzhou Xinhe Data Technology Co.,Ltd.

COR Change of bibliographic data
RJ01 Rejection of invention patent application after publication

Application publication date: 20141015

RJ01 Rejection of invention patent application after publication