You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Ch...@TravelChannel.com on 2009/11/19 17:41:40 UTC
[users@httpd] Question about Proxy Balancer
Guys and list mates,
I got a strange problem. We are using mod_ajp on two boxes. Each box has three JVM. We had try to set up a proxy balancer for the jvm's
<Proxy balancer://potapp>
BalancerMember ajp://taprcomwap06:8009 smax=20 min=0 max=10 loadfactor=1 flushpackets=on route=node1
BalancerMember ajp://taprcomwap06a:8009 smax=20 min=0 max=10 loadfactor=1 flushpackets=on route=taprcomwapp06a
BalancerMember ajp://taprcomwap06b:8009 smax=20 min=0 max=10 loadfactor=1 flushpackets=on route=taprcomwapp06b
BalancerMember ajp://taprcomwap05:8009 smax=20 min=0 max=10 loadfactor=1 flushpackets=on route=taprcomwapp05
BalancerMember ajp://taprcomwap05a:8009 smax=20 min=0 max=10 loadfactor=1 flushpackets=on route=taprcomwapp05a
BalancerMember ajp://taprcomwap05b:8009 smax=20 min=0 max=10 loadfactor=1 flushpackets=on route=taprcomwapp05b
ProxySet balancer://potapp lbmethod=bytraffic stickysession=JSESSIONID|jsessionid nofailover=On
</Proxy>
The problem that we are having it not keeping the sticky, if we log in we can move a out for a couple click before we get another request to log in, or we get a 404.
The the things I have done that seems to work, is I have taken each jvm and made it into a virtual host with it own proxy balancer.
<VirtualHost *:80>
ServerName taprcomwap06.travelchannel.com
DocumentRoot "/Vignette/vcmworking/dagent_docroot/"
CustomLog "|/usr/sbin/rotatelogs -l /var/log/httpd/taprcomwap06.access.%Y%m%d.log 86400" combined
ErrorLog "|/usr/sbin/rotatelogs -l /var/log/httpd/taprcomwap06.error.%Y%m%d.log 86400"
<Proxy balancer://potapp>
BalancerMember ajp://taprcomwap06:8009 smax=20 min=0 max=10 loadfactor=1 route=taprcomwap06
ProxySet lbmethod=bytraffic timeout=5 stickysession=JSESSIONID|jsessionid
</Proxy>
</VirtualHost>
This is working. We aren't losing any sticky sessions. But my question is this, how can I get the Proxy balancer to work. What do I need to look at the logs to see why it failing. Is the way I did the best for virtual java machine?
CHUCK PAYNE | Unix System Administrator
TRAVEL CHANNEL MEDIA
3700 Mansell Rd, Suite 500
Alpharetta, GA 30022
Office: 404-269-5533
Blackberry: 770-940-7765
email:chuck.payne@travelchannel.com
CATCH IT | travelchannel.com
Need IT help? Go to http://Keystoneweb.corp.cox.com
Or contact us at Support@TravelChannel.com / 301-244-7777
Cox Communications Help Desk (24 X 7 X 365): 800-637-3545
------------------------------------
This e-mail and any attachments are intended only for the person to whom (or entity to which) it is addressed and may contain confidential and/or privileged material. Any review, re-transmission, copying, dissemination or other use of this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. The contents of this message may contain personal views that are not the views of The Travel Channel, L.L.C.
TRAVEL BUG EFFECT: Strong Attraction to Haunted Places
Ghost Adventures, Fridays at 9PM E/P
CATCH IT | travelchannel.com
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org