Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
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

Cluster resources

By default, Apache Karaf Cellar supports the clustering and distribution of different resources.

Cellar is able to manage the resources covered in the following sections.

Bundles

Apache Karaf Cellar is able to sync the status of OSGi bundles on the cluster.

Thanks to the bundle listener, all actions that you may perform on a bundle are spread onto the cluster. You can also use dedicated cluster commands to manipulate the bundles on the cluster.

For instance, it's possible to see the bundles available on the cluster with their current status using the cluster:bundle-list command as follows:

karaf@node1> cluster:bundle-list default
Bundles in cluster group default
 ID      State     Name
[0   ] [Active] Apache Karaf :: Cellar :: Utils (2.3.1)
[1   ] [Active] Apache Karaf :: JAAS :: Config (2.3.3)
[2   ] [Active] Apache Karaf :: Diagnostic :: Command (2.3.3)
[3   ] [Active] Apache Karaf :: Deployer :: Spring (2.3.3)
[4   ] [Active] Apache Aries Proxy Service (1.0.1)
[5...
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 €18.99/month. Cancel anytime