-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doc: Updated the example configuration.
Signed-off-by: John Wilkins <[email protected]>
- Loading branch information
John Wilkins
committed
Jun 12, 2014
1 parent
5a31df2
commit 2e3302c
Showing
1 changed file
with
30 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,63 +1,31 @@ | ||
[global] | ||
# For version 0.54 and earlier, you may enable | ||
# authentication with the following setting. | ||
# Specifying `cephx` enables authentication; | ||
# and specifying `none` disables authentication. | ||
|
||
#auth supported = cephx | ||
|
||
# For version 0.55 and beyond, you must explicitly enable | ||
# or disable authentication with "auth" entries in [global]. | ||
|
||
auth cluster required = cephx | ||
auth service required = cephx | ||
auth client required = cephx | ||
|
||
|
||
[osd] | ||
osd journal size = 1000 | ||
# uncomment the following line if you are mounting with ext4 | ||
# filestore xattr use omap = true | ||
|
||
|
||
# For Bobtail (v 0.56) and subsequent versions, you may | ||
# add settings for mkcephfs so that it will create and mount | ||
# the file system for you. Remove the comment `#` character for | ||
# the following settings and replace the values in parenthesis | ||
# with appropriate values, or leave the following settings commented | ||
# out to accept the default values. You must specify the --mkfs | ||
# option with mkcephfs in order for the deployment script to | ||
# utilize the following settings, and you must define the 'devs' | ||
# option for each osd instance; see below. | ||
|
||
#osd mkfs type = {fs-type} | ||
#osd mkfs options {fs-type} = {mkfs options} # default for xfs is "-f" | ||
#osd mount options {fs-type} = {mount options} # default mount option is "rw, noatime" | ||
|
||
[mon.a] | ||
host = myserver01 | ||
mon addr = 10.0.0.101:6789 | ||
|
||
[mon.b] | ||
host = myserver02 | ||
mon addr = 10.0.0.102:6789 | ||
|
||
[mon.c] | ||
host = myserver03 | ||
mon addr = 10.0.0.103:6789 | ||
|
||
[osd.0] | ||
host = myserver01 | ||
#devs = {path-to-device} | ||
|
||
[osd.1] | ||
host = myserver02 | ||
#devs = {path-to-device} | ||
|
||
[osd.2] | ||
host = myserver03 | ||
#devs = {path-to-device} | ||
|
||
[mds.a] | ||
host = myserver01 | ||
#devs = {path-to-device} | ||
fsid = {cluster-id} | ||
mon initial members = {hostname}[, {hostname}] | ||
mon host = {ip-address}[, {ip-address}] | ||
|
||
#All clusters have a front-side public network. | ||
#If you have two NICs, you can configure a back side cluster | ||
#network for OSD object replication, heart beats, backfilling, | ||
#recovery, etc. | ||
public network = {network}[, {network}] | ||
#cluster network = {network}[, {network}] | ||
|
||
#Clusters require authentication by default. | ||
auth cluster required = cephx | ||
auth service required = cephx | ||
auth client required = cephx | ||
|
||
#Choose reasonable numbers for your journals, number of replicas | ||
#and placement groups. | ||
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} | ||
|
||
#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 = {n} |