Book description
Over 100 effective recipes to help you design, implement, and manage the software-defined and massively scalable Ceph storage system
About This Book
- Implement a Ceph cluster successfully and gain deep insights into its best practices
- Harness the abilities of experienced storage administrators and architects, and run your own software-defined storage system
- This comprehensive, step-by-step guide will show you how to build and manage Ceph storage in production environment
Who This Book Is For
This book is aimed at storage and cloud system engineers, system administrators, and technical architects who are interested in building software-defined storage solutions to power their cloud and virtual infrastructure. If you have basic knowledge of GNU/Linux and storage systems, with no experience of software defined storage solutions and Ceph, but eager to learn this book is for you.
What You Will Learn
- Understand, install, configure, and manage the Ceph storage system
- Get to grips with performance tuning and benchmarking, and gain practical tips to run Ceph in production
- Integrate Ceph with OpenStack Cinder, Glance, and nova components
- Deep dive into Ceph object storage, including s3, swift, and keystone integration
- Build a Dropbox-like file sync and share service and Ceph federated gateway setup
- Gain hands-on experience with Calamari and VSM for cluster monitoring
- Familiarize yourself with Ceph operations such as maintenance, monitoring, and troubleshooting
- Understand advanced topics including erasure coding, CRUSH map, cache pool, and system maintenance
In Detail
Ceph is a unified, distributed storage system designed for excellent performance, reliability, and scalability. This cutting-edge technology has been transforming the storage industry, and is evolving rapidly as a leader in software-defined storage space, extending full support to cloud platforms such as Openstack and Cloudstack, including virtualization platforms. It is the most popular storage backend for Openstack, public, and private clouds, so is the first choice for a storage solution. Ceph is backed by RedHat and is developed by a thriving open source community of individual developers as well as several companies across the globe.
This book takes you from a basic knowledge of Ceph to an expert understanding of the most advanced features, walking you through building up a production-grade Ceph storage cluster and helping you develop all the skills you need to plan, deploy, and effectively manage your Ceph cluster. Beginning with the basics, you'll create a Ceph cluster, followed by block, object, and file storage provisioning. Next, you'll get a step-by-step tutorial on integrating it with OpenStack and building a Dropbox-like object storage solution. We'll also take a look at federated architecture and CephFS, and you'll dive into Calamari and VSM for monitoring the Ceph environment. You'll develop expert knowledge on troubleshooting and benchmarking your Ceph storage cluster. Finally, you'll get to grips with the best practices to operate Ceph in a production environment.
Style and approach
This step-by-step guide is filled with practical tutorials, making complex scenarios easy to understand.
Table of contents
-
Ceph Cookbook
- Table of Contents
- Ceph Cookbook
- Credits
- Foreword
- About the Author
- About the Reviewers
- www.PacktPub.com
- Preface
- 1. Ceph – Introduction and Beyond
-
2. Working with Ceph Block Device
- Introduction
- Working with Ceph Block Device
- Configuring Ceph client
- Creating Ceph Block Device
- Mapping Ceph Block Device
- Ceph RBD resizing
- Working with RBD snapshots
- Working with RBD Clones
- A quick look at OpenStack
- Ceph – the best match for OpenStack
- Setting up OpenStack
- Configuring OpenStack as Ceph clients
- Configuring Glance for Ceph backend
- Configuring Cinder for Ceph backend
- Configuring Nova to attach Ceph RBD
- Configuring Nova to boot instances from Ceph RBD
-
3. Working with Ceph Object Storage
- Introduction
- Understanding Ceph object storage
- RADOS Gateway standard setup, installation, and configuration
- Creating the radosgw user
- Accessing Ceph object storage using S3 API
- Accessing Ceph object storage using the Swift API
- Integrating RADOS Gateway with OpenStack Keystone
- Configuring Ceph federated gateways
- Testing the radosgw federated configuration
- Building file sync and share service using RGW
- 4. Working with the Ceph Filesystem
-
5. Monitoring Ceph Clusters using Calamari
- Introduction
- Ceph cluster monitoring – the classic way
- Monitoring Ceph clusters
- Introducing Ceph Calamari
- Building Calamari server packages
- Building Calamari client packages
- Setting up Calamari master server
- Adding Ceph nodes to Calamari
- Monitoring Ceph clusters from the Calamari dashboard
- Troubleshooting Calamari
-
6. Operating and Managing a Ceph Cluster
- Introduction
- Understanding Ceph service management
- Managing the cluster configuration file
- Running Ceph with SYSVINIT
- Running Ceph as a service
- Scale-up versus scale-out
- Scaling out your Ceph cluster
- Scaling down your Ceph cluster
- Replacing a failed disk in the Ceph cluster
- Upgrading your Ceph cluster
- Maintaining a Ceph cluster
-
7. Ceph under the Hood
- Introduction
- Ceph scalability and high availability
- Understanding the CRUSH mechanism
- CRUSH map internals
- Ceph cluster map
- High availability monitors
- Ceph authentication and authorization
- Ceph dynamic cluster management
- Ceph placement group
- Placement group states
- Creating Ceph pools on specific OSDs
-
8. Production Planning and Performance Tuning for Ceph
- Introduction
- The dynamics of capacity, performance, and cost
- Choosing the hardware and software components for Ceph
- Ceph recommendation and performance tuning
- Ceph erasure coding
- Creating an erasure coded pool
- Ceph cache tiering
- Creating a pool for cache tiering
- Creating a cache tier
- Configuring a cache tier
- Testing a cache tier
- 9. The Virtual Storage Manager for Ceph
-
10. More on Ceph
- Introduction
- Benchmarking the Ceph cluster
- Disk performance baseline
- Baseline network performance
- Ceph RADOS bench
- RADOS load-gen
- Benchmarking the Ceph block device
- Benchmarking Ceph RBD using FIO
- Ceph admin socket
- Using the ceph tell command
- Ceph REST API
- Profiling Ceph memory
- Deploying Ceph using Ansible
- The ceph-objectstore tool
- Index
Product information
- Title: Ceph Cookbook
- Author(s):
- Release date: February 2016
- Publisher(s): Packt Publishing
- ISBN: 9781784393502
You might also like
book
Ceph Cookbook - Second Edition
Over 100 effective recipes to help you design, implement, and troubleshoot manage the software-defined and massively …
book
Kubernetes - A Complete DevOps Cookbook
Leverage Kubernetes and container architecture to successfully run production-ready workloads Key Features Implement Kubernetes to orchestrate …
book
Kubernetes Cookbook
Kubernetes is becoming the de-facto standard for container orchestration and distributed applications management across a microservices …
book
SELinux Cookbook
Over 70 hands-on recipes to develop fully functional policies to confine your applications and users using …