Skip to main content
RunBook Academy

← All runbooks in Ceph

medium riskservice affecting~20 min

Recover a failed MGR daemon

1 · Prerequisites

Confirm every item is in place before any state change.

  • The active MGR daemon is lost
  • A standby MGR should take over within seconds

2 · Pre-checks

Read-only diagnostic commands. If any of these don't match expected output, stop and investigate further.

  • · ceph -s reports the MGR state
  • · ceph mgr stat lists active and standbys
  • · The host is reachable
  • · Time and DNS are healthy

3 · Procedure

Execute each step in order. Verify the expected output of a step before moving to the next.

  1. 1Wait for the standby to take over (typically < 30s)
  2. 2If no standby: ceph orch daemon add mgr <host>
  3. 3Verify the new MGR is active: ceph mgr stat
  4. 4Re-enable the modules the failed MGR had: ceph mgr module enable <module>
  5. 5Verify the modules are reporting: ceph mgr module ls

4 · Verification

Confirm the procedure actually fixed the problem.

  • ceph -s reports a healthy active MGR
  • Modules are enabled and reporting
  • Dashboard is reachable
  • Cluster is HEALTH_OK

5 · Rollback

If verification fails, undo the procedure in reverse order.

  • If a standby does not take over: check the host, time, network
  • If modules fail to enable: verify the module name and the MGRs container

6 · Escalation

When the runbook isn't enough, contact:

  • · Storage team
  • · Vendor support for module issues

Recover a failed MGR daemon

This runbook covers Recover a failed MGR daemon on a Ceph Tentacle cluster.

When to use

  • Active production scenario matching the impact (service-affecting)
  • The prerequisites are met

Prerequisites

Before starting this runbook, verify each prerequisite has been met. If a prerequisite is not met, resolve it first or escalate.

  • The active MGR daemon is lost
  • A standby MGR should take over within seconds

Pre-checks

Collect evidence before taking action. Evidence is the proof the runbook worked.

# ceph -s reports the MGR state
# ceph mgr stat lists active and standbys
# The host is reachable
# Time and DNS are healthy

Procedure

Step 1

Wait for the standby to take over (typically < 30s)

Step 2

If no standby: ceph orch daemon add mgr <host>

Step 3

Verify the new MGR is active: ceph mgr stat

Step 4

Re-enable the modules the failed MGR had: ceph mgr module enable <module>

Step 5

Verify the modules are reporting: ceph mgr module ls

Verification

After completing the procedure, verify the result:

# ceph -s reports a healthy active MGR
# Modules are enabled and reporting
# Dashboard is reachable
# Cluster is HEALTH_OK

Rollback

If the procedure does not produce the expected verification, roll back:

  • If a standby does not take over: check the host, time, network
  • If modules fail to enable: verify the module name and the MGRs container

Escalation

If you cannot roll back or the rollback fails, escalate:

  • Storage team
  • Vendor support for module issues

References

  1. Ceph documentation