The Ceph configuration file

Ceph's config files comprise multiple sections, one global and one for each core Ceph component daemon. A few entries are mandatory; many are optional. Each section begins with a bracketed name, a convention that is often called the INI format, after its widespread use in MS-DOS. Let's go through these sections with some examples of their contents. We'll start with the ceph.conf file from the sandbox cluster we explored in Chapter 5, Deploying a Virtual Sandbox Cluster.

    # cat /etc/ceph/ceph.conf
    [global]
    fsid = 5591400a-6868-447f-be89-thx1138656b6
    max open files = 131072
    mon initial members = ceph-mon0
    mon host = 192.168.42.10
    public network = 192.168.42.0/24
    cluster network = 192.168.43.0/24
    
    [client.libvirt] ...

Get Learning Ceph - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.