Re: ceph-deploy questions

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

 



Hi John,
That makes sense it affects the ceph cluster map, but it actually does a little more like partitioning drives and setting up other parameters and even starts the service. So the part I see is a little confusing is that I have to configure the ceph.conf file on top of using ceph-deploy so it starts to feel like double work and potential for error if you get mixed up or you were expecting one thing and ceph-deploy does another.
I think I can figure out a best practice, but I think it is worth noting that just running the commands will get it up and running but it is probably best to edit the config file as well. I like the new ceph-deploy commands definitely makes things more manageable.
A single page example for install and setup would be highly appreciated, especially for new users.

I must have skimmed that section in the runtime-changes thanks for pointing me to the page.

Thanks for responding,
Scottix




On Wed, Jun 12, 2013 at 6:35 AM, John Wilkins <john.wilkins@xxxxxxxxxxx> wrote:
ceph-deploy adds the OSDs to the cluster map. You can add the OSDs to
the ceph.conf manually.

In the ceph.conf file, the settings don't require underscores. If you
modify your configuration at runtime, you need to add the underscores
on the command line.

http://ceph.com/docs/master/rados/configuration/ceph-conf/
http://ceph.com/docs/master/rados/configuration/ceph-conf/#runtime-changes

Underscores and dashes work with the config settings.

On Tue, Jun 11, 2013 at 4:41 PM, Scottix <scottix@xxxxxxxxx> wrote:
> Hi Everyone,
> I am new to ceph but loving every moment of it. I am learning all of this
> now, so maybe this will help with documentation.
>
> Anyway, I have a few question about ceph-deploy. I was able to setup a
> cluster and be able to get it up and running no problem with ubuntu 12.04.2
> that isn't the problem. The ceph.conf file is a little bit of a mystery for
> me on ceph-deploy. For example when I create a mon or osd on a machine the
> ceph.conf file doesn't change at all. Then if I reboot an osd, I have to
> re-activate it every time. Am I suppose to edit the
> config file for each osd? If I don't edit the file how do I keep track of
> each machine? or set special parameters for some machines? or does it
> matter?
>
> One last thing is why does it put underscores '_' for spaces when it does
> deploy the ceph.conf? Seems odd since the documentation doesn't show
> underscores, but I guess it doesn't matter since it works.
>
> Thanks for clarification,
> Scottix
>
> --
> Follow Me: @Scottix
>
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>



--
John Wilkins
Senior Technical Writer
Intank
john.wilkins@xxxxxxxxxxx
(415) 425-9599
http://inktank.com



--
Follow Me: @Scottix
http://about.me/scottix
Scottix@xxxxxxxxx
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

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


  Powered by Linux