What Host IP should I use to bind my 2 nodes with the same cluster.
Given this configuration:
Node1:
cluster.name: sql
node.name: engineering
node.master: true
node.data: true
network.host: 127.0.0.3
transport.tcp.port: 9300-9400
http.port: 9200
discovery.zen.ping.multicast.enabled: false
discovery.zen.ping.unicast.hosts: ["127.0.0.3", "127.0.0.2"]
index.number_of_shards: 2
index.number_of_replicas: 1
Node2:
cluster.name: sql
node.name: team
node.master: false
node.data: true
network.host: 192.168.0.1
http.port: 9200
transport.tcp.port: 9300-9400
discovery.zen.ping.multicast.enabled: false
discovery.zen.ping.unicast.hosts: ["127.0.0.3","192.168.0.1:9300"]
index.number_of_shards: 2
index.number_of_replicas: 1