diff --git a/ceph.bootstrap-mds.keyring b/ceph.bootstrap-mds.keyring deleted file mode 100644 index 3910053..0000000 --- a/ceph.bootstrap-mds.keyring +++ /dev/null @@ -1,3 +0,0 @@ -[client.bootstrap-mds] - key = AQB6NZhetXnfLxAA4ScY7SkN17gAApwrf1c6YQ== - caps mon = "allow profile bootstrap-mds" diff --git a/ceph.bootstrap-mgr.keyring b/ceph.bootstrap-mgr.keyring deleted file mode 100644 index 3c69ff3..0000000 --- a/ceph.bootstrap-mgr.keyring +++ /dev/null @@ -1,3 +0,0 @@ -[client.bootstrap-mgr] - key = AQB6NZhelMvfLxAAnpbv+Y8OVfOqTsND2O0YSg== - caps mon = "allow profile bootstrap-mgr" diff --git a/ceph.bootstrap-osd.keyring b/ceph.bootstrap-osd.keyring deleted file mode 100644 index a970ba0..0000000 --- a/ceph.bootstrap-osd.keyring +++ /dev/null @@ -1,3 +0,0 @@ -[client.bootstrap-osd] - key = AQB6NZhe0xvgLxAA5pCEhCmJVngI79KWgI2jxg== - caps mon = "allow profile bootstrap-osd" diff --git a/ceph.bootstrap-rgw.keyring b/ceph.bootstrap-rgw.keyring deleted file mode 100644 index f7e1e79..0000000 --- a/ceph.bootstrap-rgw.keyring +++ /dev/null @@ -1,3 +0,0 @@ -[client.bootstrap-rgw] - key = AQB6NZheHQrhLxAASiIuyDhOFEuFhONODB/9EA== - caps mon = "allow profile bootstrap-rgw" diff --git a/ceph.client.admin.keyring b/ceph.client.admin.keyring deleted file mode 100644 index 9001842..0000000 --- a/ceph.client.admin.keyring +++ /dev/null @@ -1,6 +0,0 @@ -[client.admin] - key = AQB6NZheIPneLxAAY9bTjMrIB/5aiGfUNPWb5A== - caps mds = "allow *" - caps mgr = "allow *" - caps mon = "allow *" - caps osd = "allow *" diff --git a/ceph.client.ceph.keyring b/ceph.client.ceph.keyring deleted file mode 100644 index 2ca07c2..0000000 --- a/ceph.client.ceph.keyring +++ /dev/null @@ -1,2 +0,0 @@ -[client.ceph] - key = AQCkyZheFbMuORAAZQRu9rmKIc4wF25L6Ag2iQ== diff --git a/ceph.conf b/ceph.conf index cd7adf8..7dd6278 100644 --- a/ceph.conf +++ b/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 diff --git a/ceph.mon.keyring b/ceph.mon.keyring deleted file mode 100644 index 9a66e30..0000000 --- a/ceph.mon.keyring +++ /dev/null @@ -1,3 +0,0 @@ -[mon.] -key = AQBbNZheAAAAABAAkpiJU4tecIMQ+MEvxvTz/A== -caps mon = allow *