Hi Paul, I htink you might be confusing integrating ZK and group membership. ZK is a service. You probably should not be running it within your app. You can run ZK service (like the configs your provided) and then use the ZK Client API to do group membership.
Also, this might be helpful: https://cwiki.apache.org/confluence/display/ZOOKEEPER/Tutorial thanks mahadev On Tue, Jul 5, 2011 at 5:29 PM, Paul Rimba <[email protected]> wrote: > Dear Gurus, > > I am not sure about group membership. I want to start up a few VMs and have > zookeeper server running on each of them. > > I want all these servers to join a group. How do i go about doing it? > > How do i check whether my server has join a group? > > > I put this line on my zoo.cfg : > > server.1=<ipaddress>:2888:3888 > server.2=<ipaddress>:2889:3889 > server.3=<ipaddress>:2890:3890 > > group.1=1:2:3 > > does that mean that server 1-3 join a group called 1? > > Thank you in advance. > > > Regards, > Paul >
