What you will learn

  • You will understand the architecture of Ceph clusters
  • You will be familiar with concepts such as Placement Group, RADOS object, CRUSH map and rules
  • You will learn how communication between clients and the cluster works
  • You will install a Ceph cluster (cephadm)
  • You will create and configure data pools
  • You will learn the basic principles of implementing and using all three types of storage (block, file, object)
  • You will integrate your Ceph cluster with Openstack and run your own VMs

Level

Intermediate

Duration

28 hours (4 days)

Prerequisites

It is recommended that participants have practical experience in working with Linux systems (systemd, bash, LVM, iptables). Basic knowledge of Ansible and Docker will also be useful during the training.

Training plan

  1. Ceph storage introduction
    • A short introduction to the history of Ceph, its features and capabilities.
  2. Ceph cluster architecture
    • Core components, concepts, network communication, data storage (RADOS, MONs, MGRs, OSDs, BlueStore, Metadata Servers, RGWs, Placement Groups, Pools, I/Os).
  3. Cluster installation
    • Deployment methods overview, bootstrapping with cephadm, OSD deployment scenarios.
  4. Cluster configuration management
    • Persistent and runtime configuration management, cluster authorization (cephx), network configuration.
  5. Data distribution and security
    • Failure domains, CRUSH maps and rules, replicated and erasure-coded pools, pool namespaces, pool operations, placement group distribution, PG upmap, PG Autoscaler configuration.
  6. Cluster administration and monitoring
    • Global cluster flags, OSD lifecycle (adding, removing, replacing disks), cluster maintenance, OSD and placement group states, capacity monitoring.
  7. Block storage with RADOS block devices
    • RBD overview, image features, accessing and managing devices, managing RBD snapshots and clones, image import and export, RBD internals, RBD mirroring.
  8. Ceph Object Storage service
    • Intro to Object Storage, RADOS Gateway, RGW pools, RGW deployment, configuration options, Server Side Encryption (SSE-C), S3 API features (bucket policies, versioning, tagging, ACLs, multipart uploads, bucket lifecycle). User and quota management.
  9. CephFS file storage
    • CephFS architecture, MDS ranks and HA, service deployment, mounting shares in kernel and user space, FS snapshots, FS attributes, authorization and quota management.
  10. OpenStack integration
    • Short intro to OpenStack, OpenStack from Storage perspective. Integrating OpenStack with external Ceph cluster (block storage).
  11. Troubleshooting
    • Common cluster and client issues, debugging, slow requests analysis, full ratios, recovery control and more.
  12. Use cases, best practices and cluster capacity planning
  13. Cluster upgrade (optional).
  14. Summary