es7集群启动配置

./config/elasticsearch.yml

cluster.name: local_cluster
node.name: node3
 
node.master: true
node.data: true

#path.data: /data/node3/data
#path.logs: /data/node3/logs

cluster.routing.allocation.enable: all
cluster.routing.allocation.allow_rebalance: always
 
network.host: 127.0.0.1
 
discovery.seed_hosts: ["127.0.0.1:9300","127.0.0.1:9310","127.0.0.1:9320"]

cluster.initial_master_nodes: ["127.0.0.1:9300","127.0.0.1:9310","127.0.0.1:9320"]

gateway.recover_after_nodes: 2 
 
gateway.recover_after_time: 5m 
 
gateway.expected_nodes: 3 
 
http.cors.enabled: true
http.cors.allow-origin: "*"
transport.tcp.port: 9320

0 0 投票数
Article Rating
订阅评论
提醒
guest
0 评论
最旧
最新 最多投票
内联反馈
查看所有评论
0
希望看到您的想法,请您发表评论x