LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 06-22-2010, 03:49 AM   #1
ganesh_gore
LQ Newbie
 
Registered: Jun 2010
Posts: 2

Rep: Reputation: 0
Conceptual details about apache load balancing


Setup details –

1. H/W Load Balancer
2. Two Apache Servers with load balancing and rewrite rule
3. Two Application servers

Request will be travel 1 then 2 then 3

Queries –
1. When any session is established I can see that requests of that session is going to both the application servers. Unique jsession id is assigned to that request, using that jsessionid request is forwarded to both application servers. Is it expected behavior?

2. In configuration of Apache load balancing what is good configuration
• By Request
• By Traffic

3. In apache configuration we add route parameter in Proxy balancer tag for both application server, then it gets appended to jsessionid like jsessionid=50D8494884F6D4E9FFB8D8946AEB5AC7:s1 and apache server will use this pattern to manage sessions. In my case this route is not added at the end of jsessionid. Is this something which can cause session issue? In log it shows that it is attached to s1/s2 route respectively.
BalancerMember http://server.1 loadfactor=1 route=s1
BalancerMember http://server.2 loadfactor=2 route=s2

4. Sometimes I am getting this error and land me on error code 400 page not found.
[Tue Jun 22 06:17:32 2010] [error] [client 166.23.23.32] Invalid URI in request username=test&password=1234&method%3Alogin=Logga+in&__checkbox_rememberMeChecked=truejpeg, application/x-shockwave-flash, application/xaml+xml, application/vnd.ms-xpsdocument, application/x-ms-xbap, application/x-ms-application, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*, referer: http://server1.server/home.action

This all happen when we are accessing URL using hardware load balancer. If we hit each apache server individually everything is working fine.

Please reply.
 
  


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
Web Server Load Balancing using ldirectord and Apache romeo_tango Linux - Server 1 02-17-2010 03:46 AM
Web Load Balancing (apache+heartbeat+ldirector) : Unable to connect to real servers dipakbiswal Linux - Networking 1 11-08-2009 04:34 AM
i need help for load balancing setting apache web server gnu_gcc Linux - Server 2 06-23-2008 03:06 PM
Load Balancing software for apache coolguy_iiit Linux - General 3 08-06-2006 01:31 PM
Apache Modules [load balancing] smart clustering ziox Linux - Networking 0 04-05-2006 10:10 PM

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

All times are GMT -5. The time now is 08:41 PM.

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