Yes.
The settings are almost same for all nodes

discovery.zen.ping.multicast.enabled: false # this is in elasticsearch.yml

 -Des.discovery.zen.ping.unicast.hosts=<myCommaSeparatedHostList> this is
java -D parameter

Jinyuan (Jack) Zhou

On Wed, Sep 17, 2014 at 1:27 PM, David Pilato <da...@pilato.fr> wrote:

> When you start the client node, did you set list of master nodes as
> unicast hosts?
>
> --
> David ;-)
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
>
>
> Le 17 sept. 2014 à 22:13, Jinyuan Zhou <zhou.jiny...@gmail.com> a écrit :
>
> I am using unicast with out of box zen discovery.
>
> discovery.zen.ping.multicast.enabled: false
>
>  -Des.discovery.zen.ping.unicast.hosts=<myCommaSeparatedHostList>
>
>
> Jinyuan (Jack) Zhou
>
> On Wed, Sep 17, 2014 at 1:08 PM, David Pilato <da...@pilato.fr> wrote:
>
>> Are you using multicast or unicast or a plugin for discovery?
>>
>> --
>> David ;-)
>> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
>>
>>
>> Le 17 sept. 2014 à 21:49, Jinyuan Zhou <zhou.jiny...@gmail.com> a écrit :
>>
>> yes. cluster name is set to be the same on all 12 nodes
>>
>> Jinyuan (Jack) Zhou
>>
>> On Wed, Sep 17, 2014 at 12:24 PM, David Pilato <da...@pilato.fr> wrote:
>>
>>> Did you set the same cluster name?
>>>
>>> --
>>> David ;-)
>>> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
>>>
>>>
>>> Le 17 sept. 2014 à 21:09, Jinyuan Zhou <zhou.jiny...@gmail.com> a
>>> écrit :
>>>
>>> Sorry I didn't explain clearly. I have a cluster with 12 nodes. 10 are
>>> master eligible. 2 are client only (es.node.data=false,
>>> es.node.master=false). I have configured the minimal number of nodes to
>>> form a cluster is 6.  all the boxes hosting 12 es instances are on the same
>>> rack. The problem is  that these two client-only nodes cannot  join the
>>> cluster. It cannot discovers the master. But if I make them master eligible
>>> it  discover the master node immediately.
>>> I don't understand what make the differences.
>>> Thanks,
>>> Jack
>>>
>>> Jinyuan (Jack) Zhou
>>>
>>> On Wed, Sep 17, 2014 at 11:54 AM, David Pilato <da...@pilato.fr> wrote:
>>>
>>>> A cluster needs a master node.
>>>>
>>>> You need at least one node which could be elected as master.
>>>>
>>>> --
>>>> David ;-)
>>>> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
>>>>
>>>> Le 17 sept. 2014 à 20:08, Jinyuan Zhou <zhou.jiny...@gmail.com> a
>>>> écrit :
>>>>
>>>> I have two nodes with this configuration -Des.node.data=false
>>>> -Des.node.master=false when I start. But these nodes have experiencing
>>>> finding master node. Here is message.
>>>>
>>>> [2014-09-17 16:51:10,457][WARN ][discovery                ]
>>>> [mynodename] waited for 30s and no initial state was set by the discovery
>>>>
>>>>
>>>> However, If I remove -Des.node.master=false.
>>>>
>>>> The discovery have no issue.
>>>>
>>>>
>>>> Thanks,
>>>>
>>>>
>>>> Jack
>>>>
>>>>
>>>>
>>>>  --
>>>> 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+unsubscr...@googlegroups.com.
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/elasticsearch/8b645630-c6cf-4c32-820d-213f9122f109%40googlegroups.com
>>>> <https://groups.google.com/d/msgid/elasticsearch/8b645630-c6cf-4c32-820d-213f9122f109%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>>  --
>>>> You received this message because you are subscribed to a topic in the
>>>> Google Groups "elasticsearch" group.
>>>> To unsubscribe from this topic, visit
>>>> https://groups.google.com/d/topic/elasticsearch/xMobdE6tsCA/unsubscribe
>>>> .
>>>> To unsubscribe from this group and all its topics, send an email to
>>>> elasticsearch+unsubscr...@googlegroups.com.
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/elasticsearch/348CFDC1-FF38-4D05-9453-74CEFAF53309%40pilato.fr
>>>> <https://groups.google.com/d/msgid/elasticsearch/348CFDC1-FF38-4D05-9453-74CEFAF53309%40pilato.fr?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>  --
>>> 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+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/elasticsearch/CANBTPCEoyCOzXMJCCg_UVVNmwqRip%3D0ywE9bxUrCSUSvJVQpLQ%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/elasticsearch/CANBTPCEoyCOzXMJCCg_UVVNmwqRip%3D0ywE9bxUrCSUSvJVQpLQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>> --
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "elasticsearch" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/elasticsearch/xMobdE6tsCA/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> elasticsearch+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/elasticsearch/24C43DE6-E733-4EE0-9959-3544CA47EE40%40pilato.fr
>>> <https://groups.google.com/d/msgid/elasticsearch/24C43DE6-E733-4EE0-9959-3544CA47EE40%40pilato.fr?utm_medium=email&utm_source=footer>
>>> .
>>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>  --
>> 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+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/elasticsearch/CANBTPCEmpkF_0GFTJkO%2BWWSgrWUrkLP1fscjnAX8hssQQKqJwA%40mail.gmail.com
>> <https://groups.google.com/d/msgid/elasticsearch/CANBTPCEmpkF_0GFTJkO%2BWWSgrWUrkLP1fscjnAX8hssQQKqJwA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "elasticsearch" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/elasticsearch/xMobdE6tsCA/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> elasticsearch+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/elasticsearch/2E9694D7-374B-4C9E-98E1-8808F5518373%40pilato.fr
>> <https://groups.google.com/d/msgid/elasticsearch/2E9694D7-374B-4C9E-98E1-8808F5518373%40pilato.fr?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>  --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elasticsearch/CANBTPCFaCC7TxpWYxkBH-XKs9zNy%3DqXMhFxj2gX4PnK8E16AkA%40mail.gmail.com
> <https://groups.google.com/d/msgid/elasticsearch/CANBTPCFaCC7TxpWYxkBH-XKs9zNy%3DqXMhFxj2gX4PnK8E16AkA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "elasticsearch" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/elasticsearch/xMobdE6tsCA/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> elasticsearch+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elasticsearch/51A25E3E-D8E6-4C13-A622-87165D7FEB52%40pilato.fr
> <https://groups.google.com/d/msgid/elasticsearch/51A25E3E-D8E6-4C13-A622-87165D7FEB52%40pilato.fr?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CANBTPCGuAG_GitNZXFF_jizUJsr3unY%2BkjF2tgM6XbMQAsbwqQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to