-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.ini
334 lines (288 loc) · 8.6 KB
/
config.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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
[common]
# yes or no
use_the_same_hostname=no
#
hosts=192.168.10.62,192.168.10.64
localuser=zzm
localuser_passwd=123456
sudouser=ubuntu
sudouser_passwd=123456
[jdk]
#-------------------------
# add hosts ssh info, use , split
hosts=172.20.31.15,172.20.31.16,172.20.31.17,172.20.31.18,172.20.31.24
localuser=ubuntu
localuser_passwd=Dwf12345
#sudouser
sudouser=root
sudouser_passwd=Dwf12345
#file,folder,path
local_file=Tools/jdk-11.0.18_linux-x64_bin.tar.gz
software_folder=jdk-11.0.18
install_path=/usr/local
#-------------------------
# install for alone(null) or public?
install_for=public
[iotdb-cluster]
#-------------------------
# host,user
# add hosts ssh's info, use ',' split
hosts=172.20.31.75,172.20.31.76,172.20.31.77
localuser=tes
localuser_passwd=123
#sudouser
sudouser=root
sudouser_passwd=Dwf12345
# file,folder,path
local_file=Tools/apache-iotdb-1.2.0-SNAPSHOT-all-bin.zip
software_folder=apache-iotdb-1.2.0-SNAPSHOT-all-bin
install_path=/home/tes/iotdb
# cluster info
first_confignode=172.20.31.75
config_node=172.20.31.75,172.20.31.76,172.20.31.77
data_node=172.20.31.75,172.20.31.76,172.20.31.77
[iotdb-common-config] # iotdb-common.properties
;config_node_consensus_protocol_class=org.apache.iotdb.consensus.ratis.RatisConsensus
;schema_replication_factor=1
;schema_region_consensus_protocol_class=org.apache.iotdb.consensus.ratis.RatisConsensus
;data_replication_factor=1
;data_region_consensus_protocol_class=org.apache.iotdb.consensus.ratis.RatisConsensus
;schema_region_ratis_snapshot_trigger_threshold=1000
[iotdb-confignode-config] # iotdb-confignode.properties
[iotdb-datanode-config] # iotdb-datanode.properties
[keyfree_login]
hosts=11.101.17.130,11.101.17.131,11.101.17.132,11.101.17.133,11.101.17.134,11.101.17.135,11.101.17.136
localuser=atmos
localuser_passwd=iotdb2019
[auto_mount]
hosts=11.101.17.120,11.101.17.130,11.101.17.140
user=root
user_passwd=root106A
# eg: /dev/sdb, use , to split
mount_dev=/dev/sdb
mount_to_path=/data
[exec_order]
hosts=11.101.17.110,11.101.17.111,11.101.17.112,11.101.17.113,11.101.17.114,11.101.17.115,11.101.17.116
user=atmos
user_passwd=iotdb2019
sudouser=root
sudouser_passwd=root106A
[hostname_to_host]
hosts=192.168.130.171,192.168.130.144,192.168.130.145
#
sudouser=ubuntu
sudouser_passwd=123456
#ip and hostname must one-to-one
ip=192.168.130.171,192.168.130.144,192.168.130.145
hostname=slave1,slave2,slave3
[maven]
# add hosts ssh's information,use,split
hosts=11.101.17.121
localuser=root
localuser_passwd=root106A
# If you need install jdk for global,then add the following information.
# otherwise, don't care.
sudouser=root
sudouser_passwd=root106A
# add path for
user_home=/root
mvn_local_file=Tools\apache-maven-3.8.7-bin.tar.gz
mvn_folder=apache-maven-3.8.7
[hadoop]
#-------------------------
# user,host for hadoop,use ',' to to separate
hosts=192.168.130.171,192.168.130.144,192.168.130.145
localuser=ubuntu
localuser_passwd=123456
#sudouser
sudouser=ubuntu
sudouser_passwd=123456
#file,folder,path
local_file=Tools\hadoop-2.8.5.tar.gz
software_folder=hadoop-2.8.5
install_path=/home/ubuntu
#-------------------------
#config for hadoop
master_ip=192.168.130.171
slaves=192.168.130.171,192.168.130.144,192.168.130.145
# data_folder can have multiple directory,use ',' to to separate data_folder and slaves
data_folder=/home/ubuntu/hadoop-2.8.5/data
dfs_replication=1
#dependence
java_home=/usr/local/jdk1.8.0_211
[scala]
# add hosts ssh's information,use , split
hosts=172.16.244.8,172.16.244.7,172.16.244.10
localuser=ubuntu
localuser_passwd=Dwf12345
# add path for scala
scala_local_file=Tools\scala-2.12.8.tgz
scala_folder=scala-2.12.8
# If you need install scala for global,then add the following information.
# otherwise, don't care.
sudouser=ubuntu
sudouser_passwd=Dwf12345
[spark]
#-------------------------
# user,host for spark,use ',' to to separate
hosts=172.16.244.64,172.16.244.65,172.16.244.66
localuser=sparkonyarn
localuser_passwd=sparkonyarn
#sudouser
sudouser=ubuntu
sudouser_passwd=Dwf12345
#file,folder,path
local_file=Tools\spark-2.4.0-bin-hadoop2.7.tgz
software_folder=spark-2.4.0-bin-hadoop2.7
install_path=/home/sparkonyarn
#-------------------------
#config for hadoop
master_ip=172.16.244.64
master_public_ip=172.16.244.64
slaves=172.16.244.64,172.16.244.65,172.16.244.66
spark_worker_dir=/home/sparkonyarn/spark_work_240
#dependence
java_home=/home/sparkonyarn/jdk1.8.0_211
# Can be empty,to set LD_LIBRARY_PATH
hadoop_home=/home/sparkonyarn/hadoop-2.8.5
[cassandra]
#-------------------------
# user,host for pg ,use ',' to to separate
hosts=192.168.130.171,192.168.130.172,192.168.130.173
localuser=ubuntu
localuser_passwd=123456
#sudouser
sudouser=ubuntu
sudouser_passwd=123456
#file,folder,path
local_file=Tools\apache-cassandra-3.0.18-bin.tar.gz
software_folder=apache-cassandra-3.0.18
install_path=/
#-------------------------
#config
# use ',' to to separate data_directory
data_directory=/data/cassandra/data
#Method of listening,"listen_address" or "listen_interface",if "listen_interface" Then must specify "interface_name"
listening_Method=listen_address
listening_interface_name=
#Method of rpc,"rpc_address" or "rpc_interface",if "rpc_interface" Then must specify "rpc_interface_name"
rpc_Method=rpc_address
rpc_interface_name=
[zookeeper]
#-------------------------
# user,host for zookeeper,use ',' to to separate
hosts=192.168.130.171,192.168.130.172,192.168.130.173
localuser=ubuntu
localuser_passwd=123456
#sudouser
sudouser=ubuntu
sudouser_passwd=123456
#file,folder,path
local_file=Tools\zookeeper-3.4.13.tar.gz
software_folder=zookeeper-3.4.13
install_path=/usr/local
#-------------------------
#config for zookeeper
dataDir=/usr/local/zookeeper_data
dataLogDir=/usr/local/zookeeper_log
[kafka]
#-------------------------
# user,host for kafka,use ',' to to separate
hosts=192.168.130.171,192.168.130.172,192.168.130.173
localuser=ubuntu
localuser_passwd=123456
#sudouser
sudouser=ubuntu
sudouser_passwd=123456
#file,folder,path
local_file=Tools\kafka_2.12-2.3.0.tgz
software_folder=kafka_2.12-2.3.0
install_path=/usr/local
#-------------------------
#config for kafka
#use ',' to to separate "log_dirs" and "zookeeper_hosts"
log_dirs=/usr/local/kafka_log
zookeeper_hosts=192.168.130.171,192.168.130.172,192.168.130.173
[flink]
#-------------------------
# user,host for kafka,use ',' to to separate
hosts=192.168.130.171,192.168.130.172,192.168.130.173
localuser=ubuntu
localuser_passwd=123456
#sudouser
sudouser=ubuntu
sudouser_passwd=123456
#file,folder,path
local_file=Tools\flink-1.7.2-bin-hadoop27-scala_2.11.tgz
software_folder=flink-1.7.2
install_path=/usr/local
#-------------------------
#config for flink
master_ip=192.168.130.171
slaves_ip=192.168.130.171,192.168.130.172,192.168.130.173
java_home=/usr/local/jdk1.8.0_211
[pg]
#-------------------------
# user,host for pg ,use ',' to to separate
hosts=192.168.130.36,192.168.130.38,192.168.130.39
localuser=zzm
localuser_passwd=123456
#sudouser
sudouser=root
sudouser_passwd=root106A
#file,folder,path
local_file=Tools\postgresql-10.15-1-linux-x64-binaries.tar.gz
software_folder=pgsql
install_path=/data/zzm/db/timescaledb
#-------------------------
#config for pg
data_path=/data/zzm/db/timescaledb/pgdata
max_connections=1000
superuser=postgres
superuser_passwd=123456
[test]
hosts=172.16.0.6
# -----
localuser=ubuntu
localuser_passwd=Dwf12345
# -----
sudouser=ubuntu
sudouser_passwd=Dwf12345
# ----
zookeeper_local_file=Tools\zookeeper-3.4.13.tar.gz
zookeeper_folder=zookeeper-3.4.13
[template]
#-------------------------
# user,host for pg ,use ',' to to separate
hosts=192.168.130.170
localuser=ubuntu
localuser_passwd=123456
#sudouser
sudouser=ubuntu
sudouser_passwd=123456
#file,folder,path
local_file=Tools\postgresql-10.10-2-linux-x64-binaries.tar.gz
software_folder=pgsql
install_path=/home/ubuntu
#-------------------------
#config
[adduser]
hosts=172.16.2.2
sudouser=root
sudouser_passwd=IoTDB2021
new_user=cluster
new_user_passwd=iotdb2021
[change_hostname]
hosts=172.16.2.2
sudouser=root
sudouser_passwd=IoTDB2021
[change_yum]
hosts=172.16.2.2
sudouser=root
sudouser_passwd=IoTDB2021
[zabbix_agent]
hosts=11.101.17.221,11.101.17.222,11.101.17.223,11.101.17.224,11.101.17.225,11.101.17.226,11.101.17.227,11.101.17.228
sudouser=root
sudouser_passwd=root106A
zabbix_server=111.202.73.232
package_url=https://mirrors.tuna.tsinghua.edu.cn/zabbix/zabbix/5.4/rhel/7/x86_64/zabbix-agent2-5.4.12-1.el7.x86_64.rpm