Using other balancing solutions
mod_cluster
is Red Hat's only supported balancing solution. A minor exception to this rule is Apache's mod_jk
, which is supported on the Enterprise Web Server (https://www.redhat.com/en/resources/jboss-enterprise-web-server) configured with EAP on a RHEL server. Chances are however that some different balancing solutions are dictated by your company's standards so we will shortly include their configuration with our domain of servers.
Configuring mod_jk
Apache mod_jk
is a single native module, the mod_jk.so
module, which needs to be installed on Apache to forward requests to JBoss EAP using the AJP protocol. Here is a quick list of the steps needed to install mod_jk
:
Copy the mod_jk module (downloadable from https://tomcat.apache.org/download-connectors.cgi) on Apache:
$ cp mod_jk.so $APACHE_HOME/modules
Create a configuration file in the
conf
folder of Apache named, for example,mod_jk.conf
, with the following content:LoadModule jk_module modules/mod_jk.so...