Statistics
| Branch: | Tag: | Revision:

root / xseg / conf / archipelago.conf @ 8ade203a

History | View | Annotate | Download (2.4 kB)

1
# xseg
2
[XSEG]
3
# Max xseg ports supported by segment
4
SEGMENT_PORTS = 1024
5
# Max segment size
6
SEGMENT_SIZE = 2048
7
# Start port of xsegbd devices
8
XSEGBD_START=0
9
# End port of xsegbd devices
10
XSEGBD_END=499
11

    
12
# Start of port range that can be used by the vlmc tool
13
VTOOL_START=1003
14
# End of port range that can be used by the vlmc tool
15
VTOOL_END=1022
16

    
17
# (peer role, peer type)
18
# Mandatory peer roles:
19
# 	blockerb
20
# 	blockerm
21
# 	mapperd
22
# 	vlmcd
23
#
24
# Available peer types:
25
# 	rados_blocker
26
# 	file_blocker
27
# 	mapperd
28
# 	vlmcd
29
#
30
# Order matters. Peers will be started with list order and stopped with reversed
31
# order.
32

    
33
[ROLES]
34
order=[('blockerb', 'file_blocker'),
35
         ('blockerm', 'file_blocker'),
36
         ('mapperd', 'mapperd'),
37
         ('vlmcd', 'vlmcd')]
38

    
39
# Generic peer options
40
# portno_start: Start of port range that will be used by the peer
41
# portno_end: End of port range that will be used by the peer
42
# nr_ops: Max number of flying operations. Must be a power of 2.
43
# log_level: verbosity levels for each xseg peer
44
#            0 - Error
45
#            1 - Warnings
46
#            2 - Info
47
#            3 - Debug
48
# Warning: debug level 3 logs A LOT!
49
# nr_threads: Number of threads of each peer. Currently only blockers supports
50
# 	      threads with the following tricks:
51
# 	      a) Threads in file_blocker are I/O threads that block.
52
# 	      b) Threads in rados_blocker are processing threads. For lock
53
# 	      congestion reasons, avoid setting them to a value larger than 4.
54

    
55

    
56
# file_blocker specific options:
57
#
58
# archip_dir: Where archipelago files will reside
59
# fdcache: Fd cache size
60

    
61
# rados_blocker specific options:
62
#
63
# pool: rados pool where objects will reside
64
[BLOCKERB]
65
portno_start=1000
66
portno_end=1000
67
log_level=3
68
nr_ops=256
69
nr_threads=256
70
archip_dir=/srv/archip/blocks
71
fdcache=512
72

    
73
[BLOCKERM]
74
portno_start=1002
75
portno_end=1002
76
log_level=3
77
nr_ops=256
78
nr_threads=256
79
archip_dir=/srv/archip/maps
80
fdcache=512
81

    
82
# mapperd specific options:
83
#
84
# blockerb_port: target port that will be used to communicate with the blockerb
85
# blockerm_port: target port that will be used to communicate with the blockerm
86

    
87
[MAPPERD]
88
portno_start=1001
89
portno_end=1001
90
log_level=3
91
nr_ops=256
92
blockerb_port=1000
93
blockerm_port=1002
94

    
95
# vlmcd specific options:
96
#
97
# blocker_port: target port that will be used to communicate with the blockerb
98
# mapper_port: target port that will be used to communicate with the mapper
99

    
100
[VLMCD]
101
portno_start=500
102
portno_end=999
103
log_level=3
104
nr_ops=512
105
blocker_port=1000
106
mapper_port=1001