Re: [ceph-users] Is it possible to change the MDS node after its been created

2015-03-30 Thread Gregory Farnum
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


Re: [ceph-users] Is it possible to change the MDS node after its been created

2015-03-30 Thread Gregory Farnum
On Mon, Mar 30, 2015 at 1:51 PM, Steve Hindle mech...@gmail.com wrote:

 Hi!

   I mistakenly created my MDS node on the 'wrong' server a few months back.
 Now I realized I placed it on a machine lacking IPMI and would like to move
 it to another node in my cluster.

   Is it possible to non-destructively move an MDS ?

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. :)
-Greg
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


[ceph-users] Is it possible to change the MDS node after its been created

2015-03-30 Thread Steve Hindle
Hi!

  I mistakenly created my MDS node on the 'wrong' server a few months
back.  Now I realized I placed it on a machine lacking IPMI and would like
to move it to another node in my cluster.

  Is it possible to non-destructively move an MDS ?

Thanks!
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] Is it possible to change the MDS node after its been created

2015-03-30 Thread Francois Lafont
Gregory Farnum wrote:

 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.

Ok, and for just remove a mds I guess that commands above are enough. ;)

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

Yes, it seems logical. Thank you Greg. :)

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


Re: [ceph-users] Is it possible to change the MDS node after its been created

2015-03-30 Thread Francois Lafont
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 ?

--
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