Garayed.com  

Go Back   Garayed.com > Apache Configurations
FAQ Members List Calendar Search Today's Posts Mark Forums Read


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-01-2008, 05:07 PM
Scooter
 
Posts: n/a
Default mod_proxy_balancer and ASP

I'm attempting to setup load balancing between two windows servers
running ASP. I'm using Apache and Mod Proxy because we are grafting
some other applications on a different platform under the same URL.
I'm attempting to load balance the ASP application across two web
sites, but cant figure out the stickysession settings. The balancing
works great, keeps going back and forth, but it wont stick once a
session is established. I was attempting to use ASPSESSIONID but
unlike JSESSIONID and some others, it seems to append a random number
to the end, i.e. ASPSESSIONID93493 for each session. Any thoughts, or
should i just use something besides ASPSESSIONID?

My config is :
<Proxy balancer://mycluster>
BalancerMember http://1.1.2.179:80 (obviously not my real
IPs)
BalancerMember http://1.1.2.180:80
</Proxy>

ProxyPass /test/ balancer://mycluster/test/
stickysession=Cookie:ASPSESSIONID nofailover=On
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 10-03-2008, 03:09 PM
Scooter
 
Posts: n/a
Default Re: mod_proxy_balancer and ASP

I gave up on that and just had IIS send back a unique cookie per
server. Here are some good articles:

http://www.howtoforge.com/load_balan...proxy_balancer
http://www.markround.com/index.php?u...ml&serendipity[csuccess]=moderate#feedback
http://macacochefe.blogspot.com/2007...nity-load.html


On Oct 1, 11:07*am, Scooter <slbent...@gmail.com> wrote:
> I'm attempting to setup load balancing between two windows servers
> running ASP. I'm using Apache and Mod Proxy because we are grafting
> some other applications on a different platform under the same URL.
> I'm attempting to load balance the ASP application across two web
> sites, but cant figure out the stickysession settings. The balancing
> works great, keeps going back and forth, but it wont stick once a
> session is established. I was attempting to use ASPSESSIONID but
> unlike JSESSIONID and some others, it seems to append a random number
> to the end, i.e. ASPSESSIONID93493 for each session. Any thoughts, or
> should i just use something besides ASPSESSIONID?
>
> My config is :
> <Proxy balancer://mycluster>
> * * * * * *BalancerMemberhttp://1.1.2.179:80(obviously not myreal
> IPs)
> * * * * * *BalancerMemberhttp://1.1.2.180:80
> </Proxy>
>
> ProxyPass * * * /test/ * * * * * * * *balancer://mycluster/test/
> stickysession=Cookie:ASPSESSIONID nofailover=On


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 07:17 AM.




LinkBacks Enabled by vBSEO 3.0.0 © 2007, Crawlability, Inc.