On Fri, May 25, 2012 at 1:09 PM, Anjana Fernando <[email protected]> wrote:

> Hi Charith,
>
> On Fri, May 25, 2012 at 12:32 PM, Charith Wickramarachchi <
> [email protected]> wrote:
>
>>
>>
>> With the Message broker if the clustering is enabled It should start a
>> zookeeper instance with the server. where we need an option to start the
>> zookeeper selectively based on cluster configuration.
>>
>
> So you guys always run the ZooKeeper servers inside the MB cluster itself?
> .. it maybe better to give the option to point to an external ZooKeeper
> cluster as well. This is how it is done in the coordination.core. Where in
> the coordination-client-config.xml, it is mentioned if it "enabled" first,
> and if it is enabled, we have the option to give the location of the
> servers (the default value is one server with localhost and default port).
> So usually they say to run 3 node ZooKeeper cluster to handle fail-over,
> and if you just have a 2 node MB cluster, it will not be suitable. So maybe
> it would be best to just give the configuration, and only if required to
> run the ZooKeeper server inside the Carbon server in the clustered
> scenario, the user can explicitly install the coordination.server feature.
>

Yes even in out case user can point to a external zookeeper cluster. What
we thought was to ship coordination feature with the product by default So
that based on the configuration it will start zookeeper server.

We do not always start zookeeper inside MB Cluster. As an example   there
can be scenarios where in a 5 node MB cluster there can be 4 Cassandra node
cluster and 3 zookeeper node cluster. Since we thought of
shipping coordination feature with product by default we need to have
option to disable the starting of zookeeper by default and start it depend
on the cluster configuration.

--Charith


>
> Cheers,
> Anjana.
>
>
>>
>> --Charith
>>
>>
>>
>> In the
>>
>>>
>>> Cheers,
>>> Anjana.
>>>
>>>
>>>>
>>>> cheers,
>>>> Charith
>>>>
>>>> --
>>>> Charith Dhanushka Wickramarachchi
>>>> Senior Software Engineer
>>>> WSO2 Inc
>>>> http://wso2.com/
>>>> http://wso2.org/
>>>>
>>>> blog
>>>> http://charithwiki.blogspot.com/
>>>>
>>>> twitter
>>>> http://twitter.com/charithwiki
>>>>
>>>> Mobile : 0776706568
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> *Anjana Fernando*
>>> Associate Technical Lead
>>> WSO2 Inc. | http://wso2.com
>>> lean . enterprise . middleware
>>>
>>
>>
>>
>> --
>> Charith Dhanushka Wickramarachchi
>> Senior Software Engineer
>> WSO2 Inc
>> http://wso2.com/
>> http://wso2.org/
>>
>> blog
>> http://charithwiki.blogspot.com/
>>
>> twitter
>> http://twitter.com/charithwiki
>>
>> Mobile : 0776706568
>>
>>
>>
>
>
> --
> *Anjana Fernando*
> Associate Technical Lead
> WSO2 Inc. | http://wso2.com
> lean . enterprise . middleware
>



-- 
Charith Dhanushka Wickramarachchi
Senior Software Engineer
WSO2 Inc
http://wso2.com/
http://wso2.org/

blog
http://charithwiki.blogspot.com/

twitter
http://twitter.com/charithwiki

Mobile : 0776706568
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to