karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chandan <chandan.mysorebalakris...@in.bosch.com>
Subject Re: Cellar Clustering in karaf
Date Tue, 16 Aug 2016 15:12:44 GMT
I followed the steps mentioned here 

https://karaf.apache.org/manual/cellar/latest-4/#_enable_http_balancer
<https://karaf.apache.org/manual/cellar/latest-4/#_enable_http_balancer>  

In both the machines i installed cellar and did the tcp/ip configuration by
adding IP of both machines.
they got interconnected.

In first machine,
karaf@node1()> feature:install http
karaf@node1()> feature:install http-whiteboard
karaf@node1()> feature:repo-add cellar 4.0.0
karaf@node1()> feature:install cellar
karaf@node1()> cluster:feature-install default cellar-http-balancer
karaf@node1()> feature:install webconsole
 karaf@node1()>http:list
karaf@node1()> cluster:http-list default

In second machine

karaf@node2()> feature:install http
karaf@node2()> feature:install http-whiteboard
karaf@node2()> feature:repo-add cellar 4.0.0
karaf@node2()> feature:install cellar
karaf@node2()> cluster:http-list default
karaf@node2()> http:list

After this in both node1 and node 2

100 | CellarBalancerProxyServlet | ServletModel-3 | Failed| /gogo              
| [/gogo/*]
100 | CellarBalancerProxyServlet | ServletModel-2 | Failed|
/system/console/res | [/system/console/res/*]
100 | CellarBalancerProxyServlet | ServletModel-6 | Failed| /features          
| [/features/*]
100 | CellarBalancerProxyServlet | ServletModel-5 | Failed| /system/console    
| [/system/console/*]
100 | CellarBalancerProxyServlet | ServletModel-4 | Failed| /instance          
| [/instance/*]




--
View this message in context: http://karaf.922171.n3.nabble.com/Cellar-Clustering-in-karaf-tp4047542p4047559.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.

Mime
View raw message