Solved

Prioritize webapp access

Posted on 2004-09-20
6
256 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 51

Expert Comment

by:ahoffmann
Comment Utility
> 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
Comment Utility
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
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

What is IRC? IRC (Internet Relay Chat) is a form of communication between multiple users. It is available freely to anyone with inernet access. IRC is a great way to communicate with others e.g. There is an IRC channel for Ubuntu Linux, which is fo…
When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

763 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now