Ceph: Octopus Cephadm Orchestrator

3y ago
48 Views
2 Downloads
278.08 KB
12 Pages
Last View : 1d ago
Last Download : 3m ago
Upload by : Kaydence Vann
Transcription

Ceph: Octopus cephadm orchestratorTheofilos MouratidisTheofilos MouratidisCeph: Octopus cephadm orchestrator2020 Geneva, Switzerland22

Introduction Ceph Octopus: Newest release Deployed with cephadm / ceph-deploy deprecated Goes towards a container model (docker/podman)Cephadm: New tool to deploy clusters Simple to useCeph orch: New command to deploy a clusterTheofilos MouratidisCeph: Octopus cephadm orchestrator2020 Geneva, Switzerland33

Cephadm Can be either installed as a package or run as a script It bootstraps the cluster by creating a mon mgr duo And the result is two containers running on the main nodeTheofilos MouratidisCeph: Octopus cephadm orchestrator2020 Geneva, Switzerland44

Cephadm / Ceph orch: Mon In case the only mon exits, it can be restarted like this: And it creates a mon container, so the cluster can run again The standard way would be to use ceph orch An entire service can also be started/stopped/restarted e.g. ceph orch restart mdsTheofilos MouratidisCeph: Octopus cephadm orchestrator2020 Geneva, Switzerland55

Cephadm / Ceph orch: Mon Adding a new host requires two steps By adding the ceph.pub created on /etc/ceph to the new host ssh-copy-id -f -i ceph.pub root@ new-host ceph orch host add new-host To add a new mon: ceph orch apply mon bootstrap-host host1 host2 The above command does not add a host label, it must be done explicitly ceph orch host label add host mon to filter though ceph orch host ls Theofilos MouratidisCeph: Octopus cephadm orchestrator2020 Geneva, Switzerland66

Ceph orchestrator: versions It uses cephadm by default, can also use rook The tool used can be seen through ceph orch status A cluster now can be upgraded like this: ceph orch upgrade start --version 15.2.1ceph orch upgrade statusceph orch upgrade stopTheofilos MouratidisCeph: Octopus cephadm orchestrator2020 Geneva, Switzerland77

Ceph orchestrator: OSD Once the hosts are added, we can list the available devices Then we can add the available devices with: ceph orch apply osd --all-available-devices or ceph orch daemon add osd host : device path Or remove from the map and host with: ceph orch osd rm osd-id if the osd is marked as destroyedTheofilos MouratidisCeph: Octopus cephadm orchestrator2020 Geneva, Switzerland88

Ceph orchestrator: OSD We can also use “drivegroups.yml” to describe the devices drive group default:host pattern: '*'data devices:rotational: 1db devices:rotational: 0 ceph orch apply osd -i /path/to/drivegroups.ymlTheofilos MouratidisCeph: Octopus cephadm orchestrator2020 Geneva, Switzerland99

Ceph orchestrator: CephFS We can create a filesystem like this ceph fs volume create cephfs Immediately creates an MDS containerNow we can add more MDSes by adding more hosts ceph orch apply mds cephfs 3 host1 host2 host3 Theofilos MouratidisCeph: Octopus cephadm orchestrator2020 Geneva, Switzerland1010

Conclusions Cephadm and ceph orchestrator simplify the creation of aCEPH cluster Hosts now are programmatically managed with roles Easy to deploy new types of daemons (Theoretically) version upgrade is done automaticallyTheofilos MouratidisCeph: Octopus cephadm orchestrator2020 Geneva, Switzerland1111

Thanks!Theofilos MouratidisCeph: Octopus cephadm orchestrator2020 Geneva, Switzerland1212

Ceph orchestrator: OSD Once the hosts are added, we can list the available devices Then we can add the available devices with: ceph orch apply osd --all-available-devices or ceph orch daemon add osd : Or remove from the map and host with: ceph orch osd rm if the osd is marked as destroyed 88

Related Documents:

Ceph Storage Cluster. Ceph's monitoring and self-repair features minimize administration overhead. You can configure a Ceph Storage Cluster on non-identical hardware from different manufacturers. Ceph Storage for Oracle Linux Release 3.0 is based on the Ceph Community Luminous release (v12.2.5).

Ceph Manager: The Ceph Manager maintains detailed information about placement groups, process metadata and host metadata in lieu of the Ceph Monitor— s ignificantly improving performance at scale. The Ceph Manager handles execution of many of the read-only Ceph CLI queries, such as placement group statistics.

A Red Hat Ceph Storage cluster is the foundation for all Ceph deployments. After deploying a Red Hat Ceph Storage cluster, there are administrative operations for keeping a Red Hat Ceph Storage cluster healthy and performing optimally. The Red Hat Ceph Storage Administration Guide helps storage administrators to perform such tasks as:

SC19 Ceph BoF 2019.11.19 WHAT’S COMING IN CEPH OCTOPUS. 2 CEPH IS A UNIFIED STORAGE SYSTEM RGW S3 and Swift object storage LIBRADOS Low-level storage API RADOS Reliable, elastic, distributed storage layer with replication and erasure coding RBD Virtual block device CEPHFS Distributed network file system OBJECT BLOCK FILE. 3

Installation OCTOPUS 8TX-EEC Release 07 01/2021 2.3.3 Pin assignment OCTOPUS 8TX PoE-EEC 33 2.3.4 Pin assignment OCTOPUS 8TX-EEC-M 33 2.4 Operating the device 33 2.5 Connecting data cables 34 2.6 Configuration (optional) 35 2.6.1 Configuration readout 41 3 Making basic settings 42 3.1 First login (Password change) 43

Currently, Ceph can be configured to use one of these storage backends freely. Due to Ceph’s popularity in the cloud computing environ-ment, several research efforts have been made to find optimal Ceph configurations under a given Ceph cluster setting [4], [5] or to tune its performance for fast storage like SSD (Solid-State Drive) [6].

Ceph and MySQL represent highly complementary technologies, providing: Strong synergies . MySQL, OpenStack, and Ceph are often chosen to work together. Ceph is the leading open source software-defined storage solution. MySQL is the leading open source rela-tional database management system (RDBMS). 1 Moreover, Ceph is the number-one block .

Etika, Ligji dhe Performanca në Administratën tonë Publike E. Saliaga 5 “Statusi i Nënpunësit Civil”, Ligj Nr. 8549, datë 11.11.1999, Republika e Shqipërisë.