File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -378,7 +378,7 @@ path.logs: /opt/elasticsearch/log
378
378
bootstrap.memory_lock: true
379
379
network.host: 0.0.0.0 # 也可以是本机 IP
380
380
http.port: 9200
381
- discovery.zen.ping.unicast.hosts: ["192.168.1.127"] #这个为两台机子的 IP 地址
381
+ discovery.zen.ping.unicast.hosts: ["192.168.1.127"] #如果有多个机子集群,这里就写上这些机子的 IP,格式:["192.168.1.127","192.168.1.126"]
382
382
```
383
383
384
384
- 修改这个配置文件,不然无法锁内存:` vim /etc/security/limits.conf `
@@ -406,9 +406,9 @@ vm.max_map_count=262144
406
406
407
407
``` json
408
408
{
409
- "name" : " xrfsiZM " ,
410
- "cluster_name" : " elasticsearch " ,
411
- "cluster_uuid" : " 8AtVCJYWTweSK7PZubAaYQ " ,
409
+ "name" : " youmeek-node-1 " ,
410
+ "cluster_name" : " youmeek-cluster " ,
411
+ "cluster_uuid" : " c8RxQdOHQJq-Tg8rrPi_UA " ,
412
412
"version" : {
413
413
"number" : " 5.2.0" ,
414
414
"build_hash" : " 24e05b9" ,
You can’t perform that action at this time.
0 commit comments