es自習ノート --- 申請書

1.クラスター展開

(1)configのelasticsearch.yml

cluster.name: my-app
node.name: node-1
path.data: /home/work/env/es/es-data/es7-data
path.logs: /home/work/env/es/log/es7-log
bootstrap.memory_lock: false
network.host: 0.0.0.0
http.port: 8200
transport.tcp.port: 8250
transport.tcp.compress: true
discovery.seed_hosts: ["10.**.***.**", "10.**.***.**","10.**.***.**"]
cluster.initial_master_nodes: ["node-1", "node-2","node-3"]
#action.destructive_requires_name: true

1.重要なのはtransport.tcp.portです。一貫性を保ちます

2.cluster.initial_master_nodes: オプション

3.

おすすめ

転載: blog.csdn.net/qq_39849328/article/details/119549762