CN102868727B - Method for realizing high availability of logical volume - Google Patents

Method for realizing high availability of logical volume Download PDF

Info

Publication number
CN102868727B
CN102868727B CN201210303801.6A CN201210303801A CN102868727B CN 102868727 B CN102868727 B CN 102868727B CN 201210303801 A CN201210303801 A CN 201210303801A CN 102868727 B CN102868727 B CN 102868727B
Authority
CN
China
Prior art keywords
logical volume
storage control
user
volume
storage
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
CN201210303801.6A
Other languages
Chinese (zh)
Other versions
CN102868727A (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.)
Guangdong Electronic Industry Institute Co Ltd
Original Assignee
Guangdong Electronic Industry Institute 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 Guangdong Electronic Industry Institute Co Ltd filed Critical Guangdong Electronic Industry Institute Co Ltd
Priority to CN201210303801.6A priority Critical patent/CN102868727B/en
Publication of CN102868727A publication Critical patent/CN102868727A/en
Application granted granted Critical
Publication of CN102868727B publication Critical patent/CN102868727B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention relates to the technical field of distributed virtual disk management, in particular to a method for realizing high availability of a logical volume. A system comprises a Web server, a front-end agent server, a memory controller, an LVM (Logical Volume Manager) function module, an iSCSI (Internet Small Computer System Interface) function module and a distributed file system. A user accesses the web server through a network and other modules carry out calling in accordance with a calling relationship by the web server according to user operation. The invention solves the problem of single-point failure caused by a single storage controller in a storage system, provides creation, mounting and issuing of a multi-center management logical volume, ensures storage high availability through a snapshot technology, provides a disaster recovery function of the content of the logical volume, and can be widely applied to a storage management system of a cloud computing system.

Description

A kind of method realizing high availability of logical volume
Technical field
The present invention relates to distributed virtual disk management technical field, especially a kind of method realizing high availability of logical volume.
Background technology
Distributed memory system, is stored in multiple stage independently on equipment exactly by data scatter.Traditional network store system adopts the storage server concentrated to deposit all data, and storage server becomes the bottleneck of systematic function, is also the focus of reliability and fail safe, can not meet the needs of Mass storage application.Distributed network storage system adopts extendible system configuration, utilizes multiple stage storage server to share storage load, utilizes location server to locate storage information, and it not only increases the reliability of system, availability and access efficiency, is also easy to expansion.
Distributed storage controller, storage control is the storage system of centralized management stores service (virtual disk, logical volume etc.), and distributed storage controller is multiple storage control cluster that provides Network Based, all nodes can provide service to user separately, avoid Single Point of Faliure, ensure that the stability of service.
Reverse proxy (Reverse Proxy) mode refers to proxy server to accept the connection request on internet, then by request forward to the server on internal network, and the result obtained from internal network server is returned to the client of internet request connection, now proxy server externally just shows as a server.
LVM logical volume management system, LVM (Logical Volume Manager) is the logical layer added between disk partition and file system, come, for disk partition layout of file system shielding lower floor, abstract coiling to be provided, on coiling, to set up file system.Physical volume (physical volume) physical volume just refers to fdisk or logically has the equipment (as RAID) of said function with disk partition, it is the basic stored logic block of LVM, but with basic physical storage medium (as subregion, disk etc.) compares, but include the management parameters relevant to LVM.Logical volume snapshot is a kind of Backup and Restore technology that LVM provides, and can carry out snapshot and recovery to logical volume.
ISCSI network store system, small computer system interface (iSCSI:Internet Small Computer System Interface) is a kind of agreement based on TCP/IP, be used for developing and managing being interconnected between IP memory device, main frame and client computer etc., and create storage area network (SAN).SAN makes SCSI protocol application become possibility in high speed data transmission networks, and this transmission is carried out between multiple data storage network with data block rank (block-level).
SCSI structure is based on Client/Server, and its usual applied environment is: equipment is adjacent to each other, and these equipment are connected by SCSI bus.The major function of iSCSI is host computer system (starter initiator) on TCP/IP network and encapsulation and the transmitting process of carrying out mass data between memory device (object machine target).In addition, iSCSI provides at IP network encapsulation scsi command, and operates on TCP.
In existing distributed memory system, be all use single-point storage control; The advantage of single storage control is used to be that actualizing technology is simple, cache synchronization is easy; One of shortcoming is that single-point relies on obviously, if storage control goes wrong, whole stores service is then caused to use, can have influence on and use the client computer (virtual machine, physical machine etc.) stored to break down, when number of users is more and the logical volume quantity of management is larger, failure rate can obviously increase.Two of shortcoming is when File lose, cannot recover.
Summary of the invention
The invention provides a kind of method realizing high availability of logical volume, to solve the Single Point of Faliure problem that single storage control in storage system causes.Provide the establishment of multicenter management logic volume, carry and issue; Be ensure that the high availability of storage by snapping technique, the disaster recovery functionality of logical volume content is provided.
The technical scheme that the present invention solves the problems of the technologies described above is:
Realize a method for high availability of logical volume, it is characterized in that: the system be made up of Web server, Reverse Proxy, storage control, LVM functional module, iSCSI functional module, distributed file system realizes described method; User is by access to netwoks web server, and other modules are called according to call relation by web server according to user operation;
Storage control comprises LVM module and iSCSI functional module, distributed type file system client side module, storage control module;
All operations of user are all initiated by web page, comprise establishment, formats logical volume, and web server visit again Reverse Proxy after receiving request;
Reverse Proxy accepts the request from web server, and hash is carried out in the IP address according to user, navigates to designated store controller, when designated store controller breaks down, then navigates to other storage controls;
After storage control receives request, call corresponding functional module, the associative operation of actuating logic volume;
Described distributed file system is made up of a management node, a metadata node and some back end;
User logs on storage control, sends and creates logical volume request, and storage control performs establishment, format, ISCSI-target issue, and the network storage is also mounted to this locality to use ISCSI-initiator to find;
User uses the mode of volume to have two kinds, a kind of before volume is not mounted to virtual machine or physical machine, is uploaded, downloads and checks volume content, now, be wrapping with and be loaded on storage control by ftp; Another kind, logical volume is mounted to virtual machine or physical machine by user, and now, logical volume will unload from storage control;
User is at every turn by Reverse Proxy, and have access to the storage control of specifying, when this storage control comprising the logical volume of user, user can directly use; If do not comprise, then storage control can send distributed event by broadcast to other storage controls, the storage control receiving event can check whether self currently comprises this logical volume, if do not comprise, ignore this event, if comprise this volume, then by this volume solution carry, and cache contents is write logical volume.
User can carry out snapshot to logical volume, and snapshot contents comprises complete logical volume information, when needs reduce, carries out snapshot restore, and when the volume after recovery and snapshot, the information of logical volume is consistent.。
Logical volume management method of the present invention is when number of users is larger, and reverse proxy by the request equally loaded of user on different storage control, well can alleviate the pressure of single storage control, and the nodes of storage control can be expanded.When user is in the process using volume, when there is File lose, snapshot restore function can be used to recover.The inventive method achieves the high availability of logical volume.
Accompanying drawing explanation
Below in conjunction with accompanying drawing, the present invention is described further:
Fig. 1 is structured flowchart of the present invention.
Embodiment
As shown in Figure 1, the present invention is by Web server, Reverse Proxy, storage control, LVM functional module, iSCSI functional module, distributed file system, user is by access to netwoks web server, the use of other modules is called by web server according to user operation, has strict call relation between web server and other functional modules.
As Fig. 1, the pass between its each module is:
Storage control comprises LVM module and iSCSI functional module, distributed type file system client side module, storage control module;
All operations of user are all initiated by web page, comprise establishment, formats logical volume etc., and web server visit again Reverse Proxy after receiving request;
Reverse Proxy accepts the request from web server, and hash is carried out in the IP address according to user, navigates to designated store controller, when designated store controller breaks down, then navigates to other storage controls;
After storage control receives request, call corresponding functional module, the associative operation of actuating logic volume;
Distributed file system is made up of a management node, a metadata node and some back end.
User logs on storage control, sends and creates logical volume request, and storage control performs establishment, format, ISCSI-target issue, and the network storage is also mounted to this locality to use ISCSI-initiator to find.
User uses the mode of volume to have two kinds, a kind of before volume is not mounted to virtual machine or physical machine, is uploaded, downloads and checks volume content, now, be wrapping with and be loaded on storage control by ftp; Another kind, logical volume is mounted to virtual machine or physical machine by user, and now, logical volume will unload from storage control.
User is at every turn by Reverse Proxy, and have access to the storage control of specifying, when this storage control comprising the logical volume of user, user can directly use; If do not comprise, then storage control can send distributed event by broadcast to other storage controls, the storage control receiving event can check whether self currently comprises this logical volume, if do not comprise, ignore this event, if comprise this volume, then by this volume solution carry, and cache contents is write logical volume.
User can carry out snapshot to logical volume, and snapshot contents comprises complete logical volume information (formatted message, volume content), and when needs reduce, carry out snapshot restore, when the volume after recovery and snapshot, the information of logical volume is consistent.

Claims (2)

1. realize a method for high availability of logical volume, it is characterized in that: the system be made up of Web server, Reverse Proxy, storage control, LVM functional module, iSCSI functional module, distributed file system realizes described method; User is by access to netwoks web server, and other modules are called according to call relation by web server according to user operation;
Storage control comprises LVM module and iSCSI functional module, distributed type file system client side module, storage control module;
All operations of user are all initiated by web page, comprise establishment, formats logical volume, and web server visit again Reverse Proxy after receiving request;
Reverse Proxy accepts the request from web server, and hash is carried out in the IP address according to user, navigates to designated store controller, when designated store controller breaks down, then navigates to other storage controls;
After storage control receives request, call corresponding functional module, the associative operation of actuating logic volume;
Described distributed file system is made up of a management node, a metadata node and some back end;
User logs on storage control, sends and creates logical volume request, and storage control performs establishment, format, ISCSI-target issue, and the network storage is also mounted to this locality to use ISCSI-initiator to find;
User uses the mode of volume to have two kinds, a kind of before volume is not mounted to virtual machine or physical machine, is uploaded, downloads and checks volume content, now, be wrapping with and be loaded on storage control by ftp; Another kind, logical volume is mounted to virtual machine or physical machine by user, and now, logical volume will unload from storage control;
User is at every turn by Reverse Proxy, and have access to the storage control of specifying, when this storage control comprising the logical volume of user, user can directly use; If do not comprise, then storage control can send distributed event by broadcast to other storage controls, the storage control receiving event can check whether self currently comprises this logical volume, if do not comprise, ignore this event, if comprise this volume, then by this volume solution carry, and cache contents is write logical volume.
2. method according to claim 1, it is characterized in that: user can carry out snapshot to logical volume, snapshot contents comprises complete logical volume information, when needs reduce, carry out snapshot restore, when the volume after recovery and snapshot, the information of logical volume is consistent.
CN201210303801.6A 2012-08-23 2012-08-23 Method for realizing high availability of logical volume Active CN102868727B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210303801.6A CN102868727B (en) 2012-08-23 2012-08-23 Method for realizing high availability of logical volume

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210303801.6A CN102868727B (en) 2012-08-23 2012-08-23 Method for realizing high availability of logical volume

Publications (2)

Publication Number Publication Date
CN102868727A CN102868727A (en) 2013-01-09
CN102868727B true CN102868727B (en) 2015-06-17

Family

ID=47447313

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210303801.6A Active CN102868727B (en) 2012-08-23 2012-08-23 Method for realizing high availability of logical volume

Country Status (1)

Country Link
CN (1) CN102868727B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6211631B2 (en) * 2013-05-13 2017-10-11 株式会社日立製作所 Identifying workloads and sizing buffers for volume replication purposes
CN105262796A (en) * 2015-09-17 2016-01-20 北京汉柏科技有限公司 Cloud platform storage resource management system and disposition framework thereof
CN105607869B (en) * 2015-12-15 2019-02-01 国云科技股份有限公司 A kind of quick formatting and the method using magnetic disk of virtual machine
CN107508781A (en) * 2016-06-14 2017-12-22 贵阳朗玛信息技术股份有限公司 Exchange method, system and server architecture based on Web proxy server
CN106210058B (en) * 2016-07-13 2019-04-16 成都知道创宇信息技术有限公司 A kind of reverse proxy method of multi-core parallel concurrent
CN109144796B (en) * 2018-07-26 2022-02-18 郑州云海信息技术有限公司 Method, system and device for testing performance of storage system and server
CN111552437B (en) * 2020-04-22 2024-03-15 上海天玑科技股份有限公司 Snapshot method and snapshot device applied to distributed storage system
CN112199166B (en) * 2020-10-30 2023-02-03 上海爱数信息技术股份有限公司 Business emergency takeover and drilling system and method thereof
CN113630450B (en) * 2021-07-26 2024-03-15 深圳市杉岩数据技术有限公司 Access control method of distributed storage system and distributed storage system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1936819A (en) * 2005-09-20 2007-03-28 株式会社日立制作所 Logical volume transfer method and storage network system
CN101535979A (en) * 2005-08-01 2009-09-16 多特希尔系统公司 Management of storage resource devices
CN101651559A (en) * 2009-07-13 2010-02-17 浪潮电子信息产业股份有限公司 Failover method of storage service in double controller storage system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6952743B2 (en) * 2003-03-07 2005-10-04 Ivivity, Inc. Interface for distributed processing of SCSI tasks

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101535979A (en) * 2005-08-01 2009-09-16 多特希尔系统公司 Management of storage resource devices
CN1936819A (en) * 2005-09-20 2007-03-28 株式会社日立制作所 Logical volume transfer method and storage network system
CN101651559A (en) * 2009-07-13 2010-02-17 浪潮电子信息产业股份有限公司 Failover method of storage service in double controller storage system

Also Published As

Publication number Publication date
CN102868727A (en) 2013-01-09

Similar Documents

Publication Publication Date Title
CN102868727B (en) Method for realizing high availability of logical volume
US11444641B2 (en) Data storage system with enforced fencing
US11445019B2 (en) Methods, systems, and media for providing distributed database access during a network split
US11301144B2 (en) Data storage system
US11438411B2 (en) Data storage system with redundant internal networks
US11237772B2 (en) Data storage system with multi-tier control plane
US11467732B2 (en) Data storage system with multiple durability levels
US20210263658A1 (en) Data system with flush views
US10521135B2 (en) Data system with data flush mechanism
US20170329528A1 (en) Efficient data volume replication for block-based storage
US8650328B1 (en) Bi-directional communication between redundant storage controllers
US9262097B2 (en) System and method for non-volatile random access memory emulation
US11262933B2 (en) Sharing memory resources between asynchronous replication workloads
US11262918B1 (en) Data storage system with uneven drive wear reduction
CN103150268A (en) Block-level data capture method in CDP (Continuous Data Protection)
US11194500B2 (en) Resilient implementation of client file operations and replication
US7689766B1 (en) Method, system, apparatus, and computer-readable medium for integrating a caching module into a storage system architecture
Park et al. An analysis of replication enhancement for a high availability cluster
US11061585B1 (en) Integration of NVMe device with DRAM cache system and method
US11681443B1 (en) Durable data storage with snapshot storage space optimization
WO2014077451A1 (en) Network distributed file system and method using iscsi storage system
US10768834B2 (en) Methods for managing group objects with different service level objectives for an application and devices thereof
CN105512321A (en) Method for writing data of storage area networking (SAN) shared-file system and device
KR20140060962A (en) System and method for providing multiple service using idle resource of network distributed file system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant