Hi Björn,
thank you for your helpful hints.
Apache Web Server is now running as load balancer on my box.
Basically I added in httpd.conf the following lines:
Code:
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
LoadModule proxy_http_module modules/mod_proxy_http.so
ProxyPass /act3_explorer <a href="balancer://credManCluster" target="_blank" rel="nofollow">balancer://credManCluster</a> nofailover=On stickysession=jsessionid
<Proxy <a href="balancer://credManCluster>" target="_blank" rel="nofollow">balancer://credManCluster></a>
BalancerMember <a href="http://host1/act3_explorer" target="_blank" rel="nofollow">http://host1/act3_explorer</a> route=tc1
BalancerMember <a href="http://host2/act3_explorer" target="_blank" rel="nofollow">http://host2/act3_explorer</a> route=tc2
BalancerMember <a href="http://host3/act3_explorer" target="_blank" rel="nofollow">http://host3/act3_explorer</a> route=tc3
</Proxy>
In the server.xml files of the three tomcats on host1..3 I had to add
- the attributes proxyName and proxyPort to the Connector element and
- the attribute jvmRoute to the Engine element.
Now it is time to separate static and dynamic content.
Is there any documentation about it?
Which files are needed on the tomcats, which may be moved to the web server,
which patterns can I use to separate the processing of static and dynamic content in httpd.conf?
Kind regards,
MaMue