Use cases for plankton-swarm #2
laimis9133
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Starting a thread just to show off some examples where this small manual balancer can be used.
Feel free to add, I'm just sharing where have used it succesfully.
Use it as a regular hourly cron to balance out any overfilling OSDs. Keep a balancer log to review.
0 */1 * * * plankton-swarm.sh source-osds gt85 all target-osds lt75 pgs 2 >> balancer.log 2>&1 && bash swarm-file
When replacing disks or whole nodes, use it to move additional data once degraded backfilling completes.
0 */3 * * * plankton-swarm.sh source-osds top 10 target-osds osd.1,osd.2,osd.3 pgs 5 >> balancer.log 2>&1 && bash swarm-file
I know I know - CRUSH weights could do that for you.
Beta Was this translation helpful? Give feedback.
All reactions