Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ###############################
- # #
- # Ceph-Konfigurationsdatei #
- # #
- ###############################
- ; global
- [global]
- ; enable secure authentication
- ; auth supported = cephx
- ; 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
- ; some minimal logging (just message traffic) to aid debugging
- debug ms = 1
- [mon0]
- host = ceph0
- mon addr = 10.1.9.40:6789
- [mon1]
- host = ceph1
- mon addr = 10.1.9.41:6789
- [mon2]
- host = ceph2
- mon addr = 10.1.9.42:6789
- ; mds
- ; You need at least one. Define two to get a standby.
- [mds]
- ; where the mds keeps its secret encryption keys
- keyring = /data/keyring.$name
- [mds.0]
- host = ceph0
- mds standby replay = true
- mds standby for name = ceph1
- [mds.1]
- host = ceph1
- mds standby replay = true
- mds standby for name = ceph2
- [mds.2]
- host = ceph2
- mds standby replay = true
- mds standby for name = ceph3
- [mds.3]
- host = ceph3
- mds standby replay = true
- mds standby for name = ceph0
- ; 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 GB
- ; is usually enough; more if you have fast 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/osd$id/journal
- ; If the OSD journal is a file, you need to specify the size. This is specified in MB.
- osd journal size = 512
- [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).
- host = ceph0
- osd data = /dev/sda6
- [osd1]
- host = ceph1
- osd data = /dev/sda6
- [osd2]
- host = ceph2
- osd data = /dev/sda6
- [osd3]
- host = ceph3
- osd data = /dev/sda6
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement