Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Heartbeat connection establishing method and device

A heartbeat connection and establishment method technology, applied in the storage field, can solve the problem of heavy OSD communication load, achieve the effect of reducing communication load and reducing the number of establishments

Active Publication Date: 2020-08-07
NEW H3C TECH CO LTD
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, in practical applications, in the case of a large-scale Ceph cluster, the above-mentioned heartbeat connection establishment method needs to establish a lot of heartbeat connections, resulting in a heavy OSD communication load

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
  • Heartbeat connection establishing method and device
  • Heartbeat connection establishing method and device
  • Heartbeat connection establishing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0025] The embodiment of this application provides a method for establishing a heartbeat connection, such as figure 1 As shown, the method is applied to the Monitor in the Ceph cluster, and the method may include the following steps:

[0026] S11: According to the OSD topology information of the Ceph cluster, construct multiple heartbeat connection rings composed of OSDs, and each OSD on each heartbeat connection ring is selected from OSDs in different storage nodes in the Ceph clus...

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 provides a heartbeat connection establishing method and device. The method is applied to a monitor in a Ceph cluster and comprises the steps that according to OSD topological informationof the Ceph cluster, a plurality of heartbeat connecting rings composed of OSDs are constructed, and each OSD on each heartbeat connecting ring is selected from OSDs in different storage nodes in theCeph cluster; and the neighbor OSD of each OSD on each heartbeat connection ring is sent to each OSD, so that each OSD respectively establishes heartbeat connection with the neighbor OSD. According to the invention, the communication load of the OSD in the Ceph cluster can be greatly reduced.

Description

technical field [0001] The present application relates to the field of storage, in particular to a method and device for establishing a heartbeat connection. Background technique [0002] In order to maintain the stable and reliable operation of the distributed storage system (Ceph) cluster, in the Ceph cluster, each object storage device (Object Storage Device, OSD) in each storage node will be connected according to the heartbeat configured by itself. For example, configure 10 heartbeat connections, and randomly establish heartbeat connections with the configured number of other OSDs. The other OSDs here may be other OSDs in the storage node to which the OSD belongs, or OSDs in other storage nodes. [0003] During the operation of the Ceph cluster, the OSD will send heartbeat messages to other OSDs, and will also listen to the heartbeat messages sent by other OSDs. Once the heartbeat message from the OSD that has established a heartbeat connection with itself is not receiv...

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): G06F3/06
CPCG06F3/0604G06F3/0653G06F3/067
Inventor 金朴堃杨潇
Owner NEW H3C TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products