Setting up a server group

In this section we'll start doing some configurations in EAP6. As we know, there are two server groups already set up for us in JBoss EAP6:

  • main-server-group
  • other-server-group

And in Chapter 2, Using JBoss EAP6, we have played with main-server-group. In this chapter we'll use other-server-group.

The main-server-group versus other-server-group

The major difference is that they are using two different profiles. You can see this in domain.xml:

<server-group name="main-server-group" profile="full">...
<server-group name="other-server-group" profile="full-ha">...

As shown in the preceding configuration, we don't define different profiles into different configuration files in the domain mode. Instead it's defined in different profile ...

Get JBoss EAP6 High Availability now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.