Ceph Cookbook
eBook - ePub

Ceph Cookbook

Karan Singh

Share book
  1. 326 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Ceph Cookbook

Karan Singh

Book details
Book preview
Table of contents
Citations

About This Book

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.

Frequently asked questions

How do I cancel my subscription?
Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Do you support text-to-speech?
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Is Ceph Cookbook an online PDF/ePUB?
Yes, you can access Ceph Cookbook by Karan Singh in PDF and/or ePUB format, as well as other popular books in Ciencia de la computación & Computación en la nube. We have over one million books available in our catalogue for you to explore.

Information

Year
2016
ISBN
9781784393502

Ceph Cookbook


Table of Contents

Ceph Cookbook
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
eBooks, discount offers, and more
Why Subscribe?
Preface
What this book covers
What you need for this book
Who this book is for
Sections
Getting ready
How to do it…
How it works…
There's more…
See also
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Ceph – Introduction and Beyond
Introduction
Ceph Releases
Ceph – the beginning of a new era
Software Defined Storage (SDS)
Cloud storage
Unified next generation storage architecture
RAID – the end of an era
RAID rebuilds are painful
RAID spare disks increases TCO
RAID can be expensive and hardware dependent
The growing RAID group is a challenge
The RAID reliability model is no longer promising
Ceph – the architectural overview
Planning the Ceph deployment
Setting up a virtual infrastructure
Getting ready
How to do it…
Installing and configuring Ceph
Creating Ceph cluster on ceph-node1
How to do it…
Scaling up your Ceph cluster
How to do it…
Using Ceph cluster with a hands-on approach
How to do it…
2. Working with Ceph Block Device
Introduction
Working with Ceph Block Device
Configuring Ceph client
How to do it…
Creating Ceph Block Device
How to do it…
Mapping Ceph Block Device
How to do it…
Ceph RBD resizing
How to do it…
Working with RBD snapshots
How to do it…
Working with RBD Clones
How to do it…
A quick look at OpenStack
Ceph – the best match for OpenStack
Setting up OpenStack
How to do it…
Configuring OpenStack as Ceph clients
How to do it…
Configuring Glance for Ceph backend
How to do it…
Configuring Cinder for Ceph backend
How to do it…
Configuring Nova to attach Ceph RBD
How to do it…
Configuring Nova to boot instances from Ceph RBD
How to do it…
3. Working with Ceph Object Storage
Introduction
Understanding Ceph object storage
RADOS Gateway standard setup, installation, and configuration
Setting up the RADOS Gateway node
How to do it…
Installing the RADOS Gateway
How to do it…
Configuring RADOS Gateway
How to do it…
Creating the radosgw user
How to do it…
See also…
Accessing Ceph object storage using S3 API
How to do it…
Configuring DNS
Configuring the s3cmd client
Accessing Ceph object storage using the Swift API
How to do it
See also…
Integrating RADOS Gateway with OpenStack Keystone
How to do it…
Configuring Ceph federated gateways
How to do it…
Testing the radosgw federated configuration
How to do it…
Building file sync and share service using RGW
Getting ready…
How to do it…
See also…
4. Working with the Ceph Filesystem
Introduction
Understanding Ceph Filesystem and MDS
Deploying Ceph MDS
How to do it…
Accessing CephFS via kernel driver
How to do it…
Accessing CephFS via FUSE client
How to do it…
Exporting Ceph Filesystem as NFS
How to do it…
ceph-dokan – CephFS for Windows clients
How to do it…
CephFS a drop-in replacement for HDFS
5. Monitoring Ceph Clusters using Calamari
Introduction
Ceph cluster monitoring – the classic way
Monitoring Ceph clusters
How to do it…
Checking the cluster's health
Monitoring cluster events
The cluster utilization statistics
Checking the cluster's status
The cluster authentication entries
Monitoring Ceph MON
How to do it…
Checking the MON status
Checking the MON quorum status
Monitoring Ceph OSDs
How to do it…
OSD tree view
OSD statistics
Checking the crush map
Monitoring PGs
Monitoring Ceph MDS
How to do it…
Introducing Ceph Calamari
Building Calamari server packages
How to do it…
Building Calamari client packages
How to do it…
Setting up Calamari master server
How to do it…
Adding Ceph nodes to Calamari
How to do it…
Monitoring Ceph clusters from the Calamari dashboard
Troubleshooting Calamari
How to do it…
6. Operating and Managing a Ceph Cluster
Introduction
Understanding Ceph service management
Managing the cluster configuration file
How to do it…
Adding monitor nodes to the Ceph configuration file
Adding an MDS node to the Ceph configuration file
Adding OSD nodes to the Ceph configuration file
Ru...

Table of contents