Ceph Cookbook - Second Edition

Over 100 effective recipes to help you design, implement, and troubleshoot manage the software-defined and massively scalable Ceph storage system.
Preview in Mapt

Ceph Cookbook - Second Edition

Vikhyat Umrao, Michael Hackett, Karan Singh

Over 100 effective recipes to help you design, implement, and troubleshoot manage the software-defined and massively scalable Ceph storage system.

Quick links: > What will you learn?> Table of content

Mapt Subscription
FREE
$20.83/m after trial
eBook
$25.20
RRP $35.99
Save 29%
Print + eBook
$44.99
RRP $44.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$25.20
$44.99
$29.99 p/m after trial
RRP $35.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


Ceph Cookbook - Second Edition Book Cover
Ceph Cookbook - Second Edition
$ 35.99
$ 25.20
Learning VMware NSX - Second Edition Book Cover
Learning VMware NSX - Second Edition
$ 31.99
$ 22.40
Buy 2 for $35.00
Save $32.98
Add to Cart

Book Details

ISBN 139781788391061
Paperback422 pages

Book Description

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.

Table of Contents

Chapter 1: Ceph – Introduction and Beyond
Introduction
Ceph – the beginning of a new era
RAID – the end of an era
Ceph – the architectural overview
Planning a Ceph deployment
Setting up a virtual infrastructure
Installing and configuring Ceph
Scaling up your Ceph cluster
Using the Ceph cluster with a hands-on approach
Chapter 2: 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!
Chapter 3: Working with Ceph and OpenStack
Introduction
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 boot instances from Ceph RBD
Configuring Nova to attach Ceph RBD
Chapter 4: 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 
Chapter 5: Working with Ceph Object Storage Multi-Site v2
Introduction
Functional changes from Hammer federated configuration
RGW multi-site v2 requirement
Installing the Ceph RGW multi-site v2 environment 
Configuring Ceph RGW multi-site v2
Testing user, bucket, and object sync between master and secondary sites
Chapter 6: Working with the Ceph Filesystem
Introduction
Understanding the Ceph Filesystem and MDS
 Deploying Ceph MDS
Accessing Ceph FS through kernel driver
Accessing Ceph FS through FUSE client
Exporting the Ceph Filesystem as NFS
Ceph FS – a drop-in replacement for HDFS
Chapter 7: 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
Chapter 8: 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
Chapter 9: 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
Chapter 10: 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
Chapter 11: The Virtual Storage Manager for Ceph
Introductionc 
Understanding the VSM architecture
Setting up the VSM environment
Getting ready for VSM
Installing VSM
Creating a Ceph cluster using VSM
Exploring the VSM dashboard
Upgrading the Ceph cluster using VSM
VSM roadmap
VSM resources
Chapter 12: 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
Chapter 13: An Introduction to Troubleshooting Ceph
Introduction
Initial troubleshooting and logging
Troubleshooting network issues
Troubleshooting monitors
Troubleshooting OSDs
Troubleshooting placement groups
Chapter 14: Upgrading Your Ceph Cluster from Hammer to Jewel
Introduction
Upgrading your Ceph cluster from Hammer to Jewel

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

Authors

Table of Contents

Chapter 1: Ceph – Introduction and Beyond
Introduction
Ceph – the beginning of a new era
RAID – the end of an era
Ceph – the architectural overview
Planning a Ceph deployment
Setting up a virtual infrastructure
Installing and configuring Ceph
Scaling up your Ceph cluster
Using the Ceph cluster with a hands-on approach
Chapter 2: 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!
Chapter 3: Working with Ceph and OpenStack
Introduction
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 boot instances from Ceph RBD
Configuring Nova to attach Ceph RBD
Chapter 4: 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 
Chapter 5: Working with Ceph Object Storage Multi-Site v2
Introduction
Functional changes from Hammer federated configuration
RGW multi-site v2 requirement
Installing the Ceph RGW multi-site v2 environment 
Configuring Ceph RGW multi-site v2
Testing user, bucket, and object sync between master and secondary sites
Chapter 6: Working with the Ceph Filesystem
Introduction
Understanding the Ceph Filesystem and MDS
 Deploying Ceph MDS
Accessing Ceph FS through kernel driver
Accessing Ceph FS through FUSE client
Exporting the Ceph Filesystem as NFS
Ceph FS – a drop-in replacement for HDFS
Chapter 7: 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
Chapter 8: 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
Chapter 9: 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
Chapter 10: 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
Chapter 11: The Virtual Storage Manager for Ceph
Introductionc 
Understanding the VSM architecture
Setting up the VSM environment
Getting ready for VSM
Installing VSM
Creating a Ceph cluster using VSM
Exploring the VSM dashboard
Upgrading the Ceph cluster using VSM
VSM roadmap
VSM resources
Chapter 12: 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
Chapter 13: An Introduction to Troubleshooting Ceph
Introduction
Initial troubleshooting and logging
Troubleshooting network issues
Troubleshooting monitors
Troubleshooting OSDs
Troubleshooting placement groups
Chapter 14: Upgrading Your Ceph Cluster from Hammer to Jewel
Introduction
Upgrading your Ceph cluster from Hammer to Jewel

Book Details

ISBN 139781788391061
Paperback422 pages
Read More

Read More Reviews

Recommended for You

Learning VMware NSX - Second Edition Book Cover
Learning VMware NSX - Second Edition
$ 31.99
$ 22.40
Cybersecurity: Attack and Defense Strategies Book Cover
Cybersecurity: Attack and Defense Strategies
$ 31.99
$ 22.40
Puppet 5 Beginner's Guide - Third Edition Book Cover
Puppet 5 Beginner's Guide - Third Edition
$ 31.99
$ 22.40
Advanced Infrastructure Penetration Testing Book Cover
Advanced Infrastructure Penetration Testing
$ 39.99
$ 28.00
Learning Ceph - Second Edition Book Cover
Learning Ceph - Second Edition
$ 39.99
$ 28.00
scikit-learn Cookbook - Second Edition Book Cover
scikit-learn Cookbook - Second Edition
$ 31.99
$ 22.40