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

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

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