Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Learning Karaf Cellar
  • Table Of Contents Toc
Learning Karaf Cellar

Learning Karaf Cellar

By : Jean Baptiste Onofre, Jean-Baptiste Onofré
5 (1)
close
close
Learning Karaf Cellar

Learning Karaf Cellar

5 (1)
By: Jean Baptiste Onofre, Jean-Baptiste Onofré

Overview of this book

This book is a tutorial written with a step-by-step approach to help you implement an optimum clustering solution in Apache Karaf Cellar quickly and efficiently. If you are new to Karaf and want to install and manage multiple Karaf instances by farming or clustering, then this book is for you. If you are a Java developer or a system administrator with basic knowledge of Karaf, you can use this book as a guide. Some background knowledge of OSGi and/or Karaf would be preferred but is not mandatory.
Table of Contents (11 chapters)
close
close

Networks

In the previous sections, we saw the Hazelcast resources used by Cellar to format and transport cluster events. The transport relays to the network (the wire). Hazelcast provides the configuration of the network that we can leverage in Cellar. In this section, we will see how to configure Cellar node discovery, how to secure the communication between the nodes, and how to support IPv6.

Multiple clusters

On the same network, you may want to define multiple Cellar clusters, especially when you use node discovery. A Cellar cluster is identified by a name and password in the etc/hazelcast.xml configuration file. You can separate your clusters in a simple way (for instance, per environment) using the following code:

<hazelcast>
    <group>
        <name>dev</name>
        <password>dev-pass</password>
    </group>
    ...
</hazelcast>

TCP/IP

If multicasting (which is the default) is not the preferred way of discovering the nodes, then you can...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Learning Karaf Cellar
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon