Unlock instant, AI-driven research and patent intelligence for your innovation.

High-availability method and device for services in hyper-converged distributed storage nodes

A distributed storage and storage service technology, applied in the field of high-availability services in hyper-converged distributed storage nodes and devices, and can solve problems such as stopping other services

Active Publication Date: 2020-12-25
江苏安超云软件有限公司
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Therefore, the technical problem to be solved by the present invention is to overcome the traditional fence mechanism used in the prior art. If a hardware fence power failure occurs, all other services that are normally working on this node will stop, thereby providing a hyper-converged distributed storage In-node service high availability method and device

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • High-availability method and device for services in hyper-converged distributed storage nodes
  • High-availability method and device for services in hyper-converged distributed storage nodes
  • High-availability method and device for services in hyper-converged distributed storage nodes

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0041] An embodiment of the present invention provides a method for high availability of services in a hyper-converged distributed storage node, such as figure 1 As shown, each storage node in the hyper-converged storage cluster includes: client mode storage service, hyper-converged mode storage service, file system kernel, application layer and distributed metadata service, such as figure 2 As shown, the specific service high availability method includes the following steps:

[0042] Step S11: Simultaneously start the client mode storage service and the hyper-converged mode storage service in the distributed storage nodes, the service priority of the hyper-converged mode storage service is higher than the service priority of the client mode storage service.

[0043]The client mode storage service in the embodiment of the present invention is a stateless service, which is not affected by the state of the storage disk. The hyper-converged mode storage service is a state servic...

Embodiment 2

[0053] In the embodiment of the present invention, there is also a high-availability device for services in a hyper-converged distributed storage node, such as Figure 6 shown, including:

[0054] The storage service starting module 11 is used to simultaneously start the client mode storage service and the hyper-converged mode storage service in the distributed storage node, and the service priority of the hyper-converged mode storage service is higher than the service of the client mode storage service Priority; this module executes the method described in step S11 in Embodiment 1, which will not be repeated here.

[0055] The hyper-converged mode storage service processing module 12 is used for the hyper-converged mode storage service to send a distributed lock request to the distributed metadata service, obtain the right to process read and write operations, and mark the high-availability version of this node. The hyper-converged storage service of the storage node sends a...

Embodiment 3

[0060] An embodiment of the present invention provides a computer device, such as Figure 7 As shown, the device may include a processor 51 and a memory 52, wherein the processor 51 and the memory 52 may be connected via a bus or in other ways, Figure 7 Take connection via bus as an example.

[0061] The processor 51 may be a central processing unit (Central Processing Unit, CPU). Processor 51 can also be other general processors, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) or Other chips such as programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or combinations of the above-mentioned types of chips.

[0062] As a non-transitory computer-readable storage medium, the memory 52 can be used to store non-transitory software programs, non-transitory computer-exe...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a high-availability method and device for services in hyper-converged distributed storage nodes, and each storage node comprises a client mode storage service, a hyper-converged mode storage service, a file system kernel, an application layer and a distributed metadata service. The method comprises the following steps: marking a node high-availability version on each writerequest to avoid the use of a traditional fence mechanism, and meanwhile, continuously and periodically detecting whether the state of the hyper-converged mode storage service is normal or not by using the client mode storage service; when the hyper-converged mode storage service is abnormal, starting the pure client mode storage service to take over the read-write request to achieve the purpose of high availability, avoiding the situation that waiting overtime is needed when no response occurs in software fence, reducing the high availability switching time, therefore, a request service address does not need to be transferred to other nodes, and the performance loss is reduced.

Description

technical field [0001] The present invention relates to the technical field of distributed services, in particular to a method and device for high availability of services in hyper-converged distributed storage nodes. Background technique [0002] The storage service in the hyper-converged distributed storage node is both the role of the client and the server. When the storage service in the node fails, the read and write requests of the node cannot be sent, resulting in an abnormal application of the node. Therefore, high availability support is required. [0003] Conventional high-availability solutions for distributed file systems use a fence mechanism when the local node fails, and the IP address drifts to other nodes. The fence mechanism usually includes software fence and hardware fence. After receiving the write request from the original faulty node, the fence must be successfully executed. The first step is to execute the software fence to cancel the sent write reque...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/13G06F16/182
CPCG06F16/182G06F16/13
Inventor 张欢
Owner 江苏安超云软件有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More