summaryrefslogtreecommitdiffstats
path: root/src/ceph.conf.twoosds
blob: bc7e87daf2727243464692714198d09a4f930352 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
; ---------------------
[group cephnet]
        addr = 10.3.14.0/24

[group backup]
	addr =  10.104.0.219

[mount /]
        allow = "%cephnet %backup"

; ---------------------
[global]
	pid file = /home/sage/ceph/src/out/$name.pid
	profiling logger uri = /home/sage/ceph/src/profiling_logger.$name
	log sym dir = /home/sage/ceph/src/out
	chdir = /home/sage/ceph/src
	restart on core dump = false
	user = sage
	pre start command = "cp /home/sage/ceph/src/c$type /tmp/c$type.`date +%Y%m%d.%H%M%S`"

; ---------------------
[mon]
	mon data = /data/mondata/mon$num
	debug mon = 20
	debug ms = 20
	mon osd down out interval = 600  ; 10 minutes

[mon0]
	host = cosd0
	mon addr = 10.3.14.95:6789
	log dir = /data/cosd0

[mon1]
	host = cosd1
	mon addr = 10.3.14.96:6789
	log dir = /data/cosd1

[mon2]
	host = cosd2
	mon addr = 10.3.14.97:6789
	log dir = /data/cosd2


; ---------------------
[mds]
	debug mds = 20
	debug ms = 1
;	debug journaler = 20
;	log dir = /data/ceph4
;	log dir = /home/sage/ceph/src/log

[mds.foo]
	host = ceph4
	log dir = /data/ceph4
;	valgrind = --tool=massif

[mds.bar]
	host = cephbooter
	log dir = /data/cephbooter
	auto start = false

; ---------------------
[osd]
	debug ms = 1
	debug osd = 20
	debug filestore = 20
	debug journal = 20
	log dir = /data/cosd$id
	osd data = /mnt/osd$id
;	user = root

;	osd journal = /mnt/osd$id/journal
;	osd journal size = 1000
	osd journal = "/dev/disk/by-path/pci-0000:05:02.0-scsi-6:0:0:0"
        osd mkfs type = btrfs
	osd mount options btrfs = "flushoncommit,usertrans"
;	filestore max sync interval = 1

	devs = "/dev/disk/by-path/pci-0000:05:01.0-scsi-2:0:0:0"
;	devs = "/dev/disk/by-path/pci-0000:05:01.0-scsi-2:0:0:0 \
;	      	   /dev/disk/by-path/pci-0000:05:01.0-scsi-3:0:0:0 \
;		   /dev/disk/by-path/pci-0000:05:01.0-scsi-4:0:0:0 \
;		   /dev/disk/by-path/pci-0000:05:01.0-scsi-5:0:0:0 \
;		   /dev/disk/by-path/pci-0000:05:01.0-scsi-6:0:0:0 \
;		   /dev/disk/by-path/pci-0000:05:01.0-scsi-7:0:0:0 \
;		   /dev/disk/by-path/pci-0000:05:02.0-scsi-0:0:0:0 \
;		   /dev/disk/by-path/pci-0000:05:02.0-scsi-1:0:0:0 \
;		   /dev/disk/by-path/pci-0000:05:02.0-scsi-2:0:0:0 \
;		   /dev/disk/by-path/pci-0000:05:02.0-scsi-3:0:0:0 \
;		   /dev/disk/by-path/pci-0000:05:02.0-scsi-4:0:0:0 \
;		   /dev/disk/by-path/pci-0000:05:02.0-scsi-5:0:0:0"

;	valgrind = "--tool=memcheck --log-file=/data/cosd$id/v.osd$id"

[osd3]
	host = cosd3