O'Reilly logo

JBoss EAP6 High Availability by Weinan Li

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

Configuring mod_cluster

After installing the necessary mod_cluster components in httpd, we will configure them properly in this section.

Configuring httpd.conf

Before we start to configure mod_cluster, we need to do some preparations in httpd.conf. The first thing to do is to change the Listen directive from Listen 80 to the following:

Listen 10.0.1.33:80
Listen 10.0.1.33:6666
Listen 172.16.123.1:80

As we know, lb has two IP addresses: one is the public address 172.16.123.1, and the other is 10.0.1.33, which is the internal IP address of the load balancer used to communicate with the two EAP6 servers. Now let's learn the purpose of the configuration:

  • 10.0.1.33:80 will be used for a mod_cluster management console. We don't want public access of this ...

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