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

Apache Karaf Cellar installation and first commands

Apache Karaf Cellar is provided as a Karaf feature.

Throughout this book, we will use the following installation:

  • Node 1 is a server running with the 192.168.1.1 network address. It hosts an Apache Karaf 2.3.3 instance running in the /opt/apache-karaf folder.
  • Node 2 is another server running with the 192.168.1.2 network address. It hosts an Apache Karaf 2.3.3 instance running in the /opt/apache-karaf folder.
  • Both servers have Internet access.

We connect to the Apache Karaf instance on node 1 (using SSH or client) to install the Apache Karaf Cellar feature, as follows:

karaf@node1> features:addurl mvn:org.apache.karaf.cellar/apache-karaf-cellar/2.3.1/xml/features
karaf@node1> features:install cellar

It's done! Apache Karaf Cellar is installed and operating on node1.

We can now install Apache Karaf Cellar on node 2. We connect on node 2 (using SSH or client) and install the Apache Karaf Cellar feature, as follows:

karaf@node2> features...
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