reset-new

This commit is contained in:
2020-03-16 15:24:49 +01:00
parent 8210a52c51
commit ef793768da
7 changed files with 44 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
[client.bootstrap-mds]
key = AQACjG9ezu7qHRAA4x8O0LWW/Iv1kk3LcxsSUw==
caps mon = "allow profile bootstrap-mds"

View File

@@ -0,0 +1,3 @@
[client.bootstrap-mgr]
key = AQACjG9eMEDrHRAAEq5BZTV+Pxn1ONEzOaiO0A==
caps mon = "allow profile bootstrap-mgr"

View File

@@ -0,0 +1,3 @@
[client.bootstrap-osd]
key = AQACjG9esIzrHRAAnEI6Zvk6w/KF+Kh4XGJ2tg==
caps mon = "allow profile bootstrap-osd"

View File

@@ -0,0 +1,3 @@
[client.bootstrap-rgw]
key = AQACjG9e+nPsHRAATxfsHKbKgQyoNUE+6wzAng==
caps mon = "allow profile bootstrap-rgw"

View File

@@ -0,0 +1,6 @@
[client.admin]
key = AQACjG9e2HbqHRAAeKI0XXHCu0sGwhtqHG7/6g==
caps mds = "allow *"
caps mgr = "allow *"
caps mon = "allow *"
caps osd = "allow *"

23
ceph.conf Normal file
View File

@@ -0,0 +1,23 @@
[global]
fsid = 2ad12020-b1fe-4b3d-aab7-c62a6e605bc1
#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
osd_memory_target = 536870912 #512Mb
bluestore_cache_autotune = false
bluestore_cache_size = 52428800
bluestore_cache_size_hdd = 5242880
bluestore_cache_size_ssd = 5242880
bluestore_cache_kv_max = 67108864

3
ceph.mon.keyring Normal file
View File

@@ -0,0 +1,3 @@
[mon.]
key = AQCli29eAAAAABAAtNcSXfuMZsgxA46cfTQeFw==
caps mon = allow *