Elasticsearch Cluster discovery


(Asrozar) #1

I have 3 Elasticsearch servers setup on a CentOS KVM host. I'd like to lock
these servers down with iptables but when I do this It kills the cluster
(even with the propper ports open). So I thought I'd have two servers
behind the KVM nat interface, and the primary server with two nics. One nic
on the KVM nat network, and the other on my standard network that will make
it accessible. I though that since they all are on the same "layer 2"
network that the clustering would work fine but not so much. Is there a way
that I can force the clustering to happen on my nat network?

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/f9eb5a64-2fe2-4bf3-8d9a-a8a4c253abca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Mark Walkom) #2

ES runs on an all or nothing principal when it comes to networking.
You cannot split cluster and API interfaces.

Regards,
Mark Walkom

Infrastructure Engineer
Campaign Monitor
email: markw@campaignmonitor.com
web: www.campaignmonitor.com

On 6 June 2014 04:17, avery.rozar@insecure-it.com wrote:

I have 3 Elasticsearch servers setup on a CentOS KVM host. I'd like to
lock these servers down with iptables but when I do this It kills the
cluster (even with the propper ports open). So I thought I'd have two
servers behind the KVM nat interface, and the primary server with two nics.
One nic on the KVM nat network, and the other on my standard network that
will make it accessible. I though that since they all are on the same
"layer 2" network that the clustering would work fine but not so much. Is
there a way that I can force the clustering to happen on my nat network?

--
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.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/f9eb5a64-2fe2-4bf3-8d9a-a8a4c253abca%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/f9eb5a64-2fe2-4bf3-8d9a-a8a4c253abca%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 the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAEM624YfBDOwj_TSzrUYjqHpCth%3D_Abg1DM%3Dg2%2BkzyoC9%3DsnFQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


(system) #3