/
arakoon.ini
127 lines (110 loc) · 3.28 KB
/
arakoon.ini
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
[global]
#comma separated list of node names that are part of the cluster
cluster = arakoon_0 ,arakoon_1, arakoon_2
#optional:
#master = arakoon_0
# modifier for master, if preferred, the master is no longer forced
#preferred_master = true
# List of preferred masters. If set, 'master' must not be set,
# and 'preferred_master' is implicit
#preferred_masters = arakoon_0, arakoon_1
#lease_period = 60
# The number of leaf pages in Tokyo Cabinet's cache
#lcnum = 16384
# The number of internal pages in Tokyo Cabinet's cache
#ncnum = 8192
client_buffer_capacity = 64
#name of the cluster:
cluster_id = ricky
#[nursery]
#cluster = arakoon_0
#cluster_id = ricky
#plugins: these need to be available in the home of EACH node
#plugins = plugin_update_max
# DANGER: only set this if you know what you're doing,
# and understand the risk.
# (in the 2 node case,
# you might want to be able to continue
# when 1 node is down,
# so you lower the quorum to 1 iso the default)
# the downside is that if you do this on both sides of
# a split network you will end up having 2 realities.
#quorum = 1
# only available for clusters of size 1
# readonly = true
# TLS
# Path to CA certificate file
# This will be used to validate certificates provided by other nodes when
# TLS is used.
#
# tls_ca_cert = /path/to/cacert.pem
#
# Use TLS for client service
#
# tls_service = true
#
# Require valid certificates from clients (checked using the CA certificate as
# configured with tls_ca_cert)
#
# tls_service_validate_peer = false
[default_log_config]
# available levels are: debug info notice warning error fatal
client_protocol = debug
paxos = debug
tcp_messaging = debug
[default_batched_transaction_config]
max_entries = 10000 # number of sets and deletes
max_size = 10000000 # in bytes
[arakoon_0]
#comma separated list of all ip addresses used to identify that node
ip = 127.0.0.1
client_port = 4000
messaging_port = 4010
home = /tmp/arakoon/arakoon_0
#optional different directory for .tlog, .tlc and friends
#tlog_dir = /tmp/arakoon/arakoon_0
#log_dir = /tmp/arakoon/arakoon_0
# available levels are: debug info notice warning error fatal
log_level = debug
log_config = default_log_config
batched_transaction_config = default_batched_transaction_config
# for debugging
#laggy = true
# report every x seconds (default = 300)
#reporting = 10
# TLS
# SSL/TLS certificate & key to be used by the node
# Note all nodes in a cluster should be configured to use TLS, mixing is
# not supported.
# The certificate should be signed by the CA whose certificate is provided
# by the "tls_ca_cert" setting in the "global" section.
#
# tls_cert = /path/to/arakoon0.pem
# tls_key = /path/to/arakoon0.key
[arakoon_1]
ip = 127.0.0.1
client_port = 4001
messaging_port = 4011
home = /tmp/arakoon/arakoon_1
log_level = info
log_config = default_log_config
batched_transaction_config = default_batched_transaction_config
[arakoon_2]
name = arakoon_2
ip = 127.0.0.1
client_port = 4002
messaging_port = 4012
home = /tmp/arakoon/arakoon_2
log_level = info
log_config = default_log_config
batched_transaction_config = default_batched_transaction_config
#[learner_0]
#ip = 127.0.0.1
#client_port = 4003
#messaging_port = 4013
#home = /tmp/learner_0
#log_dir = /tmp/learner_0
#learner = true
#targets = arakoon_0
#log_level = debug
#log_config = default_log_config