ElasticSearch and stunnel
I was able to set up ElasticSearch with stunnel for a single node configuration and it works fantastic. But I am having trouble trying to do this for Zen multicast unicast.
On server 1, I have ...
Stunnel configuration
[es-server-native]
accept = 10.0.0.xx0:9300
connect = 127.0.0.1:9300
cert = stunnel.pem
elasticsearch.yml
network.host: 127.0.0.1
discovery.zen.ping.multicast.enabled: false
discovery.zen.ping.unicast.hosts: ["what do I put here since now the nodes are not accessible externally"]
On server 2, I have ...
Stunnel configuration
[es-server-native]
accept = 10.0.0.xx1:9300
connect = 127.0.0.1:9300
cert = stunnel.pem
elasticsearch.yml
network.host: 127.0.0.1
discovery.zen.ping.multicast.enabled: false
discovery.zen.ping.unicast.hosts: ["what do I put here since now the nodes are not accessible externally"]
If I try to make the local es machine my client and run ElasticSearch, I get a bind address error and ElasticSearch won't start.
On server 1
[es-client-native]
client = yes
accept = 127.0.0.1:9300
connect = 10.0.0.xx1:9300
On server 2
[es-client-native]
client = yes
accept = 127.0.0.1:9300
connect = 10.0.0.xx0:9300
Has anyone ever used stunnel to configure ElasticSearch on a cluster using unicast?
+3
source to share
No one has answered this question yet
Check out similar questions: