I want to use zookeeper in my cluster. I have a few questions I did not yet find answers in the documents.
I want to have a management node in the cluster where the main zookeeper resides, and then have zookeeper on some nodes of the cluster, as failover.
What is the best practice for nodes to get the URL of the management node? I can't hardcode this since there can be serveral instances of the cluster in the data center (so a dns name is no good). In other words, is there a discovery mechanism?
When the management node crashes, how will the client nodes know to contact the failover nodes? Should they be able to read the same configuration file to know what are the servers in the quorum?
When setting up a quorum, is there a best practice to generate the myid files? So each node will self-discover its id?