Discovery.zen.ping.unicast.hosts configuration

Hi.

When I setup our es cluster, discovery.zen.ping.unicast.hosts of all nodes is set to ip of three master nodes. After a period of time, all the master nodes are replaced one by one. Now, I restart some of the data nodes, these nodes can never rejoin the cluster again except I update discovery.zen.ping.unicast.hosts configuration item.

It is not elegant that user have to update every node's configuration when all master nodes are replaced. I wonder that if node store cluster info locally or not? can node rejoin the cluster through these info automatically?

Any suggestions would be appreciated : )

Use a CNAME that points to multiple hosts, then just manage that cname as needed.

Why are you replacing all of your master nodes in the first place?

It's a good solution, but need some effort to manage CNAME. It's more elegant to allow node rejoin the cluster automatically.

It's has the same problem if I use some other node as the value of discovery.zen.ping.unicast.hosts.

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