Re: Balancer Distribution Help

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

 



On 9/23/22 17:05, Wyll Ingersoll wrote:

When doing manual remapping/rebalancing with tools like pgremapper and placementoptimizer, what are the recommended settings for norebalance, norecover, nobackfill?
Should the balancer module be disabled if we are manually issuing the pg remap commands generated by those scripts so it doesn't interfere >
Something like this:

$ ceph osd set norebalance
$ ceph osd set norecover
$ ceph osd set nobackfill
$ ceph balancer off

$ pgremapper cancel-backfill --yes   # to stop all pending operations
$ placementoptimizer.py balance --max-pg-moves 100 | tee upmap-moves
$ bash upmap-moves

Disabling the manager is a good idea. After you are finished with placementoptimizer, it won't be able to do any work anyway, so you can safely turn it back on :-).

Setting the flags you suggested makes sense for the pgremapper phase. But as soon as everything is mapped back, you need to unset those. Because you need to be able to move data around when optimizing. So it won't work (might be a check on cluster state, not sure), or it only start moving data when you unset those flags.

Gr. Stefan
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[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