Skip to main content
RunBook Academy

CephX · Manager DaemonsManager Daemons

The manager daemon — what it does and what it does not

Foundation⏱ ~14 minceph

What you'll learn

  • State the manager responsibilities and its position outside the data path
  • Describe active and standby manager behaviour
  • Predict cluster behaviour when no manager is running
  • Size and place managers appropriately

Prerequisites

None — start here.

Verified against Ceph Tentacle 20.2.x · Ceph Squid 19.2.x (supported previous) · cephadm matches the verified Ceph release · podman 4.x · csi-rbd and csi-cephfs current · RBD / CephFS / RGW current (matches Ceph release) · Linux kernel 5.15+ (5.10 minimum) · Ubuntu 24.04 LTS (Ceph host baseline) · Debian 12 (Bookworm) (Ceph host baseline) · Rocky Linux / RHEL / AlmaLinux 9.x (Ceph host baseline) · Proxmox VE 9.x (cross-course integration) · Kubernetes 1.31+ (cross-course integration) · 2026-08-18

Not yet marked complete on this device.

Why this matters in production

The manager is the daemon most likely to be misread during an incident, because its failure produces alarming symptoms — no status, no dashboard, no metrics — while affecting no client at all.

What the manager does

  • Collects and exposes metrics. OSD, pool, and PG statistics, and the Prometheus endpoint.
  • Runs modules. Dashboard, balancer, orchestrator, telemetry, alerts, device health, and more.
  • Serves the rich parts of ceph status. Capacity, I/O rates, and PG summaries come from the manager.
  • Provides orchestration. ceph orch is the orchestrator module, which is a manager module.

What it does not do

  • It holds no cluster map authority; monitors do.
  • It is not consulted for any read or write.
  • It performs no recovery and no placement.
  • It stores no data.
flowchart LR
  M[Monitors: authoritative map] --> G[Manager: reads state, runs modules]
  G --> D[Dashboard]
  G --> P[Prometheus endpoint]
  G --> O[Orchestrator cephadm]
  C[Clients] -.->|"never talks to MGR"| G
  C --> OS[OSDs]

Active and standby

Managers run active/standby. One is active; the others hold modules loaded but idle and take over if the active fails.

ceph mgr stat
ceph mgr dump | jq '.active_name, .standbys[].name'
ceph orch apply mgr --placement="2 ceph-01 ceph-02"
ceph mgr fail                     # force failover to a standby

Failover takes seconds. In-flight dashboard sessions reconnect; Prometheus scrapes may miss a point. Nothing else notices.

Two managers is the standard. More than two adds little, since only one is active and the second already provides failover.

Placement

Managers are lightweight on small clusters and can sit alongside monitors. On large clusters they deserve their own resources.

Place the two managers in different failure domains, for the same reason as monitors: a rack failure that takes both leaves the cluster blind at precisely the moment visibility matters most.

ceph orch ps --daemon-type mgr

Check that the two are not on the same host — the same silent drift that affects monitors affects managers.

Quiz

Knowledge check · 4 questions

  1. Q1. The only manager in a cluster fails. What is the most important operational consequence?

  2. Q2. Gaps in Grafana dashboards for a Ceph cluster always indicate a problem with the cluster itself.

  3. Q3. A 600-OSD cluster has ceph status taking 20 seconds and Prometheus scrapes timing out. Cluster health is otherwise OK. Diagnose and remedy.

    600 OSDs, roughly 32,000 PGs. Two managers colocated with monitors on hosts that also run 20 OSDs each. The active manager process uses 9 GB RSS and one core saturated. Prometheus scrape interval is 15 seconds; scrapes take 40 seconds and time out. Grafana shows intermittent gaps. All modules are enabled including telemetry and several rarely-used ones.

  4. Q4. Explain why manager availability should be alerted on from outside the manager metrics path.

Passing score: 75%. Answers are checked in this browser.

Production discipline

Run two managers in different failure domains and verify they are not on the same host, since the same silent placement drift that affects monitors affects managers. Alert on manager availability from outside the manager’s own metrics path, because otherwise its failure silences the alert that would report it. And on large clusters, check scrape duration against scrape interval before treating a dashboard gap as evidence about the cluster.

Cross-course references

  • Ceph: Part LXXV (Prometheus Metrics) for the endpoint in detail.
  • Ceph: Part LXXVIII (Monitoring the Monitoring Path) for the circularity problem.
  • Ceph: Part X lesson on failover for the active/standby mechanics.