...
No Format |
---|
["logger"]
level=DEBUG
[config:]
file=${serverRoot}/conf/workers2.properties
debug=0
debugEnv=0
[shm:]
info=Scoreboard. Required for reconfiguration and status with multiprocess servers
file=${serverRoot}/logs/jk2.shm
size=1000000
debug=0
disabled=0
[workerEnv:]
info=Global server options
timing=1
debug=0
[channel.un:''workerName'']
info=AF_UNIX socket connecting to "host"
file=/''catalina_base''/work/jk2.socket
debug=0
'' |
...
...
repeat
...
the
...
above
...
for
...
each
...
worker
...
...
...
NOTE: You must make sure that the group owning the work/
directory is the same as the Group directive in httpd.conf
. Run the following:
...
- 1 WSD (Load Balancer)
- 3 Apache servers (front-end)
- 3 Tomcat servers (back-end)
The WSD DS Radware is set up with multiple farm addresses that point to the Apaches' primary and virtual interface IP addresses.
Each Apache server is load balanced by the WSD using a weighted round-robin mechanism.
Each Tomcat server is load balanced between the three Apache servers.
Here is an ASCII diagram (not a good diagram, but better than nothing!):
No Format |
---|
WSD /|{ { { \ } } } / | { { { \ } } } Apache1 Apache2 Apache3 /|\ /|\ /|{ { { \ } } } / | \ / | \ / | { { { \ } } } tomcat1 tomcat2 tomcat3 |
Building and Configuring Apache
...