Re: ceph-standalone

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

 



On Sun, 23 Feb 2014, Sebastien Han wrote:
> This seems quite useful and could improve the user experience.
> This looks more or less like a ceph-deploy wrapper to me and shouldn’t be that difficult to make (except for the RGW part since nothing is there).
> A simple bash script could be used I guess.

I think it is actually simpler than ceph-deploy.  The package postinst 
script can just do the setup steps to create the daemons since it is all 
on the local machine.

> I just wonder if it’s worth investing into a RGW with ceph-deploy and 
> then just write a bash script that wraps up everything on a single 
> setup.

Independently, it would be great to add rgw support for ceph-deploy since 
that is one of the more difficult pieces to set up.

But I think the ceph-standalone piece is about making a simple, 
prescriptive version of vstart.sh that deploys 1 mon, 1 mds, and maybe 2 
osds (or something like that; suggestions welcome!) and wrapping it in a 
deb/rpm.

sage

> 
> What do you think?
> 
> Cheers.
> –––– 
> Sébastien Han 
> Cloud Engineer 
> 
> "Always give 100%. Unless you're giving blood.” 
> 
> Phone: +33 (0)1 49 70 99 72 
> Mail: sebastien.han@xxxxxxxxxxxx 
> Address : 10, rue de la Victoire - 75009 Paris 
> Web : www.enovance.com - Twitter : @enovance 
> 
> On 23 Feb 2014, at 21:30, Sage Weil <sage@xxxxxxxxxxx> wrote:
> 
> > One idea kicking around is to create a simple ceph-standalone package that 
> > is meant to make it really easy to play around with Ceph.  It would:
> > 
> > - depend on all the relevant ceph packages
> > - install a simple, generic ceph.conf for use on localhost (or perhaps 
> > whatever /etc/hosts has for our hostname)
> > - mkfs and start up a mon
> > - start up an osd (or two?) in /var/lib/ceph (no dedicated disk/volume)
> > - start an mds
> > - add an apache2 site in /etc/apache2/sites-available (or whatever)
> > 
> > The idea would be to do
> > 
> > $ sudo apt-get install ceph-standalone
> > $ ceph -s
> > [...]
> > 
> > and have a usable mini-cluster.  That makes it really easy for users to 
> > play with the basics, like:
> > 
> > $ mkdir /mnt/ceph
> > $ sudo ceph-fuse /mnt/ceph
> > 
> > $ rbd create ...
> > $ rbd map ...
> > 
> > $ curl http://localhost:8000/
> > <more rgw stuff>
> > 
> > Does this sound useful?  Any takers?
> > sage
> > --
> > To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> > the body of a message to majordomo@xxxxxxxxxxxxxxx
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> 

[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux