diff options
author | Sage Weil <sage@newdream.net> | 2009-03-11 16:07:16 -0700 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2009-03-11 16:22:40 -0700 |
commit | 73b4ce48997391819281acf4e959ad5820c92af4 (patch) | |
tree | 67648bc22c929ec7f310e1d9d356c6167e5eca63 /src/sample.ceph.conf | |
parent | 93742fa4d3e2601587662a686991af4ab89a9cec (diff) | |
download | ceph-73b4ce48997391819281acf4e959ad5820c92af4.tar.gz |
config: fix sample conf files
Diffstat (limited to 'src/sample.ceph.conf')
-rw-r--r-- | src/sample.ceph.conf | 89 |
1 files changed, 51 insertions, 38 deletions
diff --git a/src/sample.ceph.conf b/src/sample.ceph.conf index 5e2fc484e82..cb32c9eda27 100644 --- a/src/sample.ceph.conf +++ b/src/sample.ceph.conf @@ -1,54 +1,67 @@ ; -; Sample ceph runtime ceph.conf file. +; Sample ceph ceph.conf file. ; -; This file defines runtime parameters for cmon, cmds, cosd, and -; a few other ceph utilities. - -; For options relating to cluster membership and startup, see -; startup.conf. +; This file defines cluster membership, the various locations +; that Ceph stores data, and any other runtime options. +; If a 'host' is defined for a daemon, the start/stop script will +; verify that it matches the hostname (or else ignore it). If it is +; not defined, it is assumed that the daemon is intended to start on +; the current host (e.g., in a setup with a startup.conf on each +; node). ; global +[global] + restart on core dump = true + pid file = /var/run/ceph/$name.pid -[debug] - ;; global debug level. use with caution. - ; debug = 10 - - ;; mds debug level - ; debug mds = 1 - ;; load balancing - ; debug mds balancer = 1 - ;; log/journal - ; debug mds log = 1 - ;; log trimming - ; debug mds log expire = 1 +; monitor +[mon] - ;; low-level buffer operations - ; debug buffer = 0 +[mon0] + host = alpha + mon data = /data/mon0 + mon addr = 192.168.0.10:6789 - ;; timer - ; debug timer = 0 +[mon1] + host = beta + mon data = /data/mon1 + mon addr = 192.168.0.11:6789 - ;; filer maps files onto objects - ; debug filer = 0 +[mon2] + host = gamma + mon data = /data/mon2 + mon addr = 192.168.0.12:6789 - ;; objecter performs i/o with osd cluster - ; debug objecter = 0 +; mds +[mds] - ;; journaler manages the mds jouranl - ; debug journaler = 0 +[mds.alpha] + host = alpha + - ;; object cacher is used by the userspace fs client - ; debug objectcacher = 0 +; osd +[osd] + sudo = true - ;; osd - ; debug osd = 0 +[osd0] + host = alpha + osd data = /dev/sdx + osd journal = /dev/umema - ;; ebofs (deprecated) object file system - ; debug ebofs = 1 +[osd1] + host = alpha + osd data = /dev/sdy + osd journal = /dev/umema + +[osd2] + host = beta + osd data = /dev/sdx + osd journal = /dev/umema + +[osd3] + host = beta + osd data = /dev/sdy + osd journal = /dev/umema - -; etc. - -
\ No newline at end of file |