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

A method and device for high availability of services in a hyperconverged distributed storage node

A distributed storage and storage service technology, applied in the field of high-availability methods and devices in hyper-converged distributed storage nodes, can solve problems such as other service stoppages, and achieve the effect of reducing switching time and performance loss

Active Publication Date: 2022-08-02
江苏安超云软件有限公司
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
  • A method and device for high availability of services in a hyperconverged distributed storage node
  • A method and device for high availability of services in a hyperconverged distributed storage node
  • A method and device for high availability of services in a hyperconverged distributed storage node

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0041] Embodiments of the present invention provide a method for high availability of services in a hyper-converged distributed storage node, such as figure 1 As shown, each storage node in a 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: Start the client mode storage service and the hyper-converged mode storage service simultaneously in the distributed storage node, where 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, and the hyperconverged mode storage service is a state ser...

Embodiment 2

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

[0054] The storage service startup 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 that of the client mode storage service. Priority; this module executes the method described in step S11 in Embodiment 1, and details are not 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 lock request to the distributed metadata service, to obtain the read and write operation processing rights, and after the high-availability version of the node is tagged, distributed The hyper-converged mode storage service of...

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 by a bus or other means, Figure 7 Take connection via bus as an example.

[0061] The processor 51 may be a central processing unit (Central Processing Unit, CPU). The processor 51 may also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA) or Other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components and other chips, or a combination of the above 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-...

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 a hyper-converged distributed storage node. Each storage node includes: a client mode storage service, a hyper-converged mode storage service, a file system kernel, an application layer and a distributed element For data services, the traditional fence mechanism is avoided by marking each write request with a high-availability version of the node. At the same time, the client-mode storage service is used on this node to continuously and regularly check whether the status of the hyper-converged storage service is normal. Storage in the hyper-converged mode When the service is abnormal, the pure client mode storage service is started to take over the read and write requests to achieve the purpose of high availability, which avoids the need to wait for a timeout when the software fence is unresponsive, reduces the time for high availability switching, and does not need to transfer the request service address to other nodes. Reduce performance loss.

Description

technical field [0001] The invention relates to the technical field of distributed services, in particular to a method and device for high availability of services in a hyper-converged distributed storage node. Background technique [0002] The storage service in the hyper-converged distributed storage node plays 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 abnormal application of the node, so high availability support is required. [0003] The conventional high-availability solution of the distributed file system adopts the mechanism that the IP address drifts to other nodes and adds the fence when the local node fails. 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 wri...

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 Patents(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