LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 04-05-2006, 11:10 PM   #1
ziox
Member
 
Registered: Apr 2004
Distribution: RedHat, Fedora, Suse, Debian, Gentoo, Mandrake
Posts: 132

Rep: Reputation: 15
Apache Modules [load balancing] smart clustering


Hi
I'm having an issue with apache and I google_d about it but almost what I've found is confusing
it's about clustering and load balancing
I've 5 servers
1- apache+mod_proxy so I can load balance or round robin [balancer]
2- apache+mod_jk so I can use ajp.xx protocol to talk to java based app-server [apache_1]
3- the same as 2 [apache_2]
[actually apache_1&2 are balancers too in between the 2 app-servers]

4 and 5 are two app-servers

we can access any of them http or https

my issue is with the first one
right now I'm able to add within the ProxyPass directive something like that
BalancerMember http://apache_1/something
BalancerMember http://apache_2/something

Or

BalancerMember https://apache_1/something
BalancerMember https://apache_2/something

so when I hit http://balancer/something or https://balancer/something
it will redirect me either to Member 1 or 2 depending on what I added as BalancerMembers

what I need to do is to use the 4 URL_s
BalancerMember http://apache_1/something
BalancerMember http://apache_2/something
BalancerMember https://apache_1/something
BalancerMember https://apache_2/something

and when I hit http://balancer/something it uses the HTTP pairs
and when I hit https://balancer/something it uses the HTTPS pairs

Got me?
I think that could be done using a module that can redirect/filter depending on the header [but i didn't know which]
or through something like virtual host but it would be a lot better if it is the same URL and just the different is http/https
any ideas?
Thanks
--
kimry

Last edited by ziox; 04-05-2006 at 11:17 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Load Balancing turbo_acura Linux - Networking 4 01-27-2006 09:44 PM
how to do load balancing? yenonn Linux - Networking 2 07-27-2004 10:20 PM
load balancing on rh ntaizi Linux - Software 0 12-17-2003 07:41 AM
Load Balancing? gsibble Linux - Networking 3 12-09-2003 11:39 PM
Load balancing ?? Lucsi Linux - Newbie 1 07-16-2002 01:54 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration