On Mon, Mar 30, 2015 at 3:15 PM, Francois Lafont <flafdiv...@free.fr> wrote:
> Hi,
>
> Gregory Farnum wrote:
>
>> The MDS doesn't have any data tied to the machine you're running it
>> on. You can either create an entirely new one on a different machine,
>> or simply copy the config file and cephx keyring to the appropriate
>> directories. :)
>
> Sorry to enter in this post but how can we *remove* a mds daemon of a
> ceph cluster?
>
> Are the commands below enough?
>
>     stop the daemon
>     rm -r /var/lib/ceph/mds/ceph-$id/
>     ceph auth del mds.$id
>
> Should we edit something in the mds map to remove once and for
> all the mds ?

As long as you turn on another MDS which takes over the logical rank
of the MDS you remove, you don't need to remove anything from the
cluster store.

Note that if you just copy the directory and keyring to the new
location you shouldn't do the "ceph auth del" bit either. ;)
-Greg

>
> --
> François Lafont
>
> --
> François Lafont
> _______________________________________________
> ceph-users mailing list
> ceph-users@lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to