Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning Karaf Cellar

You're reading from   Learning Karaf Cellar Build and implement a complete clustering solution for the Apache Karaf OSGi container

Arrow left icon
Product type Paperback
Published in Jul 2014
Publisher
ISBN-13 9781783984602
Length 124 pages
Edition 1st Edition
Arrow right icon
Authors (2):
Arrow left icon
Jean Baptiste Onofre Jean Baptiste Onofre
Author Profile Icon Jean Baptiste Onofre
Jean Baptiste Onofre
Jean-Baptiste Onofré Jean-Baptiste Onofré
Author Profile Icon Jean-Baptiste Onofré
Jean-Baptiste Onofré
Arrow right icon
View More author details
Toc

Chapter 4. Cluster Groups

Until now, we have used Cellar as a global cluster. This means that all the nodes will have the same functions and roles in the cluster. However, when using a pool or farm of Karaf instances in a real live system, we may want to dedicate a subset of the instances for the given functions/roles. This is the role of the Cellar cluster groups.

For instance, we have a farm of 20 nodes in our Cellar cluster.

We may want to deploy the following:

  • A camel route can be described and packaged as a Karaf Features XML file. We want to deploy this route only on 10 nodes of the cluster (not on all the nodes).
  • A CXF web service (described and deployed as another Karaf Features XML file) on the other 10 nodes.

In Cellar, we can create different cluster groups and define a node as a member of one or more cluster groups.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime