]> git.proxmox.com Git - ceph.git/blame - ceph/doc/rados/configuration/demo-ceph.conf
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / doc / rados / configuration / demo-ceph.conf
CommitLineData
7c673cae
FG
1[global]
2fsid = {cluster-id}
3mon initial members = {hostname}[, {hostname}]
4mon 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.
10public network = {network}[, {network}]
11#cluster network = {network}[, {network}]
12
13#Clusters require authentication by default.
14auth cluster required = cephx
15auth service required = cephx
16auth client required = cephx
17
18#Choose reasonable numbers for your journals, number of replicas
19#and placement groups.
20osd journal size = {n}
21osd pool default size = {n} # Write an object n times.
22osd pool default min size = {n} # Allow writing n copy in a degraded state.
23osd pool default pg num = {n}
24osd 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.
31osd crush chooseleaf type = {n}