You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Gnanaguru S <gn...@wipro.com> on 2011/08/17 07:09:49 UTC

Use case in karaf-cellar

Hi

I am successful in identifying the nodes using karaf-cellar. 

Now i want to test or use the clusters. 

If one cluster got failed, then it should move to another cluster. 

Suggest for a use case. Simple use case such that i can test the clustering
functionality .

Regards
Guru

--
View this message in context: http://karaf.922171.n3.nabble.com/Use-case-in-karaf-cellar-tp3260645p3260645.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Use case in karaf-cellar

Posted by Gnanaguru S <gn...@wipro.com>.
Hi Jean, Andreas & Charles ,

Thanks a lot for giving a clear perspective into the product. Sure i will
contribute to the roadmap till what i can. 

Thanks Again
Guru

--
View this message in context: http://karaf.922171.n3.nabble.com/Use-case-in-karaf-cellar-tp3260645p3261092.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Use case in karaf-cellar

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
FYI,

the transport layer, a camel-cellar endpoint, etc are in the Cellar roadmap.
Any contribution is welcome to help us on that ;)

Regards
JB

On 08/17/2011 09:38 AM, Andreas Pieber wrote:
> Depending on your requirements and timeframe you have available you have
> two options:
>
> As Charles already said: fabric is opensource and has commercial support
> (if this is what you're looking for)
>
> Option b is (if you have some knowledge and time to share) to implement
> clustering into cellar. While it is not implemented now cellar has the
> potentials to do fallback and clustering;
>
> So, as your time allows :-)
>
> Kind regards,
> Andreas
>
> On Wed, Aug 17, 2011 at 09:33, Charles Moulliard <cmoulliard@gmail.com
> <ma...@gmail.com>> wrote:
>
>     Hi Guru,
>
>     If you need this kind of support, then you must considering using Fuse
>     Fabric and fabric-camel by example. More info here :
>     http://fabric.fusesource.org/
>
>     I have created an example showing How to deploy a project using
>     Zookeepeer on 3 differents Karaf instances (= zookeeper agent) and
>     camel fabric allows to loadbalance requests between the agents.
>     (https://github.com/fusesource/fabric/tree/master/fabric-examples/fabric-camel-cluster-loadbalancing)
>
>     Regards,
>
>     Charles Moulliard
>
>     Apache Committer
>
>     Blog : http://cmoulliard.blogspot.com
>     Twitter : http://twitter.com/cmoulliard
>     Linkedin : http://www.linkedin.com/in/charlesmoulliard
>     Skype: cmoulliard
>
>
>
>     On Wed, Aug 17, 2011 at 9:17 AM, Achim Nierbeck
>     <bcanhome@googlemail.com <ma...@googlemail.com>> wrote:
>      > Hi Guru,
>      >
>      > I think we can bring it to one point for clustering right now.
>      > Cellar as it works right now is meant for "farming" so you are
>     able to
>      > replicate the
>      > installation state in your cluster.
>      >
>      > Right now there is no support for Session Failover as you might
>     have expected.
>      >
>      > Regards, Achim
>      >
>      > 2011/8/17 Charles Moulliard <cmoulliard@gmail.com
>     <ma...@gmail.com>>:
>      >> Hi Guru,
>      >>
>      >> As explained by Jean-Baptiste, Karaf Cellar is not at a loadbalancer
>      >> nor a fault tolerant solution. Cellar is able to define features,
>      >> bundles, properties to be deployed on Karaf instances which are part
>      >> of the cellar but Cellar is not able to redirect request to another
>      >> cellar instance if one node death. Please, remember, what I
>     explain to
>      >> you in a previous email.
>      >>
>      >> Regards,
>      >>
>      >> Charles Moulliard
>      >>
>      >> Apache Committer
>      >>
>      >> Blog : http://cmoulliard.blogspot.com
>      >> Twitter : http://twitter.com/cmoulliard
>      >> Linkedin : http://www.linkedin.com/in/charlesmoulliard
>      >> Skype: cmoulliard
>      >>
>      >>
>      >>
>      >> On Wed, Aug 17, 2011 at 8:48 AM, Gnanaguru S
>      >> <gnanaguru.sattanathan@wipro.com
>     <ma...@wipro.com>> wrote:
>      >>>
>      >>> Hi Jean,
>      >>>
>      >>> I obviously experienced it. Let me explain you what i did.
>      >>>
>      >>> I installed karaf and added camel, camel-blueprint to it.
>      >>>
>      >>> I deployed a simple use case in three cluster ( karaf-cellar
>     installed ).
>      >>>
>      >>> When i killed the root node during the process of the use case.
>     then i
>      >>> noticed the process was not assigned to other cluster.
>      >>>
>      >>> Regards
>      >>> Guru
>      >>>
>      >>> --
>      >>> View this message in context:
>     http://karaf.922171.n3.nabble.com/Use-case-in-karaf-cellar-tp3260645p3260812.html
>      >>> Sent from the Karaf - User mailing list archive at Nabble.com.
>      >>>
>      >>
>      >
>      >
>      >
>      > --
>      > --
>      > *Achim Nierbeck*
>      >
>      >
>      > Apache Karaf <http://karaf.apache.org/> Committer & PMC
>      > OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/>
>      > Committer & Project Lead
>      > blog <http://notizblog.nierbeck.de/>
>      >
>
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Re: Use case in karaf-cellar

Posted by Andreas Pieber <an...@gmail.com>.
Depending on your requirements and timeframe you have available you have two
options:

As Charles already said: fabric is opensource and has commercial support (if
this is what you're looking for)

Option b is (if you have some knowledge and time to share) to implement
clustering into cellar. While it is not implemented now cellar has the
potentials to do fallback and clustering;

So, as your time allows :-)

Kind regards,
Andreas

On Wed, Aug 17, 2011 at 09:33, Charles Moulliard <cm...@gmail.com>wrote:

> Hi Guru,
>
> If you need this kind of support, then you must considering using Fuse
> Fabric and fabric-camel by example. More info here :
> http://fabric.fusesource.org/
>
> I have created an example showing How to deploy a project using
> Zookeepeer on 3 differents Karaf instances (= zookeeper agent) and
> camel fabric allows to loadbalance requests between the agents.
> (
> https://github.com/fusesource/fabric/tree/master/fabric-examples/fabric-camel-cluster-loadbalancing
> )
>
> Regards,
>
> Charles Moulliard
>
> Apache Committer
>
> Blog : http://cmoulliard.blogspot.com
> Twitter : http://twitter.com/cmoulliard
> Linkedin : http://www.linkedin.com/in/charlesmoulliard
> Skype: cmoulliard
>
>
>
> On Wed, Aug 17, 2011 at 9:17 AM, Achim Nierbeck <bc...@googlemail.com>
> wrote:
> > Hi Guru,
> >
> > I think we can bring it to one point for clustering right now.
> > Cellar as it works right now is meant for "farming" so you are able to
> > replicate the
> > installation state in your cluster.
> >
> > Right now there is no support for Session Failover as you might have
> expected.
> >
> > Regards, Achim
> >
> > 2011/8/17 Charles Moulliard <cm...@gmail.com>:
> >> Hi Guru,
> >>
> >> As explained by Jean-Baptiste, Karaf Cellar is not at a loadbalancer
> >> nor a fault tolerant solution. Cellar is able to define features,
> >> bundles, properties to be deployed on Karaf instances which are part
> >> of the cellar but Cellar is not able to redirect request to another
> >> cellar instance if one node death. Please, remember, what I explain to
> >> you in a previous email.
> >>
> >> Regards,
> >>
> >> Charles Moulliard
> >>
> >> Apache Committer
> >>
> >> Blog : http://cmoulliard.blogspot.com
> >> Twitter : http://twitter.com/cmoulliard
> >> Linkedin : http://www.linkedin.com/in/charlesmoulliard
> >> Skype: cmoulliard
> >>
> >>
> >>
> >> On Wed, Aug 17, 2011 at 8:48 AM, Gnanaguru S
> >> <gn...@wipro.com> wrote:
> >>>
> >>> Hi Jean,
> >>>
> >>> I obviously experienced it. Let me explain you what i did.
> >>>
> >>> I installed karaf and added camel, camel-blueprint to it.
> >>>
> >>> I deployed a simple use case in three cluster ( karaf-cellar installed
> ).
> >>>
> >>> When i killed the root node during the process of the use case. then i
> >>> noticed the process was not assigned to other cluster.
> >>>
> >>> Regards
> >>> Guru
> >>>
> >>> --
> >>> View this message in context:
> http://karaf.922171.n3.nabble.com/Use-case-in-karaf-cellar-tp3260645p3260812.html
> >>> Sent from the Karaf - User mailing list archive at Nabble.com.
> >>>
> >>
> >
> >
> >
> > --
> > --
> > *Achim Nierbeck*
> >
> >
> > Apache Karaf <http://karaf.apache.org/> Committer & PMC
> > OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/>
> > Committer & Project Lead
> > blog <http://notizblog.nierbeck.de/>
> >
>

Re: Use case in karaf-cellar

Posted by Charles Moulliard <cm...@gmail.com>.
Hi Guru,

If you need this kind of support, then you must considering using Fuse
Fabric and fabric-camel by example. More info here :
http://fabric.fusesource.org/

I have created an example showing How to deploy a project using
Zookeepeer on 3 differents Karaf instances (= zookeeper agent) and
camel fabric allows to loadbalance requests between the agents.
(https://github.com/fusesource/fabric/tree/master/fabric-examples/fabric-camel-cluster-loadbalancing)

Regards,

Charles Moulliard

Apache Committer

Blog : http://cmoulliard.blogspot.com
Twitter : http://twitter.com/cmoulliard
Linkedin : http://www.linkedin.com/in/charlesmoulliard
Skype: cmoulliard



On Wed, Aug 17, 2011 at 9:17 AM, Achim Nierbeck <bc...@googlemail.com> wrote:
> Hi Guru,
>
> I think we can bring it to one point for clustering right now.
> Cellar as it works right now is meant for "farming" so you are able to
> replicate the
> installation state in your cluster.
>
> Right now there is no support for Session Failover as you might have expected.
>
> Regards, Achim
>
> 2011/8/17 Charles Moulliard <cm...@gmail.com>:
>> Hi Guru,
>>
>> As explained by Jean-Baptiste, Karaf Cellar is not at a loadbalancer
>> nor a fault tolerant solution. Cellar is able to define features,
>> bundles, properties to be deployed on Karaf instances which are part
>> of the cellar but Cellar is not able to redirect request to another
>> cellar instance if one node death. Please, remember, what I explain to
>> you in a previous email.
>>
>> Regards,
>>
>> Charles Moulliard
>>
>> Apache Committer
>>
>> Blog : http://cmoulliard.blogspot.com
>> Twitter : http://twitter.com/cmoulliard
>> Linkedin : http://www.linkedin.com/in/charlesmoulliard
>> Skype: cmoulliard
>>
>>
>>
>> On Wed, Aug 17, 2011 at 8:48 AM, Gnanaguru S
>> <gn...@wipro.com> wrote:
>>>
>>> Hi Jean,
>>>
>>> I obviously experienced it. Let me explain you what i did.
>>>
>>> I installed karaf and added camel, camel-blueprint to it.
>>>
>>> I deployed a simple use case in three cluster ( karaf-cellar installed ).
>>>
>>> When i killed the root node during the process of the use case. then i
>>> noticed the process was not assigned to other cluster.
>>>
>>> Regards
>>> Guru
>>>
>>> --
>>> View this message in context: http://karaf.922171.n3.nabble.com/Use-case-in-karaf-cellar-tp3260645p3260812.html
>>> Sent from the Karaf - User mailing list archive at Nabble.com.
>>>
>>
>
>
>
> --
> --
> *Achim Nierbeck*
>
>
> Apache Karaf <http://karaf.apache.org/> Committer & PMC
> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/>
> Committer & Project Lead
> blog <http://notizblog.nierbeck.de/>
>

Re: Use case in karaf-cellar

Posted by Achim Nierbeck <bc...@googlemail.com>.
Hi Guru,

I think we can bring it to one point for clustering right now.
Cellar as it works right now is meant for "farming" so you are able to
replicate the
installation state in your cluster.

Right now there is no support for Session Failover as you might have expected.

Regards, Achim

2011/8/17 Charles Moulliard <cm...@gmail.com>:
> Hi Guru,
>
> As explained by Jean-Baptiste, Karaf Cellar is not at a loadbalancer
> nor a fault tolerant solution. Cellar is able to define features,
> bundles, properties to be deployed on Karaf instances which are part
> of the cellar but Cellar is not able to redirect request to another
> cellar instance if one node death. Please, remember, what I explain to
> you in a previous email.
>
> Regards,
>
> Charles Moulliard
>
> Apache Committer
>
> Blog : http://cmoulliard.blogspot.com
> Twitter : http://twitter.com/cmoulliard
> Linkedin : http://www.linkedin.com/in/charlesmoulliard
> Skype: cmoulliard
>
>
>
> On Wed, Aug 17, 2011 at 8:48 AM, Gnanaguru S
> <gn...@wipro.com> wrote:
>>
>> Hi Jean,
>>
>> I obviously experienced it. Let me explain you what i did.
>>
>> I installed karaf and added camel, camel-blueprint to it.
>>
>> I deployed a simple use case in three cluster ( karaf-cellar installed ).
>>
>> When i killed the root node during the process of the use case. then i
>> noticed the process was not assigned to other cluster.
>>
>> Regards
>> Guru
>>
>> --
>> View this message in context: http://karaf.922171.n3.nabble.com/Use-case-in-karaf-cellar-tp3260645p3260812.html
>> Sent from the Karaf - User mailing list archive at Nabble.com.
>>
>



-- 
--
*Achim Nierbeck*


Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/>
Committer & Project Lead
blog <http://notizblog.nierbeck.de/>

Re: Use case in karaf-cellar

Posted by Charles Moulliard <cm...@gmail.com>.
Hi Guru,

As explained by Jean-Baptiste, Karaf Cellar is not at a loadbalancer
nor a fault tolerant solution. Cellar is able to define features,
bundles, properties to be deployed on Karaf instances which are part
of the cellar but Cellar is not able to redirect request to another
cellar instance if one node death. Please, remember, what I explain to
you in a previous email.

Regards,

Charles Moulliard

Apache Committer

Blog : http://cmoulliard.blogspot.com
Twitter : http://twitter.com/cmoulliard
Linkedin : http://www.linkedin.com/in/charlesmoulliard
Skype: cmoulliard



On Wed, Aug 17, 2011 at 8:48 AM, Gnanaguru S
<gn...@wipro.com> wrote:
>
> Hi Jean,
>
> I obviously experienced it. Let me explain you what i did.
>
> I installed karaf and added camel, camel-blueprint to it.
>
> I deployed a simple use case in three cluster ( karaf-cellar installed ).
>
> When i killed the root node during the process of the use case. then i
> noticed the process was not assigned to other cluster.
>
> Regards
> Guru
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/Use-case-in-karaf-cellar-tp3260645p3260812.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>

Re: Use case in karaf-cellar

Posted by Gnanaguru S <gn...@wipro.com>.
Hi Jean, 

I obviously experienced it. Let me explain you what i did. 

I installed karaf and added camel, camel-blueprint to it. 

I deployed a simple use case in three cluster ( karaf-cellar installed ).

When i killed the root node during the process of the use case. then i
noticed the process was not assigned to other cluster. 

Regards
Guru

--
View this message in context: http://karaf.922171.n3.nabble.com/Use-case-in-karaf-cellar-tp3260645p3260812.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Use case in karaf-cellar

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Guru,

you can take a look on the Cellar manual:
http://karaf.apache.org/manual/cellar/latest-2.2.x/user-guide/index.html

For instance, if you install a feature on one node using:

features:install eventadmin

this feature will be installed on all node members of the same cluster 
group.

If you stop one node (or the node falls down), the feature remains 
installed on the others nodes.

Regards
JB

On 08/17/2011 07:09 AM, Gnanaguru S wrote:
> Hi
>
> I am successful in identifying the nodes using karaf-cellar.
>
> Now i want to test or use the clusters.
>
> If one cluster got failed, then it should move to another cluster.
>
> Suggest for a use case. Simple use case such that i can test the clustering
> functionality .
>
> Regards
> Guru
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/Use-case-in-karaf-cellar-tp3260645p3260645.html
> Sent from the Karaf - User mailing list archive at Nabble.com.

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com