summaryrefslogtreecommitdiff
path: root/databases/leofs/files/patch-apps-leo_manager-priv-leo_manager_1.conf
blob: 69a30397dd011f8e825879c7b8b42e9d9314dce4 (plain) (blame)
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
--- apps/leo_manager/priv/leo_manager_1.conf.orig	2017-09-12 09:07:39.000000000 +0000
+++ apps/leo_manager/priv/leo_manager_1.conf	2017-10-06 13:51:33.276074000 +0000
@@ -16,7 +16,7 @@
 ## about configuration parameters
 
 ## SASL error log path
-## sasl.sasl_error_log = ./log/sasl/sasl-error.log
+## sasl.sasl_error_log = %%LEOFS_LOGDIR%%/leo_manager_slave/sasl/sasl-error.log
 
 ## Restricts the error logging performed by the specified sasl_error_logger
 ## to error reports, progress reports, or both.
@@ -25,7 +25,7 @@
 
 ## Specifies in which directory the files are stored.
 ## If this parameter is undefined or false, the error_logger_mf_h is not installed.
-## sasl.error_logger_mf_dir = ./log/sasl
+## sasl.error_logger_mf_dir = %%LEOFS_LOGDIR%%/leo_manager_slave/sasl
 
 ## Specifies how large each individual file can be.
 ## If this parameter is undefined, the error_logger_mf_h is not installed.
@@ -39,7 +39,7 @@
 ## MANAGER
 ## --------------------------------------------------------------------
 ## Partner of manager's alias
-manager.partner = manager_0@127.0.0.1
+manager.partner = manager@127.0.0.1
 
 ## Manager-console accepatable port number
 console.port.cui  = 10011
@@ -58,7 +58,7 @@
 ##     * Store the RING and the command histories
 ## --------------------------------------------------------------------
 ## Mnesia dir
-mnesia.dir = ./work/mnesia/127.0.0.1
+mnesia.dir = %%LEOFS_DBDIR%%/leo_manager_slave/mnesia/127.0.0.1
 
 ## The write threshold for transaction log dumps
 ## as the number of writes to the transaction log
@@ -75,26 +75,26 @@
 ## log.log_level = 1
 
 ## Output log file(s) - Erlang's log
-## log.erlang = ./log/erlang
+log.erlang = %%LEOFS_LOGDIR%%/leo_manager_slave/erlang
 
 ## Output log file(s) - app
-## log.app = ./log/app
+log.app = %%LEOFS_LOGDIR%%/leo_manager_slave/app
 
 ## Output log file(s) - members of storage-cluster
-## log.member_dir = ./log/ring
+log.member_dir = %%LEOFS_LOGDIR%%/leo_manager_slave/ring
 
 ## Output log file(s) - ring
-## log.ring_dir = ./log/ring
+log.ring_dir = %%LEOFS_LOGDIR%%/leo_manager_slave/ring
 
 
 ## --------------------------------------------------------------------
 ## MANAGER - Other Directories
 ## --------------------------------------------------------------------
 ## Directory of queue for monitoring "RING"
-## queue_dir = ./work/queue
+## queue_dir = %%LEOFS_DBDIR%%/leo_manager_slave/queue
 
 ## Directory of SNMP agent configuration
-snmp_agent = ./snmp/snmpa_manager_1/LEO-MANAGER
+## snmp_agent = %%PREFIX%%/lib/leofs/snmp/snmpa_manager_slave/LEO-MANAGER
 
 
 ## --------------------------------------------------------------------
@@ -139,7 +139,7 @@
 ## For vm.args
 ##======================================================================
 ## Name of the LeoFS's manager node
-nodename = manager_1@127.0.0.1
+nodename = manager_slave@127.0.0.1
 
 ## Cookie for distributed node communication.  All nodes in the same cluster
 ## should use the same cookie or they will not be able to communicate.
@@ -155,7 +155,7 @@
 erlang.max_ports = 64000
 
 ## Set the location of crash dumps
-erlang.crash_dump = ./log/erl_crash.dump
+erlang.crash_dump = %%LEOFS_LOGDIR%%/leo_manager_slave/erl_crash.dump
 
 ## Raise the ETS table limit
 erlang.max_ets_tables = 256000
@@ -167,4 +167,4 @@
 process_limit = 1048576
 
 ## Path of SNMP-agent configuration
-## snmp_conf = ./snmp/snmpa_manager_1/leo_manager_snmp
+snmp_conf = %%PREFIX%%/lib/leofs/snmp/snmpa_manager_slave/leo_manager_snmp