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

Targeting provisioning

Once you have created your cluster groups and assigned nodes to the different cluster groups, you can target the deployment of the resources on a given cluster group. For this, Cellar provides the cluster-aware commands of the regular Karaf commands.

For instance, Karaf provides a features:install <feature_name> command to install a Karaf feature in the container. Additionally, Cellar provides cluster:feature-install <group_name> <feature_name>, which is similar to the features:install command. The features:install command will install the feature locally to the Karaf container, whereas the cluster:feature-install command will install the feature on the cluster in the given cluster group.

At the end of this chapter, you will ...

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