This repository has been archived on 2025-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
Files
Ceph/ceph.conf
2020-03-18 18:06:52 +01:00

27 lines
996 B
Plaintext

[global]
fsid = f33952a3-e074-458b-9ce8-e0e035a2f8c4
#ms_bind_ipv6 = true
mon_initial_members = pine01, pine02
mon_host = [v2:192.168.10.160:3300,v1:192.168.10.160:6789], [v2:192.168.10.161:3300,v1:192.168.10.161:6789]
auth_cluster_required = cephx
auth_service_required = cephx
auth_client_required = cephx
public network = 192.168.10.0/24
cluster network = 10.255.255.0/27
osd pool default pg num = 8
osd pool default pgp num = 8
osd pool default size = 2 # Write an object 3 times.
osd pool default min size = 1 # Allow writing two copies in a degraded state.
osd max backfills = 1
#50mb / 5mb / 64mb
mon_osd_cache_size_min = 134217728 #default 128Mb
osd_memory_target = 134217728 #128 Mb/ 5 sata ports
osd_memory_base = 134217728 #128 Mb/ 5 sata ports
osd_memory_cache_min = 67108864 #64Mb
bluestore_cache_autotune = true
bluestore_cache_size = 52428800
bluestore_cache_size_hdd = 5242880
bluestore_cache_size_ssd = 5242880
#bluestore_cache_kv_max = 67108864
rocksdb_cache_size = 5242880