Advertisement
ChrRaible

Untitled

May 3rd, 2011
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.20 KB | None | 0 0
  1. ; global
  2. [global]
  3. ; enable secure authentication
  4. auth supported = cephx
  5.  
  6. ; allow ourselves to open a lot of files
  7. max open files = 131072
  8.  
  9. ; set up logging
  10. log file = /var/log/ceph/$name.log
  11.  
  12. ; set up pid files
  13. pid file = /var/run/ceph/$name.pid
  14.  
  15. ; monitors
  16. ; You need at least one. You need at least three if you want to
  17. ; tolerate any node failures. Always create an odd number.
  18. [mon]
  19. mon data = /data/mon$id
  20.  
  21. ; logging, for debugging monitor crashes, in order of
  22. ; their likelihood of being helpful :)
  23. ;debug ms = 1
  24. ;debug mon = 20
  25. ;debug paxos = 20
  26. ;debug auth = 20
  27.  
  28. [mon.0]
  29. host = ceph0
  30. mon addr = 10.1.9.45:6789
  31.  
  32. [mon.1]
  33. host = ceph1
  34. mon addr = 10.1.9.46:6789
  35.  
  36. [mon.2]
  37. host = ceph2
  38. mon addr = 10.1.9.47:6789
  39.  
  40. ; mds
  41. ; You need at least one. Define two to get a standby.
  42. [mds]
  43. ; where the mds keeps it's secret encryption keys
  44. keyring = /data/keyring.$name
  45.  
  46. ; mds logging to debug issues.
  47. ;debug ms = 1
  48. ;debug mds = 20
  49.  
  50. [mds.ceph0]
  51. host = ceph0
  52.  
  53. [mds.ceph1]
  54. host = ceph1
  55.  
  56. ; osd
  57. ; You need at least one. Two if you want data to be replicated.
  58. ; Define as many as you like.
  59. [osd]
  60. ; This is where the btrfs volume will be mounted.
  61. osd data = /data/osd$id
  62.  
  63. ; Ideally, make this a separate disk or partition. A few
  64. ; hundred MB should be enough; more if you have fast or many
  65. ; disks. You can use a file under the osd data dir if need be
  66. ; (e.g. /data/osd$id/journal), but it will be slower than a
  67. ; separate disk or partition.
  68.  
  69. ; This is an example of a file-based journal.
  70. osd journal = /data/osd$id/journal
  71. osd journal size = 500 ; journal size, in megabytes
  72.  
  73. ; osd logging to debug osd issues, in order of likelihood of being
  74. ; helpful
  75. ;debug ms = 1
  76. ;debug osd = 20
  77. ;debug filestore = 20
  78. ;debug journal = 20
  79.  
  80. [osd.0]
  81. host = ceph0
  82.  
  83. ; if 'btrfs devs' is not specified, you're responsible for
  84. ; setting up the 'osd data' dir. if it is not btrfs, things
  85. ; will behave up until you try to recover from a crash (which
  86. ; usually fine for basic testing).
  87. devs = /dev/sda1
  88.  
  89. [osd.1]
  90. host = ceph1
  91. devs = /dev/sda1
  92.  
  93. [osd.2]
  94. host = ceph2
  95. devs = /dev/sda1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement