Skip to content

Instantly share code, notes, and snippets.

@kingcu
Created February 4, 2016 01:39
Show Gist options
  • Save kingcu/aae7373eb62ceb7579da to your computer and use it in GitHub Desktop.
Save kingcu/aae7373eb62ceb7579da to your computer and use it in GitHub Desktop.
[global]
auth cluster required = none
auth service required = none
auth client required = none
auth supported = none
fsid = 234C6825-0E2B-4256-A710-71D29F4F023E
max open files = 131072
osd pool default pg num = 512
osd pool default pgp num = 512
osd pool default size = 3
osd pool default min size = 1
osd pool default crush rule = 0
# Disable in-memory logs
debug_lockdep = 0/0
debug_context = 0/0
debug_crush = 0/0
debug_buffer = 0/0
debug_timer = 0/0
debug_filer = 0/0
debug_objecter = 0/0
debug_rados = 0/0
debug_rbd = 0/0
debug_journaler = 0/0
debug_objectcatcher = 0/0
debug_client = 0/0
debug_osd = 0/0
debug_optracker = 0/0
debug_objclass = 0/0
debug_filestore = 0/0
debug_journal = 0/0
debug_ms = 0/0
#debug ms = 1
debug_monc = 0/0
debug_tp = 0/0
debug_auth = 0/0
debug_finisher = 0/0
debug_heartbeatmap = 0/0
debug_perfcounter = 0/0
debug_asok = 0/0
debug_throttle = 0/0
debug_mon = 0/0
debug_paxos = 0/0
debug_rgw = 0/0
#debug rgw = 20
[client]
rbd cache = true
rbd cache writethrough until flush = true
admin socket = /var/run/ceph/$cluster-$type.$id.$pid.$cctid.asok # must be writable by QEMU and allowed by SELinux or AppArmor
log file = /var/log/qemu/qemu-guest-$pid.log # must be writable by QEMU and allowed by SELinux or AppArmor
[mon]
mon osd down out interval = 600
mon osd min down reporters = 7
mon pg warn max per osd = 360
mon osd report timeout = 300
mon osd nearfull ratio = 0.85
mon osd full ratio = 0.95
mon clock drift allowed = 0.15
mon clock drift warn backoff = 30
[mon.drexler]
host = drexler
mon addr = 10.0.0.36
[mon.lucy]
host = lucy
mon addr = 10.0.0.38
[mon.paley]
host = paley
mon addr = 10.0.0.34
[osd]
osd mkfs type = xfs
osd mkfs options xfs = -f -i size=2048
osd mount options xfs = noatime,largeio,inode64,swalloc
osd journal size = 20000
cluster_network = 10.0.1.0/24
public_network = 10.0.0.0/24
osd mon heartbeat interval = 30
# Performance tuning
filestore merge threshold = 40
filestore split multiple = 8
osd op threads = 8
osd disk threads = 2
filestore op threads = 2
filestore max sync interval = 5
osd max scrubs = 1
# Recovery tuning
osd recovery max active = 5
osd max backfills = 2
osd recovery op priority = 2
osd recovery max chunk = 1048576
osd recovery threads = 2
osd objectstore = filestore
osd crush update on start = true
[mds]
mds cache size = 250000
[mds.drexler]
host = drexler
[mds.lucy]
host = lucy
[client.radosgw.drexler]
rgw dns name = cos.ridewithgps.com
host = drexler
keyring = /etc/ceph/radosgw.drexler.keyring
rgw socket path = /tmp/radosgw-drexler.sock
log file = /var/log/ceph/radosgw-drexler.log
rgw data = /var/lib/ceph/radosgw/drexler
rgw print continue = false
rgw frontends = civetweb port=80
[client.radosgw.lucy]
rgw dns name = cos.ridewithgps.com
host = lucy
keyring = /etc/ceph/radosgw.lucy.keyring
rgw socket path = /tmp/radosgw-lucy.sock
log file = /var/log/ceph/radosgw-lucy.log
rgw data = /var/lib/ceph/radosgw/lucy
rgw print continue = false
rgw frontends = civetweb port=80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment