longsube

ceph.conf (compute node)

Dec 30th, 2015
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.31 KB | None | 0 0
  1. [global]
  2. fsid = 31154d30-b0d3-4411-9178-0bbe367a4567
  3. public network = 10.10.20.0/23
  4. cluster network = 10.10.10.0/23
  5. auth_cluster_required = cephx
  6. auth_service_required = cephx
  7. auth_client_required = cephx
  8. filestore_xattr_use_omap = true
  9.  
  10.  
  11. osd pool default min size = 1
  12. osd pool default pg num = 128
  13. osd pool default pgp num = 128
  14. osd journal size = 10000
  15.  
  16. [mon]
  17. mon host = ceph1, ceph2, ceph3
  18. mon initial members = ceph1, ceph2, ceph3
  19.  
  20. [mon.ceph1]
  21. host = ceph1
  22. mon addr = 10.10.21.50
  23.  
  24. [mon.ceph2]
  25. host = ceph2
  26. mon addr = 10.10.21.51
  27.  
  28. [mon.ceph3]
  29. host = ceph3
  30. mon addr = 10.10.21.52
  31.  
  32. [osd]
  33. osd crush update on start = false
  34.  
  35. [osd.0]
  36. host = ceph1
  37. public addr = 10.10.21.50
  38. cluster addr = 10.10.11.50
  39.  
  40. [client]
  41. rbd cache = true
  42. rbd cache writethrough until flush = true
  43. admin socket = /var/run/ceph/guests/rbd-$pid.asok
  44. log file = /var/log/qemu/qemu-guest-$pid.log
  45. rbd concurrent management ops = 20
  46. rbd default format = 2
  47.  
  48. rbd readahead trigger requests = 10
  49. rbd readahead max bytes = 524288
  50. rbd readahead disable after bytes = 52428800
  51.  
  52.  
  53. [client.glance]
  54. keyring = /etc/ceph/ceph.client.glance.keyring
  55.  
  56. [client.cinder]
  57. keyring = /etc/ceph/ceph.client.cinder.keyring
  58.  
  59. [client.cinder-backup]
  60. keyring = /etc/ceph/ceph.client.cinder-backup.keyring
Advertisement
Add Comment
Please, Sign In to add comment