docker + coreos + ceph

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



it is added officially now

https://coreos.com/releases/#423.0.0

cheers,
-lorieri

On Mon, Aug 11, 2014 at 12:28 AM, Lorieri <lorieri at gmail.com> wrote:
> Hi,
>
> I've playing with CoreOS and got it (dirty) running with Ceph.
> No big deal, but it can save some time.
>
> 1 - An image of docker-registry that stores on radosgw:
>
> https://registry.hub.docker.com/u/lorieri/registry-ceph/
>
>
> 2 - Steps to get the rbd running in the host machine:
>
>  - find out in which kernel version your coreos runs
>  - run a docker container (or the toolbox
> https://coreos.com/docs/cluster-management/debugging/install-debugging-tools/)
>  - clone the coreos kernel: https://github.com/coreos/linux
>  - checkout to the branch of your kernel's version
> (https://github.com/coreos/linux/branches/active)
>  - compile the ceph modules and copy to the coreos machine ( ceph.ko
> libceph.ko  libcrc32c.ko  rbd.ko )
>  - load the modules
>  - run the coreos toolbox (/usr/bin/toolbox), it is a fedora machine
>  - run: yum ceph install
>  - run: ldd /usr/bin/rbd
>  - copy the libraries to the coreos machine in a directory (scp?)
>  - copy the /usr/bin/rbd binary to the coreos machine
>  - run it like this:
>
> LD_LIBRARY_PATH=/root/libs/ ./rbd map dockertest --keyfile key --id
> coreos -m ceph1
>
>
> the libraries I've put in /root/libs/ :
> libboost_system.so.1.54.0
> libboost_thread.so.1.54.0
> libcryptopp.so.6
> libgcc_s.so.1
> libleveldb.so.1
> liblzma.so.5
> librados.so.2
> librbd.so.1
> libselinux.so.1
> libsnappy.so.1
> libstdc++.so.6
>
> cheers,
> -lorieri


[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux