Book Image

Learning Ceph - Second Edition

By : Karan Singh, Vaibhav Bhembre, Anthony D'Atri
Book Image

Learning Ceph - Second Edition

By: Karan Singh, Vaibhav Bhembre, Anthony D'Atri

Overview of this book

Learning Ceph, Second Edition will give you all the skills you need to plan, deploy, and effectively manage your Ceph cluster. You will begin with the first module, where you will be introduced to Ceph use cases, its architecture, and core projects. In the next module, you will learn to set up a test cluster, using Ceph clusters and hardware selection. After you have learned to use Ceph clusters, the next module will teach you how to monitor cluster health, improve performance, and troubleshoot any issues that arise. In the last module, you will learn to integrate Ceph with other tools such as OpenStack, Glance, Manila, Swift, and Cinder. By the end of the book you will have learned to use Ceph effectively for your data storage requirements.
Table of Contents (18 chapters)
Title Page
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface

Configuration


Ceph's behavior is highly configurable and tunable via settings, which allow us to control Ceph's behavior and performance. Chapter 7, Monitoring Ceph, and Chapter 11, Performance and Stability Tuning, will explore a number of these, but in this chapter we'll discuss methods of showing and changing these values.

Ceph daemons and clients at startup read /etc/ceph/ceph.conf to load configuration settings and other cluster information for the cluster named ceph. There are hundreds of values that can be set, but fortunately we mostly need to concern ourselves with only a much smaller subset.

Cluster naming and configuration

The startup configuration file defines values that Ceph components need to start up and find each other. Many Ceph admins think of the file as always being named /etc/ceph/ceph.conf, but other names are possible. The directory /etc/ceph is the default location, but the filename's base is actually the name of a given cluster, which itself defaults to Ceph. Many...