diff options
author | Sage Weil <sage@newdream.net> | 2010-04-20 16:20:11 -0700 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2010-04-20 16:38:53 -0700 |
commit | 93058af345bd0efded8c856fac3a5e45ae3ae6cb (patch) | |
tree | f6dce6b0493162977ad65d5f6670350d9fe0dc2a /src/sample.ceph.conf | |
parent | ba5a0d1ff6cdb9e3a26637fee37cd4e3e227b8c9 (diff) | |
download | ceph-93058af345bd0efded8c856fac3a5e45ae3ae6cb.tar.gz |
sample.ceph.conf: updated
Diffstat (limited to 'src/sample.ceph.conf')
-rw-r--r-- | src/sample.ceph.conf | 39 |
1 files changed, 28 insertions, 11 deletions
diff --git a/src/sample.ceph.conf b/src/sample.ceph.conf index 63915a185c4..cd1132660f7 100644 --- a/src/sample.ceph.conf +++ b/src/sample.ceph.conf @@ -12,15 +12,18 @@ ; global [global] - pid file = /var/run/ceph/$name.pid + ; enable secure authentication + auth supported = cephx - ; some minimal logging (just message traffic) to aid debugging - debug ms = 1 - -; monitor +; monitors +; You need at least one. You need at least three if you want to +; tolerate any node failures. Always create an odd number. [mon] mon data = /data/mon$id + ; some minimal logging (just message traffic) to aid debugging + debug ms = 1 + [mon0] host = alpha mon addr = 192.168.0.10:6789 @@ -34,19 +37,33 @@ mon addr = 192.168.0.12:6789 ; mds +; You need at least one. Define two to get a standby. [mds] + ; where the mds keeps it's secret encryption keys + keyring = /data/keyring.$name [mds.alpha] host = alpha +[mds.beta] + host = beta ; osd +; You need at least one. Two if you want data to be replicated. +; Define as many as you like. [osd] - sudo = true + ; This is where the btrfs volume will be mounted. osd data = /data/osd$id + ; Ideally, make this a separate disk or partition. A few GB + ; is usually enough; more if you have fast disks. You can use + ; a file under the osd data dir if need be + ; (e.g. /data/osd$id/journal), but it will be slower than a + ; separate disk or partition. + osd journal = /data/osd$id/journal + [osd0] - host = alpha + host = delta ; if 'btrfs devs' is not specified, you're responsible for ; setting up the 'osd data' dir. if it is not btrfs, things @@ -55,13 +72,13 @@ btrfs devs = /dev/sdx [osd1] - host = alpha - btrfs devs = /data/dev/sdy + host = epsilon + btrfs devs = /dev/sdy [osd2] - host = beta + host = zeta btrfs devs = /dev/sdx [osd3] - host = beta + host = eta btrfs devs = /dev/sdy
\ No newline at end of file |