Skip to Main Content
Ceph: Designing and Implementing Scalable Storage Systems
book

Ceph: Designing and Implementing Scalable Storage Systems

by Michael Hackett, Vikhyat Umrao, Karan Singh, Nick Fisk
January 2019
Intermediate to advanced content levelIntermediate to advanced
606 pages
15h 1m
English
Packt Publishing
Content preview from Ceph: Designing and Implementing Scalable Storage Systems

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.

    # 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]
    admin socket = /var/run/ceph/$cluster-$type.$id.$pid.$cctid.asok
    log file = /var/log/ceph/qemu-guest-$pid.log
    
    [osd]
    osd mkfs ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

OpenStack for Architects - Second Edition

OpenStack for Architects - Second Edition

Ben Silverman, Michael Solberg
Kubernetes Patterns

Kubernetes Patterns

Bilgin Ibryam, Roland Huß
Kubernetes Best Practices

Kubernetes Best Practices

Brendan Burns, Eddie Villalba, Dave Strebel, Lachlan Evenson
Kubernetes Cookbook

Kubernetes Cookbook

Sébastien Goasguen, Michael Hausenblas

Publisher Resources

ISBN: 9781788295413