Project

General

Profile

Bug #49110 » ceph.conf

Andreas Buschmann, 02/02/2021 05:28 PM

 
[global]
fsid = f28d72da-7599-426a-b39f-dda7656bc092
mon_initial_members = ceph-mon-001, ceph-mon-002, ceph-mon-003
mon_host = 10.173.20.41,10.173.20.42,10.173.20.43
auth_cluster_required = cephx
auth_service_required = cephx
auth_client_required = cephx

public network = 10.173.20.0/24
cluster network = 10.173.21.0/24

#Choose reasonable numbers for number of replicas and placement groups.
osd pool default size = 3 # Write an object 3 times
osd pool default min size = 2 # Allow writing 2 copy in a degraded state
osd pool default pg num = 8192 # 8192 is good for up to 300 disks
osd pool default pgp num = 8192
#Choose a reasonable crush leaf type
#0 for a 1-node cluster.
#1 for a multi node cluster in a single rack
#2 for a multi node, multi chassis cluster with multiple hosts in a chassis
#3 for a multi node cluster with hosts across racks, etc.
osd crush chooseleaf type = 1

(3-3/14)