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

Rapid Ceph deployment method and device, server and storage medium

A fast, installation and configuration technology, applied in the field of distributed databases, can solve the problems of technical difficulty and high cost of deployment, and achieve the effect of rapid automatic deployment

Inactive Publication Date: 2021-05-28
柏科数据技术(深圳)股份有限公司
View PDF11 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The embodiment of the present invention provides a method, device, server equipment, and storage medium for rapidly deploying Ceph to solve the technical problems of technical difficulty and high cost in the deployment of Ceph distributed storage systems in the prior art

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
  • Rapid Ceph deployment method and device, server and storage medium
  • Rapid Ceph deployment method and device, server and storage medium
  • Rapid Ceph deployment method and device, server and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0032] figure 1 It is a flow chart of the method for rapidly deploying Ceph provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation of rapidly and automatically deploying a Ceph distributed storage system. The method can be executed by a rapidly deploying Ceph device and can be integrated in a Ceph server , specifically include the following steps:

[0033] S110, perform podman container installation and configuration on the Slave node according to the preset configuration.

[0034] In this embodiment, corresponding nodes may be set in advance through the network. The network can be a master\slave network, and the master node is responsible for managing and controlling the slave nodes. In this embodiment, a node in a network may be preselected as the master node. Optionally, one of the nodes can be selected as the master node according to its computing performance and / or network performance, and the other nodes can be used as slave ...

Embodiment 2

[0055] figure 2 A schematic flow chart of the method for rapidly deploying Ceph provided for the second implementation of the present invention. This embodiment is optimized on the basis of the above embodiments. In this embodiment, the method can also add the following steps: when there is a change requirement in the cluster network configuration or the container storage persistent configuration, generate the configuration according to the change requirement , and use the ansible task to send deployment instructions to all Minion nodes.

[0056] Correspondingly, the method for rapidly deploying Ceph provided in this embodiment specifically includes:

[0057] S210, performing podman container installation and configuration on the Slave node according to the preset configuration.

[0058] S220. Distribute the container image required by the service to the corresponding Slave node according to the preset rules, so that the Slave node realizes the installation of the service a...

Embodiment 3

[0067] image 3 It is a schematic structural diagram of the rapid deployment Ceph device provided by Embodiment 3 of the present invention, such as image 3 As shown, the device includes:

[0068] Installing module 410, is used for carrying out podman container installation configuration to Slave node according to preset configuration;

[0069] The distribution module 420 distributes the container image required by the service to the corresponding Slave node according to preset rules, so that the Slave node realizes the installation of the service according to the container image, and the preset rule includes: according to each node The performance of the container determines the corresponding multiple identical or different services;

[0070] Judging module 430, configured to judge whether the Slave node is online according to the round robin rule;

[0071] The network configuration module 440 is used for utilizing the network configuration ansible task to carry out networ...

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 embodiment of the invention discloses a rapid Ceph deployment method and device, a server and a storage medium, and the method comprises the steps: distributing a container mirror image required by a service to a corresponding Slave node according to a preset rule, so as to enable the Slave node to achieve the installation of the service according to the container mirror image; judging whether the Slave node is online or not according to a round robin rule; carrying out network configuration on the online Slave node by utilizing an ansible task so as to enable the Slave node to provide a Ceph access interface; carrying out configuration management on a physical disk on a Slave node by utilizing an ansible task, and creating a mapping relation from the disk to a container according to a defined disk rule, so that the purpose of storage persistence of the container is achieved. The rapid and automatic deployment of the distributed storage system Ceph can be realized, and various defects of manual deployment are reduced.

Description

technical field [0001] The invention relates to the technical field of distributed databases, in particular to a method, device, server and storage medium for rapidly deploying Ceph. Background technique [0002] Ceph is a unified, distributed file system designed for excellent performance, reliability, and scalability. Ceph abandons the traditional centralized storage metadata addressing scheme, and adopts the CRUSH algorithm, with balanced data distribution and high parallelism. It also considers the isolation of disaster recovery domains, and can implement replica placement rules for various loads, such as cross-computer room, rack awareness, etc. It can support the scale of thousands of storage nodes and support TB to PB level data. [0003] At present, the Ceph distributed storage system is usually deployed by the system tool Ceph-Deploy. It needs to pre-generate a clean and complete environment on the host, and set the corresponding host file, and then install the Ce...

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/455G06F8/61G06F8/71G06F16/182H04L29/08
CPCG06F9/45558G06F8/63G06F8/71G06F16/182H04L67/025H04L67/1095H04L67/1097G06F2009/45562G06F2009/45595
Inventor 胡玉晟龚立义
Owner 柏科数据技术(深圳)股份有限公司