|
[global]
|
|
; enable secure authentication
|
|
; auth supported = cephx
|
|
debug = 50
|
|
debug rados = 20
|
|
debug objector = 20
|
|
debug filer = 20
|
|
debug buffer = 20
|
|
debug finisher = 20
|
|
debug tp = 20
|
|
debug paxos = 20
|
|
debug ebofs = 20
|
|
debug lockdep = 20
|
|
debug bdev = 20
|
|
;debug timer = 20
|
|
pid file = /var/run/ceph/$name.pid
|
|
logger = 20
|
|
logger dir = /ceph/stat
|
|
log dir = /ceph
|
|
|
|
[client]
|
|
debug ms = 30
|
|
debug client = 20
|
|
debug objectcacher = 20
|
|
|
|
; monitors
|
|
; You need at least one. You need at least three if you want to
|
|
; tolerate any node failures. Always create an odd number.
|
|
[mon]
|
|
mon data = /data/mon$id
|
|
|
|
; logging, for debugging monitor crashes, in order of
|
|
; their likelihood of being helpful :)
|
|
debug ms = 30
|
|
debug mon = 20
|
|
debug paxos = 20
|
|
debug auth = 20
|
|
|
|
[mon.0]
|
|
host = mon0
|
|
mon addr = 10.28.5.10:6789
|
|
|
|
; mds
|
|
; You need at least one. Define two to get a standby.
|
|
[mds]
|
|
; where the mds keeps it's secret encryption keys
|
|
; keyring = /data/keyring.$name
|
|
|
|
; mds logging to debug issues.
|
|
debug ms = 30
|
|
debug mds = 20
|
|
debug mds balancer = 20
|
|
debug mds log = 20
|
|
debug mds migrator = 20
|
|
debug monc = 20
|
|
debug journaler = 20
|
|
|
|
[mds.0]
|
|
host = mds0
|
|
|
|
; osd
|
|
; You need at least one. Two if you want data to be replicated.
|
|
; Define as many as you like.
|
|
[osd]
|
|
; This is where the btrfs volume will be mounted.
|
|
osd data = /data/osd$id
|
|
|
|
; Ideally, make this a separate disk or partition. A few
|
|
; hundred MB should be enough; more if you have fast or many
|
|
; disks. You can use a file under the osd data dir if need be
|
|
; (e.g. /data/osd$id/journal), but it will be slower than a
|
|
; separate disk or partition.
|
|
osd journal = /data/journal/osd$id
|
|
osd journal size = 100
|
|
|
|
; osd logging to debug osd issues, in order of likelihood of being
|
|
; helpful
|
|
debug ms = 30
|
|
debug osd = 20
|
|
debug filestore = 20
|
|
debug journal = 20
|
|
debug monc = 20
|
|
|
|
[osd0]
|
|
host = osd0
|
|
|
|
; if 'btrfs devs' is not specified, you're responsible for
|
|
; setting up the 'osd data' dir. if it is not btrfs, things
|
|
; will behave up until you try to recover from a crash (which
|
|
; usually fine for basic testing).
|
|
#btrfs devs = /dev/sdb
|
|
|
|
[osd1]
|
|
host = osd1
|
|
#btrfs devs = /dev/sdb
|
|
[group everyone]
|
|
addr = 0.0.0.0/0
|
|
[mount /]
|
|
allow = %everyone
|