Setting up Zen unicast


(Dan Tuffery) #1

If I have 3 ES nodes, node1 will be the master node, do I have to set the
list of hosts in all of the node's elasticsearch.xml config files or just
the master config? Also, do I include the master node in the list?

discovery.zen.ping.unicast.hosts:["node1:9300 (the currrent node)",
"node2:9300", "node3:9300"]

or should it be:

discovery.zen.ping.unicast.hosts:["node2:9300", "node3:9300"]

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Amit Soni) #2

I think it would better to specify the list in as many nodes as possible.
Although specifying it in just master node would work, if the master node
goes dead then your other nodes might not discover each other.

-Amit.

On Fri, Nov 1, 2013 at 10:04 AM, dan dan.tuffery@gmail.com wrote:

If I have 3 ES nodes, node1 will be the master node, do I have to set the
list of hosts in all of the node's elasticsearch.xml config files or just
the master config? Also, do I include the master node in the list?

discovery.zen.ping.unicast.hosts:["node1:9300 (the currrent node)",
"node2:9300", "node3:9300"]

or should it be:

discovery.zen.ping.unicast.hosts:["node2:9300", "node3:9300"]

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #3