zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Vinodh.Peru...@thomsonreuters.com>
Subject RE: How to add a server to zookeeper
Date Thu, 21 Jul 2011 06:10:08 GMT
Thanks for the responses Ted.

S1 and S2 are servers to be monitored by zookeeper.
S1 and S2 are alive are dead is known to zookeeper always.

C1 has a watch created on zoo keeper. These watches will be triggered on S1, S2 - Up State,
Down State.

                  -------------
			| ZooKeeper |  
                  -------------
			  /  \ 	|
                   /    \    	|
			S1    S2    C1

This is what I would like to achieve. 

I have the following questions:
    - How to tell ZooKeeper to monitor S1, S2
    - Why S1 and S2 should talk to each other.


Regards,
Vinodh


-----Original Message-----
From: Ted Dunning [mailto:ted.dunning@gmail.com] 
Sent: Wednesday, July 20, 2011 9:09 PM
To: user@zookeeper.apache.org
Subject: Re: How to add a server to zookeeper

They should connect to that ZK server and keep their client connections
open.

Perhaps you meant something else.  Can you be more detailed in your
question?

On Wed, Jul 20, 2011 at 3:01 AM, <Vinodh.Perumal@thomsonreuters.com> wrote:

> Hi,
>
> I want the status of two machines to be monitored by one ZooKeeper
> server.
>
> How to specify those two machines belong to a ZooKeeper server?
>
>
>
>
>
> Thanks and Regards,
>
> Vinodh
>
>
>
>
Mime
View raw message