Re: Adding node efficient data move.

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

 



I've heard you can do that with the manager service for balancing your cluster. You can set the maximum amount of misplaced objects you want and the service will add in the new node until it's balanced without moving more data than your settings specify at any time.

On Sat, Sep 1, 2018, 6:35 AM Marc Roos <M.Roos@xxxxxxxxxxxxxxxxx> wrote:


When adding a node and I increment the crush weight like this. I have
the most efficient data transfer to the 4th node?

sudo -u ceph ceph osd crush reweight osd.23 1
sudo -u ceph ceph osd crush reweight osd.24 1
sudo -u ceph ceph osd crush reweight osd.25 1
sudo -u ceph ceph osd crush reweight osd.26 1
sudo -u ceph ceph osd crush reweight osd.27 1
sudo -u ceph ceph osd crush reweight osd.28 1
sudo -u ceph ceph osd crush reweight osd.29 1

And then after recovery

sudo -u ceph ceph osd crush reweight osd.23 2
sudo -u ceph ceph osd crush reweight osd.24 2
sudo -u ceph ceph osd crush reweight osd.25 2
sudo -u ceph ceph osd crush reweight osd.26 2
sudo -u ceph ceph osd crush reweight osd.27 2
sudo -u ceph ceph osd crush reweight osd.28 2
sudo -u ceph ceph osd crush reweight osd.29 2

And then after recovery

sudo -u ceph ceph osd crush reweight osd.23 3
sudo -u ceph ceph osd crush reweight osd.24 3
sudo -u ceph ceph osd crush reweight osd.25 3
sudo -u ceph ceph osd crush reweight osd.26 3
sudo -u ceph ceph osd crush reweight osd.27 3
sudo -u ceph ceph osd crush reweight osd.28 3
sudo -u ceph ceph osd crush reweight osd.29 3

Etc.

_______________________________________________
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