Hi Erich!

Yes, in most cases the mgr-balancer will happily accept jj-balancer movements 
and neither reverts nor worsens its optimizations.
It just generates new upmap items or removes existing ones, just like the 
mgr-balancer (which has to be in upmap mode of course).
So the intended usage is that you can run the script from time to time, yes, 
expecially when your cluster changes, pgs are moved due to failures, ...
A continuous mode is yet to be implemented :)

You can see (I think) best with prometheus/grafana how things are going, and 
with `show --osds --sort-utilization`.

I hope it's useful for you, maybe you can report back your experience!

-- Jonas

On 25/10/2021 17.23, E Taka wrote:
> Hi Jonas, 
> I'm impressed, Thanks!
> 
> I have a question about the usage: do I have to turn off the automatic 
> balancing feature (ceph balancer off)? Do the upmap balancer and your 
> customizations get in each other's way, or can I run your script from time to 
> time?
> 
> Thanks
> Erich

_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to