CN107734037A - A kind of NAS clusters and data access method - Google Patents

A kind of NAS clusters and data access method Download PDF

Info

Publication number
CN107734037A
CN107734037A CN201710979257.XA CN201710979257A CN107734037A CN 107734037 A CN107734037 A CN 107734037A CN 201710979257 A CN201710979257 A CN 201710979257A CN 107734037 A CN107734037 A CN 107734037A
Authority
CN
China
Prior art keywords
docker containers
docker
nas clusters
nas
clusters
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
CN201710979257.XA
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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710979257.XA priority Critical patent/CN107734037A/en
Publication of CN107734037A publication Critical patent/CN107734037A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1044Group management mechanisms 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions

Abstract

The invention discloses a kind of NAS clusters, cluster includes receiving the receiving module that client layer sends access instruction, and the docker containers for operating back-end storage device using access instruction.Because docker containers are that virtualization is realized in operating system aspect, the operating system of host is directly multiplexed, so docker mutually changes with numerous advantages with traditional virtualization mode.Wherein, the startup of docker containers and resume speed are very fast, and the startup of container is realized in second level, and this is compared to traditional virtual machine mode much faster.Moreover, docker is very high to the utilization rate of system resource, thousands of docker containers can be run simultaneously on a main frame.Container does not consume extra system resource so that the performance of application is very high, the expense very little of simultaneity factor substantially in addition to running and wherein applying.The embodiment of the present invention also provides a kind of data access method, can equally realize above-mentioned technique effect.

Description

A kind of NAS clusters and data access method
Technical field
The present invention relates to storage device technical field, more specifically to a kind of NAS clusters and data access method.
Background technology
NAS (network attached storage) is a kind of storage organization being connected directly between on network, supports a variety of file transmission associations View, the other users on network are provided with the data access service of centralization.
At present, thus user obtains generally using network access virtual machine so as to access the file system of back-end storage device Obtain NAS services.But the virtual machine selected now, such as kvm virtual machines, data communication layer level is more, and NAS is provided using kvm Service can make whole system too fat to move, need to take considerable time when virtual machine needs to restart.Simultaneously common virtual machine is answered Not high with rate, different virtual machines will be started by running different applications, very waste the expense of system.
Therefore, resource consumption when NAS services are provided how is reduced, is that those skilled in the art need to solve the problems, such as.
The content of the invention
It is an object of the invention to provide a kind of NAS clusters and a kind of data access method, when providing NAS services to reduce Resource consumption.
To achieve the above object, the embodiments of the invention provide following technical scheme:
A kind of NAS clusters, including:
Receiving module, for receiving the access instruction of client layer transmission;
Docker containers, for being conducted interviews using the access instruction to back-end storage device;Wherein, the rear end is deposited The Map Volume of storage equipment is connected with NAS clusters.
Wherein, the receiving module, is specifically used for, and utilizes the IP address of the target docker containers in virtual network interface The access instruction sent by client layer received is transferred to the target docker containers;Wherein, the virtual network connects Mouth binding has the IP address of each docker containers in NAS clusters.
Wherein, the NAS clusters have ISCSI sessions with back-end storage device Map Volume by ovs bridge.
Wherein, in addition to:
Monitoring modular, for monitored using kubernetes each docker containers in the NAS clusters whether failure;
Module is restarted, for when monitoring the docker reservoir failures in the NAS clusters using kubernetes, restarting The docker containers of failure.
A kind of data access method, including:
Receive the access instruction that client layer is sent;
Using the target docker containers in the NAS clusters that connection is established with the Map Volume of back-end storage device to after described End storage device conducts interviews;Wherein, the NAS clusters include docker containers.
Wherein, the access instruction for receiving client layer and sending, including:
The visit sent by client layer that will be received using the IP address of the target docker containers in virtual network interface Ask that instruction is transferred to the target docker containers;Wherein, the virtual network interface binding has each in NAS clusters The IP address of docker containers.
Wherein, the NAS clusters have ISCSI sessions with back-end storage device Map Volume by ovs bridge.
Wherein, in addition to:
Using kubernetes detect each docker containers in the NAS clusters whether failure;
If so, then restart the docker containers of failure.
A kind of data access equipment, including:
Memory, for storing computer program;
Processor, a kind of any one of as described above method of data access is realized during for performing the computer program The step of.
A kind of computer-readable recording medium, computer program is stored with the computer-readable recording medium, it is described The step of method of any one a kind of data access as described above is realized when computer program is executed by processor.
By above scheme, a kind of NAS clusters provided in an embodiment of the present invention, including receiving module, for receiving The access instruction that client layer is sent;Docker containers, for being conducted interviews using the access instruction to back-end storage device;Its In, the Map Volume of the back-end storage device is connected with NAS clusters.
By above scheme, a kind of NAS clusters provided in an embodiment of the present invention, cluster includes receiving client layer transmission The receiving module of access instruction, and the docker containers operated using access instruction to back-end storage device.Due to docker Container is that virtualization is realized in operating system aspect, is directly multiplexed the operating system of host, so docker is with passing The virtualization mode of system is mutually changed with numerous advantages.Wherein, the startup of docker containers and resume speed are very fast, container Start and realized in second level, this is compared to traditional virtual machine mode much faster.Moreover, docker to the utilization rate of system resource very Height, thousands of docker containers can be run simultaneously on a main frame.Container does not consume volume substantially in addition to running and wherein applying Outer system resource so that the performance of application is very high, the expense very little of simultaneity factor.The embodiment of the present invention also provides a kind of data Access method, it can equally realize above-mentioned technique effect.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of NAS cluster topologys schematic diagram disclosed in the embodiment of the present invention;
Fig. 2 is a kind of specific NAS cluster topology schematic diagrames disclosed in the embodiment of the present invention;
Fig. 3 is a kind of specific NAS cluster topology schematic diagrames disclosed in the embodiment of the present invention;
Fig. 4 is a kind of specific NAS cluster network attachment structure schematic diagrams disclosed in the embodiment of the present invention;
Fig. 5 is a kind of data access method flow chart disclosed in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of protection of the invention.
The embodiment of the invention discloses a kind of NAS clusters and a kind of data access method, is provided with reducing when NAS is serviced Resource consumption.
Referring to Fig. 1, a kind of NAS clusters provided in an embodiment of the present invention, specifically include:
Receiving module 101, for receiving the access instruction of client layer transmission;
Specifically, receiving module 101 is provided with NAS clusters, for receiving the access instruction of client layer transmission.Wherein use Family layer is established by the network equipment and NAS clusters and connected, and is created wherein on the host of NAS clusters by a virtual network interface Docker0, one is selected to be given docker0 currently without the subnet network segment used from private address, due to Docker0 is to create to be used between network interface card the virtual Ethernet bridge of forwarding packet automatically on Linux main frames, if so and place Network service outside main frame is also needed to NAT address conversions, the IP that docker0 IP address conversion can be accessed for outer net Address.And an IP address being not used by can be selected from the docker0 network segment after docker containers start in cluster, binding To the network interface of the eth0 in this docker container.
Docker containers 102, for being conducted interviews using the access instruction to back-end storage device;Wherein, after described The Map Volume of end storage device is connected with NAS clusters.
Specifically, each docker containers 102 is a nodes of NAS clusters, the NAT that docker containers pass through host Conversion is connected to external network, and NAS services are provided for external network.Docker containers 102 establish network service with rear end storage, Wherein docker containers can utilize ISCSI agreements to be established with back-end storage device Map Volume and communicate.User establishes with NAS clusters After connection, access request is sent, docker container receptions to access request are right according to the content of request, such as reading and writing data Back-end storage device is operated accordingly.
By above scheme, a kind of NAS clusters provided in an embodiment of the present invention, cluster includes receiving client layer transmission The receiving module of access instruction, and the docker containers operated using access instruction to back-end storage device.Due to docker Container is that virtualization is realized in operating system aspect, is directly multiplexed the operating system of host, so docker is with passing The virtualization mode of system is mutually changed with numerous advantages.Wherein, the startup of docker containers and resume speed are very fast, container Start and realized in second level, this is compared to traditional virtual machine mode much faster.Moreover, docker to the utilization rate of system resource very Height, thousands of docker containers can be run simultaneously on a main frame.Container does not consume volume substantially in addition to running and wherein applying Outer system resource so that the performance of application is very high, the expense very little of simultaneity factor.
The embodiment of the present invention provides a kind of specifically NAS clusters, is different from above-described embodiment, the embodiment of the present invention is to above-mentioned Receiving module 101 has done further restriction and explanation in embodiment, and other module contents are roughly the same with above-described embodiment, tool Body may be referred to above-described embodiment, and here is omitted.
Receiving module 101, is specifically used for, and will be received using the IP address of the target docker containers in virtual network interface To by client layer send access instruction be transferred to the target docker containers;Wherein, the virtual network interface binding There is the IP address of each docker containers in NAS clusters.
Specifically, a virtual network interface docker0 is created on the host of NAS clusters, when host utilizes void Intend network interface and receive the access request that the client layer in external network is sent, further according to the docker specifically to work The IP address of container, access request is transferred in the docker containers of target, rear end stored using this docker container Equipment conducts interviews operation.
It should be noted that in NAS clusters, synchronization only has a docker container in running order, when this When the docker containers of individual work go wrong, other docker container nodes can take over its business, realize business and data Redundancy.
The embodiment of the present invention provides a kind of specific NAS clusters, is different from above-described embodiment, the embodiment of the present invention is to above-mentioned NAS clusters have done further restriction and explanation in embodiment, and other module contents are roughly the same with above-described embodiment, specifically may be used So that with reference to above-described embodiment, here is omitted.Specifically, the NAS clusters pass through ovs with back-end storage device Map Volume Bridge has ISCSI sessions.
Specifically, the docker containers in NAS clusters are reflected by what ISCSI protocol links back-end storage device provided respectively Penetrate volume.The system of back-end storage device is on the host of NAS clusters after installation, just included container on host Mirror image.After the system of back-end storage device starts, by script startup container, while OPEN VSWITCH configurations ovs is run Bridge, to be connected the disk of docker containers and back-end storage device using ovs bridge.Specifically, container starts it Afterwards, ISCSI Initiator are run, finds and logins the ISCSI Target main frames of back-end storage device, establish and keep ISCSI sessions.
It should be noted that each run ISCSI Initiator in the virtual machine on container.ISCSI Initiator The ISCSI Target main frames of rear end storage are connected to by ISCSI agreements.Because the rear end that four containers in system are seen The ISCSI Target of storage are the same, so the ISCSI Initiator in each virtual machine only need to connect this node On the ISCSI Target that see.And the nodeinternal network that the iSCSI Target for connecting this container pass through, by ovs Bridge is provided, ovs bridge virtual switch technology, avoids delay and the expense of conventional physical network interface card forwarded. This node ISCSI Target are connected, independent of external network interchanger, make the data in system in all nodes safer.
In NAS clusters, each docker container nodes may existence change, cause nodal function to fail, be Ensure that each docker container nodes may remain in the state for the normal operation specified, the embodiment of the present invention provides a kind of specific NAS clusters, based on above-described embodiment, the embodiment of the present invention also includes:
Whether monitoring modular 201, each docker containers monitored for utilization kubernetes in the NAS clusters are former Barrier;
In this programme, the monitoring that docker containers are carried out using kubernetes is controlled.Kubernetes is with cluster side Formula manages each docker containers, using arranging system rapid build container cluster, can manage and repair automatically and be each Docker containers, according to the change of each docker container nodes state, judge whether to need to restart docker containers.
Specifically, whether each docker containers that detection module is monitored using kubernetes in the NAS clusters are former Barrier, judges whether each docker containers need to restart.
Restart module 202, for when monitoring the docker reservoir failures in the NAS clusters using kubernetes, Restart the docker containers of failure.
Specifically, when needs occur and restarting ground docker containers, then the docker of failure is restarted using kubernetes Container.
The embodiment of the present invention provides a kind of specific NAS clusters.Referring to Fig. 3, in this programme, NAS clusters include 4 Docker containers, it is container A, container B, container C, container D respectively.Rear end is connected on this 4 nodes by ISCSI agreements to store The Map Volume of offer, while docker containers access external network, externally provide NAS services.The effect of Docker containers is exactly Rear end storage mapping volume is connected, NAS clusters rely on these Map Volumes and establish file system, then docker containers access host External network provide NAS service.Communicated between each virtual machine by NTB internal networks, wherein, NTB is nontransparent Bridge.
With reference to figure 4, when Docker finger daemons start, a virtual network interface docker0 can be created on host, The subnet network segment being not used, such as 173.2.0.1 are selected from private address, and it is distributed into docker0. Docker containers can select an IP address being not used by after starting from docker0 networks, be tied in docker containers Eth0 interfaces, such as the eth0 of container A:173.2.0.2 the eth1 of container B:173.2.0.3.Wherein, docker containers need logical The NAT conversions for crossing host are connected to external network, and providing NAS for external network services, for example, by the network in docker0 All be converted to host:192.168.1.128.
It should be noted that Docker creates a container every time, will be that this container creates a pair of counterpart interfaces (peer interface), the both ends of a similar pipe, the packet that another side is sent can be received on one side.Docker meetings Connected one in counterpart interface as eth0 interfaces to the container, and hold another using only title, the title NameSpace depending on main frame.Total interface (eth0, eth1 ...) is tied to by docker0 on bridge joint network interface card by veth*, Docker creates a shared virtual subnet between main frame and all Docker0 containers.Because Docker0 is to create It is used between network interface card the virtual ethernet bridge of forwarding packet automatically on Linux main frames, needs to borrow with host external network communication Help NAT address conversions, therefore docker0 shows as an independent network.
Configuration for each docker containers is identical, wherein in the cluster, synchronization only has a docker container In running order, other containers are mutually redundant with it.Inside each docker container nodes can voluntarily installation and operation NFS, CIFS, Kubernetes, OPEN VSWITCH software.OPEN VSWITCH configuration ovs bridge connections rear end disk is run, Docker container nodes carry out network configuration after starting, and run ISCSI Initiator, find, login ISCSI Target Main frame, establish ISCSI sessions and keep, container is connected with back-end storage device Map Volume.
A kind of data access method provided in an embodiment of the present invention is introduced below, provided in an embodiment of the present invention one Kind data access method can be referred to mutually with a kind of NAS clusters that above-described embodiment provides.
With reference to figure 5, a kind of data access method provided in an embodiment of the present invention, specifically include:
S301, receive the access instruction that client layer is sent;
Specifically, NAS clusters receive the access instruction that client layer is sent, and access instruction can be read-write operation.Wherein, use Family layer is established by the network equipment and NAS clusters and connected, and is created on the host of NAS clusters by a virtual network interface Docker0, one is selected to be given docker0 currently without the subnet network segment used from private address, due to Docker0 is to create to be used between network interface card the virtual Ethernet bridge of forwarding packet automatically on Linux main frames, if all and place Network service outside main frame also need to remember with NAT address conversions, be that outer net can access by docker0 IP address conversion IP address.And an IP address being not used by can be selected after docker containers start in cluster from the docker0 network segment, The network interface for the eth0 being tied in this docker container.
S302, utilize the target docker containers pair in the NAS clusters that connection is established with the Map Volume of back-end storage device The back-end storage device conducts interviews;Wherein, the NAS clusters include docker containers.
Specifically, each docker containers in NAS clusters establish with back-end storage device Map Volume is connected, also It is to say, back-end storage device Map Volume can be utilized to access back-end storage device.Docker containers in NAS clusters are according to reception To access instruction back-end storage device is operated accordingly.
By above scheme, a kind of data access method provided in an embodiment of the present invention, received by NAS clusters The access instruction that client layer is sent, the docker containers in NAS clusters are recycled to operate back-end storage device accordingly. Because docker containers are that virtualization is realized in operating system aspect, the operating system of host is directly multiplexed, so Docker mutually changes with numerous advantages with traditional virtualization mode.Wherein, the startup of docker containers and resume speed ten Divide soon, the startup of container is realized in second level, and this is compared to traditional virtual machine mode much faster.Moreover, docker provides to system The utilization rate in source is very high, can run thousands of docker containers on a main frame simultaneously.Container except run wherein apply in addition to, Substantially extra system resource is not consumed so that the performance of application is very high, the expense very little of simultaneity factor.
The embodiment of the present invention provides a kind of specific data access method, is different from above-described embodiment, the embodiment of the present invention Further restriction and explanation are done to the S301 in above-mentioned implementation, other step contents are roughly the same with above-described embodiment, tool Body may be referred to above-described embodiment, and here is omitted.Specifically, S101 includes:
The visit sent by client layer that will be received using the IP address of the target docker containers in virtual network interface Ask that instruction is transferred to the target docker containers;Wherein, the virtual network interface binding has each in NAS clusters The IP address of docker containers.
Specifically, a virtual network interface docker0 is created on the host of NAS clusters, when host utilizes void Intend network interface and receive the access request that the client layer in external network is sent, further according to the docker specifically to work The IP address of container, access request is transferred in the docker containers of target, rear end stored using this docker container Equipment conducts interviews operation.
It should be noted that in NAS clusters, synchronization only has a docker container in running order, when this When the docker containers of individual work go wrong, other docker container nodes can take over its business, realize business and data Redundancy.
The embodiment of the present invention provides a kind of specific data access method, is different from above-described embodiment, the embodiment of the present invention Further restriction and explanation have been done to NAS clusters in above-described embodiment, other module contents are roughly the same with above-described embodiment, Above-described embodiment specifically is may be referred to, here is omitted.Specifically, the NAS clusters lead to back-end storage device Map Volume Cross ovs bridge and have ISCSI sessions.
Specifically, the docker containers in NAS clusters are reflected by what ISCSI protocol links back-end storage device provided respectively Penetrate volume.The system of back-end storage device is on the host of NAS clusters after installation, just included container on host Mirror image.After the system of back-end storage device starts, by script startup container, while OPEN VSWITCH configurations ovs is run Bridge, to be connected the disk of docker containers and back-end storage device using ovs bridge.Specifically, container starts it Afterwards, ISCSI Initiator are run, finds and logins the ISCSI Target main frames of back-end storage device, establish and keep ISCSI sessions.
It should be noted that each run ISCSI Initiator in the virtual machine on container.ISCSI Initiator The ISCSI Target main frames of rear end storage are connected to by ISCSI agreements.Because the rear end that four containers in system are seen The ISCSI Target of storage are the same, so the ISCSI Initiator in each virtual machine only need to connect this node On the ISCSI Target that see.And the nodeinternal network that the iSCSI Target for connecting this container pass through, by ovs Bridge is provided, ovs bridge virtual switch technology, avoids delay and the expense of conventional physical network interface card forwarded. This node ISCSI Target are connected, independent of external network interchanger, make the data in system in all nodes safer.
In NAS clusters, each docker container nodes may existence change, cause nodal function to fail, be Ensure that each docker container nodes may remain in the state for the normal operation specified, the embodiment of the present invention provides a kind of specific Data access method, based on above-described embodiment, the embodiment of the present invention also includes:
Using kubernetes detect each docker containers in the NAS clusters whether failure;
If so, then restart the docker containers of failure.
In this programme, the monitoring that docker containers are carried out using kubernetes is controlled.Kubernetes is with cluster side Formula manages each docker containers, using arranging system rapid build container cluster, can manage and repair automatically and be each Docker containers, according to the change of each docker container nodes state, judge whether to need to restart docker containers.
Specifically, using kubernetes monitor each docker containers in the NAS clusters whether failure, judge every Whether individual docker containers need to restart.
When needs occur and restarting ground docker containers, then the docker containers of failure are restarted using kubernetes.
The embodiment of the present invention provides a kind of data access device, and a kind of data access device described below is with being described above A kind of data access method can be with cross-referenced.
A kind of data access device provided in an embodiment of the present invention, is specifically included:
Memory, for storing computer program;
Processor, realizing a kind of data access as described in above-mentioned any embodiment during for performing the computer program The step of method.
The embodiment of the present invention provides a kind of computer-readable recording medium, computer-readable recording medium described below with A kind of above-described data access method can be with cross-referenced.
Computer program, the computer are stored with a kind of computer-readable recording medium provided in an embodiment of the present invention Realized when program is executed by processor as described in above-mentioned any embodiment the step of a kind of data access method.
Each embodiment is described by the way of progressive in this specification, what each embodiment stressed be and other The difference of embodiment, between each embodiment identical similar portion mutually referring to.
The foregoing description of the disclosed embodiments, professional and technical personnel in the field are enable to realize or using the present invention. A variety of modifications to these embodiments will be apparent for those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, it is of the invention The embodiments shown herein is not intended to be limited to, and is to fit to and principles disclosed herein and features of novelty phase one The most wide scope caused.

Claims (10)

  1. A kind of 1. NAS clusters, it is characterised in that including:
    Receiving module, for receiving the access instruction of client layer transmission;
    Docker containers, for being conducted interviews using the access instruction to back-end storage device;Wherein, the rear end storage is set Standby Map Volume is connected with NAS clusters.
  2. 2. NAS clusters according to claim 1, it is characterised in that the receiving module, be specifically used for, utilize virtual net The access instruction sent by client layer received is transferred to the mesh by the IP address of the target docker containers in network interface Mark docker containers;Wherein, the virtual network interface binding has the IP address of each docker containers in NAS clusters.
  3. 3. NAS clusters according to claim 2, it is characterised in that the NAS clusters lead to back-end storage device Map Volume Cross ovs bridge and have ISCSI sessions.
  4. 4. NAS clusters as claimed in any of claims 1 to 3, it is characterised in that also include:
    Monitoring modular, for monitored using kubernetes each docker containers in the NAS clusters whether failure;
    Module is restarted, for when monitoring the docker reservoir failures in the NAS clusters using kubernetes, restarting failure Docker containers.
  5. A kind of 5. data access method, it is characterised in that including:
    Receive the access instruction that client layer is sent;
    The rear end is deposited using the target docker containers in the NAS clusters that connection is established with the Map Volume of back-end storage device Storage equipment conducts interviews;Wherein, the NAS clusters include docker containers.
  6. 6. according to the method for claim 5, it is characterised in that the access instruction for receiving client layer and sending, including:
    The access sent by client layer received is referred to using the IP address of the target docker containers in virtual network interface Order is transferred to the target docker containers;Wherein, the virtual network interface binding has each docker in NAS clusters to hold The IP address of device.
  7. 7. according to the method for claim 6, it is characterised in that the NAS clusters pass through with back-end storage device Map Volume Ovs bridge have ISCSI sessions.
  8. 8. the method according to any one in claim 5 to 7, it is characterised in that also include:
    Using kubernetes detect each docker containers in the NAS clusters whether failure;
    If so, then restart the docker containers of failure.
  9. A kind of 9. data access equipment, it is characterised in that including:
    Memory, for storing computer program;
    Processor, realizing a kind of data access as described in any one of claim 5 to 8 during for performing the computer program The step of method.
  10. 10. a kind of computer-readable recording medium, it is characterised in that be stored with computer on the computer-readable recording medium Program, a kind of side of data access as described in any one of claim 5 to 8 is realized when the computer program is executed by processor The step of method.
CN201710979257.XA 2017-10-19 2017-10-19 A kind of NAS clusters and data access method Pending CN107734037A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710979257.XA CN107734037A (en) 2017-10-19 2017-10-19 A kind of NAS clusters and data access method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710979257.XA CN107734037A (en) 2017-10-19 2017-10-19 A kind of NAS clusters and data access method

Publications (1)

Publication Number Publication Date
CN107734037A true CN107734037A (en) 2018-02-23

Family

ID=61212112

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710979257.XA Pending CN107734037A (en) 2017-10-19 2017-10-19 A kind of NAS clusters and data access method

Country Status (1)

Country Link
CN (1) CN107734037A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109542338A (en) * 2018-10-19 2019-03-29 郑州云海信息技术有限公司 A kind of realization distributed memory system interior joint consistency on messaging method and device
CN109558260A (en) * 2018-11-20 2019-04-02 北京京东尚科信息技术有限公司 Kubernetes troubleshooting system, method, equipment and medium
CN110430276A (en) * 2019-08-12 2019-11-08 中国南方电网有限责任公司 Communication control method, device, communication control unit and storage medium based on docker
TWI704460B (en) * 2019-01-19 2020-09-11 神雲科技股份有限公司 A method of maintaining memory sharing in clustered system

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060112247A1 (en) * 2004-11-19 2006-05-25 Swaminathan Ramany System and method for real-time balancing of user workload across multiple storage systems with shared back end storage
CN1904855A (en) * 2005-07-29 2007-01-31 国际商业机器公司 System and method for automatically relating components of a storage area network in a volume container
EP3101966A1 (en) * 2015-06-05 2016-12-07 Alcatel Lucent A network, a cloud-based server, and a method of registering for a service
CN106326226A (en) * 2015-06-16 2017-01-11 苏宁云商集团股份有限公司 Method and system for starting database service on public cloud
CN106506314A (en) * 2016-09-30 2017-03-15 北京赢点科技有限公司 Network high availability method and device based on docker
CN106603284A (en) * 2016-12-14 2017-04-26 国网天津市电力公司 Docker virtual container micro-application platform system and operation method
CN106603678A (en) * 2016-12-21 2017-04-26 济南浪潮高新科技投资发展有限公司 Method for achieving gridding distributed storage through employing Docker container
CN106681650A (en) * 2015-11-10 2017-05-17 中国电信股份有限公司 Virtual volume access method and virtualization system
CN106688217A (en) * 2014-03-08 2017-05-17 狄亚曼提公司 Methods and systems for converged networking and storage
CN106685860A (en) * 2015-11-06 2017-05-17 阿里巴巴集团控股有限公司 Network virtualization method and device
CN106790663A (en) * 2017-01-22 2017-05-31 济南浪潮高新科技投资发展有限公司 The implementation method of the network store system based on Docker
CN106790660A (en) * 2017-01-18 2017-05-31 咪咕视讯科技有限公司 A kind of dispositions method and device for realizing distributed memory system
CN106878457A (en) * 2017-03-24 2017-06-20 网宿科技股份有限公司 The attached storage method of distributed network and system

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060112247A1 (en) * 2004-11-19 2006-05-25 Swaminathan Ramany System and method for real-time balancing of user workload across multiple storage systems with shared back end storage
CN1904855A (en) * 2005-07-29 2007-01-31 国际商业机器公司 System and method for automatically relating components of a storage area network in a volume container
CN106688217A (en) * 2014-03-08 2017-05-17 狄亚曼提公司 Methods and systems for converged networking and storage
EP3101966A1 (en) * 2015-06-05 2016-12-07 Alcatel Lucent A network, a cloud-based server, and a method of registering for a service
CN106326226A (en) * 2015-06-16 2017-01-11 苏宁云商集团股份有限公司 Method and system for starting database service on public cloud
CN106685860A (en) * 2015-11-06 2017-05-17 阿里巴巴集团控股有限公司 Network virtualization method and device
CN106681650A (en) * 2015-11-10 2017-05-17 中国电信股份有限公司 Virtual volume access method and virtualization system
CN106506314A (en) * 2016-09-30 2017-03-15 北京赢点科技有限公司 Network high availability method and device based on docker
CN106603284A (en) * 2016-12-14 2017-04-26 国网天津市电力公司 Docker virtual container micro-application platform system and operation method
CN106603678A (en) * 2016-12-21 2017-04-26 济南浪潮高新科技投资发展有限公司 Method for achieving gridding distributed storage through employing Docker container
CN106790660A (en) * 2017-01-18 2017-05-31 咪咕视讯科技有限公司 A kind of dispositions method and device for realizing distributed memory system
CN106790663A (en) * 2017-01-22 2017-05-31 济南浪潮高新科技投资发展有限公司 The implementation method of the network store system based on Docker
CN106878457A (en) * 2017-03-24 2017-06-20 网宿科技股份有限公司 The attached storage method of distributed network and system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109542338A (en) * 2018-10-19 2019-03-29 郑州云海信息技术有限公司 A kind of realization distributed memory system interior joint consistency on messaging method and device
CN109542338B (en) * 2018-10-19 2022-02-18 郑州云海信息技术有限公司 Method and device for realizing node information consistency in distributed storage system
CN109558260A (en) * 2018-11-20 2019-04-02 北京京东尚科信息技术有限公司 Kubernetes troubleshooting system, method, equipment and medium
CN109558260B (en) * 2018-11-20 2022-06-07 北京京东尚科信息技术有限公司 Kubernetes fault elimination system, method, equipment and medium
TWI704460B (en) * 2019-01-19 2020-09-11 神雲科技股份有限公司 A method of maintaining memory sharing in clustered system
CN110430276A (en) * 2019-08-12 2019-11-08 中国南方电网有限责任公司 Communication control method, device, communication control unit and storage medium based on docker
CN110430276B (en) * 2019-08-12 2020-06-23 中国南方电网有限责任公司 Communication control method and device based on docker, communication control equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110912780B (en) High-availability cluster detection method, system and controlled terminal
US10225331B1 (en) Network address translation load balancing over multiple internet protocol addresses
US11068362B2 (en) High-availability cluster architecture and protocol
JP6317856B2 (en) Smooth controller change in redundant configuration between clusters
CA2783452C (en) Migrating virtual machines among networked servers upon detection of degrading network link operation
US6014699A (en) Internet protocol assists for high performance LAN connections
JP5893628B2 (en) Performing partial subnet initialization in a middleware machine environment
CN102035862B (en) Configuration node fault transfer method and system in SVC cluster
US8880935B2 (en) Redundancy and load balancing in remote direct memory access communications
US6009467A (en) System for checking status of supported functions of communication platforms at preselected intervals in order to allow hosts to obtain updated list of all supported functions
CN107734037A (en) A kind of NAS clusters and data access method
CN107846358B (en) Data transmission method, device and network system
TWI476581B (en) Method, apparatus and computer program product for providing high availability in an active/active appliance cluster
CN105262820A (en) Cluster multi-computer mutual backup method based on Linux operating system
US9350655B2 (en) Vertical converged framework
US20080115144A1 (en) Method and Apparatus for Web Based Storage on Demand
WO2007101375A1 (en) Virtual network storage system, network storage device and virtual method
US6023734A (en) Establishing direct communications between two hosts without using a high performance LAN connection
CN106713039B (en) Ethernet port identification method and device and router
US6185218B1 (en) Communication method and apparatus for use in a computing network environment having high performance LAN connections
US5974049A (en) Internet protocol assists for high performance LAN connections
US10999151B2 (en) Apparatus, system, and method for topology discovery across geographically redundant gateway devices
CN110830598B (en) Method and network equipment for establishing and transmitting interface address and alias in BGP (Border gateway protocol) session
US20200089536A1 (en) Virtual fibre channel port migration
US20090052474A1 (en) Selective build fabric (bf) and reconfigure fabric (rcf) flooding

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180223

RJ01 Rejection of invention patent application after publication