Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Users

Question about Proxy Balancer

 

 

Apache users RSS feed   Index | Next | Previous | View Threaded


Chuck.Payne at TravelChannel

Nov 19, 2009, 8:41 AM

Post #1 of 1 (243 views)
Permalink
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 [at] travelchannel

CATCH IT | travelchannel.com

Need IT help? Go to http://Keystoneweb.corp.cox.com
Or contact us at Support [at] TravelChannel / 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 [at] httpd
" from the digest: users-digest-unsubscribe [at] httpd
For additional commands, e-mail: users-help [at] httpd

Apache users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.