Re: Proxy Balancing Not working as Expected

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/23/2013 11:37 PM, nskarthik wrote:
> Hi
>
> SPEC : Apache httpd 2.22 [ Cannot upgrade currently ]
> O/s SUSE Enterprise-10
> Sticky session [ Have 2 Tomcats with session based application ]
>
> The following is Configured with Sticky session as per APACHE Docs 
>
> /
> LoadModule proxy_ajp_module         modules/mod_proxy_ajp.so
> LoadModule proxy_balancer_module  modules/mod_proxy_balancer.so
> LoadModule proxy_http_module       modules/mod_proxy_http.so
> LoadModule ssl_module                  modules/mod_ssl.so 
> LoadModule proxy_connect_module  modules/mod_proxy_connect.so
> LoadModule proxy_ftp_module         modules/mod_proxy_ftp.so
> LoadModule proxy_scgi_module        modules/mod_proxy_scgi.so
>
> <Proxy balancer://myclust>
> BalancerMember http://192.168.4.32:8085  loadfactor=1
> BalancerMember http://192.168.4.32:8086  loadfactor=1
> ProxySet lbmethod=bytraffic  
> </Proxy>
> ProxyPass /APPX balancer://myclust/ stickysession=JSESSIONID
> ProxyPassReverse /APPX balancer://myclust//
>
> Problem tried
>
> a)Application APPX is not reflected  in the URL  as http://192.168.8.77/APPX
What do you mean by this? According to your requirements, should it be?
I do see that you have a trailing slash on the second argument but not
the first in ProxyPass - you should avoid this

> b)If the BalancerMember are complete defined as "BalancerMember
> http://<IP>:<PORT>/APPX ,then the application appears in the URL
> http://192.168.8.77/APPX
>
> c)Stick Session is not maintained [ have checked the application after
> logging

You can enable debug log level - the balancer will log whether it can
detect the sticky session cookie.

> HTTP Status 404 - /APPX/Dashboard.action
>
>
> Am i doing something Wrong ??
>
>
> with regards
> karthik
>
--
Daniel Ruggeri


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux