Discovery.zen.ping.unicast.hosts configuration


(jiangguoqiang) #1

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 : )


(Mark Walkom) #2

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


(Christian Dahlqvist) #3

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


(jiangguoqiang) #4

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


(jiangguoqiang) #5

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


(system) #6

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