Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

We have a load-balancer that today balances two lightly loaded nodes, and I wondered if it possible to use it for internal traffic as well (which requires today another load-balancer). This means that this load-balancer will keep balancing external HTTP traffic, but also will balance internal SQL queries between two data-bases.

Did someone use a similar setup, or such approach is totally not recommended, or even not possible?

share|improve this question
1  
while it is absolutely doable (it's just a matter of routing your traffic to the load balancer), it's a bad idea from a security standpoint. Your load balancer is likely to be exposed to compromission (first equipment accessible from the outside) and also become a single point of failure if all you internal and external traffic routes through it. Think twice before you do that. –  Julien Vehent Apr 4 '11 at 15:47

1 Answer 1

up vote 1 down vote accepted

We do this. You're first tier server is also a client of the second or third tier of the overall application.

You don't mention what you are using for load balancing but here's some documentation of the subject around LVS, Linux Virtual Server:

http://www.austintek.com/LVS/LVS-HOWTO/HOWTO/LVS-HOWTO.lvs_clients_on_realservers.html

share|improve this answer
    
Hi. How stable is such configuration from your experience? –  SyRenity May 4 '11 at 18:26
    
Also, is it possible to have back-end servers, accessing the front-ends in load-balanced manner (which essentially is my question)? –  SyRenity May 4 '11 at 18:27
    
It was a bit involved to setup in that we had to create a new VLAN and give the machines IP addresses to distinguish them from the rest of our network. For backend servers to access front-ends in a load-balanced manner you'd probably need to create a new network for the backend servers to act as clients that do not arrive to your network via the internet. –  dmourati May 4 '11 at 23:30

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.