## # Sample ceph ceph.conf file. ## # This file used to define cluster membership and the various locations # that Ceph stores data, logs, and configuration. With the introduction # of central configuration ("ceph config") in the Mimic release the role of # a node-local ceph.conf file has diminished. While it still works to # maintain a full constellation of non-default Ceph settings ("options") in # this file, most deployments are better served by a minimal local file that # mostly tells the daemon or client how to connect to the mon quorum. # # Accordingly this file has been minimized to reflect the new best practice. # Many entries as of early 2025 had become obsolete or inaccurate. ## Metavariables # $cluster ; Expands to the Ceph Storage Cluster name. Useful # ; when running multiple Ceph Storage Clusters # ; on the same hardware. # ; Example: /etc/ceph/$cluster.keyring # ; (Default: ceph) # # $type ; Expands to one of mds, osd, or mon, depending on # ; the type of the instant daemon. # ; Example: /var/lib/ceph/$type # # $id ; Expands to the daemon identifier. For osd.0, this # ; would be 0; for mds.a, it would be a. # ; Example: /var/lib/ceph/$type/$cluster-$id # # $host ; Expands to the host name of the daemon instance. # # $name ; Expands to $type.$id. # ; Example: /var/run/ceph/$cluster-$name.asok [global] ### http://docs.ceph.com/en/latest/rados/configuration/general-config-ref/ ;fsid = {UUID} # use `uuidgen` to generate your own UUID ;public network = 192.168.0.0/24 ;cluster network = 192.168.0.0/24 ### http://docs.ceph.com/en/latest/rados/operations/ ### http://docs.ceph.com/en/latest/rados/configuration/auth-config-ref/ ### http://docs.ceph.com/en/latest/rados/configuration/pool-pg-config-ref/ ### http://docs.ceph.com/en/latest/rados/troubleshooting/log-and-debug/ ### http://docs.ceph.com/en/latest/rados/configuration/ms-ref/ [mon] ### http://docs.ceph.com/en/latest/rados/configuration/mon-config-ref/ ### http://docs.ceph.com/en/latest/rados/configuration/mon-osd-interaction/ # The IDs of initial monitors in a cluster during startup. # If specified, Ceph requires more than half to be available # in order to form an initial quorum ;mon initial members = mycephhost ;mon host = cephhost01,cephhost02 ;mon addr = 192.168.0.101,192.168.0.102 ### http://docs.ceph.com/en/latest/rados/troubleshooting/log-and-debug/ [mds] ### http://docs.ceph.com/en/latest/cephfs/mds-config-ref/ [osd] ### http://docs.ceph.com/en/latest/rados/configuration/osd-config-ref/ ### http://docs.ceph.com/en/latest/rados/configuration/filestore-config-ref/#misc [client] ### http://docs.ceph.com/en/latest/rbd/rbd-config-ref/ [client.radosgw.gateway] ### http://docs.ceph.com/en/latest/radosgw/config-ref/