root / snf-deploy / files / etc / archipelago / archipelago.conf @ b9329795
History | View | Annotate | Download (2.5 kB)
1 |
# xseg |
---|---|
2 |
[XSEG] |
3 |
# Max xseg ports supported by segment |
4 |
SEGMENT_PORTS = 2048 |
5 |
SEGMENT_DYNPORTS = 1024 |
6 |
|
7 |
# Max segment size |
8 |
SEGMENT_SIZE = %SEGMENT_SIZE% |
9 |
# Start port of xsegbd devices |
10 |
XSEGBD_START=0 |
11 |
# End port of xsegbd devices |
12 |
XSEGBD_END=499 |
13 |
|
14 |
# Start of port range that can be used by the vlmc tool |
15 |
VTOOL_START=1003 |
16 |
# End of port range that can be used by the vlmc tool |
17 |
VTOOL_END=1022 |
18 |
|
19 |
[PEERS] |
20 |
ROLES=blockerb blockerm mapperd vlmcd |
21 |
# Order matters. Peers will be started with list order and stopped with reversed |
22 |
# order. |
23 |
ORDER=blockerb blockerm mapperd vlmcd |
24 |
|
25 |
|
26 |
# (peer role, peer type) |
27 |
# Mandatory peer roles: |
28 |
# blockerb |
29 |
# blockerm |
30 |
# mapperd |
31 |
# vlmcd |
32 |
# |
33 |
# Available peer types: |
34 |
# rados_blocker |
35 |
# file_blocker |
36 |
# mapperd |
37 |
# vlmcd |
38 |
# |
39 |
|
40 |
# Generic peer options |
41 |
# portno_start: Start of port range that will be used by the peer |
42 |
# portno_end: End of port range that will be used by the peer |
43 |
# nr_ops: Max number of flying operations. Must be a power of 2. |
44 |
# log_level: verbosity levels for each xseg peer |
45 |
# 0 - Error |
46 |
# 1 - Warnings |
47 |
# 2 - Info |
48 |
# 3 - Debug |
49 |
# Warning: debug level 3 logs A LOT! |
50 |
# nr_threads: Number of threads of each peer. Currently only blockers supports |
51 |
# threads with the following tricks: |
52 |
# a) Threads in file_blocker are I/O threads that block. |
53 |
# b) Threads in rados_blocker are processing threads. For lock |
54 |
# congestion reasons, avoid setting them to a value larger than 4. |
55 |
|
56 |
|
57 |
# file_blocker specific options: |
58 |
# |
59 |
# archip_dir: Where archipelago files will reside |
60 |
# fdcache: Fd cache size |
61 |
|
62 |
# rados_blocker specific options: |
63 |
# |
64 |
# pool: rados pool where objects will reside |
65 |
|
66 |
[blockerb] |
67 |
type=file_blocker |
68 |
portno_start=1000 |
69 |
portno_end=1000 |
70 |
log_level=3 |
71 |
nr_ops=64 |
72 |
nr_threads=64 |
73 |
archip_dir=/srv/archip/blocks |
74 |
fdcache=512 |
75 |
direct=True |
76 |
|
77 |
[blockerm] |
78 |
type=file_blocker |
79 |
portno_start=1002 |
80 |
portno_end=1002 |
81 |
log_level=3 |
82 |
nr_ops=64 |
83 |
nr_threads=64 |
84 |
archip_dir=/srv/archip/maps |
85 |
fdcache=512 |
86 |
direct=True |
87 |
|
88 |
# mapperd specific options: |
89 |
# |
90 |
# blockerb_port: target port that will be used to communicate with the blockerb |
91 |
# blockerm_port: target port that will be used to communicate with the blockerm |
92 |
|
93 |
[mapperd] |
94 |
type=mapperd |
95 |
portno_start=1001 |
96 |
portno_end=1001 |
97 |
log_level=3 |
98 |
nr_ops=512 |
99 |
blockerb_port=1000 |
100 |
blockerm_port=1002 |
101 |
|
102 |
# vlmcd specific options: |
103 |
# |
104 |
# blocker_port: target port that will be used to communicate with the blockerb |
105 |
# mapper_port: target port that will be used to communicate with the mapper |
106 |
|
107 |
[vlmcd] |
108 |
type=vlmcd |
109 |
portno_start=500 |
110 |
portno_end=999 |
111 |
log_level=3 |
112 |
nr_ops=512 |
113 |
blocker_port=1000 |
114 |
mapper_port=1001 |