Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an application which is handling UDP traffic. Need to run the setup in active-active mode with two machines and only one IP exposed to external world.

Will LVS be helpful in this scenario or any other tools available for the same ?

share|improve this question
Your question has made me consider the idea, that despite LVS being around for many years, I don't know anyone recently using it, or deploying it for production services. (this is typically "a bad sign") However I've not heard of anyone using it, and saying "it didnt' work for reason X, Y and Z. So I would be interested if you make a pilot project that you could report back any findings. – Tom H Apr 29 '12 at 17:32
The short answer is yes. LVS works good for this type of application. You should however always look around for alternatives to get an understand of what is out there. – 3molo Apr 29 '12 at 19:50

To run in active-active mode with a single IP address, you will need to implement either

  1. A load balancer to distribute the requests to your 2 active nodes, or
  2. To use a native "virtual ip address" network based load balancing such as NLB from microsoft, or a CARP type implementation.

Fortunately the decision is pretty easy, because NLB and similar technologies such as LVS can be pretty poor, and don't play well.

Regarding whether LVS is appropriate depends on your requirements, hence you probably need to provide details of the service and application. But there are a list of design examples for deployments using LVS here, one of which might suit your need;

share|improve this answer

Your Answer


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.