We are having issues with the java client connecting to elasticsearch through a virtual IP. We have the vip set up on our F5 with all the nodes of the cluster in the vip.
-
We can connect to the cluster using the vip and specifying port 9200 (eg. curl "http//vip-name:9200")
-
We can connect to the cluster with the java client if we specify one of the cluster nodes (as opposed to the vip)
-
We can NOT connect to the cluster with the java client if we specify the vip. We get the error:
NoNodeAvailableException[None of the configured nodes are available: [{#transport#-1}{xx.xx.xx.xx}{xx.xx.xx.xx:9300}]]
xx.xx.xx.xx above is actually the vip IP address.
Any ideas?
Thanks!