Unicast v/s Multicast for nodes in a v-net

docker

(Imran Siddique) #1

For Elasticsearch nodes inside a virtual network and static IP addresses, can we use multi-cast instead of unicast? Also, is it ok if we let ES decide the names of nodes instead of us hardcoding in the config.

Context is we are trying to see what all ES Config we can leave untouched when we create the nodes and install ES.


(Magnus Kessler) #2

Elasticsearch can load the list of unicast hosts used in the zen discovery from file. See the documentation for more details.

The node name is only used for display purposes and can be left out of the configuration. Elasticsearch internally uses a randomly generated name to address nodes.


(Imran Siddique) #3

Thank you so much! This is helpful information.