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:[email protected]]
Sent: Wednesday, July 20, 2011 9:09 PM
To: [email protected]
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, <[email protected]> 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
>
>
>
>