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.

What options are available to load balance web service traffic on Linux with the ability to add or remove servers from the server pool without restarting the load balancer?

This post:

http://serverfault.com/questions/71437/mod-proxy-change-without-restart

looks like a very promising way to switch between two servers, but I don't know enough about mod_proxy and mod_rewrite to understand how/if I can use an external file to specify the BalancerMember entries for a section.

Are there other open source load balancers that support reconfiguration without restart?

share|improve this question
add comment

2 Answers

up vote 2 down vote accepted

NginX

share|improve this answer
    
Awesome! I especially love the binary reload. –  Eric J. Apr 21 '10 at 18:06
    
@Javier: How do I send the HUP signal to the client? Using /usr/bin/nginx -s HUP? The -s parameter documentation says allowed values are stop, quit, reopen, reload. Does "-s reload" send the HUP signal? –  Eric J. Apr 21 '10 at 18:22
    
Yes reload sends HUP. This is working great, thanks. –  Eric J. Apr 21 '10 at 23:36
add comment

The best Load balancer available for Linux is LVS. You can hot add or remove servers from the server pool without restarting the load balancer, either by rereading a new config or using the ipvsadm commmands.

www.linuxvirtualserver.org/

share|improve this answer
add comment

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.