Method and system for calling of CSI LVM Plugin and dynamic persistent volume supply and medium

A persistent, plug-in technology, applied in the computer field, which can solve the problems of low efficiency, limited support, time-consuming and labor-intensive

Pending Publication Date: 2021-10-15
WUXI CHINAC DATA TECH SERVICE
View PDF4 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Kubernetes is an open-source container scheduling platform across host clusters. It can automate the deployment, expansion and operation of application containers and provide a container-centric infrastructure. The Kubernetes platform provides a variety of storage volume management modes, including persistent storage , temporary storage, dynamic storage, static storage, different storage types provide different capabilities; SAN is a widely used enterprise-level stable product, kubernetes can provide support, but due to the variety of SAN storage products, native kubernetes can only do basic access function, which requires SAN storage vendors to provide their own CSI storage plug-ins. Usually, a new generation of SAN storage devices will provide dedicated CSI storage plug-ins, and the SAN storage that enterprises have purchased and are still using in the past often supports limited In addition, the container platform in Kubernetes is a combination of one or more containers. In the existing technology, if local persistent volumes are to be provided for the container platform for storage, it usually needs to be manually configured, which is time-consuming, laborious, and efficient. Low; in view of the above defects, how to adopt a unified method to integrate with the kubernetes platform for SAN storage products in different historical periods, and at the same time dynamically provide local persistent volumes for the container platform of the kubernetes platform has become a technical problem that needs to be solved urgently

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
  • Method and system for calling of CSI LVM Plugin and dynamic persistent volume supply and medium
  • Method and system for calling of CSI LVM Plugin and dynamic persistent volume supply and medium
  • Method and system for calling of CSI LVM Plugin and dynamic persistent volume supply and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0047] ginseng figure 1 As shown, this embodiment discloses a specific implementation manner of a method for invoking a CSI LVM Plugin in a kubernetes cluster (hereinafter referred to as "method").

[0048] ginseng figure 1 As shown, in this embodiment, the method includes the following steps A1 to A3. In this embodiment, the CSI LVM Plugin plug-in is registered in the kubernetes cluster, and the CSI LVM Plugin plug-in includes a controllerserver component and a node server component, and is passed The persistent volume dynamically generated by the CSI LVM Plugin plug-in, and at the same time call Create Volume through the node server component to create a logical volume based on the volume group, laying the foundation for the CSI local dynamic persistent volume supply of the container platform.

[0049] Step A1, register the CSI LVM Plugin plug-in in the kubernetes cluster through the Identity interface, so that the caller can identify the function of the CSI LVM Plug-in plu...

Embodiment 2

[0055] ginseng figure 2 As shown, this embodiment discloses a specific implementation manner of a method for provisioning a local dynamic persistent volume of a container platform CSI (hereinafter referred to as "method").

[0056] ginseng figure 2 As shown, in this embodiment, the method includes the following steps S1 to S7. In this embodiment, based on the SAN storage device, on the basis of planning the SAN storage resource allocation strategy, through the CSI LVM Plugin plug-in and LVM was created to dynamically provision local persistent volumes for the container platform of the kubernetes cluster.

[0057] Step S1, dividing the SAN storage device into several LUN storage devices. Specifically, the SAN storage device is one of FC-SAN and iSCSI-SAN; FC-SAN adopts Fiber Channel (FC for short) technology, and FC-SAN is connected to the LUN storage device through an optical fiber HBA card; iSCSI- SAN, also called IP-SAN, uses Ethernet (TCP / IP protocol) to connect with L...

Embodiment 3

[0066] ginseng image 3 , Figure 4 As shown, this embodiment also discloses a specific implementation manner of a system for locally dynamically provisioning persistent volumes (hereinafter referred to as "the system") on a container platform CSI.

[0067] ginseng image 3 , Figure 4 As shown, in this embodiment, the system includes: SAN storage devices, several LUN storage devices, several physical machine nodes, kubernetes clusters, several Pods, and CSI LVM Plugin plug-ins; several of the LUN storage devices are connected through optical fiber HBA cards or Ethernet Connect the SAN storage device, one said LUN storage device is mapped to several physical machine nodes; several physical machine nodes deploy kubernetes cluster, said kubernetes cluster includes several Pods, said CSI LVM Plugin plug-in is registered in kubernetes; said CSI LVM Plugin plug-in It includes a controller server component and a nodeserver component; the controller server component configures a C...

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 method and system for calling of a CSI LVM Plugin and dynamic persistent volume supply and a medium. The method comprises the steps: dividing SAN storage equipment into a plurality of LUN storage equipment; mapping one LUN storage device to a plurality of physical machine nodes; creating a volume group at the physical machine node; deploying a kubernetes cluster at a plurality of physical machine nodes, wherein the kubernetes cluster comprises a plurality of Pods; registering a CSI LVM Plugin is registered in the kubernetes cluster; enabling the kubernetes PVC to apply to create a persistent volume, and enabling the node server component to call the Create Volume to create a logical volume on the basis of a volume group; configuring a CSI LVM provider module in the controller server component, mapping the logical volume to the persistent volume through the CSI LVM provider module, and mounting the logical volume to the Pod, so that the local persistent volume is dynamically supplied to the Pod, the logical volume comes from the same volume group, and meanwhile, the sharing of the volume group is also realized.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method, system and medium for invoking a CSI LVM Plugin plug-in and dynamic persistent volume supply. Background technique [0002] A Storage Area Network (SAN for short) connects storage arrays and server hosts to establish an area network dedicated to data storage. SAN itself is a storage network that undertakes the task of data storage. The SAN network is isolated from the LAN service network, and the storage data flow will not occupy the service network bandwidth. SAN makes more full use of storage space and more effective installation and management. In addition, the SAN storage architecture realizes direct block-level storage access to physical hardware, which improves storage performance and upgradeability. [0003] Kubernetes is an open-source container scheduling platform across host clusters. It can automate the deployment, expansion and operation of application co...

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): G06F9/448G06F3/06G06F11/07
CPCG06F9/4482G06F3/0665G06F3/067G06F11/0727
Inventor 李瑞友朱正东
Owner WUXI CHINAC DATA TECH SERVICE
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