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

Method and system for automatically recycling cluster cloud hard disk, terminal and storage medium

An automatic recycling and cloud hard disk technology, applied in the field of cloud platforms, can solve the problems of unable to delete cindervolume, unable to obtain pv list, cloud hard disk resource occupation, etc., to achieve the effect of reliable design principle, simple structure, and improved reliability.

Active Publication Date: 2021-03-12
INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF2 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] There is a problem with this method: obtaining the pv list through the k8s interface requires the cluster to be in a normal state. If the cluster state is abnormal, the pv list cannot be obtained through the k8s interface, and the cinder volume cannot be deleted.
When deleting a cluster, when the cluster is deleted but the volume cinder volume mounted on the cluster fails to be deleted, because the cluster has been deleted, it is difficult to see which cluster the cinder volume belongs to from the name of the cinder volume. It is also difficult for users to manually delete the cinder volume, which causes unreasonable occupation and waste of cloud hard disk resources

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 automatically recycling cluster cloud hard disk, terminal and storage medium
  • Method and system for automatically recycling cluster cloud hard disk, terminal and storage medium
  • Method and system for automatically recycling cluster cloud hard disk, terminal and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described The embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.

[0047] Key terms appearing in the present invention are explained below.

[0048] OpenStack: Open source cloud computing system

[0049] Cinder: OpenStack volume service

[0050] k8s / kubernetes: an open source container scheduling platform

[0051] csi: container storage interface, defines a common interface for containers to provide...

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 automatically recycling cluster cloud hard disks, a terminal and a storage medium. The method comprises the steps of setting a container volume information database; collecting first information and second information of the container volume in a container volume creation process, and storing the first information and the second information into the database in pairs; extracting target container volume first information from the received container volume deletion request; and searching matched second information from the database according to thefirst information of the target container volume, and deleting the container volume according to the matched second information. According to the invention, an original underlying storage resource cleaning mode is optimized, a user can select whether to delete the cloud hard disk or not according to actual production requirements, higher flexibility is provided, and when the user selects to deletethe cloud hard disk, two deletion mechanisms are adopted to ensure that the cloud hard disk needing to be deleted is correctly deleted, so that the waste of cloud hard disk resources is avoided.

Description

technical field [0001] The present invention relates to the technical field of cloud platforms, in particular to a method, system, terminal and storage medium for automatically recovering clustered cloud hard disks. Background technique [0002] OpenStack is a platform for building and managing private and public clouds using virtual resource pools. Kubernetes (k8s) is an open source container cluster management system. In K8s, all containers run in Pods. k8s can be deployed in virtual machines or cloud physical machines provided by openstack. In the openstack environment, the cloud hard disk service provided by cinder is generally connected to achieve persistent remote storage of data. The cinder-csi plug-in of k8s can create a cinder cloud hard disk by calling the openstack interface, and then mount the cinder cloud hard disk to a specific directory of the virtual machine where k8s is located and map it to the container process of the pod to realize the k8s pod in the op...

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/06G06F16/24
CPCG06F3/067G06F3/0665G06F3/0614G06F16/24
Inventor 贾淑佳
Owner INSPUR SUZHOU INTELLIGENT TECH CO LTD