Karthik Saravanan
Karthik Saravanan

Reputation: 158

How to setup Three Machines with different IP Address?

I have three machines, installed same ELK(6.2.2) version in all machine,

One is master and another two's are client node,

** Each machine is the different IP address

I have tried like this, but not working

Server:

    cluster.name: sever
    node.name: main-server
    node.data: true
    node.ingest: true
    node.master: true
    node.max_local_storage_nodes: 1
    path.data: E:/ELK-6.2.2/elasticsearch/data
    path.logs: E:/ELK-6.2.2/elasticsearch/logs
    network.host: 11.xx.xx.xx
    http.port: 9200
    transport.tcp.port: 9300
    discovery.zen.ping.unicast.hosts: ["11.XX.XX.XX",  "12.xx.xx.xx:9200", "13.xx.xx.xx:9200"]
    discovery.zen.minimum_master_nodes: 1

Client:1

    cluster.name: client-one
    node.name: client-node-one
    node.data: true
    node.ingest: true
    node.master: false
    node.max_local_storage_nodes: 1
    path.data: E:/ELK-6.2.2/elasticsearch/data
    path.logs: E:/ELK-6.2.2/elasticsearch/logs
    network.host: 12.xx.xx.xx
    http.port: 9200
    transport.tcp.port: 9300
    discovery.zen.ping.unicast.hosts:  ["11.XX.XX.XX",  "12.xx.xx.xx:9200", "13.xx.xx.xx:9200"]
    discovery.zen.minimum_master_nodes: 1

Client: 2

    cluster.name: client-two
    node.name: client-node-two
    node.data: true
    node.ingest: true
    node.master: false
    node.max_local_storage_nodes: 1
    path.data: E:/ELK-6.2.2/elasticsearch/data
    path.logs: E:/ELK-6.2.2/elasticsearch/logs
    network.host: 13.xx.xx.xx
    http.port: 9200
    transport.tcp.port: 9300
    discovery.zen.ping.unicast.hosts:  ["11.XX.XX.XX",  "12.xx.xx.xx:9200", "13.xx.xx.xx:9200"]
    discovery.zen.minimum_master_nodes: 1

Please guide me how to setup these machines?

Upvotes: 1

Views: 733

Answers (1)

Frankie Wilde Jr
Frankie Wilde Jr

Reputation: 81

cluster.name must be equal for all your hosts.

Upvotes: 1

Related Questions