yeah
This commit is contained in:
77
ceph.conf
77
ceph.conf
@@ -1,10 +1,73 @@
|
||||
|
||||
[global]
|
||||
fsid = f33952a3-e074-458b-9ce8-e0e035a2f8c4
|
||||
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]
|
||||
mon_initial_members = pine01, pine02
|
||||
cluster_network = 10.255.255.0/27
|
||||
public_network = 192.168.10.0/24
|
||||
fsid = f33952a3-e074-458b-9ce8-e0e035a2f8c4
|
||||
log to file = false
|
||||
log to stderr = false
|
||||
log to syslog = false
|
||||
err to syslog = false
|
||||
#clog to syslog = true
|
||||
#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]
|
||||
#mon_initial_members = pine01, pine02, pine03
|
||||
#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], [v2:192.168.10.19:3300,v1:192.168.10.19:6789]
|
||||
auth_cluster_required = cephx
|
||||
auth_service_required = cephx
|
||||
auth_client_required = cephx
|
||||
#auth cluster required = none
|
||||
#auth service required = none
|
||||
#auth client required = none
|
||||
public network = 192.168.10.0/24
|
||||
cluster network = 10.255.255.0/27
|
||||
# MON
|
||||
#mon memory target = 1073741824
|
||||
mon memory target = 1610612736
|
||||
mon osd cache size min = 134217728 #default 128Mb
|
||||
mon pg warn min per osd = 10
|
||||
|
||||
#OSD
|
||||
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 = 2
|
||||
|
||||
#MEM
|
||||
#50mb / 5mb / 64mb
|
||||
osd memory target = 134217728 #128 Mb/ 5 sata ports
|
||||
osd memory base = 67108864 #64MV 134217728 #128 Mb/ 5 sata ports
|
||||
osd memory cache min = 33554432#32Mb 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 = 268435456
|
||||
bluestore rocksdb options = compression=kNoCompression,max_write_buffer_number=4,min_write_buffer_number_to_merge=1,recycle_log_file_num=4,write_buffer_size=67108864,writable_file_max_buffer_size=0,compaction_readahead_size=2097152,max_background_compactions=2
|
||||
#LOGGING off
|
||||
debug ms = 0/0
|
||||
debug rados = 0/0
|
||||
debug rgw = 0/0
|
||||
debug rbd = 0/0
|
||||
debug mgr = 0/0
|
||||
debug bluestore = 0/0
|
||||
debug bluefs = 0/0
|
||||
debug rocksdb = 0/0
|
||||
|
||||
[mon]
|
||||
cluster_log_file_level = warn
|
||||
debug mon = 0/0
|
||||
debug paxos = 0/0
|
||||
debug auth = 0/0
|
||||
cluster log file level = warn
|
||||
mon cluster log to file = false
|
||||
|
||||
[osd]
|
||||
debug osd = 0/0
|
||||
debug filestore = 0/0
|
||||
debug journal = 0/0
|
||||
debug monc = 0/0
|
||||
debug ms = 0/0
|
||||
|
||||
[mds]
|
||||
debug mds = 0/0
|
||||
debug mds balancer = 0/0
|
||||
mds cache memory limit = 536870912
|
||||
|
||||
Reference in New Issue
Block a user