Skip to content

Phase 4 - Intégration Ceph

Objectif

Déployer un cluster Ceph et l'intégrer comme backend de stockage pour OpenStack (Cinder, Glance, Nova).

Architecture C4 - Niveau 3 (Component)

graph TB
    subgraph Ceph["Ceph Cluster (Squid 19.x)"]
        subgraph MONs["Monitors"]
            mon1["MON 1<br/>controller-1"]
            mon2["MON 2<br/>controller-2"]
            mon3["MON 3<br/>controller-3"]
            mon1 <-->|Paxos| mon2
            mon2 <-->|Paxos| mon3
        end

        subgraph MGRs["Managers"]
            mgr1["MGR Active<br/>controller-1"]
            mgr2["MGR Standby<br/>controller-2"]
        end

        subgraph OSDs["Object Storage Daemons"]
            osd1["OSD.0<br/>controller-1:/dev/vdb<br/>200GB"]
            osd2["OSD.1<br/>controller-2:/dev/vdb<br/>200GB"]
            osd3["OSD.2<br/>controller-3:/dev/vdb<br/>200GB"]
        end

        osd1 -->|Report| mon1
    end

    subgraph OpenStack["OpenStack Services"]
        cinder["Cinder<br/>Pool: volumes"]
        glance["Glance<br/>Pool: images"]
        nova["Nova<br/>Pool: vms"]
    end

    cinder -->|RBD librados| osd1
    cinder -->|RBD| osd2
    cinder -->|RBD| osd3
    glance -->|RBD| osd1
    nova -->|RBD| osd1

Sujets de cette phase

# Sujet Description Durée estimée
01 Architecture Ceph RADOS, MON, OSD, MGR, pools 2-3 heures
02 Déploiement cephadm Bootstrap, ajout hosts 3-4 heures
03 Pools et CRUSHmap Règles de placement 2-3 heures
04 Intégration Cinder Backend RBD volumes 2-3 heures
05 Intégration Glance Stockage images 1-2 heures
06 Nova ephemeral Disques éphémères RBD 1-2 heures
07 Maintenance Ceph Monitoring, recovery 2-3 heures

Version ciblée

  • Ceph Squid (19.x) : Dernière version stable
  • Compatible avec OpenStack 2025.2

Checkpoint de validation

  • Cluster Ceph déployé avec 3 MON et 3 OSD
  • Pools créés (volumes, images, vms)
  • Cinder fonctionne avec backend Ceph
  • Glance stocke les images sur Ceph
  • Création de volume et attachement à VM fonctionnel