Last active
August 1, 2016 14:53
-
-
Save JohnPreston/eae6cf9f6d312192781fa8298c42f169 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Exemple CEPH.conf file with a bit of tunning around scrubing. | |
# very short intervals were to prove that scrubbing could be done every hour but isnt happening because of begin and end time of day settings | |
[global] | |
fsid = ef66f3c8-2cbe-4195-8fbc-bc2b14ba6d69 | |
public_network = 192.168.100.0/24 | |
cluster_network = 192.168.101.0/24 | |
mon_initial_members = nc-0 | |
mon_host = 192.168.100.3 | |
auth_cluster_required = cephx | |
auth_service_required = cephx | |
auth_client_required = cephx | |
## OSD | |
[osd] | |
# Scrubbing tuning | |
osd max scrubs = 1 | |
osd scrub begin hour = 9 | |
osd scrub end hour = 12 | |
osd scrub min interval = 3600 | |
osd scrub max interval = 172800 | |
# Operations tuning | |
osd disk thread ioprio class = idle | |
# Only works if you set cfq as the IO scheduler for the data disk of your OSD. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment