Apache HTTP Server ("Apache") can be used as the front-end web server for a single-node or multi-node EKM server. When using Apache as the front-end web server, a load balancer called mod_proxy is used to communicate between the web server and the application server(s) on the EKM cluster node(s). The combination of Apache, mod_proxy, and JBoss application server is referred to in this guide as: JBoss/Apache/mod_proxy.
Table 8.1: Example Configuration - Apache shows an example configuration for a multi-node EKM server with an Apache front-end web server. Host A is the web server, while Host B and Host C are the EKM cluster nodes.
Table 8.1: Example Configuration - Apache
| Host A: front-end web server | Host B: EKM node 1 | Host C: EKM node 2 | |
|---|---|---|---|
| Hostname: | ekm.yourdomain.com | ekm1.yourdomain.com | ekm2.yourdomain.com |
| IP Address: | 192.168.1.2 | 192.168.1.3 | 192.168.1.4 |
| Software: | Apache HTTP server | EKM (includes JBoss) | EKM (includes JBoss) |
The following software is needed on Host A (front-web server), depending on the version of Apache that is used. Apache v2.4.x is recommended:
Apache v2.4.x:
Apache HTTP server (with OpenSSL) v2.4.6 or higher
There are a number of options available for installing Apache:
Most Linux distributions provide Apache among the packages that can be installed from the installation media or online package repositories.
Apache is available in binary and source distributions. If you choose to build Apache from source, you must enable loadable module support. See the Apache documentation for more information about building Apache from source.
To use EKM with Apache HTTP server with mod_proxy:
Install Apache on the host that will function as the front-end web server.
Note: When referring to paths within the Apache directory structure, the traditional “Apache” directory layout is used. If you use a different directory layout, you will need to modify the instructions in this section accordingly. See the Apache documentation for details about directory layouts.