Ceph (pronounced ) is an
open-source software-defined
storage
Storage may refer to:
Goods Containers
* Dry cask storage, for storing high-level radioactive waste
* Food storage
* Intermodal container, cargo shipping
* Storage tank
Facilities
* Garage (residential), a storage space normally used to store car ...
platform
Platform may refer to:
Technology
* Computing platform, a framework on which applications may be run
* Platform game, a genre of video games
* Car platform, a set of components shared by several vehicle models
* Weapons platform, a system ...
that implements
object storage on a single distributed
computer cluster and provides 3-in-1 interfaces for object-,
block- and
file-level storage. Ceph aims primarily for completely distributed operation without a
single point of failure, scalability to the
exabyte level, and to be freely available. Since version 12, Ceph does not rely on other filesystems and can directly manage
HDDs and
SSD
A solid-state drive (SSD) is a solid-state storage device that uses integrated circuit assemblies to store data persistently, typically using flash memory, and functioning as secondary storage in the hierarchy of computer storage. It is ...
s with its own storage backend BlueStore and can completely self reliantly expose a
POSIX
The Portable Operating System Interface (POSIX) is a family of standards specified by the IEEE Computer Society for maintaining compatibility between operating systems. POSIX defines both the system- and user-level application programming inte ...
filesystem
In computing, file system or filesystem (often abbreviated to fs) is a method and data structure that the operating system uses to control how data is stored and retrieved. Without a file system, data placed in a storage medium would be one larg ...
.
Ceph
replicates data and makes it
fault-tolerant,
using
commodity hardware and Ethernet IP and requiring no specific hardware support. The Ceph’s system offers disaster recovery and data redundancy through techniques such as replication, erasure coding, snapshots and storage cloning. As a result of its design, the system is both self-healing and
self-managing, aiming to minimize administration time and other costs.
In this way, administrators have a single, consolidated system that collects the storage within a common management framework.
Ceph consolidates several storage use cases and improves resource utilization. It also lets an organization deploy servers where needed.
Some of the big production Ceph deployments include
CERN,
OVH and
DigitalOcean.
Design
Ceph employs five distinct kinds of
daemons:
* Cluster monitors () that keep track of active and failed cluster nodes, cluster configuration, and information about data placement and global cluster state.
*
Object storage device
Object may refer to:
General meanings
* Object (philosophy), a thing, being, or concept
** Object (abstract), an object which does not exist at any particular time or place
** Physical object, an identifiable collection of matter
* Goal, an a ...
s () that use a direct, journaled disk storage (named BlueStore,
which since the v12.x release replaces the FileStore which would use a filesystem)
*
Metadata servers () that cache and broker access to
inodes and
directories
Directory may refer to:
* Directory (computing), or folder, a file system structure in which to store computer files
* Directory (OpenVMS command)
* Directory service, a software application for organizing information about a computer network's ...
inside a CephFS filesystem.
*
HTTP
The Hypertext Transfer Protocol (HTTP) is an application layer protocol in the Internet protocol suite model for distributed, collaborative, hypermedia information systems. HTTP is the foundation of data communication for the World Wide Web, ...
gateways () that expose the object storage layer as an interface compatible with
Amazon S3 or
OpenStack Swift APIs
* Managers () that perform cluster monitoring, bookkeeping, and maintenance tasks, and interface to external monitoring systems and management (e.g. balancer, dashboard,
Prometheus
In Greek mythology, Prometheus (; , , possibly meaning "forethought")Smith"Prometheus". is a Titan god of fire. Prometheus is best known for defying the gods by stealing fire from them and giving it to humanity in the form of technology, know ...
, Zabbix plugin)
All of these are fully distributed, and may run on the same set of servers. Clients with different needs can directly interact with different subsets of them.
Ceph does
striping of individual files across multiple nodes to achieve higher throughput, similar to how
RAID0
In computer storage, the standard RAID levels comprise a basic set of RAID ("redundant array of independent disks" or "redundant array of inexpensive disks") configurations that employ the techniques of striping, mirroring, or parity to create la ...
stripes partitions across multiple
hard drives. Adaptive
load balancing is supported whereby frequently accessed objects are replicated over more nodes.
, BlueStore is the default and recommended storage type for production environments,
which is Ceph's own storage implementation providing better latency and configurability than the filestore backend, and avoiding the shortcomings of the filesystem based storage involving additional processing and caching layers. The filestore backend is still considered useful and very stable;
XFS used to be the recommended underlying filesystem type for production environments, while
Btrfs
Btrfs (pronounced as "better F S", "butter F S", "b-tree F S", or simply by spelling it out) is a computer storage format that combines a file system based on the copy-on-write (COW) principle with a logical volume manager (not to be confused ...
was recommended for non-production environments.
ext4
ext4 (fourth extended filesystem) is a journaling file system for Linux, developed as the successor to ext3.
ext4 was initially a series of backward-compatible extensions to ext3, many of them originally developed by Cluster File Systems fo ...
filesystems were not recommended because of resulting limitations on the maximum RADOS objects length. Even using BlueStore, XFS is used for a small partition of metadata.
From 2019 there is ongoing project to reimplement OSD in Ceph, called Crimson. Main goal of Crimson is minimizing CPU overhead and latency, because modern storage devices like
NVMe got much faster than
HDD and even
SSD
A solid-state drive (SSD) is a solid-state storage device that uses integrated circuit assemblies to store data persistently, typically using flash memory, and functioning as secondary storage in the hierarchy of computer storage. It is ...
, but CPUs do not catch up with that change. Moreover is meant to be backward compatible drop-in replacement for . While Crimson can work with BlueStore, a new ObjectStore implementation called SeaStore is also being developed.
Object storage S3
Ceph implements distributed
object storage - BlueStore.
RADOS gateway () expose the object storage layer as an interface compatible with
Amazon S3.
These are often capacitive disks which are associated with Ceph's S3 object storage for use cases:
Big Data (datalake), Backup & Archives,
IOT
The Internet of things (IoT) describes physical objects (or groups of such objects) with sensors, processing ability, software and other technologies that connect and exchange data with other devices and systems over the Internet or other com ...
, media, video recording, etc.
Ceph's software libraries provide client applications with direct access to the ''reliable autonomic distributed object store'' (RADOS) object-based storage system, and also provide a foundation for some of Ceph's features, including ''RADOS Block Device'' (RBD), ''RADOS Gateway'', and the ''Ceph File System''. In this way, administrators can maintain their storage devices as a unified system, which makes it easier to replicate and protect the data.
The "librados"
software libraries
In computer science, a library is a collection of non-volatile resources used by computer programs, often for software development. These may include configuration data, documentation, help data, message templates, pre-written code and subro ...
provide access in
C,
C++,
Java
Java (; id, Jawa, ; jv, ꦗꦮ; su, ) is one of the Greater Sunda Islands in Indonesia. It is bordered by the Indian Ocean to the south and the Java Sea to the north. With a population of 151.6 million people, Java is the world's mo ...
,
PHP
PHP is a General-purpose programming language, general-purpose scripting language geared toward web development. It was originally created by Danish-Canadian programmer Rasmus Lerdorf in 1993 and released in 1995. The PHP reference implementati ...
, and
Python. The RADOS Gateway also exposes the object store as a
RESTful interface which can present as both native
Amazon S3 and
OpenStack Swift APIs.
Block storage
Ceph's object storage system allows users to mount Ceph as a
thin-provisioned block device. When an application writes data to Ceph using a block device, Ceph automatically stripes and replicates the data across the cluster. Ceph's ''RADOS Block Device'' (RBD) also integrates with
Kernel-based Virtual Machine
Kernel-based Virtual Machine (KVM) is a virtualization module in the Linux kernel that allows the kernel to function as a hypervisor. It was merged into the mainline Linux kernel in version 2.6.20, which was released on February 5, 2007. KVM ...
s (KVMs).
These are often fast disks (NVMe, SSD) which are associated with Ceph's block storage for use cases, including databases, virtual machines, data analytics, artificial intelligence, and machine learning.
"Ceph-RBD" interfaces with the same Ceph object storage system that provides the librados interface and the CephFS file system, and it stores block device images as objects. Since RBD is built on librados, RBD inherits librados's abilities, including read-only snapshots and revert to snapshot. By striping images across the cluster, Ceph improves read access performance for large block device images.
"Ceph-iSCSI" is a gateway which enables access to distributed, highly available block storage from any
Microsoft Windows and
VMware vSphere server or client capable of speaking the
iSCSI
Internet Small Computer Systems Interface or iSCSI ( ) is an Internet Protocol-based storage networking standard for linking data storage facilities. iSCSI provides block-level access to storage devices by carrying SCSI commands over a TCP/I ...
protocol. By using ceph-iscsi on one or more iSCSI gateway hosts, Ceph RBD images become available as Logical Units (LUs) associated with iSCSI targets, which can be accessed in an optionally load-balanced, highly available fashion.
Since all of ceph-iscsi configuration is stored in the Ceph RADOS object store, ceph-iscsi gateway hosts are inherently without persistent state and thus can be replaced, augmented, or reduced at will. As a result, Ceph Storage enables customers to run a truly distributed, highly-available, resilient, and self-healing enterprise storage technology on commodity hardware and an entirely open source platform.
The block device can be virtualized, providing block storage to virtual machines, in virtualization platforms such as
Openshift,
OpenStack,
Kubernetes,
OpenNebula,
Ganeti,
Apache CloudStack and
Proxmox Virtual Environment.
File system storage
Ceph's file system (CephFS) runs on top of the same object storage system that provides object storage and block device interfaces. The Ceph metadata server cluster provides a service that maps the directories and file names of the file system to objects stored within RADOS clusters. The metadata server cluster can expand or contract, and it can rebalance the file system dynamically to distribute data evenly among cluster hosts. This ensures high performance and prevents heavy loads on specific hosts within the cluster.
Clients mount the
POSIX
The Portable Operating System Interface (POSIX) is a family of standards specified by the IEEE Computer Society for maintaining compatibility between operating systems. POSIX defines both the system- and user-level application programming inte ...
-compatible file system using a
Linux kernel
The Linux kernel is a free and open-source, monolithic, modular, multitasking, Unix-like operating system kernel. It was originally authored in 1991 by Linus Torvalds for his i386-based PC, and it was soon adopted as the kernel for the GNU ...
client. An older
FUSE-based client is also available. The servers run as regular Unix
daemons.
Ceph's file storage is often associated with log collection, messaging, and file storage.
History
Ceph was initially created by
Sage Weil for his
doctoral dissertation
A thesis ( : theses), or dissertation (abbreviated diss.), is a document submitted in support of candidature for an academic degree or professional qualification presenting the author's research and findings.International Standard ISO 7144 ...
,
which was advised by Professor Scott A. Brandt at the Jack
Baskin School of Engineering
The Jack Baskin School of Engineering, known simply as Baskin Engineering, is the school of engineering at the University of California, Santa Cruz. It consists of six departments: Applied Mathematics, Biomolecular Engineering, Computational Medi ...
,
University of California, Santa Cruz
The University of California, Santa Cruz (UC Santa Cruz or UCSC) is a public land-grant research university in Santa Cruz, California. It is one of the ten campuses in the University of California system. Located on Monterey Bay, on the edge ...
(UCSC), and sponsored by the
Advanced Simulation and Computing Program (ASC), including
Los Alamos National Laboratory
Los Alamos National Laboratory (often shortened as Los Alamos and LANL) is one of the sixteen research and development laboratories of the United States Department of Energy (DOE), located a short distance northwest of Santa Fe, New Mexico, i ...
(LANL),
Sandia National Laboratories (SNL), and
Lawrence Livermore National Laboratory
Lawrence Livermore National Laboratory (LLNL) is a federal research facility in Livermore, California, United States. The lab was originally established as the University of California Radiation Laboratory, Livermore Branch in 1952 in response ...
(LLNL). The first line of code that ended up being part of Ceph was written by Sage Weil in 2004 while at a summer internship at LLNL, working on scalable filesystem metadata management (known today as Ceph's MDS). In 2005, as part of a summer project initiated by Scott A. Brandt and led by Carlos Maltzahn, Sage Weil created a fully functional file system prototype which adopted the name Ceph. Ceph made its debut with Sage Weil giving two presentations in November 2006, one at
USENIX OSDI 2006 and another at
SC'06.
After his graduation in autumn 2007, Weil continued to work on Ceph full-time, and the core development team expanded to include Yehuda Sadeh Weinraub and Gregory Farnum. On March 19, 2010,
Linus Torvalds
Linus Benedict Torvalds ( , ; born 28 December 1969) is a Finnish software engineer who is the creator and, historically, the lead developer of the Linux kernel, used by Linux distributions and other operating systems such as Android. He also ...
merged the Ceph client into Linux kernel version 2.6.34 which was released on May 16, 2010. In 2012, Weil created
Inktank Storage for professional services and support for Ceph.
In April 2014,
Red Hat purchased Inktank, bringing the majority of Ceph development in-house to make it a production version for enterprises with support (hotline) and continuous maintenance (new versions).
In October 2015, the Ceph Community Advisory Board was formed to assist the community in driving the direction of open source software-defined storage technology. The charter advisory board includes Ceph community members from global IT organizations that are committed to the Ceph project, including individuals from
Red Hat,
Intel
Intel Corporation is an American multinational corporation and technology company headquartered in Santa Clara, California, Santa Clara, California. It is the world's largest semiconductor chip manufacturer by revenue, and is one of the devel ...
,
Canonical,
CERN,
Cisco,
Fujitsu
is a Japanese multinational information and communications technology equipment and services corporation, established in 1935 and headquartered in Tokyo. Fujitsu is the world's sixth-largest IT services provider by annual revenue, and the la ...
,
SanDisk, and
SUSE
SUSE ( , ) is a German-based multinational open-source software company that develops and sells Linux products to business customers. Founded in 1992, it was the first company to market Linux for enterprise. It is the developer of SUSE Linux En ...
.
In November 2018, the Linux Foundation launched the Ceph Foundation as a successor to the Ceph Community Advisory Board. Founding members of the Ceph Foundation included Amihan,
Canonical,
China Mobile,
DigitalOcean,
Intel
Intel Corporation is an American multinational corporation and technology company headquartered in Santa Clara, California, Santa Clara, California. It is the world's largest semiconductor chip manufacturer by revenue, and is one of the devel ...
,
OVH, ProphetStor Data Services,
Red Hat, SoftIron,
SUSE
SUSE ( , ) is a German-based multinational open-source software company that develops and sells Linux products to business customers. Founded in 1992, it was the first company to market Linux for enterprise. It is the developer of SUSE Linux En ...
,
Western Digital, XSKY Data Technology, and
ZTE.
In March 2021, SUSE discontinued its Enterprise Storage product incorporating Ceph in favor of Longhorn. and the former Enterprise Storage website was updated stating "SUSE has refocused the storage efforts around serving our strategic SUSE Enterprise Storage Customers and are no longer actively selling SUSE Enterprise Storage."
Release history
Etymology
The name "Ceph" is an abbreviation of "
cephalopod
A cephalopod is any member of the molluscan class Cephalopoda ( Greek plural , ; "head-feet") such as a squid, octopus, cuttlefish, or nautilus. These exclusively marine animals are characterized by bilateral body symmetry, a prominent head, ...
", a class of
molluscs that includes the octopus. The name (emphasized by the logo) suggests the highly parallel behavior of an octopus and was chosen to associate the file system with "Sammy", the
banana slug mascot of
UCSC.
Both cephalopods and banana slugs are molluscs.
See also
*
BeeGFS
*
Distributed file system
*
Distributed parallel fault-tolerant file systems
The following lists identify, characterize, and link to more thorough information on Computer file systems.
Many older operating systems support only their one "native" file system, which does not bear any name apart from the name of the operatin ...
*
Gfarm file system
*
GlusterFS
*
IBM General Parallel File System (GPFS)
*
Kubernetes
*
LizardFS
*
Lustre
*
MapR FS
*
Moose File System
*
OrangeFS
OrangeFS is an open-source parallel file system, the next generation of Parallel Virtual File System (PVFS). A parallel file system is a type of distributed file system that distributes file data across multiple servers and provides for concurr ...
*
Parallel Virtual File System
The Parallel Virtual File System (PVFS) is an open-source parallel file system. A parallel file system is a type of distributed file system that distributes file data across multiple servers and provides for concurrent access by multiple tasks of ...
*
Quantcast File System
*
RozoFS
*
Software-defined storage
Software-defined storage (SDS) is a marketing term for computer data storage software for policy-based provisioning and management of data storage independent of the underlying hardware. Software-defined storage typically includes a form of stora ...
*
XtreemFS
XtreemFS is an object-based, distributed file system for wide area networks.F. Hupfeld, T. Cortes, B. Kolbeck, E. Focht, M. Hess, J. Malo, J. Marti, J. Stender, E. Cesario"XtreemFS - a case for object-based storage in Grid data management" VLDB W ...
*
ZFS
*
Comparison of distributed file systems
References
Further reading
*
*
*
*
External links
*
*
{{Red Hat
Distributed file systems supported by the Linux kernel
Free software
Network file systems
Red Hat software
Userspace file systems
Virtualization software for Linux