2 # Unique ID for the cluster.
4 # Public network where the monitor is connected to, i.e, 128.224.0.0/16
5 #public network = 127.0.0.1/24
6 # For version 0.55 and beyond, you must explicitly enable
7 # or disable authentication with "auth" entries in [global].
8 auth_cluster_required = cephx
9 auth_service_required = cephx
10 auth_client_required = cephx
11 osd_journal_size = 1024
13 # Uncomment the following line if you are mounting with ext4
14 # filestore xattr use omap = true
16 # Number of replicas of objects. Write an object 2 times.
17 # Cluster cannot reach an active + clean state until there's enough OSDs
18 # to handle the number of copies of an object. In this case, it requires
20 osd_pool_default_size = 2
22 # Allow writing one copy in a degraded state.
23 osd_pool_default_min_size = 1
25 # Ensure you have a realistic number of placement groups. We recommend
26 # approximately 100 per OSD. E.g., total number of OSDs multiplied by 100
27 # divided by the number of replicas (i.e., osd pool default size). So for
28 # 2 OSDs and osd pool default size = 2, we'd recommend approximately
29 # (100 * 2) / 2 = 100.
30 osd_pool_default_pg_num = 64
31 osd_pool_default_pgp_num = 64
32 osd_crush_chooseleaf_type = 1
33 setuser match path = /var/lib/ceph/$type/$cluster-$id
35 # Override Jewel default of 2 reporters. StarlingX has replication factor 2
36 mon_osd_min_down_reporters = 1
38 # Use Hammer's report interval default value
39 osd_mon_report_interval_max = 120
41 # Configure max PGs per OSD to cover worst-case scenario of all possible
42 # StarlingX deployments i.e. AIO-SX with one OSD. Otherwise using
43 # the default value provided by Ceph Mimic leads to "too many PGs per OSD"
44 # health warning as the pools needed by stx-openstack are being created.
45 mon_max_pg_per_osd = 2048
46 osd_max_pg_per_osd_hard_ratio = 1.2
50 osd_mkfs_options_xfs = "-f"
51 osd_mount_options_xfs = "rw,noatime,inode64,logbufs=8,logbsize=256k"
54 mon warn on legacy crush tunables = false
55 # Quiet new warnings on move to Hammer
56 mon pg warn max per osd = 2048
57 mon pg warn max object skew = 0
58 mgr initial modules = restful