Book description
Over 100 effective recipes to help you design, implement, and troubleshoot manage the software-defined and massively scalable Ceph storage system.
About This Book
- Implement a Ceph cluster successfully and learn to manage it.
- Recipe based approach in learning the most efficient software defined storage system
- Implement best practices on improving efficiency and security of your storage cluster
- Learn to troubleshoot common issues experienced in a Ceph cluster
Who This Book Is For
This book is targeted at storage and cloud engineers, system administrators, or anyone who is interested in building software defined storage, to power your cloud or 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 then 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 learn practical tips to help 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
- Configure a disaster recovery solution with a Ceph Multi-Site V2 gateway setup and RADOS Block Device mirroring
- Gain hands-on experience with Ceph Metrics 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 general Ceph cluster maintenance
In Detail
Ceph is a unified distributed storage system designed for reliability and scalability. This technology has been transforming the software-defined storage industry and is evolving rapidly as a leader with its wide range of support for popular cloud platforms such as OpenStack, and CloudStack, and also for virtualized platforms. Ceph is backed by Red Hat and has been developed by community of developers which has gained immense traction in recent years.
This book will guide you right from the basics of Ceph , such as creating blocks, object storage, and filesystem access, to advanced concepts such as cloud integration solutions. The book will also cover practical and easy to implement recipes on CephFS, RGW, and RBD with respect to the major stable release of Ceph Jewel. Towards the end of the book, recipes based on troubleshooting and best practices will help you get to grips with managing Ceph storage in a production environment.
By the end of this book, you will have practical, hands-on experience of using Ceph efficiently for your storage requirements.
Style and approach
This step-by-step guide is filled with practical tutorials, making complex scenarios easy to understand.
Table of contents
- Preface
- Ceph – Introduction and Beyond
-
Working with Ceph Block Device
- Introduction
- Configuring Ceph client
- Creating Ceph Block Device
- Mapping Ceph Block Device
- Resizing Ceph RBD
- Working with RBD snapshots
- Working with RBD clones
- Disaster recovery replication using RBD mirroring
- Configuring pools for RBD mirroring with one way replication
- Configuring image mirroring
- Configuring two-way mirroring
- Recovering from a disaster!
- Working with Ceph and OpenStack
-
Working with Ceph Object Storage
- Introduction
- Understanding Ceph object storage
- RADOS Gateway standard setup, installation, and configuration
- Creating the radosgw user
- Accessing the Ceph object storage using S3 API
- Accessing the Ceph object storage using the Swift API
- Integrating RADOS Gateway with OpenStack Keystone
- Integrating RADOS Gateway with Hadoop S3A plugin
- Working with Ceph Object Storage Multi-Site v2
- Working with the Ceph Filesystem
-
Monitoring Ceph Clusters
- Introduction
- Monitoring Ceph clusters – the classic way
- Introducing Ceph Metrics and Grafana
- Installing and configuring Ceph Metrics with the Grafana dashboard
- Monitoring Ceph clusters with Ceph Metrics with the Grafana dashboard
-
Operating and Managing a Ceph Cluster
- Introduction
- Understanding Ceph service management
- Managing the cluster configuration file
- Running Ceph with systemd
- 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
-
Ceph under the Hood
- Introduction
- Ceph scalability and high availability
- Understanding the CRUSH mechanism
- CRUSH map internals
- CRUSH tunables
- Ceph cluster map
- High availability monitors
- Ceph authentication and authorization
- I/O path from a Ceph client to a Ceph cluster
- Ceph Placement Group
- Placement Group states
- Creating Ceph pools on specific OSDs
-
Production Planning and Performance Tuning for Ceph
- Introduction
- The dynamics of capacity, performance, and cost
- Choosing hardware and software components for Ceph
- Ceph recommendations 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
- Cache tiering – possible dangers in production environments
- The Virtual Storage Manager for Ceph
-
More on Ceph
- Introduction
- 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
- The ceph-objectstore-tool
- Using ceph-medic
- Deploying the experimental Ceph BlueStore
- An Introduction to Troubleshooting Ceph
- Upgrading Your Ceph Cluster from Hammer to Jewel
Product information
- Title: Ceph Cookbook - Second Edition
- Author(s):
- Release date: November 2017
- Publisher(s): Packt Publishing
- ISBN: 9781788391061
You might also like
book
Ceph Cookbook
Over 100 effective recipes to help you design, implement, and manage the software-defined and massively scalable …
book
Mastering OpenStack - Second Edition
Discover your complete guide to designing, deploying, and managing OpenStack-based clouds in mid-to-large IT infrastructures with …
book
DevOps with Kubernetes - Second Edition
Leverage the power of Kubernetes to build an efficient software delivery pipeline. Key Features Learn about …
book
Mastering Ceph
Deep dive into the unified, distributed storage system in order to provide excellent performance About This …