LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-08-2009, 02:35 AM   #1
singh.lovelesh
LQ Newbie
 
Registered: Dec 2008
Posts: 6

Rep: Reputation: 0
Apache-ajp Proxy Balancer: request is not switching from one instance to another


Hi,
I have configured two instances on single server with two diffrent ajp ports (8009 and 8209).
On both port application is runnint independently like http://localhost:8080 and http://localhost:8209

my proxy configuration is :
<VirtualHost *:80>
ServerName server01


ProxyRequests On
#ProxyHTMLLogVerbose On
#LogLevel Info
#LogLevel Debug

<Proxy balancer://escluster>
Order deny,allow
Allow from all
BalancerMember ajp://localhost:8009 route=app-a
BalancerMember ajp://localhost:8209 route=app-b
</Proxy>

ProxyPass / balancer://escluster/ lbmethod=byrequests stickysession=JSESSIONID nofailover=Off
ProxyPassReverse / http://localhost:8009/
ProxyPassReverse / http://localhost:8209/


</VirtualHost>


* But whenever one instances goes down balancer does not swith application on anothe instance. We are running our application at http://192.168.1.200.

Please help.....

Thanks,
Lovelesh
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HTTP Server to proxy TomCat/AJP on multiple IP aliases and SSL martijnburger Linux - Server 10 12-09-2008 11:00 AM
Apache Load Balancer. nishith Linux - Networking 1 09-19-2008 08:00 AM
need to proxy certain webpages to another port for php5 instance mtlhd Linux - Server 1 12-17-2007 06:54 PM
Request for assistance in switching from Windows Mladek Linux - Software 4 07-02-2003 05:50 AM
using mod_backhand as a load balancer with apache subhasis_ray Linux - Networking 0 09-23-2002 03:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration