2012-05-01 02:03:53 +00:00
|
|
|
[global]
|
2014-06-12 18:35:27 +00:00
|
|
|
fsid = {cluster-id}
|
2020-12-15 06:02:31 +00:00
|
|
|
mon_initial_ members = {hostname}[, {hostname}]
|
|
|
|
mon_host = {ip-address}[, {ip-address}]
|
2014-06-12 18:35:27 +00:00
|
|
|
|
|
|
|
#All clusters have a front-side public network.
|
2020-12-15 06:02:31 +00:00
|
|
|
#If you have two network interfaces, you can configure a private / cluster
|
|
|
|
#network for RADOS object replication, heartbeats, backfill,
|
2014-06-12 18:35:27 +00:00
|
|
|
#recovery, etc.
|
2020-12-15 06:02:31 +00:00
|
|
|
public_network = {network}[, {network}]
|
|
|
|
#cluster_network = {network}[, {network}]
|
2014-06-12 18:35:27 +00:00
|
|
|
|
|
|
|
#Clusters require authentication by default.
|
2020-12-15 06:02:31 +00:00
|
|
|
auth_cluster_required = cephx
|
|
|
|
auth_service_required = cephx
|
|
|
|
auth_client_required = cephx
|
2014-06-12 18:35:27 +00:00
|
|
|
|
2020-12-15 06:02:31 +00:00
|
|
|
#Choose reasonable numbers for journals, number of replicas
|
2014-06-12 18:35:27 +00:00
|
|
|
#and placement groups.
|
2020-12-15 06:02:31 +00:00
|
|
|
osd_journal_size = {n}
|
|
|
|
osd_pool_default_size = {n} # Write an object n times.
|
|
|
|
osd_pool_default_min size = {n} # Allow writing n copy in a degraded state.
|
|
|
|
osd_pool_default_pg num = {n}
|
|
|
|
osd_pool_default_pgp num = {n}
|
2014-06-12 18:35:27 +00:00
|
|
|
|
|
|
|
#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.
|
2020-12-15 06:02:31 +00:00
|
|
|
osd_crush_chooseleaf_type = {n}
|