Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Zookeeper >> mail # user >> Zookeeper multiserver setup?


Copy link to this message
-
Re: Zookeeper multiserver setup?
Yes - they should. Keep in mind that the zoo.cfg, and the ID file must be
correct and in agreement on each instance. You can do a stat on each
instance to see what state it's in:

    >telnet localhost 2181
     stat

-JZ

On 5/8/12 2:43 PM, "Something Something" <[EMAIL PROTECTED]> wrote:

>Thanks Jordan.  Will definitely look at the cluster management tool.  In
>the mean time, am I correct with my assumption in #4?  Once all of them
>are
>started they would automagically start talking to each other, right?
>
>
>On Tue, May 8, 2012 at 2:36 PM, Jordan Zimmerman
><[EMAIL PROTECTED]>wrote:
>
>> Yes, you must start them all individually. ZooKeeper does not currently
>> have any cluster-wide management tools built in.
>>
>> FYI - we've open sourced a cluster management tool for ZooKeeper. Please
>> have a look:
>>
>>        https://github.com/Netflix/exhibitor
>>
>> On 5/8/12 2:31 PM, "Something Something" <[EMAIL PROTECTED]>
>>wrote:
>>
>> >Hello,
>> >
>> >Trying to follow directions from here:
>> >
>>
>>http://zookeeper.apache.org/doc/trunk/zookeeperAdmin.html#sc_zkMulitServe
>>r
>> >Setup
>> >
>> >to setup a cluster of zookeepers.
>> >
>> >Questions:
>> >
>> >1)  If everything is setup correctly, do I have to go to each machine
>>and
>> >start Zookeeper server in each of them individually?
>> >2)  I was thinking if I start it on one master machine (well there's no
>> >real master) then all zookeepers in the quorum would be started, but
>>this
>> >is not how it works correct?
>> >3)  If I start individually, then I get messages saying the other
>> >zookeepers haven't started.  Is that just a warning?
>> >4)  When all of them are started, would they all be able to talk to
>>each
>> >other?
>> >
>> >Sorry for the dumb questions and thanks for the help.
>>
>>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB