Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Learning Ceph
Learning Ceph

Learning Ceph: Unifed, scalable, and reliable open source storage solution , Second Edition

Arrow left icon
Profile Icon D'Atri Profile Icon Bhembre Profile Icon Bryan Stillwell Profile Icon Karan Singh
Arrow right icon
€22.99 €32.99
Full star icon Full star icon Full star icon Half star icon Empty star icon 3.7 (3 Ratings)
eBook Oct 2017 340 pages 2nd Edition
eBook
€22.99 €32.99
Paperback
€41.99
Subscription
Free Trial
Renews at €18.99p/m
Arrow left icon
Profile Icon D'Atri Profile Icon Bhembre Profile Icon Bryan Stillwell Profile Icon Karan Singh
Arrow right icon
€22.99 €32.99
Full star icon Full star icon Full star icon Half star icon Empty star icon 3.7 (3 Ratings)
eBook Oct 2017 340 pages 2nd Edition
eBook
€22.99 €32.99
Paperback
€41.99
Subscription
Free Trial
Renews at €18.99p/m
eBook
€22.99 €32.99
Paperback
€41.99
Subscription
Free Trial
Renews at €18.99p/m

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Table of content icon View table of contents Preview book icon Preview Book

Learning Ceph

Introducing Ceph Storage

Ceph is an open source project that provides a solution for software-defined, network-available storage with high performance and no single point of failure. It is designed to be highly scalable to the exabyte level and beyond while running on general-purpose commodity hardware.

In this chapter, we will cover the following topics:

  • The history and evolution of Ceph
  • What's new since the first edition of Learning Ceph
  • The future of storage
  • Ceph compared with other storage solutions

Ceph garners much of the buzz in the storage industry due to its open, scalable, and distributed nature. Today public, private, and hybrid cloud models are dominant strategies for scalable and scale-out infrastructure. Ceph's design and features including multi-tenancy are a natural fit for cloud Infrastructure as a Service (IaaS) and Platform as a Service (PaaS) deployments: at least 60% of OpenStack deployments leverage Ceph.

For more information regarding the use of Ceph within OpenStack deployments, visit https://keithtenzer.com/2017/03/30/openstack-swift-integration-with-ceph.

Ceph is architected deliberately to deliver enterprise-quality services on a variety of commodity hardware. Ceph's architectural philosophy includes the following:

  • Every component must be scalable
  • No individual process, server, or other component can be a single point of failure
  • The solution must be software-based, open source, and adaptable
  • Ceph software should run on readily available commodity hardware without vendor lock-in
  • Everything must be self-manageable wherever possible

Ceph provides great performance, limitless scalability, power, and flexibility to enterprises, helping them move on from expensive proprietary storage silos. The Ceph universal storage system provides block, file, and object storage from a single, unified back-end, enabling customers to access storage as their needs evolve and grow.

The foundation of Ceph is objects, building blocks from which complex services are assembled. Any flavor of data, be it a block, object, or file, is represented by objects within the Ceph backend. Object storage is the flexible solution for unstructured data storage needs today and in the future. An object-based storage system offers advantages over traditional file-based storage solutions that include platform and hardware independence. Ceph manages data carefully, replicating across storage devices, servers, data center racks, and even data centers to ensure reliability, availability, and durability. Within Ceph objects are not tied to a physical path, making objects flexible and location-independent. This enables Ceph to scale linearly from the petabyte level to an exabyte level.

The history and evolution of Ceph

Ceph was developed at University of California, Santa Cruz, by Sage Weil in 2003 as a part of his PhD project. The initial implementation provided the Ceph Filesystem (CephFS) in approximately 40,000 lines of C++ code. This was open sourced in 2006 under a Lesser GNU Public License (LGPL) to serve as a reference implementation and research platform. Lawrence Livermore National Laboratory supported Sage's early followup work from 2003 to 2007.

DreamHost, a Los-Angeles-based web hosting and domain registrar company also co-founded by Sage Weil, supported Ceph development from 2007 to 2011. During this period Ceph as we know it took shape: the core components gained stability and reliability, new features were implemented, and the road map for the future was drawn. During this time a number of key developers began contributing, including Yehuda Sadeh-Weinraub, Gregory Farnum, Josh Durgin, Samuel Just, Wido den Hollander, and Loïc Dachary.

In 2012 Sage Weil founded Inktank to enable the widespread adoption of Ceph. Their expertise, processes, tools, and support enabled enterprise-subscription customers to effectively implement and manage Ceph storage systems. In 2014 Red Hat, Inc.,the world's leading provider of open source solutions, agreed to acquire Inktank.

The term Ceph is a common nickname given to pet octopuses; Ceph and is an abbreviation of cephalopod, marine animals belonging to the Cephalopoda class of molluscs. Ceph's mascot is an octopus,referencing the highly parallel behavior of an octopus and was chosen to connect the file system with UCSC's mascot, a banana slug named Sammy. Banana slugs are gastropods,which are also a class of molluscs. As Ceph is not an acronym, it should not be uppercased as CEPH.

For additional information about Ceph in general, please visit https://en.wikipedia.org/wiki/Ceph_(software)

Ceph releases

Each release of Ceph has a numeric version. Major releases also receive cephalopod code-names in alphabetical order. Through the Luminous release the Ceph community tagged a new major version about twice a year, alternating between Long Term Support (LTS) and stable releases. The latest two LTS releases were officially supported, but only the single latest stable release.

For more information on Ceph releases please visit https://ceph.com/category/releases.

The release numbering scheme has changed since the first edition of Learning Ceph was published. Earlier major releases were tagged initially with a version number (0.87) and were followed by multiple point releases (0.87.1, 0.87.2, ...). Releases beginning with Infernalis however are numbered as shown:

The major release number matches the letter of the alphabet of its code name (for example I is the ninth letter of the English alphabet, so 9.2.1 was named Infernalis). As we write, there have been four releases following this numbering convention: Infernalis, Jewel, Kraken, and Luminous.

The early versions of each major release have a type of 0 in the second field, which indicates active pre-release development status for early testers and the brave of heart. Later release candidates have a type of 1 and are targeted at test clusters and brave users. A type of 2 represents a general-availability, production-ready release. Point releases mostly contain security and bug fixes, but sometimes offer functionality improvements as well.

Ceph release name

Ceph package version

Release date

Argonaut

0.48 (LTS)

July 2012

Bobtail

0.56 (LTS)

January 2013

Cuttlefish

0.61

May 2013

Dumpling

0.67 (LTS)

August 2013

Emperor

0.72

November 2013

Firefly

0.80 (LTS)

May 2014

Giant

0.87

October 2014

Hammer

0.94 (LTS)

April 2015

Infernalis

9.2.1

November 2015

Jewel

10.2.3 (LTS)

April 2016

Kraken

11.2.0

January 2017

Luminous

12.2.0 (LTS)

August 2017

Mimic

13.2.0

2018

Nautilus

14.2.0

2019

Note that as this book was being readied for publication in October 2017 Sage announced that the release cycle has changed. Starting with Mimic there will no longer be alternating LTS and stable releases. Each release henceforth will be LTS at a roughly 9 month cadence. For the details visit

https://github.com/ceph/ceph/pull/18117/files

New since the first edition

The Jewel LTS release brought a number of significant changes:

  • Unified queue of client I/O, recovery, scrubs, and snapshot trimming
  • Daemons now run as the ceph user, which must be addressed when upgrading
  • Cache tier improvements
  • SHEC erasure coding is no longer experimental
  • The SWIFT API now supports object expiration
  • RBD improvements (now supports suffixes)
  • rbd du shows actual and provisioned usage quickly via object-map and fast-diff features
  • New rbd status command
  • deep-flatten now handles snapshots
  • CephFS snapshots can now be renamed
  • And CephFS is considered stable!
  • Scrubbing improvements
  • TCMalloc improvements
  • Multisite functionality in RGW significantly improved
  • OpenStack Keystone v3 support
  • Swift per-tenant namespace
  • Async RBD mirroring
  • A new look for ceph status
More details on the Jewel release can be found at http://ceph.com/releases/v10-2-0-jewel-released.

As we write, the major Luminous LTS release has just reached general availability. Early experiences are positive and it is the best choice for new deployments. Much-anticipated features in Luminous include:

  • The BlueStore back end is supported
  • In-line compression and read checksums
  • Erasure coding for RBD volumes
  • Better tools for uniform OSD utilization
  • Improved tools for the OSD lifecycle
  • Enhanced CLI
  • Multiple active CephFS MDS servers are supported
The release notes for Luminous 12.2.0 can be found at https://ceph.com/releases/v12-2-0-luminous-released/.
Left arrow icon Right arrow icon

Key benefits

  • •Explore Ceph's architecture in order to achieve scalability and high availability
  • •Learn to utilize Ceph efficiently with the help of practical examples
  • •Successfully implement Ceph clusters to scale-out storage solutions along with outstanding data protection

Description

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.

Who is this book for?

A basic knowledge of GNU/Linux, and storage systems, and server components is assumed. If you have no experience of software-defined storage solutions and Ceph, but are eager to learn about them, this is the book for you.

What you will learn

  • •The limitations of existing systems and why you should use Ceph as a storage solution
  • •Familiarity with Ceph s architecture, components, and services
  • •Instant deployment and testing of Ceph within a Vagrant and VirtualBox environment
  • •Ceph operations including maintenance, monitoring, and troubleshooting
  • •Storage provisioning of Ceph s block, object, and filesystem services
  • •Integrate Ceph with OpenStack
  • •Advanced topics including erasure coding, CRUSH maps, and performance tuning
  • •Best practices for your Ceph clusters

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Oct 13, 2017
Length: 340 pages
Edition : 2nd
Language : English
ISBN-13 : 9781787122918
Languages :
Tools :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want

Product Details

Publication date : Oct 13, 2017
Length: 340 pages
Edition : 2nd
Language : English
ISBN-13 : 9781787122918
Languages :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
€18.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
€189.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts
€264.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total 115.97
Ceph Cookbook
€36.99
Learning Ceph
€41.99
Mastering Ceph
€36.99
Total 115.97 Stars icon

Table of Contents

11 Chapters
Introducing Ceph Storage Chevron down icon Chevron up icon
Ceph Components and Services Chevron down icon Chevron up icon
Hardware and Network Selection Chevron down icon Chevron up icon
Planning Your Deployment Chevron down icon Chevron up icon
Deploying a Virtual Sandbox Cluster Chevron down icon Chevron up icon
Operations and Maintenance Chevron down icon Chevron up icon
Monitoring Ceph Chevron down icon Chevron up icon
Ceph Architecture: Under the Hood Chevron down icon Chevron up icon
Storage Provisioning with Ceph Chevron down icon Chevron up icon
Integrating Ceph with OpenStack Chevron down icon Chevron up icon
Performance and Stability Tuning Chevron down icon Chevron up icon

Customer reviews

Rating distribution
Full star icon Full star icon Full star icon Half star icon Empty star icon 3.7
(3 Ratings)
5 star 66.7%
4 star 0%
3 star 0%
2 star 0%
1 star 33.3%
Bryan S. May 29, 2018
Full star icon Full star icon Full star icon Full star icon Full star icon 5
A big improvement over the original! Lots of useful information that will help you avoid costly mistakes when building your first Ceph cluster.
Amazon Verified review Amazon
Jessica M. Nov 10, 2017
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This book is so well organized and thought out. It was so easy to read and really was key in helping me manage my ceph clusters. Highly, highly recommend for anyone learning ceph!!
Amazon Verified review Amazon
Barefoot IT Apr 06, 2018
Full star icon Empty star icon Empty star icon Empty star icon Empty star icon 1
Mostly useless. Ceph online documentation is much better.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.