- [global]
- # For version 0.55 and beyond, you must explicitly enable
- # or disable authentication with "auth" entries in [global].
- auth cluster required = none
- auth service required = none
- auth client required = none
- [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 = xfs
- osd mkfs options xfs = -f # default for xfs is "-f"
- osd mount options xfs = rw,noatime # 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 = compute-01
- mon addr = 192.168.4.165:6789
- [osd.0]
- host = compute-02
- # 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 = /dev/sda7
- [mds.a]
- host = compute-01
Ubuntu 12.04 Ceph分布式文件系统之部署
最新推荐文章于 2023-10-10 19:23:07 发布