Re: Rename Ceph cluster

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

 




On 18-08-15 14:13, Erik McCormick wrote:
> I've got a custom named cluster integrated with Openstack (Juno) and
> didn't run into any hard-coded name issues that I can recall. Where are
> you seeing that?
> 
> As to the name change itself, I think it's really just a label applying
> to a configuration set. The name doesn't actually appear *in* the
> configuration files. It stands to reason you should be able to rename
> the configuration files on the client side and leave the cluster alone.
> It'd be with trying in a test environment anyway.
> 

To add to id, internally a Ceph cluster ONLY uses the fsid which you can
find in the OSDMap and on all the data dirs of the OSDs.

The cluster name is indeed nothing more then a reference to a specific
configuration file.

Wido

> -Erik
> 
> On Aug 18, 2015 7:59 AM, "Jan Schermer" <jan@xxxxxxxxxxx
> <mailto:jan@xxxxxxxxxxx>> wrote:
> 
>     This should be simple enough
> 
>     mv /etc/ceph/ceph-prod.conf /etc/ceph/ceph.conf
> 
>     No? :-)
> 
>     Or you could set this in nova.conf:
>     images_rbd_ceph_conf=/etc/ceph/ceph-prod.conf
> 
>     Obviously since different parts of openstack have their own configs,
>     you'd have to do something similiar for cinder/glance... so not
>     worth the hassle.
> 
>     Jan
> 
>     > On 18 Aug 2015, at 13:50, Vasiliy Angapov <angapov@xxxxxxxxx
>     <mailto:angapov@xxxxxxxxx>> wrote:
>     >
>     > Hi,
>     >
>     > Does anyone know what steps should be taken to rename a Ceph cluster?
>     > Btw, is it ever possbile without data loss?
>     >
>     > Background: I have a cluster named "ceph-prod" integrated with
>     > OpenStack, however I found out that the default cluster name "ceph" is
>     > very much hardcoded into OpenStack so I decided to change it to the
>     > default value.
>     >
>     > Regards, Vasily.
>     > _______________________________________________
>     > ceph-users mailing list
>     > ceph-users@xxxxxxxxxxxxxx <mailto:ceph-users@xxxxxxxxxxxxxx>
>     > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> 
>     _______________________________________________
>     ceph-users mailing list
>     ceph-users@xxxxxxxxxxxxxx <mailto:ceph-users@xxxxxxxxxxxxxx>
>     http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> 
> 
> 
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> 
_______________________________________________
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