Solved

Prioritize webapp access

Posted on 2004-09-20
6
259 Views
Last Modified: 2013-12-23
I have two load-balanced red-hat 7.3 servers, prod1 and prod2. For a particular resin webapp, http://website/webapp, I would like to have my traffic go only to prod1. If prod1 is down, I would like to point the traffic for that webapp to prod2. For the rest of my traffic, I would like to keep it load-balanced between prod1 and prod2. I've been told that my RedHill WebMux load balancer does not have the capability of splitting the traffic this way. I also have a red-hat/ resin staging server which could be used to determine traffic routes. Please let me know if you have any workaround suggestions.

Thanks,
El Debarge
0
Comment
Question by:Eldebarge
  • 2
  • 2
  • 2
6 Comments
 
LVL 40

Expert Comment

by:jlevie
ID: 12108322
Sounds to me like you just need a more capable load balancer, perhaps something like a Cisco Local Director. If I read the doc's right you can do content prioritzation which allows a specific URL(s) to be directed at a particular server with failover.
0
 

Author Comment

by:Eldebarge
ID: 12115056
Thank you for the load balancer upgrade suggestion. Before I commit to the hardware upgrade costs, I'd like to make sure that there aren't any OS/programming alternatives.

Thanks
El Debarge
0
 
LVL 40

Expert Comment

by:jlevie
ID: 12125819
I can't think of any software solutions that you could use. The load balancer has to know what to do with the traffic and that happens before the requests get to the Linux boxes. Before buying anything I'd want an assurance from a Cisco Engineer or a re-seller (in writing) that the Local Director can be configured for this particular mix of load balancing.
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 51

Expert Comment

by:ahoffmann
ID: 12193654
> If prod1 is down, I would like to point the traffic for that webapp to prod2.
> For the rest of my traffic, I would like to keep it load-balanced between prod1 and prod2.

hmm, how should traffic be balanced between prod1 and prod2 if prod1 is down?
Well, the rule for that case is simple: all traffic to prod2. Dot.
Couls you please explain what your description means.
0
 

Author Comment

by:Eldebarge
ID: 12193928
From the onset, "all other traffic" should be load-balanced from prod1 and prod2. Yes, if prod1 is down then all traffic will have to go to prod2. But this rule should be different than the traffic for the particular webapp, which will only use prod1 until prod1 is unavailable.

0
 
LVL 51

Accepted Solution

by:
ahoffmann earned 300 total points
ID: 12194050
I'd use a iptables DNAT rule to route port 80, 443, whatelse to prod1, then tell your watchdog (probably part of your loadbalance software) to remove this rule and set it up for prod2 if prod1 is down
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
display iPhone Wifi network name 19 105
unknown svchost service useing lot of network resources 12 74
DHCP Server 14 87
You are currently not connected to any networks windows 10 5 246
PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question