Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Prioritize webapp access

Posted on 2004-09-20
6
260 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
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 
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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Import AD groups from one domain to another 9 33
VPN problems 4 25
Solar Winds can't see SQL Server Express 17 33
Internet options/Settings 1 46
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.
I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
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…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

828 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