Updating the httpd.conf file is a required task when you set up load balancing.
To update the httpd.conf file
Listen 89 LoadModule jk_module modules/mod_jk.so JkWorkersFile conf/workers.properties
<VirtualHost *:89> ServerName load balancer host name
JkMountFile conf/uriworkermap.properties JkLogFile logs/mod_jk.log JkLogLevel debug </VirtualHost>
JkLogFile logs/mod_jk.log JkLogLevel debug
JkLogFile "|bin/rotatelogs.exe logs/mod_jk.log.%Y-%m-%d-%H_%M_%S 10M" JkLogLevel emerg
This action modifies the mod_jk.log file on your production server to record only critical errors and to enable log automatic rollover when its file size reaches 10 MB.
For example, suppose you have defined a virtual host at port 89, as follows:
<VirtualHost *:89>
In that case, add the Listen directive for this port in the httpd.conf file, for example:
Listen 89
Note: The commonly used port is 89.
This specification enables the Apache HTTP Server to listen on this port and accept incoming requests.
You have updated the httpd.conf file.
Adjusting related settings is a required task when you update the httpd.conf file.
To adjust related settings
Here, hostname specifies the load balancer computer, that is, the computer on which the Apache HTTP Server is configured for load balancing. For example, if the host name of the load balancer computer is ABC, then the link is http://ABC:89/wl.
found worker HOST1__USMView (HOST1__USMView) for route COMPUTER1__USMView and partial sessionid
You have adjusted settings related to the httpd.conf file.
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |