Tgt-based cluster handle management method, system and device and readable storage medium

A management method and management system technology, applied in the field of distributed storage clusters, can solve the problems of occupying cluster resources, increasing cluster load, paralysis, etc., to reduce the consumption of computing resources and improve the load capacity.

Active Publication Date: 2020-01-17
SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The traditional mapping step is that a LUN corresponds to a cluster handle, a storage pool context, and a volume context. In this case, it is convenient to manage the information related to each LUN separately. However, in a large-scale distributed block storage scenario, the number of volumes is Tens of thousands of records, if each volume opens a cluster handle, it will undoubtedly occupy a lot of cluster resources, increase the load of the cluster, and may cause paralysis in severe cases

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
  • Tgt-based cluster handle management method, system and device and readable storage medium
  • Tgt-based cluster handle management method, system and device and readable storage medium
  • Tgt-based cluster handle management method, system and device and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0067] The embodiment of the present invention discloses a tgt-based cluster handle management method, see figure 1 As shown, the method includes:

[0068] S11: Receive LUN creation information.

[0069] Specifically, when a LUN needs to be created, the LUN creation information input by the user through the input device and the interface is received, and the following LUN creation steps are performed based on the LUN creation information.

[0070] S12: Conne...

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 tgt-based cluster handle management method, system and device and a computer readable storage medium, and the method comprises the steps: adding one to a cluster reference count in a cluster handle structure body when the cluster handle structure body of a storage cluster is created; when the storage pool structure body of the storage pool corresponding to the LUN creation information is created, adding one to the reference count of the storage pool in the storage pool structure body; when the volume structure body of the volume corresponding to the LUN creation information is created, adding one to the volume reference count in the volume structure body. According to the invention, the corresponding reference count is added in the structure body and used for recording the number of LUNs corresponding to a storage cluster, a storage pool and a volume; the number of LUNs is counted through reference counting, the LUNs are managed through the handle informationand the context information, one tgt thread can manage all the LUNs only by establishing one cluster handle structure body, the load capacity of a cluster is improved, and consumption of computing resources is reduced.

Description

technical field [0001] The invention relates to the field of distributed storage clusters, in particular to a tgt-based cluster handle management method, system, device and computer-readable storage medium. Background technique [0002] iSCSI (Internet Small Computer System Interface, small computer system interface) mainly uses TCP / IP technology to make the storage device (RBD) end through the iSCSI target function into a server that can provide disks, and then through the iSCSI initiator The (iSCSI initialization user) function is made to be able to mount the client using iSCSItarget, so that the disk application can be performed through the iSCSI protocol. [0003] In other words, the iSCSI architecture mainly divides the storage device and the host used into two parts, namely: [0004] iSCSI target: It is the storage device side, which stores disks or RAID devices. At present, Linux hosts can also be simulated as iSCSI targets, with the purpose of providing disks used b...

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/0614G06F3/0629G06F3/064G06F3/067
Inventor 白战豪
Owner SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products