Regarding Configuration Multi-Node Cluster

in elasticsearch.yml

discovery.zen.ping.unicast.hosts: 
   - 192.168.1.10:9300
   - 192.168.1.11 
   - seeds.mydomain.com 

What exactly is the seeds.mydomain.com? In my opinion it is a domain name that can be reachable through multiple IPs, as I understood it.

e.g If I have two machines running ES (Machine 1: 10.0.0.1) (Machine 2: 10.0.0.2) on VM, what comes to my mind I configure /etc/hosts on both machines by adding the following line:

on Machine 1:
10.0.0.1 seeds.mydomain.com
on Machine 2:
10.0.0.2 seeds.mydomain.com

Am I correct?

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