2012-12-19 21:45:34 +00:00
|
|
|
[global]
|
|
|
|
|
|
|
|
# For version 0.55 and beyond, you must explicitly enable
|
|
|
|
# or disable authentication with "auth" entries in [global].
|
|
|
|
|
|
|
|
auth cluster required = cephx
|
|
|
|
auth service required = cephx
|
|
|
|
auth client required = cephx
|
|
|
|
|
2012-07-03 18:21:43 +00:00
|
|
|
[osd]
|
|
|
|
osd journal size = 1000
|
2012-12-19 21:45:34 +00:00
|
|
|
|
|
|
|
#The following assumes ext4 filesystem.
|
2012-07-03 18:21:43 +00:00
|
|
|
filestore xattr use omap = true
|
2012-12-21 18:15:38 +00:00
|
|
|
|
|
|
|
|
2014-04-08 21:34:15 +00:00
|
|
|
# For ceph-deploy, you can control what type of file system
|
|
|
|
# is created via these options.
|
2012-12-19 21:45:34 +00:00
|
|
|
|
2012-12-21 22:04:30 +00:00
|
|
|
#osd mkfs type = {fs-type}
|
2013-01-24 21:13:03 +00:00
|
|
|
#osd mkfs options {fs-type} = {mkfs options} # default for xfs is "-f"
|
2013-01-24 20:46:49 +00:00
|
|
|
#osd mount options {fs-type} = {mount options} # default mount option is "rw,noatime"
|
|
|
|
|
2013-01-24 21:13:03 +00:00
|
|
|
# For example, for ext4, the mount option might look like this:
|
|
|
|
|
2013-01-24 20:46:49 +00:00
|
|
|
#osd mkfs options ext4 = user_xattr,rw,noatime
|
2012-07-03 18:21:43 +00:00
|
|
|
|
2012-08-28 17:01:20 +00:00
|
|
|
# Execute $ hostname to retrieve the name of your host,
|
|
|
|
# and replace {hostname} with the name of your host.
|
|
|
|
# For the monitor, replace {ip-address} with the IP
|
|
|
|
# address of your host.
|
|
|
|
|
2012-07-03 18:21:43 +00:00
|
|
|
[mon.a]
|
2012-08-28 17:01:20 +00:00
|
|
|
|
|
|
|
host = {hostname}
|
|
|
|
mon addr = {ip-address}:6789
|
2012-07-03 18:21:43 +00:00
|
|
|
|
|
|
|
[osd.0]
|
2012-08-28 17:01:20 +00:00
|
|
|
host = {hostname}
|
2012-12-21 18:15:38 +00:00
|
|
|
|
2012-07-03 18:21:43 +00:00
|
|
|
[osd.1]
|
2012-08-28 17:01:20 +00:00
|
|
|
host = {hostname}
|
2012-07-03 18:21:43 +00:00
|
|
|
|
|
|
|
[mds.a]
|
2012-08-28 17:01:20 +00:00
|
|
|
host = {hostname}
|