What we do is make N.zookeeper.$DC.$DOMAIN entries in DNS. We have one ZK cluster per DC. Our configs then just point to
<value>0.zookeeper,1.zookeeper,2.zookeeper,3.zookeeper,4.zookeeper</value> --Dave On Sat, Dec 3, 2011 at 6:15 AM, Suraj Varma <[email protected]> wrote: > J-D: > Did you mean that a _single_ dns entry returns all five ips belonging > to individual zk nodes? > > Is this used only by "clients" ... or even within the cluster? > And ... the zk nodes self-identify by IP ... and is this how region > server nodes reach out specifically to the "leader" zk node? > --Suraj > > > On Wed, Nov 30, 2011 at 4:14 PM, Jean-Daniel Cryans <[email protected]> > wrote: >> It's pretty much what we do, works well. >> >> J-D >> >> On Wed, Nov 30, 2011 at 3:49 PM, Rita <[email protected]> wrote: >>> Hello, >>> >>> >>> Previously, I assigned 5 servers as part of the zookeeper quorum. >>> Everything works fine but I was hard coding these 5 servers everywhere and >>> I was thinking of creating a dns entry called appquorum which will always >>> return these 5 servers IPs. >>> >>> Any thoughts about this? >>> >>> >>> >>> -- >>> --- Get your facts first, then you can distort them as you please.--
