1. Deploying Tomcat Clusters in an Advanced Blackboard TM Environment Speaker: Steve Feldman Director, Software Performance Engineering and Architecture [email_address]
2.
3.
4.
5.
6.
7.
8.
9. Visual Look at a Tomcat Cluster Traffic is directed by the Web Server like a software load balancer Nodes know little about there partners Recommend 1 node Per Core Web Server Instance Node 1 Node 2 Node N
10.
11.
12. Load-Balanced and Clustered Nodes Hardware or Software Load Balancer Cluster Load-Balanced Nodes unaware of each other. Nodes aware of each other. Web Server Instance Node 1 Node 2 Node N Web Server Instance Node 1 Node 2 Node N
13.
14.
15.
16.
17.
18.
19. Example Workers.Properties # One virtual worker worker.list=loadbalancer # Configure the virtual worker as a load balancer worker.loadbalancer.type=lb worker.loadbalancer.balanced_workers=tomcat1,tomcat2 worker.loadbalancer.method=Request # Attempt to worker.loadbalancer.sticky_session=1 # Actual workers, not available directly worker.tomcat1.port=8009 worker.tomcat1.host=localhost worker.tomcat1.type=ajp13 worker.tomcat1.lbfactor=50 worker.tomcat2.port=8209 worker.tomcat2.host=localhost worker.tomcat2.type=ajp13 worker.tomcat2.lbfactor=50
20.
21.
22. Advanced Feature: Setting Up QOS Models Change JKMount **JK Mount says /webapps/* but can be changed to any single webapp if you choose.