-
Notifications
You must be signed in to change notification settings - Fork 29
/
sys.config
82 lines (75 loc) · 1.83 KB
/
sys.config
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
%%% -*- mode: erlang -*-
[
%%
%% Kernel config
%%
{kernel,
[{distributed, [{gdss_admin, 2000, ['hibari@127.0.0.1']}]},
{sync_nodes_mandatory, []},
{sync_nodes_optional, []},
{sync_nodes_timeout, 123}
]
},
%%
%% SASL config
%%
{sasl,
[{sasl_error_logger, {file, "{{sasl_error_log}}"}},
{errlog_type, error},
{error_logger_mf_dir, "{{sasl_log_dir}}"},
{error_logger_mf_maxbytes, 10485760}, % 10 MB max file size
{error_logger_mf_maxfiles, 5} % 5 files max
]},
%%
%% GMT-UTIL config
%%
{gmt_util,
[{application_evt_log_level, info}
]},
%%
%% Partition Detector
%%
{partition_detector,
[{heartbeat_status_udp_port, 63099},
{heartbeat_status_xmit_udp_port, 63100},
{network_a_address, "127.0.0.1"},
{network_a_broadcast_address, "127.0.0.1"},
{network_a_tiebreaker, "127.0.0.1"},
{network_b_address, "127.0.0.1"},
{network_b_broadcast_address, "127.0.0.1"},
{network_monitor_enable, true},
{network_monitor_monitored_nodes, ['hibari@127.0.0.1']}
]},
%%
%% GDSS Brick config
%%
{gdss_brick,
[{brick_default_data_dir, "{{gdss_data_dir}}"},
{brick_do_op_too_old_timeout, 4500},
{brick_check_checkpoint_max_mb, 5120},
{brick_check_checkpoint_throttle_bytes, 1048576},
{brick_max_log_size_mb, 300},
{brick_min_log_size_mb, 100},
{brick_scavenger_start_time, "3:00"},
{brick_scavenger_throttle_bytes, 2097152},
{brick_skip_live_percentage_greater_than, 90},
{brick_sync_interval_msec, 200},
{brick_repair_max_bytes, 10485760},
{brick_repair_max_primers, 1}
]},
%%
%% GDSS S3 Proc config
%%
{gdss_s3_proto,
[
{brick_s3_conf_path, "root/conf/s3.conf"}
]},
%%
%% GDSS Admin config
%%
{gdss_admin,
[{application_data_dir, "."},
{brick_admin_conf_path, "root/conf/admin.conf"},
{brick_s3_conf_path, "root/conf/s3.conf"}
]}
].