Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

Created April 3, 2013 10:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/65c3e657cc7afa30001a to your computer and use it in GitHub Desktop.
Save anonymous/65c3e657cc7afa30001a to your computer and use it in GitHub Desktop.
[global]
; use cephx or none
auth supported = cephx ; ceph < 0.51
#auth cluster required = cephx ; ceph >= 0.51
#auth service required = cephx ; ceph >= 0.51
#auth client required = cephx ; ceph >= 0.51
keyring = /etc/ceph/keyring.admin
rbd cache = true
[client.radosgw.gateway]
host = hv-01
keyring = /etc/ceph/keyring.radosgw.gateway
rgw socket path = /tmp/radosgw.sock
log file = /var/log/ceph/radosgw.log
[osd]
osd data = /disk/$id/osd
osd journal = /disk/$id/journal
journal size = 4096000
keyring = /etc/ceph/keyring.$name
; working with ext4
filestore xattr use omap = true
; solve rbd data corruption
filestore fiemap = false
[osd.101]
host = cl-01
[osd.102]
host = cl-01
[osd.103]
host = cl-01
[osd.201]
host = cl-02
[osd.202]
host = cl-02
[osd.203]
host = cl-02
[osd.301]
host = cl-03
[osd.302]
host = cl-03
[osd.303]
host = cl-03
[mon]
mon data = /mons/mon$id
[mon.1]
host = cl-01
mon addr = 192.168.1.1:6789
[mon.2]
host = cl-02
mon addr = 192.168.1.2:6789
[mon.3]
host = cl-03
mon addr = 192.168.1.3:6789
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment