1

add ceph maint. helpers

This commit is contained in:
eleksir
2017-07-17 16:30:13 +03:00
parent e6c8a7c676
commit a29223b97f
4 changed files with 256 additions and 0 deletions

14
prio-recovery.sh Normal file
View File

@@ -0,0 +1,14 @@
#!/bin/bash
OSD="$1"
if [ "$OSD" = "" ]; then
echo "OSD ID is not set"
exit 0
fi
ceph tell osd.$OSD injectargs '--osd_recovery_op_priority 10'
ceph tell osd.$OSD injectargs '--osd_recovery_threads 10'
ceph tell osd.$OSD injectargs '--osd_recovery_max_active 3'
ceph tell osd.$OSD injectargs '--osd_max_backfills 10'