Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; global
- [global]
- ; enable secure authentication
- ;auth supported = cephx
- ; allow ourselves to open a lot of files
- max open files = 131072
- ; set up logging
- log file = /var/log/ceph/$name.log
- ; set up pid files
- pid file = /var/run/ceph/$name.pid
- ; 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 = 1
- ;debug mon = 20
- ;debug paxos = 20
- ;debug auth = 20
- [mon.0]
- host = nebula1
- mon addr = 10.1.9.41: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 = 1
- ;debug mds = 20
- [mds.nebula0]
- host = nebula1
- ;debug ms = 1
- ;debug mds = 20
- ;[mds.nebula1]
- ; host = nebula1
- ;[mds.nebula2]
- ; host = nebula2
- ; 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.
- btrfs devs = /dev/sda5
- ; This is an example of a file-based journal.
- ; osd logging to debug osd issues, in order of likelihood of being
- ; helpful
- ;debug ms = 1
- ;debug osd = 20
- ;debug filestore = 20
- ;debug journal = 20
- [osd.0]
- host = nebula1
- btrfs devs = /dev/sda6
- [osd.1]
- host = nebula2
- btrfs devs = /dev/sda6
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement