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
378378bootstrap.memory_lock: true
379379network.host: 0.0.0.0 # 也可以是本机 IP
380380http.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"]
382382```
383383
384384- 修改这个配置文件,不然无法锁内存:` vim /etc/security/limits.conf `
@@ -406,9 +406,9 @@ vm.max_map_count=262144
406406
407407``` json
408408{
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 " ,
412412 "version" : {
413413 "number" : " 5.2.0" ,
414414 "build_hash" : " 24e05b9" ,
You can’t perform that action at this time.
0 commit comments