Dynamic server management?

2008-11-17 Thread Kiesslich, Thomas
Hi all, I am evaluating ZooKeeper as a discovery protocol. I want to change the number of servers that build up ensemble during runtime of an existing number servers. Is that possible or do I have to change the configuration and restart all servers? I found that if you have 3 servers configure

RE: Dynamic server management?

2008-11-17 Thread Flavio Junqueira
Hi Thomas, We currently don't have such a feature of adding and removing servers dynamically, although we would like to, so we'll have it eventually. Without a dynamic mechanism for adding and removing servers, your example is problematic. Suppose that you configure your ensemble to have 3 servers

AW: Dynamic server management?

2008-11-17 Thread Kiesslich, Thomas
Hi Flavio, Thank you for the information. So how do you handle than the following scenario? You have 5 servers and temporary network segmentation, where server 1 and 2 cannot talk to 3,4 and 5. Will server 1 and 2 do a new leader election for their partition, as well server 3,4 and 5 for their

RE: Dynamic server management?

2008-11-17 Thread Flavio Junqueira
Hi Thomas, In the scenario you describe, 1 and 2 won't make any progress as they are not part of a component that contains a quorum (a majority in this current implementation). Servers 3,4,5 will elect a leader (if they don't have one yet), and will make progress independently. Once the segmentatio

Re: Exists Watch Triggered by Delete

2008-11-17 Thread Patrick Hunt
No problem, we really appreciate your feedback -- keep it coming. Patrick Stu Hood wrote: Thanks a bunch Patrick! I really appreciate your work on ZooKeeper... you have made a tremendous impact on the project. I will try the ZOOKEEPER-221 patch. Thanks, Stu -Original Message- From:

Re: JMX Documentation?

2008-11-17 Thread Mahadev Konar
Hi Garth, Sorry for the delayed response. Their is an open jira for doucmentation on jmx http://issues.apache.org/jira/browse/ZOOKEEPER-177. We will be adding the docs soon. For now: The way you can get jmx support is by running ManagedQuorumPeerMain rather than QuorumPeerMain Here is an exa

Re: JMX Documentation?

2008-11-17 Thread Patrick Hunt
I found that I needed to run the server with -J-Djava.rmi.server.hostname=localhost in order to connect a local jconsole instance, this was on my ubuntu machine. YMMV. Patrick Mahadev Konar wrote: Hi Garth, Sorry for the delayed response. Their is an open jira for doucmentation on jmx htt

Re: JMX Documentation?

2008-11-17 Thread Mahadev Konar
Hmm... On my linux machine it worked fine without the option... mahadev On 11/17/08 3:10 PM, "Patrick Hunt" <[EMAIL PROTECTED]> wrote: > I found that I needed to run the server with > > -J-Djava.rmi.server.hostname=localhost > > in order to connect a local jconsole instance, this was on my ub