Fix some bugs when testing opensds ansible
[stor4nfv.git] / src / ceph / doc / rados / configuration / demo-ceph.conf
1 [global]
2 fsid = {cluster-id}
3 mon initial members = {hostname}[, {hostname}]
4 mon host = {ip-address}[, {ip-address}]
5
6 #All clusters have a front-side public network.
7 #If you have two NICs, you can configure a back side cluster 
8 #network for OSD object replication, heart beats, backfilling,
9 #recovery, etc.
10 public network = {network}[, {network}]
11 #cluster network = {network}[, {network}] 
12
13 #Clusters require authentication by default.
14 auth cluster required = cephx
15 auth service required = cephx
16 auth client required = cephx
17
18 #Choose reasonable numbers for your journals, number of replicas
19 #and placement groups.
20 osd journal size = {n}
21 osd pool default size = {n}  # Write an object n times.
22 osd pool default min size = {n} # Allow writing n copy in a degraded state.
23 osd pool default pg num = {n}
24 osd pool default pgp num = {n}
25
26 #Choose a reasonable crush leaf type.
27 #0 for a 1-node cluster.
28 #1 for a multi node cluster in a single rack
29 #2 for a multi node, multi chassis cluster with multiple hosts in a chassis
30 #3 for a multi node cluster with hosts across racks, etc.
31 osd crush chooseleaf type = {n}