Advertisement
ChrRaible

Untitled

May 9th, 2011
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.89 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 = nebula1
  30. mon addr = 10.1.9.41:6789
  31.  
  32.  
  33. ; mds
  34. ; You need at least one. Define two to get a standby.
  35. [mds]
  36. ; where the mds keeps it's secret encryption keys
  37. ;keyring = /data/keyring.$name
  38.  
  39. ; mds logging to debug issues.
  40. ;debug ms = 1
  41. ;debug mds = 20
  42.  
  43. [mds.nebula0]
  44. host = nebula1
  45. ;debug ms = 1
  46. ;debug mds = 20
  47.  
  48. ;[mds.nebula1]
  49. ; host = nebula1
  50.  
  51. ;[mds.nebula2]
  52. ; host = nebula2
  53.  
  54. ; osd
  55. ; You need at least one. Two if you want data to be replicated.
  56. ; Define as many as you like.
  57. [osd]
  58. ; This is where the btrfs volume will be mounted.
  59. osd data = /data/osd$id
  60.  
  61. ; Ideally, make this a separate disk or partition. A few
  62. ; hundred MB should be enough; more if you have fast or many
  63. ; disks. You can use a file under the osd data dir if need be
  64. ; (e.g. /data/osd$id/journal), but it will be slower than a
  65. ; separate disk or partition.
  66. btrfs devs = /dev/sda5
  67.  
  68.  
  69. ; This is an example of a file-based journal.
  70.  
  71. ; osd logging to debug osd issues, in order of likelihood of being
  72. ; helpful
  73. ;debug ms = 1
  74. ;debug osd = 20
  75. ;debug filestore = 20
  76. ;debug journal = 20
  77.  
  78. [osd.0]
  79. host = nebula1
  80. btrfs devs = /dev/sda6
  81.  
  82. [osd.1]
  83. host = nebula2
  84. btrfs devs = /dev/sda6
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement