## Load the proxy module, if is not loaded already <IfModule !proxy_module> LoadModule proxy_module modules/mod_proxy.so </IfModule> ## Load the http proxy protocol module, if it is not loaded already ## This module enables load balancing between nodes <IfModule !proxy_http_module> LoadModule proxy_http_module modules/mod_proxy_http.so </IfModule> ## Load the proxy balancer module, if it is not loaded already ## This module enables load balancing between nodes <IfModule !proxy_balancer_module> LoadModule proxy_balancer_module modules/mod_proxy_balancer.so </IfModule> ## Load the ajp proxy protocol module, if it is not loaded already ## This module enables the communication between Apache and Tomcat via AJP <IfModule !proxy_ajp_module> LoadModule proxy_ajp_module modules/mod_proxy_ajp.so </IfModule> ## Add an additional location to access the current load balancing configuration ## and statistics. Access is only allowed from localhost ## Only set the location if status module (mod_status) is loaded <IfModule status_module> <Location /balancer-manager> SetHandler balancer-manager Order Deny,Allow Deny from all Allow from 127.0.0.1 </Location> </IfModule> ## Configure the ‘proxy’ for theData Integration HubOperation Console instances ## Note that this is a static list, all the machines should be explicitly listed here ## The value for the attribute ‘route’ must exactly match that which is ## used when configuring Tomcat <Proxy balancer://dx-gui-cluster> BalancerMember ajp://tomcat-a:18009 route=dxTomcat-A BalancerMember ajp://tomcat-b:18009 route=dxTomcat-B </Proxy> # Disable ProxyRequest as only the ProxyPass and ProxyPassReverse are used. # This prevents the server from processing requests from spammers (sending e-mails) ProxyRequests Off ## Configure the forwarding of the request. ## Client browser must connect to <apache http server>:<port>/dih-console/ ## Note that it must be a single line ProxyPass /dih-console/ balancer://dx-gui-cluster/dih-console/ stickysession=JSESSIONID|jsessionid ## Configure the return route from back-end to front ProxyPassReverse /dih-console/ balancer://dx-gui-cluster/dih-console/