When does an election happen for a Ceph monitor?

Solution Verified - Updated

Environment

  • Red Hat Ceph Storage 1.2.3

  • Red Hat Ceph Storage 1.3

Issue

  • When does an election happen for a Ceph monitor?

  • Does a monitor election happen in a healthy Ceph cluster?

Resolution

  • A monitor election will happen any time a change in the monmap (monitor map) happens.

  • Network connectivity, latency, and clock synchronization problems are some of the causes.

  • If a monitor is in-accessible and is marked down, a change is needed in the monitor map. This can trigger a monitor election.

Root Cause

  • Monitor elections can happen when there is a change in the monitor states in a Ceph cluster, for example, one of the monitor going down.
SBR
Category
Tags

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.