Clustering in domain mode

Continuing from the previous sections, we will see how to configure a cluster using domain mode. The same concepts apply to the domain mode, which means that to get clustering capabilities, we need to choose between the ha or full-ha profile.

As you already know, in domain mode, all the available and configured profiles reside in a single file, domain.xml. Each profile is then referenced by one or more server-groups.

To make it simple and clear, we belong to the default configuration and we will use the ha profile.

Server-group configuration

Before we begin, as usual, we will create a custom folder to run our JBoss in domain mode and we will define the necessry server-group.

We will first launch the application server with ...

Get Mastering JBoss Enterprise Application Platform 7 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.