O'Reilly logo

Learning Ceph - Second Edition by Karan Singh, Vaibhav Bhembre, Anthony D'Atri

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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] ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required