Project

General

Profile

Support #21589 » ceph.conf

config - zheng liu, 09/28/2017 07:03 AM

 
[global]
fsid = c55f7e91-d2cc-41b9-bff3-bfa18a69ea2f
mon_initial_members = compute1, storage1, storage2, storage3
mon_host = 10.200.246.20,10.200.246.61,10.200.246.62,10.200.246.63
auth_cluster_required = cephx
auth_service_required = cephx
auth_client_required = cephx
public_network = 10.200.0.0/16

max open files = 100000
filestore_xattr_use_omap = true
osd pool default size = 3
osd pool default min size = 1
osd pool default pg num = 128
osd pool default pgp num = 128

[osd]
osd data = /var/lib/ceph/osd/$cluster-$id

osd_mkfs_options_xfs = -f
osd_mkfs_type = xfs
osd_mount_options_xfs = "rw,noexec,nodev,noatime,nodiratime,nobarrier"

filestore op threads = 12
filestore min sync interval = 5
filestore max sync interval = 10
filestore queue max ops = 10000
filestore queue max bytes = 10485760
filestore queue committing max ops = 5000
filestore queue committing max bytes = 10485760000

journal aio = true
journal dio = true
journal block align = true
journal max write bytes = 100000000
journal max write entries = 10000
journal queue max ops = 50000
journal queue max bytes = 10485760000
osd op threads = 4
osd disk threads = 4
osd map cache size = 1024
osd map cache bl size = 128

[mon]
mon_clock_drift_allowed = .50
mon osd full ratio = .90
mon osd nearfull ratio = .85
mon_osd_down_out_interval = 300
mon_osd_report_timeout = 150

[mgr]
mgr data = /var/lib/ceph/mgr/$cluster-$id

[client]
rbd cache = true
rbd cache writethrough until flush = true
rbd concurrent management ops = 20
log file = /var/log/qemu/qemu-guest.$pid.log
(5-5/6)