Ceph configuration file Explained

Source: Internet
Author: User
Tags auth min
[Global]
Fsid = dd68ab00-9133-4165-8746-ac660da24886
Auth Cluster required = Cephx
Auth Service required = Cephx
Auth Client required = Cephx
OSD Journal size = 4096
OSD Pool Default size = 3
OSD Pool default min size = 1
OSD Pool Default PG num = 512
OSD Pool default PGP num = 512
OSD Crush Chooseleaf type = 1
Public network = 186.22.122.0/22
Cluster network = 186.22.142.0/22

#文件队列的最大字节数 (the default value of 100mb,obs must be set to 250MB, which may cause the OSD start to fail frequently)
Filestore queue Max bytes = 250000000
#文件存储队列的最大操作数 (default value of 50,obs is used)
# Filestore Queue Max Ops = 100
#文件操作的最大并发线程数 (the default value of 1,obs should be set to 2)
Filestore OP threads = 2
#文件写磁盘的时间间隔 (the default value of 5,obs should be set to 3, and increasing the frequency of write disks can reduce the number of IO per write and reduce the chance of block)
Filestore Max Sync interval = 3
#xfs文件系统写磁盘的开始时间设置 (the default is 500, the small file store object-oriented storage should be set to 15, and when the number of IO accumulates to a certain number to start writing, the higher the number, the higher the chance of a block, but a low number will reduce the IOPS of the cluster)
Filestore_wbthrottle_xfs_ios_start_flusher = 15
#osd修复的最大线程数 (the default is 1, the small file store object-oriented storage should be set to 1, and the more threads are repaired, the greater the impact on the normal service delivery of the cluster)
Osd_recovery_threads = 1
#osd修复操作的优先级 (default 10, small file storage object-oriented storage should be set to 1)
osd_recovery_op_priority = 1
#osd一次可以接受的修复请求 (the default is 15, the small file store object-oriented storage should be set to 5, the more repair requests received at one time, the more images will be provided for the cluster's normal service)
Osd_recovery_max_active = 5
#一个OSD运行的最大的backfill操作数 (the default is 10, the small file store object-oriented storage should be set to 1, the more operands, the greater the impact on the normal service delivery of the cluster)
Osd_max_backfills = 1
OSD Crush Update on start = False
#是否开启leveldb的压缩功能 (the default value is True, the small file store object-oriented storage should be false and set to false to increase the response speed of the OSD)
Leveldb_compression=false

[Mon]
Mon Sync Trim Timeout = 15
Mon Sync Timeout = 10
Mon osd Full ratio =. 95
Mon osd Nearfull ration =. 90
Mon osd down out interval = 300
Mon OSD Report Timeout = 300
Mon osd min Down reporters = 2
Mon osd min Down reports = 4
Debug Paxos = 0/5

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.