
2.
Select Web in the Computers & Services list, and click Settings in the configuration pane.
3.
Click the Modules tab and select “jk_module,” which is at the bottom of the modules list.
4.
Click the Sites tab.
5.
Double-click the appropriate site in the list (by default there’s only one), which should be enabled.
6.
Click the Options tab, and deselect Performance Cache.
7.
Click Save.
8.
Open httpd.conf file, located in /etc/httpd, in a text editor.
9.
Look for <IfModule mod_jk.c>.
10.
Add JKMount /petstore/* loadbalancer as the last item of the IfModule element.
The IfModule element should look similar to this:
<IfModule mod_jk.c>
JKWorkersFile /etc/httpd/workers.properties
JKLogFile /var/log/httpd/mod_jk.log
JKLogLevel error
JKMount /*.jsp JBoss1
JKMount /servlet/* JBoss1
JKMount /examples/* JBoss1
JKMount /petstore/* loadbalancer
</IfModule>
11.
Save the file.
12.
Open the workers.properties file, which is also located in /etc/httpd, in a text editor.
Balancing User Load and Replicating Sessions
Load Balancing and Clustering
2005-08-11 | Copyright © 2003, 2005 Apple Computer, Inc. All Rights Reserved.
44
Kommentare zu diesen Handbüchern