mirror of
https://github.com/ceph/ceph
synced 2024-12-16 00:15:35 +00:00
7e7130daf4
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
61 lines
1.9 KiB
Plaintext
61 lines
1.9 KiB
Plaintext
[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
|
|
|
|
[osd]
|
|
osd journal size = 1000
|
|
|
|
#The following assumes ext4 filesystem.
|
|
filestore xattr use omap = true
|
|
|
|
|
|
# For Bobtail (v 0.56) and subsequent versions, you may
|
|
# add settings for mkcephfs so that it will create and mount
|
|
# the file system on a particular OSD for you. Remove the comment `#`
|
|
# character for the following settings and replace the values
|
|
# in braces with appropriate values, or leave the following settings
|
|
# commented out to accept the default values. You must specify the
|
|
# --mkfs option with mkcephfs in order for the deployment script to
|
|
# utilize the following settings, and you must define the 'devs'
|
|
# option for each osd instance; see below.
|
|
|
|
#osd mkfs type = {fs-type}
|
|
#osd mkfs options {fs-type} = {mkfs options} # default for xfs is "-f"
|
|
#osd mount options {fs-type} = {mount options} # default mount option is "rw,noatime"
|
|
|
|
# For example, for ext4, the mount option might look like this:
|
|
|
|
#osd mkfs options ext4 = user_xattr,rw,noatime
|
|
|
|
# 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.
|
|
|
|
[mon.a]
|
|
|
|
host = {hostname}
|
|
mon addr = {ip-address}:6789
|
|
|
|
[osd.0]
|
|
host = {hostname}
|
|
|
|
# For Bobtail (v 0.56) and subsequent versions, you may
|
|
# add settings for mkcephfs so that it will create and mount
|
|
# the file system on a particular OSD for you. Remove the comment `#`
|
|
# character for the following setting for each OSD and specify
|
|
# a path to the device if you use mkcephfs with the --mkfs option.
|
|
|
|
#devs = {path-to-device}
|
|
|
|
[osd.1]
|
|
host = {hostname}
|
|
#devs = {path-to-device}
|
|
|
|
[mds.a]
|
|
host = {hostname} |