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

Bootstrapping our Ceph cluster


The first step is to download the latest copy of ceph-ansible on to your machine. It is important to note that all changes we will make to bootstrap a Ceph cluster will be made from within a dedicated directory so use  cd  to move to the appropriate location before downloading. The following command will download ceph-ansible within a new directory called ceph-ansible in your current directory:

$ git clone https://github.com/ceph/ceph-ansible.git ceph-ansible 

If you want your directory name to be something other than ceph-ansible change the text of the last field in the above command. As all future changes and commands will be performed from within this directory we need to cd into it:

$ cd ceph-ansible

Now we are in the ceph-ansible directory. This directory holds the code for all Ansible playbooks that will be used to configure and install Ceph. The Ceph community is actively doing development on this repository so the very latest state may be unstable or incorporate...