Setting up 2-Node cluster on local network

Hi,
I am trying to setup 2-node cluster on local network - one node on mac and the other on ubuntu.
I am able to connect the node on mac from ubuntu and vice versa.

But I see only one node in cluster at all time.
I would like to know what i am missing.
Thank you.

My elasticsearch.yml files are as follows:

Node 1 on mac

cluster.name: es-cluster-ryanzan

node.name: es-node-mac
node.master: true

path.data: /usr/local/var/lib/elasticsearch/

path.logs: /usr/local/var/log/elasticsearch/

network.host: 192.168.1.133

http.port: 9200

discovery.seed_hosts: ["192.168.1.129:9200"]

Node 2 on ubuntu

cluster.name: es-cluster-ryanzan

node.name: es-node-ubuntu
node.master: true

path.data: /var/lib/elasticsearch

path.logs: /var/log/elasticsearch

network.host: 192.168.1.129

http.port: 9200

discovery.seed_hosts: ["192.168.1.133:9200"]

Discovery seed hosts should not have a port specified. You add Lao have not set initial master nodes.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.