Crush creation method and system for deploying Ceph based on Rook

A version and node technology, applied in the field of cloud computing, can solve the problems that cannot meet the needs of different types of storage media, and achieve the effect of improving the efficiency of implementation personnel and improving deployment efficiency

Pending Publication Date: 2020-10-30
SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD
View PDF0 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The present invention mainly provides a method and system for creating Crush based on Rook deploying Ceph, which mainly solves the problem that the existing Rook depl

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
  • Crush creation method and system for deploying Ceph based on Rook
  • Crush creation method and system for deploying Ceph based on Rook
  • Crush creation method and system for deploying Ceph based on Rook

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0045] A method for creating Crush based on Rook deploying Ceph, the specific steps of the method are as follows:

[0046] S1 detects the Ceph version and deploys the Ceph cluster component service;

[0047] S2 deployment adds OSD nodes;

[0048] S3 uses CrushRoot to set task execution;

[0049] S4 executes the Crush Rules task, which is created according to the CrushRoot fault domain level of the Ceph cluster;

[0050] S5 executes the CephBlockPool custom resource, and creates a Pool according to the selected Ceph Crush Rule and pg number;

[0051] The present invention is a method for creating Crush based on Rook deploying Ceph; by extending the CephCluster and CephCrush custom resource classes, the hierarchical configuration definition of Crush_Root and the definition of Crush Rules are added. The main implementation process is as follows:

[0052]Rook uses Operator to deploy Ceph cluster to create Crush Root and Crush Rules process. First, check the Ceph version accord...

Embodiment 2

[0065] A Crush creation system based on Rook deploying Ceph is characterized in that the system specifically includes a component deployment module, a node addition module, a task execution module, a domain-level creation module and an execution creation module:

[0066] Component deployment module: detect Ceph version and deploy Ceph cluster component services;

[0067] Node addition module: deploy and add OSD nodes;

[0068] Task execution module: use CrushRoot to set task execution;

[0069] Domain-level creation module: Execute the Crush Rules task and create it according to the CrushRoot fault domain level of the Ceph cluster;

[0070] Execute the creation module: execute the CephBlockPool custom resource, and create the Pool according to the selected Ceph Crush Rule and pg number;

[0071] The present invention is a method for creating Crush based on Rook deploying Ceph; by extending the CephCluster and CephCrush custom resource classes, the hierarchical configuration ...

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 Crush creation method and system for deploying Ceph based on Rook, and belongs to the technical field of cloud computing. The method comprises the following specific steps: S1, detecting a Ceph version, and deploying a Ceph cluster component service; S2, deploying and adding OSD nodes; S3, setting task execution by utilizing CrushRoot; S4, executing a Crush Rules task, and carrying out the creation according to the Crush Root fault domain level of the Ceph cluster; S5, executing the CepBlock Pool user-defined resource, and creating Pool according to the selected CephCrush Rule and the number of pg. According to the method and the device, the Crush Root and the Crush Rules are automatically created after the Ceph cluster is deployed by the Rook; the defect that the Crush Root and the Crush Rules cannot be automatically created after the Ceph cluster is quickly deployed by the Rook is overcome; the requirement that the Ceph cluster performs resource division ondifferent storage type nodes in an actual use scene is met; the deployment efficiency is improved through automatic creation, the efficiency of implementation personnel is improved, and the risk thaterrors are prone to occurring due to manual intervention is avoided.

Description

technical field [0001] The invention discloses a method and system for creating Crush based on Rook deploying Ceph, and relates to the technical field of cloud computing. Background technique [0002] Rook is an open source distributed storage orchestration system in a cloud-native environment; it can transform distributed storage software into a self-managing, self-scaling and self-healing storage service. It does so by automating deployment, bootstrapping, configuration, provisioning, scaling, upgrades, migrations, disaster recovery, monitoring and resource management. Rook uses the functions provided by the basic cloud-native container management, scheduling and orchestration platform to achieve rapid deployment and self-recovery capabilities; Rook is an orchestration application system based on Kubernetes. [0003] Kubernetes is an open source container orchestration engine for automated deployment, scaling, and management of containerized applications. [0004] Ceph d...

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
IPC IPC(8): G06F8/60G06F8/65G06F8/71
CPCG06F8/60G06F8/65G06F8/71
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