Re: Is it possible to change the MDS node after its been created

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

 



On Mon, Mar 30, 2015 at 3:15 PM, Francois Lafont <flafdivers@xxxxxxx> 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@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]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux