Looks like adding multiple nodes from a tribe is not working for me. The tribe's elasticsearch.yml is as below:
node.name: tribe_node
network.host: 172.18.17.46
transport.tcp.port: 9300
http.port: 9200
http.enabled: true
tribe.t1.cluster.name: pr_site
tribe.t1.node.name: pr_node
tribe.t1.discovery.zen.ping.unicast.hosts: ["172.18.17.43:9300"]
tribe.t1.discovery.zen.ping.multicast.enabled: false
tribe.t1.path.conf: /home/npciadm/Desktop/NPCI/elasticsearch-2.1.1/config
tribe.t1.path.plugins: /home/npciadm/Desktop/NPCI/elasticsearch-2.1.1/plugins
tribe.t1.network.bind_host: 0.0.0.0
tribe.t1.network.publish_host: ["172.18.17.46"]
tribe.t2.cluster.name: ha_site
tribe.t2.node.name: ha_node
tribe.t2.discovery.zen.ping.unicast.hosts: ["172.18.17.44:9300"]
tribe.t2.discovery.zen.ping.multicast.enabled: false
tribe.t2.path.conf: /home/npciadm/Desktop/NPCI/elasticsearch-2.1.1/config
tribe.t2.path.plugins: /home/npciadm/Desktop/NPCI/elasticsearch-2.1.1/plugins
tribe.t2.network.bind_host: 0.0.0.0
tribe.t2.network.publish_host: ["172.18.17.46"]
But while starting the tribe, it is giving the following error. If I start the tribe using 9300, it tries to connect to 9301. If I start with 9301, it gives the error with 9300:
[2016-05-17 20:41:15,296][INFO ][node ] [tribe_node] version[2.1.1], pid[22695], build[40e2c53/2015-12-15T13:05:55Z]
[2016-05-17 20:41:15,296][INFO ][node ] [tribe_node] initializing ...
[2016-05-17 20:41:15,342][INFO ][plugins ] [tribe_node] loaded [], sites []
[2016-05-17 20:41:16,341][INFO ][node ] [tribe_node/t1] version[2.1.1], pid[22695], build[40e2c53/2015-12-15T13:05:55Z]
[2016-05-17 20:41:16,341][INFO ][node ] [tribe_node/t1] initializing ...
[2016-05-17 20:41:16,459][INFO ][plugins ] [tribe_node/t1] loaded [], sites []
[2016-05-17 20:41:16,543][INFO ][node ] [tribe_node/t1] initialized
[2016-05-17 20:41:16,544][INFO ][node ] [tribe_node/t2] version[2.1.1], pid[22695], build[40e2c53/2015-12-15T13:05:55Z]
[2016-05-17 20:41:16,544][INFO ][node ] [tribe_node/t2] initializing ...
[2016-05-17 20:41:16,569][INFO ][plugins ] [tribe_node/t2] loaded [], sites []
[2016-05-17 20:41:16,632][INFO ][node ] [tribe_node/t2] initialized
[2016-05-17 20:41:16,635][INFO ][node ] [tribe_node] initialized
[2016-05-17 20:41:16,635][INFO ][node ] [tribe_node] starting ...
[2016-05-17 20:41:16,677][INFO ][transport ] [tribe_node] publish_address {172.18.17.46:9300}, bound_addresses {172.18.17.46:9300}
[2016-05-17 20:41:16,681][INFO ][discovery ] [tribe_node] elasticsearch/hzedYqV3TvaWKOhuUEhMSg
[2016-05-17 20:41:16,681][WARN ][discovery ] [tribe_node] waited for 0s and no initial state was set by the discovery
[2016-05-17 20:41:16,687][INFO ][http ] [tribe_node] publish_address {172.18.17.46:9200}, bound_addresses {172.18.17.46:9200}
[2016-05-17 20:41:16,687][INFO ][node ] [tribe_node/t1] starting ...
[2016-05-17 20:41:16,695][INFO ][transport ] [tribe_node/t1] publish_address {127.0.0.1:9301}, bound_addresses {[::]:9301}
[2016-05-17 20:41:16,697][INFO ][discovery ] [tribe_node/t1] pr_site/JMA9-nQ6QEiPZ2v1diDXYg
[2016-05-17 20:41:19,737][INFO ][discovery.zen ] [tribe_node/t1] failed to send join request to master [{pr_node}{huT6N4kvR5mGXOsY0TG87w}{172.18.17.43}{172.18.17.43:9300}{master=true}], reason [RemoteTransportException[[pr_node][172.18.17.43:9300][internal:discovery/zen/join]]; nested: ConnectTransportException[[tribe_node/t1][127.0.0.1:9301] connect_timeout[30s]]; nested: NotSerializableExceptionWrapper[Connection refused: /127.0.0.1:9301]; ]
^C[2016-05-17 20:41:20,985][INFO ][node ] [tribe_node] stopping ...
[2016-05-17 20:41:20,998][INFO ][node ] [tribe_node] stopped
[2016-05-17 20:41:20,998][INFO ][node ] [tribe_node] closing ...
[2016-05-17 20:41:20,999][INFO ][node ] [tribe_node/t1] stopping ...
[2016-05-17 20:41:21,005][INFO ][node ] [tribe_node/t1] stopped
[2016-05-17 20:41:21,005][INFO ][node ] [tribe_node/t1] closing ...
[2016-05-17 20:41:21,009][INFO ][node ] [tribe_node/t1] closed
[2016-05-17 20:41:21,009][INFO ][node ] [tribe_node/t2] closing ...
[2016-05-17 20:41:21,012][INFO ][node ] [tribe_node/t2] closed
[2016-05-17 20:41:21,013][INFO ][node ] [tribe_node] closed