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

Common tasks


In this section we cover procedures for a number of common tasks that Ceph admins execute as needed. These include managing flags and services, dealing with component failures, cluster expansion, and balancing OSD utilization. We'll also touch on upgrades between Ceph releases.

Installation

In the previous chapter we built a full-fledged, operational Ceph cluster using virtualization and ceph-ansible. Here we will summarize the bootstrapping of Ceph on bare metal utilizing the same ceph-ansible tools but without Vagrant orchestrating. If you're using for loops, like Jack Butler you're doing it wrong.

First, clone the ceph-ansible GitHub repo onto a system or VM that will serve as your admin node.

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

Next install Ansible via your Linux distribution's package manager, pip, or download from http://docs.ansible.com/ansible/latest/intro_installation.html . The latest stable release is suggested.

Next populate Ansible's inventory file with...