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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


