github / elasticsearch-srv-discovery

Elasticsearch discovery with SRV records
MIT License
34 stars 33 forks source link

Cluster ElasticSearch dynamic #2

Closed jeromecamilleri closed 8 years ago

jeromecamilleri commented 8 years ago

Hi,

I try to use elasticsearch-srv-discovery plugin's into an ES cluster. For 2 initial nodes cluster is ok and TCP discovery work well with DNS request answer by consul. But when I scale up my cluster and try to create a new ElasticSearch instance on the same network with the same parameter and with consult's service update, my new ES's node don"t connect to the cluster and work alone... I notice also that when I try to initiate my cluster with 3 nodes, I have only a cluster of two nodes with one alone...

Thanks for your tips...

Jérôme

JigarJoshi commented 8 years ago

Could you turn on TRACE logging for discovery module and paste some more information here, With provided information I am not sure what could be the problem here, but I forked this plugin and made it consul specific, if you want to give it a try https://github.com/lithiumtech/elasticsearch-consul-discovery

grantr commented 8 years ago

@jeromecamilleri I'm surprised TCP discovery works for you at all, since it doesn't for me. I haven't had time to debug it yet.

jeromecamilleri commented 8 years ago

Thanks JigarJoshi, forks version of your plugin using conul API work well in my environment.

JigarJoshi commented 8 years ago

:+1:

chrismwendt commented 8 years ago

@jeromecamilleri: Version 1.5.0 was just released :tada: and should work for you. Give it a try and reopen this issue if it doesn't.