method and system for storing snapshots in combination with Kubernetes and Ceph

A snapshot, record keeping technology

Active Publication Date: 2019-05-31
SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD
View PDF5 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical task of the present invention is to provide a method and system that combines Kubernetes and Ceph storage snapshots to solve how to make snapshots for data stored in Ceph in Kubernetes, so that rollback can be achieved when dirty data problems occur or when data is damaged The problem that can be restored based on the snapshot

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 storing snapshots in combination with Kubernetes and Ceph
  • method and system for storing snapshots in combination with Kubernetes and Ceph
  • method and system for storing snapshots in combination with Kubernetes and Ceph

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0063] as attached figure 1 As shown, the present invention combines Kubernetes and Ceph to store the method for snapshot, and the method steps are as follows:

[0064] S1. Define a group of snapshot interfaces. The snapshot interface includes creating a snapshot interface, deleting a snapshot interface, restoring a snapshot interface, describing a snapshot interface, and finding a snapshot interface; among them, creating a snapshot interface, deleting a snapshot interface, restoring a snapshot interface, and describing a snapshot interface And find the snapshot interface to make a mirror through the compiled binary file, and deploy it together with the Kubernetes cluster.

[0065] S2, defining a VolumeSnapshot (snapshot class) of a user-defined resource type as an extension of an existing resource type in Kubernetes;

[0066] S3, create a VolumeSnapshot resource description file, specify the PVC (persistent volume statement) that needs a snapshot in the description file, the...

Embodiment 2

[0090] The system combining Kubernetes and Ceph storage snapshots of the present invention, the system includes,

[0091] The Kubernetes cluster is used to receive requests for creating snapshots, restoring snapshots, deleting snapshots, describing snapshots, and searching for snapshots, and calling corresponding interfaces to respond;

[0092] The snapshot interface definition module is used to define the snapshot interface, and the snapshot interface includes creating a snapshot interface, deleting a snapshot interface, restoring a snapshot interface, describing a snapshot interface and finding a snapshot interface. Among them, the search snapshot interface and describe snapshot interface are used to operate through Kubernetes commands. The process information of creating snapshots, restoring snapshots, and deleting snapshots has been saved in Kubernetes. You can query and create snapshots from Kubernetes by searching for snapshot interfaces and describing snapshot interfaces...

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 method and a system for storing snapshots in combination with Kubernetes and Ceph. The method belongs to a data snapshot storage technology. The technical problem to be solved by the invention is how to perform snapshot on data stored in Ceph in Kubernetes, so that rollback can be realized when the data is dirty or snapshot recovery can be realized when the data is damaged, and the technical scheme comprises the following steps: S1, defining a group of snapshot interfaces; S2, defining the VolmeSnapshot of the resource type self-defined by the user as the extension ofthe existing resource type of the Kubernetes; S3, creating a VolmeSnapshot resource description file, appointing PVC (Polyvinyl Chloride) needing snapshot in the description file, and initiating a creation request, wherein the type of the PVC is VolmeSnapshot; And S4, when the Kubernetes receives the snapshot creation request, responding through the snapshot creation interface defined in the stepS1. The invention also discloses a system for storing snapshots in combination with Kubernetes and Ceph.

Description

technical field [0001] The invention relates to the technical field of data snapshot storage, in particular to a method and system for storing snapshots in combination with Kubernetes and Ceph. Background technique [0002] With the increasing application of container technology in public cloud, private cloud, hybrid cloud and other fields, users have higher requirements for data security and disaster recovery in the cloud. The latest container technology has been widely used in the field of cloud computing due to its excellent performance and ease of use. At present, Kubernetes (referred to as K8s, is an abbreviation formed by using 8 instead of 8 characters "ubernete"). It is an open source, used to manage containerized applications on multiple hosts in the cloud platform. The goal of Kubernetes is to make deployment containerized The application is simple and efficient (powerful), Kubernetes provides a mechanism for application deployment, planning, updating, and mainten...

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): G06F16/11G06F16/182G06F11/14
Inventor 张勇石光银高传集
Owner SHANDONG LANGCHAO YUNTOU INFORMATION 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