ElasticSearch.YML changes needed going from 1.x to 5.0 on Azure VM

(Jatinder) #1

I've recently started the process of upgrading an ElasticSearch cluster from 1.x to 5.0. The cluster is hosted on different Azure VMs.

In upgrading the nodes I've had to make some changes to the ElasticSearch.YML file. Two changes in particular are the need to set the network.bind_host to and network.publish_host to the node's ip.

network.bind_host: ""
network.publish_host: IP_ADDRESS_OF_NODE

I find without these changes I can't connect to the VM remotely and Nodes can't find one another.

At a high level can anyone explain what these changes mean and why they are needed? The binding to host in particularly has me more than a little confused. Thanks in advance for any help.

(Mark Walkom) #2

Have a look at https://www.elastic.co/guide/en/elasticsearch/reference/5.0/important-settings.html#network.host

(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.