Should /etc/ceph/ceph.conf be edited manually on Ceph nodes when a Monitor daemon is deployed or removed?

Solution Verified - Updated -

Issue

  • The mon_host parameter in the Ceph configuration file /etc/ceph/ceph.conf lists entries of existing Monitor (MON) nodes.

    [user@mgmt ~]$ sudo cephadm shell
    [ceph: root@mgmt /]# cat /etc/ceph/ceph.conf
    # minimal ceph.conf for a722c732-0c4a-4e72-925b-17832de820b7
    [global]
        fsid = a722c732-0c4a-4e72-925b-17832de820b7
        mon_host = [v2:198.51.100.21:3300/0,v1:198.51.100.21:6789/0] [v2:198.51.100.23:3300/0,v1:198.51.100.23:6789/0] [v2:198.51.100.27:3300/0,v1:198.51.100.27:6789/0]
    [mon.mons-0]
    public network = 192.0.2.0/24
    
  • What happens to the mon_host entries when a MON daemon is deployed or removed?

Environment

  • Red Hat Ceph Storage 5.3
  • Red Hat Enterprise Linux (RHEL) 8

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content