Ask Your Question

High-level Storage Question

asked 2013-07-30 15:33:16 -0600

nosluoc gravatar image

Just looking for some confirmation and/or correction: from reading the OpenStack manuals and all available information on Ceph, it's my understanding that Ceph can act as a backend for Swift/Cinder/Glance, is this correct?

I'm asking because we're in the process of planning our OS deployment, and we have two relatively large storage servers (we plan to add more in the very near future), and would like to use Ceph to avoid dedicating one server to Swift, and the second to Cinder with no redundancy. Any additional thoughts/input/better ideas are more than welcomed.. thanks in advance!

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2013-08-12 17:42:59 -0600

notmyname gravatar image

Swift and Ceph are different systems designed for different use cases. Ceph was designed to support a distributed file system, and it has chosen to reimplement parts of the Swift API on top of its own object storage API.

Swift is written to provide scalable, on-demand storage for large-scale applications. It is built for scale and optimized for durability, availability, and concurrency. An ideal use case for Swift is a large data set that needs very high availability across the entire data set. Common use cases include website content, mobile application storage, document management, backups, and "cloud storage" applications.

If your use case is for storage that needs to support high concurrency across the data set and high availability, you should use Swift. You can install Swift on as few as three drives, but the system scales better as more capacity is added. (And, another nice feature of Swift is that capacity can be adjusted with no end-user downtime.)

edit flag offensive delete link more

answered 2013-07-31 01:56:26 -0600

updated 2013-07-31 01:56:49 -0600

Yes, Ceph can act as a backend for Swift, Cinder and Glance. Here I posted link for OpenStack and Ceph integration:

edit flag offensive delete link more


Thanks for your reply! I did see your response to that question, however, it seemed highly tailored towards Cinder and Glance, with no real mention on integrating Ceph with "Swift".

nosluoc gravatar imagenosluoc ( 2013-07-31 09:12:48 -0600 )edit

Do note that you need to use at least 3 nodes with Ceph. Using only 2 nodes is never recommended.

MACscr gravatar imageMACscr ( 2013-08-01 05:51:57 -0600 )edit

Yes, I'm aware of the danger of using two nodes (split brain in the event of failure). We're planning to re-tool a few spare storage servers we have sitting around, so for all intents and purposes, I probably could have just left out the part stating that we're only using two servers..

nosluoc gravatar imagenosluoc ( 2013-08-01 09:33:44 -0600 )edit

As a clarification, Ceph is not a backend for Swift. Ceph has reimplemented parts of the Swift API and is not using any part of the Swift codebase.

notmyname gravatar imagenotmyname ( 2013-08-12 17:31:29 -0600 )edit

Yes you are right, you can use Ceph as OpenStack backend, not Swift. I just wanted to say that Ceph has Swift compatible API and because of that you can use any Swift client with Ceph, including Horizon dashboard for object store.

Alen Komljen gravatar imageAlen Komljen ( 2013-08-13 08:01:39 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-07-30 15:33:16 -0600

Seen: 549 times

Last updated: Aug 12 '13