O'Reilly logo

Learning Karaf Cellar by Jean-Baptiste Onofré

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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) ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required