Installing CEPH on coreos

1,968 views
Skip to first unread message

Akshay Rao

unread,
Jul 10, 2014, 11:02:50 PM7/10/14
to coreo...@googlegroups.com
Hi 
I know I cant build CEPH on coreos due to the lack of tools.  But is it possible for me to build ceph on another dev machine using centos and then to copy the built binaries over to the individual ceph nodes?  If so, general things to keep in mind when I am doing this?

Thanks
AR

Rob Szumski

unread,
Jul 10, 2014, 11:27:06 PM7/10/14
to coreo...@googlegroups.com
You should be able to build Ceph inside of a CentOS container as you regularly would. Mount a volume into the container to expose the built binaries back to the host for use within another container.

In the future, if you require tools to do debugging against the host, you can use a toolbox container, as detailed here: http://coreos.com/docs/cluster-management/debugging/install-debugging-tools/

 - Rob

Seán C. McCord

unread,
Jul 10, 2014, 11:38:50 PM7/10/14
to coreo...@googlegroups.com
You can also run ceph within containers on the host.  Different components need different accesses.  monitors are the most pain; osd's are actually pretty easy.  Bootstrapping is always the hard part... and forget using ceph-deploy.

I'm working on getting all the pieces in nice, easy-to-use docker images, but I do have ceph monitors and osds running locally on CoreOS in Docker containers.
--
Seán C. McCord
ule...@gmail.com
CyCore Systems

Akshay Rao

unread,
Jul 11, 2014, 12:02:03 AM7/11/14
to coreo...@googlegroups.com
Thanks... that makes sense.  Will a toolbox container (in addition to debugging the host) also allow me to actually build ceph as well?

Rob Szumski

unread,
Jul 11, 2014, 1:07:23 AM7/11/14
to coreo...@googlegroups.com
Yeah, it should work just fine. By default the toolbox is Fedora but you can use any docker container you’d like as well.

Christopher Armstrong

unread,
Sep 4, 2014, 1:23:38 PM9/4/14
to coreo...@googlegroups.com
I have been working on Dockerifying Ceph to run on CoreOS so we can support a new component in Deis: https://github.com/deis/deis/pull/1754

And Seán's work is great too: https://github.com/ulexus/docker-ceph

Basically, it's quite possible, although I haven't yet successfully mounted the RDB volumes inside a container.
Reply all
Reply to author
Forward
0 new messages