#master1
cluster.name: cluster-1
node.name: master-1
path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
network.host: [_local_, _site_]
discovery.seed_hosts: ["10.0.1.101"]
cluster.initial_master_nodes: ["master-1"]
node.master: true
node.data: false
node.ingest: false
node.ml: false
----------------
#nodo1
cluster.name: cluster-1
node.name: data-1
node.attr.temp: hot
path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
network.host: [_local_, _site_]
discovery.seed_hosts: ["10.0.1.101"]
cluster.initial_master_nodes: ["master-1"]
node.master: false
node.data: true
node.ingest: true
node.ml: false
-----------------------
#nodo2
cluster.name: cluster-1
node.name: data-2
node.attr.temp: warm
path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
network.host: [_local_, _site_]
discovery.seed_hosts: ["10.0.1.101"]
cluster.initial_master_nodes: ["master-1"]
node.master: false
node.data: true
node.ingest: true
node.ml: false
No comments:
Post a Comment